-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProject New World.luaU
More file actions
740 lines (632 loc) · 25.4 KB
/
Project New World.luaU
File metadata and controls
740 lines (632 loc) · 25.4 KB
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
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
local notif2 = require(game:GetService("ReplicatedStorage"):WaitForChild("Replication"):WaitForChild("Modules"):WaitForChild("UserInterface"));
notif2.ShowReward(game.Players.LocalPlayer, '[FallAngelHub] '..'Loading...', Color3.fromRGB(0, 255, 139))
repeat wait() until game:IsLoaded()
game:GetService("Players").LocalPlayer.Idled:connect(function()
game:GetService("VirtualUser"):Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
task.wait(1)
game:GetService("VirtualUser"):Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
end
)
local version = 0.1
local player = game.Players.LocalPlayer
local repo = 'https://raw.githubusercontent.com/wally-rblx/LinoriaLib/main/'
local Library = loadstring(game:HttpGet(repo .. 'Library.lua'))()
local ThemeManager = loadstring(game:HttpGet(repo .. 'addons/ThemeManager.lua'))()
local NotificationHolder = loadstring(game:HttpGet("https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Module.Lua"))()
local Notification = loadstring(game:HttpGet("https://raw.githubusercontent.com/BocusLuke/UI/main/STX/Client.Lua"))()
local function notif(title, des)
notif2.ShowReward(player, '[FallAngelHub] '..title..'\n'..des, Color3.fromRGB(0, 255, 139))
end
local function nwarn(why)
notif2.ShowReward(player, '[FallAngelHub] '..why, Color3.fromRGB(255, 155, 0))
end
local function nerror(why)
notif2.ShowReward(player, '[FallAngelHub] '..why, Color3.fromRGB(255, 0, 0))
end
local orginal_skyjumps = player.PlayerData.Buffs.SkyWalkBuff.Value
local function distance_find(part)
return (part.Position - player.Character.HumanoidRootPart.Position).Magnitude
end
local config = {
['Tween_speed'] = 600,
['Attack_settings'] = {
['Attack_from'] = 'back',
['Distance'] = 5
}
}
spawn(function()
while task.wait() do
if not player.Character then
repeat
task.wait()
until player.Character
end
end
end)
local function tp(part, mode)
local distance = config['Attack_settings']['Distance']
local tween_speed
local died = false
if not player.Character then
repeat
task.wait()
until player.Character:FindFirstChild('HumanoidRootPart')
mode = 'tween'
died = true
end
local tween_speed
if mode == 'instant_enem' then
if player.Character then
if config['Attack_settings']['Attack_from'] == 'top' then
player.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(0, distance, 0) * CFrame.Angles(math.rad(-90), 0, 0)
player.Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
elseif config['Attack_settings']['Attack_from'] == 'back' then
player.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(0, 0, distance)
player.Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
end
end
elseif mode == 'instant' then
if player.Character then
player.Character.HumanoidRootPart.CFrame = part.CFrame * CFrame.new(0, 0, 0)
end
elseif mode == 'tween' then
tween_speed = config['Tween_speed']
local hrp = player.Character.HumanoidRootPart
local ts = game:GetService("TweenService")
local tweeninfo = TweenInfo.new(distance_find(part.CFrame)/tween_speed, Enum.EasingStyle.Linear)
local tween = ts:Create(hrp, tweeninfo, {CFrame = part.CFrame * CFrame.new(0, 0, 0)})
tween:Play()
tween.Completed:Wait()
player.Character.HumanoidRootPart.Velocity = Vector3.new(0, 0, 0)
elseif mode == 'instantbypass' then
game:GetService("ReplicatedStorage").Replication.ClientEvents.SetSpawnPoint:FireServer(part)
player.Character.Humanoid.Health=0
end
end
local islands = {}
for i, v in pairs(game:GetService("Workspace").Islands:GetChildren()) do
table.insert(islands, v.Name)
end
local function all_gamepass()
local things = player.GamepassesOwn
for i, v in pairs(things:GetChildren()) do
v.Value = true
end
end
local function best_number(list, target)
local numbers = list
local target = target
-- Initialize a variable to store the closest number
local closest = nil
-- Iterate through the numbers in the list
for _, num in pairs(numbers) do
-- If the number is less than or equal to the target and (either the closest number is not set or the number is closer than the closest number)
if num <= target and (closest == nil or math.abs(num - target) < math.abs(closest - target)) then
-- Set the closest number to the current number
closest = num
end
end
return closest
end
local function close_to_quest(poss_val)
local things = game:GetService("Workspace").Npc_Workspace.QuestGivers
for i, folder in pairs(things:GetChildren()) do
if folder:FindFirstChild(tostring(poss_val)) then
return true
elseif folder:FindFirstChild(tostring(poss_val)) then
return false
end
end
end
local function deleteValueFromTable(tbl, value)
local newTable = {}
for i, v in ipairs(tbl) do
if v ~= value then
table.insert(newTable, v)
end
end
return newTable
end
local function getMax(t)
local max = -math.huge -- start with the lowest possible number
for _, v in pairs(t) do
if type(v) == "number" and v > max then
max = v
end
end
return max
end
local function get_best_quest_lvl()
local lvl = tonumber(player.PlayerData.Experience.Level.Value)
local things = game:GetService("Workspace").Npc_Workspace.QuestGivers
local lvl_can_do = {}
local poss_val
if lvl >= 0 and lvl <= 39 then
poss_val = 1
elseif lvl >= 40 and lvl <= 89 then
poss_val = 2
elseif lvl >= 90 and lvl <= 159 then
poss_val = 3
elseif lvl >= 160 and lvl <= 249 then
poss_val = 4
elseif lvl >= 250 and lvl <= 349 then
poss_val = 5
elseif lvl >= 350 and lvl <= 449 then
poss_val = 6
elseif lvl >= 450 and lvl <= 599 then
poss_val = 7
elseif lvl >= 600 and lvl <= 699 then
poss_val = 8
elseif lvl >= 700 and lvl <= 799 then
poss_val = 9
elseif lvl >= 800 and lvl <= 949 then
poss_val = 10
elseif lvl >= 950 then
poss_val = 11
end
if not close_to_quest(poss_val) then
return {poss_val, nil, false}
else
for i, npc in pairs(things:GetChildren()) do
if npc:FindFirstChild(npc.Name) then
for i, quest in pairs(npc:FindFirstChild(npc.Name).Configuration.Quests:GetChildren()) do
local quest_lvl = string.gsub(quest.Name, "%D+", "")
table.insert(lvl_can_do, tonumber(quest_lvl))
end
end
end
if not Toggles.antiboss.Value then
return {poss_val, 'Level ' .. best_number(lvl_can_do, lvl), true}
else
local new_table = deleteValueFromTable(lvl_can_do, best_number(lvl_can_do, getMax(lvl_can_do)))
if best_number(lvl_can_do, lvl) < best_number(new_table, getMax(lvl_can_do)) then
return {poss_val, 'Level ' .. best_number(lvl_can_do, lvl), true}
else
return {poss_val, 'Level ' ..best_number(new_table, getMax(lvl_can_do)) , true}
end
end
end
end
local function get_quest_details()
if player.Quest.Target.Value == 0 then
return {nil, nil, nil}
else
local out_of = player.Quest.Target.Value
local has_done = player.Quest.Progress.Value
local npc_todo = player.Quest.NPCName.Value
return {has_done, out_of, npc_todo}
end
end
local function get_quest()
if get_best_quest_lvl()[3] then
local ohInstance1 = workspace.Npc_Workspace.QuestGivers[get_best_quest_lvl()[1]][get_best_quest_lvl()[1]]
local ohString2 = get_best_quest_lvl()[2]
player.PlayerGui.QuestGui.QuestFunction:InvokeServer(ohInstance1, ohString2)
elseif not get_best_quest_lvl()[3] then
repeat
pcall(function()
tp(workspace.Npc_Workspace.QuestGivers[get_best_quest_lvl()[1]].Clicker, 'tween', 0)
local ohInstance1 = workspace.Npc_Workspace.QuestGivers[get_best_quest_lvl()[1]][get_best_quest_lvl()[1]]
local ohString2 = get_best_quest_lvl()[2]
player.PlayerGui.QuestGui.QuestFunction:InvokeServer(ohInstance1, ohString2)
end)
task.wait()
until get_quest_details()[1] ~= nil
end
end
local function do_current_quest()
local things = game:GetService("Workspace")["NPC Zones"]
for i, folder in pairs(things:GetChildren()) do
if folder:FindFirstChild('NPCS') and #folder.NPCS:GetChildren() > 0 then
for i, v in pairs(folder.NPCS:GetChildren()) do
if v:FindFirstChild("NPCName") and v.NPCName.Value == get_quest_details()[3] and v:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") then
local highlight = Instance.new("Highlight")
if not v:FindFirstChild("Highlight") then
highlight.FillTransparency = 1
highlight.FillColor = Color3.fromRGB(255, 0, 0)
highlight.OutlineColor = Color3.fromRGB(0, 255, 139)
highlight.FillTransparency = 0.3
highlight:Clone().Parent = v
end
tp(v.HumanoidRootPart, 'tween', 0)
pcall(function()
repeat
if v:FindFirstChild("HumanoidRootPart") then
tp(v.HumanoidRootPart, 'instant_enem', 0)
if not player.Character:FindFirstChild("Combat") and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild("Combat"))
end
if player.Character:FindFirstChild("Combat") then
player.Character.Combat.Punch:FireServer(4)
end
end
task.wait()
until v.Humanoid.Health == 0
end)
end
end
end
end
end
local function set_spawn()
local thing = game:GetService("Workspace").Npc_Workspace["Spawn Setters"]
for i, folder in pairs(thing:GetChildren()) do
if folder:FindFirstChild(folder.Name) then
game:GetService("ReplicatedStorage").Replication.ClientEvents.SetSpawnPoint:FireServer(folder.Name)
end
end
end
local function auto_stat(list_of_opt)
local points = player.PlayerData.Experience.Points.Value
local divided_stat
if #list_of_opt == 0 then
divided_stat = 1
else
divided_stat = math.round(points / #list_of_opt)
end
for i, v in pairs(list_of_opt) do
game:GetService("ReplicatedStorage").Replication.ClientEvents.Stats_Event:FireServer(v, divided_stat)
end
end
local function inf_jump(bool)
local max = math.huge
if bool then
if player.PlayerData.Buffs.SkyWalkBuff.Value ~= max then
player.PlayerData.Buffs.SkyWalkBuff.Value = max
end
else
player.PlayerData.Buffs.SkyWalkBuff.Value = orginal_skyjumps
end
end
function kill_npc(npc_name)
local things = game:GetService("Workspace")["NPC Zones"]
for i, folder in pairs(things:GetChildren()) do
if folder:FindFirstChild('NPCS') and #folder.NPCS:GetChildren() > 0 then
for i, v in pairs(folder.NPCS:GetChildren()) do
if v:FindFirstChild("NPCName") and v.NPCName.Value == npc_name and v:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") then
local highlight = Instance.new("Highlight")
if not v:FindFirstChild("Highlight") then
highlight.FillTransparency = 1
highlight.FillColor = Color3.fromRGB(255, 0, 0)
highlight.OutlineColor = Color3.fromRGB(0, 255, 139)
highlight.FillTransparency = 0.3
highlight:Clone().Parent = v
end
tp(v.HumanoidRootPart, 'tween', 0)
pcall(function()
repeat
if v:FindFirstChild("HumanoidRootPart") then
tp(v.HumanoidRootPart, 'instant_enem', 0)
if not player.Character:FindFirstChild("Combat") and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid:EquipTool(player.Backpack:FindFirstChild("Combat"))
end
if player.Character:FindFirstChild("Combat") then
player.Character.Combat.Punch:FireServer(4)
end
end
task.wait()
until v.Humanoid.Health == 0
end)
end
end
end
end
end
function check_npc(npc_name)
local things = game:GetService("Workspace")["NPC Zones"]
for i, folder in pairs(things:GetChildren()) do
if folder:FindFirstChild('NPCS') and #folder.NPCS:GetChildren() > 0 then
for i, v in pairs(folder.NPCS:GetChildren()) do
if v:FindFirstChild("NPCName") and v.NPCName.Value == npc_name and v:FindFirstChild("HumanoidRootPart") and player.Character:FindFirstChild("Humanoid") then
return true
end
end
end
end
return false
end
function get_Krampus_quest_details()
if player.Quest.PassiveQuestName.Value == 'Defeat Angerbreads for 5 gifts' then
local npc_todo = 'Angerbread'
local has_done = player.Quest.PassiveProgress.Value
local out_of = player.Quest.PassiveTarget.Value
return {has_done, out_of, npc_todo}
elseif player.Quest.PassiveQuestName.Value == 'Deliver Gifts!' then
local npc_todo = 'Deliver Gifts!'
local has_done = player.Quest.PassiveProgress.Value
local out_of = player.Quest.PassiveTarget.Value
return {has_done, out_of, npc_todo}
else
return {nil, nil, nil}
end
end
function get_Krampus_quest()
if not get_quest_details()[1] then
tp(game:GetService("Workspace").Npc_Workspace.KrampusQuest.SpawnKrampus.Clicker, 'tween', 0)
repeat
pcall(function()
local ohInstance1 = workspace.Npc_Workspace.KrampusQuest.SpawnKrampus.SpawnKrampus
game:GetService("Players").LocalPlayer.PlayerGui.QuestGui.QuestFunction:InvokeServer(ohInstance1)
end)
task.wait()
until get_quest_details()[1] ~= nil
elseif get_quest_details()[1] then
local ohInstance1 = workspace.Npc_Workspace.KrampusQuest.SpawnKrampus.SpawnKrampus
game:GetService("Players").LocalPlayer.PlayerGui.QuestGui.QuestFunction:InvokeServer(ohInstance1)
end
end
function give_gifts()
if get_Krampus_quest_details()[3] == 'Deliver Gifts!' then
for i, gift_point in pairs(game:GetService("Workspace").Logic.Ignore.QuestNodes.GiftDeliveryPoints:GetChildren()) do
if gift_point:IsA('Part') then
if gift_point.Attachment:FindFirstChild('ProximityPrompt') then
gift_point.Attachment.ProximityPrompt.HoldDuration = 0
repeat
if get_Krampus_quest_details()[3] == 'Deliver Gifts!' then
pcall(function()
tp(gift_point, 'instant', 0)
fireproximityprompt(gift_point.Attachment.ProximityPrompt, 0)
end)
end
task.wait()
until not gift_point.Attachment:FindFirstChild('ProximityPrompt')
end
end
end
end
end
local Window = Library:CreateWindow({
-- Set Center to true if you want the menu to appear in the center
-- Set AutoShow to true if you want the menu to appear when it is created
-- Position and Size are also valid options here
-- but you do not need to define them unless you are changing them :)
Title = 'Project New World | FallAngelHub | '.. version,
Center = true,
AutoShow = true,
})
local Tabs = {
-- Creates a new tab titled Main
creditsTAB = Window:AddTab('Credits'),
mainTab = Window:AddTab('Main'),
['UI Settings'] = Window:AddTab('UI Settings'),
}
local creatorsbox = Tabs.creditsTAB:AddLeftGroupbox('Creators')
creatorsbox:AddButton('GS_StarGamer - Modules')
creatorsbox:AddButton('x3Fall3nAngel - Bugs')
creatorsbox:AddButton('wally-rblx - UI')
local linksbox = Tabs.creditsTAB:AddRightGroupbox('Links')
linksbox:AddButton('Discord server', function()
setclipboard('https://discord.gg/tbENWKpgku')
notif('Copied', 'Discord server copied if not here is the link: https://discord.gg/tbENWKpgku', 10)
end)
local farmingbox = Tabs.mainTab:AddLeftGroupbox('Farm')
farmingbox:AddToggle('autolvl', {
Text = 'Auto level farm',
Default = false, -- Default value (true / false)
Tooltip = 'Farms depending on current level', -- Information shown when you hover over the toggle
})
farmingbox:AddToggle('antiboss', {
Text = 'No boss quests',
Default = false, -- Default value (true / false)
Tooltip = 'Doesnt farm boss', -- Information shown when you hover over the toggle
})
Toggles.autolvl:OnChanged(function()
spawn(function()
while Toggles.autolvl.Value and player.Character do
get_quest()
if get_quest_details()[1] and get_quest_details()[2] then
if get_quest_details()[1] < get_quest_details()[2] then
set_spawn()
do_current_quest()
task.wait()
end
end
end
task.wait()
end)
end)
farmingbox:AddDivider()
farmingbox:AddToggle('autochest', {
Text = 'Auto farm chests',
Defaul= false, -- Default value (true / false)
Tooltip = 'gets all chests', -- Information shown when you hover over the toggle
})
Toggles.autochest:OnChanged(function()
spawn(function()
while task.wait() do
if Toggles.autochest.Value then
for i,chest in pairs(workspace:GetChildren())do
if chest.Name == "Chest" and chest:FindFirstChild("Body") then
local startTime = tick()
local endTime = startTime + 1.853 -- loop for 1 second
while tick() < endTime do
if chest:FindFirstChild("Body") then
tp(chest.Body, 'instant', 0)
end
fireproximityprompt(chest.Hitbox.ProximityPrompt, 0)
task.wait()
end
end
end
end
end
end)
end)
farmingbox:AddDivider()
farmingbox:AddToggle('KrampusQuest', {
Text = 'Auto Krampus Quest',
Default = false, -- Default value (true / false)
Tooltip = 'Farms the new event', -- Information shown when you hover over the toggle
})
Toggles.KrampusQuest:OnChanged(function()
spawn(function()
while Toggles.KrampusQuest.Value do
pcall(function()
kill_npc('Krampus')
end)
if get_Krampus_quest_details()[3] ~= 'Deliver Gifts!' and player.Character then
repeat
get_Krampus_quest()
until get_Krampus_quest_details()[3] == 'Deliver Gifts!'
if get_Krampus_quest_details()[1] and get_Krampus_quest_details()[2] then
if get_Krampus_quest_details()[1] < get_Krampus_quest_details()[2] then
kill_npc(get_Krampus_quest_details()[3])
task.wait()
end
end
give_gifts()
kill_npc('Krampus')
else
give_gifts()
end
task.wait()
--you can remove the pcall function if u wanna see whats happening
end
end)
end)
local statbox = Tabs.mainTab:AddRightGroupbox('Stats')
statbox:AddDropdown('statsel', {
Values = { 'Select an stat type', 'Combat', 'Defense', 'Fruit', 'Sword' },
Default = 1,
Multi = true,
Text = 'Stat select',
Tooltip = 'Your list will be added', -- Information shown when you hover over the textbox
})
statbox:AddToggle('autostats', {
Text = 'Auto split stats',
Default = false, -- Default value (true / false)
Tooltip = 'Splits your points into even amount and will add them to your choice', -- Information shown when you hover over the toggle
})
local selstats = {}
Options.statsel:OnChanged(function()
selstats = {}
for key, value in next, Options.statsel.Value do
table.insert(selstats, key)
end
end)
Toggles.autostats:OnChanged(function()
spawn(function()
while Toggles.autostats.Value do
auto_stat(selstats)
task.wait()
end
end)
end)
local tpbox = Tabs.mainTab:AddLeftGroupbox('Teleport')
tpbox:AddDropdown('tpareasel', {
Values = islands,
Default = 'Starter Island', -- number index of the value / string
Multi = false, -- true / false, allows multiple choices to be selected
Text = 'Teleport island',
Tooltip = 'Select an island to teleport to', -- Information shown when you hover over the textbox
})
tpbox:AddDropdown('tptype',{
Values = {'instantbypass', 'tween'},
Default = 'instantbypass', -- number index of the value / string
Multi = false, -- true / false, allows multiple choices to be selected
Text = 'Teleport type',
Tooltip = 'TIP instantbypass is faster if ur island is far', -- Information shown when you hover over the textbox
})
tpbox:AddButton('Teleport to island', function()
if Options.tptype.Value == 'tween' then
for i, v in pairs(game:GetService("Workspace").Npc_Workspace["Spawn Setters"]:GetChildren()) do
if v.Name == Options.tpareasel.Value then
tp(v.Clicker, Options.tptype.Value, 0)
end
end
else
tp(Options.tpareasel.Value, Options.tptype.Value, 0)
end
end)
local playerbox = Tabs.mainTab:AddRightGroupbox('Player')
playerbox:AddToggle('infjump', {
Text = 'Infinte Sky Walk',
Default = false, -- Default value (true / false)
Tooltip = 'Name says it', -- Information shown when you hover over the toggle
})
Toggles.infjump:OnChanged(function()
spawn(function()
while Toggles.infjump.Value do
inf_jump(Toggles.infjump.Value)
task.wait()
end
end)
end)
playerbox:AddSlider('walkspeed', {
Text = 'Walk Speed',
Default = tonumber(player.PlayerData.Buffs.WalkspeedBuff.Value),
Min = 0,
Max = 50,
Rounding = 0,
Compact = false, -- If set to true, then it will hide the label
})
playerbox:AddSlider('jumppower', {
Text = 'Jump Power',
Default = tonumber(player.PlayerData.Buffs.JumpPowerBuff.Value),
Min = 0,
Max = 10,
Rounding = 0,
Compact = false, -- If set to true, then it will hide the label
})
playerbox:AddSlider('swimspeed', {
Text = 'Swim Speed',
Default = tonumber(player.PlayerData.Buffs.SwimSpeedBuff.Value),
Min = 0,
Max = 50,
Rounding = 0,
Compact = false, -- If set to true, then it will hide the label
})
Options.walkspeed:OnChanged(function()
player.PlayerData.Buffs.WalkspeedBuff.Value = Options.walkspeed.Value
end)
Options.jumppower:OnChanged(function()
player.PlayerData.Buffs.JumpPowerBuff.Value = Options.jumppower.Value
end)
Options.swimspeed:OnChanged(function()
player.PlayerData.Buffs.SwimSpeedBuff.Value = Options.swimspeed.Value
end)
playerbox:AddButton('Invisibility', function()
player.Character.LowerTorso:destroy()
end)
local configbox = Tabs.mainTab:AddLeftGroupbox('Configuration')
configbox:AddDropdown('attacktype', {
Values = {'top', 'back'},
Default = 1, -- number index of the value / string
Multi = false, -- true / false, allows multiple choices to be selected
Text = 'Attack type',
Tooltip = 'Attacks from ..', -- Information shown when you hover over the textbox
})
Options.attacktype:OnChanged(function()
config['Attack_settings']['Attack_from'] = Options.attacktype.Value
end)
configbox:AddSlider('distance', {
Text = 'Attack Distance',
Default = config['Attack_settings']['Distance'],
Min = 0,
Max = 7,
Rounding = 1,
Compact = false, -- If set to true, then it will hide the label
})
Options.distance:OnChanged(function()
config['Attack_settings']['Distance'] = Options.distance.Value
end)
configbox:AddSlider('tweenspeed', {
Text = 'Tween Speed',
Default = config['Tween_speed'],
Min = 10,
Max = 750,
Rounding = 0,
Compact = false, -- If set to true, then it will hide the label
})
Options.distance:OnChanged(function()
config['Tween_speed'] = Options.tweenspeed.Value
end)
local MenuGroup = Tabs['UI Settings']:AddLeftGroupbox('Menu')
Library:SetWatermarkVisibility(false)
MenuGroup:AddButton('Unload', function() Library:Unload() end)
Library:SetWatermarkVisibility(false)
ThemeManager:SetLibrary(Library)
ThemeManager:SetFolder('FallAngelHub')
ThemeManager:ApplyToTab(Tabs['UI Settings'])
ThemeManager:ApplyTheme('Green')
notif('Loaded', 'Thank you for using FallAngelHub, '..player.Name)