Hello!
I want an event to be launched only when a part (laser) has a specific property (to be more precise when it is not transparent). So I started the script like this:
local hurtLaser = script.Parent
if hurtLaser.Transparency < 1 then
But t doesn't work, no matter if the laser is currently transparent or visible, the rest of the script is executed.
Could someone please tell me how to fix it?