-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathScript_Loader_Menu.lua
More file actions
195 lines (180 loc) · 6.95 KB
/
Script_Loader_Menu.lua
File metadata and controls
195 lines (180 loc) · 6.95 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
if not game:IsLoaded() then game.Loaded:Wait() end
local scriptstoload = {
["Tower Of Misery"] = {
id = 4954752502,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Tower_Of_Misery_ScriptHub.lua"
},
["Ultimate Driving"] = {
id = 54865335,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Ultimate_Driving_Hub.lua"
},
["LifeTogether RP"] = { -- ion update ts no more
id = {13967668166, 99644611200703, 99154507657228},
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/LifeTogether_RP.lua"
},
["LifeTogether Admin Commands (FE)"] = {
id = {13967668166, 99644611200703, 99154507657228},
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/LifeTogether_RP_Admin.lua"
},
["Hide And Seek Extreme"] = {
id = 205224386,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Hide_And_Seek_Extreme.lua"
},
["Apartment Hangout Spot"] = {
id = 108873247414429,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Apartment_Hangout_Script_Hub.lua"
},
["The Lanes"] = {
id = 1333478699,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/The_Lanes.lua"
},
["Player or AI"] = {
id = 95217169945642,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Player_Or_AI.lua"
},
["Main Street RP"] = {
id = 18753889337,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Main_Street_RP.lua"
},
["Southwest Florida Beta"] = {
id = 5104202731,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Southwest_Florida.lua"
},
["Driving Empire"] = {
id = 3351674303,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Driving_Empire.lua"
},
["Berry Avenue RP"] = {
id = 8481844229,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/Berry_Ave_Admin.lua"
},
["Mega Fun Obby"] = {
id = 12996397,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/MegaFunObby.lua"
},
["Catalog Avatar Creator"] = {
id = 7041939546,
link = "https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/CatalogAvatarCreator.lua"
}
}
getgenv().Game = cloneref and cloneref(game) or game
local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/main/Notification_Lib.lua"))()
wait(0.2)
getgenv().notify = getgenv().notify or function(notif_type, msg, duration)
NotifyLib:External_Notification(tostring(notif_type), tostring(msg), tonumber(duration))
end
local function matcheswhat(tpplaces, togo)
if typeof(tpplaces) == "number" then
return tpplaces == togo
elseif typeof(tpplaces) == "table" then
for _, id in ipairs(tpplaces) do
if id == togo then
return true
end
end
end
return false
end
local function load_str(url)
if not url then return end
if typeof(url) ~= "string" then return end
loadstring(game:HttpGet(url))()
end
wait(0.1)
for name, all_scripts in pairs(scriptstoload) do
if matcheswhat(all_scripts.id, game.PlaceId) then
if matcheswhat(scriptstoload["LifeTogether RP"].id, game.PlaceId) then
if not getgenv().LifeTogetherRP_Admin then
return load_str(scriptstoload["LifeTogether Admin Commands (FE)"].link)
else
return getgenv().notify("Warning", "You have already loaded the Life Together Admin commands.", 10)
end
end
load_str(all_scripts.link)
return
end
end
local rf = loadstring(game:HttpGet("https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/GetUILibrary"))()
wait(0.1)
local window = rf:CreateWindow({
Name = "Flames Hub | 🏠 Script Hub Loader 🏠",
LoadingTitle = "Welcome, "..tostring(game.Players.LocalPlayer),
LoadingSubtitle = "...",
ConfigurationSaving = {
Enabled = false,
FolderName = "ScriptHub-Config",
FileName = "ScriptHubLoader_Hub"
},
Discord = {
Enabled = false,
Invite = "",
RememberJoins = true
},
KeySystem = false,
KeySettings = {
Title = "cmon mane...",
Subtitle = "nah, no key system.",
Note = "ok?",
FileName = "hey",
SaveKey = false,
GrabKeyFromSite = false,
Key = {""}
}
})
wait(0.1)
getgenv().Buttons = getgenv().Buttons or {}
local Tab1 = window:CreateTab("🏡 Scripts 🏡", 0)
local Section1 = Tab1:CreateSection("| 🏡 Scripts Section 🏡 |")
local Tab2 = window:CreateTab("🎮 Game TPs 🎮", 0)
local Section2 = Tab2:CreateSection("| 🎮 Scripts Section 🎮 |")
wait(0.2)
getgenv().FlamesHubUniversal = Tab1:CreateButton({
Name = "Flames Hub (Universal)",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/retrieve_branch_version.lua"))()
end,})
getgenv().FlamesHubUniversal = Tab1:CreateButton({
Name = "Condo Games Destroyer",
Callback = function()
loadstring(game:HttpGet("https://raw.githubusercontent.com/EnterpriseExperience/MicUpSource/refs/heads/main/CondoGamesRuiner.lua"))()
end,})
for name, dude in pairs(scriptstoload) do
local strname = name:gsub("%W", "_")
getgenv().Buttons[strname] = Tab1:CreateButton({
Name = name,
Callback = function()
if not dude.id or not dude.link then
return
end
if game.PlaceId == dude.id then
loadstring(game:HttpGet(dude.link))
else
return
end
end,})
end
for name, schnawg in pairs(scriptstoload) do
if name ~= "LifeTogether Admin Commands (FE)" then
getgenv()[name] = Tab2:CreateButton({
Name = "TP to game: "..name,
Callback = function()
local idkok = type(schnawg.id) == "table" and schnawg.id[1] or schnawg.id
if not idkok then return end
local function funcok()
if type(schnawg.id) == "number" then
return game.PlaceId == schnawg.id
end
for _, v in ipairs(schnawg.id) do
if game.PlaceId == v then
return true
end
end
return false
end
if funcok() then
return
end
game.TeleportService:Teleport(idkok, game.Players.LocalPlayer)
end,})
end
end