Local script insertion - how do i make it clone inside a player only ONCE?

I have a local script thats cloned inside a player, but how would I go about making it only clone in a player once?
This is moreso important because it also plays a sound, which is spammed.
I’ve tried adding wait() to the lines, but to no avail. I’m new to this whole local script thing, so sorry if there is a glaring issue here. Any help and feedback would be nice.

--edited out because my post has been solved and i wouldn't like for people to grab my code.

If you only want a script to execute once when the player first joins the game place the script inside the StarterPlayerScripts folder.

Thank you kind sir/maam!
It works perfectly :slight_smile: