"), local ScreenX, ScreenY = workspace.CurrentCamera.ViewportSize.X, workspace.CurrentCamera.ViewportSize.Y, local mouse = game:GetService("Players").LocalPlayer:GetMouse(), local your_head = game:GetService("Players").LocalPlayer.Character:FindFirstChild("Head"), if not bone and player.Character:FindFirstChild(bone) then, return camera:WorldToScreenPoint(player.Character[bone].Position), local screen_position, in_fov = ReturnF(player, "Head") -- end my life, if (not _G.ignoreFOV) and (_G.FOV~=-1) then, local distance2 = (Vector2.new(screen_position.X, screen_position.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude, aim_through_list[1] = game:GetService("Players").LocalPlayer.Character, for i, player_being_checked in pairs(game:GetService("Players"):GetPlayers()) do, local player_or_false, targets_coordinates = checksight(player_being_checked), local char = player_being_checked.Character, local target_torso = char and char:FindFirstChild "Torso", if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then, ray_start = your_head.Position + your_head.CFrame.lookVector * 16 + Vector3.new(0, 4, 0), ray_start = your_head.Position + Vector3.new(0, 4, 0), distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude, vector = (target_torso.Position - ray_start), if (not targets_coordinates) or (distance <= closest_distance) then, local new_ray = Ray.new(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character, local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character, if (hit and hit:isDescendantOf(char)) or _G.ignoreWalls then, if char.HumanoidRootPart:FindFirstChild("ESP") then, if char.HumanoidRootPart.ESP.Frame.BackgroundColor3 == Color3.new(1, 0.666667, 0) or char.HumanoidRootPart.ESP.Frame.BackgroundColor3 == Color3.new(0, 1, 0.498039) then, most_viable_player = player_being_checked, game:GetService("RunService").Heartbeat:connect(function(), for i,v in pairs(workspace.Camera:GetChildren()) do, if target.TeamColor ~= game:GetService("Players").LocalPlayer.TeamColor then, if target.Character:FindFirstChild("Head") then, wep.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,1.9) -- this is where the magic is, for i,v in pairs(workspace.CurrentCamera:GetChildren()) do, if v.Name ~= "Right Arm" and v.Name ~= "Left Arm" then, Current.Flame.CFrame = target.Character.Head.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is, Current.Flame.CFrame = target.Character.Torso.CFrame*CFrame.new(0,0,0.1) -- this is where the magic is, if ((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - target.Character.HumanoidRootPart.Position).magnitude) <= 150 then, elseif Type == "WeakSMG" or Type == "SMG" then, if ((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - target.Character.HumanoidRootPart.Position).magnitude) <= 125 then, for i,v in pairs(game:GetService("Players"):GetChildren()) do, if v.Team == game:GetService("Players").LocalPlayer.Team then, if v.Character:FindFirstChild("HumanoidRootPart") then, if v.Character.HumanoidRootPart:FindFirstChild("ESP") then, v.Character.HumanoidRootPart.ESP:Destroy(), if v.Team ~= game:GetService("Players").LocalPlayer.Team then, for i,v in pairs(v.Character:GetChildren()) do, for i,v in pairs(game:GetService("Players").LocalPlayer.Character:GetChildren()) do, v.Character.HumanoidRootPart.ESP.TextLabel.Text = v.Name.." Distance: "..math.floor(((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude)), local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p, (v.Character.HumanoidRootPart.CFrame.p - game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame.p).unit * 2000), local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore}, false, true), v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(0, 1, 0.498039), local ray = Ray.new(game:GetService("Players").LocalPlayer.Character.Head.CFrame.p, (v.Character.Head.CFrame.p - game:GetService("Players").LocalPlayer.Character.Head.CFrame.p).unit * 2000), v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0, 0), if SpecialSniper[i] == CurrentGun.Name then, if part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then, elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y >= Max then, elseif part.Size.X <= Min and part.Size.Z >= Max and part.Size.Y <= Min then, elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Min then, elseif part.Size.X <= Min and part.Size.Z >= Min and part.Size.Y <= Min then, elseif part.Size.X >= Max and part.Size.Z <= Min and part.Size.Y <= Min then, elseif part.Size.X >= Max and part.Size.Z >= Max and part.Size.Y <= Min-1 then, elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y <= Max then, elseif part.Size.X <= Min and part.Size.Z <= Min and part.Size.Y >= Max then, elseif part.Size.X <= Min or part.Size.Z <= Min or part.Size.Z <= Min then, pos1 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01), pos2 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01), TouchingParts = game.Workspace:FindPartsInRegion3(Reg), pos1 = part.Position + (part.Size/2) + Vector3.new(0.01,0.01,0.01), pos2 = part.Position - (part.Size/2) - Vector3.new(0.01,0.01,0.01), local part, position = workspace:FindPartOnRayWithIgnoreList(ray, {game:GetService("Players").LocalPlayer.Character, workspace.CurrentCamera, workspace.Ignore, parter, unpack(list)}, false, true), if ((parter.Position - v.Character.HumanoidRootPart.Position).magnitude) <= 40 then, v.Character.HumanoidRootPart.ESP.Frame.BackgroundColor3 = Color3.new(1, 0.666667, 0), local ESP = Instance.new("BillboardGui",v.Character.HumanoidRootPart), ESP.StudsOffset = Vector3.new(0, 0.75, 0), Frame.Position = UDim2.new(0.2, 0, 0.3, 0), Frame.BackgroundColor3 = Color3.new(1, 0.666667, 0), Label.Position = UDim2.new(0, 0, -0.1, 0), Label.TextStrokeColor3 = Color3.new(0,0,0), Label.BackgroundColor3 = Color3.new(1, 1, 1), Label.Text = v.Name.." Distance: "..math.floor(((game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position - v.Character.HumanoidRootPart.Position).magnitude)), C++ |
How To Reset Ao Smith Tankless Water Heater, How To Get Grandma's Eggnog Dying Light, Articles P