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

Why does my animation load for my friend, but not for me?

So, we have R6 animations, and they work perfectly fine for him, but for me it shows this: 08:09:24.997 - Animation "https://assetdelivery.roblox.com/v1/asset?id=5861807611&serverplaceid=0" failed to load in "Workspace.NerdyDabberDG.Pushup.TestAnim.AnimationId": Animation failed to load

So basically, the game is that, whenever you click, it makes you do an animation of a pushup, and adds +1 strength. Here's the code:

local cooldown = false

script.Parent.Activated:Connect(function()
	if cooldown == false then
	local animation = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.TestAnim)
	animation:Play()
	cooldown = true
	wait(1)
	animation:Stop()
	cooldown = false
	game.ReplicatedStorage.GiveStrenth:FireServer()
	end
end)

Can someone tell me how to remedy this? Thanks!

1 answer

I can guess you're doing Team Create, and it's your friend's place. The thing is, in team create places, only the uploader of the asset will be able to load it in STUDIO. That means if you join the game using the roblox client it will load normally. The only "fix" I can think of is making a group game, and uploading the asset in the group. Then the asset will load normally for everyone working on the game in studio. But if you can't afford a group, then just stick with that limitation and when you want to playtest something that requires the animation, hop into the game using the roblox client.

3 comments

0

also script is client-side so it won't work unless you put it in a server script too with some adjustments

0

But you can play animations on the client tho

0

yes, but it won't be played for everybody. so if i do a client-side script-controlled animation, it won't show up for anyone else

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