I'm trying to make a script keep checking a part's transparency frequently.. The part's default transparency is zero, and another script is coded to change the transparency to 1. The main script is supposed to constantly check what the transparency is, and once it finds out the transparency is 1, it'll stop checking. How do I do this? (Just so you know, the transparency checker script is a local script)
I try writing this:
if workspace.Part.Transparency == 1 then
--enter action here
end
It obviously doesn't work because the script runs when the player spawns, and it only checks once.

2 comments
??? This is silly. This creates a new loop every time smoke changes!
yeah i thought about it was I being super extra, it'd be better to just do a .Changed event and leave it at that.