I am currently making a horror game on ROBLOX. I already own a "press c to crouch" script that works fine. However, I don't know how to make a script that allows you to stay crouched in the vent and when you get out of the vent, you get out of crouch. Any ideas?
✓ ANSWER ACCEPTED
Stay crouched in a vent?
1 answer
✓ Accepted answer
Possible way to do this is inside ChracterScriptServer
make a ontouch function
and anytime a character touches a part in the vent, it will fire a remoteevent that will then play the animation.
If character isn't touching that part then, animation stops playing, via remoteevent as well.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Smart, I'll try this out