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

How to make this script that uncollides a brick (to release an object) work?

function while wait( 60 )do

	script.Parent.Parent.TargetBrick.Anchored= false

end

The error is in "while"

1 answer

✓ Accepted answer

A couple of things are wrong with this: 1: you do not need the function 2: it would be CanCollide = false not Anchored = false

 while wait( 60 )do

    script.Parent.Parent.TargetBrick.CanCollide= false

end

Just a question, why do you want this to loop without making the brick re-collidable?

1 comment

0

I made another script that regenerates this script after 120 seconds. thank you!

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