So, when I was making a game, I made my code, and tested it on ROBLOX Studio. It worked. But, in ROBLOX Player, it failed to work.
The code was:
local Background1 = script.Parent.Background1
local Background2 = script.Parent.Background2
local Background3 = script.Parent.Background3
script.Parent.Background1.Play.MouseButton1Click:connect(function()
Background1:Destroy()
Background2.Visible = true
end)
script.Parent.Background2.Normal.MouseButton1Click:connect(function()
Background2:Destroy()
Background3.Visible = true
end)
Are there any solutions?

1 comment
This is a button function and there are no outsider variables, meaning this will never run until triggered. Therefore, there isnt a point for WFC here