Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Attack()
- game.Players.LocalPlayer.Backpack.ServerTraits.Input:FireServer(
- {
- [1] = "mx"
- },
- CFrame.new(game.Players.LocalPlayer.Character.HumanoidRootPart.Position),
- InputObject,
- false
- )
- end
- tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.01, Enum.EasingStyle.Linear)
- local plr = game:GetService("Players").LocalPlayer
- while _G.AutoQuest do wait()
- for i, v in pairs(plr.PlayerGui.HUD.FullSize.Quests:GetChildren()) do
- for _, vv in pairs(workspace.Live:GetChildren()) do
- if v.Name == "Copy" then
- local Target = string.sub(v.Text, 8, -2)
- if
- string.match(string.sub(vv.Name, 1, -7), Target) or string.match(string.sub(vv.Name, 1, -8), Target) or
- string.match(string.sub(vv.Name, 1, -6), Target)
- then
- repeat
- wait(0.3)
- if _G.AutoQuest == false then return end
- plr.Character.Humanoid:ChangeState(11)
- tween =
- tweenService:Create(
- game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart,
- tweenInfo,
- {CFrame = CFrame.new(vv.HumanoidRootPart.Position + Vector3.new(0, 0, 2))}
- )
- tween:Play()
- workspace.CurrentCamera.CFrame =
- CFrame.new(plr.Character.HumanoidRootPart.Position, vv.HumanoidRootPart.Position)
- Attack()
- until vv.Humanoid.Health < 1
- vv:Destroy()
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement