Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players.LocalPlayer;
- while true do
- pcall(function()
- local mypos = Player.Character.HumanoidRootPart.CFrame.p;
- Player.Character.Humanoid.WalkSpeed = 80;
- for index, value in next, workspace.dungeon:GetDescendants() do
- if (value:FindFirstChildOfClass("Humanoid") and (value ~= Player.Character)) then
- if ((value.HumanoidRootPart.CFrame.p - mypos).Magnitude < 20) then
- value.Humanoid.Health = 0;
- end;
- end;
- end;
- end);
- wait(0.15);
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement