Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local admins = ("BadLuke1,simhwuibro,simquan,testingsim")
- local prefix = "-"
- banned = {"5ZR", "GuyWithACleverName", "Slappy826"}
- local Players = Game:GetService("Players")
- --[[
- --Commands--
- -kill plr
- -ff plr
- -unff plr
- -fire plr
- -unfire
- -smoke plr
- -unsmoke plr
- -sparkles plr
- -unsparkles plr
- -age plr
- -explode plr
- -shiny plr
- -gold plr
- -noob plr
- -god plr
- -ungod plr
- -nograv plr
- -grav plr
- -btools plr
- -kick plr
- -ban plr ----Currently NOT working. I will be working on it, so stay tuned!
- -unlock plr ---- It will unlock all of the parts of your body except for your head unless you are wearing hats. So if you are wearing a hat, sometimes it will keep your head 'locked' in a way.
- -lock plr
- -lag plr
- --]]
- for p,f in pairs(game.Players:GetChildren()) do
- sg1 = Instance.new("ScreenGui", f.PlayerGui)
- fm1 = Instance.new("Frame", f)
- fm1.Size = UDim2.new(0,15,0,15)
- fm1.Position = UDim2.new(0, 1190, 0, 710)
- end
- game.Players.PlayerAdded:connect(function(Player) -- Loading Banned Players
- print("Banned Player Script v1.0 By BadLuke1 Loaded..!")
- wait(0.7)
- print("Getting banned player information..")
- wait(0.7)
- print("Success! Players are now banned from the server..!")
- repeat wait() until Player.Character
- for k,v in pairs(banned) do
- if Player.Name == v then
- Player:Destroy()
- end
- end
- end)
- --###################################################################################################--
- --##Other Player Commands##--
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "kill" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- player.Character:BreakJoints()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 3) == prefix .. "ff" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(5))
- if player.Name:lower():sub(1, #Message:sub(5)) == Message:sub(5):lower() then
- pcall(function()
- Instance.new("ForceField", player.Character)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "unff" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- player.Character.ForceField:Destroy()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "fire" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- Instance.new("Fire", player.Character.Torso)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 7) == prefix .. "unfire" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(9))
- if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
- pcall(function()
- while true do
- player.Character.Torso.Fire:Destroy()
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 6) == prefix .. "smoke" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(8))
- if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
- pcall(function()
- Instance.new("Smoke", player.Character.Torso)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 8) == prefix .. "unsmoke" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(10))
- if player.Name:lower():sub(1, #Message:sub(10)) == Message:sub(10):lower() then
- pcall(function()
- while true do
- player.Character.Torso.Smoke:Destroy()
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 9) == prefix .. "sparkles" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(11))
- if player.Name:lower():sub(1, #Message:sub(11)) == Message:sub(11):lower() then
- pcall(function()
- Instance.new("Sparkles", player.Character.Torso)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 11) == prefix .. "unsparkles" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(13))
- if player.Name:lower():sub(1, #Message:sub(13)) == Message:sub(13):lower() then
- pcall(function()
- while true do
- player.Character.Torso.Sparkles:Destroy()
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 4) == prefix .. "age" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(6))
- if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
- pcall(function()
- print(player.AccountAge)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 8) == prefix .. "explode" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(10))
- if player.Name:lower():sub(1, #Message:sub(10)) == Message:sub(10):lower() then
- pcall(function()
- if player.Character ~= nil then
- local torso = player.Character:FindFirstChild("Torso")
- if torso ~= nil then
- local ex = Instance.new("Explosion")
- ex.Position = torso.Position
- ex.Parent = player.Character
- end
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 6) == prefix .. "shiny" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(8))
- if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
- pcall(function()
- player.Character.Head.BrickColor = BrickColor.new("Institutional white")
- player.Character.Head.Reflectance = 0.5
- player.Character["Right Leg"].BrickColor = BrickColor.new("Institutional white")
- player.Character["Right Leg"].Reflectance = 1
- player.Character["Right Arm"].BrickColor = BrickColor.new("Institutional white")
- player.Character["Right Arm"].Reflectance = 1
- player.Character["Left Leg"].BrickColor = BrickColor.new("Institutional white")
- player.Character["Left Leg"].Reflectance = 1
- player.Character["Left Arm"].BrickColor = BrickColor.new("Institutional white")
- player.Character["Left Arm"].Reflectance = 1
- player.Character.Torso.BrickColor = BrickColor.new("Institutional white")
- player.Character.Torso.Reflectance = 1
- player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Institutional white")
- player.Character.HumanoidRootPart.Reflectance = 1
- player.Character.Shirt:remove()
- player.Character.Pants:remove()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "gold" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- player.Character.Head.BrickColor = BrickColor.new("Gold")
- player.Character.Head.Reflectance = 0.5
- player.Character["Right Leg"].BrickColor = BrickColor.new("Gold")
- player.Character["Right Leg"].Reflectance = 0.5
- player.Character["Right Arm"].BrickColor = BrickColor.new("Gold")
- player.Character["Right Arm"].Reflectance = 0.5
- player.Character["Left Leg"].BrickColor = BrickColor.new("Gold")
- player.Character["Left Leg"].Reflectance = 0.5
- player.Character["Left Arm"].BrickColor = BrickColor.new("Gold")
- player.Character["Left Arm"].Reflectance = 0.5
- player.Character.Torso.BrickColor = BrickColor.new("Gold")
- player.Character.Torso.Reflectance = 0.5
- player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Gold")
- player.Character.HumanoidRootPart.Reflectance = 0.5
- player.Character.Shirt:remove()
- player.Character.Pants:remove()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "noob" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- player.Character.Head.BrickColor = BrickColor.new("Bright yellow")
- player.Character["Right Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- player.Character["Right Leg"].Reflectance = 0
- player.Character["Right Arm"].BrickColor = BrickColor.new("Bright yellow")
- player.Character["Right Arm"].Reflectance = 0
- player.Character["Left Leg"].BrickColor = BrickColor.new("Br. yellowish green")
- player.Character["Left Leg"].Reflectance = 0
- player.Character["Left Arm"].BrickColor = BrickColor.new("Bright yellow")
- player.Character["Left Arm"].Reflectance = 0
- player.Character.Torso.BrickColor = BrickColor.new("Bright blue")
- player.Character.Torso.Reflectance = 0
- player.Character.HumanoidRootPart.BrickColor = BrickColor.new("Gold")
- player.Character.HumanoidRootPart.Reflectance = 0
- player.Character.Shirt:remove()
- player.Character.Pants:remove()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 4) == prefix .. "god" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(6))
- if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
- pcall(function()
- player.Character.Humanoid.MaxHealth = math.huge
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 6) == prefix .. "ungod" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(8))
- if player.Name:lower():sub(1, #Message:sub(8)) == Message:sub(8):lower() then
- pcall(function()
- player.Character.Humanoid.MaxHealth = 100
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 7) == prefix .. "nograv" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(9))
- if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
- pcall(function()
- b = Instance.new("BodyForce")
- b.Parent = player.Character.Torso
- b.force = Vector3.new(0,3500,0)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "grav" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- b.force = Vector3.new(0,0,0)
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 7) == prefix .. "btools" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(9))
- if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
- pcall(function()
- Instance.new("HopperBin",player.Backpack).BinType = "Clone"
- Instance.new("HopperBin",player.Backpack).BinType = "Grab"
- Instance.new("HopperBin",player.Backpack).BinType = "Hammer"
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "kick" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function()
- player:Destroy()
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 7) == prefix .. "unlock" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(9))
- if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
- pcall(function() -- Loading Banned Players
- local hat = player:FindFirstChild("Hat")
- player.Character["Right Arm"].Locked = false
- player.Character["Left Arm"].Locked = false
- player.Character["Right Leg"].Locked = false
- player.Character["Left Leg"].Locked = false
- player.Character.Torso.Locked = false
- player.Character.Head.Locked = false
- player.Character.HumanoidRootPart.Locked = false
- hat.Locked = false
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 5) == prefix .. "lock" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(7))
- if player.Name:lower():sub(1, #Message:sub(7)) == Message:sub(7):lower() then
- pcall(function() -- Loading Banned Players
- local hat = player:FindFirstChild("Hat")
- player.Character["Right Arm"].Locked = true
- player.Character["Left Arm"].Locked = true
- player.Character["Right Leg"].Locked = true
- player.Character["Left Leg"].Locked = true
- player.Character.Torso.Locked = true
- player.Character.Head.Locked = true
- player.Character.HumanoidRootPart.Locked = true
- hat.Locked = true
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 4) == prefix .. "lag" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(6))
- if player.Name:lower():sub(1, #Message:sub(6)) == Message:sub(6):lower() then
- pcall(function() -- Loading Banned Players
- while true do
- player.CameraMode="LockFirstPerson"
- wait(0.000000000000000001) do
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Smoke", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- Instance.new("Fire", player.Character.Head)
- end
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 7) == prefix .. "punish" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(9))
- if player.Name:lower():sub(1, #Message:sub(9)) == Message:sub(9):lower() then
- pcall(function() -- Loading Banned Players
- player.Character = nil
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
- --###################################################################################################--
- function OnChatted(Message)
- if Message:sub(1, 9) == prefix .. "unpunish" then
- for index, player in pairs(Players:GetPlayers()) do
- player.Name:lower():sub(1, #Message:sub(11))
- if player.Name:lower():sub(1, #Message:sub(11)) == Message:sub(11):lower() then
- pcall(function() -- Loading Banned Players
- if player ~= nil then
- local player = game.Players:FindFirstChild(string.sub(Message,10))
- if player then
- if player.Character then
- if game.Lighting[player.Name] then
- player.Character.Parent = game.Workspace
- player.Character:MakeJoints()
- end
- end
- end
- end
- end)
- end
- end
- end
- end
- Players[admins].Chatted:connect(OnChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement