Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Auto Farm
- local Player = game.Players.LocalPlayer.Character
- game:GetService("RunService").Heartbeat:Connect(function()
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end)
- while wait() do
- for i,v in pairs(game:GetService("Workspace").MobFolder:GetChildren()) do
- if v.Name == "Strong Delinquent Lv. 35" then
- repeat
- wait()
- local TweenService = game:GetService("TweenService")
- local tweenInfo = TweenInfo.new(
- 2, -- Time
- Enum.EasingStyle.Linear, -- EasingStyle
- Enum.EasingDirection.Out, -- EasingDirection
- 0, -- RepeatCount (when less than zero the tween will loop indefinitely)
- false, -- Reverses (tween will reverse once reaching it's goal)
- 0 -- DelayTime
- )
- local part = game.Players.LocalPlayer.Character.HumanoidRootPart
- local npc = v.HumanoidRootPart
- local npcCFrame = CFrame.new(npc.Position.X, npc.Position.Y -1, npc.Position.Z)
- local tween = TweenService:Create(part, tweenInfo, {CFrame = npcCFrame})
- tween:Play()
- wait()
- until v.Humanoid.Health < 0.5
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement