I am now working on that a player joins the game and a GUI/UI will popup, but it doesn't work..
Here's the code
local Players = game:GetService("Players")
local Main = game.StarterGui.Menu.Main
function playerAdded(player)
Main.Visible = true
print("hey its ur boi testing")
end
game.Players.PlayerAdded:Connect(playerAdded)
and btw It doesn't even print it. + There is no errors

4 comments
is this a local script?
this is a server script in a GUI https://gyazo.com/f31969efd132000d39478f3e55d9531a
what is menu,is it a screen gui?
i know what is the problem check out my answer