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

Someone please assist in fixing this?

Asked by 10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.
script.Parent.Touched:connect(function(h)
     if hit.Parent.Name == "Part" then
Workspace.guy.Humanoid:LoadAnimation(Workspace.guy.AnimationController.Animation):Play()
    end
end)


script is in a part in workspace. The animation is in a model named 'guy' then in an AnimationController so confusing !

Answer this question