I'm testing this script in humanoid were if the npc sits down with a baton, it would stand up with this script inside humanoid:
if script.Parent.Sit = true then
script.Parent.Jump = true
end
I'm not sure if this is correct since I'm not an expert at scripting, and here's the sit script if you hit the humanoid with a baton.
function onTouched(hit)
h = hit.Parent:findFirstChild("Humanoid")
if h ~= nil then
h.Sit = true
h.Health = h.Health - 0
end
end
script.Parent.Touched:connect(onTouched)
######Edit; fixed indentation

2 comments
And um.. They don't jump.
they just sit down forever..