Hello, I am using this code which is when the developer joins the game, it shows the ui and its not working.
Here is code:
game.Players.PlayerAdded:Connect(function(Player)
while true do
wait(0)
if Player.Name == "EfazDev" or "OfficialMJPlayzGames" then
script.Parent.Open.Visible = true
print("Player is the developer!")
end
end
end)
function OpenMenu(Player)
if script.Parent.DeveloperMenu.Visible == true then
script.Parent.DeveloperMenu.Visible = false
else
script.Parent.DeveloperMenu.Visible = true
end
end
script.Parent.Open.MouseButton1Click:Connect(OpenMenu)

2 comments
Can you post a picture of the gui in the explorer? Also are you getting an error message or is it just not working?
doesnt show the error, its just not working, even