What do you mean???
Are you sure there isn’t a script that is doing something to the guis?
Hmm, I’m just going to delete everything and make a screengui, insert a frame into it, insert a text button into that. Put a local script in the button. Then make a new screen gui and put a frame into it. I’m not going to name anything. What should I do?
ScreenGui
Frame
TextButton
Local Script <---- Thats the GUI I want to click to open
ScreenGui
Frame <------
Looking at this, what should I put in the textButton’s local script?
script.Parent.mousebutton1click:connect(function()
script.Parent.Parent.Parent.Shop.ShopFrame.Visible = true
end)
try this to fix the error
I already tried it, It didn’t work
'''
script.Parent.MouseButton1Click:Connect(function()
local player = game.Players.LocalPlayer
if player then
player.PlayerGui.Shop.ShopFrame.Visible = true
end
'''
Which error? 30 characters…
The GUI i want to open is no longer called Shop and the frame isnt ShopFrame, everything is just their basic name
Ok so input those names into the other names…
15:48:16.743 - Image “” failed to load: Unexpected URL
switch end to end)
(30 charrrrrrrrrrrrrrs)
It is easy to find research for such errors and often the error says what is wrong. And it is also easy to find research for a gui like this. You can try this tutorial.
??? Where did :BindAction come from???
I’ll try it. is this so when you click a GUI it makes another GUI Visible?
That error may be from another script.
Yes (30 characters…)
Ok, well set aside that error, there is nothing but when I click it doesnt do anything