Animation replicate on server but not client

Hello ,

  1. I have animation that run on local script.
  2. there were no error
    3.animation only play on server and not on client

4.here’s the picture what I’m saying:


THIS IS ON CLIENT SIDE


THIS IS ON SERVER SIDE

Here is my current script:

local player = Players.LocalPlayer
local Char = player.Character or player.CharacterAdded:Wait()
local hum = Char:WaitForChild("Humanoid" , 1)
local Animator = hum:WaitForChild("Animator" , 1)

local AnimationFolder = Reps.CutsceneAnimation.Cutscene2

local PlayerAnimation = AnimationFolder.Player

local AnimationTrack = Animator:LoadAnimation(PlayerAnimation)

AnimationTrack:Play()
AnimationTrack.Stopped:Wait()
	
task.wait(1)
	
AnimationTrack:Stop()
AnimationTrack:Destroy()

I look everywhere on devforum and devhub but everything still same . So … any help is very appriciated :slight_smile:

You could fire a remote event to the client and load it on the client.

Are you on first person? Animations played on the client are replicated to the server, but are also shown on the client.

yeah I set player camera max zoom to lowest . so i guess its on first person

Yes, that’s why is not showing. I mean… when you’re in first person you can’t see your own character.

1 Like

Wow… Im such a dumb . It literally working . thanks for helping. . This took 2 days to figured out :sweat_smile::

1 Like