I’m trying to make my animation change in >20 value but its not working it doesnt give any outputs also.
local run = script.Parent:WaitForChild("Animate").run.RunAnim
local defaultanim = "rbxassetid://8082691629"
local sonicanim = "rbxassetid://9349934549"
local value = game.Players[script.Parent.Name].PlayerGui.Speedometer.TextLabel.Value
value.Changed:Connect(function()
if value.Value > 20 then
run.AnimationId = sonicanim
else
run.AnimationId = defaultanim
end
end)
