- BrickPlanet Forum
- Game & Scripting Discussion
- Kill brick script, Speed brick script
-- Kill Brick by Hivemind (Parry#8624) function onTouched(part)
if part:IsA("Player") then
part.Health = 0
end
end
script.Parent.Touched:Connect(onTouched)
-- Speed Brick by Hivemind (Parry#8624) local desiredSpeed = 10
function onTouched(part) if part:IsA("Player") then part.WalkSpeed = desiredSpeed end end
script.Parent.Touched:Connect(onTouched)
Either insert these scripts into the brick you want to become a kill brick / speed brick or change "script.Parent" to your desired part
-- Kill Brick by Hivemind (Parry#8624) function onTouched(part)
if part:IsA("Player") then
part.Health = 0
end
end
script.Parent.Touched:Connect(onTouched)
-- Speed Brick by Hivemind (Parry#8624) local desiredSpeed = 10
function onTouched(part) if part:IsA("Player") then part.WalkSpeed = desiredSpeed end end
script.Parent.Touched:Connect(onTouched)
Either insert these scripts into the brick you want to become a kill brick / speed brick or change "script.Parent" to your desired part
I'll copy those and paste them to keep it in my memo, thanks.
thanks
thank
Thank You!