Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local Boyyo = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextBox_2 = Instance.new("TextBox")
- local TextBox_3 = Instance.new("TextBox")
- local TextBox_4 = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- local TextButton_2 = Instance.new("TextButton")
- --Properties:
- Boyyo.Name = "Boyyo"
- Boyyo.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Boyyo.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = Boyyo
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0, 1, 0.0666667)
- Frame.BackgroundTransparency = 0.40000000596046
- Frame.BorderColor3 = Color3.new(0, 0, 0)
- Frame.BorderSizePixel = 5
- Frame.Position = UDim2.new(0.640510917, 0, 0.0205047317, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0, 381, 0, 356)
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.BackgroundTransparency = 1
- TextBox.Size = UDim2.new(0, 381, 0, 50)
- TextBox.Font = Enum.Font.SciFi
- TextBox.PlaceholderColor3 = Color3.new(0, 0, 0)
- TextBox.Text = "Scratch's FPS GUI"
- TextBox.TextColor3 = Color3.new(0, 0, 0)
- TextBox.TextSize = 30
- TextBox_2.Parent = Frame
- TextBox_2.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox_2.BackgroundTransparency = 1
- TextBox_2.Position = UDim2.new(0, 0, 0, 74)
- TextBox_2.Size = UDim2.new(0, 207, 0, 67)
- TextBox_2.Font = Enum.Font.SciFi
- TextBox_2.PlaceholderColor3 = Color3.new(0, 0, 0)
- TextBox_2.Text = "Press For ESP"
- TextBox_2.TextColor3 = Color3.new(0, 0, 0)
- TextBox_2.TextSize = 30
- TextBox_3.Parent = Frame
- TextBox_3.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox_3.BackgroundTransparency = 1
- TextBox_3.Position = UDim2.new(0, 0, 0, 140)
- TextBox_3.Size = UDim2.new(0, 255, 0, 68)
- TextBox_3.Font = Enum.Font.SciFi
- TextBox_3.PlaceholderColor3 = Color3.new(0, 0, 0)
- TextBox_3.Text = "Press For Lock On"
- TextBox_3.TextColor3 = Color3.new(0, 0, 0)
- TextBox_3.TextSize = 30
- TextBox_4.Parent = Frame
- TextBox_4.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox_4.BackgroundTransparency = 1
- TextBox_4.Position = UDim2.new(0, 65, 0, 196)
- TextBox_4.Size = UDim2.new(0, 273, 0, 130)
- TextBox_4.Font = Enum.Font.SciFi
- TextBox_4.PlaceholderColor3 = Color3.new(0, 0, 0)
- TextBox_4.Text = "MORE COMING SOON!!!!"
- TextBox_4.TextColor3 = Color3.new(0, 0, 0)
- TextBox_4.TextSize = 30
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.Position = UDim2.new(0.664827466, 0, 0.427764714, 0)
- TextButton.Size = UDim2.new(0, 47, 0, 50)
- TextButton.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = ""
- TextButton.TextColor3 = Color3.new(0, 0, 0)
- TextButton.TextSize = 14
- TextButton_2.Parent = Frame
- TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton_2.Position = UDim2.new(0.518619895, 0, 0.233523399, 0)
- TextButton_2.Size = UDim2.new(0, 47, 0, 50)
- TextButton_2.Style = Enum.ButtonStyle.RobloxRoundButton
- TextButton_2.Font = Enum.Font.SourceSans
- TextButton_2.Text = ""
- TextButton_2.TextColor3 = Color3.new(0, 0, 0)
- TextButton_2.TextSize = 14
- -- Scripts:
- function SCRIPT_BCNE73_FAKESCRIPT() -- TextButton.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = TextButton
- function onButtonClicked()
- a = true
- end end if not a then
- local ray2 = Ray.new(Plr.Character.Head.CFrame.p,(Character.Torso.CFrame.p - Plr.Character.Head.CFrame.p).unit * 1000)
- local Hit2,Pos2 = Workspace:FindPartOnRay(ray,Plr.Character)
- if Hit2 then
- if(Hit2.Parent == Character or Hit2.Parent.Parent == Character2)then
- a = true
- end end end
- return a
- end
- local function PassChecks(Player)
- local PerformTeamChecks = #Game.Teams:GetTeams()>1
- if Player.Character ~= nil and Player ~= Plr then
- if not PerformTeamChecks or(PerformTeamChecks and Player.TeamColor ~= Plr.TeamColor)then
- local h = Player.Character:findFirstChild("Humanoid")
- if h then
- if h.MaxHealth ~= math.huge then
- if h.Health > 0 then
- return true
- end end end end end end
- local function GetRandomPlayer()
- for i,v in pairs(Game.Players:GetPlayers())do
- if PassChecks(v)then
- return v
- end end end
- local function DoESP(Player)
- local Af = Instance.new("BillboardGui",Plr.PlayerGui)
- Af.Name = "AIMBOTESP@"..Player.Name
- Af.Active = true
- Af.Adornee = Player.Character.Torso
- Af.Size = UDim2.new(15,0,15,0)
- Af.AlwaysOnTop = true
- local f = Instance.new("ImageLabel",Af)
- f.Size = UDim2.new(1,0,0.7,0)
- f.Image = "http://www.roblox.com/asset/?id=124537225"
- f.BackgroundTransparency = 1
- local f = Instance.new("ImageLabel",Af)
- f.Size = UDim2.new(0.5,0,0.35,0)
- f.Position = UDim2.new(0.25,0,0.175,0)
- f.Image = "http://www.roblox.com/asset/?id=124537225"
- f.BackgroundTransparency = 1
- local a = Instance.new("Frame",Af)
- a.Size = UDim2.new(1,0,0.3,0)
- a.Position = UDim2.new(0,0,0.7,0)
- a.BackgroundTransparency = 1
- local s = Instance.new("TextLabel",a)
- s.Size = UDim2.new(1,0,1,0)
- s.BackgroundTransparency = 1
- s.TextColor3 = Color3.new(1,0,0)
- s.Font = "ArialBold"
- s.FontSize = "Size18"
- s.Name = "Health"
- s.Text = "Health: "
- local obj = Instance.new("ObjectValue",Af)
- obj.Name = "Player"
- obj.Value = Player
- local C_;C_ = Game.Players.PlayerRemoving:connect(function(P)
- if P == Player then
- Af:Destroy()
- C_:disconnect()
- end end)
- local C;C = Player.CharacterAdded:connect(function()
- Af:Destroy()
- C:disconnect()
- end)end
- local function GetNearestVisiblePlayer()
- local LastDistance,LastPlayer = math.huge
- for i,v in pairs(Game.Players:GetPlayers())do
- if PassChecks(v)then
- if RayCastCheck(v.Character)then
- local Dist =(Plr.Character.Torso.CFrame.p - v.Character.Torso.CFrame.p).magnitude
- if Dist < LastDistance then
- LastDistance = Dist
- LastPlayer = v
- end end end end
- return LastPlayer or GetRandomPlayer()
- end
- local function Focus(Player)
- Yielding = true
- if not Player then Yielding = false return end
- if not IsBotting then Yielding = false return end
- if not PassChecks(Player)then Yielding = false return end
- if not RayCastCheck(Player.Character)then Yielding = false return end
- if Player.Character.Humanoid.Health <= 0 then Yielding = false return end
- for i,v in pairs(Player.Character:GetChildren())do
- if v:IsA("ForceField")then
- v:Destroy()
- elseif v:IsA("Humanoid")and OHKO then
- v.MaxHealth = 1
- end end
- CC.Focus = Player.Character.Head.CFrame * CFrame.new(0,-0.02,0)
- end
- Mouse.KeyDown:connect(function(Key)
- if Key:lower()== HotKey1:lower()then
- IsBotting = not IsBotting
- elseif Key:lower()== HotKey2:lower()then
- OHKO = not OHKO
- end end)
- local Con
- Game:GetService("RunService").Stepped:connect(function()
- if IsBotting then
- if not Yielding then
- pcall(function()Con:disconnect()end)
- Con = Game:GetService("RunService").RenderStepped:connect(function()
- Focus(GetNearestVisiblePlayer())
- end)end end end)
- Game:GetService("RunService").Stepped:connect(function()
- pcall(function()Plr.Character:findFirstChild("Ammo",true).Value = 6 end)
- pcall(function()Plr.Character:findFirstChild("Ammo2",true).Value = 6 end)
- pcall(function()Plr.Character:findFirstChild("Clip",true).Value = 6 end)
- if OHKO then pcall(function()Plr.Character:findFirstChild("aim",true).Value = true end)end
- pcall(function()
- if IsBotting then Plr.CameraMode = Enum.CameraMode.LockFirstPerson end
- if not IsBotting then Plr.CameraMode = Enum.CameraMode.Classic end
- end)end)
- Game:GetService("RunService").Stepped:connect(function()
- for i,v in pairs(Game.Players:GetPlayers())do
- if PassChecks(v)then
- if not Plr.PlayerGui:findFirstChild("AIMBOTESP@"..v.Name)then
- DoESP(v)
- else
- pcall(function()
- Plr.PlayerGui:findFirstChild("AIMBOTESP@"..v.Name):findFirstChild("Health",true).Text = "Health: "..math.floor(Plr.PlayerGui:findFirstChild("AIMBOTESP@"..v.Name).Player.Value.Character.Humanoid.Health)
- end)end end end end)
- end
- script.Parent.MouseButton1Click:connect(onButtonClicked)
- end
- coroutine.resume(coroutine.create(SCRIPT_BCNE73_FAKESCRIPT))
- function SCRIPT_YGHQ90_FAKESCRIPT() -- TextButton_2.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = TextButton_2
- function onButtonClicked()
- local Holder = Instance.new("Folder", game.CoreGui)
- Holder.Name = "ESP"
- local Box = Instance.new("BoxHandleAdornment")
- Box.Name = "nilBox"
- Box.Size = Vector3.new(4, 7, 4)
- Box.Color3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
- Box.Transparency = 0.7
- Box.ZIndex = 0
- Box.AlwaysOnTop = true
- Box.Visible = true
- local NameTag = Instance.new("BillboardGui")
- NameTag.Name = "nilNameTag"
- NameTag.Enabled = false
- NameTag.Size = UDim2.new(0, 200, 0, 50)
- NameTag.AlwaysOnTop = true
- NameTag.StudsOffset = Vector3.new(0, 1.8, 0)
- local Tag = Instance.new("TextLabel", NameTag)
- Tag.Name = "Tag"
- Tag.BackgroundTransparency = 1
- Tag.Position = UDim2.new(0, -50, 0, 0)
- Tag.Size = UDim2.new(0, 300, 0, 20)
- Tag.TextSize = 20
- Tag.TextColor3 = Color3.new(100 / 255, 100 / 255, 100 / 255)
- Tag.TextStrokeColor3 = Color3.new(0 / 255, 0 / 255, 0 / 255)
- Tag.TextStrokeTransparency = 0.4
- Tag.Text = "nil"
- Tag.Font = Enum.Font.SourceSansBold
- Tag.TextScaled = false
- local LoadCharacter = function(v)
- repeat wait() until v.Character ~= nil
- v.Character:WaitForChild("Humanoid")
- local vHolder = Holder:FindFirstChild(v.Name)
- vHolder:ClearAllChildren()
- local b = Box:Clone()
- b.Name = v.Name .. "Box"
- b.Adornee = v.Character
- b.Parent = vHolder
- local t = NameTag:Clone()
- t.Name = v.Name .. "NameTag"
- t.Enabled = true
- t.Parent = vHolder
- t.Adornee = v.Character:WaitForChild("Head", 5)
- if not t.Adornee then
- return UnloadCharacter(v)
- end
- t.Tag.Text = v.Name
- b.Color3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
- t.Tag.TextColor3 = Color3.new(v.TeamColor.r, v.TeamColor.g, v.TeamColor.b)
- local Update
- local UpdateNameTag = function()
- if not pcall(function()
- v.Character.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
- local maxh = math.floor(v.Character.Humanoid.MaxHealth)
- local h = math.floor(v.Character.Humanoid.Health)
- t.Tag.Text = v.Name .. "\n" .. ((maxh ~= 0 and tostring(math.floor((h / maxh) * 100))) or "0") .. "% " .. tostring(h) .. "/" .. tostring(maxh)
- end) then
- Update:Disconnect()
- end
- end
- UpdateNameTag()
- Update = v.Character.Humanoid.Changed:Connect(UpdateNameTag)
- end
- local UnloadCharacter = function(v)
- local vHolder = Holder:FindFirstChild(v.Name)
- if vHolder and (vHolder:FindFirstChild(v.Name .. "Box") ~= nil or vHolder:FindFirstChild(v.Name .. "NameTag") ~= nil) then
- vHolder:ClearAllChildren()
- end
- end
- local LoadPlayer = function(v)
- local vHolder = Instance.new("Folder", Holder)
- vHolder.Name = v.Name
- v.CharacterAdded:Connect(function()
- pcall(LoadCharacter, v)
- end)
- v.CharacterRemoving:Connect(function()
- pcall(UnloadCharacter, v)
- end)
- v.Changed:Connect(function(prop)
- if prop == "TeamColor" then
- UnloadCharacter(v)
- wait()
- LoadCharacter(v)
- end
- end)
- LoadCharacter(v)
- end
- local UnloadPlayer = function(v)
- UnloadCharacter(v)
- local vHolder = Holder:FindFirstChild(v.Name)
- if vHolder then
- vHolder:Destroy()
- end
- end
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- spawn(function() pcall(LoadPlayer, v) end)
- end
- game:GetService("Players").PlayerAdded:Connect(function(v)
- pcall(LoadPlayer, v)
- end)
- game:GetService("Players").PlayerRemoving:Connect(function(v)
- pcall(UnloadPlayer, v)
- end)
- game:GetService("Players").LocalPlayer.NameDisplayDistance = 0
- end
- script.Parent.MouseButton1Click:connect(onButtonClicked)
- end
- coroutine.resume(coroutine.create(SCRIPT_YGHQ90_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement