Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make the players arms follow the camera?

Greetings. I am trying to get the players arms to follow the camera to manipulate a first person shooter, I have asked around but unfortunately have answers. Any help with how I could code this myself would be greatly appreciated, thanks.

1 answer

"local cam = workspace.CurrentCamera local plr = game:GetService(“Players”).LocalPlayer game:GetService(“RunService”).RenderStepped:connect(function() if plr.Character then local root = plr.Character.HumanoidRootPart if root then root.CFrame = CFrame.new(root.CFrame.p,root.CFrame.p+Vector3.new(cam.CFrame.lookVector.X,0,cam.CFrame.lookVector.Z)) end end end)"

This discussion is preserved as it was. New answers, comments, and votes are closed.