Hi, I’ve recently been trying out animating parts for this scene in my roblox game. this script doesn’t seem to work and gives me the same error. (Unable to cast value to Object)
my explorer:
my server script:
local hum = script.Parent.Humanoid
local id = 113296684966908
local track = script.Parent.AnimationController:LoadAnimation(id)
track:Play()
local hum = script.Parent.Humanoid
local id = 113296684966908
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://" .. id
local track = script.Parent.AnimationController:LoadAnimation(animation)
track:Play()
local hum = script.Parent.Humanoid
local id = 113296684966908
local anim = Instance.new("Animation")
anim.AnimationId = "rbxassetid://113296684966908"
local track = script.Parent.HumanoidRootPart.AnimationController:LoadAnimation(anim)
track:Play()
edit: forgot to mention the humanoid root part is the only part being animated.