Hello, i am new to scripting in roblox, i got a problem with changing transparency of particles when clicking on a block. i tried to do this one:
local particles = workspace.brick.ParticleEmitter particles.Transparency = 1
(or something like that)
but it doesnt work, it says what it expecting NumberSequence (NumberSequence expected, got number) i searched up what it is but i dont understand a thing. Can someone help me understand what does it mean and whats it for?
If you are trying to make it change the transparency to 1(invisible) when clicking the block then do this. Also add a ClickDetector to the block and put the script inside the block local particles = script.Parent script.Parent.ClickDetector.MouseClick:Connect(function() particles.Transparency = 1 end)