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

Animation is failing to load in my game, but works fine in studio and Local Test Server. Any Ideas?

I don't know if this is a problem on roblox's part or my own. However I have been trying to make these animations load in game. I am using a local script that loads the animations and fires a remote event. This all works fine in studio, and in "Local Server" test with Filtering Enabled. However it is not loading my animations in game.

script.Parent.Parent.Activated:connect(function()
	local toggle1 = false
	
	local load = script.Parent.Parent.Parent:WaitForChild("Humanoid"):LoadAnimation(script.Parent.Drink)

if toggle1 == false then 
	
wait()
 load:Play()
wait(1)
while wait() do
for i = 1, 100 do
	script.Parent.Parent.Parent:WaitForChild("Humanoid").HeadScale.Value= script.Parent.Parent.Parent:WaitForChild("Humanoid").HeadScale.Value + 0.3
break
end


game.ReplicatedStorage.Anim:FireServer()


end
end
end)

(I exported and own the animations, just fyi)

Here is the console error

(https://media.discordapp.net/attachments/413516391837204480/413516456207187978/2018-02-14.png?width=934&height=301)

1 comment

0

Did you waited a couple minute to let roblox approuve it?

2 answers

Without context, this may seem like a weird error, however stupid me figured out I need to upload the animations through my group in order to play them. Since the author is under my group games.

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