I am currently working on a game with others and I've made a script so that if you are a developer it shows you a credits GUI if not it comes up with screen that says you are not dev here is the code
local credg = script.Parent.Credg local credits = script.Parent.Credits local devs = {"Txeer", "gwbrewer"} for i, c in pairs(devs) do if game.Players.LocalPlayer.Name == c then credg.Position = UDim2.new(0,0,0,0) wait(3) credg.Position = UDim2.new(-1,0,0,0) credits.Position = UDim2.new(0,0,0,0) wait(4) credits.continue.Position = UDim2.new(0.253, 0, 0.822, 0) else script.Parent.Screen.Position = UDim2.new(0,0,0,0) end end credits.continue.MouseButton1Click:Connect(function() credits.Position = UDim2.new(-1,0,0,0) end)
any help?