Stop event tick when boolean is set to true

remzXD
Thu, 23 Mar 2023 15:06:17 +0000
Programming & Scripting

Hello,

If my player hits “F” if a boolean is true, I want to play a success sound or a failed sound if false. I use the event tick to check that. It works except that the sound is being played 3 or 4 times in a raw. I suppose it comes from the event tick, can I manage the event tick to play only one sound only ?

Thanks in advance.

2 posts - 1 participant