Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.attack = true
- --_G.attack = false
- local NPC = "Sand Crab"
- local Players = game:GetService("Players")
- local me = game.Players.LocalPlayer
- while _G.attack do
- for _,v in pairs(game.Workspace.Live:GetDescendants()) do
- if string.find(v.Name, NPC) and v:FindFirstChild("HumanoidRootPart") then
- me.Backpack.Input:FireServer("m1")
- me.Backpack.Input:FireServer("rnu")
- me.Backpack.Input:FireServer("hit", { v })
- me.Character.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame+Vector3.new(0, 5, 0)
- end
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement