Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local module = {}
- Ban = {"rkddbqls12","LordNotFamous","RealLifeIsNoGame","dudemangreenhead","Guest18662"}
- admins = {"deivis97","karinahappy23","Felisrae","diogames","zuado"}
- antiban = {}
- lock = false
- function isPlayerAdmin(name)
- for i,v in pairs(admins) do
- if name == v then
- return true
- end
- end
- end
- function chatted(Msg)
- if Msg:sub(1,5):lower() == "kill/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(6):len()):lower() == Msg:sub(6):lower() then
- v.Character:BreakJoints()
- end
- end
- elseif Msg:sub(1,8):lower() == "antiban/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(9):len()):lower() == Msg:sub(9):lower() then
- table.insert(antiban,v.Name)
- end
- end
- elseif Msg:sub(1,10):lower() == "unantiban/" then
- for i,v in pairs(antiban) do
- if v:sub(1,Msg:sub(11):len()):lower() == Msg:sub(11):lower() then
- table.remove(antiban,v.Name)
- end
- end
- elseif Msg:sub(1,5):lower() == "kick/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(6):len()):lower() == Msg:sub(6):lower() then
- v:Kick("ADMINION | You got kicked by a adm")
- end
- end
- elseif Msg:sub(1,5):lower() == "lock/" then
- lock = true
- elseif Msg:sub(1,7):lower() == "unlock/" then
- lock = false
- elseif Msg:sub(1,4):lower() == "ban/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(5):len()):lower() == Msg:sub(5):lower() then
- table.insert(Ban,v.Name)
- v:Kick("ADMINION | YOU GOT BANNED")
- end
- end
- elseif Msg:sub(1,3):lower() == "sd/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- v:Kick("ADMINION | This game has shutdown")
- end
- elseif Msg:sub(1,5):lower() == "cmds/" then
- local message = Instance.new('Message', game.Workspace)
- message.Text = "punish kill cmds sword slenderr15 msg sd kick ban btools rickify rickfication team crescendo axe katana rocket spawn shark antiban unantiban lock"
- wait(10)
- message:Destroy()
- elseif Msg:sub(1,6):lower() == "spawn/" then
- local assetId = Msg:sub(7)
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- elseif Msg:sub(1,6):lower() == "shark/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(7):len()):lower() == Msg:sub(7):lower() then
- local assetId = 118281463
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a.SharkLauncher.Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,7):lower() == "rocket/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(8):len()):lower() == Msg:sub(8):lower() then
- local assetId = 90718505
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a.ExponentialRocketLauncher.Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,6):lower() == "sword/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(7):len()):lower() == Msg:sub(7):lower() then
- local assetId = 532254782
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a.DemonSword.Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,7):lower() == "katana/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(8):len()):lower() == Msg:sub(8):lower() then
- local assetId = 246270069
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a.EpicKatana.Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,10):lower() == "crescendo/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(11):len()):lower() == Msg:sub(11):lower() then
- local assetId = 94794774
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a['CrescendoTheSoulStealer'].Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,4):lower() == "axe/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(5):len()):lower() == Msg:sub(5):lower() then
- local assetId = 73799348
- a = game:GetService("InsertService"):LoadAsset(assetId)
- a.Parent = game.Workspace
- a['Scifi Axe'].Handle.CFrame = v.Character.Head.CFrame
- end
- end
- elseif Msg:sub(1,9):lower() == "nametags/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- local Player = v
- local Character = Player.Character
- local Head = Character.Head
- local txt = Instance.new("BillboardGui", Character)
- txt.Adornee = Character.Head
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size96"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Code"
- text.TextStrokeColor3 = Color3.new(0,0,0)
- text.TextColor3 = Color3.new(0,0,0)
- text.Text = v.Name
- end
- elseif Msg:sub(1,7):lower() == "btools/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(8):len()):lower() == Msg:sub(8):lower() then
- clo = Instance.new("HopperBin",v.Backpack)
- clo.BinType = "Clone"
- ham = Instance.new("HopperBin",v.Backpack)
- ham.BinType = "Hammer"
- gra = Instance.new("HopperBin",v.Backpack)
- gra.BinType = "Grab"
- end
- end
- elseif Msg:sub(1,5):lower() == "team/" then
- local team = Instance.new("Team", game:GetService("Teams"))
- team.Name = Msg:sub(6)
- elseif Msg:sub(1,4):lower() == "msg/" then
- local message = Instance.new('Message', game.Workspace)
- message.Text = Msg:sub(5)
- game:GetService("Debris"):AddItem(message,10)
- elseif Msg:sub(1,13):lower() == "rickfication/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- plr = v
- Player = v
- char = plr.Character
- Character = plr.Character
- hum = char.Humanoid
- h = char.Head
- rot = char.HumanoidRootPart
- for i,v in pairs(char:children()) do
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- end
- ----------------------------------------------------
- hat = Instance.new("Part", v.Character.Head)
- w3ld = Instance.new("Weld", hat)
- w3ld.Part0 = hat
- w3ld.Part1 = v.Character.Head
- w3ld.C0 = w3ld.C0 * CFrame.new(0,-0.5,-0.1)
- mesh = Instance.new("SpecialMesh", hat)
- mesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
- mesh.TextureId = "http://www.roblox.com/asset/?id=102397532"
- ----------------------------------------
- -- Originally made by Alfederate :D --
- ----------------------------------------
- -- there's no time to explain! --
- for i,v in pairs(v.Character:children()) do if v:IsA("Accessory") then v:Destroy() end end for i,v in pairs(v.Character:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end for i,v in pairs(v.Character:GetChildren()) do if v:IsA("Pants") then v:Remove() end end wait()shirt = Instance.new("Shirt", v.Character) shirt.Name = "Shirt" pants = Instance.new("Pants", v.Character) pants.Name = "Pants"
- v.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=781724178"
- v.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=783023476"
- v.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=775503445"
- end
- elseif Msg:sub(1,8):lower() == "rickify/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(9):len()):lower() == Msg:sub(9):lower() then
- plr = v
- Player = v
- char = plr.Character
- Character = plr.Character
- hum = char.Humanoid
- h = char.Head
- rot = char.HumanoidRootPart
- for i,v in pairs(char:children()) do
- if plr:IsA("CharacterMesh") then
- plr:Destroy()
- end
- end
- ----------------------------------------------------
- hat = Instance.new("Part", plr.Character.Head)
- w3ld = Instance.new("Weld", hat)
- w3ld.Part0 = hat
- w3ld.Part1 = plr.Character.Head
- w3ld.C0 = w3ld.C0 * CFrame.new(0,-0.5,-0.1)
- mesh = Instance.new("SpecialMesh", hat)
- mesh.MeshId = "http://www.roblox.com/asset/?id=19326912"
- mesh.TextureId = "http://www.roblox.com/asset/?id=102397532"
- ----------------------------------------
- -- Originally made by Alfederate :D --
- ----------------------------------------
- -- there's no time to explain! --
- for i,v in pairs(plr.Character:children()) do if v:IsA("Accessory") then v:Destroy() end end for i,v in pairs(plr.Character:GetChildren()) do if v:IsA("Shirt") then v:Remove() end end for i,v in pairs(plr.Character:GetChildren()) do if v:IsA("Pants") then v:Remove() end end wait()shirt = Instance.new("Shirt", plr.Character) shirt.Name = "Shirt" pants = Instance.new("Pants", plr.Character) pants.Name = "Pants"
- plr.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=781724178"
- plr.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=783023476"
- plr.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=775503445"
- end
- end
- elseif Msg:sub(1,7):lower() == "punish/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(8):len()):lower() == Msg:sub(8):lower() then
- v.Character:Destroy()
- end
- end
- elseif Msg:sub(1,11):lower() == "slenderr15/" then
- for i,v in pairs(game.Players:GetPlayers()) do
- if v.Name:sub(1,Msg:sub(12):len()):lower() == Msg:sub(12):lower() then
- plr = v
- Char = plr.Character
- Char.Humanoid.BodyHeightScale.Value = 3
- local BC = Char["Body Colors"]
- Char.Head.face:Destroy()
- BC.HeadColor = BrickColor.new("White")
- BC.RightLegColor = BrickColor.new("Really black")
- BC.LeftLegColor = BrickColor.new("Really black")
- BC.RightArmColor = BrickColor.new("White")
- BC.LeftArmColor = BrickColor.new("White")
- Char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=180970955"
- if Char:FindFirstChild'Pants' then
- Char.Pants:Destroy()
- end
- Char.Humanoid.MaxHealth = math.huge
- Char.Humanoid.Health = Char.Humanoid.MaxHealth
- for i, v in pairs(Char:GetChildren()) do
- if v:IsA("BasePart") then
- v.Touched:connect(function(p)
- if p.Name ~= "Base" then
- if p.Name ~= "Baseplate" then
- p.Anchored = false
- p:BreakJoints()
- end
- end
- end)
- end
- end
- Char.Humanoid.Name = "MACUMBA"
- Char.MACUMBA.WalkSpeed = 10
- local ff = Instance.new("ForceField")
- ff.Parent = Char
- ff.Visible = false
- end
- end
- end
- end
- function playerAdded(newplayer)
- if isPlayerAdmin(newplayer.Name) then
- newplayer.Chatted:connect(chatted)
- for i,v in pairs(Ban) do
- if newplayer.Name == v then
- newplayer:Kick("ADMINION | YOU ARE BANNED")
- end
- end
- end
- if lock == true then
- newplayer:Kick("ADMINION | The server is locked")
- end
- end
- for i,v in pairs(game.Players:GetPlayers()) do
- pp = v
- if isPlayerAdmin(pp.Name) then
- pp.Chatted:connect(chatted)
- else
- for i,v in pairs(Ban) do
- if pp.Name == v then
- pp:Kick("ADMINION | YOU ARE BANNED")
- end
- end
- end
- end
- game.Players.PlayerAdded:connect(playerAdded)
- game.Players.PlayerRemoving:connect(function(p)
- for i,v in pairs(antiban) do
- if p.Name == v then
- for i,v in pairs(game.Players:GetPlayers()) do
- v:Kick("ADMINION | Somewone banned a player with antiban")
- end
- end
- end
- end)
- return module
Add Comment
Please, Sign In to add comment