Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What's wrong about this simple script?

Asked by 9 years ago
game.StarterGui.StartGui.Background.TextButton.MouseButton1Down:connect(function()
    script.Parent.StartGui.Background.Visible = false
end)




Please help. And yes, it is in a LocalScript

1
change "game.StarterGui" on Line 1 to "game.Players.LocalPlayer.PlayerGui". Discern 1007 — 9y
0
Thanks, It helped! kingstephen23 35 — 9y

Answer this question