Hi, I wanna make a two door that close and when the player get stuck between those two door he will dies, i have a little idea of the script i'll have to make but i need some help
Thanks for your awnser :)
Hello, Shematics!
You can place 2 BoolValues inside the player and make it true when player is touching a part, if both are true, Kill player!
Useful Links:
API:Class/BasePart/Touched --Use this to detect touch start....
API:Class/BasePart/TouchEnded --Use this to detect touch end...
API:Class/BoolValue --Use to get the touching value from other script
Hope this helps!
Good Luck with your games