forked from tbao143/thaibao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TbaoHublegendsofspeed
355 lines (335 loc) · 11.1 KB
/
TbaoHublegendsofspeed
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
loadstring(game:HttpGet(("https://raw.githubusercontent.com/REDzHUB/LibraryV2/main/redzLib")))()
MakeWindow({
Hub = {
Title = "Tbao Hub | Legends of speed",
Animation = "by thaibao7444"
},
Key = {
KeySystem = false,
Title = "Key System",
Description = "",
KeyLink = "",
Keys = {"1234"},
Notifi = {
Notifications = true,
CorrectKey = "Running the Script...",
Incorrectkey = "The key is incorrect",
CopyKeyLink = "Copied to Clipboard"
}
}
})
getgenv().collectHoopsToggle = false
getgenv().collectOrbsToggle = false
getgenv().autoRebirth = false
function collectHoopsToggle() -- Auto Collects Hoops
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectHoopsToggle then break end
for i, v in pairs(game:GetService("Workspace").Hoops:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 0)
wait(0.01)
firetouchinterest(playerHead, v.Parent, 1)
end
end
end
end)
end
function collectOrbsToggle() -- Auto Collects Orbs
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectOrbsToggle then break end
for i, v in pairs(game:GetService("Workspace").orbFolder:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 1)
wait(0.1)
firetouchinterest(playerHead, v.Parent, 0)
end
end
end
end)
end
function autoRebirth() -- Well it says auto rebirth, I'm sure we all know what that is
spawn(function()
while wait(5) do
if not getgenv().autoRebirth then break end
local args = {[1] = "rebirthRequest"}
game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(args))
end
end)
end
spawn(function() -- Anti AFK
local vu = game:GetService("VirtualUser")
game:GetService("Players").LocalPlayer.Idled:connect(function()
vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
wait(1)
vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
end)
end)
getgenv().collectHoopsToggle = false
getgenv().collectOrbsToggle = false
getgenv().autoRebirth = false
function collectHoopsToggle() -- Auto Collects Hoops
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectHoopsToggle then break end
for i, v in pairs(game:GetService("Workspace").Hoops:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 0)
wait(0.01)
firetouchinterest(playerHead, v.Parent, 1)
end
end
end
end)
end
function collectOrbsToggle() -- Auto Collects Orbs
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectOrbsToggle then break end
for i, v in pairs(game:GetService("Workspace").orbFolder:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 1)
wait(0.1)
firetouchinterest(playerHead, v.Parent, 0)
end
end
end
end)
end
function autoRebirth() -- Well it says auto rebirth, I'm sure we all know what that is
spawn(function()
while wait(5) do
if not getgenv().autoRebirth then break end
local args = {[1] = "rebirthRequest"}
game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(args))
end
end)
end
spawn(function() -- Anti AFK
local vu = game:GetService("VirtualUser")
game:GetService("Players").LocalPlayer.Idled:connect(function()
vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
wait(1)
vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
end)
end)
getgenv().collectHoopsToggle = false
getgenv().collectOrbsToggle = false
getgenv().autoRebirth = false
function collectHoopsToggle() -- Auto Collects Hoops
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectHoopsToggle then break end
for i, v in pairs(game:GetService("Workspace").Hoops:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 0)
wait(0.01)
firetouchinterest(playerHead, v.Parent, 1)
end
end
end
end)
end
function collectOrbsToggle() -- Auto Collects Orbs
spawn(function()
local playerHead = game.Players.LocalPlayer.Character.Head
while wait() do
if not getgenv().collectOrbsToggle then break end
for i, v in pairs(game:GetService("Workspace").orbFolder:GetDescendants()) do
if v.Name == "TouchInterest" and v.Parent then
-- Fire the Touch Interest
firetouchinterest(playerHead, v.Parent, 1)
wait(0.1)
firetouchinterest(playerHead, v.Parent, 0)
end
end
end
end)
end
function autoRebirth() -- Well it says auto rebirth, I'm sure we all know what that is
spawn(function()
while wait(5) do
if not getgenv().autoRebirth then break end
local args = {[1] = "rebirthRequest"}
game:GetService("ReplicatedStorage").rEvents.rebirthEvent:FireServer(unpack(args))
end
end)
end
spawn(function() -- Anti AFK
local vu = game:GetService("VirtualUser")
game:GetService("Players").LocalPlayer.Idled:connect(function()
vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
wait(1)
vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
end)
end)
Main = MakeTab({Name = "Main"})
local Toggle = AddToggle(Main, {
Name = "Auto Rebirth",
Default = false,
Callback = function(bool)
getgenv().autoRebirth = bool
print(shared.toggle)
if bool then
autoRebirth()
end
end
})
local Toggle = AddToggle(Main, {
Name = "Auto Collect",
Default = false,
Callback = function(bool)
getgenv().collectOrbsToggle = bool
print(shared.toggle)
if bool then
collectOrbsToggle()
end
end
})
local Toggle = AddToggle(Main, {
Name = "Auto Hoops",
Default = false,
Callback = function(bool)
getgenv().collectHoopsToggle = bool
print(shared.toggle)
if bool then
collectHoopsToggle()
end
end
})
AddTextBox(Main, {
Name = "Speed enter",
Default = "",
PlaceholderText = "",
ClearText = true,
Callback = function(value)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = value
end
})
local Toggle = AddButton(Main, {
Name = "Auto exp",
Default = false,
Callback = function(Value)
loadstring(game:HttpGet("https://raw.githubusercontent.com/scriptpastebin/raw/main/17"))()
end
})
local Toggle = AddButton(Main, {
Name = "Auto lever",
Default = false,
Callback = function(Value)
loadstring(game:HttpGet("https://raw.githubusercontent.com/scriptpastebin/raw/main/17"))()
end
})
Main = MakeTab({Name = "Teleport"})
local Toggle = AddButton(Main, {
Name = "Highway legends",
Default = false,
Callback = function(Value)
local plr = game.Players.LocalPlayer
local char = plr.Character
char.HumanoidRootPart.CFrame = CFrame.new(3682.60254, 71.5308151, 5592.50879, -0.0193620101, 3.62180188e-08, -0.999812543, 4.99353519e-08, 1, 3.52577771e-08, 0.999812543, -4.92433294e-08, -0.0193620101)
end
})
local Toggle = AddButton(Main, {
Name = "Snow city",
Default = false,
Callback = function(Value)
local plr = game.Players.LocalPlayer
local char = plr.Character
char.HumanoidRootPart.CFrame = CFrame.new(-866.386841, 4.00088787, 2165.70654, -0.499959469, -9.93534854e-08, -0.866048813, -4.44803661e-08, 1, -8.90424445e-08, 0.866048813, -5.99544503e-09, -0.499959469)
end
})
local Toggle = AddButton(Main, {
Name = "Magma city",
Default = false,
Callback = function(Value)
local plr = game.Players.LocalPlayer
local char = plr.Character
char.HumanoidRootPart.CFrame = CFrame.new(1616.82739, 4.05089617, 4330.65283, 7.86637156e-06, -4.15036254e-08, -1, -6.3789912e-08, 1, -4.15041264e-08, 1, 6.37902389e-08, 7.86637156e-06)
end
})
local Toggle = AddButton(Main, {
Name = "City",
Default = false,
Callback = function(Value)
local plr = game.Players.LocalPlayer
local char = plr.Character
char.HumanoidRootPart.CFrame = CFrame.new(-537.767456, 3.95088959, 386.226837, 1, 0, 0, 0, 1, 0, 0, 0, 1)
end
})
Main = MakeTab({Name = "Misc"})
local Toggle = AddButton(Main, {
Name = "No clip",
Default = false,
Callback = function(Value)
local Noclip = nil
local Clip = nil
function noclip()
Clip = false
local function Nocl()
if Clip == false and game.Players.LocalPlayer.Character ~= nil then
for _,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
if v:IsA('BasePart') and v.CanCollide and v.Name ~= floatName then
v.CanCollide = false
end
end
end
wait(0.21) -- basic optimization
end
Noclip = game:GetService('RunService').Stepped:Connect(Nocl)
end
function clip()
if Noclip then Noclip:Disconnect() end
Clip = true
end
noclip() -- to toggle noclip() and clip(
end
})
local Toggle = AddButton(Main, {
Name = "Sever hop",
Default = false,
Callback = function(Value)
local Http = game:GetService("HttpService")
local TPS = game:GetService("TeleportService")
local Api = "https://games.roblox.com/v1/games/"
local _place = game.PlaceId
local _servers = Api.._place.."/servers/Public?sortOrder=Asc&limit=100"
function ListServers(cursor)
local Raw = game:HttpGet(_servers .. ((cursor and "&cursor="..cursor) or ""))
return Http:JSONDecode(Raw)
end
local Server, Next; repeat
local Servers = ListServers(Next)
Server = Servers.data[1]
Next = Servers.nextPageCursor
until Server
TPS:TeleportToPlaceInstance(_place,Server.id,game.Players.LocalPlayer)
end
})
local Toggle = AddButton(Main, {
Name = "Rejoin",
Default = false,
Callback = function(Value)
local ts = game:GetService("TeleportService")
local p = game:GetService("Players").LocalPlayer
ts:Teleport(game.PlaceId, p)
end
})
local Toggle = AddButton(Main, {
Name = "Delete gui",
Default = false,
Callback = function(Value)
DestroyScript()
end
})