#Gui not opening another Gui

1 messages · Page 1 of 1 (latest)

coral grove
#

Basically im trying to open a gui through an image button within the "Shop" ScreenGUI, the click is registering but the frame isnt becoming visible

eternal kite
#

You are referencing the ScreenGui incorrectly, dont go through StarterGui

#

Go through
game.Players.LocalPlayer.PlayerGui.Perks

loud meadow
#

just clocked that

eternal kite
#

The reason why is because things from starterGui (like in your case the ScreenGui) gets replicated from the server to your client upon game start, so objects from starter gui are different from what actually appears on the player's screen on game start

eternal kite
coral grove
lyric basinBOT
#

studio** You are now Level 1! **studio

coral grove
#

through the script

#

so should i just make the frame visiblwe

#

or the gui

#

alright so i changed it a little bit

eternal kite
# coral grove or the gui

if the frame is the only thing you are going to put there it doesnt rly matter, but just disable the gui ig

coral grove
#

the frame has an image frame and some other stuff so i switched it

#

new script

#

still not working right now tho

eternal kite
#

you have game twice

#

line 1

coral grove
#

oh shoot

#

that was dumb

eternal kite
#

should be causing errors, make sure your console is open, and make sure your roblox paused on errors

coral grove
#

youve really got an eye for this that was instant

#

lol

#

works now

#

tysm

eternal kite
#

lol