#animation play on thoughing a part
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
dit is me code (dont know how to do code block)
function onTouched(hit)
local human = hit.Parent:findFirstChild("Humanoid")
if human then
local anim = human:LoadAnimation(script.Parent.Animation)
anim:Play()
end
end
script.Parent.Touched:connect(onTouched)
en dit is de error how do i fix it
guys i fixed the error
but the animation is not playing
how do i fix it
i want it to play on the player itself
humanoid:loadanimation() is deprecated
use an animator object
Man zegt dit is me code