local LP = game:GetService("Players").LocalPlayer local t0 = os.clock() while os.clock() - t0 < 40 do local c = LP.Character local h = c and c:FindFirstChildOfClass("Humanoid") local hrp = c and c:FindFirstChild("HumanoidRootPart") if h and hrp and h.Health > 0 then print(string.format("spawned after %.1fs health=%.0f pos=%s", os.clock() - t0, h.Health, tostring(hrp.Position))) return end task.wait(0.5) end local c = LP.Character local h = c and c:FindFirstChildOfClass("Humanoid") print("still not spawned; health:", h and h.Health, "state:", h and h:GetState().Name)