-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rajveerchestfarm
213 lines (198 loc) · 7.55 KB
/
Rajveerchestfarm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
local Window = OrionLib:MakeWindow({Name = "hirako Hub | Blox fruit", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
local Tab = Window:MakeTab({
Name = "Main",
Icon = "rbxassetid://15338990777",
PremiumOnly = false
})
Tab:AddButton({
Name = "Rajvee/hirako hack hub",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/kyouhei14/convonigg/main/hirakoHubBloxFruit"))()
end
})
Tab:AddButton({
Name = "Rajveer ko chest",
Callback = function()
print("button pressed")
highChestOnly = true
godsChalicSniper = false
repeat task.wait(4) until game:IsLoaded()
local PlaceID = game.PlaceId
local AllIDs = {}
local foundAnything = ""
local actualHour = os.date("!*t").hour
local Deleted = false
local File = pcall(function()
AllIDs = game:GetService('HttpService'):JSONDecode(readfile("NotSameServers.json"))
end)
if not File then
table.insert(AllIDs, actualHour)
writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
end
function TPReturner()
local Site;
if foundAnything == "" then
Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100'))
else
Site = game.HttpService:JSONDecode(game:HttpGet('https://games.roblox.com/v1/games/' .. PlaceID .. '/servers/Public?sortOrder=Asc&limit=100&cursor=' .. foundAnything))
end
local ID = ""
if Site.nextPageCursor and Site.nextPageCursor ~= "null" and Site.nextPageCursor ~= nil then
foundAnything = Site.nextPageCursor
end
local num = 0;
for i,v in pairs(Site.data) do
local Possible = true
ID = tostring(v.id)
if tonumber(v.maxPlayers) > tonumber(v.playing) then
for _,Existing in pairs(AllIDs) do
if num ~= 0 then
if ID == tostring(Existing) then
Possible = false
end
else
if tonumber(actualHour) ~= tonumber(Existing) then
local delFile = pcall(function()
delfile("NotSameServers.json")
AllIDs = {}
table.insert(AllIDs, actualHour)
end)
end
end
num = num + 1
end
if Possible == true then
table.insert(AllIDs, ID)
wait()
pcall(function()
writefile("NotSameServers.json", game:GetService('HttpService'):JSONEncode(AllIDs))
wait()
game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceID, ID, game.Players.LocalPlayer)
end)
wait(4)
end
end
end
end
function Teleport()
while wait() do
pcall(function()
TPReturner()
if foundAnything ~= "" then
TPReturner()
end
end)
end
end
local veryImportantWaitTime = 0.5
task.spawn(function()
while task.wait(veryImportantWaitTime) do
pcall(function()
for i,v in pairs(game.CoreGui:GetDescendants()) do
pcall(function()
if string.find(v.Name,"ErrorMessage") then
if string.find(v.Text,"Security kick") then
veryImportantWaitTime = 1e9
Teleport()
end
end
end)
end
end)
end
end)
local AllowRunService = true
local AllowRunServiceBind = Instance.new("BindableFunction")
function AllowRunServiceBind.OnInvoke(args)
if args == "Enable" then
AllowRunService = true
elseif args == "Disable" then
AllowRunService = false
end
local CoreGui = game:GetService("StarterGui")
CoreGui:SetCore("SendNotification", {
Title = "ChestFarm",
Text = "By Hirako/rajveer",
Icon = "rbxthumb://type=Asset&id=15338990738&w=150&h=150",
Duration = math.huge,
Callback = AllowRunServiceBind,
Button1 = "",
Button2 = "",
})
end
task.spawn(function()
while task.wait() do
task.spawn(function()
if godsChalicSniper == true then
if stuff then
AllowRunService = false
end
end
end)
end
end)
local CoreGui = game:GetService("StarterGui")
CoreGui:SetCore("SendNotification", {
Title = "ChestFarm",
Text = "By Hirako/rajveer",
Icon = "rbxthumb://type=Asset&id=15338990738&w=150&h=150",
Duration = math.huge,
Callback = AllowRunServiceBind,
Button1 = "",
Button2 = "",
})
task.spawn(function()
while true and task.wait(.5) do
if AllowRunService == true then
local ohString1 = "SetTeam"
local ohString2 = "Marines"
game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer(ohString1, ohString2)
end
end
end)
task.spawn(function()
while true and task.wait() do
if AllowRunService == true then
if highChestOnly == false then
local hasChar = game.Players.LocalPlayer:FindFirstChild("Character")
if not game.Players.LocalPlayer.Character then
else
local hasCrewTag = game.Players.LocalPlayer.Character:FindFirstChild("CrewBBG",true)
if hasCrewTag then hasCrewTag:Destroy() end
local hasHumanoid = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if hasHumanoid then
local Chest = game.Workspace:FindFirstChild("Chest4") or game.Workspace:FindFirstChild("Chest3") or game.Workspace:FindFirstChild("Chest2") or game.Workspace:FindFirstChild("Chest1") or game.Workspace:FindFirstChild("Chest")
if Chest then
game.Players.LocalPlayer.Character:PivotTo(Chest:GetPivot())
firesignal(Chest.Touched,game.Players.LocalPlayer.Character.HumanoidRootPart)
else
Teleport()
break
end
end
end
elseif highChestOnly == true then
local hasChar = game.Players.LocalPlayer:FindFirstChild("Character")
if not game.Players.LocalPlayer.Character then
else
local hasCrewTag = game.Players.LocalPlayer.Character:FindFirstChild("CrewBBG",true)
if hasCrewTag then hasCrewTag:Destroy() end
local hasHumanoid = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
if hasHumanoid then
local Chest = game.Workspace:FindFirstChild("Chest4") or game.Workspace:FindFirstChild("Chest3") or game.Workspace:FindFirstChild("Chest2")
if Chest then
game.Players.LocalPlayer.Character:PivotTo(Chest:GetPivot())
firesignal(Chest.Touched,game.Players.LocalPlayer.Character.HumanoidRootPart)
else
Teleport()
break
end
end
end
end
end
end
end)
end
})