Advertisement
RageFurious

Untitled

Jan 17th, 2020
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. mans = game.Players.LocalPlayer.Character
  2. spawnbrick = Instance.new("Part")
  3. spawnbrick.Name = "SpawnBrick"
  4. spawnbrick.Anchored = true
  5. spawnbrick.CanCollide = false
  6. spawnbrick.Position = mans.HumanoidRootPart.Position
  7. spawnbrick.Parent = game.Workspace
  8. wait(1)
  9. while true do
  10. zomie = game.Workspace.zombie
  11. zomie.HumanoidRootPart.Anchored = true
  12. zomie:MoveTo(spawnbrick.Position)
  13. wait(0.1)
  14. if zomie.Humanoid.Health <= 0 then
  15. zomie:Destroy()
  16. end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement