| |
|
|
| 13 Aug 2011 08:11 PM |
| function onChildAdded(child) local plyr = game.Players:GetPlayerFromCharacter(child) if plyr then if child.Torso.roblox.Texture == http://www.roblox.com/asset?id=assetnumber then child.Humanoid.MaxHealth = 175 wait(.05) child.Humanoid.Health = 175 child.Humanoid.WalkSpeed = 25 end end end game.Workspace.ChildAdded(onChildAdded) |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 13 Aug 2011 08:12 PM |
-_- Are you a beginner?Just askin |
|
|
| Report Abuse |
|
|
|
| 13 Aug 2011 08:15 PM |
if child.Torso.roblox.Texture == http://www.roblox.com/asset?id=assetnumber then
you need " marks around the link, because it is a string value. |
|
|
| Report Abuse |
|
|
| |
|
|
| 13 Aug 2011 09:29 PM |
script.Parent.Touched:connect(function (hit) if hit.Parent and hit.Parent:FindFirstChild("Head") then hit.Parent.Head:Remove() end end) |
|
|
| Report Abuse |
|
|