Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Hello im trying to loop a certain animation but the looped doesnt work why?

Asked by 1 year ago
Edited 1 year ago

Hi whoever read this post im currently trying to animate an NPC and the script work however for some reason i dont know even using anim.looped it doesnt work here the script:

local hum = script.Parent:WaitForChild("Humanoid") local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation")) anim:Play() anim.Looped = true

it work and all as i said its not looped Also is there a way to animate an NPC when anchored?

0
Put `anim.Looped = true` before `anim:Play()` T3_MasterGamer 2189 — 1y
0
ok ill check rq G4BR13L_progamer123 5 — 1y
0
Doesnt work it keep doing it once G4BR13L_progamer123 5 — 1y
0
Didnt really did much G4BR13L_progamer123 5 — 1y
0
Could it be cause i changed the position of some bodypart? i dont think so cause at this point it wouldnt just play but idk G4BR13L_progamer123 5 — 1y

Answer this question