I have recently been using this script
--Variables-- local set = script.Settings local sp = set.Speed local enabled = set.Enabled local hum = script.Parent:WaitForChild("HumanoidCharacter") if hum then print("Success") else print("No HumanoidCharacter") end local humanim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation")) --Playing Animation-- wait(2) if enabled.Value == true then humanim:Play() humanim.Looped = true humanim:AdjustSpeed(sp.Value) end
Why doesn´t the animation work, the script lies inside the object that needs to be animated. However, the animations don´t play in the game. Why?