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

Animation not visible to others, huh?

Is it possible to make an animation for everyone else to see it because when I opened a place and when my friend joined, the animation appeared only to me, but not to him, so I think it was a problem in a publishing animation, so I tried to make animation free to use, but when I opened animation configuration on Website, nothing like Make public of free to use button appeared.

Any help will be appreciated! If you need a script with what I was executing animation, just leave a comment!

6 comments

0

Is this a local script or a server script?

0

It is a server script

0

you can play animations using a local script, cause they replicate. Try to play it through a local script you have nothing to lose, and there's a possibility that it may work.

0

Yeah, roblox encourages you to play your animations on LocalPlayer characters through LocalScripts, because they replicate due to the characters having network ownership.

0

Well, It is like: When I touch part, it plays the animation.....

0

You can still detect part .Touched through a local script.

1 answer

✓ Accepted answer

When playing an animation through server you need to load the Animation into the Animator instead of the Humanoid. I read this on the wiki somewhere but I can't find it now but essentially you just do a little something like this.

local Player = game.Players.LocalPlayer
local Character = game.Workspace:WaitForChild(Player.Name)

local Anim = game.ReplicatedStorage.Animation
local LoadedAnim = Character.Humanoid.Animator:LoadAnimation(Anim)
LoadedAnim:Play()

1 comment

0

Oh and also if the Animation is uploaded on your profile and it's being used in a group game or someone else's game the animation will only appear for you and not them since it is your animation. The creator of the game has to be the one who published the animation. So if it's not your game just republish the animation(s) and replace the AnimationId(s) with the newly published AnimationId(s).

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