Abillityx
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 3938 |
|
|
| 07 Apr 2012 07:21 PM |
What I am trying to do is when a humanoid hits the brick, it's walkspeed becomes a value of 1 and after 5 seconds returns to 16. The output says nothing. Help?
print('Script V1.0 Loaded') h = script.Parent:findFirstChild("Humanoid") function onTouched(hit) if h~=nil then h.Walkspeed = 1 wait(5) h.Walkspeed = 16 end end script.Parent.connect:onTouched
|
|
|
| Report Abuse |
|
|
| 07 Apr 2012 07:38 PM |
print('Haxxed by KnightmareXD') script.Parent.Touched:connect(function(hit) local h = script.Parent:FindFirstChild("Humanoid") if h then h.WalkSpeed = 1 wait(5) h.WalkSpeed = 16 end end)
† KMXD † |
|
|
| Report Abuse |
|