Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.farm = true
- noclip = true
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "o" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(250)
- end
- end)
- while _G.farm do
- wait(0)
- for i,v in pairs(game.workspace.Enemies:GetChildren()) do
- if v.Name == "Bandit [Lv. 5]" then -- Mob Name
- if v.Humanoid.Health > 0 then
- repeat wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0, 20, 0)
- until v.Humanoid.Health == 0 or _G.farm == false
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement