· 5 years ago · Jul 31, 2020, 05:24 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)