Naval Warfare
30.8k Views
229 Executions

turret auto aim

Naval Warfare
playvora
playvoraPublished 25
2 years ago
Please login to perform these actions:

turret auto aim is a Naval Warfare script for Roblox, uploaded to ScriptBlox on Jun 16, 2024.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

made in 1 hours just go to any turret and press F you can do it in any weapon (not for main weapon in your backpack) has team check --updated again prediction method should kinda better --updated prediction again -- added health check -- added drawing line that shows the script prediction ideas: https://www.youtube.com/watch?v=PBXvzM5jYS0 he said "make it urself" first public script that created turret auto aim maybe? also credit pls?

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

  5. Script edited: Update script

View Raw
local a = game.Players
local b = a.LocalPlayer
local c = 800--  bullet velocity between 799-800
local function d()
    local e = b.Character
    local f = e and e:FindFirstChild("HumanoidRootPart") and e.HumanoidRootPart.Position
    if f then
        local g, h = nil, math.huge
        for _, i in ipairs(a:GetPlayers()) do
            if i ~= b and i.Team ~= b.Team and i.Character and i.Character:FindFirstChild("HumanoidRootPart") then
                local j = (i.Character.HumanoidRootPart.Position - f).Magnitude
                if j < h then
                    local k = i.Character:FindFirstChildOfClass("Humanoid")
                    if k and k.Health > 0 then
                        h = j
                        g = i
                    end
                end
            end
        end
        return g
    end
end
local function l(m, n)
    if not m then return m end
    local o = m.Velocity
    return m.Position + (o * n)
end
local p = Drawing.new("Line")
p.Visible = false
p.Color = Color3.new(1, 0, 0)
p.Thickness = 2
game:GetService("RunService").Heartbeat:Connect(function()
    local s = d()
    if s then
        local t = s.Character:FindFirstChild("HumanoidRootPart")
        if t then
            local u = b.Character.HumanoidRootPart.Position
            local v = l(t, (t.Position - u).Magnitude / c)
            p.From = Vector2.new(workspace.CurrentCamera:WorldToViewportPoint(u).X, workspace.CurrentCamera:WorldToViewportPoint(u).Y)


Comments

6
Log in to join the conversation. Login
palm's profile picture
palm2 years ago(edited)

It works well, definitely could be better 8/10

2
SPEED's profile picture
SPEED2 years ago(edited)

Bro ur my favorite scripter 😭

2
Yuri's profile picture
Yuri2 years ago(edited)

can you do for airplanes next

2
maxhatt3r's profile picture
maxhatt3r2 years ago(edited)

script worky, can you make a force change team script?

2
laserhun's profile picture
laserhun2 years ago

this is a W script

1
xavierissus's profile picture
xavierissus2 years ago(edited)

this is nice :)

1

More Naval Warfare scripts

See all
Naval Warfare
73.9k
16.7k
Bumped 2 years ago
Naval Warfare
43.1k
143
4 years ago
Key System
Naval Warfare
418
3.5k
3 months ago
Key System
Naval Warfare
5.5k
4.9k
11 months ago
Naval Warfare
20.3k
934
2 years ago