Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.On = true
- _G.Quest = "Arlong Pirates"
- _G.Weapon = "Mera Mera no mi"
- _G.UseSkills = true
- _G.Speed = 500
- ---VVVVVVVVVV Don't touch anything down there VVVVVVVVVV---
- local keysToPress = {0x45,0x52,0x51}
- local plr = game.Players.LocalPlayer
- local pgui = plr:WaitForChild("PlayerGui")
- local rs = game:GetService("ReplicatedStorage")
- local ts = game:GetService("TweenService")
- local bypass = false
- local mt = getrawmetatable(game)
- local sCD = false
- local function Tween(Part)
- if plr.Character and plr.Character.HumanoidRootPart and Part then
- local Time = (Part.Position - plr.Character.HumanoidRootPart.Position).magnitude/_G.Speed
- local Info = TweenInfo.new(Time, Enum.EasingStyle.Linear)
- local Tween = ts:Create(plr.Character.HumanoidRootPart,Info,{CFrame = Part.CFrame*CFrame.new(0,5,0)})
- Tween:Play()
- end
- end
- local quest
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v.Name == _G.Quest and v:FindFirstChild("ClickDetector") then
- quest = v
- end
- end
- quest.CFrame = plr.Character.HumanoidRootPart.CFrame*CFrame.new(0,-6,0)
- fireclickdetector(quest.ClickDetector)
- local function useSkills()
- spawn(function()
- if _G.UseSkills == true then
- sCD = true
- for i2,v2 in pairs(keysToPress) do
- keypress(v2)
- wait()
- keyrelease(v2)
- end
- wait(0.5)
- sCD = false
- end
- end)
- end
- while _G.On == true do
- wait(0.1)
- pcall(function()
- if plr.Character then
- if pgui.Menu.QuestFrame.Visible == true then
- for i,v in pairs(game.Workspace.Mobs[_G.Quest]:GetChildren()) do
- if _G.On == true and plr.Character and pgui.Menu.QuestFrame.Visible == true and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
- while _G.On == true and plr.Character and v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 do
- Tween(v.HumanoidRootPart)
- plr.Character.Humanoid:ChangeState(11)
- local tool
- if not plr.Character:FindFirstChild(_G.Weapon) then
- for i2,v2 in pairs(plr.Character:GetChildren()) do
- if v2:IsA("Tool") then
- v2.Parent = plr.Backpack
- end
- end
- for i2,v2 in pairs(plr.Backpack:GetChildren()) do
- if v2.Name == _G.Weapon then
- v2.Parent = plr.Character
- tool = v2
- end
- end
- else
- tool = plr.Character:FindFirstChild(_G.Weapon)
- end
- if tool ~= nil then
- tool:Activate()
- end
- rs.RemoteEvents.AddStaminaRemote:FireServer("Stamina",999,false)
- wait()
- useSkills()
- end
- end
- end
- else
- for i,v in pairs(game.Workspace:GetDescendants()) do
- if v.Name == _G.Quest and v:FindFirstChild("ClickDetector") then
- quest = v
- end
- end
- quest.CFrame = plr.Character.HumanoidRootPart.CFrame*CFrame.new(0,-6,0)
- fireclickdetector(quest.ClickDetector)
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement