is there an tutorial for an event hat

ive been trying to make an event hat for when you stop the project but i cant without other scripts. Is there an tutorial for how you can make the event hat?

No need to - its built in :~)
untitled script pic (34)

And welcome to the forums! Just a note that other people might not be as fast as I was (they may be if they’re on at the same time you made the post, but don’t bet on it too much). :~)

A note on that block. It only runs for 1 frame, so if you have somrthing like a forever loop or a wait block, the script will stop prematurely.

@mark4sisb has a block, drag this photo into snap