I have a player entered event, and I want to display someone's name joining on a text gui and then have it fade out.
here's what i got so far that doesn't work
function playerAdded(player) --the event
wait(.1)
game.Lighting.Sound:Play()
game.StarterGui.playerjoined.Frame.TextBox.Text = player.Name.. " has joined" -- the message
wait(5)
for i=0,1, .1 do
game.StarterGui.playerjoined.Frame.TextBox.TextTransparency = (i) --the fade out
end
end
game.Players.PlayerAdded:connect(playerAdded)
the code works, but it will never fade out or if I try changing the text instead of the text transparency it won't change
