awesomeM3
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 1992 |
|
|
| 05 Dec 2012 10:07 AM |
function onButtonClicked() script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed 25 end
script.Parent.MouseButton1Click:connect(onButtonClicked)
It's a gui to make you run when you click it (yes i put it in starter gui) That's the script :).
Help on this please???
Do i have to change the humanoid????
Please help
This isn't a free model. |
|
|
| Report Abuse |
|
|
| 05 Dec 2012 10:13 AM |
May I suggest you use replace the script you're using with a local script.
The fix to your script: function onButtonClicked() script.Parent.Parent.Parent.Parent.Character.Humanoid.WalkSpeed = 25 end script.Parent.MouseButton1Click:connect(onButtonClicked)
LocalScript version: function onButtonClicked() game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 25 end script.Parent.MouseButton1Click:connect(onButtonClicked)
|
|
|
| Report Abuse |
|