Hello, guys! Sorry to be annoying for this question (I’m not that experienced), but, how do I get local scripts to work in a surfaceGui? Like, I know you have to put the Gui in the playerGui/starterGui, but I don’t know how to make it fully work? Any answers?
If you want players to input something, put it to StarterGui, set the Adornee property to part and script it like a normal GUI.
Thanks! I’m going to try that right now.
One last question, do I put the script in both of the guis or one of them?
Generally the best practise is controlling the GUIs with the StarterPlayerScripts however if you are a beginner you can put them in GUIs as well so it will be easier to script.
Answer for your question is it depends on your implementation.
Oh, ok, I want the player to be pressing a button inside of it.
If it’s only controlling a single main UI object you can use a script per object.
Thanks! I think that’s all I need.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.