Local Scripts and Script Errors

Yes, anywhere in StarterGui is also fine.

1 Like

Are you using a SurfaceGui or a ScreenGui?

1 Like

If the script references Gui instances through the use of the “Parent” property then you’ll need to place the script in the correct location.

1 Like

Screen GUI @enc_oded. 111111111

What is the correct location? @Limited_Unique

Place the LocalScript under the TextLabel. And read the documentation as well.

1 Like

I wouldn’t know without seeing how your ScreenGui is organised.

1 Like

It’s a screenGUI, then a textlabel.

Then just inside the TextLabel.

1 Like

Ok, thanks! @Limited_Unique! I’ll try putting in the code now.

Also, just checking, should it be a local script? (The client)

Yep. LocalScript under the textlabel.

Yes, it needs to be a local script. Server scripts won’t be executed if they are placed within the StarterGui folder.

1 Like

Thanks! Ok I’m nearly done with the code.

Thanks it works! This will really help!

Thanks! It works! This will really help!

1 Like

You should mark the code you used as the solution, so that anyone else who visits the thread can use it.