Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.On = true
- _G.Quest = "Arlong Pirates"
- _G.Weapon = "Wrestling"
- _G.UseSkills = false
- local keysToPress = {0x45,0x52,0x51}
- local plr = game.Players.LocalPlayer
- local pgui = plr:WaitForChild("PlayerGui")
- local runS = game:GetService("RunService")
- local rs = game:GetService("ReplicatedStorage")
- local bypass = false
- local mt = getrawmetatable(game)
- local sCD = false
- setreadonly(mt, false)
- local backup = mt.__index
- mt.__index = function(a, b)
- if b:lower() == "position" and bypass == true and _G.On == true then
- return Vector3.new(0, 0, 0)
- end
- return backup(a, b)
- 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(1)
- sCD = false
- end
- end)
- end
- spawn(function()
- local VirtualUser=game:service'VirtualUser'
- game:service'Players'.LocalPlayer.Idled:connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- end)
- spawn(function()
- while _G.On == true do
- wait(0.5)
- pcall(function()
- local cam = game.Workspace.CurrentCamera
- if plr.Character and (cam.CFrame.p - plr.Character.HumanoidRootPart.CFrame.p).magnitude > 150 then
- plr.Character:BreakJoints()
- end
- 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
- bypass = true
- plr.Character.Humanoid:ChangeState(11)
- plr.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame*CFrame.new(0,5,0)
- plr.Character.HumanoidRootPart.CFrame = CFrame.new(plr.Character.HumanoidRootPart.CFrame.p,v.HumanoidRootPart.CFrame.p)
- 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
- print(tool)
- end
- end
- else
- tool = plr.Character:FindFirstChild(_G.Weapon)
- end
- if tool ~= nil then
- tool:Activate()
- end
- if v.Humanoid.Health ~= v.Humanoid.MaxHealth then
- v.Humanoid.Health = 0
- end
- rs.RemoteEvents.AddStaminaRemote:FireServer("Stamina",999,false)
- runS.RenderStepped: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