Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elseif DAMAGE == 100 then
- local part = Instance.new("Part")
- part.Anchored = true
- part.CanCollide = false
- part.Transparency = 1
- part.CFrame = HIT.CFrame
- part.Parent = Effects
- game:GetService("Debris"):AddItem(part, 5)
- for i = 1, 15 do
- BreakEffect(BrickColor.new("Black"),part.CFrame,0.5,math.random(5,20),0.5,BrickColor.new("White"))
- end
- CreateSound("215395073", part, 1, 1)
- StatLabel("Normal", part.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), ".char deleted", C3(225/255, 0/255, 0/255))
- HIT.Parent:remove()
- elseif DAMAGE == 0 then
- CreateSound("260433557", HIT, 1, 1)
- StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Script broken", C3(0/255, 0/255, 0/255))
- h = HIT.Parent:GetChildren()
- for i = 1, #h do
- if h[i].ClassName == "Part" then
- h[i].Anchored = true
- elseif h[i].ClassName == "Script" then
- h[i]:Destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment