local Players = game:GetService("Players") local RunService = game:GetService("RunService") local LocalPlayer = Players.LocalPlayer local shootFunction = nil -- Replace this with your shoot function or RemoteEvent -- Function to aim camera down local function lookDown() local camera = workspace.CurrentCamera if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Head") then camera.CameraSubject = LocalPlayer.Character:FindFirstChild("Humanoid") camera.CFrame = CFrame.new(camera.CFrame.Position, camera.CFrame.Position - Vector3.new(0, 1, 0)) end end -- Function to "shoot" local function simulateShoot() if shootFunction then -- Call your shoot function or fire your RemoteEvent here shootFunction:FireServer() else warn("No shoot function defined.") end end -- Repeating teleport and fire loop task.spawn(function() while true do for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and LocalPlayer.Character then local targetTorso = player.Character:FindFirstChild("Torso") or player.Character:FindFirstChild("UpperTorso") local myHRP = LocalPlayer.Character:FindFirstChild("HumanoidRootPart") if targetTorso and myHRP then -- Teleport myHRP.CFrame = CFrame.new(targetTorso.Position + Vector3.new(0, 3, 0)) -- Look down lookDown() -- Shoot simulateShoot() wait(0.5) end end end end end)