I'm getting no help so I'm trying again, I have a brick that is supposed to have a beam's transparency turn to 0 after clicking it. This is my current script, and it won't work, I don't have any Idea what I'm doing wrong.
script.Parent.ClickDetector.MouseClick:Connect(function() wait(3) script.Parent.Beam.Transparency = 0 end)
It would help if you looked at, and provided, your errors in the console.
Transparency for beams in roblox is a number sequence, rather than a number. This makes it a bit trickier to modify, as whole numbers (As much as I wish roblox made them...) won't naturally convert over to the proper Number Sequence value.
Instead of turning the transparency to 0, if you are simply trying to turn the beam from invisible to visible, try turning it's Enabled property from False to True instead. This will make it pop on.
script.Parent.Beam.Enabled = true
If you needed it to be a different transparency at the start, rather than off, you're going to have to look into number sequences.
https://developer.roblox.com/en-us/api-reference/datatype/NumberSequence
I honestly wish, since Beams appear as though they use a basic number, that roblox could naturally convert a number into a simple Number Sequence by itself, but that is sadly not how it works currently.
Hope I could help.