Is there a better and more efficient way to do this that dosen't take up has much lines?
local function AimF(plr) wait(.001) plr.Character.Humanoid.CameraOffset = Vector3.new(0.05, -0.05, -0.05) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.1, -0.1, -0.15) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.15, -0.15, -0.25) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.2, -0.2, -0.35) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.25, -0.25, -0.45) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.3, -0.3, -0.55) wait() plr.Character.Humanoid.CameraOffset = Vector3.new(0.3, -0.3, -0.55) end
for i = 1, 6 do plr.Character.Humanoid.CameraOffset = Vector3.new(0.05 + (0.05*i), -0.05 - (0.05*i), -0.05 - (0.1*i)) wait() end