Animation only plays for me

So im having this issue that my animation works just fine, both in studio and on roblox for me. But when a friend joins me the animation will still play for myself but my friend cant see the animation.

Ive searched a bunch of different articles about it on the dev forum but couldnt really find a clear answer?

Is anyone else having this issue or knows how to fix this?

Im using the default roblox animation script and i changed the animation ID’s to my own heres what it looks like:

image

If you want other people to see the animation, you’ll need to play the animation on a Script in ServerScriptService

How would that look? Because i dont think i can use the default roblox code for that anymore?

Yes, you won’t be able to use default roblox code for relaying it to the server, unfortunately. I’m not really sure what you would do, since there are so many different animations, and I don’t have much experience with editting core animations.

Im also not really sure, Ive read alot of articles.

Maybe theres someone else able to help out with this issue?

(bump)
bumpbumpbumpbumpbumpbumpbumpbump

local UIS = game:GetService(“UserInputService”)
local RP = game:GetService(“ReplicatedStorage”)
local player = game:GetService(“Players”).LocalPlayer
local char = player.Character
local Anim = char:WaitForChild(“Humanoid”)
local cam = workspace.CurrentCamera
local root = char.HumanoidRootPart

local autoRotate = false
local mouseLock = false

local speed = 0.3

local mouse = player:GetMouse()
local LS = mouse.LeftShoulder
local RS = mouse.RightShoulder

local plr = player.PlayerScripts
local gui = plr:WaitForChild(“GUI”)
local y = gui:WaitForChild(“y”)
local x = gui:WaitForChild(“x”)
local inp = gui:WaitForChild(“inp”)
local DisableController = false

local ui = player:WaitForChild(“PlayerGui”):WaitForChild(“MainUI”):WaitForChild(“mouse”)
local UIS = game:GetService(“UserInputService”)

local hum = char:WaitForChild(“Humanoid”)

local root = char:WaitForChild(“HumanoidRootPart”)

local neck = char:WaitForChild(“Neck”)

local cam = game.Workspace.CurrentCamera

local h = 50
local w = 50

local mouse = player:GetMouse()

local deb = false

local Anim = char:WaitForChild(“Humanoid”)

local Auto = Instance.new(“BoolValue”,Anim)
Auto.Name = “Auto”

local Touch = Instance.new(“BoolValue”,Anim)
Touch.Name = “Touch”

local Back = Instance.new(“BoolValue”,Anim)
Back.Name = “Back”

local Text = Instance.new(“StringValue”,Anim)
Text.Name = “Text”

local a = Instance.new(“BoolValue”,Anim)
a.Name = “A”

local b = Instance.new(“BoolValue”,Anim)
b.Name = “B”

local c = Instance.new(“BoolValue”,Anim)