```ts @Controller() export class PlayerAnimation implements OnStart { onStart() { print("Start"); const localPlayer = Players.LocalPlayer; const animation = createPreviewAnimation(carryKeyframeSequence); if (!animation) { warn("Animation was not created"); return; } const character = localPlayer.Character || localPlayer.CharacterAdded.Wait()[0]; const humanoid = character.FindFirstChildOfClass("Humanoid"); if (!humanoid) { warn("Humanoid was not found"); return; } //... } } ```