Having a bit of trouble with this. It shows on the client but not on the server. Print is running but the transform is not working.
Server:
local updateTick = game:GetService('ReplicatedStorage'):WaitForChild('updateTick') updateTick.OnServerEvent:Connect(function(plr,camY) local char = plr.Character print(char.Name) char.UpperTorso.Waist.Transform = CFrame.Angles(camY,0,0) char:WaitForChild('Head').Neck.Transform = CFrame.Angles(camY/2,0,0) end)
Client:
local plr = game:GetService("Players").LocalPlayer local mouse = plr:GetMouse() local char = plr.Character or plr.CharacterAdded:wait() local rs = game:GetService("RunService") local updateTick = game:GetService('ReplicatedStorage'):WaitForChild('updateTick') --c.CameraSubject = char:WaitForChild('Head') --c.CoordinateFrame = char:WaitForChild('Head').Position rs.Stepped:Connect(function() local camY = c.CFrame.LookVector.Y updateTick:FireServer(camY) char.UpperTorso.Waist.Transform = CFrame.Angles(camY,0,0) char:WaitForChild('Head').Neck.Transform = CFrame.Angles(camY/2,0,0) for _,v in pairs(char:GetChildren()) do if v and v:IsA('BasePart') then v.LocalTransparencyModifier = v.Transparency end wait() end end)