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

How to make something happen when a part is touched?

I am trying to disable a script and change the color of a brick when a part is touched by something.

4 comments

1

This is not a request site.

1

This is not a request.

1

Do you have attempt at a script? If not then this is a request.

0

I had one but I have already edited it.

1 answer

script.Parent.Touched:connect(function() -- note the '.Touched' and the ':connect'
	script.Parent.BrickColor = BrickColor.new("Bright red") -- or something
end)

1 comment

0

v0te me up if u r pleased

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