I have an image button inside of a frame and when you click it its supposed to make a toggle visible and the old one invisible and i also have it setting the transparency of a particle emitter in the workspace but its not doing any of that
This is the script inside the button:
script.Parent.MouseButton1Click:Connect(function()
game.Workspace.Click:Play()
game.Workspace.Season.Parts.Transparency = 1
script.Parent.Visible = false
script.Parent.Parent.SeasonOn.Visible = true
end)