Advertisement
SirDuckHaveACake

Untitled

Feb 8th, 2021
5,330
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. workspace.Zombies.DescendantAdded:Connect(function(v)
  2. if v:IsA("BasePart") then
  3. for _,e in next, getconnections(v.Changed) do
  4. e:Disable()
  5. end
  6. for _,d in next, getconnections(v:GetPropertyChangedSignal("Size")) do
  7. d:Disable()
  8. end
  9. for _,c in next, getconnections(v:GetPropertyChangedSignal("CanCollide")) do
  10. c:Disable()
  11. end
  12. if v.Name == "Head" then
  13. v.Size = Vector3.new(20,20,20)
  14. v.CanCollide = false
  15. elseif v.Name == "Torso" then
  16. v.Size = Vector3.new(19,19,19)
  17. v.CanCollide = false
  18. v.Transparency = 1
  19. end
  20. end
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement