Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

My chatted animation is not working, yet processing for some reason?

this is it

wait(3)
print("Ok loaded")
local player = game.Players.LocalPlayer

game.Players.PlayerAdded:Connect(function(players)
				player.Chat:Connect(function(msg)
			if msg == "OOF" then 
		print("Said OOF")
	end
							wait(3)
								local anim1 = Instance.new("Animation")
							anim1.AnimationId = ("rbxassetid://3739993441")
				local animtrack=player.Character.Humanoid:LoadAnimation(anim1)
		animtrack:Play()
	    print("Ok")
	end)
end)

I fixed it, keeping it here for future people. ANSWER V

wait()
print("Ok loaded")
local player = game.Players.LocalPlayer

player.Chatted:Connect(function(msg)
			if msg == "OOF" then 
			print("Said OOF")
			
							wait(3)
								local anim1 = Instance.new("Animation")
							anim1.AnimationId = ("rbxassetid://3739993441")
						local animtrack = player.Character.Humanoid:LoadAnimation(anim1)
					animtrack:Play()
			print("Ok")

	end
end)

1 comment

0

I ended up fixing it

1 answer

Have you tried changing the priority of the animation to, "Action"?

1 comment

0

Yes I did that

This discussion is preserved as it was. New answers, comments, and votes are closed.