Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make my shop GUI work for player not in roblox studio only ? why the web don't let me post

Asked by 5 years ago

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

0
The placement isn't clear... Which script is the script you're showing us? Which button? Pojoto 329 — 5y
0
You can't use a normal script... Use a localscript... MaxDev_BE 55 — 5y
0
i show the shop GUI TheBossOfNew -9 — 5y
0
bc all is the same TheBossOfNew -9 — 5y

1 answer

Log in to vote
0
Answered by
hmurban 16
5 years ago
Edited 5 years ago

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
0
you can copy the sec link that put in the question to the pic TheBossOfNew -9 — 5y
0
and check you spelling TheBossOfNew -9 — 5y
0
i am not a native english talker so please tell me what is wrong with my speeling so i can edit it ^^ hmurban 16 — 5y
0
i checked the pic and i think your proplem is using a server-sided script as they don't work well with gui hmurban 16 — 5y
Ad

Answer this question