nanos world API Reference Unofficial documentation
Function Server Moderate

Damageable:Respawn

Respawns the Entity, filling its Health and moving it to its Initial Location

Syntax

Lua
my_damageable:Respawn(location = initial location, rotation = Rotator(0, 0, 0))

Parameters

Name Type Default Description
location optional Vector initial location If not passed will use the initial location passed when the Entity spawned
rotation optional Rotator Rotator(0, 0, 0)