Admins = {"DeveloperAtWork"} function isPlayerAdmin(name) for i,v in pairs(Admins) do if string.lower(name) == string.lower(v) then return true end end end function chatted(msg,rec) if msg:lower() == "Alarm" then for i,v in pairs(game.Players:GetChildren()) do v.Playergui.Alarm.Frame.Visiable = true end end end function playerAdded(newplayer) if isPlayerAdmin(newplayer.Name) then newplayer.Chatted:connect(chatted) end end game.Players.PlayerAdded:connect(playerAdded)
Closed as Not Constructive by Unclear
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?