Im trying to set CameraOffset to go to aimPart but i dont know how to, im also trying to make it a little stud behind it so the player can see the aim, im only using a permenant vector3 since i dont know how to do this.
My script:
local aimPart = script.Parent.aimS
mouse.Button2Down:Connect(function(players)
if equip then
script.Parent.Aiming.Value = true
local hum = character.Humanoid
local goal = {}
goal.CameraOffset = Vector3.new(1.45, -0.3, -2) -- modify??
local tweenInfo = TweenInfo.new(0.4)
local part = hum
local tween = TweenService:Create(part, tweenInfo, goal)
tween:Play()
end
end)
A gyazo to help represent what the script is doing:
https://gyazo.com/b0e82c0a7710b78b7c85f5645e51c398
Help pls
Thx
