How to make seat:Sit() work on client

H,
So Im trying to make a localscript in a gui make a humanoid sit on a seat because it’s a horse and i want it to neigh in a viewportframe how would i do that
heres my code :sit() dont work

local e = game.ReplicatedStorage.Horse:Clone()

local cam = Instance.new("Camera",script.Parent.ImageLabel.ViewportFrame)

cam.CameraSubject = e.PrimaryPart

cam.CameraType=Enum.CameraType.Scriptable

cam.CFrame = CFrame.new(Vector3.new(0,0,-15))*CFrame.fromEulerAnglesXYZ(0,math.rad(180),0)

e.Parent = workspace

e.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0,0,0))

local es = game.ReplicatedStorage["Lv 1 Mongolian"]:Clone()

es.Parent = workspace

e.Seat:Sit(es.Humanoid)

e.Parent = script.Parent.ImageLabel.ViewportFrame

es.Parent = script.Parent.ImageLabel.ViewportFrame

script.Parent.ImageLabel.ViewportFrame.CurrentCamera=cam

- Br,iSyriux

Your only option is to just weld the humanoid to the horse. Things like sitting are only active when the humanoid is server-sided and is running on the workspace.

Already solved it on my own thanks

cool, and what u did to solve it?

I used weldconstraint and cframe

Oh okie! thank you. Looks like @NamphaTheGreat is right, theres no other way to achieve it, only by weld, thank you :3