Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ORIGINAL SCRIPT MADE BY CLASSYINORI ON: DEC 26 2016, DON'T JUDGE MY SHITTY SCRIPTING.
- 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 = {}
- --==--==--==--==--==--==--==--
- --EDIT STUFF HERE--
- local cmds = {
- "PRINT COMMANDS | [printcmds/cmds]",
- "e.g. : printcmds",
- "STOP ALL LOOPS | [stoploops/stop]",
- "e.g. : stoploops",
- "TELEPORT TO DF | [devilfruit/df] [delay (default = 0.5)] [loop? (true/t)] -- NOTE: IF USING LOOP, YOU MUST SPECIFY A DELAY (E.G 0.5.)",
- "e.g. : df 0.75 true",
- "TPKILL (BUGGY) | [tpkill/kill] [plrNameHere/mobs] [loop? (true/t)] -- NOTE: YOU CANNOT LOOPKILL PLAYERS.",
- "e.g. : tpkill mobs t",
- "GOD (FOR TPKILL) | [god]",
- "e.g. : god",
- }
- --END--
- --==--==--==--==--==--==
- -- 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)
- TextBox.FocusLost:connect(function(enterPressed)
- if enterPressed then
- secondaryInit()
- local args = util.splitArgs(TextBox.Text)
- --==--==--==--==--==--==--==--
- --EDIT STUFF HERE--
- if #args > 0 then
- if args[1] == "printcmds" or args[1] == "cmds" then
- globalStop = false --bugfixing????
- util.log("COMMANDS (not case-sensitive):")
- for i = 1, #cmds do
- util.log(i.." | "..cmds[i])
- end
- elseif args[1] == "devilfruit" or args[1] == "df" then
- local delayDf = 0.5
- if #args > 2 then
- if args[3] == "true" or args[3] == "t" then
- globalStop = false
- local tempRoutine = coroutine.create(function()
- repeat wait()
- for _, v in pairs(game:GetService("Workspace"):children()) do
- if string.find(string.lower(v.Name), "devilpoint") and not globalStop then
- char:FindFirstChild("HumanoidRootPart").CFrame = v.CFrame
- if #v:children() > 0 then
- globalStop = true
- end
- if #args > 1 then
- if tonumber(args[2]) then
- delayDf = args[2]
- end
- end
- wait(delayDf)
- end
- end
- until globalStop
- end)
- coroutine.resume(tempRoutine)
- end
- else
- globalStop = false
- for _, v in pairs(game:GetService("Workspace"):children()) do
- if string.find(string.lower(v.Name), "devilpoint") and not globalStop then
- char:FindFirstChild("HumanoidRootPart").CFrame = v.CFrame
- if #v:children() > 0 then
- globalStop = true
- end
- if #args > 1 then
- if tonumber(args[2]) then
- delayDf = args[2]
- end
- end
- wait(delayDf)
- end
- end
- end
- elseif args[1] == "tpkill" or args[1] == "kill" then
- if #args > 1 then
- if args[2] == "mobs" then
- globalStop = false
- if #args > 2 then
- if args[3] == "true" or args[3] == "t" then
- local tempRoutine = coroutine.create(function()
- repeat wait()
- for _, v in pairs(game:GetService("Workspace"):children()) do
- if v:IsA("Model") and not globalStop then
- if string.find(v.Name, "Marine") or string.find(v.Name, "Pirate") or string.find(v.Name, "Fishman") then
- if not string.find(string.lower(v.Name), string.lower(plr.TextureGui.TextureId.Side.Value)) then
- repeat wait()
- char:FindFirstChild("HumanoidRootPart").CFrame = v:FindFirstChild("HumanoidRootPart").CFrame + v:FindFirstChild("HumanoidRootPart").CFrame.lookVector.unit * v:FindFirstChild("HumanoidRootPart").Size.Z/2
- --char:MoveTo(v:FindFirstChild("HumanoidRootPart").Position)
- game:GetService("Workspace").RemoteEvents.Hit:FireServer(.4)
- until v:FindFirstChild("Humanoid").Health < 1 or not v or globalStop
- end
- end
- end
- end
- until globalStop
- end)
- coroutine.resume(tempRoutine)
- end
- else
- globalStop = false
- for _, v in pairs(game:GetService("Workspace"):children()) do
- if v:IsA("Model") and not globalStop then
- if string.find(v.Name, "Marine") or string.find(v.Name, "Pirate") or string.find(v.Name, "Fishman") then
- if not string.find(string.lower(v.Name), string.lower(plr.TextureGui.TextureId.Side.Value)) then
- repeat wait()
- char:FindFirstChild("HumanoidRootPart").CFrame = v:FindFirstChild("HumanoidRootPart").CFrame + v:FindFirstChild("HumanoidRootPart").CFrame.lookVector.unit * v:FindFirstChild("HumanoidRootPart").Size.Z/2
- --char:MoveTo(v:FindFirstChild("HumanoidRootPart").Position)
- game:GetService("Workspace").RemoteEvents.Hit:FireServer(.4)
- until v:FindFirstChild("Humanoid").Health < 1 or not v or globalStop
- end
- end
- end
- end
- end
- else
- globalStop = false
- local victimThingy = util.findPlayer(args[2])
- if victimThingy and victimThingy.Character and not globalStop then
- repeat wait()
- char:FindFirstChild("HumanoidRootPart").CFrame = victimThingy:FindFirstChild("HumanoidRootPart").CFrame + victimThingy:FindFirstChild("HumanoidRootPart").CFrame.lookVector.unit * victimThingy:FindFirstChild("HumanoidRootPart").Size.Z/2
- --char:MoveTo(victimThingy:FindFirstChild("HumanoidRootPart").Position)
- game:GetService("Workspace").RemoteEvents.Hit:FireServer(.4)
- until victimThingy.Character:FindFirstChild("Humanoid").Health < 1 or globalStop
- end
- end
- end
- elseif args[1] == "god" then
- --took this method off v3rm, don't know original creator so can't credit them ;c
- if plr and plr.Character then
- if char:FindFirstChild("Humanoid") then
- char:FindFirstChild("Humanoid"):Destroy()
- local derp = Instance.new("Humanoid", char)
- derp.Name = "Humanoid" --idk if this is needed? :thinking:
- end
- end
- --could make it so you can ungod, but I can't be bothered ;3
- elseif 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: 'ONE PIECE: FINAL CHAPTER'")
- 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