|
| 16 Sep 2012 04:12 PM |
How would I do it? Does it involve if and then? I tried, and failed. I'm in SB. This is what I typed:
if game.Workspace["1cooldude361"].Humanoid.Jump = true then game.Workspace.untamedangel44.Humanoid.Health = 0 end
So, what should it be?
A minimum of 15 seconds has passed since my last post. |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2012 04:14 PM |
human = Workspace["1cooldude361"].Humanoid human.Changed:connect(function(p) if p == "Jump" and human.Jump then pcall(function() Workspace.untamedangel44.Torso:BreakJoints() end) end end)
may not work, i didn't test it
¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelance worker ♣ send me trade requests! |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2012 04:25 PM |
| The Humanoid has a Jumping event you could use. |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2012 04:32 PM |
oops lol.
¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelance worker ♣ send me trade requests! |
|
|
| Report Abuse |
|
|
|
| 16 Sep 2012 04:34 PM |
Workspace["1cooldude361"].Humanoid.Jumping:connect(function() Workspace.untamedangel44.Torso:BreakJoints() end)
no need for pcall as the probability of the script erroring would be very very low.
¬ Scripter Tier-2, LuaLearners Elite ♣ scripting teacher/freelance worker ♣ send me trade requests! |
|
|
| Report Abuse |
|
|