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