I just get put into the same location each time I equip the gun!
local RS = game:GetService("RunService")
local UIS = game:GetService("UserInputService")
local cam = workspace.CurrentCamera
local tool = script.Parent.Handle
local function onRenderStep()
local delta = UIS:GetMouseDelta()
print(delta.y)
print(delta.x)
tool.CFrame = CFrame.Angles(math.rad(delta.x),math.rad(delta.y),math.rad(0))
end
RS:BindToRenderStep("measureMovement", Enum.RenderPriority.Input.Value, onRenderStep)

1 comment
Thank you!