Code within a local script disappearing when joining Team Test

Hello, I’m having an issue for when I try to team test my game to see if everything is in all working order but the code I have inside of a local script disappears as well as inside of a regular script. Am I doing something wrong that’s causing this issue? If pictures/video is wanted I’ll provide it.

2 Likes

Is the script using Destroy() in any sort of way?

No, it’s just a generic script that allows for you to mute music and turn it off again. It’s nested within a local script.

A video of it would be helpful to see :thinking: Could it be possible that you installed some sort of malicious plugin by accident?

1 Like

Try making sure all your plugins are made by the correct developers + searching “Script” in the explorer and see if any scripts are there that you didn’t make/don’t know the origins of.

If it’s obfuscated, it probably has malicious intents

Yes, I’ll provide a video just give me a moment.

Odd Issue in Studio - YouTube

Can you check PlayerGui too instead of just StarterGui?
Am just curious if there is a change

For some reason PlayerGui is empty, I’m not sure if that’s normal.

Hm, this seems more like a #bug-reports:studio-bugs , and not more as a scripting problem.

Look into the issue more, restart studio, try normal playing+playing on roblox servers, etc.

Alright, thank you for the assistance.

make sure to click ctrl + s or click “save” when exiting the script

1 Like

I’ve done that, no luck though.