SHARE
TWEET

Untitled

a guest May 25th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i,v in next, debug.getregistry() do
  2.   if type(v) == 'function' then
  3.       local yo = debug.getupvalues(v)
  4.       if yo and type(yo) == 'table' then
  5.           if yo.Attributes then
  6.               local hi = yo.Attributes;
  7.               hi.freethrow = 999999999999999999999999999999999999999999999999;
  8.               hi.postscorer = 999999999999999999999999999999999999999999999999;
  9.               hi.ballspeed  = 90;
  10.               hi.jump = 999999999999999999999999999999999999999999999999;
  11.               hi.steal = 999999999999999999999999999999999999999999999999;
  12.               hi.shotcontest = 999999999999999999999999999999999999999999999999;
  13.               hi["2pointer"] = 999999999999999999999999999999999999999999999999;
  14.               hi["3pointer"] = 999999999999999999999999999999999999999999999999;
  15.               hi.passing = 999999999999999999999999999999999999999999999999;
  16.               hi.layup = 999999999999999999999999999999999999999999999999;
  17.               hi.strength = 999999999999999999999999999999999999999999999999;
  18.               hi.dunk = 999999999999999999999999999999999999999999999999;
  19.               hi.speed = 70;
  20.               hi.handles = 999999999999999999999999999999999999999999999999;
  21.               hi.movingshot = 999999999999999999999999999999999999999999999999;
  22.               hi.defense = 999999999999999999999999999999999999999999999999;
  23.               hi.stamina = 999999999999999999999999999999999999999999999999;
  24.           end;
  25.       end;
  26.   end;
  27. end;
  28. down = false
  29. velocity = Instance.new("BodyVelocity")
  30. velocity.maxForce = Vector3.new(100000, 0, 100000)
  31. ---vv Use that to change the speed v
  32. local speed = 20
  33. gyro = Instance.new("BodyGyro")
  34. gyro.maxTorque = Vector3.new(100000, 0, 100000)
  35.  
  36. local hum = game.Players.LocalPlayer.Character.Humanoid
  37.  
  38. function onButton1Down(mouse)
  39. down = true
  40. velocity.Parent = game.Players.LocalPlayer.Character.UpperTorso
  41. velocity.velocity = (hum.MoveDirection) * speed
  42. gyro.Parent = game.Players.LocalPlayer.Character.UpperTorso
  43. while down do
  44. if not down then break end
  45. velocity.velocity = (hum.MoveDirection) * speed
  46. local refpos = gyro.Parent.Position + (gyro.Parent.Position - workspace.CurrentCamera.CoordinateFrame.p).unit * 5
  47. gyro.cframe = CFrame.new(gyro.Parent.Position, Vector3.new(refpos.x, gyro.Parent.Position.y, refpos.z))
  48. wait(0.1)
  49. end
  50. end
  51.  
  52. function onButton1Up(mouse)
  53. velocity.Parent = nil
  54. gyro.Parent = nil
  55. down = false
  56. end
  57. --To Change the key in those 2 lines, replace the "" with your desired key
  58. function onSelected(mouse)
  59. mouse.KeyDown:connect(function(k) if k:lower()==""then onButton1Down(mouse)end end)
  60. mouse.KeyUp:connect(function(k) if k:lower()==""then onButton1Up(mouse)end end)
  61. end
  62.  
  63. onSelected(game.Players.LocalPlayer:GetMouse())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top