With a LocalScript
inside StarterPack
:
local Char = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
print(Char.Parent)
This will work for the first spawn, but after respawning, nil
will be printed, and Char
will be the old, dead character. This LocalScript
shouldn’t run until game.Players.LocalPlayer.Character
has been changed after death.