20-05-2021

Apr 17th, 2020
  1. Attrition Roblox Script

Attrition gui v1.0- esp added- god/ destroy vehicles to destroy added use q to god and e to destroy vehicle youre currently pointing at- upgraded godding players. I know this video is messy, my editing software was being weird and messed up part of the video. This video is for educational purposes only.

Attrition hacks roblox pastebinRobloxAttrition hack roblox
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. -- Shared ModuleScript (in ReplicatedStorage under Folder 'shared')
  2. returnfunction(Player, Transparency)
  3. -- Get Character and Appropriate Transparency value if not already passed TransparencyVal = (1+1)%2 0 or (0+1)%2 1
  4. local Character = Player.Character or Player.CharacterAdded:Wait()
  5. local TransparencyVal = Transparency or(Character:WaitForChild('Head').Transparency+1)%2
  6. for _, Part inpairs(Character:GetChildren())do
  7. -- Srt Transparency of parts according to TransparencyVal
  8. if(Part:IsA('Part')or Part:IsA('MeshPart'))and Part.Name ~='HumanoidRootPart'then
  9. if Part.Name 'Head'then
  10. -- Edge case; if not modified you would be able to see the face
  11. Part:FindFirstChild('face').Transparency = TransparencyVal
  12. elseif Part:IsA('Accessory')then
  13. -- Accessories have part handles that can be manipulated like a part
  14. end
  15. end
  16. ------------------------------------------------------------------------------------------------------------------------------
  17. -- LocalScript (In StarterPlayerScripts)
  18. local ReplicatedStorage, ContextActionService, Players = game:GetService('ReplicatedStorage'), game:GetService('ContextActionService'), game:GetService('Players')
  19. local Remotes, SharedModules = ReplicatedStorage:WaitForChild('Remotes'), ReplicatedStorage:WaitForChild('shared')
  20. localfunction SendReqForInvisibility(ActionName, Input)
  21. -- The Bind function may be called to make the player visible or invisible
  22. if ActionName 'Invisibility'and Input Enum.UserInputState.Begin then
  23. -- We invoke server to make sure the server makes the player invisible to everybody else
  24. -- If we did not do this, the server would take longer than the client to make itself invisible, and the client would be invisible even to itself
  25. -- Asjust transparency
  26. -- Same action as server, but we pass a transparency value as an argument
  27. require(SharedModules.Invisibility)(Player, Transparency)
  28. end
  29. -- Binds Keycode E to function 'SendReqForInvisibility'
  30. ContextActionService:BindAction('Invisibility', SendReqForInvisibility,false, Enum.KeyCode.E)
  31. ------------------------------------------------------------------------------------------------------------------------------
  32. -- ServerScript (in ServerScriptService)
  33. local ReplicatedStorage = game:GetService('ReplicatedStorage')
  34. local Remotes, SharedModules = ReplicatedStorage:WaitForChild('Remotes'), ReplicatedStorage:WaitForChild('shared')
  35. localfunction MakeInvisible(Player)
  36. -- Calls the function inside Shared ModuleScript, no transparency value is passed so the module will determine the appropriate value on its own
  37. end
  38. Remotes.MakeInvisible.OnServerInvoke = MakeInvisible

Attrition Roblox Script