- BrickPlanet Forum
- Game & Scripting Discussion
- Kill brick script, Speed brick script
Kill brick script, Speed brick script
Posted Feb 23rd 2023 at 3:05AM
-- 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
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
Posted Feb 25th 2023 at 8:52PM

Originally posted by
Hivemind
on Feb 23rd 2023 at 3:05AM
-- 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
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.
Posted Feb 26th 2023 at 1:58PM
thanks
Posted Feb 26th 2023 at 4:42PM
thank
Posted Feb 27th 2023 at 12:10PM
Thank You!
Search Forum
Thread Info
Replies
4
Views
46