Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 2788229376 then
- print'da hood'
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
- NotifyLib.prompt('Moon God - E To Lock - Revamped by Dinja', 'Loading..', 5)
- NotifyLib.prompt('Moon God - Revamped by $zzz♡', 'best lock ong - dtbsilent', 5)
- NotifyLib.prompt('Moon God - Revamped by $zzz♡', '$ dtbsilent#0001, $zzz♡', 5)
- NotifyLib.prompt('Game Detected: Da Hood', '$ dtbsilent#0001, $zzz♡', 5)
- Settings = {
- rewrittenmain = {
- Enabled = true,
- Key = "e",
- DOT = true,
- AIRSHOT = true,
- NOTIF = true,
- FOV = math.huge,
- }
- }
- local SelectedPart = "UpperTorso"
- local Prediction = true
- local PredictionValue = 0.125
- local AnchorCount = 0
- local MaxAnchor = 50
- local CC = game:GetService"Workspace".CurrentCamera
- local Plr;
- local enabled = false
- local accomidationfactor = 0.136
- local mouse = game.Players.LocalPlayer:GetMouse()
- local placemarker = Instance.new("Part", game.Workspace)
- function makemarker(Parent, Adornee, Color, Size, Size2)
- local e = Instance.new("BillboardGui", Parent)
- e.Name = "PP"
- e.Adornee = Adornee
- e.Size = UDim2.new(Size, Size2, Size, Size2)
- e.AlwaysOnTop = Settings.rewrittenmain.DOT
- local a = Instance.new("Frame", e)
- if Settings.rewrittenmain.DOT == true then
- a.Size = UDim2.new(1, 0, 1, 0)
- else
- a.Size = UDim2.new(0, 0, 0, 0)
- end
- if Settings.rewrittenmain.DOT == true then
- a.Transparency = 0
- a.BackgroundTransparency = 0
- else
- a.Transparency = 1
- a.BackgroundTransparency = 1
- end
- a.BackgroundColor3 = Color
- local g = Instance.new("UICorner", a)
- if Settings.rewrittenmain.DOT == false then
- g.CornerRadius = UDim.new(0, 0)
- else
- g.CornerRadius = UDim.new(1, 1)
- end
- return(e)
- end
- local data = game.Players:GetPlayers()
- function noob(player)
- local character
- repeat wait() until player.Character
- local handler = makemarker(guimain, player.Character:WaitForChild(SelectedPart), Color3.fromRGB(255, 0, 0), 0.3, 3)
- handler.Name = player.Name
- player.CharacterAdded:connect(function(Char) handler.Adornee = Char:WaitForChild(SelectedPart) end)
- spawn(function()
- while wait() do
- if player.Character then
- end
- end
- end)
- end
- for i = 1, #data do
- if data[i] ~= game.Players.LocalPlayer then
- noob(data[i])
- end
- end
- game.Players.PlayerAdded:connect(function(Player)
- noob(Player)
- end)
- spawn(function()
- placemarker.Anchored = true
- placemarker.CanCollide = false
- if Settings.rewrittenmain.DOT == true then
- placemarker.Size = Vector3.new(8, 8, 8)
- else
- placemarker.Size = Vector3.new(0, 0, 0)
- end
- placemarker.Transparency = 0.50
- if Settings.rewrittenmain.DOT then
- makemarker(placemarker, placemarker, Color3.fromRGB(255, 0, 0), 0.40, 0)
- end
- end)
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
- if k == Settings.rewrittenmain.Key and Settings.rewrittenmain.Enabled then
- if enabled == true then
- enabled = false
- if Settings.rewrittenmain.NOTIF == true then
- Plr = getClosestPlayerToCursor()
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Unlocked",
- Duration = 3
- })
- end
- else
- Plr = getClosestPlayerToCursor()
- enabled = true
- if Settings.rewrittenmain.NOTIF == true then
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Target: "..tostring(Plr.Character.Humanoid.DisplayName),
- Duration = 3
- })
- end
- end
- end
- end)
- function getClosestPlayerToCursor()
- local closestPlayer
- local shortestDistance = Settings.rewrittenmain.FOV
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") then
- local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
- local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- return closestPlayer
- end
- local pingvalue = nil;
- local split = nil;
- local ping = nil;
- game:GetService"RunService".Stepped:connect(function()
- if enabled and Plr.Character ~= nil and Plr.Character:FindFirstChild("HumanoidRootPart") then
- placemarker.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor))
- else
- placemarker.CFrame = CFrame.new(0, 9999, 0)
- end
- end)
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- setreadonly(mt, false)
- mt.__namecall = newcclosure(function(...)
- local args = {...}
- if enabled and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" and Settings.rewrittenmain.Enabled and Plr.Character ~= nil then
- -- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor)
- --[[
- if Settings.rewrittenmain.AIRSHOT == true then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- args[3] = Plr.Character.LeftFoot.Position+(Plr.Character.LeftFoot.Velocity*PredictionValue)
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- ]]
- if Prediction == true then
- args[3] = Plr.Character[SelectedPart].Position+(Plr.Character[SelectedPart].Velocity*PredictionValue)
- else
- args[3] = Plr.Character[SelectedPart].Position
- end
- return old(unpack(args))
- end
- return old(...)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if Settings.rewrittenmain.AIRSHOT == true and enabled and Plr.Character ~= nil then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "LeftFoot"
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- SelectedPart = "HumanoidRootPart"
- end
- end)
- end
- if game.PlaceId == 5602055394 then
- print'hood modded'
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
- NotifyLib.prompt('Moon God - Q To Lock - Revamped by Valox', 'Loading..', 5)
- NotifyLib.prompt('Moon God - Revamped by Valox', 'best lock ong - valox', 5)
- NotifyLib.prompt('Moon God - Revamped by Valox', 'yarn#0001, Valox#8980', 5)
- NotifyLib.prompt('Game Detected: Hood Modded', 'yarn#0001, Valox#8980', 5)
- Settings = {
- rewrittenmain = {
- Enabled = true,
- Key = "q",
- DOT = true,
- AIRSHOT = true,
- NOTIF = true,
- FOV = math.huge,
- }
- }
- local SelectedPart = "UpperTorso"
- local Prediction = true
- local PredictionValue = 0.125
- local AnchorCount = 0
- local MaxAnchor = 50
- local CC = game:GetService"Workspace".CurrentCamera
- local Plr;
- local enabled = false
- local accomidationfactor = 0.136
- local mouse = game.Players.LocalPlayer:GetMouse()
- local placemarker = Instance.new("Part", game.Workspace)
- function makemarker(Parent, Adornee, Color, Size, Size2)
- local e = Instance.new("BillboardGui", Parent)
- e.Name = "PP"
- e.Adornee = Adornee
- e.Size = UDim2.new(Size, Size2, Size, Size2)
- e.AlwaysOnTop = Settings.rewrittenmain.DOT
- local a = Instance.new("Frame", e)
- if Settings.rewrittenmain.DOT == true then
- a.Size = UDim2.new(1, 0, 1, 0)
- else
- a.Size = UDim2.new(0, 0, 0, 0)
- end
- if Settings.rewrittenmain.DOT == true then
- a.Transparency = 0
- a.BackgroundTransparency = 0
- else
- a.Transparency = 1
- a.BackgroundTransparency = 1
- end
- a.BackgroundColor3 = Color
- local g = Instance.new("UICorner", a)
- if Settings.rewrittenmain.DOT == false then
- g.CornerRadius = UDim.new(0, 0)
- else
- g.CornerRadius = UDim.new(1, 1)
- end
- return(e)
- end
- local data = game.Players:GetPlayers()
- function noob(player)
- local character
- repeat wait() until player.Character
- local handler = makemarker(guimain, player.Character:WaitForChild(SelectedPart), Color3.fromRGB(255, 0, 0), 0.3, 3)
- handler.Name = player.Name
- player.CharacterAdded:connect(function(Char) handler.Adornee = Char:WaitForChild(SelectedPart) end)
- spawn(function()
- while wait() do
- if player.Character then
- end
- end
- end)
- end
- for i = 1, #data do
- if data[i] ~= game.Players.LocalPlayer then
- noob(data[i])
- end
- end
- game.Players.PlayerAdded:connect(function(Player)
- noob(Player)
- end)
- spawn(function()
- placemarker.Anchored = true
- placemarker.CanCollide = false
- if Settings.rewrittenmain.DOT == true then
- placemarker.Size = Vector3.new(8, 8, 8)
- else
- placemarker.Size = Vector3.new(0, 0, 0)
- end
- placemarker.Transparency = 0.50
- if Settings.rewrittenmain.DOT then
- makemarker(placemarker, placemarker, Color3.fromRGB(255, 0, 0), 0.40, 0)
- end
- end)
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
- if k == Settings.rewrittenmain.Key and Settings.rewrittenmain.Enabled then
- if enabled == true then
- enabled = false
- if Settings.rewrittenmain.NOTIF == true then
- Plr = getClosestPlayerToCursor()
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Unlocked",
- Duration = 3
- })
- end
- else
- Plr = getClosestPlayerToCursor()
- enabled = true
- if Settings.rewrittenmain.NOTIF == true then
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Target: "..tostring(Plr.Character.Humanoid.DisplayName),
- Duration = 3
- })
- end
- end
- end
- end)
- function getClosestPlayerToCursor()
- local closestPlayer
- local shortestDistance = Settings.rewrittenmain.FOV
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") then
- local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
- local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- return closestPlayer
- end
- local pingvalue = nil;
- local split = nil;
- local ping = nil;
- game:GetService"RunService".Stepped:connect(function()
- if enabled and Plr.Character ~= nil and Plr.Character:FindFirstChild("HumanoidRootPart") then
- placemarker.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor))
- else
- placemarker.CFrame = CFrame.new(0, 9999, 0)
- end
- end)
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- setreadonly(mt, false)
- mt.__namecall = newcclosure(function(...)
- local args = {...}
- if enabled and getnamecallmethod() == "FireServer" and args[2] == "MousePos" and Settings.rewrittenmain.Enabled and Plr.Character ~= nil then
- -- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor)
- --[[
- if Settings.rewrittenmain.AIRSHOT == true then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- args[3] = Plr.Character.LeftFoot.Position+(Plr.Character.LeftFoot.Velocity*PredictionValue)
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- ]]
- if Prediction == true then
- args[3] = Plr.Character[SelectedPart].Position+(Plr.Character[SelectedPart].Velocity*PredictionValue)
- else
- args[3] = Plr.Character[SelectedPart].Position
- end
- return old(unpack(args))
- end
- return old(...)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if Settings.rewrittenmain.AIRSHOT == true and enabled and Plr.Character ~= nil then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "LeftFoot"
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- SelectedPart = "HumanoidRootPart"
- end
- end)
- end
- if game.PlaceId == 9183932460 then
- print'Untitled Hood'
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
- local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
- NotifyLib.prompt('Moon God - Q To Lock - Revamped by Valox', 'Loading..', 5)
- NotifyLib.prompt('Moon God - Revamped by Valox', 'best lock ong - valox', 5)
- NotifyLib.prompt('Moon God - Revamped by Valox', 'yarn#0001, Valox#8980', 5)
- NotifyLib.prompt('Game Detected: Untitled Hood', 'yarn#0001, Valox#8980', 5)
- Settings = {
- rewrittenmain = {
- Enabled = true,
- Key = "e",
- DOT = true,
- AIRSHOT = true,
- NOTIF = true,
- FOV = math.huge,
- }
- }
- local SelectedPart = "UpperTorso"
- local Prediction = true
- local PredictionValue = 0.125
- local AnchorCount = 0
- local MaxAnchor = 50
- local CC = game:GetService"Workspace".CurrentCamera
- local Plr;
- local enabled = false
- local accomidationfactor = 0.136
- local mouse = game.Players.LocalPlayer:GetMouse()
- local placemarker = Instance.new("Part", game.Workspace)
- function makemarker(Parent, Adornee, Color, Size, Size2)
- local e = Instance.new("BillboardGui", Parent)
- e.Name = "PP"
- e.Adornee = Adornee
- e.Size = UDim2.new(Size, Size2, Size, Size2)
- e.AlwaysOnTop = Settings.rewrittenmain.DOT
- local a = Instance.new("Frame", e)
- if Settings.rewrittenmain.DOT == true then
- a.Size = UDim2.new(1, 0, 1, 0)
- else
- a.Size = UDim2.new(0, 0, 0, 0)
- end
- if Settings.rewrittenmain.DOT == true then
- a.Transparency = 0
- a.BackgroundTransparency = 0
- else
- a.Transparency = 1
- a.BackgroundTransparency = 1
- end
- a.BackgroundColor3 = Color
- local g = Instance.new("UICorner", a)
- if Settings.rewrittenmain.DOT == false then
- g.CornerRadius = UDim.new(0, 0)
- else
- g.CornerRadius = UDim.new(1, 1)
- end
- return(e)
- end
- local data = game.Players:GetPlayers()
- function noob(player)
- local character
- repeat wait() until player.Character
- local handler = makemarker(guimain, player.Character:WaitForChild(SelectedPart), Color3.fromRGB(255, 0, 0), 0.3, 3)
- handler.Name = player.Name
- player.CharacterAdded:connect(function(Char) handler.Adornee = Char:WaitForChild(SelectedPart) end)
- spawn(function()
- while wait() do
- if player.Character then
- end
- end
- end)
- end
- for i = 1, #data do
- if data[i] ~= game.Players.LocalPlayer then
- noob(data[i])
- end
- end
- game.Players.PlayerAdded:connect(function(Player)
- noob(Player)
- end)
- spawn(function()
- placemarker.Anchored = true
- placemarker.CanCollide = false
- if Settings.rewrittenmain.DOT == true then
- placemarker.Size = Vector3.new(8, 8, 8)
- else
- placemarker.Size = Vector3.new(0, 0, 0)
- end
- placemarker.Transparency = 0.50
- if Settings.rewrittenmain.DOT then
- makemarker(placemarker, placemarker, Color3.fromRGB(255, 0, 0), 0.40, 0)
- end
- end)
- game.Players.LocalPlayer:GetMouse().KeyDown:Connect(function(k)
- if k == Settings.rewrittenmain.Key and Settings.rewrittenmain.Enabled then
- if enabled == true then
- enabled = false
- if Settings.rewrittenmain.NOTIF == true then
- Plr = getClosestPlayerToCursor()
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Unlocked",
- Duration = 3
- })
- end
- else
- Plr = getClosestPlayerToCursor()
- enabled = true
- if Settings.rewrittenmain.NOTIF == true then
- game.StarterGui:SetCore("SendNotification", {
- Title = "yarn | revamped";
- Text = "Target: "..tostring(Plr.Character.Humanoid.DisplayName),
- Duration = 3
- })
- end
- end
- end
- end)
- function getClosestPlayerToCursor()
- local closestPlayer
- local shortestDistance = Settings.rewrittenmain.FOV
- for i, v in pairs(game.Players:GetPlayers()) do
- if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("HumanoidRootPart") then
- local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
- local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
- if magnitude < shortestDistance then
- closestPlayer = v
- shortestDistance = magnitude
- end
- end
- end
- return closestPlayer
- end
- local pingvalue = nil;
- local split = nil;
- local ping = nil;
- game:GetService"RunService".Stepped:connect(function()
- if enabled and Plr.Character ~= nil and Plr.Character:FindFirstChild("HumanoidRootPart") then
- placemarker.CFrame = CFrame.new(Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor))
- else
- placemarker.CFrame = CFrame.new(0, 9999, 0)
- end
- end)
- local mt = getrawmetatable(game)
- local old = mt.__namecall
- setreadonly(mt, false)
- mt.__namecall = newcclosure(function(...)
- local args = {...}
- if enabled and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" and Settings.rewrittenmain.Enabled and Plr.Character ~= nil then
- -- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor)
- --[[
- if Settings.rewrittenmain.AIRSHOT == true then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- args[3] = Plr.Character.LeftFoot.Position+(Plr.Character.LeftFoot.Velocity*PredictionValue)
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- else
- args[3] = Plr.Character.HumanoidRootPart.Position+(Plr.Character.HumanoidRootPart.Velocity*PredictionValue)
- end
- ]]
- if Prediction == true then
- args[3] = Plr.Character[SelectedPart].Position+(Plr.Character[SelectedPart].Velocity*PredictionValue)
- else
- args[3] = Plr.Character[SelectedPart].Position
- end
- return old(unpack(args))
- end
- return old(...)
- end)
- game:GetService("RunService").RenderStepped:Connect(function()
- if Settings.rewrittenmain.AIRSHOT == true and enabled and Plr.Character ~= nil then
- if game.Workspace.Players[Plr.Name].Humanoid:GetState() == Enum.HumanoidStateType.Freefall then -- Plr.Character:WaitForChild("Humanoid"):GetState() == Enum.HumanoidStateType.Freefall
- --// Airshot
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "LeftFoot"
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- --// Anchor Check
- if Plr.Character ~= nil and Plr.Character.HumanoidRootPart.Anchored == true then
- AnchorCount = AnchorCount + 1
- if AnchorCount >= MaxAnchor then
- Prediction = false
- wait(2)
- AnchorCount = 0;
- end
- else
- Prediction = true
- AnchorCount = 0;
- end
- SelectedPart = "HumanoidRootPart"
- end
- else
- SelectedPart = "HumanoidRootPart"
- end
- end)
- else
- print'a'
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement