- Home /
Question by
VaccProductions · Dec 12, 2012 at 09:52 PM ·
horrorinside
Horror Game Script (jumpscare)
Hello, im making a horror game and im almost done, but for some extra scares ive tried to make a jumpscare but my scripts are not working, im trying to make it so when i walk on a cube or something and a pic shows for 5 seconds and goes away. (cant go though again) any help would be great.
Comment
Answer by PaulBrasfield · Dec 12, 2012 at 10:40 PM
You can use a OnTriggerEnter function and use it to check when the player enters the trigger the picture appears and call WaitForSeconds then destroy the object.