Kill brick script, Speed brick script
Posted by Hivemind on Feb 23rd 2023, 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
Originally posted by Hivemind on Feb 23rd 2023, 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
Posted by PurpleSecretAgent on Feb 25th 2023, 8:52PM
I'll copy those and paste them to keep it in my memo, thanks.
Posted by Rustic on Feb 26th 2023, 1:58PM
thanks
Posted by 500 on Feb 26th 2023, 4:42PM
thank
Posted by Immersive on Feb 27th 2023, 12:10PM
Thank You!