Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game:IsLoaded()
- --Variables
- local Player = game:GetService("Players").LocalPlayer
- local Char = Player.Character
- local Remote = Char.Combat.RemoteFolder.CombatEvent
- --Bonk
- while true do
- for i,v in pairs(game:GetService("Workspace").Mobs:GetChildren())do
- if v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health >0 then
- local hum = v:FindFirstChildOfClass("Humanoid")
- repeat
- pcall(function()
- Char.HumanoidRootPart.CFrame = v.HumanoidRootPart.CFrame
- Remote:FireServer(v,4)
- Remote:FireServer(v,1,true)
- end)
- wait()
- until not v or not v.Parent or not v:FindFirstChild("HumanoidRootPart") or not hum or hum.Health <=0
- end
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement