how could i make a gui in roblox where when someone joins my game a Gui pops up on the top Saying: Walk Up to one of the Teleporters To learn about a famous robloxian
then it fades away after a min… I tried game.players.playeradded:connect(function(player) gui.visible = true end)
end) It did not work
1 Like
Roblox studio is case sensitive. All of your stuff is lowercase.
1 Like
Place a script inside ServerScriptService and write the following:
game.Players.PlayerAdded:Connect(function(Player)
Player.PlayerGui.gui.TextLabel.Visible = true
wait(5)
Player.PlayerGui.gui.TextLabel.Visible = false
end)
1 Like
*game.Players.PlayerAdded:Connect(function(player) end)
and you didnt define GUI
there’s a few capitalization errors and other syntax errors.
game.Players.PlayerAdded:connect(function(player)
player.PlayerGui.guiname.somechildinthegui.Visible = true -- guiname and somechildinthegui are just example names, name those to whatever they have to be named.
end)
1 Like