If Character and Character.Parent ~= Characters thenĮlseif Character:FindFirstChild('Hitbox') and Character.Hitbox:FindFirstChild('Head') then Local UserInputService, AimEnable = game:GetService('UserInputService'), false If Character = workspace.Characters:FindFirstChild(LocalPlayer.Name) thenĮlseif GetTeam(Character) ~= GetTeam(LocalPlayer) then Return ScreenPosition and Center and (ScreenPosition - Center) or nil If not Character or CharacterDistance > Distance thenĬharacter, CharacterDistance, ScreenPosition = v, Distance, Vec2 Local Distance = (Vec2 - Center).magnitude Local Vec2 = Vector2.new(Position.X, Position.Y) Local Position, OnScreen = Camera:WorldToViewportPoint(v.) If v.Name ~= LocalPlayer.Name and GetTeam(v) ~= GetTeam(LocalPlayer) and v:FindFirstChild('Health') and v.Health.Value > 0 and v:FindFirstChild('Hitbox') and v.Hitbox:FindFirstChild('Head') then Local Character, CharacterDistance, ScreenPosition = nil, 0, nilįor i,v in next, Characters:GetChildren() do Local Camera, Div = workspace.CurrentCamera, Vector2.new(2,2) ![]() If v.Name = 'NameLabel' and v.Text = Name then Local Leaderboard = įor i,v in next, Leaderboard.Teams:GetDescendants() do Local LocalPlayer, Characters, ESPList, LocalCharacter = game:GetService('Players').LocalPlayer, workspace.Characters,
0 Comments
Leave a Reply. |