WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 21 Jun 2015 05:10 PM |
if you disabled jump, and someone somehow got Sit = true, how would you cause the player to get up again?
here's the extract of the anti-jump script: human.Changed:connect(function(prop) human.Jump = false end)
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 21 Jun 2015 05:10 PM |
| if prop=="Jump" then human.Jump = false elseif prop=="Sit" then human.Sit=false end |
|
|
| Report Abuse |
|
|
|
| 21 Jun 2015 05:21 PM |
human.Changed:connect(function(prop) if prop == "Jump" and human:GetState() ~= 13 then human.Jump = false end end) |
|
|
| Report Abuse |
|
|