Noverwyn Documentation
API set:
148

‹ All natives

Namespace: EVENT API set: server Language: Luau Improve

playerJoin

on("playerJoin", function(player) end)

A player just joined.

Parameters#

  • player (Player): the player

Example#

on("playerJoin", function(player)
	local houses = { "Embervale", "Greenveil", "Brightmoon", "Brightgrove" }
	player:set("house", houses[player.id % 4 + 1])
end)

Namespace: PLAYER

Namespace: ENTITY

Namespace: ZONE

Namespace: TIME

Namespace: SCRIPT

Namespace: EVENT

Namespace: CLIENT

Namespace: CLIENT EVENT

Namespace: UNIFORM

Namespace: WAND

Namespace: LOOK

Namespace: CONTROL

Namespace: GAIT

Namespace: VOICE

Namespace: ATELIER

Namespace: TOOL