Roblox lua espera a que se cargue el jugador

--This is only for roblox for obvious reasons
local Player = game:GetService('Players').LocalPlayer

Player.CharacterAdded:Wait()
Odd Octopus