roblox studio ui player code example
Example: How to make a welcome script in roblox
-- Dont ever touch this or yo' Daddy will go to prison forever, got me?\
debounce = false
function onPlayerEntered(nP)
print("Player "..nP.Name.." has entered the game.")
m = Instance.new("Message", game.Workspace)
m.Text = ("Welcome, "..nP.Name.."!")
wait(5)
m:remove()
end
game.Players.PlayerAdded:connect(onPlayerEntered)
--Made By Rigby#9052 on Discord!