GUI not enabling after touch

Hey everyone!
I made a script that stops a sound and plays a sound (so it restarts) and after that I wanted a gui to become visible but it ignores the lvl.visible = true and continues after that.
This is my script
I want the gui to become visible then the song stops and it replays from the beginning. I do not know what is wrong to the script as I am not the best at scripting and I just started to learn function onTouch a day or 2 ago.
So if anyone knows how to fix this then please tell me.

Thank you!

This is probably because you are changing the lvl in the startergui, you need to change it in every player’s gui, so you should create a remote event and use fireallclients to then turn off the ui