local userInputService = game:GetService(“UserInputService”)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild(“Humanoid”)
local Track = Instance.new(“Animation”)
Track.AnimationId = “rbxassetid://501532492”
local Animation = player:LoadAnimation(Track)
character:Play()
14:59:42.023 - LoadAnimation is not a valid member of Player