So in my game, I have a bacon man. This bacon man will do the floss. I made the animation and put in the id. I made the local script but the animation still wont play!?

Can somebody help me?

anim link https://web.roblox.com/library/2808294762/The-Floss

Local Script in Starter Gui

wait()
local npc = game.Workspace["BACON MAN!"]
local anim = npc["Floss"]
local hum = npc["Humanoid"]

local loadedANIM = hum:LoadAnimation(anim)

local function play(printingArgrument)
	print(printingArgrument)
	loadedANIM:Play()
end

play("Animation was played!")

4 comments

0

can you send me the link for the animation plz?

0

Are you using a server script to load the animation? If not, try that. Also, make sure that the NPC is not anchored... If none of these work, are there any errors being printed to the console?

0

The client knows better than to cave to peer pressure.