Flame6264
|
  |
| Joined: 06 Mar 2012 |
| Total Posts: 3379 |
|
|
| 21 Oct 2012 01:05 PM |
function (onTouched)
game.Workspace.Fast Spongebob.Humanoid.Health = 7
So What I'm doing is a Tycoon know when a Roblox Character hits the Body of the Morph nothing Happens.... |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2012 01:07 PM |
script.Parent.Touched:connect(function(hit) game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 7 game.Players.LocalPlayer.Character.Humanoid.Health = 7 end)
Put this in a localscript
-sips tea- |
|
|
| Report Abuse |
|
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 21 Oct 2012 01:13 PM |
^
Neh neh...
script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then hit.Parent.Humanoid.Health = 7 end end)
|
|
|
| Report Abuse |
|
|
|
| 21 Oct 2012 01:14 PM |
Well, I'm going to go facepalm for 10 minutes.
-sips tea- |
|
|
| Report Abuse |
|
|