Advertisement
JxstDyI

epic

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