The Pic for the thingy ? https://gyazo.com/8266a516c4ea4d55c1b003edcc8584ad https://gyazo.com/8008805ab3a9617f3bd50361cc0024ce i have made it work only in the roblox studio but don't work when i play it in roblox And i just learn how to script
COMMUNITY QUESTION
How do i make my shop GUI work for player not in roblox studio only ? why the web don't let me post
1 answer
I didn't see the photo but i can give you some advices with the gui...
- you have to use local scripts not server-sided scripts
- put the local script inside the gui and define the variables like
button = script.Parent.Textbutton
- or put the local script inside the starterplayerscripts and define the variables like
plr = game.Players.LocalPlayer
button = plr.PlayerGui.ScreenGui.Textbutton
- don't define the variables like
button = game.StarterGui.ScreenGui.Textbutton
4 comments
0
you can copy the sec link that put in the question to the pic
0
and check you spelling
0
i am not a native english talker so please tell me what is wrong with my speeling so i can edit it ^^
0
i checked the pic and i think your proplem is using a server-sided script as they don't work well with gui
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
The placement isn't clear... Which script is the script you're showing us? Which button?
You can't use a normal script... Use a localscript...
i show the shop GUI
bc all is the same