Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Make a brick fall when a player steps on it?

I was wondering if you could do that. Like in Flood Escape, when you press a button and something new appears, but instead the brick falls when you touch it?

2 comments

0

Can you add your code into a code block so we can look at it?

0

depends, do you want it to fall out of the world, or just fall down??

1 answer

Try this, it'll make the brick fall to the ground when you touch it.

workspace.Part.Touched:connect(function() -- Change "Part" into the name of the brick
	script.Parent.Anchored = false -- This makes it so the part will unanchor the brick, making it fall.
	script:Destroy() -- This destroys the script after it is done so that it does repeat itself.
end)

1 comment

0

doesn't*

This discussion is preserved as it was. New answers, comments, and votes are closed.