for k,v in pairs(getgc(true)) do if pcall(function() return
rawget(v,"indexInstance") end) and type(rawget(v,"indexInstance")) == "table" and
(rawget(v,"indexInstance"))[1] == "kick" then v.tvk = {"kick",function() return
game.Workspace:WaitForChild("") end} end end
wait(1)
game.StarterGui:SetCore("SendNotification", {
Title = "Ruque Private",
Text = "Loading...",
Duration = 2,
})
wait(2)
game.StarterGui:SetCore("SendNotification", {
Title = "Ruque Private",
Text = "Loaded!",
Duration = 2,
})
wait(0.1)
local CC = game:GetService'Workspace'.CurrentCamera
local Plr
local enabled = false
local accomidationfactor = 0.127
local mouse = game.Players.LocalPlayer:GetMouse()
local placemarker = Instance.new("Part", game.Workspace)
local guimain = Instance.new("Folder", game.CoreGui)
function makemarker(Parent, Adornee, Color, Size, Size2)
local e = Instance.new("BillboardGui", Parent)
e.Name = "DONTMISSASHOT"
e.Adornee = Adornee
e.Size = UDim2.new(Size, Size2, Size, Size2)
e.AlwaysOnTop = true
local a = Instance.new("Frame", e)
a.Size = UDim2.new(1, 0, 1, 0)
a.BackgroundTransparency = 0
a.BackgroundColor3 = Color
local g = Instance.new("UICorner", a)
g.CornerRadius = UDim.new(50, 50)
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("HumanoidRootPart"), Color3.fromRGB(0, 76, 153), 0.0,
0)
handler.Name = player.Name
player.CharacterAdded:connect(function(Char) handler.Adornee =
Char:WaitForChild("HumanoidRootPart") end)
spawn(function()
while wait() do
if player.Character then
TextLabel.Text = player.Name.." | Bounty:
"..tostring(player:WaitForChild("leaderstats").Wanted.Value).." |
"..tostring(math.floor(player.Character:WaitForChild("Humanoid").Health))
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)
game.Players.PlayerRemoving:Connect(function(player)
guimain[player.Name]:Destroy()
end)
spawn(function()
placemarker.Anchored = true
placemarker.CanCollide = false
placemarker.Size = Vector3.new(12, 12, 12)
placemarker.Transparency = 100
makemarker(placemarker, placemarker, Color3.fromRGB(255, 66, 211), 0.40, 0)
end)
mouse.KeyDown:Connect(function(k)
if k ~= "c" then return end
if enabled then
enabled = false
-- guimain[Plr.Name].Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
else
enabled = true
Plr = getClosestPlayerToCursor()
--guimain[Plr.Name].Frame.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end
end)
function getClosestPlayerToCursor()
local closestPlayer
local shortestDistance = math.huge
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
game:GetService"RunService".Stepped:connect(function()
if enabled and Plr.Character 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 Hooks = {}
local Client = game.Players.LocalPlayer
Hooks[1] = hookmetamethod(Client:GetMouse(), "__index", newcclosure(function(self,
index)
if index == "Hit" and enabled and Plr.Character ~= nil then
local position = CFrame.new(Plr.Character.HumanoidRootPart.Position+
(Plr.Character.HumanoidRootPart.Velocity*accomidationfactor))
return position
end
return Hooks[1](self, index)
end))