Hello! I wrote a script and i dont know, is there any way to make this script without using any part.
Its a simple smooth cam script its just tweens the campart.
My script;
local run = game:GetService("RunService")
workspace.Camera.CameraSubject = workspace:WaitForChild("CamPart")
workspace.Camera.CameraType = "Track"
local Speed = 0.1
run.RenderStepped:Connect(function()
game:GetService('TweenService'):Create(
workspace.CamPart,TweenInfo.new(Speed,Enum.EasingStyle.Linear,Enum.EasingDirection.InOut),
{Position = script.Parent.Head.Position}):Play()
end)
Thanks!