# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/triad-infiltration-making-players-invisible-in-verse
# Local doc: epic-docs/documentation/en-us/fortnite/triad-infiltration-making-players-invisible-in-verse.md
# Section: Creating the Invisibility Manager
# Handles a player spawning from an infiltrator spawn pad
OnPlayerSpawn(SpawnedAgent:agent):void=
Logger.Print("A player just spawned from an infiltrator spawn pad!")
if:
FortCharacter:fort_character = SpawnedAgent.GetFortCharacter[]
CurrentTeam := GetPlayspace().GetTeamCollection().GetTeam[SpawnedAgent]
Verse Library
verse
01 Creating The Invisibility Manager
Retrieves the fortified character and current team data when a player joins or respawns.
extracted-snippets/documentation/en-us/fortnite/triad-infiltration-making-players-invisible-in-verse/01-creating-the-invisibility-manager.verse