Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.CoreGui:FindFirstChild("UI Workspace") then game.CoreGui:FindFirstChild("UI Workspace"):Destroy() end
- repeat wait() until game:GetService("Players").LocalPlayer and game:GetService("Players").LocalPlayer.Character
- local plr, char = game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character
- local globalStop = false
- local globalColor = 33/255
- local util = {}
- -- Objects
- local UIWorkspace = Instance.new("ScreenGui")
- local TextLabel = Instance.new("TextLabel")
- local TextBox = Instance.new("TextBox")
- -- Properties
- UIWorkspace.Archivable = false
- UIWorkspace.Name = "UI Workspace"
- UIWorkspace.Parent = game.CoreGui
- TextLabel.Parent = UIWorkspace
- TextLabel.BackgroundColor3 = Color3.new(globalColor, globalColor, globalColor)
- TextLabel.BackgroundTransparency = 0.05
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 0, 0.800000012, 0)
- TextLabel.Size = UDim2.new(0, 80, 0, 30)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size28
- TextLabel.Text = ">"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 26
- TextLabel.TextXAlignment = Enum.TextXAlignment.Right
- TextBox.Parent = UIWorkspace
- TextBox.BackgroundColor3 = Color3.new(globalColor, globalColor, globalColor)
- TextBox.BackgroundTransparency = 0.05
- TextBox.BorderSizePixel = 0
- TextBox.Position = UDim2.new(0, 85, 0.800000012, 0)
- TextBox.Size = UDim2.new(1, 0, 0, 30)
- TextBox.Font = Enum.Font.SciFi
- TextBox.FontSize = Enum.FontSize.Size18
- TextBox.TextColor3 = Color3.new(1, 1, 1)
- TextBox.TextSize = 18
- TextBox.TextXAlignment = Enum.TextXAlignment.Left
- local mouse = game.Players.LocalPlayer:GetMouse()
- mouse.KeyDown:Connect(function(Key)
- if string.byte(Key) == 13 then
- TextBox:CaptureFocus()
- TextBox.Text = ""
- end
- end)
- --==--==--==--==--==--==--==--
- --EDIT STUFF HERE--
- local cmds = {
- "PRINT COMMANDS | [cmds]",
- "KILL DA' FOOLS | [kill] [plrName/all/others]",
- "KILL FOOLS 2.0 | [loopkill/loopk] [plrName/all/others]",
- "MEGUMIN: EXPLOSION | [explode] [plrName/all/others]",
- "BECOME GOD ITSELF | [god] [plrName/all/others] (buggy may not work)",
- "HARRY POTTER | [teleport/tp] [plrName]",
- "RECEIVE LE' COINS | [coins] [value]",
- "STEAL THE TOOLS | [tool] [toolName/all]",
- "EXPAND PLATES | [expand] [plrName/all/others] [val]",
- "SHRINK PLATES | [shrink] [plrName/all/others] [val]",
- "PLATEWALK LIKE JESUS | [platewalk] (run again to toggle on/off) --BROKEN",
- "DECAL PLATES | [decal] [decalId]",
- "(subtract 1 from decalId until it works, e.g. 55555 --> 55554 etc)",
- "",
- "STOP DA' LOOPZ | [stoploops/stop]"
- }
- --END--
- --==--==--==--==--==--==
- TextBox.FocusLost:connect(function(enterPressed)
- if enterPressed then
- secondaryInit()
- local args = util.splitArgs(TextBox.Text)
- --==--==--==--==--==--==--==--
- --EDIT STUFF HERE--
- local takeDamageEvent = game:GetService("Workspace").RemoteEvents:FindFirstChild("TakeDamageEvent")
- local placeMineEvent = game:GetService("Workspace").RemoteEvents:FindFirstChild("PlaceMineEvent")
- local placePlateEvent = game:GetService("Workspace").RemoteEvents:FindFirstChild("PlacePlateEvent")
- local changePlateSize = game:GetService("Workspace").RemoteEvents:FindFirstChild("ChangePlateSize")
- local addDecal = game:GetService("Workspace").RemoteEvents:FindFirstChild("AddDecal")
- local addSound = game:GetService("Workspace").RemoteEvents:FindFirstChild("AddSound")
- if #args > 0 then
- if args[1] == "kill" then
- if #args > 1 then
- if args[2] == "all" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum then
- takeDamageEvent:FireServer(vHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif args[2] == "others" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum and v ~= plr then
- takeDamageEvent:FireServer(vHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- else
- local victim = util.findPlayer(args[2])
- if victim and victim.Character then
- victimHum = victim.Character:FindFirstChild("Humanoid")
- if victimHum then
- takeDamageEvent:FireServer(victimHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- end
- if args[1] == "loopkill" or args[1] == "loopk" then
- if #args > 1 then
- if args[2] == "all" then
- globalStop = false
- local tempRoutine = coroutine.create(function()
- repeat wait()
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum then
- takeDamageEvent:FireServer(vHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- until globalStop
- end)
- coroutine.resume(tempRoutine)
- elseif args[2] == "others" then
- globalStop = false
- local tempRoutine = coroutine.create(function()
- repeat wait()
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum and v ~= plr then
- takeDamageEvent:FireServer(vHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- until globalStop
- end)
- coroutine.resume(tempRoutine)
- else
- globalStop = false
- local tempRoutine = coroutine.create(function()
- repeat wait()
- local victim = util.findPlayer(args[2])
- if victim and victim.Character then
- victimHum = victim.Character:FindFirstChild("Humanoid")
- if victimHum then
- takeDamageEvent:FireServer(victimHum, 666666, "D=9Vb7aMuZt!8aMH")
- end
- end
- until globalStop
- end)
- coroutine.resume(tempRoutine)
- end
- end
- end
- if args[1] == "explode" then
- if #args > 1 and args[2] == "all" then
- --[[
- pos = v.Character.HumanoidRootPart.Position
- workspace.RemoteEvents.PlaceMineEvent:FireServer(Vector3.new(pos.X,pos.Y,pos.Z),"D=9Vb7aMuZt!8aMH")
- --]]
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vPos = v.Character:FindFirstChild("HumanoidRootPart").Position
- if vPos then
- placeMineEvent:FireServer(vPos, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif #args > 1 and args[2] == "others" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vPos = v.Character:FindFirstChild("HumanoidRootPart").Position
- if vPos and v ~= plr then
- placeMineEvent:FireServer(vPos, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif #args > 1 then
- local victim = util.findPlayer(args[2])
- if victim and victim.Character then
- victimPos = victim.Character:FindFirstChild("HumanoidRootPart").Position
- if victimPos then
- placeMineEvent:FireServer(victimPos, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- if args[1] == "god" then
- if #args > 1 then
- if args[2] == "all" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum then
- takeDamageEvent:FireServer(vHum, -math.huge, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif args[2] == "others" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- vHum = v.Character:FindFirstChild("Humanoid")
- if vHum and v ~= plr then
- takeDamageEvent:FireServer(vHum, -math.huge, "D=9Vb7aMuZt!8aMH")
- end
- end
- else
- local victim = util.findPlayer(args[2])
- if victim and victim.Character then
- victimHum = victim.Character:FindFirstChild("Humanoid")
- if victimHum then
- takeDamageEvent:FireServer(victimHum, -math.huge, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- end
- if args[1] == "teleport" or args[1] == "tp" then
- if #args > 1 then
- local victim = util.findPlayer(args[2])
- if victim and victim.Character then
- local victimPos = victim.Character:FindFirstChild("HumanoidRootPart").Position
- if victimPos then
- game:GetService("Workspace").RemoteEvents:FindFirstChild("ToolTeleportEvent"):FireServer(victimPos, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- if args[1] == "coins" then
- if #args > 1 then
- if tonumber(args[2]) then
- local val = tonumber(args[2])
- game:GetService("Workspace").RemoteEvents:FindFirstChild("ShopBuyEvent"):FireServer(-val, "D=9Vb7aMuZt!8aMH")
- end
- else
- game:GetService("Workspace").RemoteEvents:FindFirstChild("ShopBuyEvent"):FireServer(-1000000, "D=9Vb7aMuZt!8aMH")
- end
- end
- if args[1] == "tool" then
- if #args > 1 then
- if args[2] == "all" then
- for _, v in pairs(game:GetService("ReplicatedStorage"):children()) do
- if v:IsA("Tool") and not string.find(string.lower(v.Name), "potato") then
- v:Clone().Parent = plr.Backpack
- end
- end
- else
- for _, v in pairs(game:GetService("ReplicatedStorage"):children()) do
- if string.lower(v.Name) == string.lower(args[2]) or string.find(string.lower(v.Name), string.lower(args[2])) then
- if v:IsA("Tool") then
- v:Clone().Parent = plr.Backpack
- end
- end
- end
- end
- end
- end
- if args[1] == "expand" then
- if #args > 2 then
- if tonumber(args[3]) then val = tonumber(args[3]) else val = 1 end
- if args[2] == "all" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.gamestats.Plate then
- changePlateSize:FireServer(v.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif args[2] == "others" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= plr and v.gamestats.Plate then
- changePlateSize:FireServer(v.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- else
- local victim = util.findPlayer(args[2])
- if victim.gamestats.Plate then
- changePlateSize:FireServer(victim.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- if args[1] == "shrink" then
- if #args > 2 then
- if tonumber(args[3]) then val = -tonumber(args[3]) else val = -1 end
- if args[2] == "all" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.gamestats.Plate then
- changePlateSize:FireServer(v.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- elseif args[2] == "others" then
- for _, v in pairs(game:GetService("Players"):GetPlayers()) do
- if v ~= plr and v.gamestats.Plate then
- changePlateSize:FireServer(v.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- else
- local victim = util.findPlayer(args[2])
- if victim.gamestats.Plate then
- changePlateSize:FireServer(victim.gamestats.Plate.Value, val, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- end
- --idk why the below isn't working, removed for now. e.e.
- --[[
- if args[1] == "platewalk" then
- if plr:FindFirstChild("Platewalk") then
- plr:FindFirstChild("Platewalk"):Destroy()
- elseif not plr:FindFirstChild("Platewalk") then
- local plate = Instance.new("StringValue", plr)
- plate.Name = "Platewalk"
- repeat wait(.25)
- local latestPos = plr:FindFirstChild("HumanoidRootPart").Position
- placePlateEvent:FireServer(Vector3.new(latestPos.X, latestPos.Y - 2.5, latestPos.Z), "D=9Vb7aMuZt!8aMH")
- until not plr:FindFirstChild("Platewalk")
- end
- end
- --]]
- if args[1] == "decal" then
- if #args > 1 then
- for _, v in pairs(game:GetService("Workspace").Plates:children()) do
- addDecal:FireServer(args[2], v, "D=9Vb7aMuZt!8aMH")
- end
- end
- end
- if args[1] == "cmds" then
- if game.CoreGui:FindFirstChild("CatchMeIfYaCan") then
- game.CoreGui:FindFirstChild("CatchMeIfYaCan"):Destroy()
- end
- local curOff = -20
- local ScrGui = Instance.new("ScreenGui", game.CoreGui)
- ScrGui.Name = "CatchMeIfYaCan"
- local Frame = Instance.new("Frame")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local TextButton = Instance.new("TextButton")
- Frame.Parent = ScrGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.5
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.200000003, 0, 0.200000003, 0)
- Frame.Size = UDim2.new(0, 400, 0, 20)
- Frame.Active = true
- Frame.Draggable = true
- ScrollingFrame.Parent = Frame
- ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- ScrollingFrame.BackgroundTransparency = 0.20000000298023
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0, 0, 0, 20)
- ScrollingFrame.Size = UDim2.new(0, 400, 0, 200)
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
- for i, v in pairs(cmds) do
- curOff = curOff + 20
- local TextLabel = Instance.new("TextLabel")
- ScrollingFrame.CanvasSize = UDim2.new(0,0,0,curOff + 20)
- TextLabel.Parent = ScrollingFrame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0, 10, 0, curOff)
- TextLabel.Size = UDim2.new(0, 350, 0, 20)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.FontSize = Enum.FontSize.Size14
- TextLabel.Text = v
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- TextLabel.TextXAlignment = Enum.TextXAlignment.Left
- end
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0, 380, 0, 0)
- TextButton.Size = UDim2.new(0, 20, 0, 20)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size18
- TextButton.Text = "X"
- TextButton.TextSize = 16
- TextButton.MouseButton1Down:connect(function(closecmds)
- ScrGui:Destroy()
- end)
- end
- if args[1] == "stoploops" or args[1] == "stop" then
- globalStop = true
- end
- end
- --END--
- --==--==--==--==--==--==--==--
- end
- end)
- function init()
- repeat wait() until game:GetService("Players").LocalPlayer and game:GetService("Players").LocalPlayer.Character
- plr, char = game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character
- util.printf("Welcome, "..plr.Name)
- --==--==--==--==--==--==--==--
- --EDIT STUFF HERE--
- util.log("GAME INFO: 'PLATES OF FATE: MAYHEM'")
- util.log("COMMANDS (not case-sensitive):")
- for i = 1, #cmds do
- util.log(i.." | "..cmds[i])
- end
- --END--
- --==--==--==--==--==--==--==--
- end
- function secondaryInit()
- repeat wait() until game:GetService("Players").LocalPlayer and game:GetService("Players").LocalPlayer.Character
- plr, char = game:GetService("Players").LocalPlayer, game:GetService("Players").LocalPlayer.Character
- end
- function util.findPlayer(str)
- for i, v in pairs(game:GetService("Players"):GetPlayers()) do
- if string.lower(v.Name) == string.lower(str) or string.find(string.lower(v.Name), string.lower(str)) then
- return v
- end
- end
- end
- function util.splitArgs(str)
- local tempArgs = {}
- for i in string.gmatch(str, "%S+") do
- table.insert(tempArgs, string.lower(i))
- end
- return tempArgs
- end
- function util.printf(str)
- TextBox.Text = ""
- for i = 1, #str do
- TextBox.Text = TextBox.Text..string.sub(str, i, i)
- wait(.05)
- end
- wait(1)
- TextBox.Text = ""
- end
- function util.log(str)
- print("[--INORI--] "..str)
- end
- init()
- char:FindFirstChild("Humanoid").Died:connect(function()
- secondaryInit()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement