-
Notifications
You must be signed in to change notification settings - Fork 8
/
ElementalLegends
423 lines (376 loc) · 13.3 KB
/
ElementalLegends
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
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
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)
local Meta = getrawmetatable(game)
local NewIndex = Meta.__newindex
setreadonly(Meta, false)
Meta.__newindex = newcclosure(function(t, k, ...)
if not checkcaller() and (k == "WalkSpeed" or k == "JumpPower") then
return
end
NewIndex(t, k, ...)
end)
setreadonly(Meta, true)
local blur = Instance.new("BlurEffect", game.Lighting)
blur.Size = 0
local ScreenGui = Instance.new("ScreenGui")
local ImageLabel = Instance.new("ImageLabel")
ScreenGui.Parent = game.CoreGui
ImageLabel.Parent = ScreenGui
ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
ImageLabel.BackgroundTransparency = 1
ImageLabel.Position = UDim2.new(0.5, -(303 / 2), 0.5, -(263 / 2))
ImageLabel.Rotation = 0
ImageLabel.Size = UDim2.new(0, 303,0, 263)
ImageLabel.Image = "rbxassetid://6587457747"
ImageLabel.ImageTransparency = 1
for i = 1, 50, 2 do
blur.Size = i
ImageLabel.ImageTransparency = ImageLabel.ImageTransparency - 0.1
wait()
end
wait(0.1)
for i = 1, 50, 2 do
blur.Size = 50 - i
ImageLabel.ImageTransparency = ImageLabel.ImageTransparency + 0.1
wait()
end
blur:Destroy()
ScreenGui:Destroy()
local Lib = loadstring(game:HttpGet('https://raw.githubusercontent.com/1201for/V.G-Hub/main/IMRETARDED'))()
local CategoryVariableHere= Lib:Category("Elemental Legends")
CategoryVariableHere:Toggle("AutoTap?",function(State)
deku = State
while deku do wait(0.3)
local args = {
[1] = "FarmElement"
}
game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(unpack(args))
end
end)
CategoryVariableHere:Toggle("AutoRebirth?",function(State)
tomato = State
while tomato do wait()
local args = {
[1] = "Rebirth Water"
}
game:GetService("ReplicatedStorage").Main.Remotes.ClientRequest:FireServer(unpack(args))
end end)
CategoryVariableHere:Toggle("AutoSell?",function(State)
VGhub = State
while VGhub do wait()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(315.319641, 25.0830002, 86.0892715) wait(1)
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(324.735565, 24.9148178, 82.7805481)
end end)
CategoryVariableHere:Toggle("AutoDimonds?",function(State)
Autystic = State
while Autystic do wait()
for i,v in pairs(game:GetService("Workspace").Storage.Diamonds:GetChildren()) do
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame end end
end)
CategoryVariableHere:Toggle("AutoBamboo?",function(State)
Autysticishot = State
while Autysticishot do wait()
for i,v in pairs(game:GetService("Workspace").Storage.Bamboos:GetChildren()) do
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = v.CFrame end end
end)
CategoryVariableHere:Button("Buy Common Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(401.511688, 25.6034508, 16.6880646)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Common",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Habitual Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(396.137878, 25.6034565, 9.99993992)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Habitual",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Fossil Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(389.617981, 25.6034565, 3.38351178)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Fossil",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Elemental Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(368.52774, 25.6034565, -7.79634523)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Elemental",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Temple Egg :O?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(644.170776, 53.9286232, -1884.87256)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Temple",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Bird Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(660.213196, 54.1754837, -1849.35339)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Bird",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Insect Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(652.780457, 54.1676941, -1864.79333)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Insect",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("Buy Jungle Egg?",function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(645.726379, 53.9853973, -1879.88135)
wait(0.5)
local args = {
[1] = "EggOpen",
[2] = {
["EggName"] = "Jungle",
["Type"] = "Single"
}
}
game:GetService("ReplicatedStorage").Main.Remotes.EggOpen:InvokeServer(unpack(args))
end)
CategoryVariableHere:Button("BTools",function()
game.StarterGui:SetCoreGuiEnabled(2, true)
a = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
a.BinType = 2
b = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
b.BinType = 3
c = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
c.BinType = 4 end)
CategoryVariableHere:Button("G NoClip",function()
noclip = false
game:GetService('RunService').Stepped:connect(function()
if noclip then
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end)
plr = game.Players.LocalPlayer
mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "g" then
noclip = not noclip
game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
end
end) end)
CategoryVariableHere:Button("B Fly",function()
local gogo1000 = 0
local LP = game:service('Players').LocalPlayer
local MOUSE = LP:GetMouse()
MOUSE.KeyDown:connect(function(KEY)
if KEY:lower() == 'b' then
local LP = game:service('Players').LocalPlayer
local MOUSE = LP:GetMouse()
gogo1000 = gogo1000 + 1
_G.FLYING = false
local T = LP.Character.UpperTorso
local CONTROL = {F = 0, B = 0, L = 0, R = 0}
local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
local SPEED = 5
local function FLY()
_G.FLYING = true
local BG = Instance.new('BodyGyro', T)
local BV = Instance.new('BodyVelocity', T)
BG.P = 9e4
BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
BG.cframe = T.CFrame
BV.velocity = Vector3.new(0, 0.1, 0)
BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
spawn(function()
repeat wait()
LP.Character.Humanoid.PlatformStand = true
if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
SPEED = 50
elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
SPEED = 0
end
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
else
BV.velocity = Vector3.new(0, 0.1, 0)
end
BG.cframe = game.Workspace.CurrentCamera.CoordinateFrame
until not _G.FLYING
CONTROL = {F = 0, B = 0, L = 0, R = 0}
lCONTROL = {F = 0, B = 0, L = 0, R = 0}
SPEED = 0
BG:destroy()
BV:destroy()
LP.Character.Humanoid.PlatformStand = false
end)
end
MOUSE.KeyDown:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 1
elseif KEY:lower() == 's' then
CONTROL.B = -1
elseif KEY:lower() == 'a' then
CONTROL.L = -1
elseif KEY:lower() == 'd' then
CONTROL.R = 1
end
end)
MOUSE.KeyUp:connect(function(KEY)
if KEY:lower() == 'w' then
CONTROL.F = 0
elseif KEY:lower() == 's' then
CONTROL.B = 0
elseif KEY:lower() == 'a' then
CONTROL.L = 0
elseif KEY:lower() == 'd' then
CONTROL.R = 0
end
end)
FLY()
if gogo1000 == 2 then
_G.FLYING = false
gogo1000 = 0
end
end
end) end)
CategoryVariableHere:Button("teleport to Random Player",function()
local randomPlayer = game.Players:GetPlayers()
[math.random(1,#game.Players:GetPlayers())]
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(randomPlayer.Character.Head.Position.X, randomPlayer.Character.Head.Position.Y, randomPlayer.Character.Head.Position.Z)) end)
CategoryVariableHere:Button("Lag Switch F3",function()
local a = false
local b = settings()
game:service'UserInputService'.InputEnded:connect(function(i)
if i.KeyCode == Enum.KeyCode.F3 then
a = not a
b.Network.IncomingReplicationLag = a and 10 or 0
end
end) end)
CategoryVariableHere:Button("ServerHop",function()
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
-- If you'd like to use a script before server hopping (Like a Automatic Chest collector you can put the Teleport() after it collected everything.
Teleport()
end)
CategoryVariableHere:Button("Rejoin",function()
local ts = game:GetService("TeleportService")
local p = game:GetService("Players").LocalPlayer
ts:Teleport(game.PlaceId, p) end)
local CategoryVariableHere= Lib:Category("Credits")
CategoryVariableHere:Label("Credits to a r q for ui liba")
CategoryVariableHere:Label("Credits to DekuDimz#7960 aka me lol")
Lib:Reload()
game.StarterGui:SetCore("SendNotification", {
Title = "Warning";
Text = "RightShift to toggle";
})
game.StarterGui:SetCore("SendNotification", {
Title = "Credis";
Text = "CharWar Serverhops Toxic Mods screen thingy";
})