-
Notifications
You must be signed in to change notification settings - Fork 8
/
Magnet-Simulator
394 lines (354 loc) · 14.5 KB
/
Magnet-Simulator
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
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("Magnet Simulator")
CategoryVariableHere:Toggle("AutoFarm Coins",function(State)
deku = State
for i=1, math.huge do
wait()
if deku then
local r = game:GetService("ReplicatedStorage").Events.MagnetEvents.requestGrab
s = "Frosty Tri-Magnet"
r:FireServer("1040000000", game.ReplicatedStorage.Tools[s])
end
end
end)
CategoryVariableHere:Toggle("Auto Sell",function(State)
deku= State
for i=1, math.huge do
wait()
if deku then
for _,v in pairs(game:GetService("Workspace").Rings.Sellx2:GetDescendants()) do
if v:IsA("TouchTransmitter") then
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 0)
wait()
firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 1)
end
end
end
end
end)
CategoryVariableHere:Toggle("AutoBuy Magnets",function(State)
deku = State
for i=1, math.huge do
wait(1)
if deku then
local deku1 = {"Silver Magnet","Gold Magnet","Diamond Magnet","Emerald Magnet","Long Magnet","Golden Long Magnet","Diamond Long Magnet","Emerald Long Magnet","Sapphire Long Magnet","Majestic Magnet","Adurite Magnet","Crystal Magnet","Magnetite Magnet","Meteorite Magnet","Pink Diamond Magnet","Spirit Magnet","Fire Magnet","Water Magnet","Quartz Magnet","Adurite Long Magnet",
"Crystal Long Magnet","Spirit Long Magnet"}
for i=1, #deku1 do wait(1)
game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy:FireServer(deku1[i], "Magnet")
end end end end)
CategoryVariableHere:Toggle("AutoBuy Backpacks",function(State)
deku = State
for i=1, math.huge do
wait()
if deku then
local deku1 = {"Rookie Backpack","Magnet Pack","Golden Magnet Pack","Diamond Magnet Pack","Advanced Backpack","Attractive Backpack","Emerald Magnet Pack","Diamond Backpack","Emerald Backpack","Adurite Backpack","Crystal Backpack","Spirit Backpack","Fire Backpack","Water Backpack","Noob Backpack","Fancy Backpack","Space Backpack","Angelic Backpack","Cursed Backpack","Alien Backpack","Electric Backpack","Obsidian Backpack","Overseer Backpack","Flame Backpack","Voltage Backpack","Yellow Lighting Backpack","Tycoonist Backpack","Midnight Backpack","Purple Space Backpack","Ice Backpack","Snowflake Backpack","Futuristic Backpack","Slime Backpack","Cotton Candy Backpack","Holy Backpack","Freedom Backpack","Earth Backpack","Royalty Backpack","Evil Backpack","Cupid Backpack","Unstable Backpack","Blue Flame Backpack","Raven Backpack","Aquamarine Raven Backpack","Amethyst Raven Backpack","Ruby Raven Backpack","Forest Raven Backpack","Orange Raven Backpack","Pink Raven Backpack","Lapis Raven Backpack","Pastel Raven Backpack","Astral Raven Backpack","Terra Raven Backpack","Emporer's Raven Backpack","Crimson Raven Backpack","Ghostly Raven Backpack","Sea Raven Backpack","Ruby Kingfisher Backpack","Golden Kingfisher Backpack","Fallen Kingfisher Backpack","Azure Kingfisher Backpack","Emerald Kingfisher Backpack","Evil Kingfisher Backpack","Yellow Omega Backpack","Red Omega Backpack","Blue Omega Backpack","White-Green Omega Backpack","Earth Omega Backpack","Neon Pink Omega Backpack","Autumn Flurry Backpack","Ashen Flurry Backpack","Frosty Flurry Backpack","Dark Chilled Backpack","Festive Chilled Backpack","Frosty Chilled Backpack"}
local deku2 = "Backpack"
for i=1, #deku1 do wait(1)
game:GetService("ReplicatedStorage").Events.ShopEvents.requestBuy:FireServer(deku1[i], "Backpack")
end end end end)
CategoryVariableHere:Toggle("Disable Sell screen",function(State)
deku = State
for i=10, math.huge do
wait()
if deku then
game:GetService("Players").LocalPlayer.PlayerGui.GameHUD.FullBackpack.Visible=false
end end end)
CategoryVariableHere:Toggle("Auto Rebitrh",function(State)
deku = State
for i=10, math.huge do
wait()
if deku then
local args = {
[1] = 1
}
game:GetService("ReplicatedStorage").RebirthEvents.requestRebirth:InvokeServer(unpack(args))
end end end)
local PetsLister =
{"Common Egg", "Uncommon Egg",
"Rare Egg", "Legendary Egg",
"Epic Egg", "Mythical Egg",
"Meme Egg", "Psychadelic Egg",
"Catacylsmic Egg","Super Egg", "Dominus Egg",
"Demonic Egg","Overseer Egg", "Magma Egg",
"Tycoonist Egg","Robot Egg", "Dragon Egg",
"Aquatic Egg", "Ninja Egg","Korblox Egg", "Knight Egg",
"Mystical Egg","Skeleton Egg", "Ghost Egg",
"Eye Egg","Sinister Egg", "Infernal Egg",
"Snowman Egg",
"Santa's Workshop Egg",}
CategoryVariableHere:Dropdown("Select Egg",PetsLister,function(Selected)
PetsLister = Selected
end)
CategoryVariableHere:Toggle("Auto Open Eggs",function(State)
pets = State
while pets do wait()
local args = {
[1] = PetsLister
}
game:GetService("ReplicatedStorage").PetEvents.requesthatch:FireServer(unpack(args))
end end)
local HatsLister =
{"Wooden Chest", "Sparkle Chest",
"Fortunate Chest", "Valkyrie Chest",
"Rich Chest", "Pumpkin Chest",
"Domino Chest", "Chrono Chest",
"Antler Chest","Viridian Chest", "Headphone Chest",
"Bighead Chest","Spooky Chest", "Creepy Chest",
"Scary Chest","Halloween Chest", "Haunted Chest",
"Fire Chest", "Christmas Chest","Santa Chest",}
CategoryVariableHere:Dropdown("Select Hat Chest",PetsLister,function(Selected)
HatsLister = Selected
end)
CategoryVariableHere:Toggle("Auto Open hats",function(State)
pets = State
while pets do wait()
local args = {
[1] = HatsLister
}
game:GetService("ReplicatedStorage").hatEvents.openChest:FireServer(unpack(args))
end end)
CategoryVariableHere:Slider("WalkSpeed",16,16,100,function(Val) game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = Val end)
CategoryVariableHere:Slider("JumpPower",16,16,100,function(Val) game.Players.LocalPlayer.Character.Humanoid.JumpPower = Val 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";
})