lolita5432

Untitled

Jan 19th, 2018
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. normal
  2.  
  3.  
  4. Size_of_head = 8
  5. while wait() do
  6. if game.Workspace.enemies:FindFirstChild("Zombie") then
  7. for i,v in pairs(game.Workspace.enemies:GetChildren()) do
  8. wait()
  9. if v:FindFirstChild("Head") then
  10. v.Head.CanCollide = false
  11. v.Head.Size = Vector3.new(Size_of_head,Size_of_head,Size_of_head)
  12. v.Head.CFrame = v.Torso.CFrame * CFrame.new(0,Size_of_head/2,0)
  13. end
  14. end
  15. end
  16. end
  17.  
  18.  
  19. boss
  20.  
  21.  
  22. Size_of_head = 8
  23. while wait() do
  24. if game.Workspace.BossFolder:FindFirstChild("Zombie") then
  25. for i,v in pairs(game.Workspace.BossFolder:GetChildren()) do
  26. wait()
  27. if v:FindFirstChild("Head") then
  28. v.Head.CanCollide = false
  29. v.Head.Size = Vector3.new(Size_of_head,Size_of_head,Size_of_head)
  30. v.Head.CFrame = v.Torso.CFrame * CFrame.new(0,Size_of_head/2,0)
  31. end
  32. end
  33. end
  34. end
Add Comment
Please, Sign In to add comment