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

could i have assistance to see if this script is correct?

script.Baseplate.Touched:connect(function)
	script.Baseplate.Brickcolor = BrickColor.new("Bright red")
	script.Baseplate.Material = Material.new("neon")
end) 

2 comments

0

Be sure to accept my answer!

0

how

1 answer

✓ Accepted answer

So close! For the Material, you'd need to use Enum

script.Baseplate.Touched:Connect(function() -- Also messed up your connection line
    script.Baseplate.Brickcolor = BrickColor.new("Bright red")
    script.Baseplate.Material = Enum.Material.Neon
end) 

Note: I saw you used script.Baseplate which means the Baseplate would be WITHIN the Script! Instead, you may be looking for script.Parent.Baseplate

2 comments

0

thank you mr shawnyg

1

I accepted this. This website runs into this situation too many times.

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