Why isn’t the menu appearing when I activate (mouse click) the menu open text button?
No errors.
All active UIs are cloned to the
LocalPlayer.PlayerGui
Changing it in the StarterGui doesn’t do anything. Use game.Players.LocalPlayer.PlayerGui.UIName
Activated does not work and doenst really apply to that. You should do:
local Menu = game.StarterGui.Menu
script.Parent.MouseButton1Click:Connect(function())
Menu.Enabled = true
end)
I tried it that way too, it doesn’t work. I don’t think it has to do with the Activated event.
Could you give more details so i can look further?
It’s because you need to use playergui instead, if you’re going to do startergui then you must parent it to the gui that you’re using,
Which details would you like?
30
That would be right, but its an local script. Local script are for the client, you only use player gui in serverscripts
actually hold on, just saw it’s a local script.
Even if it’s a local script that this code is in, this applies?
Could you show the location of every element on the startergui?
No, as i said, only in server scripts.
Yes.
It may be strange, but I used 2 screenguis. Is that an issue?
I see. Try using only 1, and use my script and tell me how it turns out.
Can you try using “MouseButton1Click” instead of Activated? Also add in a print to see if it even prints.
That’s completely wrong. I don’t know where you got that information, but that is HEAVILY wrong.
I’m not roasting you? I’m telling you that you’re feeding this guy wrong information. You shouldn’t be handling UI from the server at all unless you’re cloning a GUI into a playerGui…
Err… PlayerGui only applies to ServerScripts…
You can just use local player…