Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Plates of Fate: Mayhem Chat Script
- --Made by Apostasia/Apostasla/XxCreeperStalkerz
- --lol copyright a script lmao
- plr = game.Players.LocalPlayer
- local player
- local all = "all"
- local others = "others"
- local me = "me"
- local pos
- local mine = "minefield"
- local bana = "bananarain"
- local pla = "plates"
- local mon = "moneyrain"
- local mega = "megafield"
- local size = "platesize"
- local point = "points"
- local wati = true
- local fire = "fire"
- local black = "blackhole"
- local ls = "lavaspinner"
- local bmb = "bomb"
- local pri = "prison"
- local spk = "spike"
- local zomb = "zombie"
- local bmbc = "bombcloud"
- local tor = "tornado"
- local fen = "fence"
- local dis = "disco"
- local pbmb = "plrbomb"
- local cac = "cactus"
- local wal = "wall"
- local frz = "freeze"
- local vol = "volcano"
- local mun = "moon"
- local nuk = "nuke"
- local min = "landmine"
- local marb = "marble"
- local coin = "coin"
- local chest = "chest"
- local xx = math.random(-69.25, 147.75)
- local zz = math.random(113.75, 330.75)
- local yy = math.random(-20.5,45.5)
- local plat = math.random(-10,10)
- plr.Chatted:Connect(function(msg)
- if string.sub(msg, 1, 5) == "kill/" then
- if not all:match(string.sub(msg, 6)) or others:match(string.sub(msg, 6)) or me:match(string.sub(msg, 6)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 6)) then
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- elseif all:match(string.sub(msg, 6)) then
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- elseif others:match(string.sub(msg, 6)) then
- if v ~= game.Players.LocalPlayer then
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- elseif me:match(string.sub(msg, 6)) then
- if v == game.Players.LocalPlayer then
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 9) == "loopkill/" then
- if not all:match(string.sub(msg, 10)) or others:match(string.sub(msg, 10)) or me:match(string.sub(msg, 10)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 10)) then
- while wait(1) do
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- end
- elseif all:match(string.sub(msg, 10)) then
- while wait(1) do
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- end
- elseif others:match(string.sub(msg, 10)) then
- if v ~= game.Players.LocalPlayer then
- while wait(1) do
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- end
- elseif me:match(string.sub(msg, 10)) then
- if v == game.Players.LocalPlayer then
- while wait(1) do
- player = v.Character.Humanoid
- workspace.RemoteEvents.TakeDamageEvent:FireServer(player, 99999, true)
- end
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 8) == "explode/" then
- if not all:match(string.sub(msg, 9)) or others:match(string.sub(msg, 9)) or me:match(string.sub(msg, 9)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 9)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif all:match(string.sub(msg, 9)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif others:match(string.sub(msg, 9)) then
- if v ~= game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif me:match(string.sub(msg, 9)) then
- if v == game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 6) == "plate/" then
- if not all:match(string.sub(msg, 7)) or others:match(string.sub(msg, 7)) or me:match(string.sub(msg, 7)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 7)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif all:match(string.sub(msg, 7)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif others:match(string.sub(msg, 7)) then
- if v ~= game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif me:match(string.sub(msg, 7)) then
- if v == game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 5) == "tree/" then
- if not all:match(string.sub(msg, 6)) or others:match(string.sub(msg, 6)) or me:match(string.sub(msg, 6)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 6)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif all:match(string.sub(msg, 6)) then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif others:match(string.sub(msg, 6)) then
- if v ~= game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- elseif me:match(string.sub(msg, 6)) then
- if v == game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceTreeEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 7) == "banana/" then
- if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 8)) then
- pos = v.Character.HumanoidRootPart.Position
- for i = 1,3 do
- workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- elseif all:match(string.sub(msg, 8)) then
- pos = v.Character.HumanoidRootPart.Position
- for i = 1,3 do
- workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- elseif others:match(string.sub(msg, 8)) then
- if v ~= game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- for i = 1,3 do
- workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- elseif me:match(string.sub(msg, 8)) then
- if v == game.Players.LocalPlayer then
- pos = v.Character.HumanoidRootPart.Position
- for i = 1,3 do
- workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),true)
- end
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 7) == "potato/" then
- if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 8)) then
- for i = 1,3 do
- workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
- end
- elseif all:match(string.sub(msg, 8)) then
- for i = 1,3 do
- workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
- end
- elseif others:match(string.sub(msg, 8)) then
- if v ~= game.Players.LocalPlayer then
- for i = 1,3 do
- workspace.RemoteEvents.PotatoEvent:FireServer(""..v.Name,true)
- end
- elseif me:match(string.sub(msg, 8)) then
- if v == game.Players.LocalPlayer then
- for i = 1,3 do
- workspace.RemoteEvents.BananaEvent:FireServer(""..v.Name,true)
- end
- end
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 7) == "kawaii/" then
- local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
- local decal = math.random(#decals)
- local c = decals[ decal ]
- local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
- local song = math.random(#songs)
- local b = songs[ song ]
- for i,v in pairs (workspace.Plates:GetChildren()) do
- workspace.RemoteEvents.AddDecal:FireServer(c, v, true)
- for i = 1,5 do
- workspace.RemoteEvents.AddParticles:FireServer(c, v, true)
- end
- workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, true)
- song = math.random(#songs)
- b = songs[ song ]
- decal = math.random(#decals)
- c = decals[ decal ]
- end
- end
- if string.sub(msg, 1, 7) == "touhou/" then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 8)) then
- player = v.Name
- end
- end
- local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
- local decal = math.random(#decals)
- local z = decals[ decal ]
- local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
- local song = math.random(#songs)
- local x = songs[ song ]
- for i,b in pairs (workspace.Plates:GetChildren()) do
- if b.Owner.Value == player and wati == true then
- workspace.RemoteEvents.AddDecal:FireServer(z, b, true)
- for i = 1,5 do
- workspace.RemoteEvents.AddParticles:FireServer(z, b, true)
- end
- workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..x, b, true)
- wati = false
- wait(3)
- wati = true
- end
- end
- end
- if string.sub(msg, 1, 14) == "destroy/server" then
- local xx = math.random(-151.6, 151.6)
- local zz = math.random(-108.2, 108.2)
- for i = 1,10 do
- for i = 1,50 do
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-151.6, 151.6)
- zz = math.random(-158.2, 158.2)
- yy = math.random(-20.5,45.5)
- end
- end
- wait(3)
- local decals = {65412603,456762369,83547164,2041602,281207527,307989295,393604907,115637272,248782978}
- local decal = math.random(#decals)
- local c = decals[ decal ]
- local songs = {150384451,919270364,168337558,225557046,186294864,919256199,919236601,920219269}
- local song = math.random(#songs)
- local b = songs[ song ]
- for i,v in pairs (workspace.Plates:GetChildren()) do
- workspace.RemoteEvents.AddDecal:FireServer(c, v, true)
- for i = 1,5 do
- workspace.RemoteEvents.AddParticles:FireServer(c, v, true)
- end
- workspace.RemoteEvents.AddSound:FireServer("rbxassetid://"..b, v, true)
- song = math.random(#songs)
- b = songs[ song ]
- decal = math.random(#decals)
- c = decals[ decal ]
- end
- for i = 1,10 do
- for i = 1,300 do
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-151.6, 151.6)
- zz = math.random(-158.2, 158.2)
- yy = math.random(-20.5,85.5)
- end
- end
- end
- if string.sub(msg, 1, 3) == "tp/" then
- if not all:match(string.sub(msg, 4)) or others:match(string.sub(msg, 4)) or me:match(string.sub(msg, 4)) then
- for i,v in pairs (game.Players:GetChildren()) do
- if v.Name:match(string.sub(msg, 4)) then
- player = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.ToolTeleportEvent:FireServer(Vector3.new(player.X,player.Y,player.Z), true)
- end
- end
- end
- end
- if string.sub(msg, 1, 7) == "points/" then
- if not all:match(string.sub(msg, 8)) or others:match(string.sub(msg, 8)) or me:match(string.sub(msg, 8)) then
- if me:match(string.sub(msg, 8)) then
- workspace.RemoteEvents.ShopBuyEvent:FireServer(-999999999, true)
- end
- end
- end
- if string.sub(msg, 1, 12) == "EXPLOOOSION/" then
- if not all:match(string.sub(msg, 13)) or others:match(string.sub(msg, 13)) or me:match(string.sub(msg, 13)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- local becal = 723125464
- workspace.RemoteEvents.AddDecal:FireServer(becal, v, true)
- for i = 1,5 do
- workspace.RemoteEvents.AddParticles:FireServer(becal, v, true)
- end
- workspace.RemoteEvents.AddSound:FireServer("rbxassetid://665015838", v, true)
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- local yy = math.random(-20.5,85.5)
- for i = 1,15 do
- for i = 1,200 do
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- yy = math.random(-20.5,85.5)
- end
- end
- end
- end
- end
- if string.sub(msg, 1, 6) == "round/" then
- if mine:match(string.sub(msg, 7)) then
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- local yy = math.random(-20.5,85.5)
- for i = 1,50 do
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- yy = math.random(-20.5,85.5)
- end
- elseif mega:match(string.sub(msg, 7)) then
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- local yy = math.random(-20.5,85.5)
- for i = 1,10 do
- for i = 1,100 do
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- yy = math.random(-20.5,85.5)
- end
- end
- elseif bana:match(string.sub(msg, 7)) then
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- for i = 1,25 do
- for i = 1,100 do
- workspace.RemoteEvents.BananaEvent:FireServer(Vector3.new(xx,103.5,zz), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- wait()
- end
- wait(2)
- end
- elseif pla:match(string.sub(msg, 7)) then
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- for i = 1,10 do
- for i = 1,5 do
- workspace.RemoteEvents.PlacePlateEvent:FireServer(Vector3.new(xx,yy,zz), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- yy = math.random(-20.5,45.5)
- wait()
- end
- wait(3.5)
- end
- elseif mon:match(string.sub(msg, 7)) then
- local xx = math.random(-111.6, 111.6)
- local zz = math.random(-108.2, 108.2)
- for i = 1,25 do
- for i = 1,75 do
- workspace.RemoteEvents.MoneybagEvent:FireServer(CFrame.new(Vector3.new(xx,103.5,zz)), true)
- xx = math.random(-111.6, 111.6)
- zz = math.random(-108.2, 108.2)
- wait(.1)
- end
- wait(2)
- end
- elseif size:match(string.sub(msg, 7)) then
- for i,v in pairs(game.Players:getChildren()) do
- plat = math.random(-20,15)
- if v.gamestats.Plate then
- game.Workspace.RemoteEvents.ChangePlateSize:FireServer(v.gamestats.Plate.Value, plat, true)
- end
- end
- end
- end
- if string.sub(msg, 1, 7) == "delete/" then
- if fire:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "FirePart" then
- v:Destroy()
- end
- end
- elseif black:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Blackhole" then
- v:Destroy()
- end
- end
- elseif tor:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Tornado" then
- v:Destroy()
- end
- end
- elseif min:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Landmine" then
- v:Destroy()
- end
- end
- elseif vol:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Part" and v.BrickColor == BrickColor.new("Crimson") then
- v:Destroy()
- end
- end
- elseif dis:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "DiscoBallOfDoom" then
- v:Destroy()
- end
- end
- elseif nuk:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Nuke" or v.Name == "NukeExplosion" then
- v:Destroy()
- end
- end
- elseif mun:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "Moon" then
- v:Destroy()
- end
- end
- elseif ls:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "LavaSpinner" then
- b:Destroy()
- end
- end
- end
- for i,v in pairs (workspace.ArenaEvents:GetChildren()) do
- if v.Name == "GiantLavaSpinner" then
- v:Destroy()
- end
- end
- elseif bmb:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "TimeBomb" then
- b:Destroy()
- end
- end
- end
- elseif pri:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "Cage" then
- b:Destroy()
- end
- end
- end
- elseif spk:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "Spike" then
- b:Destroy()
- end
- end
- end
- elseif zomb:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "Zombie" then
- b:Destroy()
- end
- end
- end
- elseif bmbc:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "BombCloud" then
- b:Destroy()
- end
- end
- end
- elseif fen:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "ElectricFence" then
- b:Destroy()
- end
- end
- end
- elseif cac:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "Cactus" then
- b:Destroy()
- end
- end
- end
- elseif wal:match(string.sub(msg, 8)) then
- for i,v in pairs (workspace.Plates:GetChildren()) do
- for i,b in pairs (v:GetChildren()) do
- if b.Name == "Wall" then
- b:Destroy()
- end
- end
- end
- elseif pbmb:match(string.sub(msg, 8)) then
- game.Players.LocalPlayer.Character.PlayerTimeBomb:Destroy()
- end
- elseif frz:match(string.sub(msg, 8)) then
- for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "Part" then
- v:Destroy()
- end
- end
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- elseif marb:match(string.sub(msg, 8)) then
- for i,v in pairs (game.Players.LocalPlayer.Character:GetChildren()) do
- if v.Name == "Marble" then
- v:Destroy()
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement