[Request] Script to make pop up type text

Hello all,

I would like to find out a script which I can easily edit for a welcome text to appear for around 5 seconds when someone joins my server. Could someone point me in the right direction please :slight_smile:

AddEventHandler(‘playerSpawned’, function(spawn)
TriggerEvent(‘chatMessage’, ‘Welcome’, {255, 0, 0}, “Your text here”)
end)

and in resource.lua set it as client script

1 Like