PlayerCharacterSpawner
PlayerCharacterSpawner is a module script responsible for spawning player characters when they join the scene. This script can be modified by creating an override version in your project to customize spawn behavior. This is a module script that can be required in your Lua code.
Properties
Event that fires when a character is spawned. Connect to this event to handle character spawn logic.
local PlayerCharacterSpawner = require("PlayerCharacterSpawner")
PlayerCharacterSpawner.OnCharacterSpawned:Connect(function(character)
print("Character spawned: " .. tostring(character))
end)
Updated 13 days ago