[VADER] Star Wars: Battleground
4.6k Views
2 Executions

[VADER] *Script*

Star Wars: Battleground
crykidz
crykidzFirst script
4 years ago
Please login to perform these actions:

[VADER] *Script* is a Star Wars: Battleground script for Roblox, uploaded to ScriptBlox on Jul 18, 2022.

Does it work?

No reports yet

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

Also noticed:

Description

- - - * ESP, SILENT AIM, AUTO HEADSHOT. - - - *

Updates

  1. Script edited: Create script

View Raw
local players = game:GetService('Players')
local input = game:GetService('UserInputService')
local replicated = game:GetService("ReplicatedStorage")
local localPlayer = players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = localPlayer:GetMouse()

local function nearestTarget(bone : string)
   local info = {
       distance = math.huge,
       player = nil,
       character = nil,
       bone = nil
   }

   for _, player in next, players.GetPlayers(players) do
       if player == localPlayer then continue end
       local areFriendly = player.Team == localPlayer.Team
       local character = player.Character

       local bone = character and character.FindFirstChild(character, bone)
       local humanoid = character and character.FindFirstChild(character, 'Humanoid')
       if areFriendly or not bone or not humanoid or humanoid.Health <= 0 then continue end

       local screenPoint, onScreen = camera.WorldToScreenPoint(camera, bone.Position)
       if not onScreen then continue end
       local mousePosition = input.GetMouseLocation(input)
       local distance = (Vector2.new(screenPoint.x, screenPoint.y) - mousePosition).magnitude
       if distance > info.distance then continue end
     
       info = {
           distance = distance,
           player = player,
           character = character,
           point = screenPoint,
           bone = bone
       }
   
   end



Comments

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

really brutal

2
knowing's profile picture
knowing4 years ago(edited)

op

1