local function timer()
for i=5,0,-1 do
task.wait(1)
end
debounce = true
end
task.spawn(timer)
while debounce == false do
task.wait()
game.Workspace.CurrentCamera.CFrame = game.Workspace.CurrentNuke.Airplane.CFrame + Vector3.new(0,6,0)
end
hey I have this script that follows an airplane however its not doing it correctly and it’s just sitting in one spot. (This is inside a remote event on the client and the plane is moved via a tween on the server)
local function timer()
for i=5,0,-1 do
task.wait(1)
end
debounce = true
end
task.spawn(timer)
while debounce == false do
task.wait()
game.Workspace.CurrentCamera.CFrame = game.Workspace.CurrentNuke.Airplane.CFrame + Vector3.new(0,6,0)
end
hey I have this script that follows an airplane however its not doing it correctly and it’s just sitting in one spot. (This is inside a remote event on the client and the plane is moved via a tween on the server)