forked from MirayXS/DarkHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChart_Obby
81 lines (69 loc) · 3.01 KB
/
Chart_Obby
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
local settings = {
Comp = false,
Buy = false,
Delay = 5
}
local lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/RandomAdamYT/DarkHub/master/NewUI"))()
main = lib:Window()
Mainz = main:Tab('Main')
Mainz:Toggle('Auto-Buy',function(state)
settings.Buy = state
end)
Mainz:Slider('Auto-Complete Delay (seconds)',0,5,function(num)
settings.Delay = num
end)
Mainz:Toggle('Auto-Complete',function(state)
settings.Comp = state
end)
spawn(function()
while task.wait(settings.Delay) do
if settings.Comp then
if game:GetService("Workspace").Gifts:FindFirstChild("Gift") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Gifts.Gift.Position)
end
if game:GetService("Players").LocalPlayer.leaderstats.Stage.Value == 181 then
game:GetService("ReplicatedStorage").Remotes.Rebirth:InvokeServer(5)
end
end
end
end)
spawn(function()
while task.wait() do
if settings.Buy then
game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Visible = false
for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Sections.Tags.Grid:GetChildren()) do
game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Visible = false
game:GetService("ReplicatedStorage").Remotes.BuyTag:InvokeServer(v.Name)
end
for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Sections.Trails.Grid:GetChildren()) do
game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Visible = false
game:GetService("ReplicatedStorage").Remotes.BuyTrail:InvokeServer(v.Name)
end
for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Sections.Halos.Grid:GetChildren()) do
game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Visible = false
game:GetService("ReplicatedStorage").Remotes.BuyHalo:InvokeServer(v.Name)
end
for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Sections.Pets.Grid:GetChildren()) do
game:GetService("Players").LocalPlayer.PlayerGui.MainGUI.Shop.Visible = false
game:GetService("ReplicatedStorage").Remotes.BuyPet:InvokeServer(v.Name)
end
end
end
end)
Mainz:Button('+ 1 Skip',function()
if game:GetService("Workspace").Gifts:FindFirstChild("Gift") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Gifts.Gift.Position)
else
game.Players.LocalPlayer:Kick('It seems the script may be patched or you are already max stage')
end
end)
Mainz:Button('+ 5 Skip',function()
local Goal = game:GetService("Players").LocalPlayer.leaderstats.Stage.Value + 5
repeat
if game:GetService("Workspace").Gifts:FindFirstChild("Gift") then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(game:GetService("Workspace").Gifts.Gift.Position)
else
game.Players.LocalPlayer:Kick('It seems the script may be patched or you are already max stage')
end wait()
until game:GetService("Players").LocalPlayer.leaderstats.Stage.Value == Goal
end)