Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- workspace.Zombies.DescendantAdded:Connect(function(v)
- if v:IsA("BasePart") then
- for _,e in next, getconnections(v.Changed) do
- e:Disable()
- end
- for _,d in next, getconnections(v:GetPropertyChangedSignal("Size")) do
- d:Disable()
- end
- for _,c in next, getconnections(v:GetPropertyChangedSignal("CanCollide")) do
- c:Disable()
- end
- if v.Name == "Head" then
- v.Size = Vector3.new(20,20,20)
- v.CanCollide = false
- elseif v.Name == "Torso" then
- v.Size = Vector3.new(19,19,19)
- v.CanCollide = false
- v.Transparency = 1
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement