Release _ Rogue Lineage Collector BOT v4

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

--Please dont take credits to yourself, this script fully made by alr#3496

--btw can u guys spam Ty#4064, send him friend request pls he wants some dms LOL

local ScriptContext = game:GetService("ScriptContext")


for i, v in next, getconnections(ScriptContext.Error) do
v:Disable()
end

local Players = game:GetService("Players")


local ScriptContext = game:GetService("ScriptContext")
local RunService = game:GetService("RunService")
local HttpService = game:GetService("HttpService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local StarterGui = game:GetService("StarterGui")

if not syn or not shared then


return
end

shared.URL = "your discord webhook url pls"


shared.WaitTime = 6.5

repeat wait() until Players and Players.LocalPlayer


repeat wait() until ReplicatedStorage:FindFirstChild("Requests") and
ReplicatedStorage:FindFirstChild("ServerInfo")
repeat wait() until game:IsLoaded()
wait(2)

rconsolename("alr#3496")

local Player = Players.LocalPlayer


local Character

local PlayerGui = Player:WaitForChild("PlayerGui")


local StartMenu = PlayerGui:FindFirstChild("StartMenu")

local Requests = ReplicatedStorage:WaitForChild("Requests")


local ServerInfo = ReplicatedStorage:WaitForChild("ServerInfo")

local NPCs = workspace:WaitForChild("NPCs")


local Collectors = {}
local CollectorsCounter = 0
local collectorfound = false
local collectorfoundmodel
local currentServer
local serverHoppedAlready = false
local serverhopTick = tick();
local checkedrn = false

Player.CharacterAdded:Connect(function()
Character = Player.Character

local ch = Character:WaitForChild("Humanoid")
local mt = getrawmetatable(game)
local nc = mt.__namecall
setreadonly(mt, false)

mt.__namecall = newcclosure(function(self, ...)


local method = getnamecallmethod()
local args = {...}

if method == "GetState" and self == ch then


return Enum.HumanoidStateType.Landed
end

return nc(self, ...)


end)

setreadonly(mt, true)
end)

getTime = function()
local time = os.date("*t")
return string.format("%02d:%02d:%02d -- ", time.hour, time.min, time.sec)
end

appendfile = function(path, contents)


writefile(tostring(loadfile(path)) .. contents .. "\n")
end

LoadSettings = function(path)
local str = readfile(path)
return HttpService:JSONDecode(str)
end

WriteSettings = function(path, settingsTable, mode)


writefile(path, HttpService:JSONEncode(settingsTable))
end

hookfunction(print, function(s)
printconsole("[-] " ..getTime()..s)
end)

hookfunction(warn, function(s)
printconsole("[&] "..getTime()..s)
end)

hookfunction(error, function(s)
printconsole("[!] " ..getTime()..s)
end)

for _,v in pairs(NPCs:GetChildren()) do


if v:IsA("Model") and v.Name == "Collector" and v:FindFirstChild("ClickDetector")
then
CollectorsCounter = CollectorsCounter +1
table.insert(Collectors, CollectorsCounter, v)
end
end

local Whitelisted = {"Controls", "Conquest", "PrivateServers", "PublicServers"}

SendWebhook = function(Message, Botname)


local Webhook = tostring(shared.URL)
if not string.find(Webhook, "https://discordapp.com/api/webhooks/") then
print("invalid url kid")
end
local Name;
local WakeUp = game:HttpGet("http://buritoman69.glitch.me");
local API = "http://buritoman69.glitch.me/webhook";
if (not Message or Message == "" or not Botname) then
Name = "alrage winning"
return print("nil or empty message")
else
Name = Botname;
end
local Body = {
["Key"] = tostring("applesaregood"),
["Message"] = tostring(Message),
["Name"] = Name,
["Webhook"] = Webhook
}
Body = HttpService:JSONEncode(Body);
local Data = game:HttpPost(API, Body, false, "application/json")
return Data or nil;
end

UseWebhook = function()
local _table = LoadSettings("collector.lua")
SendWebhook("@everyone
``game:GetService('ReplicatedStorage').Requests.JoinPublicServer:FireServer('"..str
ing.lower(game.JobId).."';``", "alrage winning btw")
end

Serverhop = function(seconds)
serverhopTick = tick();
wait(seconds)
if collectorfound == true or collectorfoundmodel ~= nil then return end
if not Requests or not ServerInfo or not PlayerGui or not
Requests:FindFirstChild("JoinPublicServer") then return end
local _table = LoadSettings("collector.lua")
if _table == nil or _table[1] == nil then
for i,v in pairs(ServerInfo:GetChildren()) do
if v.Name ~= game.JobId then
table.insert(_table, tostring(string.lower(v.Name)))
WriteSettings("collector.lua", _table)
rconsoleinfo(v.Name)
end
end
rconsolewarn("Saved all servers in a list.")

if _table[1] ~= nil and _table[1] ~= "" then


local Serverlist =
HttpService:JSONDecode(game:HttpGet("https://games.roblox.com/v1/games/3541987450/
servers/PUBLIC?sortOrder=Asc&limit=100"))
for i,v in next,Serverlist.data do
if v.playing < v.maxPlayers and tostring(v.id) == tostring(_table[1]) and v.playing
~= 0 then
RunService.RenderStepped:Wait()

if checkedrn == false then


checkedrn = true
rconsoleinfo("Checked "..tostring(game.JobId).." Collector:
"..tostring(collectorfound))
end
Requests.JoinPublicServer:FireServer(_table[1]);
serverHoppedAlready = true
table.remove(_table, 1)
WriteSettings("collector.lua", _table)
end
end
end
else
local servers = ServerInfo:GetChildren()
local randomServer = servers[math.random(1, #servers)]
RunService.RenderStepped:Wait()

if checkedrn == false then


checkedrn = true
rconsoleinfo("Checked "..tostring(game.JobId).." Collector:
"..tostring(collectorfound))
end
serverHoppedAlready = true
Requests.JoinPublicServer:FireServer(randomServer.Name)
end
end

Check = function()
if StartMenu and Character == nil then
for i,v in pairs(StartMenu:GetChildren()) do
if v and table.find(Whitelisted, v.Name) then
v.Visible = false
end
end
StartMenu.Finish:FireServer();
RunService.RenderStepped:Wait()
if StartMenu then
StartMenu.Enabled = false;
end
end
repeat wait() until Character and Character:FindFirstChild("CharacterHandler") and
Character:FindFirstChild("CharacterHandler"):FindFirstChild("Input")
wait(1.5)
RunService.RenderStepped:Wait()
local lastTick = tick()
repeat
wait()
if not Character:FindFirstChildOfClass("ForceField") then
Character:Destroy()
RunService.RenderStepped:Wait()
Player:Kick("Saved from losing percentage please rejoin.")
break
end
until tick() - lastTick >= shared.WaitTime
for i,v in pairs(Collectors) do
local Torso = v.HumanoidRootPart
local raycastt = Ray.new(Torso.Position + Vector3.new(0, 1, 0),
Torso.CFrame.lookVector * 100)
local hit = workspace:FindPartOnRay(raycastt, v)

if hit and hit:IsA("Part") and hit.Transparency == 1 then


UseWebhook()
collectorfound = true
collectorfoundmodel = v

StarterGui:SetCore("SendNotification", {
Title = "Collector Detected!";
Text = "alrage winning doe";
Duration = 9999999999;
Button1 = "ight"
})
end
if collectorfound == false and collectorfoundmodel == nil then
Serverhop(0.1)
end
if collectorfound == true then
local Time = TweenInfo.new(((Torso.CFrame.p -
Character.HumanoidRootPart.Position).Magnitude / 160))
local Data = {CFrame = CFrame.new(Torso.CFrame.p.X, Torso.CFrame.p.Y,
Torso.CFrame.p.Z) + Vector3.new(0, 50, 0)}
local Tween = TweenService:Create(Character.HumanoidRootPart.Position, Time, Data)

Tween:Play()
Tween.Completed:Wait()
Character:MoveTo(Torso.CFrame.p)
end
local ClickDetector = v:WaitForChild("ClickDetector")
local Distance = string.format("%d", (Player.Character.Torso.CFrame.p -
Torso.CFrame.p).Magnitude)
if ClickDetector and tonumber(Distance) <
(tonumber(ClickDetector.MaxActivationDistance)) then
for i = 1, 5 do
fireclickdetector(Torso.ClickDetector)
wait()
end
end
end
end

Check()

while wait(3.5) do
if checkedrn == true and collectorfound == false and collectorfoundmodel == nil
then
local _table = LoadSettings("collector.lua")
if _table[1] ~= nil and _table[1] ~= "" and _table[1] ~= " " then
RunService.RenderStepped:Wait()
Requests.JoinPublicServer:FireServer(string.lower(tostring(_table[1])));

if checkedrn == false then


checkedrn = true
rconsoleinfo("Checked "..tostring(game.JobId).." Collector:
"..tostring(collectorfound))
end
table.remove(_table, 1)
WriteSettings("collector.lua", _table)
serverHoppedAlready = true
end
end
end

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy