I was making a start GUI for my game, but when I tested it it said "Attempt to call a string value" Here's the script:
Player = game.Players.LocalPlayer
Background = script.Parent.Parent:WaitForChild("Background")
Play = script.Parent
function OnClicked()
Background.Visible = false
end
Play.MouseButton1Down:connect("OnClicked")
Thanks!

1 comment
Thanks, idk why i put that :P