· 5 years ago · Feb 03, 2020, 09:36 PM
1-- Made by abs_0 (absoabsolute0)
2-- Objects
3
4local mygui = Instance.new("ScreenGui")
5local maintab = Instance.new("Frame")
6local title = Instance.new("TextLabel")
7local bodyframe = Instance.new("Frame")
8local menuframe = Instance.new("Frame")
9local generalbuttonframe = Instance.new("Frame")
10local generalbutton = Instance.new("TextButton")
11local generalbuttonlabel = Instance.new("ImageLabel")
12local lpbuttonframe = Instance.new("Frame")
13local lpbutton = Instance.new("TextButton")
14local lpbuttonlabel = Instance.new("ImageLabel")
15local tpbuttonframe = Instance.new("Frame")
16local tpbutton = Instance.new("TextButton")
17local tpbuttonlabel = Instance.new("ImageLabel")
18local tptextbox = Instance.new("TextBox")
19local tpunderline = Instance.new("Frame")
20local tpunderlinebase = Instance.new("Frame")
21local generalframe = Instance.new("Frame")
22local generalespframe = Instance.new("Frame")
23local generalespbutton = Instance.new("TextButton")
24local generalesplabel = Instance.new("ImageLabel")
25local generalcoinframe = Instance.new("Frame")
26local generalcoinbutton = Instance.new("TextButton")
27local generalcoinlabel = Instance.new("ImageLabel")
28local generalgunframe = Instance.new("Frame")
29local generalgunbutton = Instance.new("TextButton")
30local generalgunlabel = Instance.new("ImageLabel")
31local generallobbyframe = Instance.new("Frame")
32local generallobbybutton = Instance.new("TextButton")
33local generallobbylabel = Instance.new("ImageLabel")
34local lpframe = Instance.new("Frame")
35local lpjumpframe = Instance.new("Frame")
36local lpjumpbutton = Instance.new("TextButton")
37local lpjumplabel = Instance.new("ImageLabel")
38local lpgravframe = Instance.new("Frame")
39local lpgravbutton = Instance.new("TextButton")
40local lpgravlabel = Instance.new("ImageLabel")
41local lpwalkframe = Instance.new("Frame")
42local lpwalkbutton = Instance.new("TextButton")
43local lpwalklabel = Instance.new("ImageLabel")
44local lpgodframe = Instance.new("Frame")
45local lpgodbutton = Instance.new("TextButton")
46local lpgodlabel = Instance.new("ImageLabel")
47local backbutton1 = Instance.new("TextButton")
48local backbutton1label = Instance.new("ImageLabel")
49local backbutton2 = Instance.new("TextButton")
50local backbutton2label = Instance.new("ImageLabel")
51local creditsbutton = Instance.new("TextButton")
52local creditsiconlabel1 = Instance.new("ImageLabel")
53local creditsiconlabel2 = Instance.new("ImageLabel")
54local toggle = Instance.new("Frame")
55local closeall = Instance.new("TextButton")
56local closeopen = Instance.new("TextButton")
57local closeopenlabel = Instance.new("ImageLabel")
58local creditstab = Instance.new("Frame")
59local creditstitle = Instance.new("TextLabel")
60local creditsframe = Instance.new("Frame")
61local creditsmenuframe = Instance.new("Frame")
62local creditsfield = Instance.new("TextLabel")
63local closecredits = Instance.new("TextButton")
64
65-- Properties
66
67mygui.Name = "mygui"
68mygui.Parent = game.CoreGui
69
70maintab.Name = "maintab"
71maintab.Parent = mygui
72maintab.Active = true
73maintab.BackgroundColor3 = Color3.new(1, 1, 1)
74maintab.BackgroundTransparency = 0.5
75maintab.BorderSizePixel = 0
76maintab.Draggable = true
77maintab.Position = UDim2.new(0, 900, 0, 330)
78maintab.Size = UDim2.new(0, 256, 0, 30)
79
80title.Name = "title"
81title.Parent = maintab
82title.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
83title.BorderSizePixel = 0
84title.Size = UDim2.new(0, 256, 0, 30)
85title.Font = Enum.Font.SourceSansBold
86title.FontSize = Enum.FontSize.Size24
87title.Text = "MM2 Gui"
88title.TextColor3 = Color3.new(1, 1, 1)
89title.TextSize = 23
90
91bodyframe.Name = "bodyframe"
92bodyframe.Parent = maintab
93bodyframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
94bodyframe.BorderSizePixel = 0
95bodyframe.ClipsDescendants = true
96bodyframe.Position = UDim2.new(0, 0, 0, 30)
97bodyframe.Size = UDim2.new(0, 256, 0, 222)
98
99menuframe.Name = "menuframe"
100menuframe.Parent = bodyframe
101menuframe.BackgroundColor3 = Color3.new(1, 1, 1)
102menuframe.BackgroundTransparency = 1
103menuframe.BorderSizePixel = 0
104menuframe.Size = UDim2.new(0, 256, 0, 222)
105
106generalbuttonframe.Name = "generalbuttonframe"
107generalbuttonframe.Parent = menuframe
108generalbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
109generalbuttonframe.BorderSizePixel = 0
110generalbuttonframe.Position = UDim2.new(0, 31, 0, 31)
111generalbuttonframe.Size = UDim2.new(0, 194, 0, 31)
112
113generalbutton.Name = "generalbutton"
114generalbutton.Parent = generalbuttonframe
115generalbutton.BackgroundColor3 = Color3.new(1, 1, 1)
116generalbutton.BackgroundTransparency = 1
117generalbutton.BorderSizePixel = 0
118generalbutton.ClipsDescendants = true
119generalbutton.Size = UDim2.new(0, 194, 0, 30)
120generalbutton.Font = Enum.Font.SourceSansSemibold
121generalbutton.FontSize = Enum.FontSize.Size24
122generalbutton.Text = "General"
123generalbutton.TextColor3 = Color3.new(0, 0.615686, 1)
124generalbutton.TextSize = 20
125
126generalbuttonlabel.Name = "generalbuttonlabel"
127generalbuttonlabel.Parent = generalbutton
128generalbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
129generalbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
130generalbuttonlabel.BackgroundTransparency = 1
131generalbuttonlabel.BorderSizePixel = 0
132generalbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
133generalbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
134generalbuttonlabel.Visible = false
135generalbuttonlabel.Image = "rbxassetid://200182847"
136generalbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
137generalbuttonlabel.ImageTransparency = 0.80000001192093
138
139lpbuttonframe.Name = "lpbuttonframe"
140lpbuttonframe.Parent = menuframe
141lpbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
142lpbuttonframe.BorderSizePixel = 0
143lpbuttonframe.Position = UDim2.new(0, 31, 0, 96)
144lpbuttonframe.Size = UDim2.new(0, 194, 0, 31)
145
146lpbutton.Name = "lpbutton"
147lpbutton.Parent = lpbuttonframe
148lpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
149lpbutton.BackgroundTransparency = 1
150lpbutton.BorderSizePixel = 0
151lpbutton.ClipsDescendants = true
152lpbutton.Size = UDim2.new(0, 194, 0, 30)
153lpbutton.Font = Enum.Font.SourceSansSemibold
154lpbutton.FontSize = Enum.FontSize.Size24
155lpbutton.Text = "Local Player"
156lpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
157lpbutton.TextSize = 19
158
159lpbuttonlabel.Name = "lpbuttonlabel"
160lpbuttonlabel.Parent = lpbutton
161lpbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
162lpbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
163lpbuttonlabel.BackgroundTransparency = 1
164lpbuttonlabel.BorderSizePixel = 0
165lpbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
166lpbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
167lpbuttonlabel.Visible = false
168lpbuttonlabel.Image = "rbxassetid://200182847"
169lpbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
170lpbuttonlabel.ImageTransparency = 0.80000001192093
171
172tptextbox.Name = "tptextbox"
173tptextbox.Parent = menuframe
174tptextbox.BackgroundColor3 = Color3.new(1, 1, 1)
175tptextbox.BackgroundTransparency = 1
176tptextbox.BorderSizePixel = 0
177tptextbox.Position = UDim2.new(0, 31, 0, 165)
178tptextbox.Size = UDim2.new(0, 194, 0, 31)
179tptextbox.Font = Enum.Font.SourceSans
180tptextbox.FontSize = Enum.FontSize.Size18
181tptextbox.Text = "Player Name"
182tptextbox.TextColor3 = Color3.new(1, 1, 1)
183tptextbox.TextSize = 15
184
185tpunderline.Name = "tpunderline"
186tpunderline.Parent = tptextbox
187tpunderline.AnchorPoint = Vector2.new(0, 0)
188tpunderline.BackgroundColor3 = Color3.new(1, 1, 1)
189tpunderline.BorderSizePixel = 0
190tpunderline.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
191tpunderline.Size = UDim2.new(0, 0, 0, 2)
192
193tpunderlinebase.Name = "tpunderlinebase"
194tpunderlinebase.Parent = tptextbox
195tpunderlinebase.AnchorPoint = Vector2.new(0.5, 0.5)
196tpunderlinebase.BackgroundColor3 = Color3.new(1, 1, 1)
197tpunderlinebase.BackgroundTransparency = 0.80000001192093
198tpunderlinebase.BorderSizePixel = 0
199tpunderlinebase.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
200tpunderlinebase.Size = UDim2.new(0, 157, 0, 2)
201tpunderlinebase.Visible = false --secretkey
202
203generalframe.Name = "generalframe"
204generalframe.Parent = bodyframe
205generalframe.BackgroundColor3 = Color3.new(1, 1, 1)
206generalframe.BackgroundTransparency = 1
207generalframe.BorderSizePixel = 0
208generalframe.Position = UDim2.new(0, 256, 0, 0)
209generalframe.Size = UDim2.new(0, 256, 0, 222)
210
211generalespframe.Name = "generalespframe"
212generalespframe.Parent = generalframe
213generalespframe.BackgroundColor3 = Color3.new(1, 1, 1)
214generalespframe.BorderSizePixel = 0
215generalespframe.Position = UDim2.new(0, 31, 0, 172)
216generalespframe.Size = UDim2.new(0, 194, 0, 30)
217
218generalespbutton.Name = "generalespbutton"
219generalespbutton.Parent = generalespframe
220generalespbutton.BackgroundColor3 = Color3.new(1, 1, 1)
221generalespbutton.BackgroundTransparency = 1
222generalespbutton.BorderSizePixel = 0
223generalespbutton.ClipsDescendants = true
224generalespbutton.Size = UDim2.new(0, 194, 0, 30)
225generalespbutton.Font = Enum.Font.SourceSansSemibold
226generalespbutton.FontSize = Enum.FontSize.Size24
227generalespbutton.Text = "ESP (Left Alt)"
228generalespbutton.TextColor3 = Color3.new(0, 0.615686, 1)
229generalespbutton.TextSize = 19
230
231generalesplabel.Name = "generalesplabel"
232generalesplabel.Parent = generalespbutton
233generalesplabel.AnchorPoint = Vector2.new(0.5, 0.5)
234generalesplabel.BackgroundColor3 = Color3.new(1, 1, 1)
235generalesplabel.BackgroundTransparency = 1
236generalesplabel.BorderSizePixel = 0
237generalesplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
238generalesplabel.Size = UDim2.new(0, 50, 0, 50)
239generalesplabel.Visible = false
240generalesplabel.Image = "rbxassetid://200182847"
241generalesplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
242generalesplabel.ImageTransparency = 0.80000001192093
243
244generalcoinframe.Name = "generalcoinframe"
245generalcoinframe.Parent = generalframe
246generalcoinframe.BackgroundColor3 = Color3.new(1, 1, 1)
247generalcoinframe.BorderSizePixel = 0
248generalcoinframe.Position = UDim2.new(0, 31, 0, 120)
249generalcoinframe.Size = UDim2.new(0, 194, 0, 30)
250
251generalcoinbutton.Name = "generalcoinbutton"
252generalcoinbutton.Parent = generalcoinframe
253generalcoinbutton.BackgroundColor3 = Color3.new(1, 1, 1)
254generalcoinbutton.BackgroundTransparency = 1
255generalcoinbutton.BorderSizePixel = 0
256generalcoinbutton.ClipsDescendants = true
257generalcoinbutton.Position = UDim2.new(0, 0, 0, -1)
258generalcoinbutton.Size = UDim2.new(0, 194, 0, 31)
259generalcoinbutton.Font = Enum.Font.SourceSansSemibold
260generalcoinbutton.FontSize = Enum.FontSize.Size24
261generalcoinbutton.Text = "Grab 10 Coins"
262generalcoinbutton.TextColor3 = Color3.new(0, 0.615686, 1)
263generalcoinbutton.TextSize = 19
264
265generalcoinlabel.Name = "generalcoinlabel"
266generalcoinlabel.Parent = generalcoinbutton
267generalcoinlabel.AnchorPoint = Vector2.new(0.5, 0.5)
268generalcoinlabel.BackgroundColor3 = Color3.new(1, 1, 1)
269generalcoinlabel.BackgroundTransparency = 1
270generalcoinlabel.BorderSizePixel = 0
271generalcoinlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
272generalcoinlabel.Size = UDim2.new(0, 50, 0, 50)
273generalcoinlabel.Visible = false
274generalcoinlabel.Image = "rbxassetid://200182847"
275generalcoinlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
276generalcoinlabel.ImageTransparency = 0.80000001192093
277
278generalgunframe.Name = "generalgunframe"
279generalgunframe.Parent = generalframe
280generalgunframe.BackgroundColor3 = Color3.new(1, 1, 1)
281generalgunframe.BorderSizePixel = 0
282generalgunframe.Position = UDim2.new(0, 31, 0, 68)
283generalgunframe.Size = UDim2.new(0, 194, 0, 30)
284
285generalgunbutton.Name = "generalgunbutton"
286generalgunbutton.Parent = generalgunframe
287generalgunbutton.BackgroundColor3 = Color3.new(1, 1, 1)
288generalgunbutton.BackgroundTransparency = 1
289generalgunbutton.BorderSizePixel = 0
290generalgunbutton.ClipsDescendants = true
291generalgunbutton.Size = UDim2.new(0, 194, 0, 30)
292generalgunbutton.Font = Enum.Font.SourceSansSemibold
293generalgunbutton.FontSize = Enum.FontSize.Size24
294generalgunbutton.Text = "Grab Gun"
295generalgunbutton.TextColor3 = Color3.new(0, 0.615686, 1)
296generalgunbutton.TextSize = 19
297
298generalgunlabel.Name = "generalgunlabel"
299generalgunlabel.Parent = generalgunbutton
300generalgunlabel.AnchorPoint = Vector2.new(0.5, 0.5)
301generalgunlabel.BackgroundColor3 = Color3.new(1, 1, 1)
302generalgunlabel.BackgroundTransparency = 1
303generalgunlabel.BorderSizePixel = 0
304generalgunlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
305generalgunlabel.Size = UDim2.new(0, 50, 0, 50)
306generalgunlabel.Visible = false
307generalgunlabel.Image = "rbxassetid://200182847"
308generalgunlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
309generalgunlabel.ImageTransparency = 0.80000001192093
310
311generallobbyframe.Name = "generallobbyframe"
312generallobbyframe.Parent = generalframe
313generallobbyframe.BackgroundColor3 = Color3.new(1, 1, 1)
314generallobbyframe.BorderSizePixel = 0
315generallobbyframe.Position = UDim2.new(0, 31, 0, 17)
316generallobbyframe.Size = UDim2.new(0, 194, 0, 30)
317
318generallobbybutton.Name = "generallobbybutton"
319generallobbybutton.Parent = generallobbyframe
320generallobbybutton.BackgroundColor3 = Color3.new(1, 1, 1)
321generallobbybutton.BackgroundTransparency = 1
322generallobbybutton.BorderSizePixel = 0
323generallobbybutton.ClipsDescendants = true
324generallobbybutton.Size = UDim2.new(0, 194, 0, 30)
325generallobbybutton.Font = Enum.Font.SourceSansSemibold
326generallobbybutton.FontSize = Enum.FontSize.Size24
327generallobbybutton.Text = "TP to Lobby"
328generallobbybutton.TextColor3 = Color3.new(0, 0.615686, 1)
329generallobbybutton.TextSize = 19
330
331generallobbylabel.Name = "generallobbylabel"
332generallobbylabel.Parent = generallobbybutton
333generallobbylabel.AnchorPoint = Vector2.new(0.5, 0.5)
334generallobbylabel.BackgroundColor3 = Color3.new(1, 1, 1)
335generallobbylabel.BackgroundTransparency = 1
336generallobbylabel.BorderSizePixel = 0
337generallobbylabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
338generallobbylabel.Size = UDim2.new(0, 50, 0, 50)
339generallobbylabel.Visible = false
340generallobbylabel.Image = "rbxassetid://200182847"
341generallobbylabel.ImageColor3 = Color3.new(0, 0.705882, 1)
342generallobbylabel.ImageTransparency = 0.80000001192093
343
344lpframe.Name = "lpframe"
345lpframe.Parent = bodyframe
346lpframe.BackgroundColor3 = Color3.new(1, 1, 1)
347lpframe.BackgroundTransparency = 1
348lpframe.BorderSizePixel = 0
349lpframe.Position = UDim2.new(0, 256, 0, 0)
350lpframe.Size = UDim2.new(0, 256, 0, 222)
351
352lpjumpframe.Name = "lpjumpframe"
353lpjumpframe.Parent = lpframe
354lpjumpframe.BackgroundColor3 = Color3.new(1, 1, 1)
355lpjumpframe.BorderSizePixel = 0
356lpjumpframe.Position = UDim2.new(0, 31, 0, 172)
357lpjumpframe.Size = UDim2.new(0, 194, 0, 30)
358
359lpjumpbutton.Name = "lpjumpbutton"
360lpjumpbutton.Parent = lpjumpframe
361lpjumpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
362lpjumpbutton.BackgroundTransparency = 1
363lpjumpbutton.BorderSizePixel = 0
364lpjumpbutton.ClipsDescendants = true
365lpjumpbutton.Size = UDim2.new(0, 194, 0, 30)
366lpjumpbutton.Font = Enum.Font.SourceSansSemibold
367lpjumpbutton.FontSize = Enum.FontSize.Size24
368lpjumpbutton.Text = "High Jump"
369lpjumpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
370lpjumpbutton.TextSize = 19
371
372lpjumplabel.Name = "lpjumplabel"
373lpjumplabel.Parent = lpjumpbutton
374lpjumplabel.AnchorPoint = Vector2.new(0.5, 0.5)
375lpjumplabel.BackgroundColor3 = Color3.new(1, 1, 1)
376lpjumplabel.BackgroundTransparency = 1
377lpjumplabel.BorderSizePixel = 0
378lpjumplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
379lpjumplabel.Size = UDim2.new(0, 50, 0, 50)
380lpjumplabel.Visible = false
381lpjumplabel.Image = "rbxassetid://200182847"
382lpjumplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
383lpjumplabel.ImageTransparency = 0.80000001192093
384
385lpgravframe.Name = "lpgravframe"
386lpgravframe.Parent = lpframe
387lpgravframe.BackgroundColor3 = Color3.new(1, 1, 1)
388lpgravframe.BorderSizePixel = 0
389lpgravframe.Position = UDim2.new(0, 31, 0, 120)
390lpgravframe.Size = UDim2.new(0, 194, 0, 30)
391
392lpgravbutton.Name = "lpgravbutton"
393lpgravbutton.Parent = lpgravframe
394lpgravbutton.BackgroundColor3 = Color3.new(1, 1, 1)
395lpgravbutton.BackgroundTransparency = 1
396lpgravbutton.BorderSizePixel = 0
397lpgravbutton.ClipsDescendants = true
398lpgravbutton.Position = UDim2.new(0, 0, 0, -1)
399lpgravbutton.Size = UDim2.new(0, 194, 0, 31)
400lpgravbutton.Font = Enum.Font.SourceSansSemibold
401lpgravbutton.FontSize = Enum.FontSize.Size24
402lpgravbutton.Text = "Low Gravity"
403lpgravbutton.TextColor3 = Color3.new(0, 0.615686, 1)
404lpgravbutton.TextSize = 19
405
406lpgravlabel.Name = "lpgravlabel"
407lpgravlabel.Parent = lpgravbutton
408lpgravlabel.AnchorPoint = Vector2.new(0.5, 0.5)
409lpgravlabel.BackgroundColor3 = Color3.new(1, 1, 1)
410lpgravlabel.BackgroundTransparency = 1
411lpgravlabel.BorderSizePixel = 0
412lpgravlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
413lpgravlabel.Size = UDim2.new(0, 50, 0, 50)
414lpgravlabel.Visible = false
415lpgravlabel.Image = "rbxassetid://200182847"
416lpgravlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
417lpgravlabel.ImageTransparency = 0.80000001192093
418
419lpwalkframe.Name = "lpwalkframe"
420lpwalkframe.Parent = lpframe
421lpwalkframe.BackgroundColor3 = Color3.new(1, 1, 1)
422lpwalkframe.BorderSizePixel = 0
423lpwalkframe.Position = UDim2.new(0, 31, 0, 68)
424lpwalkframe.Size = UDim2.new(0, 194, 0, 30)
425
426lpwalkbutton.Name = "lpwalkbutton"
427lpwalkbutton.Parent = lpwalkframe
428lpwalkbutton.BackgroundColor3 = Color3.new(1, 1, 1)
429lpwalkbutton.BackgroundTransparency = 1
430lpwalkbutton.BorderSizePixel = 0
431lpwalkbutton.ClipsDescendants = true
432lpwalkbutton.Size = UDim2.new(0, 194, 0, 30)
433lpwalkbutton.Font = Enum.Font.SourceSansSemibold
434lpwalkbutton.FontSize = Enum.FontSize.Size24
435lpwalkbutton.Text = "Fast Walk"
436lpwalkbutton.TextColor3 = Color3.new(0, 0.615686, 1)
437lpwalkbutton.TextSize = 19
438
439lpwalklabel.Name = "lpwalklabel"
440lpwalklabel.Parent = lpwalkbutton
441lpwalklabel.AnchorPoint = Vector2.new(0.5, 0.5)
442lpwalklabel.BackgroundColor3 = Color3.new(1, 1, 1)
443lpwalklabel.BackgroundTransparency = 1
444lpwalklabel.BorderSizePixel = 0
445lpwalklabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
446lpwalklabel.Size = UDim2.new(0, 50, 0, 50)
447lpwalklabel.Visible = false
448lpwalklabel.Image = "rbxassetid://200182847"
449lpwalklabel.ImageColor3 = Color3.new(0, 0.705882, 1)
450lpwalklabel.ImageTransparency = 0.80000001192093
451
452lpgodframe.Name = "lpgodframe"
453lpgodframe.Parent = lpframe
454lpgodframe.BackgroundColor3 = Color3.new(1, 1, 1)
455lpgodframe.BorderSizePixel = 0
456lpgodframe.Position = UDim2.new(0, 31, 0, 17)
457lpgodframe.Size = UDim2.new(0, 194, 0, 30)
458
459lpgodbutton.Name = "lpgodbutton"
460lpgodbutton.Parent = lpgodframe
461lpgodbutton.BackgroundColor3 = Color3.new(1, 1, 1)
462lpgodbutton.BackgroundTransparency = 1
463lpgodbutton.BorderSizePixel = 0
464lpgodbutton.ClipsDescendants = true
465lpgodbutton.Size = UDim2.new(0, 194, 0, 30)
466lpgodbutton.Font = Enum.Font.SourceSansSemibold
467lpgodbutton.FontSize = Enum.FontSize.Size24
468lpgodbutton.Text = "God Mode"
469lpgodbutton.TextColor3 = Color3.new(0, 0.615686, 1)
470lpgodbutton.TextSize = 19
471
472lpgodlabel.Name = "lpgodlabel"
473lpgodlabel.Parent = lpgodbutton
474lpgodlabel.AnchorPoint = Vector2.new(0.5, 0.5)
475lpgodlabel.BackgroundColor3 = Color3.new(1, 1, 1)
476lpgodlabel.BackgroundTransparency = 1
477lpgodlabel.BorderSizePixel = 0
478lpgodlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
479lpgodlabel.Size = UDim2.new(0, 50, 0, 50)
480lpgodlabel.Visible = false
481lpgodlabel.Image = "rbxassetid://200182847"
482lpgodlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
483lpgodlabel.ImageTransparency = 0.80000001192093
484
485backbutton1.Name = "backbutton1"
486backbutton1.Parent = maintab
487backbutton1.Active = false
488backbutton1.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
489backbutton1.BackgroundTransparency = 1
490backbutton1.BorderSizePixel = 0
491backbutton1.ClipsDescendants = true
492backbutton1.Size = UDim2.new(0, 29, 0, 30)
493backbutton1.Visible = false
494backbutton1.AutoButtonColor = false
495backbutton1.Font = Enum.Font.SourceSansBold
496backbutton1.FontSize = Enum.FontSize.Size24
497backbutton1.Text = "<"
498backbutton1.TextColor3 = Color3.new(1, 1, 1)
499backbutton1.TextSize = 20
500
501backbutton1label.Name = "backbutton1label"
502backbutton1label.Parent = backbutton1
503backbutton1label.AnchorPoint = Vector2.new(0.5, 0.5)
504backbutton1label.BackgroundColor3 = Color3.new(1, 1, 1)
505backbutton1label.BackgroundTransparency = 1
506backbutton1label.BorderSizePixel = 0
507backbutton1label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
508backbutton1label.Size = UDim2.new(0, 50, 0, 50)
509backbutton1label.Visible = false
510backbutton1label.Image = "rbxassetid://200182847"
511backbutton1label.ImageTransparency = 0.80000001192093
512
513backbutton2.Name = "backbutton2"
514backbutton2.Parent = maintab
515backbutton2.Active = false
516backbutton2.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
517backbutton2.BackgroundTransparency = 1
518backbutton2.BorderSizePixel = 0
519backbutton2.ClipsDescendants = true
520backbutton2.Size = UDim2.new(0, 29, 0, 30)
521backbutton2.Visible = false
522backbutton2.AutoButtonColor = false
523backbutton2.Font = Enum.Font.SourceSansBold
524backbutton2.FontSize = Enum.FontSize.Size24
525backbutton2.Text = "<"
526backbutton2.TextColor3 = Color3.new(1, 1, 1)
527backbutton2.TextSize = 20
528
529backbutton2label.Name = "backbutton2label"
530backbutton2label.Parent = backbutton2
531backbutton2label.AnchorPoint = Vector2.new(0.5, 0.5)
532backbutton2label.BackgroundColor3 = Color3.new(1, 1, 1)
533backbutton2label.BackgroundTransparency = 1
534backbutton2label.BorderSizePixel = 0
535backbutton2label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
536backbutton2label.Size = UDim2.new(0, 50, 0, 50)
537backbutton2label.Visible = false
538backbutton2label.Image = "rbxassetid://200182847"
539backbutton2label.ImageTransparency = 0.80000001192093
540
541creditsbutton.Name = "creditsbutton"
542creditsbutton.Parent = maintab
543creditsbutton.BackgroundColor3 = Color3.new(1, 1, 1)
544creditsbutton.BackgroundTransparency = 1
545creditsbutton.BorderSizePixel = 0
546creditsbutton.ClipsDescendants = true
547creditsbutton.Position = UDim2.new(0.87890625, 0, 0, 0)
548creditsbutton.Size = UDim2.new(0, 31, 0, 30)
549creditsbutton.Font = Enum.Font.SourceSansSemibold
550creditsbutton.FontSize = Enum.FontSize.Size18
551creditsbutton.Text = ""
552creditsbutton.TextColor3 = Color3.new(0, 0.615686, 1)
553creditsbutton.TextSize = 15
554
555creditsiconlabel1.Name = "creditsiconlabel1"
556creditsiconlabel1.Parent = creditsbutton
557creditsiconlabel1.AnchorPoint = Vector2.new(0.5, 0.5)
558creditsiconlabel1.BackgroundColor3 = Color3.new(1, 1, 1)
559creditsiconlabel1.BackgroundTransparency = 1
560creditsiconlabel1.BorderSizePixel = 0
561creditsiconlabel1.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
562creditsiconlabel1.Size = UDim2.new(0, 50, 0, 50)
563creditsiconlabel1.Visible = false
564creditsiconlabel1.Image = "rbxassetid://200182847"
565creditsiconlabel1.ImageTransparency = 0.80000001192093
566
567creditsiconlabel2.Name = "creditsiconlabel2"
568creditsiconlabel2.Parent = creditsbutton
569creditsiconlabel2.AnchorPoint = Vector2.new(0.5, 0.5)
570creditsiconlabel2.BackgroundColor3 = Color3.new(1, 1, 1)
571creditsiconlabel2.BackgroundTransparency = 1
572creditsiconlabel2.BorderSizePixel = 0
573creditsiconlabel2.Position = UDim2.new(0.5, 0, 0.5, 0)
574creditsiconlabel2.Size = UDim2.new(0, 17, 0, 17)
575creditsiconlabel2.Image = "rbxassetid://23151450"
576
577toggle.Name = "toggle"
578toggle.Parent = mygui
579toggle.Active = true
580toggle.BackgroundColor3 = Color3.new(0.992157, 0.984314, 1)
581toggle.BackgroundTransparency = 0.5
582toggle.BorderSizePixel = 0
583toggle.Draggable = true
584toggle.Position = UDim2.new(0, 5, 0, 530)
585toggle.Size = UDim2.new(0, 140, 0, 30)
586
587closeall.Name = "closeall"
588closeall.Parent = toggle
589closeall.BackgroundColor3 = Color3.new(1, 0, 0)
590closeall.BorderSizePixel = 0
591closeall.Position = UDim2.new(0, 110, 0, 0)
592closeall.Size = UDim2.new(0, 30, 0, 30)
593closeall.FontSize = Enum.FontSize.Size18
594closeall.Text = ""
595closeall.TextSize = 15
596
597closeopen.Name = "closeopen"
598closeopen.Parent = toggle
599closeopen.BackgroundColor3 = Color3.new(0, 0.615686, 1)
600closeopen.BorderSizePixel = 0
601closeopen.ClipsDescendants = true
602closeopen.Size = UDim2.new(0, 110, 0, 30)
603closeopen.AutoButtonColor = false
604closeopen.Font = Enum.Font.SourceSansBold
605closeopen.FontSize = Enum.FontSize.Size24
606closeopen.Text = "Close"
607closeopen.TextColor3 = Color3.new(1, 1, 1)
608closeopen.TextSize = 20
609
610closeopenlabel.Name = "closeopenlabel"
611closeopenlabel.Parent = closeopen
612closeopenlabel.AnchorPoint = Vector2.new(0.5, 0.5)
613closeopenlabel.BackgroundColor3 = Color3.new(1, 1, 1)
614closeopenlabel.BackgroundTransparency = 1
615closeopenlabel.BorderSizePixel = 0
616closeopenlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
617closeopenlabel.Size = UDim2.new(0, 50, 0, 50)
618closeopenlabel.Visible = false
619closeopenlabel.Image = "rbxassetid://200182847"
620closeopenlabel.ImageTransparency = 0.80000001192093
621
622creditstab.Name = "creditstab"
623creditstab.Parent = mygui
624creditstab.Active = true
625creditstab.BackgroundColor3 = Color3.new(1, 1, 1)
626creditstab.BackgroundTransparency = 0.5
627creditstab.BorderSizePixel = 0
628creditstab.Draggable = true
629creditstab.Position = UDim2.new(0, 42, 0, 47)
630creditstab.Size = UDim2.new(0, 256, 0, 30)
631creditstab.Visible = false
632
633creditstitle.Name = "creditstitle"
634creditstitle.Parent = creditstab
635creditstitle.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
636creditstitle.BorderSizePixel = 0
637creditstitle.Position = UDim2.new(-0.001953125, 0, 0, 0)
638creditstitle.Size = UDim2.new(0, 256, 0, 30)
639creditstitle.Font = Enum.Font.SourceSansBold
640creditstitle.FontSize = Enum.FontSize.Size24
641creditstitle.Text = "Credits"
642creditstitle.TextColor3 = Color3.new(1, 1, 1)
643creditstitle.TextSize = 23
644
645creditsframe.Name = "creditsframe"
646creditsframe.Parent = creditstab
647creditsframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
648creditsframe.BorderSizePixel = 0
649creditsframe.ClipsDescendants = true
650creditsframe.Position = UDim2.new(0, 0, 0, 30)
651creditsframe.Size = UDim2.new(0, 256, 0, 222)
652
653creditsmenuframe.Name = "menuframe"
654creditsmenuframe.Parent = creditsframe
655creditsmenuframe.BackgroundColor3 = Color3.new(1, 1, 1)
656creditsmenuframe.BackgroundTransparency = 1
657creditsmenuframe.BorderSizePixel = 0
658creditsmenuframe.Size = UDim2.new(0, 256, 0, 222)
659
660creditsfield.Name = "creditsfield"
661creditsfield.Parent = creditsmenuframe
662creditsfield.BackgroundColor3 = Color3.new(1, 1, 1)
663creditsfield.BorderSizePixel = 0
664creditsfield.Position = UDim2.new(0, 31, 0, 31)
665creditsfield.Size = UDim2.new(0, 194, 0, 31)
666creditsfield.Font = Enum.Font.SourceSansSemibold
667creditsfield.FontSize = Enum.FontSize.Size24
668creditsfield.Text = "By: abs_0"
669creditsfield.TextColor3 = Color3.new(0, 0.615686, 1)
670creditsfield.TextSize = 20
671
672closecredits.Name = "closeall"
673closecredits.Parent = creditstab
674closecredits.BackgroundColor3 = Color3.new(1, 0, 0)
675closecredits.BorderSizePixel = 0
676closecredits.Position = UDim2.new(0, 226, 0, 0)
677closecredits.Size = UDim2.new(0, 30, 0, 30)
678closecredits.FontSize = Enum.FontSize.Size18
679closecredits.Text = ""
680closecredits.TextSize = 15
681
682--Appearance Scripts
683
684--mygui.maintab.bodyframe.generalframe.generallobbyframe.generallobbybutton.Script
685local mouse = game.Players.LocalPlayer:GetMouse()
686
687
688generallobbybutton.MouseButton1Down:connect(function()
689 local x = (mouse.X) - (generallobbybutton.AbsolutePosition.X)
690 local y = (mouse.Y) - (generallobbybutton.AbsolutePosition.Y)
691 generallobbylabel.Position = UDim2.new(0,x,0,y)
692 generallobbylabel.Size = UDim2.new(0,50,0,50)
693 generallobbylabel.ImageTransparency = 0.8
694 generallobbylabel.Visible = true
695
696 wait()
697
698 generallobbylabel:TweenSize(
699 UDim2.new(0,390,0,390),
700 "Out",
701 "Quint",
702 1
703 )
704end)
705
706generallobbybutton.MouseButton1Up:connect(function()
707 wait(0.35)
708 local TweenService = game:GetService("TweenService")
709 local circle = generallobbylabel
710
711 local Info = TweenInfo.new(
712 0.2, -- Length
713 Enum.EasingStyle.Linear, -- Easing Style
714 Enum.EasingDirection.Out, -- Easing Direction
715 0, -- Times repeated
716 false, -- Reverse
717 0 -- Delay
718 )
719 local Goals =
720 {
721 ImageTransparency = 1;
722 }
723
724 local tween = TweenService:Create(circle,Info,Goals)
725 tween:Play()
726end)
727
728--mygui.maintab.bodyframe.generalframe.generalgunframe.generalgunbutton.Script
729local mouse = game.Players.LocalPlayer:GetMouse()
730
731
732generalgunbutton.MouseButton1Down:connect(function()
733 local x = (mouse.X) - (generalgunbutton.AbsolutePosition.X)
734 local y = (mouse.Y) - (generalgunbutton.AbsolutePosition.Y)
735 generalgunlabel.Position = UDim2.new(0,x,0,y)
736 generalgunlabel.Size = UDim2.new(0,50,0,50)
737 generalgunlabel.ImageTransparency = 0.8
738 generalgunlabel.Visible = true
739
740 wait()
741
742 generalgunlabel:TweenSize(
743 UDim2.new(0,390,0,390),
744 "Out",
745 "Quint",
746 1
747 )
748end)
749
750generalgunbutton.MouseButton1Up:connect(function()
751 wait(0.35)
752 local TweenService = game:GetService("TweenService")
753 local circle = generalgunlabel
754
755 local Info = TweenInfo.new(
756 0.2, -- Length
757 Enum.EasingStyle.Linear, -- Easing Style
758 Enum.EasingDirection.Out, -- Easing Direction
759 0, -- Times repeated
760 false, -- Reverse
761 0 -- Delay
762 )
763 local Goals =
764 {
765 ImageTransparency = 1;
766 }
767
768 local tween = TweenService:Create(circle,Info,Goals)
769 tween:Play()
770end)
771
772--mygui.maintab.bodyframe.generalframe.generalcoinframe.generalcoinbutton.Script
773local mouse = game.Players.LocalPlayer:GetMouse()
774
775
776generalcoinbutton.MouseButton1Down:connect(function()
777 local x = (mouse.X) - (generalcoinbutton.AbsolutePosition.X)
778 local y = (mouse.Y) - (generalcoinbutton.AbsolutePosition.Y)
779 generalcoinlabel.Position = UDim2.new(0,x,0,y)
780 generalcoinlabel.Size = UDim2.new(0,50,0,50)
781 generalcoinlabel.ImageTransparency = 0.8
782 generalcoinlabel.Visible = true
783
784 wait()
785
786 generalcoinlabel:TweenSize(
787 UDim2.new(0,390,0,390),
788 "Out",
789 "Quint",
790 1
791 )
792end)
793
794generalcoinbutton.MouseButton1Up:connect(function()
795 wait(0.35)
796 local TweenService = game:GetService("TweenService")
797 local circle = generalcoinlabel
798
799 local Info = TweenInfo.new(
800 0.2, -- Length
801 Enum.EasingStyle.Linear, -- Easing Style
802 Enum.EasingDirection.Out, -- Easing Direction
803 0, -- Times repeated
804 false, -- Reverse
805 0 -- Delay
806 )
807 local Goals =
808 {
809 ImageTransparency = 1;
810 }
811
812 local tween = TweenService:Create(circle,Info,Goals)
813 tween:Play()
814end)
815
816--mygui.maintab.bodyframe.generalframe.generalespframe.generalespbutton.Script
817local mouse = game.Players.LocalPlayer:GetMouse()
818
819
820generalespbutton.MouseButton1Down:connect(function()
821 local x = (mouse.X) - (generalespbutton.AbsolutePosition.X)
822 local y = (mouse.Y) - (generalespbutton.AbsolutePosition.Y)
823 generalesplabel.Position = UDim2.new(0,x,0,y)
824 generalesplabel.Size = UDim2.new(0,50,0,50)
825 generalesplabel.ImageTransparency = 0.8
826 generalesplabel.Visible = true
827
828 wait()
829
830 generalesplabel:TweenSize(
831 UDim2.new(0,390,0,390),
832 "Out",
833 "Quint",
834 1
835 )
836end)
837
838generalespbutton.MouseButton1Up:connect(function()
839 wait(0.35)
840 local TweenService = game:GetService("TweenService")
841 local circle = generalesplabel
842
843 local Info = TweenInfo.new(
844 0.2, -- Length
845 Enum.EasingStyle.Linear, -- Easing Style
846 Enum.EasingDirection.Out, -- Easing Direction
847 0, -- Times repeated
848 false, -- Reverse
849 0 -- Delay
850 )
851 local Goals =
852 {
853 ImageTransparency = 1;
854 }
855
856 local tween = TweenService:Create(circle,Info,Goals)
857 tween:Play()
858end)
859
860--mygui.maintab.bodyframe.lpframe.lpgodframe.lpgodbutton.Script
861local mouse = game.Players.LocalPlayer:GetMouse()
862
863
864lpgodbutton.MouseButton1Down:connect(function()
865 local x = (mouse.X) - (lpgodbutton.AbsolutePosition.X)
866 local y = (mouse.Y) - (lpgodbutton.AbsolutePosition.Y)
867 lpgodbutton.lpgodlabel.Position = UDim2.new(0,x,0,y)
868 lpgodbutton.lpgodlabel.Size = UDim2.new(0,50,0,50)
869 lpgodbutton.lpgodlabel.ImageTransparency = 0.8
870 lpgodbutton.lpgodlabel.Visible = true
871
872 wait()
873
874 lpgodbutton.lpgodlabel:TweenSize(
875 UDim2.new(0,390,0,390),
876 "Out",
877 "Quint",
878 1
879 )
880end)
881
882lpgodbutton.MouseButton1Up:connect(function()
883 wait(0.35)
884 local TweenService = game:GetService("TweenService")
885 local circle = lpgodbutton.lpgodlabel
886
887 local Info = TweenInfo.new(
888 0.2, -- Length
889 Enum.EasingStyle.Linear, -- Easing Style
890 Enum.EasingDirection.Out, -- Easing Direction
891 0, -- Times repeated
892 false, -- Reverse
893 0 -- Delay
894 )
895 local Goals =
896 {
897 ImageTransparency = 1;
898 }
899
900 local tween = TweenService:Create(circle,Info,Goals)
901 tween:Play()
902end)
903
904--mygui.maintab.bodyframe.lpframe.lpwalkframe.lpwalkbutton.Script
905local mouse = game.Players.LocalPlayer:GetMouse()
906
907
908lpwalkbutton.MouseButton1Down:connect(function()
909 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 * 5 then
910 lpwalkbutton.TextColor3 = Color3.new(1,128/255,0)
911 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(1,128/255,0)
912 else
913 lpwalkbutton.TextColor3 = Color3.new(0,157/255,1)
914 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(0,157/255,1)
915 end
916
917 local x = (mouse.X) - (lpwalkbutton.AbsolutePosition.X)
918 local y = (mouse.Y) - (lpwalkbutton.AbsolutePosition.Y)
919 lpwalkbutton.lpwalklabel.Position = UDim2.new(0,x,0,y)
920 lpwalkbutton.lpwalklabel.Size = UDim2.new(0,50,0,50)
921 lpwalkbutton.lpwalklabel.ImageTransparency = 0.8
922 lpwalkbutton.lpwalklabel.Visible = true
923
924 wait()
925
926 lpwalkbutton.lpwalklabel:TweenSize(
927 UDim2.new(0,390,0,390),
928 "Out",
929 "Quint",
930 1
931 )
932end)
933
934lpwalkbutton.MouseButton1Up:connect(function()
935 wait(0.35)
936 local TweenService = game:GetService("TweenService")
937 local circle = lpwalkbutton.lpwalklabel
938
939 local Info = TweenInfo.new(
940 0.2, -- Length
941 Enum.EasingStyle.Linear, -- Easing Style
942 Enum.EasingDirection.Out, -- Easing Direction
943 0, -- Times repeated
944 false, -- Reverse
945 0 -- Delay
946 )
947 local Goals =
948 {
949 ImageTransparency = 1;
950 }
951
952 local tween = TweenService:Create(circle,Info,Goals)
953 tween:Play()
954end)
955
956--mygui.maintab.bodyframe.lpframe.lpgravframe.lpgravbutton.Script
957local mouse = game.Players.LocalPlayer:GetMouse()
958
959lpgravbutton.MouseButton1Down:connect(function()
960 if game.Workspace.Gravity < 196.1 then
961 lpgravbutton.TextColor3 = Color3.new(1,128/255,0)
962 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(1,128/255,0)
963 else
964 lpgravbutton.TextColor3 = Color3.new(0,157/255,1)
965 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(0,157/255,1)
966 end
967
968 local x = (mouse.X) - (lpgravbutton.AbsolutePosition.X)
969 local y = (mouse.Y) - (lpgravbutton.AbsolutePosition.Y)
970 lpgravbutton.lpgravlabel.Position = UDim2.new(0,x,0,y)
971 lpgravbutton.lpgravlabel.Size = UDim2.new(0,50,0,50)
972 lpgravbutton.lpgravlabel.ImageTransparency = 0.8
973 lpgravbutton.lpgravlabel.Visible = true
974
975 wait()
976
977 lpgravbutton.lpgravlabel:TweenSize(
978 UDim2.new(0,390,0,390),
979 "Out",
980 "Quint",
981 1
982 )
983end)
984
985lpgravbutton.MouseButton1Up:connect(function()
986 wait(0.35)
987 local TweenService = game:GetService("TweenService")
988 local circle = lpgravbutton.lpgravlabel
989
990 local Info = TweenInfo.new(
991 0.2, -- Length
992 Enum.EasingStyle.Linear, -- Easing Style
993 Enum.EasingDirection.Out, -- Easing Direction
994 0, -- Times repeated
995 false, -- Reverse
996 0 -- Delay
997 )
998 local Goals =
999 {
1000 ImageTransparency = 1;
1001 }
1002
1003 local tween = TweenService:Create(circle,Info,Goals)
1004 tween:Play()
1005end)
1006
1007--mygui.maintab.bodyframe.lpframe.lpjumpframe.lpjumpbutton.Script
1008local mouse = game.Players.LocalPlayer:GetMouse()
1009
1010
1011lpjumpbutton.MouseButton1Down:connect(function()
1012 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 100 then
1013 lpjumpbutton.TextColor3 = Color3.new(1,128/255,0)
1014 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(1,128/255,0)
1015 else
1016 lpjumpbutton.TextColor3 = Color3.new(0,157/255,1)
1017 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(0,157/255,1)
1018 end
1019
1020 local x = (mouse.X) - (lpjumpbutton.AbsolutePosition.X)
1021 local y = (mouse.Y) - (lpjumpbutton.AbsolutePosition.Y)
1022 lpjumpbutton.lpjumplabel.Position = UDim2.new(0,x,0,y)
1023 lpjumpbutton.lpjumplabel.Size = UDim2.new(0,50,0,50)
1024 lpjumpbutton.lpjumplabel.ImageTransparency = 0.8
1025 lpjumpbutton.lpjumplabel.Visible = true
1026
1027 wait()
1028
1029 lpjumpbutton.lpjumplabel:TweenSize(
1030 UDim2.new(0,390,0,390),
1031 "Out",
1032 "Quint",
1033 1
1034 )
1035end)
1036
1037lpjumpbutton.MouseButton1Up:connect(function()
1038 wait(0.35)
1039 local TweenService = game:GetService("TweenService")
1040 local circle = lpjumpbutton.lpjumplabel
1041
1042 local Info = TweenInfo.new(
1043 0.2, -- Length
1044 Enum.EasingStyle.Linear, -- Easing Style
1045 Enum.EasingDirection.Out, -- Easing Direction
1046 0, -- Times repeated
1047 false, -- Reverse
1048 0 -- Delay
1049 )
1050 local Goals =
1051 {
1052 ImageTransparency = 1;
1053 }
1054
1055 local tween = TweenService:Create(circle,Info,Goals)
1056 tween:Play()
1057end)
1058
1059--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.Script
1060local mouse = game.Players.LocalPlayer:GetMouse()
1061
1062
1063generalbutton.MouseButton1Down:connect(function()
1064 local x = (mouse.X) - (generalbutton.AbsolutePosition.X)
1065 local y = (mouse.Y) - (generalbutton.AbsolutePosition.Y)
1066 generalbutton.generalbuttonlabel.Position = UDim2.new(0,x,0,y)
1067 generalbutton.generalbuttonlabel.Size = UDim2.new(0,50,0,50)
1068 generalbutton.generalbuttonlabel.ImageTransparency = 0.8
1069 generalbutton.generalbuttonlabel.Visible = true
1070
1071 wait()
1072
1073 generalbutton.generalbuttonlabel:TweenSize(
1074 UDim2.new(0,390,0,390),
1075 "Out",
1076 "Quint",
1077 1
1078 )
1079end)
1080
1081generalbutton.MouseButton1Up:connect(function()
1082 wait(0.35)
1083 local TweenService = game:GetService("TweenService")
1084 local circle = generalbutton.generalbuttonlabel
1085
1086 local Info = TweenInfo.new(
1087 0.2, -- Length
1088 Enum.EasingStyle.Linear, -- Easing Style
1089 Enum.EasingDirection.Out, -- Easing Direction
1090 0, -- Times repeated
1091 false, -- Reverse
1092 0 -- Delay
1093 )
1094 local Goals =
1095 {
1096 ImageTransparency = 1;
1097 }
1098
1099 local tween = TweenService:Create(circle,Info,Goals)
1100 tween:Play()
1101end)
1102
1103--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.TransitionScript
1104generalbutton.MouseButton1Click:connect(function()
1105 wait(0.25)
1106 menuframe:TweenPosition(
1107 UDim2.new(0,-256,0,0),
1108 "Out",
1109 "Quint",
1110 0.2
1111 )
1112 generalframe:TweenPosition(
1113 UDim2.new(0,0,0,0),
1114 "Out",
1115 "Quint",
1116 0.2
1117 )
1118 backbutton1.Visible = true
1119 backbutton1.Active = true
1120 maintab.title.Text = "General"
1121 maintab.title.TextSize = 19
1122end)
1123
1124--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.Script
1125local mouse = game.Players.LocalPlayer:GetMouse()
1126
1127
1128lpbutton.MouseButton1Down:connect(function()
1129 local x = (mouse.X) - (lpbutton.AbsolutePosition.X)
1130 local y = (mouse.Y) - (lpbutton.AbsolutePosition.Y)
1131 lpbutton.lpbuttonlabel.Position = UDim2.new(0,x,0,y)
1132 lpbutton.lpbuttonlabel.Size = UDim2.new(0,50,0,50)
1133 lpbutton.lpbuttonlabel.ImageTransparency = 0.8
1134 lpbutton.lpbuttonlabel.Visible = true
1135
1136 wait()
1137
1138 lpbuttonlabel:TweenSize(
1139 UDim2.new(0,390,0,390),
1140 "Out",
1141 "Quint",
1142 1
1143 )
1144end)
1145
1146lpbutton.MouseButton1Up:connect(function()
1147 wait(0.35)
1148 local TweenService = game:GetService("TweenService")
1149 local circle = lpbutton.lpbuttonlabel
1150
1151 local Info = TweenInfo.new(
1152 0.2, -- Length
1153 Enum.EasingStyle.Linear, -- Easing Style
1154 Enum.EasingDirection.Out, -- Easing Direction
1155 0, -- Times repeated
1156 false, -- Reverse
1157 0 -- Delay
1158 )
1159 local Goals =
1160 {
1161 ImageTransparency = 1;
1162 }
1163
1164 local tween = TweenService:Create(circle,Info,Goals)
1165 tween:Play()
1166end)
1167
1168--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.TransitionScript
1169lpbutton.MouseButton1Click:connect(function()
1170 wait(0.25)
1171 menuframe:TweenPosition(
1172 UDim2.new(0,-256,0,0),
1173 "Out",
1174 "Quint",
1175 0.2
1176 )
1177 lpframe:TweenPosition(
1178 UDim2.new(0,0,0,0),
1179 "Out",
1180 "Quint",
1181 0.2
1182 )
1183 backbutton2.Visible = true
1184 backbutton2.Active = true
1185 maintab.title.Text = "Local Player"
1186 maintab.title.TextSize = 19
1187end)
1188
1189--mygui.maintab.bodyframe.menuframe.tpbuttonframe.tpbutton.Script
1190local mouse = game.Players.LocalPlayer:GetMouse()
1191
1192
1193tpbutton.MouseButton1Down:connect(function()
1194 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1195 local y = (mouse.Y) - (tpbutton.AbsolutePosition.Y)
1196 tpbutton.tpbuttonlabel.Position = UDim2.new(0,x,0,y)
1197 tpbutton.tpbuttonlabel.Size = UDim2.new(0,0,0,0)
1198 tpbutton.tpbuttonlabel.ImageTransparency = 0.8
1199 tpbutton.tpbuttonlabel.Visible = true
1200
1201 wait()
1202
1203 tpbutton.tpbuttonlabel:TweenSize(
1204 UDim2.new(0,75,0,75),
1205 "Out",
1206 "Quint",
1207 0.9
1208 )
1209end)
1210
1211tpbutton.MouseButton1Up:connect(function()
1212 wait(0.35)
1213 local TweenService = game:GetService("TweenService")
1214 local circle = tpbutton.tpbuttonlabel
1215
1216 local Info = TweenInfo.new(
1217 0.2, -- Length
1218 Enum.EasingStyle.Linear, -- Easing Style
1219 Enum.EasingDirection.Out, -- Easing Direction
1220 0, -- Times repeated
1221 false, -- Reverse
1222 0 -- Delay
1223 )
1224 local Goals =
1225 {
1226 ImageTransparency = 1;
1227 }
1228
1229 local tween = TweenService:Create(circle,Info,Goals)
1230 tween:Play()
1231end)
1232
1233--mygui.maintab.bodyframe.menuframe.tptextbox.matscript
1234--[[tptextbox.Focused:connect(function()
1235 local mouse = game.Players.LocalPlayer:GetMouse()
1236 tptextbox.tpunderline.BackgroundTransparency = 0
1237 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1238 tpunderline.Position = UDim2.new(0,x,0,30) --insert correct offset in Y!!
1239
1240 wait()
1241 tptextbox.tpunderline:TweenSizeAndPosition(
1242 UDim2.new(0,156,0,2),
1243 UDim2.new(0,0,0,30),
1244 "Out",
1245 "Quint",
1246 0.2
1247 )
1248end)]]--
1249
1250--mygui.maintab.backbutton1.Script
1251local mouse = game.Players.LocalPlayer:GetMouse()
1252
1253backbutton1.MouseButton1Down:connect(function()
1254 backbutton1.backbutton1label.Position = UDim2.new(0.5,0,0.5,0)
1255 backbutton1.backbutton1label.Size = UDim2.new(0,0,0,0)
1256 backbutton1.backbutton1label.ImageTransparency = 0.8
1257 backbutton1.backbutton1label.Visible = true
1258
1259 wait()
1260
1261 backbutton1.backbutton1label:TweenSize(
1262 UDim2.new(0,60,0,60),
1263 "Out",
1264 "Quint",
1265 0.25
1266 )
1267end)
1268
1269backbutton1.MouseButton1Up:connect(function()
1270 wait(0.35)
1271 local TweenService = game:GetService("TweenService")
1272 local circle = backbutton1.backbutton1label
1273
1274 local Info = TweenInfo.new(
1275 0.2, -- Length
1276 Enum.EasingStyle.Linear, -- Easing Style
1277 Enum.EasingDirection.Out, -- Easing Direction
1278 0, -- Times repeated
1279 false, -- Reverse
1280 0 -- Delay
1281 )
1282 local Goals =
1283 {
1284 ImageTransparency = 1;
1285 }
1286
1287 local tween = TweenService:Create(circle,Info,Goals)
1288 tween:Play()
1289end)
1290
1291--mygui.maintab.backbutton1.TransitionScript
1292backbutton1.MouseButton1Click:connect(function()
1293 wait(0.2)
1294 menuframe:TweenPosition(
1295 UDim2.new(0,0,0,0),
1296 "Out",
1297 "Quint",
1298 0.2
1299 )
1300 generalframe:TweenPosition(
1301 UDim2.new(0,256,0,0),
1302 "Out",
1303 "Quint",
1304 0.2
1305 )
1306 backbutton1.Visible = false
1307 backbutton1.Active = false
1308 maintab.title.Text = "MM2 Gui"
1309 maintab.title.TextSize = 20
1310end)
1311
1312--mygui.maintab.backbutton2.Script
1313local mouse = game.Players.LocalPlayer:GetMouse()
1314
1315
1316backbutton2.MouseButton1Down:connect(function()
1317 backbutton2.backbutton2label.Position = UDim2.new(0.5,0,0.5,0)
1318 backbutton2.backbutton2label.Size = UDim2.new(0,0,0,0)
1319 backbutton2.backbutton2label.ImageTransparency = 0.8
1320 backbutton2.backbutton2label.Visible = true
1321
1322 wait()
1323
1324 backbutton2.backbutton2label:TweenSize(
1325 UDim2.new(0,60,0,60),
1326 "Out",
1327 "Quint",
1328 0.25
1329 )
1330end)
1331
1332backbutton2.MouseButton1Up:connect(function()
1333 wait(0.35)
1334 local TweenService = game:GetService("TweenService")
1335 local circle = backbutton2.backbutton2label
1336
1337 local Info = TweenInfo.new(
1338 0.2, -- Length
1339 Enum.EasingStyle.Linear, -- Easing Style
1340 Enum.EasingDirection.Out, -- Easing Direction
1341 0, -- Times repeated
1342 false, -- Reverse
1343 0 -- Delay
1344 )
1345 local Goals =
1346 {
1347 ImageTransparency = 1;
1348 }
1349
1350 local tween = TweenService:Create(circle,Info,Goals)
1351 tween:Play()
1352end)
1353
1354--mygui.maintab.backbutton2.TransitionScript
1355backbutton2.MouseButton1Click:connect(function()
1356 wait(0.2)
1357 menuframe:TweenPosition(
1358 UDim2.new(0,0,0,0),
1359 "Out",
1360 "Quint",
1361 0.2
1362 )
1363 lpframe:TweenPosition(
1364 UDim2.new(0,256,0,0),
1365 "Out",
1366 "Quint",
1367 0.2
1368 )
1369 backbutton2.Visible = false
1370 backbutton2.Active = false
1371 backbutton2.Parent.title.Text = "MM2 Gui"
1372 backbutton2.Parent.title.TextSize = 20
1373end)
1374
1375--mygui.maintab.creditsbutton.Script
1376local mouse = game.Players.LocalPlayer:GetMouse()
1377
1378
1379creditsbutton.MouseButton1Down:connect(function()
1380 local x = (mouse.X) - (creditsbutton.AbsolutePosition.X)
1381 local y = (mouse.Y) - (creditsbutton.AbsolutePosition.Y)
1382 creditsbutton.creditsiconlabel1.Position = UDim2.new(0,x,0,y)
1383 creditsbutton.creditsiconlabel1.Size = UDim2.new(0,0,0,0)
1384 creditsbutton.creditsiconlabel1.ImageTransparency = 0.8
1385 creditsbutton.creditsiconlabel1.Visible = true
1386
1387 wait()
1388
1389 creditsbutton.creditsiconlabel1:TweenSize(
1390 UDim2.new(0,75,0,75),
1391 "Out",
1392 "Quint",
1393 0.9
1394 )
1395end)
1396
1397creditsbutton.MouseButton1Up:connect(function()
1398 wait(0.35)
1399 local TweenService = game:GetService("TweenService")
1400 local circle = creditsbutton.creditsiconlabel1
1401
1402 local Info = TweenInfo.new(
1403 0.2, -- Length
1404 Enum.EasingStyle.Linear, -- Easing Style
1405 Enum.EasingDirection.Out, -- Easing Direction
1406 0, -- Times repeated
1407 false, -- Reverse
1408 0 -- Delay
1409 )
1410 local Goals =
1411 {
1412 ImageTransparency = 1;
1413 }
1414
1415 local tween = TweenService:Create(circle,Info,Goals)
1416 tween:Play()
1417end)
1418
1419--mygui.maintab.creditsbutton.CreditsWindowScript
1420creditsbutton.MouseButton1Click:connect(function()
1421 creditstab.Visible = true
1422 creditstab.Active = true
1423end)
1424
1425--mygui.creditstab.closecredits.Script
1426closecredits.MouseButton1Click:connect(function()
1427 creditstab.Visible = false
1428 creditstab.Active = false
1429end)
1430
1431--mygui.toggle.closeopen.CloseOpenScript
1432closeopen.MouseButton1Click:connect(function()
1433 if
1434 (maintab.Visible == true) and
1435 (maintab.Active == true) then
1436 maintab.Visible = false
1437 maintab.Active = false
1438 closeopen.Text = "Open"
1439 else
1440 maintab.Visible = true
1441 maintab.Active = true
1442 closeopen.Text = "Close"
1443 end
1444end)
1445
1446--mygui.toggle.closeopen.Script
1447local mouse = game.Players.LocalPlayer:GetMouse()
1448
1449
1450closeopen.MouseButton1Down:connect(function()
1451 local x = (mouse.X) - (closeopen.AbsolutePosition.X)
1452 local y = (mouse.Y) - (closeopen.AbsolutePosition.Y)
1453 closeopen.closeopenlabel.Position = UDim2.new(0,x,0,y)
1454 closeopen.closeopenlabel.Size = UDim2.new(0,50,0,50)
1455 closeopen.closeopenlabel.ImageTransparency = 0.8
1456 closeopen.closeopenlabel.Visible = true
1457
1458 wait()
1459
1460 closeopen.closeopenlabel:TweenSize(
1461 UDim2.new(0,240,0,240),
1462 "Out",
1463 "Quint",
1464 1
1465 )
1466end)
1467
1468closeopen.MouseButton1Up:connect(function()
1469 wait(0.35)
1470 local TweenService = game:GetService("TweenService")
1471 local circle = closeopen.closeopenlabel
1472
1473 local Info = TweenInfo.new(
1474 0.2, -- Length
1475 Enum.EasingStyle.Linear, -- Easing Style
1476 Enum.EasingDirection.Out, -- Easing Direction
1477 0, -- Times repeated
1478 false, -- Reverse
1479 0 -- Delay
1480 )
1481 local Goals =
1482 {
1483 ImageTransparency = 1;
1484 }
1485
1486 local tween = TweenService:Create(circle,Info,Goals)
1487 tween:Play()
1488end)
1489
1490--mygui.toggle.closeall.Script
1491closeall.MouseButton1Click:connect(function()
1492 mygui:Remove()
1493end)
1494
1495-- Scripts
1496
1497lpgravbutton.MouseButton1Down:connect(function()
1498 if game.Workspace.Gravity > 196.1 then
1499 game.Workspace.Gravity = 50
1500 else
1501 game.Workspace.Gravity = 196.2
1502 end
1503end)
1504
1505lpwalkbutton.MouseButton1Down:connect(function()
1506 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 then
1507 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 * 5
1508 else
1509 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
1510 end
1511end)
1512
1513lpjumpbutton.MouseButton1Down:connect(function()
1514 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 50 then
1515 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
1516 else
1517 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
1518 end
1519end)
1520
1521lpgodbutton.MouseButton1Down:connect(function()
1522 game.Players.LocalPlayer.Character.Humanoid:Remove()
1523 Instance.new('Humanoid', game.Players.LocalPlayer.Character)
1524end)
1525
1526generallobbybutton.MouseButton1Down:connect(function()
1527 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
1528end)
1529
1530generalgunbutton.MouseButton1Down:connect(function()
1531 game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
1532end)
1533
1534generalcoinbutton.MouseButton1Down:connect(function()
1535 for i = 10, 1, -1 do
1536 for i,v in pairs(game.Workspace:GetChildren()) do
1537 local s = v:FindFirstChild("CoinContainer")
1538 local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
1539 if e and s then
1540 for i,c in pairs(s:GetChildren()) do
1541 c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
1542 end
1543 end
1544 end
1545 wait(0.7)
1546 end
1547end)
1548
1549--[[tpbutton.MouseButton1Down:connect(function()
1550 for i,v in pairs(game.Workspace:GetChildren()) do
1551 if tptextbox.Text:lower() == v.Name:lower() then
1552 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1553 else
1554 print("Player not found")
1555 end
1556 end
1557end)]]--
1558
1559
1560
1561
1562--script
1563local parent = tptextbox --insert textbox name!
1564local mouse = game.Players.LocalPlayer:GetMouse()
1565
1566local xsize = parent.Size.X.Offset
1567local ysize = parent.Size.Y.Offset
1568parent.Visible = true
1569parent.Active = true
1570parent.Selectable = true
1571
1572local Underline = Instance.new("Frame")
1573local UnderlineBase = Instance.new("Frame")
1574
1575Underline.Name = "Underline"
1576Underline.Parent = parent
1577Underline.BackgroundColor3 = parent.TextColor3
1578Underline.BorderSizePixel = 0
1579Underline.Position = UDim2.new(0, 0, 1, 0)
1580Underline.Size = UDim2.new(0, 0, 0, 1)
1581
1582UnderlineBase.Name = "UnderlineBase"
1583UnderlineBase.Parent = parent
1584UnderlineBase.BackgroundColor3 = parent.TextColor3
1585UnderlineBase.BackgroundTransparency = 0.85
1586UnderlineBase.BorderSizePixel = 0
1587UnderlineBase.Position = UDim2.new(0, 0, 1, 0)
1588UnderlineBase.Size = UDim2.new(0, xsize, 0, 1)
1589
1590parent.Focused:connect(function()
1591 local x = (mouse.X) - (parent.AbsolutePosition.X)
1592 Underline.BackgroundTransparency = 0
1593 Underline.Position = UDim2.new(0,x,1,0)
1594 wait()
1595 Underline:TweenSizeAndPosition(
1596 UDim2.new(0, xsize, 0, 1),
1597 UDim2.new(0, 0, 1, 0),
1598 "Out",
1599 "Quint",
1600 0.2
1601 )
1602end)
1603
1604parent.FocusLost:connect(function(enterPressed)
1605 if parent.Text == "" then
1606 parent.Text = "Player Name"
1607 end
1608
1609 local TweenService = game:GetService("TweenService")
1610
1611 local Info = TweenInfo.new(
1612 0.15,
1613 Enum.EasingStyle.Linear,
1614 Enum.EasingDirection.Out,
1615 0,
1616 false,
1617 0
1618 )
1619 local Goals =
1620 {
1621 BackgroundTransparency = 1;
1622 }
1623
1624 local tween = TweenService:Create(Underline,Info,Goals)
1625 tween:Play()
1626
1627 wait(0.15)
1628 Underline.Size = UDim2.new(0,0,0,1)
1629
1630 if enterPressed then
1631 for i,v in pairs(game.Workspace:GetChildren()) do
1632 if tptextbox.Text:lower() == v.Name:lower() then
1633 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1634 else
1635 print("Player not found")
1636 end
1637 end
1638 print(true)
1639 elseif tptextbox.Text ~= "Player Name" then
1640 tptextbox.Text = "Press Enter to TP"
1641 end
1642end)
1643
1644--/script
1645
1646if enterPressed then
1647 for i,v in pairs(game.Workspace:GetChildren()) do
1648 if tptextbox.Text:lower() == v.Name:lower() then
1649 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1650 else
1651 print("Player not found")
1652 end
1653 end
1654end
1655
1656generalespbutton.MouseButton1Down:connect(function()
1657 --credits to Nebula Hub for the esp + aimbot
1658 PLAYER = game.Players.LocalPlayer
1659 MOUSE = PLAYER:GetMouse()
1660 CC = game.Workspace.CurrentCamera
1661
1662 ENABLED = false
1663 ESP_ENABLED = false
1664
1665 _G.FREE_FOR_ALL = true
1666
1667 _G.BIND = 50
1668 _G.ESP_BIND = 52
1669 _G.CHANGE_AIM = 'q'
1670
1671 _G.AIM_AT = 'Head'
1672
1673 wait(1)
1674
1675 function GetNearestPlayerToMouse()
1676 local PLAYERS = {}
1677 local PLAYER_HOLD = {}
1678 local DISTANCES = {}
1679 for i, v in pairs(game.Players:GetPlayers()) do
1680 if v ~= PLAYER then
1681 table.insert(PLAYERS, v)
1682 end
1683 end
1684 for i, v in pairs(PLAYERS) do
1685 if _G.FREE_FOR_ALL == false then
1686 if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
1687 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1688 if AIM ~= nil then
1689 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1690 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1691 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1692 local DIFF = math.floor((POS - AIM.Position).magnitude)
1693 PLAYER_HOLD[v.Name .. i] = {}
1694 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1695 PLAYER_HOLD[v.Name .. i].plr = v
1696 PLAYER_HOLD[v.Name .. i].diff = DIFF
1697 table.insert(DISTANCES, DIFF)
1698 end
1699 end
1700 elseif _G.FREE_FOR_ALL == true then
1701 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1702 if AIM ~= nil then
1703 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1704 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1705 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1706 local DIFF = math.floor((POS - AIM.Position).magnitude)
1707 PLAYER_HOLD[v.Name .. i] = {}
1708 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1709 PLAYER_HOLD[v.Name .. i].plr = v
1710 PLAYER_HOLD[v.Name .. i].diff = DIFF
1711 table.insert(DISTANCES, DIFF)
1712 end
1713 end
1714 end
1715
1716 if unpack(DISTANCES) == nil then
1717 return false
1718 end
1719
1720 local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
1721 if L_DISTANCE > 20 then
1722 return false
1723 end
1724
1725 for i, v in pairs(PLAYER_HOLD) do
1726 if v.diff == L_DISTANCE then
1727 return v.plr
1728 end
1729 end
1730 return false
1731 end
1732
1733 GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
1734 GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
1735 GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
1736
1737 GUI_MAIN.Name = 'AIMBOT'
1738
1739 GUI_TARGET.Size = UDim2.new(0,200,0,30)
1740 GUI_TARGET.BackgroundTransparency = 0.5
1741 GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
1742 GUI_TARGET.BorderSizePixel = 0
1743 GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
1744 GUI_TARGET.Text = 'AIMBOT : OFF'
1745 GUI_TARGET.TextColor3 = Color3.new(1,1,1)
1746 GUI_TARGET.TextStrokeTransparency = 1
1747 GUI_TARGET.TextWrapped = true
1748 GUI_TARGET.FontSize = 'Size24'
1749 GUI_TARGET.Font = 'SourceSansBold'
1750
1751 GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
1752 GUI_AIM_AT.BackgroundTransparency = 0.5
1753 GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
1754 GUI_AIM_AT.BorderSizePixel = 0
1755 GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
1756 GUI_AIM_AT.Text = 'AIMING : HEAD'
1757 GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
1758 GUI_AIM_AT.TextStrokeTransparency = 1
1759 GUI_AIM_AT.TextWrapped = true
1760 GUI_AIM_AT.FontSize = 'Size18'
1761 GUI_AIM_AT.Font = 'SourceSansBold'
1762
1763 local TRACK = false
1764
1765 function CREATE(BASE, COLOR)
1766 local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
1767 local ESP_DOT = Instance.new('Frame', ESP_MAIN)
1768 local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
1769
1770 ESP_MAIN.Name = 'ESP'
1771 ESP_MAIN.Adornee = BASE
1772 ESP_MAIN.AlwaysOnTop = true
1773 ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
1774 ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
1775
1776 ESP_DOT.Name = 'DOT'
1777 ESP_DOT.BackgroundColor3 = COLOR
1778 ESP_DOT.BackgroundTransparency = 0.3
1779 ESP_DOT.BorderSizePixel = 0
1780 ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
1781 ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
1782 ESP_DOT.Visible = true
1783 ESP_DOT.ZIndex = 10
1784
1785 ESP_NAME.Name = 'NAME'
1786 ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
1787 ESP_NAME.BackgroundTransparency = 1
1788 ESP_NAME.BorderSizePixel = 0
1789 ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
1790 ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
1791 ESP_NAME.Visible = true
1792 ESP_NAME.ZIndex = 10
1793 ESP_NAME.Font = 'ArialBold'
1794 ESP_NAME.FontSize = 'Size14'
1795 ESP_NAME.Text = BASE.Parent.Name:upper()
1796 ESP_NAME.TextColor3 = COLOR
1797 end
1798
1799 function CLEAR()
1800 for _,v in pairs(PLAYER.PlayerGui:children()) do
1801 if v.Name == 'ESP' and v:IsA('BillboardGui') then
1802 v:Destroy()
1803 end
1804 end
1805 end
1806
1807 local Remote = game:service'ReplicatedStorage'.GetPlayerData
1808 local player_roles = Remote:InvokeServer()
1809 function FIND()
1810 CLEAR()
1811 TRACK = true
1812 spawn(function()
1813 while wait() do
1814 if TRACK then
1815 CLEAR()
1816 local a,b = ypcall(function()
1817 for name,player in pairs(player_roles)do
1818 if game:service'Players':FindFirstChild(name) ~= nil then
1819 local v = game:service'Players':FindFirstChild(name)
1820 if v.Character and v.Character:FindFirstChild('Head') then
1821 if v.Character:FindFirstChild('Head') then
1822 if player.Dead ~= true then
1823 if player.Role == "Murderer"then
1824 CREATE(v.Character.Head, Color3.new(1,0,0))
1825 elseif player.Role == "Sheriff" or player.Role == "Hero" then
1826 CREATE(v.Character.Head, Color3.new(0,0,1))
1827 else
1828 CREATE(v.Character.Head, Color3.new(0,1,0))
1829 end
1830 end
1831 end
1832 end
1833 end
1834 end
1835 end)
1836 end
1837 end
1838 wait(1)
1839 end)
1840 end
1841 coroutine.wrap(function()
1842 while wait()do
1843 player_roles = Remote:InvokeServer()
1844 end
1845 end)()
1846
1847 MOUSE.KeyDown:connect(function(KEY)
1848 KEY = KEY:lower():byte()
1849 if KEY == _G.BIND then
1850 ENABLED = true
1851 end
1852 end)
1853
1854 MOUSE.KeyUp:connect(function(KEY)
1855 KEY = KEY:lower():byte()
1856 if KEY == _G.BIND then
1857 ENABLED = false
1858 end
1859 end)
1860
1861 MOUSE.KeyDown:connect(function(KEY)
1862 KEY = KEY:lower():byte()
1863 if KEY == _G.ESP_BIND then
1864 if ESP_ENABLED == false then
1865 FIND()
1866 ESP_ENABLED = true
1867 print('ESP : ON')
1868 elseif ESP_ENABLED == true then
1869 wait()
1870 CLEAR()
1871 TRACK = false
1872 ESP_ENABLED = false
1873 print('ESP : OFF')
1874 end
1875 end
1876 end)
1877
1878 MOUSE.KeyDown:connect(function(KEY)
1879 if KEY == _G.CHANGE_AIM then
1880 if _G.AIM_AT == 'Head' then
1881 _G.AIM_AT = 'Torso'
1882 GUI_AIM_AT.Text = 'AIMING : TORSO'
1883 elseif _G.AIM_AT == 'Torso' then
1884 _G.AIM_AT = 'Head'
1885 GUI_AIM_AT.Text = 'AIMING : HEAD'
1886 end
1887 end
1888 end)
1889
1890 game:GetService('RunService').RenderStepped:connect(function()
1891 if ENABLED then
1892 local TARGET = GetNearestPlayerToMouse()
1893 if (TARGET ~= false) then
1894 local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
1895 if AIM then
1896 CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
1897 end
1898 GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
1899 else
1900 GUI_TARGET.Text = 'AIMBOT : OFF'
1901 end
1902 end
1903 end)
1904
1905 repeat
1906 wait()
1907 if ESP_ENABLED == true then
1908 FIND()
1909 end
1910 until ESP_ENABLED == false
1911
1912
1913 wait()
1914
1915 _G.FREE_FOR_ALL = true
1916
1917 _G.BIND = 50 -- LEFT CTRL
1918 _G.ESP_BIND = 52 -- LEFT ALT
1919end)
1920
1921local plr = game.Players.LocalPlayer
1922
1923plr:GetMouse().KeyDown:connect(function(KeyUp)
1924 if KeyUp == "0" then
1925 plr.Character.Humanoid.WalkSpeed = 35
1926 end
1927end)
1928
1929plr:GetMouse().KeyUp:connect(function(KeyUp)
1930 if KeyUp == "0" then
1931 plr.Character.Humanoid.WalkSpeed = 16
1932 end
1933end)-- Made by abs_0 (absoabsolute0)
1934-- Objects
1935
1936local mygui = Instance.new("ScreenGui")
1937local maintab = Instance.new("Frame")
1938local title = Instance.new("TextLabel")
1939local bodyframe = Instance.new("Frame")
1940local menuframe = Instance.new("Frame")
1941local generalbuttonframe = Instance.new("Frame")
1942local generalbutton = Instance.new("TextButton")
1943local generalbuttonlabel = Instance.new("ImageLabel")
1944local lpbuttonframe = Instance.new("Frame")
1945local lpbutton = Instance.new("TextButton")
1946local lpbuttonlabel = Instance.new("ImageLabel")
1947local tpbuttonframe = Instance.new("Frame")
1948local tpbutton = Instance.new("TextButton")
1949local tpbuttonlabel = Instance.new("ImageLabel")
1950local tptextbox = Instance.new("TextBox")
1951local tpunderline = Instance.new("Frame")
1952local tpunderlinebase = Instance.new("Frame")
1953local generalframe = Instance.new("Frame")
1954local generalespframe = Instance.new("Frame")
1955local generalespbutton = Instance.new("TextButton")
1956local generalesplabel = Instance.new("ImageLabel")
1957local generalcoinframe = Instance.new("Frame")
1958local generalcoinbutton = Instance.new("TextButton")
1959local generalcoinlabel = Instance.new("ImageLabel")
1960local generalgunframe = Instance.new("Frame")
1961local generalgunbutton = Instance.new("TextButton")
1962local generalgunlabel = Instance.new("ImageLabel")
1963local generallobbyframe = Instance.new("Frame")
1964local generallobbybutton = Instance.new("TextButton")
1965local generallobbylabel = Instance.new("ImageLabel")
1966local lpframe = Instance.new("Frame")
1967local lpjumpframe = Instance.new("Frame")
1968local lpjumpbutton = Instance.new("TextButton")
1969local lpjumplabel = Instance.new("ImageLabel")
1970local lpgravframe = Instance.new("Frame")
1971local lpgravbutton = Instance.new("TextButton")
1972local lpgravlabel = Instance.new("ImageLabel")
1973local lpwalkframe = Instance.new("Frame")
1974local lpwalkbutton = Instance.new("TextButton")
1975local lpwalklabel = Instance.new("ImageLabel")
1976local lpgodframe = Instance.new("Frame")
1977local lpgodbutton = Instance.new("TextButton")
1978local lpgodlabel = Instance.new("ImageLabel")
1979local backbutton1 = Instance.new("TextButton")
1980local backbutton1label = Instance.new("ImageLabel")
1981local backbutton2 = Instance.new("TextButton")
1982local backbutton2label = Instance.new("ImageLabel")
1983local creditsbutton = Instance.new("TextButton")
1984local creditsiconlabel1 = Instance.new("ImageLabel")
1985local creditsiconlabel2 = Instance.new("ImageLabel")
1986local toggle = Instance.new("Frame")
1987local closeall = Instance.new("TextButton")
1988local closeopen = Instance.new("TextButton")
1989local closeopenlabel = Instance.new("ImageLabel")
1990local creditstab = Instance.new("Frame")
1991local creditstitle = Instance.new("TextLabel")
1992local creditsframe = Instance.new("Frame")
1993local creditsmenuframe = Instance.new("Frame")
1994local creditsfield = Instance.new("TextLabel")
1995local closecredits = Instance.new("TextButton")
1996
1997-- Properties
1998
1999mygui.Name = "mygui"
2000mygui.Parent = game.CoreGui
2001
2002maintab.Name = "maintab"
2003maintab.Parent = mygui
2004maintab.Active = true
2005maintab.BackgroundColor3 = Color3.new(1, 1, 1)
2006maintab.BackgroundTransparency = 0.5
2007maintab.BorderSizePixel = 0
2008maintab.Draggable = true
2009maintab.Position = UDim2.new(0, 900, 0, 330)
2010maintab.Size = UDim2.new(0, 256, 0, 30)
2011
2012title.Name = "title"
2013title.Parent = maintab
2014title.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
2015title.BorderSizePixel = 0
2016title.Size = UDim2.new(0, 256, 0, 30)
2017title.Font = Enum.Font.SourceSansBold
2018title.FontSize = Enum.FontSize.Size24
2019title.Text = "MM2 Gui"
2020title.TextColor3 = Color3.new(1, 1, 1)
2021title.TextSize = 23
2022
2023bodyframe.Name = "bodyframe"
2024bodyframe.Parent = maintab
2025bodyframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
2026bodyframe.BorderSizePixel = 0
2027bodyframe.ClipsDescendants = true
2028bodyframe.Position = UDim2.new(0, 0, 0, 30)
2029bodyframe.Size = UDim2.new(0, 256, 0, 222)
2030
2031menuframe.Name = "menuframe"
2032menuframe.Parent = bodyframe
2033menuframe.BackgroundColor3 = Color3.new(1, 1, 1)
2034menuframe.BackgroundTransparency = 1
2035menuframe.BorderSizePixel = 0
2036menuframe.Size = UDim2.new(0, 256, 0, 222)
2037
2038generalbuttonframe.Name = "generalbuttonframe"
2039generalbuttonframe.Parent = menuframe
2040generalbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
2041generalbuttonframe.BorderSizePixel = 0
2042generalbuttonframe.Position = UDim2.new(0, 31, 0, 31)
2043generalbuttonframe.Size = UDim2.new(0, 194, 0, 31)
2044
2045generalbutton.Name = "generalbutton"
2046generalbutton.Parent = generalbuttonframe
2047generalbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2048generalbutton.BackgroundTransparency = 1
2049generalbutton.BorderSizePixel = 0
2050generalbutton.ClipsDescendants = true
2051generalbutton.Size = UDim2.new(0, 194, 0, 30)
2052generalbutton.Font = Enum.Font.SourceSansSemibold
2053generalbutton.FontSize = Enum.FontSize.Size24
2054generalbutton.Text = "General"
2055generalbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2056generalbutton.TextSize = 20
2057
2058generalbuttonlabel.Name = "generalbuttonlabel"
2059generalbuttonlabel.Parent = generalbutton
2060generalbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2061generalbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2062generalbuttonlabel.BackgroundTransparency = 1
2063generalbuttonlabel.BorderSizePixel = 0
2064generalbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2065generalbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
2066generalbuttonlabel.Visible = false
2067generalbuttonlabel.Image = "rbxassetid://200182847"
2068generalbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2069generalbuttonlabel.ImageTransparency = 0.80000001192093
2070
2071lpbuttonframe.Name = "lpbuttonframe"
2072lpbuttonframe.Parent = menuframe
2073lpbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
2074lpbuttonframe.BorderSizePixel = 0
2075lpbuttonframe.Position = UDim2.new(0, 31, 0, 96)
2076lpbuttonframe.Size = UDim2.new(0, 194, 0, 31)
2077
2078lpbutton.Name = "lpbutton"
2079lpbutton.Parent = lpbuttonframe
2080lpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2081lpbutton.BackgroundTransparency = 1
2082lpbutton.BorderSizePixel = 0
2083lpbutton.ClipsDescendants = true
2084lpbutton.Size = UDim2.new(0, 194, 0, 30)
2085lpbutton.Font = Enum.Font.SourceSansSemibold
2086lpbutton.FontSize = Enum.FontSize.Size24
2087lpbutton.Text = "Local Player"
2088lpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2089lpbutton.TextSize = 19
2090
2091lpbuttonlabel.Name = "lpbuttonlabel"
2092lpbuttonlabel.Parent = lpbutton
2093lpbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2094lpbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2095lpbuttonlabel.BackgroundTransparency = 1
2096lpbuttonlabel.BorderSizePixel = 0
2097lpbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2098lpbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
2099lpbuttonlabel.Visible = false
2100lpbuttonlabel.Image = "rbxassetid://200182847"
2101lpbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2102lpbuttonlabel.ImageTransparency = 0.80000001192093
2103
2104tptextbox.Name = "tptextbox"
2105tptextbox.Parent = menuframe
2106tptextbox.BackgroundColor3 = Color3.new(1, 1, 1)
2107tptextbox.BackgroundTransparency = 1
2108tptextbox.BorderSizePixel = 0
2109tptextbox.Position = UDim2.new(0, 31, 0, 165)
2110tptextbox.Size = UDim2.new(0, 194, 0, 31)
2111tptextbox.Font = Enum.Font.SourceSans
2112tptextbox.FontSize = Enum.FontSize.Size18
2113tptextbox.Text = "Player Name"
2114tptextbox.TextColor3 = Color3.new(1, 1, 1)
2115tptextbox.TextSize = 15
2116
2117tpunderline.Name = "tpunderline"
2118tpunderline.Parent = tptextbox
2119tpunderline.AnchorPoint = Vector2.new(0, 0)
2120tpunderline.BackgroundColor3 = Color3.new(1, 1, 1)
2121tpunderline.BorderSizePixel = 0
2122tpunderline.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
2123tpunderline.Size = UDim2.new(0, 0, 0, 2)
2124
2125tpunderlinebase.Name = "tpunderlinebase"
2126tpunderlinebase.Parent = tptextbox
2127tpunderlinebase.AnchorPoint = Vector2.new(0.5, 0.5)
2128tpunderlinebase.BackgroundColor3 = Color3.new(1, 1, 1)
2129tpunderlinebase.BackgroundTransparency = 0.80000001192093
2130tpunderlinebase.BorderSizePixel = 0
2131tpunderlinebase.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
2132tpunderlinebase.Size = UDim2.new(0, 157, 0, 2)
2133tpunderlinebase.Visible = false --secretkey
2134
2135generalframe.Name = "generalframe"
2136generalframe.Parent = bodyframe
2137generalframe.BackgroundColor3 = Color3.new(1, 1, 1)
2138generalframe.BackgroundTransparency = 1
2139generalframe.BorderSizePixel = 0
2140generalframe.Position = UDim2.new(0, 256, 0, 0)
2141generalframe.Size = UDim2.new(0, 256, 0, 222)
2142
2143generalespframe.Name = "generalespframe"
2144generalespframe.Parent = generalframe
2145generalespframe.BackgroundColor3 = Color3.new(1, 1, 1)
2146generalespframe.BorderSizePixel = 0
2147generalespframe.Position = UDim2.new(0, 31, 0, 172)
2148generalespframe.Size = UDim2.new(0, 194, 0, 30)
2149
2150generalespbutton.Name = "generalespbutton"
2151generalespbutton.Parent = generalespframe
2152generalespbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2153generalespbutton.BackgroundTransparency = 1
2154generalespbutton.BorderSizePixel = 0
2155generalespbutton.ClipsDescendants = true
2156generalespbutton.Size = UDim2.new(0, 194, 0, 30)
2157generalespbutton.Font = Enum.Font.SourceSansSemibold
2158generalespbutton.FontSize = Enum.FontSize.Size24
2159generalespbutton.Text = "ESP (Left Alt)"
2160generalespbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2161generalespbutton.TextSize = 19
2162
2163generalesplabel.Name = "generalesplabel"
2164generalesplabel.Parent = generalespbutton
2165generalesplabel.AnchorPoint = Vector2.new(0.5, 0.5)
2166generalesplabel.BackgroundColor3 = Color3.new(1, 1, 1)
2167generalesplabel.BackgroundTransparency = 1
2168generalesplabel.BorderSizePixel = 0
2169generalesplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2170generalesplabel.Size = UDim2.new(0, 50, 0, 50)
2171generalesplabel.Visible = false
2172generalesplabel.Image = "rbxassetid://200182847"
2173generalesplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2174generalesplabel.ImageTransparency = 0.80000001192093
2175
2176generalcoinframe.Name = "generalcoinframe"
2177generalcoinframe.Parent = generalframe
2178generalcoinframe.BackgroundColor3 = Color3.new(1, 1, 1)
2179generalcoinframe.BorderSizePixel = 0
2180generalcoinframe.Position = UDim2.new(0, 31, 0, 120)
2181generalcoinframe.Size = UDim2.new(0, 194, 0, 30)
2182
2183generalcoinbutton.Name = "generalcoinbutton"
2184generalcoinbutton.Parent = generalcoinframe
2185generalcoinbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2186generalcoinbutton.BackgroundTransparency = 1
2187generalcoinbutton.BorderSizePixel = 0
2188generalcoinbutton.ClipsDescendants = true
2189generalcoinbutton.Position = UDim2.new(0, 0, 0, -1)
2190generalcoinbutton.Size = UDim2.new(0, 194, 0, 31)
2191generalcoinbutton.Font = Enum.Font.SourceSansSemibold
2192generalcoinbutton.FontSize = Enum.FontSize.Size24
2193generalcoinbutton.Text = "Grab 10 Coins"
2194generalcoinbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2195generalcoinbutton.TextSize = 19
2196
2197generalcoinlabel.Name = "generalcoinlabel"
2198generalcoinlabel.Parent = generalcoinbutton
2199generalcoinlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2200generalcoinlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2201generalcoinlabel.BackgroundTransparency = 1
2202generalcoinlabel.BorderSizePixel = 0
2203generalcoinlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2204generalcoinlabel.Size = UDim2.new(0, 50, 0, 50)
2205generalcoinlabel.Visible = false
2206generalcoinlabel.Image = "rbxassetid://200182847"
2207generalcoinlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2208generalcoinlabel.ImageTransparency = 0.80000001192093
2209
2210generalgunframe.Name = "generalgunframe"
2211generalgunframe.Parent = generalframe
2212generalgunframe.BackgroundColor3 = Color3.new(1, 1, 1)
2213generalgunframe.BorderSizePixel = 0
2214generalgunframe.Position = UDim2.new(0, 31, 0, 68)
2215generalgunframe.Size = UDim2.new(0, 194, 0, 30)
2216
2217generalgunbutton.Name = "generalgunbutton"
2218generalgunbutton.Parent = generalgunframe
2219generalgunbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2220generalgunbutton.BackgroundTransparency = 1
2221generalgunbutton.BorderSizePixel = 0
2222generalgunbutton.ClipsDescendants = true
2223generalgunbutton.Size = UDim2.new(0, 194, 0, 30)
2224generalgunbutton.Font = Enum.Font.SourceSansSemibold
2225generalgunbutton.FontSize = Enum.FontSize.Size24
2226generalgunbutton.Text = "Grab Gun"
2227generalgunbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2228generalgunbutton.TextSize = 19
2229
2230generalgunlabel.Name = "generalgunlabel"
2231generalgunlabel.Parent = generalgunbutton
2232generalgunlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2233generalgunlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2234generalgunlabel.BackgroundTransparency = 1
2235generalgunlabel.BorderSizePixel = 0
2236generalgunlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2237generalgunlabel.Size = UDim2.new(0, 50, 0, 50)
2238generalgunlabel.Visible = false
2239generalgunlabel.Image = "rbxassetid://200182847"
2240generalgunlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2241generalgunlabel.ImageTransparency = 0.80000001192093
2242
2243generallobbyframe.Name = "generallobbyframe"
2244generallobbyframe.Parent = generalframe
2245generallobbyframe.BackgroundColor3 = Color3.new(1, 1, 1)
2246generallobbyframe.BorderSizePixel = 0
2247generallobbyframe.Position = UDim2.new(0, 31, 0, 17)
2248generallobbyframe.Size = UDim2.new(0, 194, 0, 30)
2249
2250generallobbybutton.Name = "generallobbybutton"
2251generallobbybutton.Parent = generallobbyframe
2252generallobbybutton.BackgroundColor3 = Color3.new(1, 1, 1)
2253generallobbybutton.BackgroundTransparency = 1
2254generallobbybutton.BorderSizePixel = 0
2255generallobbybutton.ClipsDescendants = true
2256generallobbybutton.Size = UDim2.new(0, 194, 0, 30)
2257generallobbybutton.Font = Enum.Font.SourceSansSemibold
2258generallobbybutton.FontSize = Enum.FontSize.Size24
2259generallobbybutton.Text = "TP to Lobby"
2260generallobbybutton.TextColor3 = Color3.new(0, 0.615686, 1)
2261generallobbybutton.TextSize = 19
2262
2263generallobbylabel.Name = "generallobbylabel"
2264generallobbylabel.Parent = generallobbybutton
2265generallobbylabel.AnchorPoint = Vector2.new(0.5, 0.5)
2266generallobbylabel.BackgroundColor3 = Color3.new(1, 1, 1)
2267generallobbylabel.BackgroundTransparency = 1
2268generallobbylabel.BorderSizePixel = 0
2269generallobbylabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2270generallobbylabel.Size = UDim2.new(0, 50, 0, 50)
2271generallobbylabel.Visible = false
2272generallobbylabel.Image = "rbxassetid://200182847"
2273generallobbylabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2274generallobbylabel.ImageTransparency = 0.80000001192093
2275
2276lpframe.Name = "lpframe"
2277lpframe.Parent = bodyframe
2278lpframe.BackgroundColor3 = Color3.new(1, 1, 1)
2279lpframe.BackgroundTransparency = 1
2280lpframe.BorderSizePixel = 0
2281lpframe.Position = UDim2.new(0, 256, 0, 0)
2282lpframe.Size = UDim2.new(0, 256, 0, 222)
2283
2284lpjumpframe.Name = "lpjumpframe"
2285lpjumpframe.Parent = lpframe
2286lpjumpframe.BackgroundColor3 = Color3.new(1, 1, 1)
2287lpjumpframe.BorderSizePixel = 0
2288lpjumpframe.Position = UDim2.new(0, 31, 0, 172)
2289lpjumpframe.Size = UDim2.new(0, 194, 0, 30)
2290
2291lpjumpbutton.Name = "lpjumpbutton"
2292lpjumpbutton.Parent = lpjumpframe
2293lpjumpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2294lpjumpbutton.BackgroundTransparency = 1
2295lpjumpbutton.BorderSizePixel = 0
2296lpjumpbutton.ClipsDescendants = true
2297lpjumpbutton.Size = UDim2.new(0, 194, 0, 30)
2298lpjumpbutton.Font = Enum.Font.SourceSansSemibold
2299lpjumpbutton.FontSize = Enum.FontSize.Size24
2300lpjumpbutton.Text = "High Jump"
2301lpjumpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2302lpjumpbutton.TextSize = 19
2303
2304lpjumplabel.Name = "lpjumplabel"
2305lpjumplabel.Parent = lpjumpbutton
2306lpjumplabel.AnchorPoint = Vector2.new(0.5, 0.5)
2307lpjumplabel.BackgroundColor3 = Color3.new(1, 1, 1)
2308lpjumplabel.BackgroundTransparency = 1
2309lpjumplabel.BorderSizePixel = 0
2310lpjumplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2311lpjumplabel.Size = UDim2.new(0, 50, 0, 50)
2312lpjumplabel.Visible = false
2313lpjumplabel.Image = "rbxassetid://200182847"
2314lpjumplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2315lpjumplabel.ImageTransparency = 0.80000001192093
2316
2317lpgravframe.Name = "lpgravframe"
2318lpgravframe.Parent = lpframe
2319lpgravframe.BackgroundColor3 = Color3.new(1, 1, 1)
2320lpgravframe.BorderSizePixel = 0
2321lpgravframe.Position = UDim2.new(0, 31, 0, 120)
2322lpgravframe.Size = UDim2.new(0, 194, 0, 30)
2323
2324lpgravbutton.Name = "lpgravbutton"
2325lpgravbutton.Parent = lpgravframe
2326lpgravbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2327lpgravbutton.BackgroundTransparency = 1
2328lpgravbutton.BorderSizePixel = 0
2329lpgravbutton.ClipsDescendants = true
2330lpgravbutton.Position = UDim2.new(0, 0, 0, -1)
2331lpgravbutton.Size = UDim2.new(0, 194, 0, 31)
2332lpgravbutton.Font = Enum.Font.SourceSansSemibold
2333lpgravbutton.FontSize = Enum.FontSize.Size24
2334lpgravbutton.Text = "Low Gravity"
2335lpgravbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2336lpgravbutton.TextSize = 19
2337
2338lpgravlabel.Name = "lpgravlabel"
2339lpgravlabel.Parent = lpgravbutton
2340lpgravlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2341lpgravlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2342lpgravlabel.BackgroundTransparency = 1
2343lpgravlabel.BorderSizePixel = 0
2344lpgravlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2345lpgravlabel.Size = UDim2.new(0, 50, 0, 50)
2346lpgravlabel.Visible = false
2347lpgravlabel.Image = "rbxassetid://200182847"
2348lpgravlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2349lpgravlabel.ImageTransparency = 0.80000001192093
2350
2351lpwalkframe.Name = "lpwalkframe"
2352lpwalkframe.Parent = lpframe
2353lpwalkframe.BackgroundColor3 = Color3.new(1, 1, 1)
2354lpwalkframe.BorderSizePixel = 0
2355lpwalkframe.Position = UDim2.new(0, 31, 0, 68)
2356lpwalkframe.Size = UDim2.new(0, 194, 0, 30)
2357
2358lpwalkbutton.Name = "lpwalkbutton"
2359lpwalkbutton.Parent = lpwalkframe
2360lpwalkbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2361lpwalkbutton.BackgroundTransparency = 1
2362lpwalkbutton.BorderSizePixel = 0
2363lpwalkbutton.ClipsDescendants = true
2364lpwalkbutton.Size = UDim2.new(0, 194, 0, 30)
2365lpwalkbutton.Font = Enum.Font.SourceSansSemibold
2366lpwalkbutton.FontSize = Enum.FontSize.Size24
2367lpwalkbutton.Text = "Fast Walk"
2368lpwalkbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2369lpwalkbutton.TextSize = 19
2370
2371lpwalklabel.Name = "lpwalklabel"
2372lpwalklabel.Parent = lpwalkbutton
2373lpwalklabel.AnchorPoint = Vector2.new(0.5, 0.5)
2374lpwalklabel.BackgroundColor3 = Color3.new(1, 1, 1)
2375lpwalklabel.BackgroundTransparency = 1
2376lpwalklabel.BorderSizePixel = 0
2377lpwalklabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2378lpwalklabel.Size = UDim2.new(0, 50, 0, 50)
2379lpwalklabel.Visible = false
2380lpwalklabel.Image = "rbxassetid://200182847"
2381lpwalklabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2382lpwalklabel.ImageTransparency = 0.80000001192093
2383
2384lpgodframe.Name = "lpgodframe"
2385lpgodframe.Parent = lpframe
2386lpgodframe.BackgroundColor3 = Color3.new(1, 1, 1)
2387lpgodframe.BorderSizePixel = 0
2388lpgodframe.Position = UDim2.new(0, 31, 0, 17)
2389lpgodframe.Size = UDim2.new(0, 194, 0, 30)
2390
2391lpgodbutton.Name = "lpgodbutton"
2392lpgodbutton.Parent = lpgodframe
2393lpgodbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2394lpgodbutton.BackgroundTransparency = 1
2395lpgodbutton.BorderSizePixel = 0
2396lpgodbutton.ClipsDescendants = true
2397lpgodbutton.Size = UDim2.new(0, 194, 0, 30)
2398lpgodbutton.Font = Enum.Font.SourceSansSemibold
2399lpgodbutton.FontSize = Enum.FontSize.Size24
2400lpgodbutton.Text = "God Mode"
2401lpgodbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2402lpgodbutton.TextSize = 19
2403
2404lpgodlabel.Name = "lpgodlabel"
2405lpgodlabel.Parent = lpgodbutton
2406lpgodlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2407lpgodlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2408lpgodlabel.BackgroundTransparency = 1
2409lpgodlabel.BorderSizePixel = 0
2410lpgodlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2411lpgodlabel.Size = UDim2.new(0, 50, 0, 50)
2412lpgodlabel.Visible = false
2413lpgodlabel.Image = "rbxassetid://200182847"
2414lpgodlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
2415lpgodlabel.ImageTransparency = 0.80000001192093
2416
2417backbutton1.Name = "backbutton1"
2418backbutton1.Parent = maintab
2419backbutton1.Active = false
2420backbutton1.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
2421backbutton1.BackgroundTransparency = 1
2422backbutton1.BorderSizePixel = 0
2423backbutton1.ClipsDescendants = true
2424backbutton1.Size = UDim2.new(0, 29, 0, 30)
2425backbutton1.Visible = false
2426backbutton1.AutoButtonColor = false
2427backbutton1.Font = Enum.Font.SourceSansBold
2428backbutton1.FontSize = Enum.FontSize.Size24
2429backbutton1.Text = "<"
2430backbutton1.TextColor3 = Color3.new(1, 1, 1)
2431backbutton1.TextSize = 20
2432
2433backbutton1label.Name = "backbutton1label"
2434backbutton1label.Parent = backbutton1
2435backbutton1label.AnchorPoint = Vector2.new(0.5, 0.5)
2436backbutton1label.BackgroundColor3 = Color3.new(1, 1, 1)
2437backbutton1label.BackgroundTransparency = 1
2438backbutton1label.BorderSizePixel = 0
2439backbutton1label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2440backbutton1label.Size = UDim2.new(0, 50, 0, 50)
2441backbutton1label.Visible = false
2442backbutton1label.Image = "rbxassetid://200182847"
2443backbutton1label.ImageTransparency = 0.80000001192093
2444
2445backbutton2.Name = "backbutton2"
2446backbutton2.Parent = maintab
2447backbutton2.Active = false
2448backbutton2.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
2449backbutton2.BackgroundTransparency = 1
2450backbutton2.BorderSizePixel = 0
2451backbutton2.ClipsDescendants = true
2452backbutton2.Size = UDim2.new(0, 29, 0, 30)
2453backbutton2.Visible = false
2454backbutton2.AutoButtonColor = false
2455backbutton2.Font = Enum.Font.SourceSansBold
2456backbutton2.FontSize = Enum.FontSize.Size24
2457backbutton2.Text = "<"
2458backbutton2.TextColor3 = Color3.new(1, 1, 1)
2459backbutton2.TextSize = 20
2460
2461backbutton2label.Name = "backbutton2label"
2462backbutton2label.Parent = backbutton2
2463backbutton2label.AnchorPoint = Vector2.new(0.5, 0.5)
2464backbutton2label.BackgroundColor3 = Color3.new(1, 1, 1)
2465backbutton2label.BackgroundTransparency = 1
2466backbutton2label.BorderSizePixel = 0
2467backbutton2label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2468backbutton2label.Size = UDim2.new(0, 50, 0, 50)
2469backbutton2label.Visible = false
2470backbutton2label.Image = "rbxassetid://200182847"
2471backbutton2label.ImageTransparency = 0.80000001192093
2472
2473creditsbutton.Name = "creditsbutton"
2474creditsbutton.Parent = maintab
2475creditsbutton.BackgroundColor3 = Color3.new(1, 1, 1)
2476creditsbutton.BackgroundTransparency = 1
2477creditsbutton.BorderSizePixel = 0
2478creditsbutton.ClipsDescendants = true
2479creditsbutton.Position = UDim2.new(0.87890625, 0, 0, 0)
2480creditsbutton.Size = UDim2.new(0, 31, 0, 30)
2481creditsbutton.Font = Enum.Font.SourceSansSemibold
2482creditsbutton.FontSize = Enum.FontSize.Size18
2483creditsbutton.Text = ""
2484creditsbutton.TextColor3 = Color3.new(0, 0.615686, 1)
2485creditsbutton.TextSize = 15
2486
2487creditsiconlabel1.Name = "creditsiconlabel1"
2488creditsiconlabel1.Parent = creditsbutton
2489creditsiconlabel1.AnchorPoint = Vector2.new(0.5, 0.5)
2490creditsiconlabel1.BackgroundColor3 = Color3.new(1, 1, 1)
2491creditsiconlabel1.BackgroundTransparency = 1
2492creditsiconlabel1.BorderSizePixel = 0
2493creditsiconlabel1.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2494creditsiconlabel1.Size = UDim2.new(0, 50, 0, 50)
2495creditsiconlabel1.Visible = false
2496creditsiconlabel1.Image = "rbxassetid://200182847"
2497creditsiconlabel1.ImageTransparency = 0.80000001192093
2498
2499creditsiconlabel2.Name = "creditsiconlabel2"
2500creditsiconlabel2.Parent = creditsbutton
2501creditsiconlabel2.AnchorPoint = Vector2.new(0.5, 0.5)
2502creditsiconlabel2.BackgroundColor3 = Color3.new(1, 1, 1)
2503creditsiconlabel2.BackgroundTransparency = 1
2504creditsiconlabel2.BorderSizePixel = 0
2505creditsiconlabel2.Position = UDim2.new(0.5, 0, 0.5, 0)
2506creditsiconlabel2.Size = UDim2.new(0, 17, 0, 17)
2507creditsiconlabel2.Image = "rbxassetid://23151450"
2508
2509toggle.Name = "toggle"
2510toggle.Parent = mygui
2511toggle.Active = true
2512toggle.BackgroundColor3 = Color3.new(0.992157, 0.984314, 1)
2513toggle.BackgroundTransparency = 0.5
2514toggle.BorderSizePixel = 0
2515toggle.Draggable = true
2516toggle.Position = UDim2.new(0, 5, 0, 530)
2517toggle.Size = UDim2.new(0, 140, 0, 30)
2518
2519closeall.Name = "closeall"
2520closeall.Parent = toggle
2521closeall.BackgroundColor3 = Color3.new(1, 0, 0)
2522closeall.BorderSizePixel = 0
2523closeall.Position = UDim2.new(0, 110, 0, 0)
2524closeall.Size = UDim2.new(0, 30, 0, 30)
2525closeall.FontSize = Enum.FontSize.Size18
2526closeall.Text = ""
2527closeall.TextSize = 15
2528
2529closeopen.Name = "closeopen"
2530closeopen.Parent = toggle
2531closeopen.BackgroundColor3 = Color3.new(0, 0.615686, 1)
2532closeopen.BorderSizePixel = 0
2533closeopen.ClipsDescendants = true
2534closeopen.Size = UDim2.new(0, 110, 0, 30)
2535closeopen.AutoButtonColor = false
2536closeopen.Font = Enum.Font.SourceSansBold
2537closeopen.FontSize = Enum.FontSize.Size24
2538closeopen.Text = "Close"
2539closeopen.TextColor3 = Color3.new(1, 1, 1)
2540closeopen.TextSize = 20
2541
2542closeopenlabel.Name = "closeopenlabel"
2543closeopenlabel.Parent = closeopen
2544closeopenlabel.AnchorPoint = Vector2.new(0.5, 0.5)
2545closeopenlabel.BackgroundColor3 = Color3.new(1, 1, 1)
2546closeopenlabel.BackgroundTransparency = 1
2547closeopenlabel.BorderSizePixel = 0
2548closeopenlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
2549closeopenlabel.Size = UDim2.new(0, 50, 0, 50)
2550closeopenlabel.Visible = false
2551closeopenlabel.Image = "rbxassetid://200182847"
2552closeopenlabel.ImageTransparency = 0.80000001192093
2553
2554creditstab.Name = "creditstab"
2555creditstab.Parent = mygui
2556creditstab.Active = true
2557creditstab.BackgroundColor3 = Color3.new(1, 1, 1)
2558creditstab.BackgroundTransparency = 0.5
2559creditstab.BorderSizePixel = 0
2560creditstab.Draggable = true
2561creditstab.Position = UDim2.new(0, 42, 0, 47)
2562creditstab.Size = UDim2.new(0, 256, 0, 30)
2563creditstab.Visible = false
2564
2565creditstitle.Name = "creditstitle"
2566creditstitle.Parent = creditstab
2567creditstitle.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
2568creditstitle.BorderSizePixel = 0
2569creditstitle.Position = UDim2.new(-0.001953125, 0, 0, 0)
2570creditstitle.Size = UDim2.new(0, 256, 0, 30)
2571creditstitle.Font = Enum.Font.SourceSansBold
2572creditstitle.FontSize = Enum.FontSize.Size24
2573creditstitle.Text = "Credits"
2574creditstitle.TextColor3 = Color3.new(1, 1, 1)
2575creditstitle.TextSize = 23
2576
2577creditsframe.Name = "creditsframe"
2578creditsframe.Parent = creditstab
2579creditsframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
2580creditsframe.BorderSizePixel = 0
2581creditsframe.ClipsDescendants = true
2582creditsframe.Position = UDim2.new(0, 0, 0, 30)
2583creditsframe.Size = UDim2.new(0, 256, 0, 222)
2584
2585creditsmenuframe.Name = "menuframe"
2586creditsmenuframe.Parent = creditsframe
2587creditsmenuframe.BackgroundColor3 = Color3.new(1, 1, 1)
2588creditsmenuframe.BackgroundTransparency = 1
2589creditsmenuframe.BorderSizePixel = 0
2590creditsmenuframe.Size = UDim2.new(0, 256, 0, 222)
2591
2592creditsfield.Name = "creditsfield"
2593creditsfield.Parent = creditsmenuframe
2594creditsfield.BackgroundColor3 = Color3.new(1, 1, 1)
2595creditsfield.BorderSizePixel = 0
2596creditsfield.Position = UDim2.new(0, 31, 0, 31)
2597creditsfield.Size = UDim2.new(0, 194, 0, 31)
2598creditsfield.Font = Enum.Font.SourceSansSemibold
2599creditsfield.FontSize = Enum.FontSize.Size24
2600creditsfield.Text = "By: abs_0"
2601creditsfield.TextColor3 = Color3.new(0, 0.615686, 1)
2602creditsfield.TextSize = 20
2603
2604closecredits.Name = "closeall"
2605closecredits.Parent = creditstab
2606closecredits.BackgroundColor3 = Color3.new(1, 0, 0)
2607closecredits.BorderSizePixel = 0
2608closecredits.Position = UDim2.new(0, 226, 0, 0)
2609closecredits.Size = UDim2.new(0, 30, 0, 30)
2610closecredits.FontSize = Enum.FontSize.Size18
2611closecredits.Text = ""
2612closecredits.TextSize = 15
2613
2614--Appearance Scripts
2615
2616--mygui.maintab.bodyframe.generalframe.generallobbyframe.generallobbybutton.Script
2617local mouse = game.Players.LocalPlayer:GetMouse()
2618
2619
2620generallobbybutton.MouseButton1Down:connect(function()
2621 local x = (mouse.X) - (generallobbybutton.AbsolutePosition.X)
2622 local y = (mouse.Y) - (generallobbybutton.AbsolutePosition.Y)
2623 generallobbylabel.Position = UDim2.new(0,x,0,y)
2624 generallobbylabel.Size = UDim2.new(0,50,0,50)
2625 generallobbylabel.ImageTransparency = 0.8
2626 generallobbylabel.Visible = true
2627
2628 wait()
2629
2630 generallobbylabel:TweenSize(
2631 UDim2.new(0,390,0,390),
2632 "Out",
2633 "Quint",
2634 1
2635 )
2636end)
2637
2638generallobbybutton.MouseButton1Up:connect(function()
2639 wait(0.35)
2640 local TweenService = game:GetService("TweenService")
2641 local circle = generallobbylabel
2642
2643 local Info = TweenInfo.new(
2644 0.2, -- Length
2645 Enum.EasingStyle.Linear, -- Easing Style
2646 Enum.EasingDirection.Out, -- Easing Direction
2647 0, -- Times repeated
2648 false, -- Reverse
2649 0 -- Delay
2650 )
2651 local Goals =
2652 {
2653 ImageTransparency = 1;
2654 }
2655
2656 local tween = TweenService:Create(circle,Info,Goals)
2657 tween:Play()
2658end)
2659
2660--mygui.maintab.bodyframe.generalframe.generalgunframe.generalgunbutton.Script
2661local mouse = game.Players.LocalPlayer:GetMouse()
2662
2663
2664generalgunbutton.MouseButton1Down:connect(function()
2665 local x = (mouse.X) - (generalgunbutton.AbsolutePosition.X)
2666 local y = (mouse.Y) - (generalgunbutton.AbsolutePosition.Y)
2667 generalgunlabel.Position = UDim2.new(0,x,0,y)
2668 generalgunlabel.Size = UDim2.new(0,50,0,50)
2669 generalgunlabel.ImageTransparency = 0.8
2670 generalgunlabel.Visible = true
2671
2672 wait()
2673
2674 generalgunlabel:TweenSize(
2675 UDim2.new(0,390,0,390),
2676 "Out",
2677 "Quint",
2678 1
2679 )
2680end)
2681
2682generalgunbutton.MouseButton1Up:connect(function()
2683 wait(0.35)
2684 local TweenService = game:GetService("TweenService")
2685 local circle = generalgunlabel
2686
2687 local Info = TweenInfo.new(
2688 0.2, -- Length
2689 Enum.EasingStyle.Linear, -- Easing Style
2690 Enum.EasingDirection.Out, -- Easing Direction
2691 0, -- Times repeated
2692 false, -- Reverse
2693 0 -- Delay
2694 )
2695 local Goals =
2696 {
2697 ImageTransparency = 1;
2698 }
2699
2700 local tween = TweenService:Create(circle,Info,Goals)
2701 tween:Play()
2702end)
2703
2704--mygui.maintab.bodyframe.generalframe.generalcoinframe.generalcoinbutton.Script
2705local mouse = game.Players.LocalPlayer:GetMouse()
2706
2707
2708generalcoinbutton.MouseButton1Down:connect(function()
2709 local x = (mouse.X) - (generalcoinbutton.AbsolutePosition.X)
2710 local y = (mouse.Y) - (generalcoinbutton.AbsolutePosition.Y)
2711 generalcoinlabel.Position = UDim2.new(0,x,0,y)
2712 generalcoinlabel.Size = UDim2.new(0,50,0,50)
2713 generalcoinlabel.ImageTransparency = 0.8
2714 generalcoinlabel.Visible = true
2715
2716 wait()
2717
2718 generalcoinlabel:TweenSize(
2719 UDim2.new(0,390,0,390),
2720 "Out",
2721 "Quint",
2722 1
2723 )
2724end)
2725
2726generalcoinbutton.MouseButton1Up:connect(function()
2727 wait(0.35)
2728 local TweenService = game:GetService("TweenService")
2729 local circle = generalcoinlabel
2730
2731 local Info = TweenInfo.new(
2732 0.2, -- Length
2733 Enum.EasingStyle.Linear, -- Easing Style
2734 Enum.EasingDirection.Out, -- Easing Direction
2735 0, -- Times repeated
2736 false, -- Reverse
2737 0 -- Delay
2738 )
2739 local Goals =
2740 {
2741 ImageTransparency = 1;
2742 }
2743
2744 local tween = TweenService:Create(circle,Info,Goals)
2745 tween:Play()
2746end)
2747
2748--mygui.maintab.bodyframe.generalframe.generalespframe.generalespbutton.Script
2749local mouse = game.Players.LocalPlayer:GetMouse()
2750
2751
2752generalespbutton.MouseButton1Down:connect(function()
2753 local x = (mouse.X) - (generalespbutton.AbsolutePosition.X)
2754 local y = (mouse.Y) - (generalespbutton.AbsolutePosition.Y)
2755 generalesplabel.Position = UDim2.new(0,x,0,y)
2756 generalesplabel.Size = UDim2.new(0,50,0,50)
2757 generalesplabel.ImageTransparency = 0.8
2758 generalesplabel.Visible = true
2759
2760 wait()
2761
2762 generalesplabel:TweenSize(
2763 UDim2.new(0,390,0,390),
2764 "Out",
2765 "Quint",
2766 1
2767 )
2768end)
2769
2770generalespbutton.MouseButton1Up:connect(function()
2771 wait(0.35)
2772 local TweenService = game:GetService("TweenService")
2773 local circle = generalesplabel
2774
2775 local Info = TweenInfo.new(
2776 0.2, -- Length
2777 Enum.EasingStyle.Linear, -- Easing Style
2778 Enum.EasingDirection.Out, -- Easing Direction
2779 0, -- Times repeated
2780 false, -- Reverse
2781 0 -- Delay
2782 )
2783 local Goals =
2784 {
2785 ImageTransparency = 1;
2786 }
2787
2788 local tween = TweenService:Create(circle,Info,Goals)
2789 tween:Play()
2790end)
2791
2792--mygui.maintab.bodyframe.lpframe.lpgodframe.lpgodbutton.Script
2793local mouse = game.Players.LocalPlayer:GetMouse()
2794
2795
2796lpgodbutton.MouseButton1Down:connect(function()
2797 local x = (mouse.X) - (lpgodbutton.AbsolutePosition.X)
2798 local y = (mouse.Y) - (lpgodbutton.AbsolutePosition.Y)
2799 lpgodbutton.lpgodlabel.Position = UDim2.new(0,x,0,y)
2800 lpgodbutton.lpgodlabel.Size = UDim2.new(0,50,0,50)
2801 lpgodbutton.lpgodlabel.ImageTransparency = 0.8
2802 lpgodbutton.lpgodlabel.Visible = true
2803
2804 wait()
2805
2806 lpgodbutton.lpgodlabel:TweenSize(
2807 UDim2.new(0,390,0,390),
2808 "Out",
2809 "Quint",
2810 1
2811 )
2812end)
2813
2814lpgodbutton.MouseButton1Up:connect(function()
2815 wait(0.35)
2816 local TweenService = game:GetService("TweenService")
2817 local circle = lpgodbutton.lpgodlabel
2818
2819 local Info = TweenInfo.new(
2820 0.2, -- Length
2821 Enum.EasingStyle.Linear, -- Easing Style
2822 Enum.EasingDirection.Out, -- Easing Direction
2823 0, -- Times repeated
2824 false, -- Reverse
2825 0 -- Delay
2826 )
2827 local Goals =
2828 {
2829 ImageTransparency = 1;
2830 }
2831
2832 local tween = TweenService:Create(circle,Info,Goals)
2833 tween:Play()
2834end)
2835
2836--mygui.maintab.bodyframe.lpframe.lpwalkframe.lpwalkbutton.Script
2837local mouse = game.Players.LocalPlayer:GetMouse()
2838
2839
2840lpwalkbutton.MouseButton1Down:connect(function()
2841 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 * 5 then
2842 lpwalkbutton.TextColor3 = Color3.new(1,128/255,0)
2843 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(1,128/255,0)
2844 else
2845 lpwalkbutton.TextColor3 = Color3.new(0,157/255,1)
2846 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(0,157/255,1)
2847 end
2848
2849 local x = (mouse.X) - (lpwalkbutton.AbsolutePosition.X)
2850 local y = (mouse.Y) - (lpwalkbutton.AbsolutePosition.Y)
2851 lpwalkbutton.lpwalklabel.Position = UDim2.new(0,x,0,y)
2852 lpwalkbutton.lpwalklabel.Size = UDim2.new(0,50,0,50)
2853 lpwalkbutton.lpwalklabel.ImageTransparency = 0.8
2854 lpwalkbutton.lpwalklabel.Visible = true
2855
2856 wait()
2857
2858 lpwalkbutton.lpwalklabel:TweenSize(
2859 UDim2.new(0,390,0,390),
2860 "Out",
2861 "Quint",
2862 1
2863 )
2864end)
2865
2866lpwalkbutton.MouseButton1Up:connect(function()
2867 wait(0.35)
2868 local TweenService = game:GetService("TweenService")
2869 local circle = lpwalkbutton.lpwalklabel
2870
2871 local Info = TweenInfo.new(
2872 0.2, -- Length
2873 Enum.EasingStyle.Linear, -- Easing Style
2874 Enum.EasingDirection.Out, -- Easing Direction
2875 0, -- Times repeated
2876 false, -- Reverse
2877 0 -- Delay
2878 )
2879 local Goals =
2880 {
2881 ImageTransparency = 1;
2882 }
2883
2884 local tween = TweenService:Create(circle,Info,Goals)
2885 tween:Play()
2886end)
2887
2888--mygui.maintab.bodyframe.lpframe.lpgravframe.lpgravbutton.Script
2889local mouse = game.Players.LocalPlayer:GetMouse()
2890
2891lpgravbutton.MouseButton1Down:connect(function()
2892 if game.Workspace.Gravity < 196.1 then
2893 lpgravbutton.TextColor3 = Color3.new(1,128/255,0)
2894 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(1,128/255,0)
2895 else
2896 lpgravbutton.TextColor3 = Color3.new(0,157/255,1)
2897 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(0,157/255,1)
2898 end
2899
2900 local x = (mouse.X) - (lpgravbutton.AbsolutePosition.X)
2901 local y = (mouse.Y) - (lpgravbutton.AbsolutePosition.Y)
2902 lpgravbutton.lpgravlabel.Position = UDim2.new(0,x,0,y)
2903 lpgravbutton.lpgravlabel.Size = UDim2.new(0,50,0,50)
2904 lpgravbutton.lpgravlabel.ImageTransparency = 0.8
2905 lpgravbutton.lpgravlabel.Visible = true
2906
2907 wait()
2908
2909 lpgravbutton.lpgravlabel:TweenSize(
2910 UDim2.new(0,390,0,390),
2911 "Out",
2912 "Quint",
2913 1
2914 )
2915end)
2916
2917lpgravbutton.MouseButton1Up:connect(function()
2918 wait(0.35)
2919 local TweenService = game:GetService("TweenService")
2920 local circle = lpgravbutton.lpgravlabel
2921
2922 local Info = TweenInfo.new(
2923 0.2, -- Length
2924 Enum.EasingStyle.Linear, -- Easing Style
2925 Enum.EasingDirection.Out, -- Easing Direction
2926 0, -- Times repeated
2927 false, -- Reverse
2928 0 -- Delay
2929 )
2930 local Goals =
2931 {
2932 ImageTransparency = 1;
2933 }
2934
2935 local tween = TweenService:Create(circle,Info,Goals)
2936 tween:Play()
2937end)
2938
2939--mygui.maintab.bodyframe.lpframe.lpjumpframe.lpjumpbutton.Script
2940local mouse = game.Players.LocalPlayer:GetMouse()
2941
2942
2943lpjumpbutton.MouseButton1Down:connect(function()
2944 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 100 then
2945 lpjumpbutton.TextColor3 = Color3.new(1,128/255,0)
2946 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(1,128/255,0)
2947 else
2948 lpjumpbutton.TextColor3 = Color3.new(0,157/255,1)
2949 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(0,157/255,1)
2950 end
2951
2952 local x = (mouse.X) - (lpjumpbutton.AbsolutePosition.X)
2953 local y = (mouse.Y) - (lpjumpbutton.AbsolutePosition.Y)
2954 lpjumpbutton.lpjumplabel.Position = UDim2.new(0,x,0,y)
2955 lpjumpbutton.lpjumplabel.Size = UDim2.new(0,50,0,50)
2956 lpjumpbutton.lpjumplabel.ImageTransparency = 0.8
2957 lpjumpbutton.lpjumplabel.Visible = true
2958
2959 wait()
2960
2961 lpjumpbutton.lpjumplabel:TweenSize(
2962 UDim2.new(0,390,0,390),
2963 "Out",
2964 "Quint",
2965 1
2966 )
2967end)
2968
2969lpjumpbutton.MouseButton1Up:connect(function()
2970 wait(0.35)
2971 local TweenService = game:GetService("TweenService")
2972 local circle = lpjumpbutton.lpjumplabel
2973
2974 local Info = TweenInfo.new(
2975 0.2, -- Length
2976 Enum.EasingStyle.Linear, -- Easing Style
2977 Enum.EasingDirection.Out, -- Easing Direction
2978 0, -- Times repeated
2979 false, -- Reverse
2980 0 -- Delay
2981 )
2982 local Goals =
2983 {
2984 ImageTransparency = 1;
2985 }
2986
2987 local tween = TweenService:Create(circle,Info,Goals)
2988 tween:Play()
2989end)
2990
2991--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.Script
2992local mouse = game.Players.LocalPlayer:GetMouse()
2993
2994
2995generalbutton.MouseButton1Down:connect(function()
2996 local x = (mouse.X) - (generalbutton.AbsolutePosition.X)
2997 local y = (mouse.Y) - (generalbutton.AbsolutePosition.Y)
2998 generalbutton.generalbuttonlabel.Position = UDim2.new(0,x,0,y)
2999 generalbutton.generalbuttonlabel.Size = UDim2.new(0,50,0,50)
3000 generalbutton.generalbuttonlabel.ImageTransparency = 0.8
3001 generalbutton.generalbuttonlabel.Visible = true
3002
3003 wait()
3004
3005 generalbutton.generalbuttonlabel:TweenSize(
3006 UDim2.new(0,390,0,390),
3007 "Out",
3008 "Quint",
3009 1
3010 )
3011end)
3012
3013generalbutton.MouseButton1Up:connect(function()
3014 wait(0.35)
3015 local TweenService = game:GetService("TweenService")
3016 local circle = generalbutton.generalbuttonlabel
3017
3018 local Info = TweenInfo.new(
3019 0.2, -- Length
3020 Enum.EasingStyle.Linear, -- Easing Style
3021 Enum.EasingDirection.Out, -- Easing Direction
3022 0, -- Times repeated
3023 false, -- Reverse
3024 0 -- Delay
3025 )
3026 local Goals =
3027 {
3028 ImageTransparency = 1;
3029 }
3030
3031 local tween = TweenService:Create(circle,Info,Goals)
3032 tween:Play()
3033end)
3034
3035--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.TransitionScript
3036generalbutton.MouseButton1Click:connect(function()
3037 wait(0.25)
3038 menuframe:TweenPosition(
3039 UDim2.new(0,-256,0,0),
3040 "Out",
3041 "Quint",
3042 0.2
3043 )
3044 generalframe:TweenPosition(
3045 UDim2.new(0,0,0,0),
3046 "Out",
3047 "Quint",
3048 0.2
3049 )
3050 backbutton1.Visible = true
3051 backbutton1.Active = true
3052 maintab.title.Text = "General"
3053 maintab.title.TextSize = 19
3054end)
3055
3056--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.Script
3057local mouse = game.Players.LocalPlayer:GetMouse()
3058
3059
3060lpbutton.MouseButton1Down:connect(function()
3061 local x = (mouse.X) - (lpbutton.AbsolutePosition.X)
3062 local y = (mouse.Y) - (lpbutton.AbsolutePosition.Y)
3063 lpbutton.lpbuttonlabel.Position = UDim2.new(0,x,0,y)
3064 lpbutton.lpbuttonlabel.Size = UDim2.new(0,50,0,50)
3065 lpbutton.lpbuttonlabel.ImageTransparency = 0.8
3066 lpbutton.lpbuttonlabel.Visible = true
3067
3068 wait()
3069
3070 lpbuttonlabel:TweenSize(
3071 UDim2.new(0,390,0,390),
3072 "Out",
3073 "Quint",
3074 1
3075 )
3076end)
3077
3078lpbutton.MouseButton1Up:connect(function()
3079 wait(0.35)
3080 local TweenService = game:GetService("TweenService")
3081 local circle = lpbutton.lpbuttonlabel
3082
3083 local Info = TweenInfo.new(
3084 0.2, -- Length
3085 Enum.EasingStyle.Linear, -- Easing Style
3086 Enum.EasingDirection.Out, -- Easing Direction
3087 0, -- Times repeated
3088 false, -- Reverse
3089 0 -- Delay
3090 )
3091 local Goals =
3092 {
3093 ImageTransparency = 1;
3094 }
3095
3096 local tween = TweenService:Create(circle,Info,Goals)
3097 tween:Play()
3098end)
3099
3100--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.TransitionScript
3101lpbutton.MouseButton1Click:connect(function()
3102 wait(0.25)
3103 menuframe:TweenPosition(
3104 UDim2.new(0,-256,0,0),
3105 "Out",
3106 "Quint",
3107 0.2
3108 )
3109 lpframe:TweenPosition(
3110 UDim2.new(0,0,0,0),
3111 "Out",
3112 "Quint",
3113 0.2
3114 )
3115 backbutton2.Visible = true
3116 backbutton2.Active = true
3117 maintab.title.Text = "Local Player"
3118 maintab.title.TextSize = 19
3119end)
3120
3121--mygui.maintab.bodyframe.menuframe.tpbuttonframe.tpbutton.Script
3122local mouse = game.Players.LocalPlayer:GetMouse()
3123
3124
3125tpbutton.MouseButton1Down:connect(function()
3126 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
3127 local y = (mouse.Y) - (tpbutton.AbsolutePosition.Y)
3128 tpbutton.tpbuttonlabel.Position = UDim2.new(0,x,0,y)
3129 tpbutton.tpbuttonlabel.Size = UDim2.new(0,0,0,0)
3130 tpbutton.tpbuttonlabel.ImageTransparency = 0.8
3131 tpbutton.tpbuttonlabel.Visible = true
3132
3133 wait()
3134
3135 tpbutton.tpbuttonlabel:TweenSize(
3136 UDim2.new(0,75,0,75),
3137 "Out",
3138 "Quint",
3139 0.9
3140 )
3141end)
3142
3143tpbutton.MouseButton1Up:connect(function()
3144 wait(0.35)
3145 local TweenService = game:GetService("TweenService")
3146 local circle = tpbutton.tpbuttonlabel
3147
3148 local Info = TweenInfo.new(
3149 0.2, -- Length
3150 Enum.EasingStyle.Linear, -- Easing Style
3151 Enum.EasingDirection.Out, -- Easing Direction
3152 0, -- Times repeated
3153 false, -- Reverse
3154 0 -- Delay
3155 )
3156 local Goals =
3157 {
3158 ImageTransparency = 1;
3159 }
3160
3161 local tween = TweenService:Create(circle,Info,Goals)
3162 tween:Play()
3163end)
3164
3165--mygui.maintab.bodyframe.menuframe.tptextbox.matscript
3166--[[tptextbox.Focused:connect(function()
3167 local mouse = game.Players.LocalPlayer:GetMouse()
3168 tptextbox.tpunderline.BackgroundTransparency = 0
3169 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
3170 tpunderline.Position = UDim2.new(0,x,0,30) --insert correct offset in Y!!
3171
3172 wait()
3173 tptextbox.tpunderline:TweenSizeAndPosition(
3174 UDim2.new(0,156,0,2),
3175 UDim2.new(0,0,0,30),
3176 "Out",
3177 "Quint",
3178 0.2
3179 )
3180end)]]--
3181
3182--mygui.maintab.backbutton1.Script
3183local mouse = game.Players.LocalPlayer:GetMouse()
3184
3185backbutton1.MouseButton1Down:connect(function()
3186 backbutton1.backbutton1label.Position = UDim2.new(0.5,0,0.5,0)
3187 backbutton1.backbutton1label.Size = UDim2.new(0,0,0,0)
3188 backbutton1.backbutton1label.ImageTransparency = 0.8
3189 backbutton1.backbutton1label.Visible = true
3190
3191 wait()
3192
3193 backbutton1.backbutton1label:TweenSize(
3194 UDim2.new(0,60,0,60),
3195 "Out",
3196 "Quint",
3197 0.25
3198 )
3199end)
3200
3201backbutton1.MouseButton1Up:connect(function()
3202 wait(0.35)
3203 local TweenService = game:GetService("TweenService")
3204 local circle = backbutton1.backbutton1label
3205
3206 local Info = TweenInfo.new(
3207 0.2, -- Length
3208 Enum.EasingStyle.Linear, -- Easing Style
3209 Enum.EasingDirection.Out, -- Easing Direction
3210 0, -- Times repeated
3211 false, -- Reverse
3212 0 -- Delay
3213 )
3214 local Goals =
3215 {
3216 ImageTransparency = 1;
3217 }
3218
3219 local tween = TweenService:Create(circle,Info,Goals)
3220 tween:Play()
3221end)
3222
3223--mygui.maintab.backbutton1.TransitionScript
3224backbutton1.MouseButton1Click:connect(function()
3225 wait(0.2)
3226 menuframe:TweenPosition(
3227 UDim2.new(0,0,0,0),
3228 "Out",
3229 "Quint",
3230 0.2
3231 )
3232 generalframe:TweenPosition(
3233 UDim2.new(0,256,0,0),
3234 "Out",
3235 "Quint",
3236 0.2
3237 )
3238 backbutton1.Visible = false
3239 backbutton1.Active = false
3240 maintab.title.Text = "MM2 Gui"
3241 maintab.title.TextSize = 20
3242end)
3243
3244--mygui.maintab.backbutton2.Script
3245local mouse = game.Players.LocalPlayer:GetMouse()
3246
3247
3248backbutton2.MouseButton1Down:connect(function()
3249 backbutton2.backbutton2label.Position = UDim2.new(0.5,0,0.5,0)
3250 backbutton2.backbutton2label.Size = UDim2.new(0,0,0,0)
3251 backbutton2.backbutton2label.ImageTransparency = 0.8
3252 backbutton2.backbutton2label.Visible = true
3253
3254 wait()
3255
3256 backbutton2.backbutton2label:TweenSize(
3257 UDim2.new(0,60,0,60),
3258 "Out",
3259 "Quint",
3260 0.25
3261 )
3262end)
3263
3264backbutton2.MouseButton1Up:connect(function()
3265 wait(0.35)
3266 local TweenService = game:GetService("TweenService")
3267 local circle = backbutton2.backbutton2label
3268
3269 local Info = TweenInfo.new(
3270 0.2, -- Length
3271 Enum.EasingStyle.Linear, -- Easing Style
3272 Enum.EasingDirection.Out, -- Easing Direction
3273 0, -- Times repeated
3274 false, -- Reverse
3275 0 -- Delay
3276 )
3277 local Goals =
3278 {
3279 ImageTransparency = 1;
3280 }
3281
3282 local tween = TweenService:Create(circle,Info,Goals)
3283 tween:Play()
3284end)
3285
3286--mygui.maintab.backbutton2.TransitionScript
3287backbutton2.MouseButton1Click:connect(function()
3288 wait(0.2)
3289 menuframe:TweenPosition(
3290 UDim2.new(0,0,0,0),
3291 "Out",
3292 "Quint",
3293 0.2
3294 )
3295 lpframe:TweenPosition(
3296 UDim2.new(0,256,0,0),
3297 "Out",
3298 "Quint",
3299 0.2
3300 )
3301 backbutton2.Visible = false
3302 backbutton2.Active = false
3303 backbutton2.Parent.title.Text = "MM2 Gui"
3304 backbutton2.Parent.title.TextSize = 20
3305end)
3306
3307--mygui.maintab.creditsbutton.Script
3308local mouse = game.Players.LocalPlayer:GetMouse()
3309
3310
3311creditsbutton.MouseButton1Down:connect(function()
3312 local x = (mouse.X) - (creditsbutton.AbsolutePosition.X)
3313 local y = (mouse.Y) - (creditsbutton.AbsolutePosition.Y)
3314 creditsbutton.creditsiconlabel1.Position = UDim2.new(0,x,0,y)
3315 creditsbutton.creditsiconlabel1.Size = UDim2.new(0,0,0,0)
3316 creditsbutton.creditsiconlabel1.ImageTransparency = 0.8
3317 creditsbutton.creditsiconlabel1.Visible = true
3318
3319 wait()
3320
3321 creditsbutton.creditsiconlabel1:TweenSize(
3322 UDim2.new(0,75,0,75),
3323 "Out",
3324 "Quint",
3325 0.9
3326 )
3327end)
3328
3329creditsbutton.MouseButton1Up:connect(function()
3330 wait(0.35)
3331 local TweenService = game:GetService("TweenService")
3332 local circle = creditsbutton.creditsiconlabel1
3333
3334 local Info = TweenInfo.new(
3335 0.2, -- Length
3336 Enum.EasingStyle.Linear, -- Easing Style
3337 Enum.EasingDirection.Out, -- Easing Direction
3338 0, -- Times repeated
3339 false, -- Reverse
3340 0 -- Delay
3341 )
3342 local Goals =
3343 {
3344 ImageTransparency = 1;
3345 }
3346
3347 local tween = TweenService:Create(circle,Info,Goals)
3348 tween:Play()
3349end)
3350
3351--mygui.maintab.creditsbutton.CreditsWindowScript
3352creditsbutton.MouseButton1Click:connect(function()
3353 creditstab.Visible = true
3354 creditstab.Active = true
3355end)
3356
3357--mygui.creditstab.closecredits.Script
3358closecredits.MouseButton1Click:connect(function()
3359 creditstab.Visible = false
3360 creditstab.Active = false
3361end)
3362
3363--mygui.toggle.closeopen.CloseOpenScript
3364closeopen.MouseButton1Click:connect(function()
3365 if
3366 (maintab.Visible == true) and
3367 (maintab.Active == true) then
3368 maintab.Visible = false
3369 maintab.Active = false
3370 closeopen.Text = "Open"
3371 else
3372 maintab.Visible = true
3373 maintab.Active = true
3374 closeopen.Text = "Close"
3375 end
3376end)
3377
3378--mygui.toggle.closeopen.Script
3379local mouse = game.Players.LocalPlayer:GetMouse()
3380
3381
3382closeopen.MouseButton1Down:connect(function()
3383 local x = (mouse.X) - (closeopen.AbsolutePosition.X)
3384 local y = (mouse.Y) - (closeopen.AbsolutePosition.Y)
3385 closeopen.closeopenlabel.Position = UDim2.new(0,x,0,y)
3386 closeopen.closeopenlabel.Size = UDim2.new(0,50,0,50)
3387 closeopen.closeopenlabel.ImageTransparency = 0.8
3388 closeopen.closeopenlabel.Visible = true
3389
3390 wait()
3391
3392 closeopen.closeopenlabel:TweenSize(
3393 UDim2.new(0,240,0,240),
3394 "Out",
3395 "Quint",
3396 1
3397 )
3398end)
3399
3400closeopen.MouseButton1Up:connect(function()
3401 wait(0.35)
3402 local TweenService = game:GetService("TweenService")
3403 local circle = closeopen.closeopenlabel
3404
3405 local Info = TweenInfo.new(
3406 0.2, -- Length
3407 Enum.EasingStyle.Linear, -- Easing Style
3408 Enum.EasingDirection.Out, -- Easing Direction
3409 0, -- Times repeated
3410 false, -- Reverse
3411 0 -- Delay
3412 )
3413 local Goals =
3414 {
3415 ImageTransparency = 1;
3416 }
3417
3418 local tween = TweenService:Create(circle,Info,Goals)
3419 tween:Play()
3420end)
3421
3422--mygui.toggle.closeall.Script
3423closeall.MouseButton1Click:connect(function()
3424 mygui:Remove()
3425end)
3426
3427-- Scripts
3428
3429lpgravbutton.MouseButton1Down:connect(function()
3430 if game.Workspace.Gravity > 196.1 then
3431 game.Workspace.Gravity = 50
3432 else
3433 game.Workspace.Gravity = 196.2
3434 end
3435end)
3436
3437lpwalkbutton.MouseButton1Down:connect(function()
3438 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 then
3439 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 * 5
3440 else
3441 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
3442 end
3443end)
3444
3445lpjumpbutton.MouseButton1Down:connect(function()
3446 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 50 then
3447 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
3448 else
3449 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
3450 end
3451end)
3452
3453lpgodbutton.MouseButton1Down:connect(function()
3454 game.Players.LocalPlayer.Character.Humanoid:Remove()
3455 Instance.new('Humanoid', game.Players.LocalPlayer.Character)
3456end)
3457
3458generallobbybutton.MouseButton1Down:connect(function()
3459 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
3460end)
3461
3462generalgunbutton.MouseButton1Down:connect(function()
3463 game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
3464end)
3465
3466generalcoinbutton.MouseButton1Down:connect(function()
3467 for i = 10, 1, -1 do
3468 for i,v in pairs(game.Workspace:GetChildren()) do
3469 local s = v:FindFirstChild("CoinContainer")
3470 local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
3471 if e and s then
3472 for i,c in pairs(s:GetChildren()) do
3473 c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
3474 end
3475 end
3476 end
3477 wait(0.7)
3478 end
3479end)
3480
3481--[[tpbutton.MouseButton1Down:connect(function()
3482 for i,v in pairs(game.Workspace:GetChildren()) do
3483 if tptextbox.Text:lower() == v.Name:lower() then
3484 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
3485 else
3486 print("Player not found")
3487 end
3488 end
3489end)]]--
3490
3491
3492
3493
3494--script
3495local parent = tptextbox --insert textbox name!
3496local mouse = game.Players.LocalPlayer:GetMouse()
3497
3498local xsize = parent.Size.X.Offset
3499local ysize = parent.Size.Y.Offset
3500parent.Visible = true
3501parent.Active = true
3502parent.Selectable = true
3503
3504local Underline = Instance.new("Frame")
3505local UnderlineBase = Instance.new("Frame")
3506
3507Underline.Name = "Underline"
3508Underline.Parent = parent
3509Underline.BackgroundColor3 = parent.TextColor3
3510Underline.BorderSizePixel = 0
3511Underline.Position = UDim2.new(0, 0, 1, 0)
3512Underline.Size = UDim2.new(0, 0, 0, 1)
3513
3514UnderlineBase.Name = "UnderlineBase"
3515UnderlineBase.Parent = parent
3516UnderlineBase.BackgroundColor3 = parent.TextColor3
3517UnderlineBase.BackgroundTransparency = 0.85
3518UnderlineBase.BorderSizePixel = 0
3519UnderlineBase.Position = UDim2.new(0, 0, 1, 0)
3520UnderlineBase.Size = UDim2.new(0, xsize, 0, 1)
3521
3522parent.Focused:connect(function()
3523 local x = (mouse.X) - (parent.AbsolutePosition.X)
3524 Underline.BackgroundTransparency = 0
3525 Underline.Position = UDim2.new(0,x,1,0)
3526 wait()
3527 Underline:TweenSizeAndPosition(
3528 UDim2.new(0, xsize, 0, 1),
3529 UDim2.new(0, 0, 1, 0),
3530 "Out",
3531 "Quint",
3532 0.2
3533 )
3534end)
3535
3536parent.FocusLost:connect(function(enterPressed)
3537 if parent.Text == "" then
3538 parent.Text = "Player Name"
3539 end
3540
3541 local TweenService = game:GetService("TweenService")
3542
3543 local Info = TweenInfo.new(
3544 0.15,
3545 Enum.EasingStyle.Linear,
3546 Enum.EasingDirection.Out,
3547 0,
3548 false,
3549 0
3550 )
3551 local Goals =
3552 {
3553 BackgroundTransparency = 1;
3554 }
3555
3556 local tween = TweenService:Create(Underline,Info,Goals)
3557 tween:Play()
3558
3559 wait(0.15)
3560 Underline.Size = UDim2.new(0,0,0,1)
3561
3562 if enterPressed then
3563 for i,v in pairs(game.Workspace:GetChildren()) do
3564 if tptextbox.Text:lower() == v.Name:lower() then
3565 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
3566 else
3567 print("Player not found")
3568 end
3569 end
3570 print(true)
3571 elseif tptextbox.Text ~= "Player Name" then
3572 tptextbox.Text = "Press Enter to TP"
3573 end
3574end)
3575
3576--/script
3577
3578if enterPressed then
3579 for i,v in pairs(game.Workspace:GetChildren()) do
3580 if tptextbox.Text:lower() == v.Name:lower() then
3581 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
3582 else
3583 print("Player not found")
3584 end
3585 end
3586end
3587
3588generalespbutton.MouseButton1Down:connect(function()
3589 --credits to Nebula Hub for the esp + aimbot
3590 PLAYER = game.Players.LocalPlayer
3591 MOUSE = PLAYER:GetMouse()
3592 CC = game.Workspace.CurrentCamera
3593
3594 ENABLED = false
3595 ESP_ENABLED = false
3596
3597 _G.FREE_FOR_ALL = true
3598
3599 _G.BIND = 50
3600 _G.ESP_BIND = 52
3601 _G.CHANGE_AIM = 'q'
3602
3603 _G.AIM_AT = 'Head'
3604
3605 wait(1)
3606
3607 function GetNearestPlayerToMouse()
3608 local PLAYERS = {}
3609 local PLAYER_HOLD = {}
3610 local DISTANCES = {}
3611 for i, v in pairs(game.Players:GetPlayers()) do
3612 if v ~= PLAYER then
3613 table.insert(PLAYERS, v)
3614 end
3615 end
3616 for i, v in pairs(PLAYERS) do
3617 if _G.FREE_FOR_ALL == false then
3618 if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
3619 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
3620 if AIM ~= nil then
3621 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
3622 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
3623 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
3624 local DIFF = math.floor((POS - AIM.Position).magnitude)
3625 PLAYER_HOLD[v.Name .. i] = {}
3626 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
3627 PLAYER_HOLD[v.Name .. i].plr = v
3628 PLAYER_HOLD[v.Name .. i].diff = DIFF
3629 table.insert(DISTANCES, DIFF)
3630 end
3631 end
3632 elseif _G.FREE_FOR_ALL == true then
3633 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
3634 if AIM ~= nil then
3635 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
3636 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
3637 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
3638 local DIFF = math.floor((POS - AIM.Position).magnitude)
3639 PLAYER_HOLD[v.Name .. i] = {}
3640 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
3641 PLAYER_HOLD[v.Name .. i].plr = v
3642 PLAYER_HOLD[v.Name .. i].diff = DIFF
3643 table.insert(DISTANCES, DIFF)
3644 end
3645 end
3646 end
3647
3648 if unpack(DISTANCES) == nil then
3649 return false
3650 end
3651
3652 local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
3653 if L_DISTANCE > 20 then
3654 return false
3655 end
3656
3657 for i, v in pairs(PLAYER_HOLD) do
3658 if v.diff == L_DISTANCE then
3659 return v.plr
3660 end
3661 end
3662 return false
3663 end
3664
3665 GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
3666 GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
3667 GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
3668
3669 GUI_MAIN.Name = 'AIMBOT'
3670
3671 GUI_TARGET.Size = UDim2.new(0,200,0,30)
3672 GUI_TARGET.BackgroundTransparency = 0.5
3673 GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
3674 GUI_TARGET.BorderSizePixel = 0
3675 GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
3676 GUI_TARGET.Text = 'AIMBOT : OFF'
3677 GUI_TARGET.TextColor3 = Color3.new(1,1,1)
3678 GUI_TARGET.TextStrokeTransparency = 1
3679 GUI_TARGET.TextWrapped = true
3680 GUI_TARGET.FontSize = 'Size24'
3681 GUI_TARGET.Font = 'SourceSansBold'
3682
3683 GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
3684 GUI_AIM_AT.BackgroundTransparency = 0.5
3685 GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
3686 GUI_AIM_AT.BorderSizePixel = 0
3687 GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
3688 GUI_AIM_AT.Text = 'AIMING : HEAD'
3689 GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
3690 GUI_AIM_AT.TextStrokeTransparency = 1
3691 GUI_AIM_AT.TextWrapped = true
3692 GUI_AIM_AT.FontSize = 'Size18'
3693 GUI_AIM_AT.Font = 'SourceSansBold'
3694
3695 local TRACK = false
3696
3697 function CREATE(BASE, COLOR)
3698 local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
3699 local ESP_DOT = Instance.new('Frame', ESP_MAIN)
3700 local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
3701
3702 ESP_MAIN.Name = 'ESP'
3703 ESP_MAIN.Adornee = BASE
3704 ESP_MAIN.AlwaysOnTop = true
3705 ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
3706 ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
3707
3708 ESP_DOT.Name = 'DOT'
3709 ESP_DOT.BackgroundColor3 = COLOR
3710 ESP_DOT.BackgroundTransparency = 0.3
3711 ESP_DOT.BorderSizePixel = 0
3712 ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
3713 ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
3714 ESP_DOT.Visible = true
3715 ESP_DOT.ZIndex = 10
3716
3717 ESP_NAME.Name = 'NAME'
3718 ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
3719 ESP_NAME.BackgroundTransparency = 1
3720 ESP_NAME.BorderSizePixel = 0
3721 ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
3722 ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
3723 ESP_NAME.Visible = true
3724 ESP_NAME.ZIndex = 10
3725 ESP_NAME.Font = 'ArialBold'
3726 ESP_NAME.FontSize = 'Size14'
3727 ESP_NAME.Text = BASE.Parent.Name:upper()
3728 ESP_NAME.TextColor3 = COLOR
3729 end
3730
3731 function CLEAR()
3732 for _,v in pairs(PLAYER.PlayerGui:children()) do
3733 if v.Name == 'ESP' and v:IsA('BillboardGui') then
3734 v:Destroy()
3735 end
3736 end
3737 end
3738
3739 local Remote = game:service'ReplicatedStorage'.GetPlayerData
3740 local player_roles = Remote:InvokeServer()
3741 function FIND()
3742 CLEAR()
3743 TRACK = true
3744 spawn(function()
3745 while wait() do
3746 if TRACK then
3747 CLEAR()
3748 local a,b = ypcall(function()
3749 for name,player in pairs(player_roles)do
3750 if game:service'Players':FindFirstChild(name) ~= nil then
3751 local v = game:service'Players':FindFirstChild(name)
3752 if v.Character and v.Character:FindFirstChild('Head') then
3753 if v.Character:FindFirstChild('Head') then
3754 if player.Dead ~= true then
3755 if player.Role == "Murderer"then
3756 CREATE(v.Character.Head, Color3.new(1,0,0))
3757 elseif player.Role == "Sheriff" or player.Role == "Hero" then
3758 CREATE(v.Character.Head, Color3.new(0,0,1))
3759 else
3760 CREATE(v.Character.Head, Color3.new(0,1,0))
3761 end
3762 end
3763 end
3764 end
3765 end
3766 end
3767 end)
3768 end
3769 end
3770 wait(1)
3771 end)
3772 end
3773 coroutine.wrap(function()
3774 while wait()do
3775 player_roles = Remote:InvokeServer()
3776 end
3777 end)()
3778
3779 MOUSE.KeyDown:connect(function(KEY)
3780 KEY = KEY:lower():byte()
3781 if KEY == _G.BIND then
3782 ENABLED = true
3783 end
3784 end)
3785
3786 MOUSE.KeyUp:connect(function(KEY)
3787 KEY = KEY:lower():byte()
3788 if KEY == _G.BIND then
3789 ENABLED = false
3790 end
3791 end)
3792
3793 MOUSE.KeyDown:connect(function(KEY)
3794 KEY = KEY:lower():byte()
3795 if KEY == _G.ESP_BIND then
3796 if ESP_ENABLED == false then
3797 FIND()
3798 ESP_ENABLED = true
3799 print('ESP : ON')
3800 elseif ESP_ENABLED == true then
3801 wait()
3802 CLEAR()
3803 TRACK = false
3804 ESP_ENABLED = false
3805 print('ESP : OFF')
3806 end
3807 end
3808 end)
3809
3810 MOUSE.KeyDown:connect(function(KEY)
3811 if KEY == _G.CHANGE_AIM then
3812 if _G.AIM_AT == 'Head' then
3813 _G.AIM_AT = 'Torso'
3814 GUI_AIM_AT.Text = 'AIMING : TORSO'
3815 elseif _G.AIM_AT == 'Torso' then
3816 _G.AIM_AT = 'Head'
3817 GUI_AIM_AT.Text = 'AIMING : HEAD'
3818 end
3819 end
3820 end)
3821
3822 game:GetService('RunService').RenderStepped:connect(function()
3823 if ENABLED then
3824 local TARGET = GetNearestPlayerToMouse()
3825 if (TARGET ~= false) then
3826 local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
3827 if AIM then
3828 CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
3829 end
3830 GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
3831 else
3832 GUI_TARGET.Text = 'AIMBOT : OFF'
3833 end
3834 end
3835 end)
3836
3837 repeat
3838 wait()
3839 if ESP_ENABLED == true then
3840 FIND()
3841 end
3842 until ESP_ENABLED == false
3843
3844
3845 wait()
3846
3847 _G.FREE_FOR_ALL = true
3848
3849 _G.BIND = 50 -- LEFT CTRL
3850 _G.ESP_BIND = 52 -- LEFT ALT
3851end)
3852
3853local plr = game.Players.LocalPlayer
3854
3855plr:GetMouse().KeyDown:connect(function(KeyUp)
3856 if KeyUp == "0" then
3857 plr.Character.Humanoid.WalkSpeed = 35
3858 end
3859end)
3860
3861plr:GetMouse().KeyUp:connect(function(KeyUp)
3862 if KeyUp == "0" then
3863 plr.Character.Humanoid.WalkSpeed = 16
3864 end
3865end)