Uzil
|
  |
| Joined: 02 Jun 2014 |
| Total Posts: 366 |
|
|
| 06 Mar 2016 09:34 AM |
this is in a localscript
player = game.Players.LocalPlayer tool = script.Parent;
function onButton1Down() wait(.5) player.Character.Humanoid.WalkSpeed = 0 player.Character.Humanoid.JumpPower = 0 end
function onEquippedLocal(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end) end
tool.Equipped:connect(onEquippedLocal) |
|
|
| Report Abuse |
|
|
Uzil
|
  |
| Joined: 02 Jun 2014 |
| Total Posts: 366 |
|
| |
|
yung_one
|
  |
| Joined: 26 Feb 2016 |
| Total Posts: 19 |
|
|
| 06 Mar 2016 10:24 AM |
| repeat wait() until game.Players.LocalPlayer |
|
|
| Report Abuse |
|
|
Uzil
|
  |
| Joined: 02 Jun 2014 |
| Total Posts: 366 |
|
| |
|