"Not a Valid Member of" error

nope the error still happens

oh ya i think this works my bad

I recommend using looped instead of while true do

local sprintAnimation = script:WaitForChild("ShindenSprint")
wait(1)
local player = game.Players.LocalPlayer
local char = player.Character or player.CharacterAdded:Wait()
local humanoid = char.Humanoid
local animator = humanoid:FindFirstChildOfClass("Animator")
local sprintAnimationTrack = animator:LoadAnimation(sprintAnimation)


sprintAnimationTrack.Looped = true
sprintAnimationTrack:Play()

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.