War Tycoon
79.3k Views
263 Executions

Silent Aim Wallbang Open Source

War Tycoon
BeboMods
BeboMods
Verified Badge
Verified User
Chart topper
3 years ago
Please login to perform these actions:

Silent Aim Wallbang Open Source is a War Tycoon script for Roblox, uploaded to ScriptBlox on Oct 16, 2023.

Does it work?

No reports yet

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

Also noticed:

Description

Silent Aim Wallbang

View Raw
local LPlayer = game:GetService("Players").LocalPlayer

local remote = game:GetService("ReplicatedStorage").BulletFireSystem.FireBullet
local LMouse = LPlayer:GetMouse()
local Camera = game:GetService("Workspace").CurrentCamera
local fovAmount = 200
local teamCheck = false

local fovCircle = Drawing.new("Circle")
fovCircle.Radius = fovAmount
fovCircle.Visible = true
fovCircle.Color = Color3.fromRGB(212, 34, 255)
fovCircle.Thickness = 1
fovCircle.NumSides = 12
fovCircle.Position = Vector2.new(0, 0)

local function UpdateFovCircle()
   local mousePos = Camera.WorldToViewportPoint(Camera, LMouse.Hit.Position)
   fovCircle.Radius = fovAmount
   fovCircle.Position = Vector2.new(mousePos.X, mousePos.Y)
end

local function IsInFov(position)
   local mousePos = Vector2.new(LMouse.X, LMouse.Y)
   local screenPosition, isVisible = Camera:WorldToViewportPoint(position)
   local distanceToMouse = (mousePos - Vector2.new(screenPosition.X, screenPosition.Y)).Magnitude
   return isVisible and distanceToMouse <= fovAmount
end

local function GetClosestPlayer()
   local ClosestDistance, ClosestPlayer = math.huge, nil

   for _, Player in game:GetService("Players"):GetPlayers() do
       if Player ~= LPlayer then
           local Character = Player.Character
           if Character and Character:FindFirstChild("Humanoid") and Character.Humanoid.Health > 0 then
               local HumanoidRootPart = Character:FindFirstChild("HumanoidRootPart")
               if
                   HumanoidRootPart
                   and IsInFov(HumanoidRootPart.Position)


Comments

2
Log in to join the conversation. Login
manlemon555's profile picture
manlemon5553 years ago(edited)

Can you create wallbang script but for scp roleplaying

2
mumundjan09's profile picture
mumundjan093 years ago(edited)

it works well when it wants to work, however it feels very inconsistent. feels like the fov circle isnt accurate and the actual fov is much smaller. and it sometimes just fails to hit the target, am not talking about going 200 mph at like 3k studs, no like sometimes it just doesnt work even when point blank. Still very good when it wants to work. just a question, would this be able to be implemented into vehicles. not talking about just machine guns but like have the main gun on a tank be homing or some ****. just snipe helis out of the sky

1

Tags

More War Tycoon scripts

See all
War Tycoon
103.1k
135
3 years ago
Key System
War Tycoon
72.0k
132
3 years ago
War Tycoon
1.5k
2.4k
Approved 4 days ago
Key System
War Tycoon
2.5k
7.4k
3 weeks ago
War Tycoon
2.6k
735
Approved 1 month ago
Key System
Paid
War Tycoon
3.1k
12.4k
1 month ago
Key System
War Tycoon
3.4k
14.7k
2 months ago