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

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

Asked by 6 years ago
Edited 6 years ago

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)

0
Did you waited a couple minute to let roblox approuve it? Simnico99 206 — 6y

2 answers

Log in to vote
0
Answered by 6 years ago

use "rbxassetid://LINKHERE"

Ad
Log in to vote
0
Answered by 6 years ago

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.

Answer this question