script.Parent.MouseButton1Click:connect(function()
wait(1)
game.StarterGui.Tutorial.Box.Visible = true
end)
So this doesn't work because the StarterGui clones the objects parented to it into the Player.
What you need to do is get the Player and the PlayerGui to edit it.
--game.Players.LocalPlayer is only accessed with a local script.
local Player = game.Players.LocalPlayer --gets the player that has this script
local PlayerGui = Player.PlayerGui --gets the Player's Guis
script.Parent.MouseButton1Click:connect(function() --run when clicked
wait(1)
PlayerGui.Tutorial.Box.Visible = true --visible
end)
|