InteractObjectRespawnTimer

This is a component to use on things like powerups or ShieldPowerCores to make sure they respawn once they've been used so they can be easily found again by players. This script runs a timer which when reaches zero, respawns the object.

The respawn function will put the object back where it was at the start of the game, with the same rotation and parent with its rigidbody kinematic. This function is also networked to everyone buffered.

There is also an option to make sure the object doesn't respawn by setting "canRespawn" to false, this will also pause the timer.