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

Animation not visible to others, huh?

Asked by 6 years ago

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!

0
Is this a local script or a server script? oreoollie 649 — 6y
0
It is a server script AswormeDorijan111 531 — 6y
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. g1o2r3d4a5n6 350 — 6y
0
Yeah, roblox encourages you to play your animations on LocalPlayer characters through LocalScripts, because they replicate due to the characters having network ownership. mattscy 3725 — 6y
View all comments (2 more)
0
Well, It is like: When I touch part, it plays the animation..... AswormeDorijan111 531 — 6y
0
You can still detect part .Touched through a local script. mattscy 3725 — 6y

1 answer

Log in to vote
0
Answered by
Launderer 343 Moderation Voter
6 years ago

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()
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). Launderer 343 — 6y
Ad

Answer this question