Error Code: 04:13:18.041 - Players.Avinychus_RD.PlayerGui.Loading.low.LocalScript:10: bad argument #3 to 'Transparency' (NumberSequence expected, got number)
Code:
script.Parent.MouseButton1Click:connect(function() script.Parent.Parent.lowselected.Visible = false script.Parent.Parent.highselected.Visible = true game.Lighting.SunRays.Enabled = true game.Lighting.Blur.Enabled = true game.Lighting.Bloom.Enabled = true game.Lighting.ColorCorrection.Enabled = true workspace.Grass.Patch1.Transparency = 0 workspace.Grass.Start1.Transparency = 0 workspace.Grass.Patch1.ParticleEmitter.Transparency = 0 workspace.Grass.Start1.ParticleEmitter.Transparency = 0 end)
ParticleEmitter's transparency takes a NumberSequence, not a number. They range from 0 to 1.
An example of this would be:
particle.Transparency = NumberSequence.new(0,1)
that will make the transparency start at 0 and end at 1.
If you want to set the transparency to 0 do
NumberSequence.new(0,0)