SHOW:
|
|
- or go back to the newest paste.
1 | Created by CDXX from Ez Industries - Join their Discord: https://discord.gg/tuWcU7Q | |
2 | A redistribution of https://wearedevs.net/scripts | |
3 | ||
4 | Description: Completely free script hub featuring cheats for some of the most popular games. | |
5 | It uses custom scripts and 150+ community made scripts. | |
6 | ||
7 | Instruction: Execute this script and wait for an interface to appear on your game screen. | |
8 | ||
9 | ]] | |
10 | ||
11 | -- Don't edit below | |
12 | ||
13 | _G.DISABLEEXELOG = true | |
14 | ||
15 | -- Instances: | |
16 | ||
17 | local Launcher = { | |
18 | Launcher = Instance.new("ScreenGui"), | |
19 | MainFrame = Instance.new("Frame"), | |
20 | UICorner = Instance.new("UICorner"), | |
21 | SideFrame = Instance.new("Frame"), | |
22 | PlayerPicture = Instance.new("ImageLabel"), | |
23 | ImageLabel = Instance.new("ImageLabel"), | |
24 | Close = Instance.new("ImageButton"), | |
25 | LaunchPage = Instance.new("Frame"), | |
26 | Frame = Instance.new("Frame"), | |
27 | UICorner_2 = Instance.new("UICorner"), | |
28 | Image = Instance.new("ImageButton"), | |
29 | SettingPage = Instance.new("Frame"), | |
30 | Frame_2 = Instance.new("Frame"), | |
31 | UICorner_3 = Instance.new("UICorner"), | |
32 | Image_2 = Instance.new("ImageButton"), | |
33 | AnimFrame2 = Instance.new("Frame"), | |
34 | TextLabel = Instance.new("TextLabel"), | |
35 | AnimFrame1 = Instance.new("Frame"), | |
36 | EzHubSection = Instance.new("Frame"), | |
37 | SectionEs = Instance.new("Folder"), | |
38 | Frame_3 = Instance.new("Frame"), | |
39 | UICorner_4 = Instance.new("UICorner"), | |
40 | Frame_4 = Instance.new("Frame"), | |
41 | TextLabel_2 = Instance.new("TextLabel"), | |
42 | UICorner_5 = Instance.new("UICorner"), | |
43 | VersionSelectorEzHub = Instance.new("Frame"), | |
44 | Left = Instance.new("TextButton"), | |
45 | Right = Instance.new("TextButton"), | |
46 | Display = Instance.new("TextButton"), | |
47 | LaunchEzHub = Instance.new("TextButton"), | |
48 | UICorner_6 = Instance.new("UICorner"), | |
49 | ServerStatusSection = Instance.new("Frame"), | |
50 | SectionEs_2 = Instance.new("Folder"), | |
51 | Frame_5 = Instance.new("Frame"), | |
52 | UICorner_7 = Instance.new("UICorner"), | |
53 | Frame_6 = Instance.new("Frame"), | |
54 | TextLabel_3 = Instance.new("TextLabel"), | |
55 | TextLabel_4 = Instance.new("TextLabel"), | |
56 | TextLabel_5 = Instance.new("TextLabel"), | |
57 | UICorner_8 = Instance.new("UICorner"), | |
58 | EzCMDStatus = Instance.new("TextLabel"), | |
59 | EzHubStatus = Instance.new("TextLabel"), | |
60 | EzCMDSection = Instance.new("Frame"), | |
61 | SectionEs_3 = Instance.new("Folder"), | |
62 | Frame_7 = Instance.new("Frame"), | |
63 | UICorner_9 = Instance.new("UICorner"), | |
64 | Frame_8 = Instance.new("Frame"), | |
65 | TextLabel_6 = Instance.new("TextLabel"), | |
66 | UICorner_10 = Instance.new("UICorner"), | |
67 | LaunchEzCMD = Instance.new("TextButton"), | |
68 | UICorner_11 = Instance.new("UICorner"), | |
69 | VersionSelectorEzCMD = Instance.new("Frame"), | |
70 | Left_2 = Instance.new("TextButton"), | |
71 | Display_2 = Instance.new("TextButton"), | |
72 | Right_2 = Instance.new("TextButton"), | |
73 | } | |
74 | ||
75 | --Properties: | |
76 | ||
77 | Launcher.Launcher.Name = "Launcher" | |
78 | Launcher.Launcher.Parent = game.CoreGui | |
79 | Launcher.Launcher.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
80 | ||
81 | Launcher.MainFrame.Name = "MainFrame" | |
82 | Launcher.MainFrame.Parent = Launcher.Launcher | |
83 | Launcher.MainFrame.AnchorPoint = Vector2.new(0.5, 0.5) | |
84 | Launcher.MainFrame.BackgroundColor3 = Color3.fromRGB(41, 53, 68) | |
85 | Launcher.MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0) | |
86 | Launcher.MainFrame.Size = UDim2.new(0, 410, 0, 278) | |
87 | ||
88 | Launcher.UICorner.CornerRadius = UDim.new(0, 4) | |
89 | Launcher.UICorner.Parent = Launcher.MainFrame | |
90 | ||
91 | Launcher.SideFrame.Name = "SideFrame" | |
92 | Launcher.SideFrame.Parent = Launcher.MainFrame | |
93 | Launcher.SideFrame.BackgroundColor3 = Color3.fromRGB(28, 41, 56) | |
94 | Launcher.SideFrame.BorderSizePixel = 0 | |
95 | Launcher.SideFrame.Size = UDim2.new(0, 69, 0, 278) | |
96 | ||
97 | Launcher.PlayerPicture.Name = "PlayerPicture" | |
98 | Launcher.PlayerPicture.Parent = Launcher.SideFrame | |
99 | Launcher.PlayerPicture.AnchorPoint = Vector2.new(0.5, 0.5) | |
100 | Launcher.PlayerPicture.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
101 | Launcher.PlayerPicture.BackgroundTransparency = 1.000 | |
102 | Launcher.PlayerPicture.BorderSizePixel = 0 | |
103 | Launcher.PlayerPicture.Position = UDim2.new(0.5, 0, 0, 35) | |
104 | Launcher.PlayerPicture.Size = UDim2.new(0, 45, 0, 45) | |
105 | Launcher.PlayerPicture.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png" | |
106 | ||
107 | Launcher.ImageLabel.Parent = Launcher.PlayerPicture | |
108 | Launcher.ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5) | |
109 | Launcher.ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
110 | Launcher.ImageLabel.BackgroundTransparency = 1.000 | |
111 | Launcher.ImageLabel.BorderSizePixel = 0 | |
112 | Launcher.ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
113 | Launcher.ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
114 | Launcher.ImageLabel.Image = "rbxassetid://4031889928" | |
115 | Launcher.ImageLabel.ImageColor3 = Color3.fromRGB(28, 41, 56) | |
116 | ||
117 | Launcher.Close.Name = "Close" | |
118 | Launcher.Close.Parent = Launcher.SideFrame | |
119 | Launcher.Close.AnchorPoint = Vector2.new(0.5, 0.5) | |
120 | Launcher.Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
121 | Launcher.Close.BackgroundTransparency = 1.000 | |
122 | Launcher.Close.Position = UDim2.new(0.5, 0, 0.306295037, 0) | |
123 | Launcher.Close.Size = UDim2.new(0, 16, 0, 16) | |
124 | Launcher.Close.Image = "http://www.roblox.com/asset/?id=5679295310" | |
125 | Launcher.Close.ImageColor3 = Color3.fromRGB(211, 216, 226) | |
126 | ||
127 | Launcher.LaunchPage.Name = "LaunchPage" | |
128 | Launcher.LaunchPage.Parent = Launcher.SideFrame | |
129 | Launcher.LaunchPage.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
130 | Launcher.LaunchPage.BorderSizePixel = 0 | |
131 | Launcher.LaunchPage.Position = UDim2.new(0, 0, 0.410071939, 0) | |
132 | Launcher.LaunchPage.Size = UDim2.new(1, 0, 0, 50) | |
133 | ||
134 | Launcher.Frame.Parent = Launcher.LaunchPage | |
135 | Launcher.Frame.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
136 | Launcher.Frame.Size = UDim2.new(0, 2, 1, 0) | |
137 | ||
138 | Launcher.UICorner_2.Parent = Launcher.Frame | |
139 | ||
140 | Launcher.Image.Name = "Image" | |
141 | Launcher.Image.Parent = Launcher.LaunchPage | |
142 | Launcher.Image.AnchorPoint = Vector2.new(0.5, 0.5) | |
143 | Launcher.Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
144 | Launcher.Image.BackgroundTransparency = 1.000 | |
145 | Launcher.Image.Position = UDim2.new(0.5, 0, 0.5, 0) | |
146 | Launcher.Image.Size = UDim2.new(0, 22, 0, 22) | |
147 | Launcher.Image.Image = "http://www.roblox.com/asset/?id=2876994160" | |
148 | ||
149 | Launcher.SettingPage.Name = "SettingPage" | |
150 | Launcher.SettingPage.Parent = Launcher.SideFrame | |
151 | Launcher.SettingPage.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
152 | Launcher.SettingPage.BackgroundTransparency = 1.000 | |
153 | Launcher.SettingPage.BorderSizePixel = 0 | |
154 | Launcher.SettingPage.Position = UDim2.new(0, 0, 0.587769806, 0) | |
155 | Launcher.SettingPage.Size = UDim2.new(1, 0, 0, 50) | |
156 | ||
157 | Launcher.Frame_2.Parent = Launcher.SettingPage | |
158 | Launcher.Frame_2.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
159 | Launcher.Frame_2.Size = UDim2.new(0, 2, 1, 0) | |
160 | Launcher.Frame_2.Visible = false | |
161 | ||
162 | Launcher.UICorner_3.Parent = Launcher.Frame_2 | |
163 | ||
164 | Launcher.Image_2.Name = "Image" | |
165 | Launcher.Image_2.Parent = Launcher.SettingPage | |
166 | Launcher.Image_2.AnchorPoint = Vector2.new(0.5, 0.5) | |
167 | Launcher.Image_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
168 | Launcher.Image_2.BackgroundTransparency = 1.000 | |
169 | Launcher.Image_2.Position = UDim2.new(0.5, 0, 0.5, 0) | |
170 | Launcher.Image_2.Size = UDim2.new(0, 15, 0, 15) | |
171 | Launcher.Image_2.Image = "http://www.roblox.com/asset/?id=4492476121" | |
172 | ||
173 | Launcher.AnimFrame2.Name = "AnimFrame2" | |
174 | Launcher.AnimFrame2.Parent = Launcher.MainFrame | |
175 | Launcher.AnimFrame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
176 | Launcher.AnimFrame2.BackgroundTransparency = 1.000 | |
177 | Launcher.AnimFrame2.Position = UDim2.new(0.168292686, 0, 0, 0) | |
178 | Launcher.AnimFrame2.Size = UDim2.new(0, 341, 0, 278) | |
179 | Launcher.AnimFrame2.Visible = false | |
180 | ||
181 | Launcher.TextLabel.Parent = Launcher.AnimFrame2 | |
182 | Launcher.TextLabel.AnchorPoint = Vector2.new(0.5, 0.5) | |
183 | Launcher.TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
184 | Launcher.TextLabel.BackgroundTransparency = 1.000 | |
185 | Launcher.TextLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
186 | Launcher.TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
187 | Launcher.TextLabel.Font = Enum.Font.SourceSans | |
188 | Launcher.TextLabel.Text = "This feature is not done yet" | |
189 | Launcher.TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) | |
190 | Launcher.TextLabel.TextSize = 20.000 | |
191 | ||
192 | Launcher.AnimFrame1.Name = "AnimFrame1" | |
193 | Launcher.AnimFrame1.Parent = Launcher.MainFrame | |
194 | Launcher.AnimFrame1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
195 | Launcher.AnimFrame1.BackgroundTransparency = 1.000 | |
196 | Launcher.AnimFrame1.Position = UDim2.new(0.168292686, 0, 0, 0) | |
197 | Launcher.AnimFrame1.Size = UDim2.new(0, 341, 0, 278) | |
198 | Launcher.AnimFrame1.Visible = false | |
199 | ||
200 | Launcher.EzHubSection.Name = "EzHubSection" | |
201 | Launcher.EzHubSection.Parent = Launcher.AnimFrame1 | |
202 | Launcher.EzHubSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
203 | Launcher.EzHubSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
204 | Launcher.EzHubSection.BorderSizePixel = 0 | |
205 | Launcher.EzHubSection.Position = UDim2.new(0.260997087, 0, 0.696402788, 0) | |
206 | Launcher.EzHubSection.Size = UDim2.new(0, 150, 0, 116) | |
207 | ||
208 | Launcher.SectionEs.Name = "SectionEs" | |
209 | Launcher.SectionEs.Parent = Launcher.EzHubSection | |
210 | ||
211 | Launcher.Frame_3.Parent = Launcher.SectionEs | |
212 | Launcher.Frame_3.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
213 | Launcher.Frame_3.Size = UDim2.new(0, 2, 0, 36) | |
214 | ||
215 | Launcher.UICorner_4.Parent = Launcher.Frame_3 | |
216 | ||
217 | Launcher.Frame_4.Parent = Launcher.SectionEs | |
218 | Launcher.Frame_4.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
219 | Launcher.Frame_4.BackgroundTransparency = 0.750 | |
220 | Launcher.Frame_4.BorderSizePixel = 0 | |
221 | Launcher.Frame_4.Position = UDim2.new(0, 0, 0.294290125, 0) | |
222 | Launcher.Frame_4.Size = UDim2.new(1, 0, 0, 1) | |
223 | ||
224 | Launcher.TextLabel_2.Parent = Launcher.SectionEs | |
225 | Launcher.TextLabel_2.AnchorPoint = Vector2.new(1, 0) | |
226 | Launcher.TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
227 | Launcher.TextLabel_2.BackgroundTransparency = 1.000 | |
228 | Launcher.TextLabel_2.Position = UDim2.new(1, 0, 0.0439999998, 0) | |
229 | Launcher.TextLabel_2.Size = UDim2.new(0.899999976, 0, 0, 24) | |
230 | Launcher.TextLabel_2.Font = Enum.Font.SourceSans | |
231 | Launcher.TextLabel_2.Text = "Ez Hub" | |
232 | Launcher.TextLabel_2.TextColor3 = Color3.fromRGB(211, 216, 226) | |
233 | Launcher.TextLabel_2.TextSize = 14.000 | |
234 | Launcher.TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left | |
235 | ||
236 | Launcher.UICorner_5.CornerRadius = UDim.new(0, 4) | |
237 | Launcher.UICorner_5.Parent = Launcher.EzHubSection | |
238 | ||
239 | Launcher.VersionSelectorEzHub.Name = "VersionSelectorEzHub" | |
240 | Launcher.VersionSelectorEzHub.Parent = Launcher.EzHubSection | |
241 | Launcher.VersionSelectorEzHub.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
242 | Launcher.VersionSelectorEzHub.BackgroundTransparency = 1.000 | |
243 | Launcher.VersionSelectorEzHub.Position = UDim2.new(0, 10, 0.414000005, 0) | |
244 | Launcher.VersionSelectorEzHub.Size = UDim2.new(0, 86, 0, 28) | |
245 | ||
246 | Launcher.Left.Name = "Left" | |
247 | Launcher.Left.Parent = Launcher.VersionSelectorEzHub | |
248 | Launcher.Left.AnchorPoint = Vector2.new(0, 0.5) | |
249 | Launcher.Left.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
250 | Launcher.Left.BackgroundTransparency = 1.000 | |
251 | Launcher.Left.Position = UDim2.new(0, 0, 0.5, 0) | |
252 | Launcher.Left.Size = UDim2.new(0, 20, 0, 20) | |
253 | Launcher.Left.Font = Enum.Font.SourceSans | |
254 | Launcher.Left.Text = "<" | |
255 | Launcher.Left.TextColor3 = Color3.fromRGB(255, 255, 255) | |
256 | Launcher.Left.TextSize = 14.000 | |
257 | ||
258 | Launcher.Right.Name = "Right" | |
259 | Launcher.Right.Parent = Launcher.VersionSelectorEzHub | |
260 | Launcher.Right.AnchorPoint = Vector2.new(1, 0.5) | |
261 | Launcher.Right.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
262 | Launcher.Right.BackgroundTransparency = 1.000 | |
263 | Launcher.Right.Position = UDim2.new(1, 0, 0.5, 0) | |
264 | Launcher.Right.Size = UDim2.new(0, 20, 0, 20) | |
265 | Launcher.Right.Font = Enum.Font.SourceSans | |
266 | Launcher.Right.Text = ">" | |
267 | Launcher.Right.TextColor3 = Color3.fromRGB(255, 255, 255) | |
268 | Launcher.Right.TextSize = 14.000 | |
269 | ||
270 | Launcher.Display.Name = "Display" | |
271 | Launcher.Display.Parent = Launcher.VersionSelectorEzHub | |
272 | Launcher.Display.AnchorPoint = Vector2.new(0.5, 0.5) | |
273 | Launcher.Display.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
274 | Launcher.Display.BackgroundTransparency = 1.000 | |
275 | Launcher.Display.Position = UDim2.new(0.5, 0, 0.5, 0) | |
276 | Launcher.Display.Size = UDim2.new(0, 55, 0, 20) | |
277 | Launcher.Display.Font = Enum.Font.SourceSans | |
278 | Launcher.Display.Text = "V 3.3" | |
279 | Launcher.Display.TextColor3 = Color3.fromRGB(255, 255, 255) | |
280 | Launcher.Display.TextSize = 14.000 | |
281 | ||
282 | Launcher.LaunchEzHub.Name = "LaunchEzHub" | |
283 | Launcher.LaunchEzHub.Parent = Launcher.EzHubSection | |
284 | Launcher.LaunchEzHub.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
285 | Launcher.LaunchEzHub.Position = UDim2.new(0, 10, 0.720000029, 0) | |
286 | Launcher.LaunchEzHub.Size = UDim2.new(0, 86, 0, 22) | |
287 | Launcher.LaunchEzHub.Font = Enum.Font.SourceSans | |
288 | Launcher.LaunchEzHub.Text = "Launch" | |
289 | Launcher.LaunchEzHub.TextColor3 = Color3.fromRGB(255, 255, 255) | |
290 | Launcher.LaunchEzHub.TextSize = 14.000 | |
291 | ||
292 | Launcher.UICorner_6.CornerRadius = UDim.new(0, 4) | |
293 | Launcher.UICorner_6.Parent = Launcher.LaunchEzHub | |
294 | ||
295 | Launcher.ServerStatusSection.Name = "ServerStatusSection" | |
296 | Launcher.ServerStatusSection.Parent = Launcher.AnimFrame1 | |
297 | Launcher.ServerStatusSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
298 | Launcher.ServerStatusSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
299 | Launcher.ServerStatusSection.BorderSizePixel = 0 | |
300 | Launcher.ServerStatusSection.Position = UDim2.new(0.5, 0, 0.0701438859, 50) | |
301 | Launcher.ServerStatusSection.Size = UDim2.new(0, 312, 0, 116) | |
302 | ||
303 | Launcher.SectionEs_2.Name = "SectionEs" | |
304 | Launcher.SectionEs_2.Parent = Launcher.ServerStatusSection | |
305 | ||
306 | Launcher.Frame_5.Parent = Launcher.SectionEs_2 | |
307 | Launcher.Frame_5.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
308 | Launcher.Frame_5.Size = UDim2.new(0, 2, 0, 36) | |
309 | ||
310 | Launcher.UICorner_7.Parent = Launcher.Frame_5 | |
311 | ||
312 | Launcher.Frame_6.Parent = Launcher.SectionEs_2 | |
313 | Launcher.Frame_6.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
314 | Launcher.Frame_6.BackgroundTransparency = 0.750 | |
315 | Launcher.Frame_6.BorderSizePixel = 0 | |
316 | Launcher.Frame_6.Position = UDim2.new(0, 0, 0.294290125, 0) | |
317 | Launcher.Frame_6.Size = UDim2.new(1, 0, 0, 1) | |
318 | ||
319 | Launcher.TextLabel_3.Parent = Launcher.SectionEs_2 | |
320 | Launcher.TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
321 | Launcher.TextLabel_3.BackgroundTransparency = 1.000 | |
322 | Launcher.TextLabel_3.Position = UDim2.new(0.0416666679, 0, 0.0435512774, 0) | |
323 | Launcher.TextLabel_3.Size = UDim2.new(0, 299, 0, 24) | |
324 | Launcher.TextLabel_3.Font = Enum.Font.SourceSans | |
325 | Launcher.TextLabel_3.Text = "Server Status" | |
326 | Launcher.TextLabel_3.TextColor3 = Color3.fromRGB(211, 216, 226) | |
327 | Launcher.TextLabel_3.TextSize = 14.000 | |
328 | Launcher.TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left | |
329 | ||
330 | Launcher.TextLabel_4.Parent = Launcher.ServerStatusSection | |
331 | Launcher.TextLabel_4.AnchorPoint = Vector2.new(0.5, 0.5) | |
332 | Launcher.TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
333 | Launcher.TextLabel_4.BackgroundTransparency = 1.000 | |
334 | Launcher.TextLabel_4.Position = UDim2.new(0.699999988, 0, 0.5, 0) | |
335 | Launcher.TextLabel_4.Size = UDim2.new(0, 50, 0, 30) | |
336 | Launcher.TextLabel_4.Font = Enum.Font.SourceSans | |
337 | Launcher.TextLabel_4.Text = "Ez CMD" | |
338 | Launcher.TextLabel_4.TextColor3 = Color3.fromRGB(92, 106, 124) | |
339 | Launcher.TextLabel_4.TextSize = 14.000 | |
340 | ||
341 | Launcher.TextLabel_5.Parent = Launcher.ServerStatusSection | |
342 | Launcher.TextLabel_5.AnchorPoint = Vector2.new(0.5, 0.5) | |
343 | Launcher.TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
344 | Launcher.TextLabel_5.BackgroundTransparency = 1.000 | |
345 | Launcher.TextLabel_5.Position = UDim2.new(0.300000012, 0, 0.5, 0) | |
346 | Launcher.TextLabel_5.Size = UDim2.new(0, 50, 0, 30) | |
347 | Launcher.TextLabel_5.Font = Enum.Font.SourceSans | |
348 | Launcher.TextLabel_5.Text = "Ez Hub" | |
349 | Launcher.TextLabel_5.TextColor3 = Color3.fromRGB(92, 106, 124) | |
350 | Launcher.TextLabel_5.TextSize = 14.000 | |
351 | ||
352 | Launcher.UICorner_8.CornerRadius = UDim.new(0, 4) | |
353 | Launcher.UICorner_8.Parent = Launcher.ServerStatusSection | |
354 | ||
355 | Launcher.EzCMDStatus.Name = "EzCMDStatus" | |
356 | Launcher.EzCMDStatus.Parent = Launcher.ServerStatusSection | |
357 | Launcher.EzCMDStatus.AnchorPoint = Vector2.new(0.5, 0.5) | |
358 | Launcher.EzCMDStatus.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
359 | Launcher.EzCMDStatus.BackgroundTransparency = 1.000 | |
360 | Launcher.EzCMDStatus.Position = UDim2.new(0.698461592, 0, 0.758620679, 0) | |
361 | Launcher.EzCMDStatus.Size = UDim2.new(0, 50, 0, 30) | |
362 | Launcher.EzCMDStatus.Font = Enum.Font.SourceSans | |
363 | Launcher.EzCMDStatus.Text = "Online" | |
364 | Launcher.EzCMDStatus.TextColor3 = Color3.fromRGB(45, 192, 179) | |
365 | Launcher.EzCMDStatus.TextSize = 22.000 | |
366 | ||
367 | Launcher.EzHubStatus.Name = "EzHubStatus" | |
368 | Launcher.EzHubStatus.Parent = Launcher.ServerStatusSection | |
369 | Launcher.EzHubStatus.AnchorPoint = Vector2.new(0.5, 0.5) | |
370 | Launcher.EzHubStatus.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
371 | Launcher.EzHubStatus.BackgroundTransparency = 1.000 | |
372 | Launcher.EzHubStatus.Position = UDim2.new(0.297820538, 0, 0.758620679, 0) | |
373 | Launcher.EzHubStatus.Size = UDim2.new(0, 50, 0, 30) | |
374 | Launcher.EzHubStatus.Font = Enum.Font.SourceSans | |
375 | Launcher.EzHubStatus.Text = "Online" | |
376 | Launcher.EzHubStatus.TextColor3 = Color3.fromRGB(45, 192, 179) | |
377 | Launcher.EzHubStatus.TextSize = 22.000 | |
378 | ||
379 | Launcher.EzCMDSection.Name = "EzCMDSection" | |
380 | Launcher.EzCMDSection.Parent = Launcher.AnimFrame1 | |
381 | Launcher.EzCMDSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
382 | Launcher.EzCMDSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
383 | Launcher.EzCMDSection.BorderSizePixel = 0 | |
384 | Launcher.EzCMDSection.Position = UDim2.new(0.736070395, 0, 0.696402788, 0) | |
385 | Launcher.EzCMDSection.Size = UDim2.new(0, 150, 0, 116) | |
386 | ||
387 | Launcher.SectionEs_3.Name = "SectionEs" | |
388 | Launcher.SectionEs_3.Parent = Launcher.EzCMDSection | |
389 | ||
390 | Launcher.Frame_7.Parent = Launcher.SectionEs_3 | |
391 | Launcher.Frame_7.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
392 | Launcher.Frame_7.Size = UDim2.new(0, 2, 0, 36) | |
393 | ||
394 | Launcher.UICorner_9.Parent = Launcher.Frame_7 | |
395 | ||
396 | Launcher.Frame_8.Parent = Launcher.SectionEs_3 | |
397 | Launcher.Frame_8.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
398 | Launcher.Frame_8.BackgroundTransparency = 0.750 | |
399 | Launcher.Frame_8.BorderSizePixel = 0 | |
400 | Launcher.Frame_8.Position = UDim2.new(0, 0, 0.294290125, 0) | |
401 | Launcher.Frame_8.Size = UDim2.new(1, 0, 0, 1) | |
402 | ||
403 | Launcher.TextLabel_6.Parent = Launcher.SectionEs_3 | |
404 | Launcher.TextLabel_6.AnchorPoint = Vector2.new(1, 0) | |
405 | Launcher.TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
406 | Launcher.TextLabel_6.BackgroundTransparency = 1.000 | |
407 | Launcher.TextLabel_6.Position = UDim2.new(1, 0, 0.0439999998, 0) | |
408 | Launcher.TextLabel_6.Size = UDim2.new(0.899999976, 0, 0, 24) | |
409 | Launcher.TextLabel_6.Font = Enum.Font.SourceSans | |
410 | Launcher.TextLabel_6.Text = "Ez CMD" | |
411 | Launcher.TextLabel_6.TextColor3 = Color3.fromRGB(211, 216, 226) | |
412 | Launcher.TextLabel_6.TextSize = 14.000 | |
413 | Launcher.TextLabel_6.TextXAlignment = Enum.TextXAlignment.Left | |
414 | ||
415 | Launcher.UICorner_10.CornerRadius = UDim.new(0, 4) | |
416 | Launcher.UICorner_10.Parent = Launcher.EzCMDSection | |
417 | ||
418 | Launcher.LaunchEzCMD.Name = "LaunchEzCMD" | |
419 | Launcher.LaunchEzCMD.Parent = Launcher.EzCMDSection | |
420 | Launcher.LaunchEzCMD.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
421 | Launcher.LaunchEzCMD.Position = UDim2.new(0, 10, 0.720000029, 0) | |
422 | Launcher.LaunchEzCMD.Size = UDim2.new(0, 86, 0, 22) | |
423 | Launcher.LaunchEzCMD.Font = Enum.Font.SourceSans | |
424 | Launcher.LaunchEzCMD.Text = "Launch" | |
425 | Launcher.LaunchEzCMD.TextColor3 = Color3.fromRGB(255, 255, 255) | |
426 | Launcher.LaunchEzCMD.TextSize = 14.000 | |
427 | ||
428 | Launcher.UICorner_11.CornerRadius = UDim.new(0, 4) | |
429 | Launcher.UICorner_11.Parent = Launcher.LaunchEzCMD | |
430 | ||
431 | Launcher.VersionSelectorEzCMD.Name = "VersionSelectorEzCMD" | |
432 | Launcher.VersionSelectorEzCMD.Parent = Launcher.EzCMDSection | |
433 | Launcher.VersionSelectorEzCMD.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
434 | Launcher.VersionSelectorEzCMD.BackgroundTransparency = 1.000 | |
435 | Launcher.VersionSelectorEzCMD.Position = UDim2.new(0, 10, 0.414000005, 0) | |
436 | Launcher.VersionSelectorEzCMD.Size = UDim2.new(0, 86, 0, 28) | |
437 | ||
438 | Launcher.Left_2.Name = "Left" | |
439 | Launcher.Left_2.Parent = Launcher.VersionSelectorEzCMD | |
440 | Launcher.Left_2.AnchorPoint = Vector2.new(0, 0.5) | |
441 | Launcher.Left_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
442 | Launcher.Left_2.BackgroundTransparency = 1.000 | |
443 | Launcher.Left_2.Position = UDim2.new(0, 0, 0.5, 0) | |
444 | Launcher.Left_2.Size = UDim2.new(0, 20, 0, 20) | |
445 | Launcher.Left_2.Font = Enum.Font.SourceSans | |
446 | Launcher.Left_2.Text = "<" | |
447 | Launcher.Left_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
448 | Launcher.Left_2.TextSize = 14.000 | |
449 | ||
450 | Launcher.Display_2.Name = "Display" | |
451 | Launcher.Display_2.Parent = Launcher.VersionSelectorEzCMD | |
452 | Launcher.Display_2.AnchorPoint = Vector2.new(0.5, 0.5) | |
453 | Launcher.Display_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
454 | Launcher.Display_2.BackgroundTransparency = 1.000 | |
455 | Launcher.Display_2.Position = UDim2.new(0.5, 0, 0.5, 0) | |
456 | Launcher.Display_2.Size = UDim2.new(0, 55, 0, 20) | |
457 | Launcher.Display_2.Font = Enum.Font.SourceSans | |
458 | Launcher.Display_2.Text = "N/A" | |
459 | Launcher.Display_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
460 | Launcher.Display_2.TextSize = 14.000 | |
461 | ||
462 | Launcher.Right_2.Name = "Right" | |
463 | Launcher.Right_2.Parent = Launcher.VersionSelectorEzCMD | |
464 | Launcher.Right_2.AnchorPoint = Vector2.new(1, 0.5) | |
465 | Launcher.Right_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
466 | Launcher.Right_2.BackgroundTransparency = 1.000 | |
467 | Launcher.Right_2.Position = UDim2.new(1, 0, 0.5, 0) | |
468 | Launcher.Right_2.Size = UDim2.new(0, 20, 0, 20) | |
469 | Launcher.Right_2.Font = Enum.Font.SourceSans | |
470 | Launcher.Right_2.Text = ">" | |
471 | Launcher.Right_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
472 | Launcher.Right_2.TextSize = 14.000 | |
473 | ||
474 | ----------------------------------------------------------------------------- | |
475 | ||
476 | -- Start-Up Animations | |
477 | ||
478 | Launcher.MainFrame.Size = UDim2.new(0,0,0,0) | |
479 | Launcher.MainFrame.ClipsDescendants = true | |
480 | Launcher.MainFrame:TweenSize(UDim2.new(0, 410, 0, 278), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
481 | ||
482 | for i,v in pairs(Launcher.MainFrame:GetChildren()) do | |
483 | if v:IsA("Frame") and string.find(v.Name:lower(), "animframe") then | |
484 | v.Visible = true | |
485 | v.Position = UDim2.new(1, 0, 0, 0) | |
486 | end | |
487 | end | |
488 | ||
489 | Launcher.SideFrame.Position = UDim2.new(0, 0, 1, 0) | |
490 | ||
491 | local PanelInfo = game:HttpGet(('https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/Main'),true) | |
492 | local FormattedInfo = string.split(PanelInfo, ", ") | |
493 | local thumbType = Enum.ThumbnailType.HeadShot | |
494 | local thumbSize = Enum.ThumbnailSize.Size420x420 | |
495 | local content, isReady = game:GetService("Players"):GetUserThumbnailAsync(game:GetService("Players").LocalPlayer.UserId, thumbType, thumbSize) | |
496 | local timeIncrement = 0; | |
497 | repeat wait() timeIncrement = timeIncrement + .03 | |
498 | if timeIncrement >= 5 then | |
499 | break | |
500 | end | |
501 | until isReady | |
502 | wait(.5) | |
503 | ||
504 | Launcher.SideFrame:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
505 | Launcher.AnimFrame1:TweenPosition(UDim2.new(0.168, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
506 | ||
507 | ----------------------------------------------------------------------------- | |
508 | ||
509 | -- Backwards compatibility (EZ HUB) | |
510 | --[[ | |
511 | do | |
512 | local a; | |
513 | a = hookfunction(game.HttpGet, function(self, url) | |
514 | if url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/ExclusivesModule.txt" then | |
515 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/ExclusiveV1.json" | |
516 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/ExclusivesV2Module.txt" then | |
517 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/ExclusivesV2.json" | |
518 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/EzLib.lua" then | |
519 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/EzLib.lua" | |
520 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/RepostedModule.txt" then | |
521 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/RepostedModule.json" | |
522 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/lexermodule.lua" then | |
523 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/LexerModule.lua" | |
524 | end | |
525 | return a(self, url) | |
526 | end) | |
527 | end | |
528 | ]]-- | |
529 | ||
530 | ----------------------------------------------------------------------------- | |
531 | ||
532 | local function AppColor(box) | |
533 | local t = box.Text:lower() | |
534 | if t == "online" then | |
535 | return Color3.fromRGB(45, 192, 179) | |
536 | elseif t == "maintenance" or t == "updating" then | |
537 | return Color3.fromRGB(192, 177, 14) | |
538 | elseif t == "offline" or "down" then | |
539 | return Color3.fromRGB(192, 49, 52) | |
540 | end | |
541 | return Color3.fromRGB(45, 192, 179); | |
542 | end | |
543 | ||
544 | Launcher.EzHubStatus.Text = FormattedInfo[2]:gsub("%s+", "") | |
545 | Launcher.EzCMDStatus.Text = FormattedInfo[3]:gsub("%s+", "") | |
546 | Launcher.EzCMDStatus.TextColor3 = AppColor(Launcher.EzCMDStatus) | |
547 | Launcher.EzHubStatus.TextColor3 = AppColor(Launcher.EzHubStatus) | |
548 | Launcher.PlayerPicture.Image = content | |
549 | ||
550 | ----------------------------------------------------------------------------- | |
551 | ||
552 | -- Apply Version Selection Func | |
553 | ||
554 | local EzHubV = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/Versions")) | |
555 | ||
556 | local EzCMDV = {} | |
557 | ||
558 | function GetValWithIndex(ind, t) | |
559 | for i,v in pairs(t) do | |
560 | if v[1] == ind then | |
561 | return {i, v}; | |
562 | end | |
563 | end | |
564 | end | |
565 | ||
566 | function GetLargestIndex(t) | |
567 | local l = 0 | |
568 | for i,v in pairs(t) do | |
569 | if v[1] > l then l = v[1] end | |
570 | end | |
571 | return l; | |
572 | end | |
573 | ||
574 | local SelectedEzCMDV = "https://raw.githubusercontent.com/debug420/Ez-CMD/master/EzCMD.lua" | |
575 | local SelectedEzHubV = (function() for i,v in pairs(EzHubV) do | |
576 | if v[1] == GetLargestIndex(EzHubV) then | |
577 | return v[2]; | |
578 | end | |
579 | end end)() | |
580 | ||
581 | ||
582 | ||
583 | function ApplyVSF(Frame, t) | |
584 | assert(Frame.Display, "Invalid Frame supplied to VSF Func") | |
585 | assert(Frame.Left, "Invalid Frame supplied to VSF Func") | |
586 | assert(Frame.Right, "Invalid Frame supplied to VSF Func") | |
587 | ||
588 | local IndexVal = Instance.new("IntValue", Frame) | |
589 | IndexVal.Value = GetLargestIndex(t) | |
590 | Frame.Display.Text = "V "..GetValWithIndex(GetLargestIndex(t), t)[1] | |
591 | Frame.Left.MouseButton1Click:Connect(function() | |
592 | if IndexVal.Value > 1 then | |
593 | IndexVal.Value = IndexVal.Value - 1 | |
594 | else | |
595 | IndexVal.Value = GetLargestIndex(t) | |
596 | end | |
597 | ||
598 | Frame.Display.Text = "V "..GetValWithIndex(IndexVal.Value, t)[1] | |
599 | end) | |
600 | Frame.Right.MouseButton1Click:Connect(function() | |
601 | if IndexVal.Value < GetLargestIndex(t) then | |
602 | IndexVal.Value = IndexVal.Value + 1 | |
603 | else | |
604 | IndexVal.Value = 1 | |
605 | end | |
606 | ||
607 | Frame.Display.Text = "V "..GetValWithIndex(IndexVal.Value, t)[1] | |
608 | end) | |
609 | end | |
610 | ||
611 | ApplyVSF(Launcher.VersionSelectorEzHub, EzHubV); | |
612 | ||
613 | ----------------------------------------------------------------------------- | |
614 | ||
615 | -- Launch | |
616 | ||
617 | local launchdebounce = true | |
618 | ||
619 | Launcher.LaunchEzHub.MouseButton1Click:Connect(function() | |
620 | ||
621 | if Launcher.EzHubStatus.TextColor3 == Color3.fromRGB(192, 49, 52) or Launcher.EzHubStatus.TextColor3 == Color3.fromRGB(192, 177, 14) then | |
622 | if launchdebounce then | |
623 | launchdebounce = false | |
624 | Launcher.LaunchEzHub.Text = "Service Down" | |
625 | wait(1) | |
626 | game.StarterGui:SetCore("SendNotification", { | |
627 | Title = "Ez Industries", | |
628 | Text = "Ez Hub is currently offline. Join Discord for more info." | |
629 | }) | |
630 | Launcher.LaunchEzHub.Text = "Launch" | |
631 | launchdebounce = true | |
632 | return; | |
633 | end | |
634 | end | |
635 | ||
636 | if launchdebounce then | |
637 | SelectedEzHubV = EzHubV[Launcher.VersionSelectorEzHub.Display.Text:gsub("V ", "")][2] | |
638 | launchdebounce = false | |
639 | Launcher.LaunchEzHub.Text = "Launching..." | |
640 | pcall(function() loadstring(game:HttpGet(SelectedEzHubV))() end) | |
641 | Launcher.LaunchEzHub.Text = "Launch" | |
642 | launchdebounce = true | |
643 | end | |
644 | ||
645 | end) | |
646 | ||
647 | Launcher.LaunchEzCMD.MouseButton1Click:Connect(function() | |
648 | if launchdebounce then | |
649 | launchdebounce = false | |
650 | Launcher.LaunchEzCMD.Text = "Launching..." | |
651 | pcall(function() loadstring(game:HttpGet(SelectedEzCMDV))() end) | |
652 | Launcher.LaunchEzCMD.Text = "Launch" | |
653 | launchdebounce = true | |
654 | end | |
655 | end) | |
656 | ||
657 | ----------------------------------------------------------------------------- | |
658 | ||
659 | -- Tab System | |
660 | ||
661 | local tabdebounce = true | |
662 | function OpenTab(tabtoclose, taptoopen) | |
663 | if tabtoclose then | |
664 | tabtoclose:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) | |
665 | wait(0.5) | |
666 | end | |
667 | if taptoopen then | |
668 | taptoopen:TweenPosition(UDim2.new(0.168, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) | |
669 | end | |
670 | end | |
671 | ||
672 | function LaunchPageF() | |
673 | if tabdebounce == false then return end; | |
674 | tabdebounce = false | |
675 | spawn(function() | |
676 | OpenTab(Launcher.AnimFrame2, Launcher.AnimFrame1) | |
677 | end) | |
678 | Launcher.LaunchPage.BackgroundTransparency = 0 | |
679 | Launcher.SettingPage.BackgroundTransparency = 1 | |
680 | ||
681 | Launcher.LaunchPage.Frame.Visible = true | |
682 | Launcher.SettingPage.Frame.Visible = false | |
683 | wait(1) | |
684 | tabdebounce = true | |
685 | end | |
686 | ||
687 | function SettingPageF() | |
688 | if tabdebounce == false then return end; | |
689 | tabdebounce = false | |
690 | spawn(function() | |
691 | OpenTab(Launcher.AnimFrame1, Launcher.AnimFrame2) | |
692 | end) | |
693 | Launcher.LaunchPage.BackgroundTransparency = 1 | |
694 | Launcher.SettingPage.BackgroundTransparency = 0 | |
695 | ||
696 | Launcher.LaunchPage.Frame.Visible = false | |
697 | Launcher.SettingPage.Frame.Visible = true | |
698 | wait(1) | |
699 | tabdebounce = true | |
700 | end | |
701 | ||
702 | Launcher.LaunchPage.InputBegan:Connect(function(input) | |
703 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
704 | LaunchPageF() | |
705 | end | |
706 | end) | |
707 | ||
708 | Launcher.SettingPage.InputBegan:Connect(function(input) | |
709 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
710 | SettingPageF() | |
711 | end | |
712 | end) | |
713 | ||
714 | Launcher.LaunchPage.Image.MouseButton1Click:Connect(function() | |
715 | LaunchPageF() | |
716 | end) | |
717 | ||
718 | Launcher.SettingPage.Image.MouseButton1Click:Connect(function() | |
719 | SettingPageF() | |
720 | end) | |
721 | ||
722 | ----------------------------------------------------------------------------- | |
723 | ||
724 | -- Close | |
725 | ||
726 | Launcher.Close.MouseButton1Click:Connect(function() | |
727 | Launcher.Launcher:Destroy() | |
728 | end) | |
729 | ||
730 | ----------------------------------------------------------------------------- | |
731 | ||
732 | -- Draggability | |
733 | ||
734 | local function dragify(MainFrame) | |
735 | ||
736 | local dragging | |
737 | local dragInput | |
738 | local dragStart | |
739 | local startPos | |
740 | ||
741 | local function update(input) | |
742 | Delta = input.Position - dragStart | |
743 | Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y) | |
744 | game:GetService("TweenService"):Create(MainFrame, TweenInfo.new(.15), {Position = Position}):Play() | |
745 | end | |
746 | ||
747 | MainFrame.InputBegan:Connect(function(input) | |
748 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
749 | dragging = true | |
750 | dragStart = input.Position | |
751 | startPos = MainFrame.Position | |
752 | ||
753 | input.Changed:Connect(function() | |
754 | if input.UserInputState == Enum.UserInputState.End then | |
755 | dragging = false | |
756 | end | |
757 | end) | |
758 | end | |
759 | end) | |
760 | ||
761 | MainFrame.InputChanged:Connect(function(input) | |
762 | if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then | |
763 | dragInput = input | |
764 | end | |
765 | end) | |
766 | ||
767 | game:GetService("UserInputService").InputChanged:Connect(function(input) | |
768 | if input == dragInput and dragging then | |
769 | update(input) | |
770 | end | |
771 | end) | |
772 | end | |
773 | ||
774 | dragify(Launcher.MainFrame) | |
775 | Created by CDXX from Ez Industries - Join their Discord: https://discord.gg/tuWcU7Q | |
776 | A redistribution of https://wearedevs.net/scripts | |
777 | ||
778 | Description: Completely free script hub featuring cheats for some of the most popular games. | |
779 | It uses custom scripts and 150+ community made scripts. | |
780 | ||
781 | Instruction: Execute this script and wait for an interface to appear on your game screen. | |
782 | ||
783 | ]] | |
784 | ||
785 | -- Don't edit below | |
786 | ||
787 | _G.DISABLEEXELOG = true | |
788 | ||
789 | -- Instances: | |
790 | ||
791 | local Launcher = { | |
792 | Launcher = Instance.new("ScreenGui"), | |
793 | MainFrame = Instance.new("Frame"), | |
794 | UICorner = Instance.new("UICorner"), | |
795 | SideFrame = Instance.new("Frame"), | |
796 | PlayerPicture = Instance.new("ImageLabel"), | |
797 | ImageLabel = Instance.new("ImageLabel"), | |
798 | Close = Instance.new("ImageButton"), | |
799 | LaunchPage = Instance.new("Frame"), | |
800 | Frame = Instance.new("Frame"), | |
801 | UICorner_2 = Instance.new("UICorner"), | |
802 | Image = Instance.new("ImageButton"), | |
803 | SettingPage = Instance.new("Frame"), | |
804 | Frame_2 = Instance.new("Frame"), | |
805 | UICorner_3 = Instance.new("UICorner"), | |
806 | Image_2 = Instance.new("ImageButton"), | |
807 | AnimFrame2 = Instance.new("Frame"), | |
808 | TextLabel = Instance.new("TextLabel"), | |
809 | AnimFrame1 = Instance.new("Frame"), | |
810 | EzHubSection = Instance.new("Frame"), | |
811 | SectionEs = Instance.new("Folder"), | |
812 | Frame_3 = Instance.new("Frame"), | |
813 | UICorner_4 = Instance.new("UICorner"), | |
814 | Frame_4 = Instance.new("Frame"), | |
815 | TextLabel_2 = Instance.new("TextLabel"), | |
816 | UICorner_5 = Instance.new("UICorner"), | |
817 | VersionSelectorEzHub = Instance.new("Frame"), | |
818 | Left = Instance.new("TextButton"), | |
819 | Right = Instance.new("TextButton"), | |
820 | Display = Instance.new("TextButton"), | |
821 | LaunchEzHub = Instance.new("TextButton"), | |
822 | UICorner_6 = Instance.new("UICorner"), | |
823 | ServerStatusSection = Instance.new("Frame"), | |
824 | SectionEs_2 = Instance.new("Folder"), | |
825 | Frame_5 = Instance.new("Frame"), | |
826 | UICorner_7 = Instance.new("UICorner"), | |
827 | Frame_6 = Instance.new("Frame"), | |
828 | TextLabel_3 = Instance.new("TextLabel"), | |
829 | TextLabel_4 = Instance.new("TextLabel"), | |
830 | TextLabel_5 = Instance.new("TextLabel"), | |
831 | UICorner_8 = Instance.new("UICorner"), | |
832 | EzCMDStatus = Instance.new("TextLabel"), | |
833 | EzHubStatus = Instance.new("TextLabel"), | |
834 | EzCMDSection = Instance.new("Frame"), | |
835 | SectionEs_3 = Instance.new("Folder"), | |
836 | Frame_7 = Instance.new("Frame"), | |
837 | UICorner_9 = Instance.new("UICorner"), | |
838 | Frame_8 = Instance.new("Frame"), | |
839 | TextLabel_6 = Instance.new("TextLabel"), | |
840 | UICorner_10 = Instance.new("UICorner"), | |
841 | LaunchEzCMD = Instance.new("TextButton"), | |
842 | UICorner_11 = Instance.new("UICorner"), | |
843 | VersionSelectorEzCMD = Instance.new("Frame"), | |
844 | Left_2 = Instance.new("TextButton"), | |
845 | Display_2 = Instance.new("TextButton"), | |
846 | Right_2 = Instance.new("TextButton"), | |
847 | } | |
848 | ||
849 | --Properties: | |
850 | ||
851 | Launcher.Launcher.Name = "Launcher" | |
852 | Launcher.Launcher.Parent = game.CoreGui | |
853 | Launcher.Launcher.ZIndexBehavior = Enum.ZIndexBehavior.Sibling | |
854 | ||
855 | Launcher.MainFrame.Name = "MainFrame" | |
856 | Launcher.MainFrame.Parent = Launcher.Launcher | |
857 | Launcher.MainFrame.AnchorPoint = Vector2.new(0.5, 0.5) | |
858 | Launcher.MainFrame.BackgroundColor3 = Color3.fromRGB(41, 53, 68) | |
859 | Launcher.MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0) | |
860 | Launcher.MainFrame.Size = UDim2.new(0, 410, 0, 278) | |
861 | ||
862 | Launcher.UICorner.CornerRadius = UDim.new(0, 4) | |
863 | Launcher.UICorner.Parent = Launcher.MainFrame | |
864 | ||
865 | Launcher.SideFrame.Name = "SideFrame" | |
866 | Launcher.SideFrame.Parent = Launcher.MainFrame | |
867 | Launcher.SideFrame.BackgroundColor3 = Color3.fromRGB(28, 41, 56) | |
868 | Launcher.SideFrame.BorderSizePixel = 0 | |
869 | Launcher.SideFrame.Size = UDim2.new(0, 69, 0, 278) | |
870 | ||
871 | Launcher.PlayerPicture.Name = "PlayerPicture" | |
872 | Launcher.PlayerPicture.Parent = Launcher.SideFrame | |
873 | Launcher.PlayerPicture.AnchorPoint = Vector2.new(0.5, 0.5) | |
874 | Launcher.PlayerPicture.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
875 | Launcher.PlayerPicture.BackgroundTransparency = 1.000 | |
876 | Launcher.PlayerPicture.BorderSizePixel = 0 | |
877 | Launcher.PlayerPicture.Position = UDim2.new(0.5, 0, 0, 35) | |
878 | Launcher.PlayerPicture.Size = UDim2.new(0, 45, 0, 45) | |
879 | Launcher.PlayerPicture.Image = "rbxasset://textures/ui/GuiImagePlaceholder.png" | |
880 | ||
881 | Launcher.ImageLabel.Parent = Launcher.PlayerPicture | |
882 | Launcher.ImageLabel.AnchorPoint = Vector2.new(0.5, 0.5) | |
883 | Launcher.ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
884 | Launcher.ImageLabel.BackgroundTransparency = 1.000 | |
885 | Launcher.ImageLabel.BorderSizePixel = 0 | |
886 | Launcher.ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
887 | Launcher.ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
888 | Launcher.ImageLabel.Image = "rbxassetid://4031889928" | |
889 | Launcher.ImageLabel.ImageColor3 = Color3.fromRGB(28, 41, 56) | |
890 | ||
891 | Launcher.Close.Name = "Close" | |
892 | Launcher.Close.Parent = Launcher.SideFrame | |
893 | Launcher.Close.AnchorPoint = Vector2.new(0.5, 0.5) | |
894 | Launcher.Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
895 | Launcher.Close.BackgroundTransparency = 1.000 | |
896 | Launcher.Close.Position = UDim2.new(0.5, 0, 0.306295037, 0) | |
897 | Launcher.Close.Size = UDim2.new(0, 16, 0, 16) | |
898 | Launcher.Close.Image = "http://www.roblox.com/asset/?id=5679295310" | |
899 | Launcher.Close.ImageColor3 = Color3.fromRGB(211, 216, 226) | |
900 | ||
901 | Launcher.LaunchPage.Name = "LaunchPage" | |
902 | Launcher.LaunchPage.Parent = Launcher.SideFrame | |
903 | Launcher.LaunchPage.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
904 | Launcher.LaunchPage.BorderSizePixel = 0 | |
905 | Launcher.LaunchPage.Position = UDim2.new(0, 0, 0.410071939, 0) | |
906 | Launcher.LaunchPage.Size = UDim2.new(1, 0, 0, 50) | |
907 | ||
908 | Launcher.Frame.Parent = Launcher.LaunchPage | |
909 | Launcher.Frame.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
910 | Launcher.Frame.Size = UDim2.new(0, 2, 1, 0) | |
911 | ||
912 | Launcher.UICorner_2.Parent = Launcher.Frame | |
913 | ||
914 | Launcher.Image.Name = "Image" | |
915 | Launcher.Image.Parent = Launcher.LaunchPage | |
916 | Launcher.Image.AnchorPoint = Vector2.new(0.5, 0.5) | |
917 | Launcher.Image.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
918 | Launcher.Image.BackgroundTransparency = 1.000 | |
919 | Launcher.Image.Position = UDim2.new(0.5, 0, 0.5, 0) | |
920 | Launcher.Image.Size = UDim2.new(0, 22, 0, 22) | |
921 | Launcher.Image.Image = "http://www.roblox.com/asset/?id=2876994160" | |
922 | ||
923 | Launcher.SettingPage.Name = "SettingPage" | |
924 | Launcher.SettingPage.Parent = Launcher.SideFrame | |
925 | Launcher.SettingPage.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
926 | Launcher.SettingPage.BackgroundTransparency = 1.000 | |
927 | Launcher.SettingPage.BorderSizePixel = 0 | |
928 | Launcher.SettingPage.Position = UDim2.new(0, 0, 0.587769806, 0) | |
929 | Launcher.SettingPage.Size = UDim2.new(1, 0, 0, 50) | |
930 | ||
931 | Launcher.Frame_2.Parent = Launcher.SettingPage | |
932 | Launcher.Frame_2.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
933 | Launcher.Frame_2.Size = UDim2.new(0, 2, 1, 0) | |
934 | Launcher.Frame_2.Visible = false | |
935 | ||
936 | Launcher.UICorner_3.Parent = Launcher.Frame_2 | |
937 | ||
938 | Launcher.Image_2.Name = "Image" | |
939 | Launcher.Image_2.Parent = Launcher.SettingPage | |
940 | Launcher.Image_2.AnchorPoint = Vector2.new(0.5, 0.5) | |
941 | Launcher.Image_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
942 | Launcher.Image_2.BackgroundTransparency = 1.000 | |
943 | Launcher.Image_2.Position = UDim2.new(0.5, 0, 0.5, 0) | |
944 | Launcher.Image_2.Size = UDim2.new(0, 15, 0, 15) | |
945 | Launcher.Image_2.Image = "http://www.roblox.com/asset/?id=4492476121" | |
946 | ||
947 | Launcher.AnimFrame2.Name = "AnimFrame2" | |
948 | Launcher.AnimFrame2.Parent = Launcher.MainFrame | |
949 | Launcher.AnimFrame2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
950 | Launcher.AnimFrame2.BackgroundTransparency = 1.000 | |
951 | Launcher.AnimFrame2.Position = UDim2.new(0.168292686, 0, 0, 0) | |
952 | Launcher.AnimFrame2.Size = UDim2.new(0, 341, 0, 278) | |
953 | Launcher.AnimFrame2.Visible = false | |
954 | ||
955 | Launcher.TextLabel.Parent = Launcher.AnimFrame2 | |
956 | Launcher.TextLabel.AnchorPoint = Vector2.new(0.5, 0.5) | |
957 | Launcher.TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
958 | Launcher.TextLabel.BackgroundTransparency = 1.000 | |
959 | Launcher.TextLabel.Position = UDim2.new(0.5, 0, 0.5, 0) | |
960 | Launcher.TextLabel.Size = UDim2.new(0, 200, 0, 50) | |
961 | Launcher.TextLabel.Font = Enum.Font.SourceSans | |
962 | Launcher.TextLabel.Text = "This feature is not done yet" | |
963 | Launcher.TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) | |
964 | Launcher.TextLabel.TextSize = 20.000 | |
965 | ||
966 | Launcher.AnimFrame1.Name = "AnimFrame1" | |
967 | Launcher.AnimFrame1.Parent = Launcher.MainFrame | |
968 | Launcher.AnimFrame1.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
969 | Launcher.AnimFrame1.BackgroundTransparency = 1.000 | |
970 | Launcher.AnimFrame1.Position = UDim2.new(0.168292686, 0, 0, 0) | |
971 | Launcher.AnimFrame1.Size = UDim2.new(0, 341, 0, 278) | |
972 | Launcher.AnimFrame1.Visible = false | |
973 | ||
974 | Launcher.EzHubSection.Name = "EzHubSection" | |
975 | Launcher.EzHubSection.Parent = Launcher.AnimFrame1 | |
976 | Launcher.EzHubSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
977 | Launcher.EzHubSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
978 | Launcher.EzHubSection.BorderSizePixel = 0 | |
979 | Launcher.EzHubSection.Position = UDim2.new(0.260997087, 0, 0.696402788, 0) | |
980 | Launcher.EzHubSection.Size = UDim2.new(0, 150, 0, 116) | |
981 | ||
982 | Launcher.SectionEs.Name = "SectionEs" | |
983 | Launcher.SectionEs.Parent = Launcher.EzHubSection | |
984 | ||
985 | Launcher.Frame_3.Parent = Launcher.SectionEs | |
986 | Launcher.Frame_3.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
987 | Launcher.Frame_3.Size = UDim2.new(0, 2, 0, 36) | |
988 | ||
989 | Launcher.UICorner_4.Parent = Launcher.Frame_3 | |
990 | ||
991 | Launcher.Frame_4.Parent = Launcher.SectionEs | |
992 | Launcher.Frame_4.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
993 | Launcher.Frame_4.BackgroundTransparency = 0.750 | |
994 | Launcher.Frame_4.BorderSizePixel = 0 | |
995 | Launcher.Frame_4.Position = UDim2.new(0, 0, 0.294290125, 0) | |
996 | Launcher.Frame_4.Size = UDim2.new(1, 0, 0, 1) | |
997 | ||
998 | Launcher.TextLabel_2.Parent = Launcher.SectionEs | |
999 | Launcher.TextLabel_2.AnchorPoint = Vector2.new(1, 0) | |
1000 | Launcher.TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1001 | Launcher.TextLabel_2.BackgroundTransparency = 1.000 | |
1002 | Launcher.TextLabel_2.Position = UDim2.new(1, 0, 0.0439999998, 0) | |
1003 | Launcher.TextLabel_2.Size = UDim2.new(0.899999976, 0, 0, 24) | |
1004 | Launcher.TextLabel_2.Font = Enum.Font.SourceSans | |
1005 | Launcher.TextLabel_2.Text = "Ez Hub" | |
1006 | Launcher.TextLabel_2.TextColor3 = Color3.fromRGB(211, 216, 226) | |
1007 | Launcher.TextLabel_2.TextSize = 14.000 | |
1008 | Launcher.TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left | |
1009 | ||
1010 | Launcher.UICorner_5.CornerRadius = UDim.new(0, 4) | |
1011 | Launcher.UICorner_5.Parent = Launcher.EzHubSection | |
1012 | ||
1013 | Launcher.VersionSelectorEzHub.Name = "VersionSelectorEzHub" | |
1014 | Launcher.VersionSelectorEzHub.Parent = Launcher.EzHubSection | |
1015 | Launcher.VersionSelectorEzHub.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1016 | Launcher.VersionSelectorEzHub.BackgroundTransparency = 1.000 | |
1017 | Launcher.VersionSelectorEzHub.Position = UDim2.new(0, 10, 0.414000005, 0) | |
1018 | Launcher.VersionSelectorEzHub.Size = UDim2.new(0, 86, 0, 28) | |
1019 | ||
1020 | Launcher.Left.Name = "Left" | |
1021 | Launcher.Left.Parent = Launcher.VersionSelectorEzHub | |
1022 | Launcher.Left.AnchorPoint = Vector2.new(0, 0.5) | |
1023 | Launcher.Left.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1024 | Launcher.Left.BackgroundTransparency = 1.000 | |
1025 | Launcher.Left.Position = UDim2.new(0, 0, 0.5, 0) | |
1026 | Launcher.Left.Size = UDim2.new(0, 20, 0, 20) | |
1027 | Launcher.Left.Font = Enum.Font.SourceSans | |
1028 | Launcher.Left.Text = "<" | |
1029 | Launcher.Left.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1030 | Launcher.Left.TextSize = 14.000 | |
1031 | ||
1032 | Launcher.Right.Name = "Right" | |
1033 | Launcher.Right.Parent = Launcher.VersionSelectorEzHub | |
1034 | Launcher.Right.AnchorPoint = Vector2.new(1, 0.5) | |
1035 | Launcher.Right.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1036 | Launcher.Right.BackgroundTransparency = 1.000 | |
1037 | Launcher.Right.Position = UDim2.new(1, 0, 0.5, 0) | |
1038 | Launcher.Right.Size = UDim2.new(0, 20, 0, 20) | |
1039 | Launcher.Right.Font = Enum.Font.SourceSans | |
1040 | Launcher.Right.Text = ">" | |
1041 | Launcher.Right.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1042 | Launcher.Right.TextSize = 14.000 | |
1043 | ||
1044 | Launcher.Display.Name = "Display" | |
1045 | Launcher.Display.Parent = Launcher.VersionSelectorEzHub | |
1046 | Launcher.Display.AnchorPoint = Vector2.new(0.5, 0.5) | |
1047 | Launcher.Display.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1048 | Launcher.Display.BackgroundTransparency = 1.000 | |
1049 | Launcher.Display.Position = UDim2.new(0.5, 0, 0.5, 0) | |
1050 | Launcher.Display.Size = UDim2.new(0, 55, 0, 20) | |
1051 | Launcher.Display.Font = Enum.Font.SourceSans | |
1052 | Launcher.Display.Text = "V 3.3" | |
1053 | Launcher.Display.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1054 | Launcher.Display.TextSize = 14.000 | |
1055 | ||
1056 | Launcher.LaunchEzHub.Name = "LaunchEzHub" | |
1057 | Launcher.LaunchEzHub.Parent = Launcher.EzHubSection | |
1058 | Launcher.LaunchEzHub.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
1059 | Launcher.LaunchEzHub.Position = UDim2.new(0, 10, 0.720000029, 0) | |
1060 | Launcher.LaunchEzHub.Size = UDim2.new(0, 86, 0, 22) | |
1061 | Launcher.LaunchEzHub.Font = Enum.Font.SourceSans | |
1062 | Launcher.LaunchEzHub.Text = "Launch" | |
1063 | Launcher.LaunchEzHub.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1064 | Launcher.LaunchEzHub.TextSize = 14.000 | |
1065 | ||
1066 | Launcher.UICorner_6.CornerRadius = UDim.new(0, 4) | |
1067 | Launcher.UICorner_6.Parent = Launcher.LaunchEzHub | |
1068 | ||
1069 | Launcher.ServerStatusSection.Name = "ServerStatusSection" | |
1070 | Launcher.ServerStatusSection.Parent = Launcher.AnimFrame1 | |
1071 | Launcher.ServerStatusSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
1072 | Launcher.ServerStatusSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
1073 | Launcher.ServerStatusSection.BorderSizePixel = 0 | |
1074 | Launcher.ServerStatusSection.Position = UDim2.new(0.5, 0, 0.0701438859, 50) | |
1075 | Launcher.ServerStatusSection.Size = UDim2.new(0, 312, 0, 116) | |
1076 | ||
1077 | Launcher.SectionEs_2.Name = "SectionEs" | |
1078 | Launcher.SectionEs_2.Parent = Launcher.ServerStatusSection | |
1079 | ||
1080 | Launcher.Frame_5.Parent = Launcher.SectionEs_2 | |
1081 | Launcher.Frame_5.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
1082 | Launcher.Frame_5.Size = UDim2.new(0, 2, 0, 36) | |
1083 | ||
1084 | Launcher.UICorner_7.Parent = Launcher.Frame_5 | |
1085 | ||
1086 | Launcher.Frame_6.Parent = Launcher.SectionEs_2 | |
1087 | Launcher.Frame_6.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
1088 | Launcher.Frame_6.BackgroundTransparency = 0.750 | |
1089 | Launcher.Frame_6.BorderSizePixel = 0 | |
1090 | Launcher.Frame_6.Position = UDim2.new(0, 0, 0.294290125, 0) | |
1091 | Launcher.Frame_6.Size = UDim2.new(1, 0, 0, 1) | |
1092 | ||
1093 | Launcher.TextLabel_3.Parent = Launcher.SectionEs_2 | |
1094 | Launcher.TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1095 | Launcher.TextLabel_3.BackgroundTransparency = 1.000 | |
1096 | Launcher.TextLabel_3.Position = UDim2.new(0.0416666679, 0, 0.0435512774, 0) | |
1097 | Launcher.TextLabel_3.Size = UDim2.new(0, 299, 0, 24) | |
1098 | Launcher.TextLabel_3.Font = Enum.Font.SourceSans | |
1099 | Launcher.TextLabel_3.Text = "Server Status" | |
1100 | Launcher.TextLabel_3.TextColor3 = Color3.fromRGB(211, 216, 226) | |
1101 | Launcher.TextLabel_3.TextSize = 14.000 | |
1102 | Launcher.TextLabel_3.TextXAlignment = Enum.TextXAlignment.Left | |
1103 | ||
1104 | Launcher.TextLabel_4.Parent = Launcher.ServerStatusSection | |
1105 | Launcher.TextLabel_4.AnchorPoint = Vector2.new(0.5, 0.5) | |
1106 | Launcher.TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1107 | Launcher.TextLabel_4.BackgroundTransparency = 1.000 | |
1108 | Launcher.TextLabel_4.Position = UDim2.new(0.699999988, 0, 0.5, 0) | |
1109 | Launcher.TextLabel_4.Size = UDim2.new(0, 50, 0, 30) | |
1110 | Launcher.TextLabel_4.Font = Enum.Font.SourceSans | |
1111 | Launcher.TextLabel_4.Text = "Ez CMD" | |
1112 | Launcher.TextLabel_4.TextColor3 = Color3.fromRGB(92, 106, 124) | |
1113 | Launcher.TextLabel_4.TextSize = 14.000 | |
1114 | ||
1115 | Launcher.TextLabel_5.Parent = Launcher.ServerStatusSection | |
1116 | Launcher.TextLabel_5.AnchorPoint = Vector2.new(0.5, 0.5) | |
1117 | Launcher.TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1118 | Launcher.TextLabel_5.BackgroundTransparency = 1.000 | |
1119 | Launcher.TextLabel_5.Position = UDim2.new(0.300000012, 0, 0.5, 0) | |
1120 | Launcher.TextLabel_5.Size = UDim2.new(0, 50, 0, 30) | |
1121 | Launcher.TextLabel_5.Font = Enum.Font.SourceSans | |
1122 | Launcher.TextLabel_5.Text = "Ez Hub" | |
1123 | Launcher.TextLabel_5.TextColor3 = Color3.fromRGB(92, 106, 124) | |
1124 | Launcher.TextLabel_5.TextSize = 14.000 | |
1125 | ||
1126 | Launcher.UICorner_8.CornerRadius = UDim.new(0, 4) | |
1127 | Launcher.UICorner_8.Parent = Launcher.ServerStatusSection | |
1128 | ||
1129 | Launcher.EzCMDStatus.Name = "EzCMDStatus" | |
1130 | Launcher.EzCMDStatus.Parent = Launcher.ServerStatusSection | |
1131 | Launcher.EzCMDStatus.AnchorPoint = Vector2.new(0.5, 0.5) | |
1132 | Launcher.EzCMDStatus.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1133 | Launcher.EzCMDStatus.BackgroundTransparency = 1.000 | |
1134 | Launcher.EzCMDStatus.Position = UDim2.new(0.698461592, 0, 0.758620679, 0) | |
1135 | Launcher.EzCMDStatus.Size = UDim2.new(0, 50, 0, 30) | |
1136 | Launcher.EzCMDStatus.Font = Enum.Font.SourceSans | |
1137 | Launcher.EzCMDStatus.Text = "Online" | |
1138 | Launcher.EzCMDStatus.TextColor3 = Color3.fromRGB(45, 192, 179) | |
1139 | Launcher.EzCMDStatus.TextSize = 22.000 | |
1140 | ||
1141 | Launcher.EzHubStatus.Name = "EzHubStatus" | |
1142 | Launcher.EzHubStatus.Parent = Launcher.ServerStatusSection | |
1143 | Launcher.EzHubStatus.AnchorPoint = Vector2.new(0.5, 0.5) | |
1144 | Launcher.EzHubStatus.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1145 | Launcher.EzHubStatus.BackgroundTransparency = 1.000 | |
1146 | Launcher.EzHubStatus.Position = UDim2.new(0.297820538, 0, 0.758620679, 0) | |
1147 | Launcher.EzHubStatus.Size = UDim2.new(0, 50, 0, 30) | |
1148 | Launcher.EzHubStatus.Font = Enum.Font.SourceSans | |
1149 | Launcher.EzHubStatus.Text = "Online" | |
1150 | Launcher.EzHubStatus.TextColor3 = Color3.fromRGB(45, 192, 179) | |
1151 | Launcher.EzHubStatus.TextSize = 22.000 | |
1152 | ||
1153 | Launcher.EzCMDSection.Name = "EzCMDSection" | |
1154 | Launcher.EzCMDSection.Parent = Launcher.AnimFrame1 | |
1155 | Launcher.EzCMDSection.AnchorPoint = Vector2.new(0.5, 0.5) | |
1156 | Launcher.EzCMDSection.BackgroundColor3 = Color3.fromRGB(35, 47, 62) | |
1157 | Launcher.EzCMDSection.BorderSizePixel = 0 | |
1158 | Launcher.EzCMDSection.Position = UDim2.new(0.736070395, 0, 0.696402788, 0) | |
1159 | Launcher.EzCMDSection.Size = UDim2.new(0, 150, 0, 116) | |
1160 | ||
1161 | Launcher.SectionEs_3.Name = "SectionEs" | |
1162 | Launcher.SectionEs_3.Parent = Launcher.EzCMDSection | |
1163 | ||
1164 | Launcher.Frame_7.Parent = Launcher.SectionEs_3 | |
1165 | Launcher.Frame_7.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
1166 | Launcher.Frame_7.Size = UDim2.new(0, 2, 0, 36) | |
1167 | ||
1168 | Launcher.UICorner_9.Parent = Launcher.Frame_7 | |
1169 | ||
1170 | Launcher.Frame_8.Parent = Launcher.SectionEs_3 | |
1171 | Launcher.Frame_8.BackgroundColor3 = Color3.fromRGB(112, 112, 112) | |
1172 | Launcher.Frame_8.BackgroundTransparency = 0.750 | |
1173 | Launcher.Frame_8.BorderSizePixel = 0 | |
1174 | Launcher.Frame_8.Position = UDim2.new(0, 0, 0.294290125, 0) | |
1175 | Launcher.Frame_8.Size = UDim2.new(1, 0, 0, 1) | |
1176 | ||
1177 | Launcher.TextLabel_6.Parent = Launcher.SectionEs_3 | |
1178 | Launcher.TextLabel_6.AnchorPoint = Vector2.new(1, 0) | |
1179 | Launcher.TextLabel_6.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1180 | Launcher.TextLabel_6.BackgroundTransparency = 1.000 | |
1181 | Launcher.TextLabel_6.Position = UDim2.new(1, 0, 0.0439999998, 0) | |
1182 | Launcher.TextLabel_6.Size = UDim2.new(0.899999976, 0, 0, 24) | |
1183 | Launcher.TextLabel_6.Font = Enum.Font.SourceSans | |
1184 | Launcher.TextLabel_6.Text = "Ez CMD" | |
1185 | Launcher.TextLabel_6.TextColor3 = Color3.fromRGB(211, 216, 226) | |
1186 | Launcher.TextLabel_6.TextSize = 14.000 | |
1187 | Launcher.TextLabel_6.TextXAlignment = Enum.TextXAlignment.Left | |
1188 | ||
1189 | Launcher.UICorner_10.CornerRadius = UDim.new(0, 4) | |
1190 | Launcher.UICorner_10.Parent = Launcher.EzCMDSection | |
1191 | ||
1192 | Launcher.LaunchEzCMD.Name = "LaunchEzCMD" | |
1193 | Launcher.LaunchEzCMD.Parent = Launcher.EzCMDSection | |
1194 | Launcher.LaunchEzCMD.BackgroundColor3 = Color3.fromRGB(18, 98, 159) | |
1195 | Launcher.LaunchEzCMD.Position = UDim2.new(0, 10, 0.720000029, 0) | |
1196 | Launcher.LaunchEzCMD.Size = UDim2.new(0, 86, 0, 22) | |
1197 | Launcher.LaunchEzCMD.Font = Enum.Font.SourceSans | |
1198 | Launcher.LaunchEzCMD.Text = "Launch" | |
1199 | Launcher.LaunchEzCMD.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1200 | Launcher.LaunchEzCMD.TextSize = 14.000 | |
1201 | ||
1202 | Launcher.UICorner_11.CornerRadius = UDim.new(0, 4) | |
1203 | Launcher.UICorner_11.Parent = Launcher.LaunchEzCMD | |
1204 | ||
1205 | Launcher.VersionSelectorEzCMD.Name = "VersionSelectorEzCMD" | |
1206 | Launcher.VersionSelectorEzCMD.Parent = Launcher.EzCMDSection | |
1207 | Launcher.VersionSelectorEzCMD.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1208 | Launcher.VersionSelectorEzCMD.BackgroundTransparency = 1.000 | |
1209 | Launcher.VersionSelectorEzCMD.Position = UDim2.new(0, 10, 0.414000005, 0) | |
1210 | Launcher.VersionSelectorEzCMD.Size = UDim2.new(0, 86, 0, 28) | |
1211 | ||
1212 | Launcher.Left_2.Name = "Left" | |
1213 | Launcher.Left_2.Parent = Launcher.VersionSelectorEzCMD | |
1214 | Launcher.Left_2.AnchorPoint = Vector2.new(0, 0.5) | |
1215 | Launcher.Left_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1216 | Launcher.Left_2.BackgroundTransparency = 1.000 | |
1217 | Launcher.Left_2.Position = UDim2.new(0, 0, 0.5, 0) | |
1218 | Launcher.Left_2.Size = UDim2.new(0, 20, 0, 20) | |
1219 | Launcher.Left_2.Font = Enum.Font.SourceSans | |
1220 | Launcher.Left_2.Text = "<" | |
1221 | Launcher.Left_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1222 | Launcher.Left_2.TextSize = 14.000 | |
1223 | ||
1224 | Launcher.Display_2.Name = "Display" | |
1225 | Launcher.Display_2.Parent = Launcher.VersionSelectorEzCMD | |
1226 | Launcher.Display_2.AnchorPoint = Vector2.new(0.5, 0.5) | |
1227 | Launcher.Display_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1228 | Launcher.Display_2.BackgroundTransparency = 1.000 | |
1229 | Launcher.Display_2.Position = UDim2.new(0.5, 0, 0.5, 0) | |
1230 | Launcher.Display_2.Size = UDim2.new(0, 55, 0, 20) | |
1231 | Launcher.Display_2.Font = Enum.Font.SourceSans | |
1232 | Launcher.Display_2.Text = "N/A" | |
1233 | Launcher.Display_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1234 | Launcher.Display_2.TextSize = 14.000 | |
1235 | ||
1236 | Launcher.Right_2.Name = "Right" | |
1237 | Launcher.Right_2.Parent = Launcher.VersionSelectorEzCMD | |
1238 | Launcher.Right_2.AnchorPoint = Vector2.new(1, 0.5) | |
1239 | Launcher.Right_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) | |
1240 | Launcher.Right_2.BackgroundTransparency = 1.000 | |
1241 | Launcher.Right_2.Position = UDim2.new(1, 0, 0.5, 0) | |
1242 | Launcher.Right_2.Size = UDim2.new(0, 20, 0, 20) | |
1243 | Launcher.Right_2.Font = Enum.Font.SourceSans | |
1244 | Launcher.Right_2.Text = ">" | |
1245 | Launcher.Right_2.TextColor3 = Color3.fromRGB(255, 255, 255) | |
1246 | Launcher.Right_2.TextSize = 14.000 | |
1247 | ||
1248 | ----------------------------------------------------------------------------- | |
1249 | ||
1250 | -- Start-Up Animations | |
1251 | ||
1252 | Launcher.MainFrame.Size = UDim2.new(0,0,0,0) | |
1253 | Launcher.MainFrame.ClipsDescendants = true | |
1254 | Launcher.MainFrame:TweenSize(UDim2.new(0, 410, 0, 278), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
1255 | ||
1256 | for i,v in pairs(Launcher.MainFrame:GetChildren()) do | |
1257 | if v:IsA("Frame") and string.find(v.Name:lower(), "animframe") then | |
1258 | v.Visible = true | |
1259 | v.Position = UDim2.new(1, 0, 0, 0) | |
1260 | end | |
1261 | end | |
1262 | ||
1263 | Launcher.SideFrame.Position = UDim2.new(0, 0, 1, 0) | |
1264 | ||
1265 | local PanelInfo = game:HttpGet(('https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/Main'),true) | |
1266 | local FormattedInfo = string.split(PanelInfo, ", ") | |
1267 | local thumbType = Enum.ThumbnailType.HeadShot | |
1268 | local thumbSize = Enum.ThumbnailSize.Size420x420 | |
1269 | local content, isReady = game:GetService("Players"):GetUserThumbnailAsync(game:GetService("Players").LocalPlayer.UserId, thumbType, thumbSize) | |
1270 | local timeIncrement = 0; | |
1271 | repeat wait() timeIncrement = timeIncrement + .03 | |
1272 | if timeIncrement >= 5 then | |
1273 | break | |
1274 | end | |
1275 | until isReady | |
1276 | wait(.5) | |
1277 | ||
1278 | Launcher.SideFrame:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
1279 | Launcher.AnimFrame1:TweenPosition(UDim2.new(0.168, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 1, true) | |
1280 | ||
1281 | ----------------------------------------------------------------------------- | |
1282 | ||
1283 | -- Backwards compatibility (EZ HUB) | |
1284 | --[[ | |
1285 | do | |
1286 | local a; | |
1287 | a = hookfunction(game.HttpGet, function(self, url) | |
1288 | if url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/ExclusivesModule.txt" then | |
1289 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/ExclusiveV1.json" | |
1290 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/ExclusivesV2Module.txt" then | |
1291 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/ExclusivesV2.json" | |
1292 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/EzLib.lua" then | |
1293 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/EzLib.lua" | |
1294 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/RepostedModule.txt" then | |
1295 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/RepostedModule.json" | |
1296 | elseif url == "https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/lexermodule.lua" then | |
1297 | url = "https://raw.githubusercontent.com/debug420/Ez-Hub/master/Modules/LexerModule.lua" | |
1298 | end | |
1299 | return a(self, url) | |
1300 | end) | |
1301 | end | |
1302 | ]]-- | |
1303 | ||
1304 | ----------------------------------------------------------------------------- | |
1305 | ||
1306 | local function AppColor(box) | |
1307 | local t = box.Text:lower() | |
1308 | if t == "online" then | |
1309 | return Color3.fromRGB(45, 192, 179) | |
1310 | elseif t == "maintenance" or t == "updating" then | |
1311 | return Color3.fromRGB(192, 177, 14) | |
1312 | elseif t == "offline" or "down" then | |
1313 | return Color3.fromRGB(192, 49, 52) | |
1314 | end | |
1315 | return Color3.fromRGB(45, 192, 179); | |
1316 | end | |
1317 | ||
1318 | Launcher.EzHubStatus.Text = FormattedInfo[2]:gsub("%s+", "") | |
1319 | Launcher.EzCMDStatus.Text = FormattedInfo[3]:gsub("%s+", "") | |
1320 | Launcher.EzCMDStatus.TextColor3 = AppColor(Launcher.EzCMDStatus) | |
1321 | Launcher.EzHubStatus.TextColor3 = AppColor(Launcher.EzHubStatus) | |
1322 | Launcher.PlayerPicture.Image = content | |
1323 | ||
1324 | ----------------------------------------------------------------------------- | |
1325 | ||
1326 | -- Apply Version Selection Func | |
1327 | ||
1328 | local EzHubV = game:GetService("HttpService"):JSONDecode(game:HttpGet("https://raw.githubusercontent.com/debug420/Ez-Industries-Launcher-Data/master/Versions")) | |
1329 | ||
1330 | local EzCMDV = {} | |
1331 | ||
1332 | function GetValWithIndex(ind, t) | |
1333 | for i,v in pairs(t) do | |
1334 | if v[1] == ind then | |
1335 | return {i, v}; | |
1336 | end | |
1337 | end | |
1338 | end | |
1339 | ||
1340 | function GetLargestIndex(t) | |
1341 | local l = 0 | |
1342 | for i,v in pairs(t) do | |
1343 | if v[1] > l then l = v[1] end | |
1344 | end | |
1345 | return l; | |
1346 | end | |
1347 | ||
1348 | local SelectedEzCMDV = "https://raw.githubusercontent.com/debug420/Ez-CMD/master/EzCMD.lua" | |
1349 | local SelectedEzHubV = (function() for i,v in pairs(EzHubV) do | |
1350 | if v[1] == GetLargestIndex(EzHubV) then | |
1351 | return v[2]; | |
1352 | end | |
1353 | end end)() | |
1354 | ||
1355 | ||
1356 | ||
1357 | function ApplyVSF(Frame, t) | |
1358 | assert(Frame.Display, "Invalid Frame supplied to VSF Func") | |
1359 | assert(Frame.Left, "Invalid Frame supplied to VSF Func") | |
1360 | assert(Frame.Right, "Invalid Frame supplied to VSF Func") | |
1361 | ||
1362 | local IndexVal = Instance.new("IntValue", Frame) | |
1363 | IndexVal.Value = GetLargestIndex(t) | |
1364 | Frame.Display.Text = "V "..GetValWithIndex(GetLargestIndex(t), t)[1] | |
1365 | Frame.Left.MouseButton1Click:Connect(function() | |
1366 | if IndexVal.Value > 1 then | |
1367 | IndexVal.Value = IndexVal.Value - 1 | |
1368 | else | |
1369 | IndexVal.Value = GetLargestIndex(t) | |
1370 | end | |
1371 | ||
1372 | Frame.Display.Text = "V "..GetValWithIndex(IndexVal.Value, t)[1] | |
1373 | end) | |
1374 | Frame.Right.MouseButton1Click:Connect(function() | |
1375 | if IndexVal.Value < GetLargestIndex(t) then | |
1376 | IndexVal.Value = IndexVal.Value + 1 | |
1377 | else | |
1378 | IndexVal.Value = 1 | |
1379 | end | |
1380 | ||
1381 | Frame.Display.Text = "V "..GetValWithIndex(IndexVal.Value, t)[1] | |
1382 | end) | |
1383 | end | |
1384 | ||
1385 | ApplyVSF(Launcher.VersionSelectorEzHub, EzHubV); | |
1386 | ||
1387 | ----------------------------------------------------------------------------- | |
1388 | ||
1389 | -- Launch | |
1390 | ||
1391 | local launchdebounce = true | |
1392 | ||
1393 | Launcher.LaunchEzHub.MouseButton1Click:Connect(function() | |
1394 | ||
1395 | if Launcher.EzHubStatus.TextColor3 == Color3.fromRGB(192, 49, 52) or Launcher.EzHubStatus.TextColor3 == Color3.fromRGB(192, 177, 14) then | |
1396 | if launchdebounce then | |
1397 | launchdebounce = false | |
1398 | Launcher.LaunchEzHub.Text = "Service Down" | |
1399 | wait(1) | |
1400 | game.StarterGui:SetCore("SendNotification", { | |
1401 | Title = "Ez Industries", | |
1402 | Text = "Ez Hub is currently offline. Join Discord for more info." | |
1403 | }) | |
1404 | Launcher.LaunchEzHub.Text = "Launch" | |
1405 | launchdebounce = true | |
1406 | return; | |
1407 | end | |
1408 | end | |
1409 | ||
1410 | if launchdebounce then | |
1411 | SelectedEzHubV = EzHubV[Launcher.VersionSelectorEzHub.Display.Text:gsub("V ", "")][2] | |
1412 | launchdebounce = false | |
1413 | Launcher.LaunchEzHub.Text = "Launching..." | |
1414 | pcall(function() loadstring(game:HttpGet(SelectedEzHubV))() end) | |
1415 | Launcher.LaunchEzHub.Text = "Launch" | |
1416 | launchdebounce = true | |
1417 | end | |
1418 | ||
1419 | end) | |
1420 | ||
1421 | Launcher.LaunchEzCMD.MouseButton1Click:Connect(function() | |
1422 | if launchdebounce then | |
1423 | launchdebounce = false | |
1424 | Launcher.LaunchEzCMD.Text = "Launching..." | |
1425 | pcall(function() loadstring(game:HttpGet(SelectedEzCMDV))() end) | |
1426 | Launcher.LaunchEzCMD.Text = "Launch" | |
1427 | launchdebounce = true | |
1428 | end | |
1429 | end) | |
1430 | ||
1431 | ----------------------------------------------------------------------------- | |
1432 | ||
1433 | -- Tab System | |
1434 | ||
1435 | local tabdebounce = true | |
1436 | function OpenTab(tabtoclose, taptoopen) | |
1437 | if tabtoclose then | |
1438 | tabtoclose:TweenPosition(UDim2.new(1, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) | |
1439 | wait(0.5) | |
1440 | end | |
1441 | if taptoopen then | |
1442 | taptoopen:TweenPosition(UDim2.new(0.168, 0, 0, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.5, true) | |
1443 | end | |
1444 | end | |
1445 | ||
1446 | function LaunchPageF() | |
1447 | if tabdebounce == false then return end; | |
1448 | tabdebounce = false | |
1449 | spawn(function() | |
1450 | OpenTab(Launcher.AnimFrame2, Launcher.AnimFrame1) | |
1451 | end) | |
1452 | Launcher.LaunchPage.BackgroundTransparency = 0 | |
1453 | Launcher.SettingPage.BackgroundTransparency = 1 | |
1454 | ||
1455 | Launcher.LaunchPage.Frame.Visible = true | |
1456 | Launcher.SettingPage.Frame.Visible = false | |
1457 | wait(1) | |
1458 | tabdebounce = true | |
1459 | end | |
1460 | ||
1461 | function SettingPageF() | |
1462 | if tabdebounce == false then return end; | |
1463 | tabdebounce = false | |
1464 | spawn(function() | |
1465 | OpenTab(Launcher.AnimFrame1, Launcher.AnimFrame2) | |
1466 | end) | |
1467 | Launcher.LaunchPage.BackgroundTransparency = 1 | |
1468 | Launcher.SettingPage.BackgroundTransparency = 0 | |
1469 | ||
1470 | Launcher.LaunchPage.Frame.Visible = false | |
1471 | Launcher.SettingPage.Frame.Visible = true | |
1472 | wait(1) | |
1473 | tabdebounce = true | |
1474 | end | |
1475 | ||
1476 | Launcher.LaunchPage.InputBegan:Connect(function(input) | |
1477 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
1478 | LaunchPageF() | |
1479 | end | |
1480 | end) | |
1481 | ||
1482 | Launcher.SettingPage.InputBegan:Connect(function(input) | |
1483 | if input.UserInputType == Enum.UserInputType.MouseButton1 then | |
1484 | SettingPageF() | |
1485 | end | |
1486 | end) | |
1487 | ||
1488 | Launcher.LaunchPage.Image.MouseButton1Click:Connect(function() | |
1489 | LaunchPageF() | |
1490 | end) | |
1491 | ||
1492 | Launcher.SettingPage.Image.MouseButton1Click:Connect(function() | |
1493 | SettingPageF() | |
1494 | end) | |
1495 | ||
1496 | ----------------------------------------------------------------------------- | |
1497 | ||
1498 | -- Close | |
1499 | ||
1500 | Launcher.Close.MouseButton1Click:Connect(function() | |
1501 | Launcher.Launcher:Destroy() | |
1502 | end) | |
1503 | ||
1504 | ----------------------------------------------------------------------------- | |
1505 | ||
1506 | -- Draggability | |
1507 | ||
1508 | local function dragify(MainFrame) | |
1509 | ||
1510 | local dragging | |
1511 | local dragInput | |
1512 | local dragStart | |
1513 | local startPos | |
1514 | ||
1515 | local function update(input) | |
1516 | Delta = input.Position - dragStart | |
1517 | Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y) | |
1518 | game:GetService("TweenService"):Create(MainFrame, TweenInfo.new(.15), {Position = Position}):Play() | |
1519 | end | |
1520 | ||
1521 | MainFrame.InputBegan:Connect(function(input) | |
1522 | if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then | |
1523 | dragging = true | |
1524 | dragStart = input.Position | |
1525 | startPos = MainFrame.Position | |
1526 | ||
1527 | input.Changed:Connect(function() | |
1528 | if input.UserInputState == Enum.UserInputState.End then | |
1529 | dragging = false | |
1530 | end | |
1531 | end) | |
1532 | end | |
1533 | end) | |
1534 | ||
1535 | MainFrame.InputChanged:Connect(function(input) | |
1536 | if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then | |
1537 | dragInput = input | |
1538 | end | |
1539 | end) | |
1540 | ||
1541 | game:GetService("UserInputService").InputChanged:Connect(function(input) | |
1542 | if input == dragInput and dragging then | |
1543 | update(input) | |
1544 | end | |
1545 | end) | |
1546 | end | |
1547 | ||
1548 | dragify(Launcher.MainFrame) |