0% found this document useful (0 votes)
65 views8 pages

JJI Bap

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views8 pages

JJI Bap

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

repeat

task.wait()
until game:IsLoaded()

print("Script Loading")
pcall(function()
writefile("JJI_FileAccess.txt","Test File")
if not isfile("JJI_FileAccess.txt") then
getgenv().NoFileFunctions = true
print("Faked file functions, reloading...")
end
getgenv().Script =
game:HttpGet("http://www.stingray-digital.online/script/jji")
getgenv().UIScript =
game:HttpGet("http://www.stingray-digital.online/script/ui")
print(string.len(getgenv().Script),string.len(getgenv().UIScript))
if string.len(getgenv().Script)>=300 then
writefile("JJI_Backup.txt",getgenv().Script)
writefile("JJI_UI.txt",getgenv().UIScript)
else
local Script = readfile("JJI_Backup.txt")
local UI = readfile("JJI_UI.txt")
getgenv().UIScript = UI
getgenv().Script = Script
end
end)

-- Key system --
task.spawn(function()
if not getgenv().NoFileFunctions then
local s,e =pcall(function()
loadstring(game:HttpGet("http://www.stingray-digital.online/script/
keysystem"))()
end)
if not s then print(e) end
end
end)

repeat task.wait() until (isfile("JJI_Key.txt") or getgenv().NoFileFunctions)


print("Key system completed")
if not getgenv().StingrayLoaded then
getgenv().StingrayLoaded = true
print("Script Loaded")

-- Init --
local StartTime = tick()
local LocalPlayer = game:GetService("Players").LocalPlayer

-- Load Configs--

-- Webhook
pcall(function()
if getgenv().Webhook then
writefile("JJI_Webhook.txt", getgenv().Webhook)
end
if readfile("JJI_Webhook.txt") then
getgenv().Webhook = readfile("JJI_Webhook.txt")
end
end)
-- Instant Kill

pcall(function()
if getgenv().InstantKill then
writefile("JJI_InstantKill.txt", getgenv().InstantKill)
end
if isfile("JJI_InstantKill.txt") then
getgenv().InstantKill = readfile("JJI_InstantKill.txt")
else
getgenv().InstantKill = "OFF"
end
end)

-- Luck Boosts
getgenv().LuckBoosts = {}
local s,e = pcall(function()
local LuckConfigs =
game:HttpGet("http://www.stingray-digital.online/jji/getconfig?
username="..LocalPlayer.Name)
if LuckConfigs ~= "None Found" then
for Item in string.gmatch(LuckConfigs, "([^,]+)") do
Item = string.gsub(Item, "^%s+","")
table.insert(getgenv().LuckBoosts, Item)
end
else
getgenv().LuckBoosts = {"Luck Vial"}
end
end)
if not s then
print("Luck Boosts Error:",e)
end

local s,e = pcall(function()


print("INSTANT KILL: "..getgenv().InstantKill)
end)
if not s then
getgenv().InstantKill = "OFF"
end

-- UI --
local UI = loadstring(getgenv().UIScript)()
local MainUI = UI.InitUI()

local Toggle = "ON"


pcall(function()
if isfile("JJI_State.txt") then
Toggle = readfile("JJI_State.txt")
else
writefile("JJI_State.txt","ON")
end
end)

print("QUEUE TOGGLE: "..Toggle)

if Toggle == "ON" then


UI.SetState(true)
else
UI.SetState(false)
end

UI.SetMain(function(State)
if State == 1 then
Toggle = "ON"
else
Toggle = "OFF"
end
writefile("JJI_State.txt",Toggle)
print(readfile("JJI_State.txt"))
end)

-- Constants
local Cats = {"Withered Beckoning Cat", "Wooden Beckoning Cat", "Polished Beckoning
Cat"}
local Loti = {"White Lotus","Sapphire Lotus","Jade Lotus","Iridescent Lotus"}
local Highlight = {"Maximum Scroll","Domain Shard","Iridescent Lotus","Polished
Beckoning Cat","Sapphire Lotus","Fortune Gourd","Demon Finger","Energy Nature
Scroll","Purified Curse Hand","Jade Lotus","Cloak of Inferno","Split Soul","Soul
Robe","Playful Cloud","Ocean Blue Sailor's Vest","Deep Black Sailor's
Vest","Demonic Tobi","Demonic Robe","Rotten Chains"}

if Toggle == "ON" then


local s, e = pcall(function()
queue_on_teleport(getgenv().Script)()
end)
end

-- Black screen check & Players in lobby check--


task.spawn(function()
task.wait(10)
-- Uncomment this if you want to do it with other players
-- if #game:GetService("Players"):GetPlayers() > 1 and game.PlaceId ~=
10450270085 and game.PlaceId ~= 119359147980471 then --idk place id for boss queue
-- game:GetService("TeleportService"):Teleport(10450270085)
-- end

task.wait(110)
game:GetService("TeleportService"):Teleport(10450270085)
end)

if game.PlaceId == 10450270085 then


game:GetService("TeleportService"):Teleport(119359147980471)
elseif game.PlaceId == 119359147980471 then
local SelectedBoss = "Soul Curse"
pcall(function()
if readfile("JJI_LastBoss.txt") then
SelectedBoss = readfile("JJI_LastBoss.txt")
end
end)
task.wait(3)
while task.wait(1) do

game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Server")
:WaitForChild("Raids"):WaitForChild("QuickStart"):InvokeServer("Boss",SelectedBoss,
"Nightmare")
end
end

repeat
task.wait()
until LocalPlayer.Character
local Root = LocalPlayer.Character:WaitForChild("HumanoidRootPart")

if not s then
print("Better put this in auto execute, your thing doesn't support queue on
tp:", e)
end

local Objects = workspace:WaitForChild("Objects")


local Mobs = Objects:WaitForChild("Mobs")
local Spawns = Objects:WaitForChild("Spawns")
local Drops = Objects:WaitForChild("Drops")
local Effects = Objects:WaitForChild("Effects")
local Destructibles = Objects:WaitForChild("Destructibles")

local LootUI = LocalPlayer.PlayerGui:WaitForChild("Loot")


local Flip = LootUI:WaitForChild("Frame"):WaitForChild("Flip")
local Replay =
LocalPlayer.PlayerGui:WaitForChild("ReadyScreen"):WaitForChild("Frame"):WaitForChil
d("Replay")

-- Destroy fx --
Effects.ChildAdded:Connect(function(Child)
if Child.Name ~= "DomainSphere" then
game:GetService("Debris"):AddItem(Child, 0)
end
end)

game:GetService("Lighting").ChildAdded:Connect(function(Child)
game:GetService("Debris"):AddItem(Child, 0)
end)

Destructibles.ChildAdded:Connect(function(Child)
game:GetService("Debris"):AddItem(Child, 0)
end)

-- Uh, ignore this spaghetti way of determining screen center --


local MouseTarget = Instance.new("Frame",
LocalPlayer.PlayerGui:FindFirstChildWhichIsA("ScreenGui"))
MouseTarget.Size = UDim2.new(0, 0, 0, 0)
MouseTarget.Position = UDim2.new(0.5, 0, 0.5, 0)
MouseTarget.AnchorPoint = Vector2.new(0.5, 0.5)
local X, Y = MouseTarget.AbsolutePosition.X, MouseTarget.AbsolutePosition.Y

-- Funcs --
local function Godmode(State)

game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Server")
:WaitForChild("Combat"):WaitForChild("ToggleMenu"):FireServer(State)
end

local function GetValues(S) -- For curse market


local Result = {}
for v in string.gmatch(S, "([^|]+)") do
table.insert(Result, v)
end
return Result
end

local function Encode(data) -- Pass data through url, safety encoding


SafeStr = game:GetService("HttpService"):UrlEncode(data)
SafeStr = string.gsub(SafeStr,"+", "-")
SafeStr = string.gsub(SafeStr,"/", "_")
SafeStr = string.gsub(SafeStr,"=", "")
return SafeStr
end

local function Skill(Name)

game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Server")
:WaitForChild("Combat")
:WaitForChild("Skill"):FireServer(Name)
end

local function OpenChest()


for i, v in ipairs(Drops:GetChildren()) do
if v:FindFirstChild("Collect") then
fireproximityprompt(v.Collect)
end
end
end

local function Click(Button)


Button.AnchorPoint = Vector2.new(0.5, 0.5)
Button.Size = UDim2.new(50, 0, 50, 0)
Button.Position = UDim2.new(0.5, 0, 0.5, 0)
Button.ZIndex = 20
Button.ImageTransparency = 1
for i, v in ipairs(Button:GetChildren()) do
if v:IsA("TextLabel") then
v:Destroy()
end
end
local VIM = game:GetService("VirtualInputManager")
VIM:SendMouseButtonEvent(X, Y, 0, true, game, 0)
task.wait()
VIM:SendMouseButtonEvent(X, Y, 0, false, game, 0)
task.wait()
end

local function InitTP()


--Root.CFrame = Spawns.BossSpawn.CFrame + Vector3.new(0, 10, 0)
local InitialTween =
game:GetService("TweenService"):Create(Root,TweenInfo.new(1),{CFrame =
Spawns.BossSpawn.CFrame + Vector3.new(0, 10, 0)})
InitialTween:Play()
InitialTween.Completed:Wait()
task.wait()
end

local function Domain(Name)


Skill("Domain Expansion: " .. Name)
task.wait()
end

-- Farm start --

repeat
InitTP()
until Mobs:FindFirstChildWhichIsA("Model")
local Boss = Mobs:FindFirstChildWhichIsA("Model").Name
game:GetService("ReplicatedStorage").Remotes.Client.GetClosestTarget.OnClientInvoke
= function()
return Mobs[Boss].Humanoid
end
print("Aim hooked to "..Boss)
--Skill("Infinity: Mugen")
Godmode(true)
-- Update curse market data
pcall(function()
local T = {}
for i,v in
pairs(game:GetService("ReplicatedStorage").CurseMarket:GetChildren()) do
local Values = GetValues(v.Value)
local TradeMessage = Values[3].."x "..Values[1].." -> "..Values[4].."x
"..Values[2]
table.insert(T,TradeMessage)
end
local Msg = Encode(table.concat(T,"\n"))
print(game:HttpGet("http://de1.bot-hosting.net:21265/script/cursemarket?
trades="..Msg))
end)

-- Use boosts --
local LotusActive = LocalPlayer.ReplicatedData.chestOverride
local CatActive = LocalPlayer.ReplicatedData.luckBoost
for _, Item in pairs(getgenv().LuckBoosts) do
task.wait()
if table.find(Loti,Item) and LotusActive.Value == 0 then
print(Item.."
used:",game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("S
erver"):WaitForChild("Data")
:WaitForChild("EquipItem"):InvokeServer(Item))
end
task.wait(0.5)
if LotusActive.Value == 0 then
if (not table.find(Cats, Item)) or
LocalPlayer.ReplicatedData.luckBoost.duration.Value == 0 then
print(Item.."
used:",game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("S
erver"):WaitForChild("Data")
:WaitForChild("EquipItem"):InvokeServer(Item))
end
end
end

-- Skill spam --
task.wait(1)

if getgenv().InstantKill ~= "ON" then


repeat
--Domain("Unlimited Void")
Skill("Incomplete Domain")
task.wait(3)

until Effects:FindFirstChild("DomainSphere")

task.spawn(function()
while Mobs:FindFirstChild(Boss) do
if Mobs[Boss].Humanoid.Health ~= Mobs[Boss].Humanoid.MaxHealth then
Mobs[Boss].Humanoid.Health = 0
end
Skill("Volcano: Ember Insects")
task.wait()
end
end)
else
task.spawn(function()
Godmode(true)
while Mobs:FindFirstChild(Boss) do
Mobs[Boss].Humanoid.Health = 0 -- Only works when you have network
owner over boss
task.wait()
end
end)
end

repeat
task.wait()
until Drops:FindFirstChild("Chest")

local Items = "| "


game:GetService("ReplicatedStorage").Remotes.Client.Notify.OnClientEvent:Connect(fu
nction(Message)
local Item = string.match(Message, '">(.-)</font>')
if table.find(Highlight,Item) then
Item = "**"..Item.."**"
end
Items = Items .. Item .. " | "
end)

-- Overwrite chest collection function --


local s, e = pcall(function()
game:GetService("ReplicatedStorage").Remotes.Client.CollectChest.OnClientInvoke
= function()
print("Chest Collected")
return {}
end
end)

task.spawn(function()
while Drops:FindFirstChild("Chest") or LootUI.Enabled do
if not LootUI.Enabled then
OpenChest()
else
repeat
Click(Flip)
until not LootUI.Enabled
end
task.wait()
end
end)

repeat
task.wait()
until not (Drops:FindFirstChild("Chest") or LootUI.Enabled)

-- Send webhook message --


pcall(function()
if getgenv().Webhook then
task.wait(2)
local embed = {
["title"] = LocalPlayer.Name .. " has defeated " .. Boss .. " in " ..
tostring(math.floor((tick() - StartTime) * 10) / 10) .. " seconds",
['description'] = "Collected Items: " .. Items,
["color"] = tonumber(000000)
}
local a = request({
Url = getgenv().Webhook,
Headers = {
['Content-Type'] = 'application/json'
},
Body = game:GetService("HttpService"):JSONEncode({
['embeds'] = {embed},
['avatar_url'] =
"https://cdn.discordapp.com/attachments/1089257712900120576/1105570269055160422/
archivector200300015.png"
}),
Method = "POST"
})
end
end)

-- Click replay --
task.wait()
pcall(function()
writefile("JJI_LastBoss.txt", Boss)
end)
task.wait(2)
for i = 1, 10, 1 do
Click(Replay)
task.wait(1)
end
end

You might also like