So im making a aim system for my cowboy game and i came upon this problem in which everything works but i have no clue how to change the LockFirstPerson mode’s offset because if i dont change it it will look cranky.
`local Players = game:GetService("Players")
local Char = Players.LocalPlayer.Character
local Plr = Players.LocalPlayer
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/Asset?ID=17763913770"
local track
tool.Equipped:Connect(function(Mouse)
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track.Looped = true
Mouse.Button2Down:Connect(function()
track:Play()
Plr.CameraMode = Enum.CameraMode.LockFirstPerson
end)
Mouse.Button2Up:Connect(function()
track:Stop()
Plr.CameraMode = Enum.CameraMode.Classic
tool.Unequipped:Connect(function()
if track then
track:Stop()
Plr.CameraMode = Enum.CameraMode.Classic
end
end)
end)
end)`