ScriptRoblox20937

Project Lazarus: 💀 ZOMBIES 💀 Script

Aug 14th, 2019
21,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. function CreateESPPart(BodyPart,color)
  2. local ESPPartparent = BodyPart
  3. local Box = Instance.new("BoxHandleAdornment")
  4. Box.Size = BodyPart.Size + Vector3.new(0.1, 0.1, 0.1)
  5. Box.Name = "ESPPart"
  6. Box.Adornee = ESPPartparent
  7. Box.Color3 = color
  8. Box.AlwaysOnTop = true
  9. Box.ZIndex = 5
  10. Box.Transparency = 0.8
  11. Box.Parent = BodyPart
  12. end
  13.  
  14. local zombs = workspace.Baddies:getChildren()
  15. for i=1,#zombs do
  16. local bodypart = zombs[i]:getChildren()
  17. for i=1,#bodypart do
  18. if bodypart[i].ClassName == "Part" then
  19. CreateESPPart(bodypart[i], Color3.fromRGB(0,255,0))
  20. end
  21. end
  22. end
  23.  
  24. workspace.Baddies.ChildAdded:Connect(function(zomb)
  25. wait(1)
  26. local bodypart = zomb:getChildren()
  27. for i=1,#bodypart do
  28. if bodypart[i].ClassName == "Part" then
  29. CreateESPPart(bodypart[i], Color3.fromRGB(0,255,0))
  30. end
  31. end
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment