Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until workspace.Superiorality ~= nil
- script.Parent = workspace
- repeat wait() until script.Parent == workspace
- print(script.Parent.Name)
- local p = game.Players.LocalPlayer
- local c = p.Character
- local hum = c.Humanoid
- local torso = c.Torso
- local Np = game.Players.NumPlayers
- local IsAdmin = {["SuperiorSpringy"] = true}
- local Gp = game.Players:GetPlayers()
- local wl = {}
- local re = workspace.RemoteEvent
- --Functions--
- function debounce(func)
- local isRunning = false -- Create a local debounce variable
- return function(...) -- Return a new function
- if not isRunning then
- isRunning = true
- func(...) -- Call it with the original arguments
- isRunning = false
- end
- end
- end
- re.OnClientEvent:connect(debounce(function(ch,Colora)
- Colora = Colora or Color3.new(1,1,1)
- game.StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = ch;
- Color = Colora;
- Font = Enum.Font.SourceSans;
- FontSize = Enum.FontSize.Size24;
- })
- end))
- function PS()
- for i, v in pairs(Gp) do
- wl[i] = v.Name
- ii = i
- print(i..v.Name)
- workspace.Code.Value = "WhiteList - " ..i.." "..v.Name
- re:FireServer("WhiteList - " ..i.." "..v.Name, Color3.new(0,1,0))
- end
- game.Players.PlayerAdded:connect(function(out)
- if out.Name ~= wl[ii] then
- while wait() do
- out:remove()
- out:Destroy()
- end
- end
- end)
- end
- --end--
- --@CODING CMDS@--
- p.Chatted:connect(function(msg)
- if IsAdmin[p.Name] then
- if msg:sub(1,3) == ".ps" then
- print'Got'
- PS()
- coroutine.resume(coroutine.create(PS))
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment