Advertisement
ToysolDev

reach

May 12th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.23 KB | None | 0 0
  1. -- SUB TO RO N: https://www.youtube.com/channel/UCvYjIVLjo9XppvMxGK8pg2g
  2. _G.Reach = "99999999999999"
  3. _G.KeyBindHigher = "r"
  4. _G.KeyBindLower = "e"
  5. _G.ReachOff = false -- Set this to true if you want to disable the reach lol
  6.  
  7. game:GetService"RunService".Stepped:Connect(function()
  8. if _G.ReachOff then return end
  9. pcall(function()
  10. Sword = game.Players.LocalPlayer.Character:FindFirstChildOfClass("Tool").Handle
  11. for i,v in pairs(game.Players:GetPlayers()) do
  12. if v ~= game.Players.LocalPlayer and v.Character:FindFirstChild("Left Arm") then
  13. if (game.Players.LocalPlayer.Character.Torso.Position - v.Character.Torso.Position).Magnitude <= _G.Reach then
  14. v.Character['Left Arm']:BreakJoints()
  15. v.Character['Left Arm'].Transparency = 1
  16. v.Character['Left Arm'].CanCollide = false
  17. v.Character['Left Arm'].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-3.5)
  18. v.Character['Left Leg']:BreakJoints()
  19. v.Character['Left Leg'].Transparency = 1
  20. v.Character['Left Leg'].CanCollide = false
  21. v.Character['Left Leg'].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,0,-3.5)
  22. end
  23. end
  24. end
  25. end)
  26. end)
  27.  
  28. local Mouse = game.Players.LocalPlayer:GetMouse()
  29. Mouse.KeyDown:Connect(function(key)
  30. if key == _G.KeyBindHigher then
  31. _G.Reach = _G.Reach + 1
  32. game.StarterGui:SetCore("SendNotification", {
  33. Title = "IMPULSE REACH";
  34. Text = "Reach set to " .. _G.Reach;
  35. Icon = "";
  36. Duration = 1;})
  37. end
  38. end)
  39.  
  40.  
  41. local Mouse = game.Players.LocalPlayer:GetMouse()
  42. Mouse.KeyDown:Connect(function(key)
  43. if key == _G.KeyBindLower then
  44. _G.Reach = _G.Reach - 1
  45. game.StarterGui:SetCore("SendNotification", {
  46. Title = "IMPULSE REACH";
  47. Text = "Reach set to " .. _G.Reach;
  48. Icon = "";
  49. Duration = 1;})
  50. end
  51. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement