Advertisement
Guest User

Reach Script (WORKS FOR ALL EXPLOITS)

a guest
Jul 25th, 2019
11,349
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 1 0
  1. local Players = game:GetService("Players")
  2. local UserInputService = game:GetService("UserInputService")
  3. local SwordName
  4. local SelectionBoxObject
  5. local HandleObject
  6. local SelectionBoxKeybind = Enum.KeyCode.E --no need to change this, doesn't work
  7. local ReachVector = 7 --Minimum reach is 5
  8. local Player = Players.LocalPlayer
  9. local Backpack = Player:FindFirstChild("Backpack")
  10. repeat
  11. wait()
  12. until Backpack
  13.  
  14. local function SetupReach(Sword)
  15. local Handle = Sword:FindFirstChild("Handle")
  16. local SelectionBox = Instance.new("SelectionBox")
  17. SelectionBox.Parent = Handle
  18. SelectionBox.Adornee = Handle
  19. Handle.Massless = true
  20. Handle.Size = Vector3.new(1, 1, ReachVector)
  21. SelectionBox = SelectionBox
  22. end
  23.  
  24. local function FindSword()
  25. for i,v in pairs(Backpack:GetChildren()) do
  26. local Handle = v:FindFirstChild("Handle")
  27. if Handle then
  28. SwordName = v.Name
  29. SetupReach(v)
  30. break
  31. end
  32. end
  33. end
  34.  
  35. Player.CharacterAdded:Connect(FindSword)
  36. FindSword()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement