how would i create a welcome screen to appear ONLY FOR THE PLAYER THAT ENTERS AND NOT FOR OTHERS THAT HAVE ALREADY ENTERED? I created a welcome screen, but I think it only appears once when someone enters and then does not appear for the other players. The script is located in the starterGui.TextLabel (is that why? I should leave the script in serverscriptService? if so, why? I wanted a welcome message to appear, just that script:
local butao = game.Workspace.teleportbuttom
function clicartexto ()
local texto = 'O jogo começará em '
for i = 1,#texto do
script.Parent.Text = string.sub(texto,1,i)
wait(0.1)
local cor = coroutine.wrap(function()
local sound = Instance.new("Sound")
sound.Volume = 1.6
sound.SoundId = 'rbxassetid://151715959'
sound.Parent = script.Parent.Parent
sound:Play()
sound.Ended:Wait()
sound:Destroy()
end)
cor()
end
end
butao.ClickDetector.MouseClick:connect(clicartexto)

2 comments
oh of course… sorry to ask but could you explain the script you created? i didn't understand the part about 'introgui: clone' and why you put player in the parentheses of the function (function added ('player') .Could you please explain to me?
Ok, I'll do some edits there.