I'm trying to make a Developer Commands Gui. I made it and made a script that makes it visible only to me, but for some reason, it only works once. This is the script:
local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if player.UserId == 251936426 then player:WaitForChild("PlayerGui"):WaitForChild("DevCommands"):WaitForChild("DevCommandsButton").Visible = true end end) end)