· 7 years ago · Jun 19, 2018, 01:38 PM
1-- mm2 gui
2-- edited by baldi
3-- Made by abs_0 (absoabsolute0)
4-- Objects
5
6local mygui = Instance.new("ScreenGui")
7local maintab = Instance.new("Frame")
8local title = Instance.new("TextLabel")
9local bodyframe = Instance.new("Frame")
10local menuframe = Instance.new("Frame")
11local generalbuttonframe = Instance.new("Frame")
12local generalbutton = Instance.new("TextButton")
13local generalbuttonlabel = Instance.new("ImageLabel")
14local lpbuttonframe = Instance.new("Frame")
15local lpbutton = Instance.new("TextButton")
16local lpbuttonlabel = Instance.new("ImageLabel")
17local tpbuttonframe = Instance.new("Frame")
18local tpbutton = Instance.new("TextButton")
19local tpbuttonlabel = Instance.new("ImageLabel")
20local tptextbox = Instance.new("TextBox")
21local tpunderline = Instance.new("Frame")
22local tpunderlinebase = Instance.new("Frame")
23local generalframe = Instance.new("Frame")
24local generalespframe = Instance.new("Frame")
25local generalespbutton = Instance.new("TextButton")
26local generalesplabel = Instance.new("ImageLabel")
27local generalcoinframe = Instance.new("Frame")
28local generalcoinbutton = Instance.new("TextButton")
29local generalcoinlabel = Instance.new("ImageLabel")
30local generalgunframe = Instance.new("Frame")
31local generalgunbutton = Instance.new("TextButton")
32local generalgunlabel = Instance.new("ImageLabel")
33local generallobbyframe = Instance.new("Frame")
34local generallobbybutton = Instance.new("TextButton")
35local generallobbylabel = Instance.new("ImageLabel")
36local lpframe = Instance.new("Frame")
37local lpjumpframe = Instance.new("Frame")
38local lpjumpbutton = Instance.new("TextButton")
39local lpjumplabel = Instance.new("ImageLabel")
40local lpgravframe = Instance.new("Frame")
41local lpgravbutton = Instance.new("TextButton")
42local lpgravlabel = Instance.new("ImageLabel")
43local lpwalkframe = Instance.new("Frame")
44local lpwalkbutton = Instance.new("TextButton")
45local lpwalklabel = Instance.new("ImageLabel")
46local lpgodframe = Instance.new("Frame")
47local lpgodbutton = Instance.new("TextButton")
48local lpgodlabel = Instance.new("ImageLabel")
49local backbutton1 = Instance.new("TextButton")
50local backbutton1label = Instance.new("ImageLabel")
51local backbutton2 = Instance.new("TextButton")
52local backbutton2label = Instance.new("ImageLabel")
53local creditsbutton = Instance.new("TextButton")
54local creditsiconlabel1 = Instance.new("ImageLabel")
55local creditsiconlabel2 = Instance.new("ImageLabel")
56local toggle = Instance.new("Frame")
57local closeall = Instance.new("TextButton")
58local closeopen = Instance.new("TextButton")
59local closeopenlabel = Instance.new("ImageLabel")
60local creditstab = Instance.new("Frame")
61local creditstitle = Instance.new("TextLabel")
62local creditsframe = Instance.new("Frame")
63local creditsmenuframe = Instance.new("Frame")
64local creditsfield = Instance.new("TextLabel")
65local closecredits = Instance.new("TextButton")
66
67-- Properties
68
69mygui.Name = "mygui"
70mygui.Parent = game.ScreenGui
71mygui.ResetOnSpawn = false
72
73maintab.Name = "maintab"
74maintab.Parent = mygui
75maintab.Active = true
76maintab.BackgroundColor3 = Color3.new(1, 1, 1)
77maintab.BackgroundTransparency = 0.5
78maintab.BorderSizePixel = 0
79maintab.Draggable = true
80maintab.Position = UDim2.new(0, 900, 0, 330)
81maintab.Size = UDim2.new(0, 256, 0, 30)
82
83title.Name = "title"
84title.Parent = maintab
85title.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
86title.BorderSizePixel = 0
87title.Size = UDim2.new(0, 256, 0, 30)
88title.Font = Enum.Font.SourceSansBold
89title.FontSize = Enum.FontSize.Size24
90title.Text = "MM2 Gui"
91title.TextColor3 = Color3.new(1, 1, 1)
92title.TextSize = 23
93
94bodyframe.Name = "bodyframe"
95bodyframe.Parent = maintab
96bodyframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
97bodyframe.BorderSizePixel = 0
98bodyframe.ClipsDescendants = true
99bodyframe.Position = UDim2.new(0, 0, 0, 30)
100bodyframe.Size = UDim2.new(0, 256, 0, 222)
101
102menuframe.Name = "menuframe"
103menuframe.Parent = bodyframe
104menuframe.BackgroundColor3 = Color3.new(1, 1, 1)
105menuframe.BackgroundTransparency = 1
106menuframe.BorderSizePixel = 0
107menuframe.Size = UDim2.new(0, 256, 0, 222)
108
109generalbuttonframe.Name = "generalbuttonframe"
110generalbuttonframe.Parent = menuframe
111generalbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
112generalbuttonframe.BorderSizePixel = 0
113generalbuttonframe.Position = UDim2.new(0, 31, 0, 31)
114generalbuttonframe.Size = UDim2.new(0, 194, 0, 31)
115
116generalbutton.Name = "generalbutton"
117generalbutton.Parent = generalbuttonframe
118generalbutton.BackgroundColor3 = Color3.new(1, 1, 1)
119generalbutton.BackgroundTransparency = 1
120generalbutton.BorderSizePixel = 0
121generalbutton.ClipsDescendants = true
122generalbutton.Size = UDim2.new(0, 194, 0, 30)
123generalbutton.Font = Enum.Font.SourceSansSemibold
124generalbutton.FontSize = Enum.FontSize.Size24
125generalbutton.Text = "General"
126generalbutton.TextColor3 = Color3.new(0, 0.615686, 1)
127generalbutton.TextSize = 20
128
129generalbuttonlabel.Name = "generalbuttonlabel"
130generalbuttonlabel.Parent = generalbutton
131generalbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
132generalbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
133generalbuttonlabel.BackgroundTransparency = 1
134generalbuttonlabel.BorderSizePixel = 0
135generalbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
136generalbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
137generalbuttonlabel.Visible = false
138generalbuttonlabel.Image = "rbxassetid://200182847"
139generalbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
140generalbuttonlabel.ImageTransparency = 0.80000001192093
141
142lpbuttonframe.Name = "lpbuttonframe"
143lpbuttonframe.Parent = menuframe
144lpbuttonframe.BackgroundColor3 = Color3.new(1, 1, 1)
145lpbuttonframe.BorderSizePixel = 0
146lpbuttonframe.Position = UDim2.new(0, 31, 0, 96)
147lpbuttonframe.Size = UDim2.new(0, 194, 0, 31)
148
149lpbutton.Name = "lpbutton"
150lpbutton.Parent = lpbuttonframe
151lpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
152lpbutton.BackgroundTransparency = 1
153lpbutton.BorderSizePixel = 0
154lpbutton.ClipsDescendants = true
155lpbutton.Size = UDim2.new(0, 194, 0, 30)
156lpbutton.Font = Enum.Font.SourceSansSemibold
157lpbutton.FontSize = Enum.FontSize.Size24
158lpbutton.Text = "Local Player"
159lpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
160lpbutton.TextSize = 19
161
162lpbuttonlabel.Name = "lpbuttonlabel"
163lpbuttonlabel.Parent = lpbutton
164lpbuttonlabel.AnchorPoint = Vector2.new(0.5, 0.5)
165lpbuttonlabel.BackgroundColor3 = Color3.new(1, 1, 1)
166lpbuttonlabel.BackgroundTransparency = 1
167lpbuttonlabel.BorderSizePixel = 0
168lpbuttonlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
169lpbuttonlabel.Size = UDim2.new(0, 50, 0, 50)
170lpbuttonlabel.Visible = false
171lpbuttonlabel.Image = "rbxassetid://200182847"
172lpbuttonlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
173lpbuttonlabel.ImageTransparency = 0.80000001192093
174
175tptextbox.Name = "tptextbox"
176tptextbox.Parent = menuframe
177tptextbox.BackgroundColor3 = Color3.new(1, 1, 1)
178tptextbox.BackgroundTransparency = 1
179tptextbox.BorderSizePixel = 0
180tptextbox.Position = UDim2.new(0, 31, 0, 165)
181tptextbox.Size = UDim2.new(0, 194, 0, 31)
182tptextbox.Font = Enum.Font.SourceSans
183tptextbox.FontSize = Enum.FontSize.Size18
184tptextbox.Text = "Player Name"
185tptextbox.TextColor3 = Color3.new(1, 1, 1)
186tptextbox.TextSize = 15
187
188tpunderline.Name = "tpunderline"
189tpunderline.Parent = tptextbox
190tpunderline.AnchorPoint = Vector2.new(0, 0)
191tpunderline.BackgroundColor3 = Color3.new(1, 1, 1)
192tpunderline.BorderSizePixel = 0
193tpunderline.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
194tpunderline.Size = UDim2.new(0, 0, 0, 2)
195
196tpunderlinebase.Name = "tpunderlinebase"
197tpunderlinebase.Parent = tptextbox
198tpunderlinebase.AnchorPoint = Vector2.new(0.5, 0.5)
199tpunderlinebase.BackgroundColor3 = Color3.new(1, 1, 1)
200tpunderlinebase.BackgroundTransparency = 0.80000001192093
201tpunderlinebase.BorderSizePixel = 0
202tpunderlinebase.Position = UDim2.new(0.496815294, 0, 0.967741966, 0)
203tpunderlinebase.Size = UDim2.new(0, 157, 0, 2)
204tpunderlinebase.Visible = false --secretkey
205
206generalframe.Name = "generalframe"
207generalframe.Parent = bodyframe
208generalframe.BackgroundColor3 = Color3.new(1, 1, 1)
209generalframe.BackgroundTransparency = 1
210generalframe.BorderSizePixel = 0
211generalframe.Position = UDim2.new(0, 256, 0, 0)
212generalframe.Size = UDim2.new(0, 256, 0, 222)
213
214generalespframe.Name = "generalespframe"
215generalespframe.Parent = generalframe
216generalespframe.BackgroundColor3 = Color3.new(1, 1, 1)
217generalespframe.BorderSizePixel = 0
218generalespframe.Position = UDim2.new(0, 31, 0, 172)
219generalespframe.Size = UDim2.new(0, 194, 0, 30)
220
221generalespbutton.Name = "generalespbutton"
222generalespbutton.Parent = generalespframe
223generalespbutton.BackgroundColor3 = Color3.new(1, 1, 1)
224generalespbutton.BackgroundTransparency = 1
225generalespbutton.BorderSizePixel = 0
226generalespbutton.ClipsDescendants = true
227generalespbutton.Size = UDim2.new(0, 194, 0, 30)
228generalespbutton.Font = Enum.Font.SourceSansSemibold
229generalespbutton.FontSize = Enum.FontSize.Size24
230generalespbutton.Text = "ESP (Left Alt)"
231generalespbutton.TextColor3 = Color3.new(0, 0.615686, 1)
232generalespbutton.TextSize = 19
233
234generalesplabel.Name = "generalesplabel"
235generalesplabel.Parent = generalespbutton
236generalesplabel.AnchorPoint = Vector2.new(0.5, 0.5)
237generalesplabel.BackgroundColor3 = Color3.new(1, 1, 1)
238generalesplabel.BackgroundTransparency = 1
239generalesplabel.BorderSizePixel = 0
240generalesplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
241generalesplabel.Size = UDim2.new(0, 50, 0, 50)
242generalesplabel.Visible = false
243generalesplabel.Image = "rbxassetid://200182847"
244generalesplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
245generalesplabel.ImageTransparency = 0.80000001192093
246
247generalcoinframe.Name = "generalcoinframe"
248generalcoinframe.Parent = generalframe
249generalcoinframe.BackgroundColor3 = Color3.new(1, 1, 1)
250generalcoinframe.BorderSizePixel = 0
251generalcoinframe.Position = UDim2.new(0, 31, 0, 120)
252generalcoinframe.Size = UDim2.new(0, 194, 0, 30)
253
254generalcoinbutton.Name = "generalcoinbutton"
255generalcoinbutton.Parent = generalcoinframe
256generalcoinbutton.BackgroundColor3 = Color3.new(1, 1, 1)
257generalcoinbutton.BackgroundTransparency = 1
258generalcoinbutton.BorderSizePixel = 0
259generalcoinbutton.ClipsDescendants = true
260generalcoinbutton.Position = UDim2.new(0, 0, 0, -1)
261generalcoinbutton.Size = UDim2.new(0, 194, 0, 31)
262generalcoinbutton.Font = Enum.Font.SourceSansSemibold
263generalcoinbutton.FontSize = Enum.FontSize.Size24
264generalcoinbutton.Text = "Grab 10 Coins"
265generalcoinbutton.TextColor3 = Color3.new(0, 0.615686, 1)
266generalcoinbutton.TextSize = 19
267
268generalcoinlabel.Name = "generalcoinlabel"
269generalcoinlabel.Parent = generalcoinbutton
270generalcoinlabel.AnchorPoint = Vector2.new(0.5, 0.5)
271generalcoinlabel.BackgroundColor3 = Color3.new(1, 1, 1)
272generalcoinlabel.BackgroundTransparency = 1
273generalcoinlabel.BorderSizePixel = 0
274generalcoinlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
275generalcoinlabel.Size = UDim2.new(0, 50, 0, 50)
276generalcoinlabel.Visible = false
277generalcoinlabel.Image = "rbxassetid://200182847"
278generalcoinlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
279generalcoinlabel.ImageTransparency = 0.80000001192093
280
281generalgunframe.Name = "generalgunframe"
282generalgunframe.Parent = generalframe
283generalgunframe.BackgroundColor3 = Color3.new(1, 1, 1)
284generalgunframe.BorderSizePixel = 0
285generalgunframe.Position = UDim2.new(0, 31, 0, 68)
286generalgunframe.Size = UDim2.new(0, 194, 0, 30)
287
288generalgunbutton.Name = "generalgunbutton"
289generalgunbutton.Parent = generalgunframe
290generalgunbutton.BackgroundColor3 = Color3.new(1, 1, 1)
291generalgunbutton.BackgroundTransparency = 1
292generalgunbutton.BorderSizePixel = 0
293generalgunbutton.ClipsDescendants = true
294generalgunbutton.Size = UDim2.new(0, 194, 0, 30)
295generalgunbutton.Font = Enum.Font.SourceSansSemibold
296generalgunbutton.FontSize = Enum.FontSize.Size24
297generalgunbutton.Text = "Grab Gun"
298generalgunbutton.TextColor3 = Color3.new(0, 0.615686, 1)
299generalgunbutton.TextSize = 19
300
301generalgunlabel.Name = "generalgunlabel"
302generalgunlabel.Parent = generalgunbutton
303generalgunlabel.AnchorPoint = Vector2.new(0.5, 0.5)
304generalgunlabel.BackgroundColor3 = Color3.new(1, 1, 1)
305generalgunlabel.BackgroundTransparency = 1
306generalgunlabel.BorderSizePixel = 0
307generalgunlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
308generalgunlabel.Size = UDim2.new(0, 50, 0, 50)
309generalgunlabel.Visible = false
310generalgunlabel.Image = "rbxassetid://200182847"
311generalgunlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
312generalgunlabel.ImageTransparency = 0.80000001192093
313
314generallobbyframe.Name = "generallobbyframe"
315generallobbyframe.Parent = generalframe
316generallobbyframe.BackgroundColor3 = Color3.new(1, 1, 1)
317generallobbyframe.BorderSizePixel = 0
318generallobbyframe.Position = UDim2.new(0, 31, 0, 17)
319generallobbyframe.Size = UDim2.new(0, 194, 0, 30)
320
321generallobbybutton.Name = "generallobbybutton"
322generallobbybutton.Parent = generallobbyframe
323generallobbybutton.BackgroundColor3 = Color3.new(1, 1, 1)
324generallobbybutton.BackgroundTransparency = 1
325generallobbybutton.BorderSizePixel = 0
326generallobbybutton.ClipsDescendants = true
327generallobbybutton.Size = UDim2.new(0, 194, 0, 30)
328generallobbybutton.Font = Enum.Font.SourceSansSemibold
329generallobbybutton.FontSize = Enum.FontSize.Size24
330generallobbybutton.Text = "TP to Lobby"
331generallobbybutton.TextColor3 = Color3.new(0, 0.615686, 1)
332generallobbybutton.TextSize = 19
333
334generallobbylabel.Name = "generallobbylabel"
335generallobbylabel.Parent = generallobbybutton
336generallobbylabel.AnchorPoint = Vector2.new(0.5, 0.5)
337generallobbylabel.BackgroundColor3 = Color3.new(1, 1, 1)
338generallobbylabel.BackgroundTransparency = 1
339generallobbylabel.BorderSizePixel = 0
340generallobbylabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
341generallobbylabel.Size = UDim2.new(0, 50, 0, 50)
342generallobbylabel.Visible = false
343generallobbylabel.Image = "rbxassetid://200182847"
344generallobbylabel.ImageColor3 = Color3.new(0, 0.705882, 1)
345generallobbylabel.ImageTransparency = 0.80000001192093
346
347lpframe.Name = "lpframe"
348lpframe.Parent = bodyframe
349lpframe.BackgroundColor3 = Color3.new(1, 1, 1)
350lpframe.BackgroundTransparency = 1
351lpframe.BorderSizePixel = 0
352lpframe.Position = UDim2.new(0, 256, 0, 0)
353lpframe.Size = UDim2.new(0, 256, 0, 222)
354
355lpjumpframe.Name = "lpjumpframe"
356lpjumpframe.Parent = lpframe
357lpjumpframe.BackgroundColor3 = Color3.new(1, 1, 1)
358lpjumpframe.BorderSizePixel = 0
359lpjumpframe.Position = UDim2.new(0, 31, 0, 172)
360lpjumpframe.Size = UDim2.new(0, 194, 0, 30)
361
362lpjumpbutton.Name = "lpjumpbutton"
363lpjumpbutton.Parent = lpjumpframe
364lpjumpbutton.BackgroundColor3 = Color3.new(1, 1, 1)
365lpjumpbutton.BackgroundTransparency = 1
366lpjumpbutton.BorderSizePixel = 0
367lpjumpbutton.ClipsDescendants = true
368lpjumpbutton.Size = UDim2.new(0, 194, 0, 30)
369lpjumpbutton.Font = Enum.Font.SourceSansSemibold
370lpjumpbutton.FontSize = Enum.FontSize.Size24
371lpjumpbutton.Text = "High Jump"
372lpjumpbutton.TextColor3 = Color3.new(0, 0.615686, 1)
373lpjumpbutton.TextSize = 19
374
375lpjumplabel.Name = "lpjumplabel"
376lpjumplabel.Parent = lpjumpbutton
377lpjumplabel.AnchorPoint = Vector2.new(0.5, 0.5)
378lpjumplabel.BackgroundColor3 = Color3.new(1, 1, 1)
379lpjumplabel.BackgroundTransparency = 1
380lpjumplabel.BorderSizePixel = 0
381lpjumplabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
382lpjumplabel.Size = UDim2.new(0, 50, 0, 50)
383lpjumplabel.Visible = false
384lpjumplabel.Image = "rbxassetid://200182847"
385lpjumplabel.ImageColor3 = Color3.new(0, 0.705882, 1)
386lpjumplabel.ImageTransparency = 0.80000001192093
387
388lpgravframe.Name = "lpgravframe"
389lpgravframe.Parent = lpframe
390lpgravframe.BackgroundColor3 = Color3.new(1, 1, 1)
391lpgravframe.BorderSizePixel = 0
392lpgravframe.Position = UDim2.new(0, 31, 0, 120)
393lpgravframe.Size = UDim2.new(0, 194, 0, 30)
394
395lpgravbutton.Name = "lpgravbutton"
396lpgravbutton.Parent = lpgravframe
397lpgravbutton.BackgroundColor3 = Color3.new(1, 1, 1)
398lpgravbutton.BackgroundTransparency = 1
399lpgravbutton.BorderSizePixel = 0
400lpgravbutton.ClipsDescendants = true
401lpgravbutton.Position = UDim2.new(0, 0, 0, -1)
402lpgravbutton.Size = UDim2.new(0, 194, 0, 31)
403lpgravbutton.Font = Enum.Font.SourceSansSemibold
404lpgravbutton.FontSize = Enum.FontSize.Size24
405lpgravbutton.Text = "Low Gravity"
406lpgravbutton.TextColor3 = Color3.new(0, 0.615686, 1)
407lpgravbutton.TextSize = 19
408
409lpgravlabel.Name = "lpgravlabel"
410lpgravlabel.Parent = lpgravbutton
411lpgravlabel.AnchorPoint = Vector2.new(0.5, 0.5)
412lpgravlabel.BackgroundColor3 = Color3.new(1, 1, 1)
413lpgravlabel.BackgroundTransparency = 1
414lpgravlabel.BorderSizePixel = 0
415lpgravlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
416lpgravlabel.Size = UDim2.new(0, 50, 0, 50)
417lpgravlabel.Visible = false
418lpgravlabel.Image = "rbxassetid://200182847"
419lpgravlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
420lpgravlabel.ImageTransparency = 0.80000001192093
421
422lpwalkframe.Name = "lpwalkframe"
423lpwalkframe.Parent = lpframe
424lpwalkframe.BackgroundColor3 = Color3.new(1, 1, 1)
425lpwalkframe.BorderSizePixel = 0
426lpwalkframe.Position = UDim2.new(0, 31, 0, 68)
427lpwalkframe.Size = UDim2.new(0, 194, 0, 30)
428
429lpwalkbutton.Name = "lpwalkbutton"
430lpwalkbutton.Parent = lpwalkframe
431lpwalkbutton.BackgroundColor3 = Color3.new(1, 1, 1)
432lpwalkbutton.BackgroundTransparency = 1
433lpwalkbutton.BorderSizePixel = 0
434lpwalkbutton.ClipsDescendants = true
435lpwalkbutton.Size = UDim2.new(0, 194, 0, 30)
436lpwalkbutton.Font = Enum.Font.SourceSansSemibold
437lpwalkbutton.FontSize = Enum.FontSize.Size24
438lpwalkbutton.Text = "Fast Walk"
439lpwalkbutton.TextColor3 = Color3.new(0, 0.615686, 1)
440lpwalkbutton.TextSize = 19
441
442lpwalklabel.Name = "lpwalklabel"
443lpwalklabel.Parent = lpwalkbutton
444lpwalklabel.AnchorPoint = Vector2.new(0.5, 0.5)
445lpwalklabel.BackgroundColor3 = Color3.new(1, 1, 1)
446lpwalklabel.BackgroundTransparency = 1
447lpwalklabel.BorderSizePixel = 0
448lpwalklabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
449lpwalklabel.Size = UDim2.new(0, 50, 0, 50)
450lpwalklabel.Visible = false
451lpwalklabel.Image = "rbxassetid://200182847"
452lpwalklabel.ImageColor3 = Color3.new(0, 0.705882, 1)
453lpwalklabel.ImageTransparency = 0.80000001192093
454
455lpgodframe.Name = "lpgodframe"
456lpgodframe.Parent = lpframe
457lpgodframe.BackgroundColor3 = Color3.new(1, 1, 1)
458lpgodframe.BorderSizePixel = 0
459lpgodframe.Position = UDim2.new(0, 31, 0, 17)
460lpgodframe.Size = UDim2.new(0, 194, 0, 30)
461
462lpgodbutton.Name = "lpgodbutton"
463lpgodbutton.Parent = lpgodframe
464lpgodbutton.BackgroundColor3 = Color3.new(1, 1, 1)
465lpgodbutton.BackgroundTransparency = 1
466lpgodbutton.BorderSizePixel = 0
467lpgodbutton.ClipsDescendants = true
468lpgodbutton.Size = UDim2.new(0, 194, 0, 30)
469lpgodbutton.Font = Enum.Font.SourceSansSemibold
470lpgodbutton.FontSize = Enum.FontSize.Size24
471lpgodbutton.Text = "God Mode"
472lpgodbutton.TextColor3 = Color3.new(0, 0.615686, 1)
473lpgodbutton.TextSize = 19
474
475lpgodlabel.Name = "lpgodlabel"
476lpgodlabel.Parent = lpgodbutton
477lpgodlabel.AnchorPoint = Vector2.new(0.5, 0.5)
478lpgodlabel.BackgroundColor3 = Color3.new(1, 1, 1)
479lpgodlabel.BackgroundTransparency = 1
480lpgodlabel.BorderSizePixel = 0
481lpgodlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
482lpgodlabel.Size = UDim2.new(0, 50, 0, 50)
483lpgodlabel.Visible = false
484lpgodlabel.Image = "rbxassetid://200182847"
485lpgodlabel.ImageColor3 = Color3.new(0, 0.705882, 1)
486lpgodlabel.ImageTransparency = 0.80000001192093
487
488backbutton1.Name = "backbutton1"
489backbutton1.Parent = maintab
490backbutton1.Active = false
491backbutton1.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
492backbutton1.BackgroundTransparency = 1
493backbutton1.BorderSizePixel = 0
494backbutton1.ClipsDescendants = true
495backbutton1.Size = UDim2.new(0, 29, 0, 30)
496backbutton1.Visible = false
497backbutton1.AutoButtonColor = false
498backbutton1.Font = Enum.Font.SourceSansBold
499backbutton1.FontSize = Enum.FontSize.Size24
500backbutton1.Text = "<"
501backbutton1.TextColor3 = Color3.new(1, 1, 1)
502backbutton1.TextSize = 20
503
504backbutton1label.Name = "backbutton1label"
505backbutton1label.Parent = backbutton1
506backbutton1label.AnchorPoint = Vector2.new(0.5, 0.5)
507backbutton1label.BackgroundColor3 = Color3.new(1, 1, 1)
508backbutton1label.BackgroundTransparency = 1
509backbutton1label.BorderSizePixel = 0
510backbutton1label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
511backbutton1label.Size = UDim2.new(0, 50, 0, 50)
512backbutton1label.Visible = false
513backbutton1label.Image = "rbxassetid://200182847"
514backbutton1label.ImageTransparency = 0.80000001192093
515
516backbutton2.Name = "backbutton2"
517backbutton2.Parent = maintab
518backbutton2.Active = false
519backbutton2.BackgroundColor3 = Color3.new(0, 0.407843, 0.658824)
520backbutton2.BackgroundTransparency = 1
521backbutton2.BorderSizePixel = 0
522backbutton2.ClipsDescendants = true
523backbutton2.Size = UDim2.new(0, 29, 0, 30)
524backbutton2.Visible = false
525backbutton2.AutoButtonColor = false
526backbutton2.Font = Enum.Font.SourceSansBold
527backbutton2.FontSize = Enum.FontSize.Size24
528backbutton2.Text = "<"
529backbutton2.TextColor3 = Color3.new(1, 1, 1)
530backbutton2.TextSize = 20
531
532backbutton2label.Name = "backbutton2label"
533backbutton2label.Parent = backbutton2
534backbutton2label.AnchorPoint = Vector2.new(0.5, 0.5)
535backbutton2label.BackgroundColor3 = Color3.new(1, 1, 1)
536backbutton2label.BackgroundTransparency = 1
537backbutton2label.BorderSizePixel = 0
538backbutton2label.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
539backbutton2label.Size = UDim2.new(0, 50, 0, 50)
540backbutton2label.Visible = false
541backbutton2label.Image = "rbxassetid://200182847"
542backbutton2label.ImageTransparency = 0.80000001192093
543
544creditsbutton.Name = "creditsbutton"
545creditsbutton.Parent = maintab
546creditsbutton.BackgroundColor3 = Color3.new(1, 1, 1)
547creditsbutton.BackgroundTransparency = 1
548creditsbutton.BorderSizePixel = 0
549creditsbutton.ClipsDescendants = true
550creditsbutton.Position = UDim2.new(0.87890625, 0, 0, 0)
551creditsbutton.Size = UDim2.new(0, 31, 0, 30)
552creditsbutton.Font = Enum.Font.SourceSansSemibold
553creditsbutton.FontSize = Enum.FontSize.Size18
554creditsbutton.Text = ""
555creditsbutton.TextColor3 = Color3.new(0, 0.615686, 1)
556creditsbutton.TextSize = 15
557
558creditsiconlabel1.Name = "creditsiconlabel1"
559creditsiconlabel1.Parent = creditsbutton
560creditsiconlabel1.AnchorPoint = Vector2.new(0.5, 0.5)
561creditsiconlabel1.BackgroundColor3 = Color3.new(1, 1, 1)
562creditsiconlabel1.BackgroundTransparency = 1
563creditsiconlabel1.BorderSizePixel = 0
564creditsiconlabel1.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
565creditsiconlabel1.Size = UDim2.new(0, 50, 0, 50)
566creditsiconlabel1.Visible = false
567creditsiconlabel1.Image = "rbxassetid://200182847"
568creditsiconlabel1.ImageTransparency = 0.80000001192093
569
570creditsiconlabel2.Name = "creditsiconlabel2"
571creditsiconlabel2.Parent = creditsbutton
572creditsiconlabel2.AnchorPoint = Vector2.new(0.5, 0.5)
573creditsiconlabel2.BackgroundColor3 = Color3.new(1, 1, 1)
574creditsiconlabel2.BackgroundTransparency = 1
575creditsiconlabel2.BorderSizePixel = 0
576creditsiconlabel2.Position = UDim2.new(0.5, 0, 0.5, 0)
577creditsiconlabel2.Size = UDim2.new(0, 17, 0, 17)
578creditsiconlabel2.Image = "rbxassetid://23151450"
579
580toggle.Name = "toggle"
581toggle.Parent = mygui
582toggle.Active = true
583toggle.BackgroundColor3 = Color3.new(0.992157, 0.984314, 1)
584toggle.BackgroundTransparency = 0.5
585toggle.BorderSizePixel = 0
586toggle.Draggable = true
587toggle.Position = UDim2.new(0, 5, 0, 530)
588toggle.Size = UDim2.new(0, 140, 0, 30)
589
590closeall.Name = "closeall"
591closeall.Parent = toggle
592closeall.BackgroundColor3 = Color3.new(1, 0, 0)
593closeall.BorderSizePixel = 0
594closeall.Position = UDim2.new(0, 110, 0, 0)
595closeall.Size = UDim2.new(0, 30, 0, 30)
596closeall.FontSize = Enum.FontSize.Size18
597closeall.Text = ""
598closeall.TextSize = 15
599
600closeopen.Name = "closeopen"
601closeopen.Parent = toggle
602closeopen.BackgroundColor3 = Color3.new(0, 0.615686, 1)
603closeopen.BorderSizePixel = 0
604closeopen.ClipsDescendants = true
605closeopen.Size = UDim2.new(0, 110, 0, 30)
606closeopen.AutoButtonColor = false
607closeopen.Font = Enum.Font.SourceSansBold
608closeopen.FontSize = Enum.FontSize.Size24
609closeopen.Text = "Close"
610closeopen.TextColor3 = Color3.new(1, 1, 1)
611closeopen.TextSize = 20
612
613closeopenlabel.Name = "closeopenlabel"
614closeopenlabel.Parent = closeopen
615closeopenlabel.AnchorPoint = Vector2.new(0.5, 0.5)
616closeopenlabel.BackgroundColor3 = Color3.new(1, 1, 1)
617closeopenlabel.BackgroundTransparency = 1
618closeopenlabel.BorderSizePixel = 0
619closeopenlabel.Position = UDim2.new(0.840206146, 0, 0.500000477, 0)
620closeopenlabel.Size = UDim2.new(0, 50, 0, 50)
621closeopenlabel.Visible = false
622closeopenlabel.Image = "rbxassetid://200182847"
623closeopenlabel.ImageTransparency = 0.80000001192093
624
625creditstab.Name = "creditstab"
626creditstab.Parent = mygui
627creditstab.Active = true
628creditstab.BackgroundColor3 = Color3.new(1, 1, 1)
629creditstab.BackgroundTransparency = 0.5
630creditstab.BorderSizePixel = 0
631creditstab.Draggable = true
632creditstab.Position = UDim2.new(0, 42, 0, 47)
633creditstab.Size = UDim2.new(0, 256, 0, 30)
634creditstab.Visible = false
635
636creditstitle.Name = "creditstitle"
637creditstitle.Parent = creditstab
638creditstitle.BackgroundColor3 = Color3.new(0, 0.45098, 0.862745)
639creditstitle.BorderSizePixel = 0
640creditstitle.Position = UDim2.new(-0.001953125, 0, 0, 0)
641creditstitle.Size = UDim2.new(0, 256, 0, 30)
642creditstitle.Font = Enum.Font.SourceSansBold
643creditstitle.FontSize = Enum.FontSize.Size24
644creditstitle.Text = "Credits"
645creditstitle.TextColor3 = Color3.new(1, 1, 1)
646creditstitle.TextSize = 23
647
648creditsframe.Name = "creditsframe"
649creditsframe.Parent = creditstab
650creditsframe.BackgroundColor3 = Color3.new(0, 0.615686, 1)
651creditsframe.BorderSizePixel = 0
652creditsframe.ClipsDescendants = true
653creditsframe.Position = UDim2.new(0, 0, 0, 30)
654creditsframe.Size = UDim2.new(0, 256, 0, 222)
655
656creditsmenuframe.Name = "menuframe"
657creditsmenuframe.Parent = creditsframe
658creditsmenuframe.BackgroundColor3 = Color3.new(1, 1, 1)
659creditsmenuframe.BackgroundTransparency = 1
660creditsmenuframe.BorderSizePixel = 0
661creditsmenuframe.Size = UDim2.new(0, 256, 0, 222)
662
663creditsfield.Name = "creditsfield"
664creditsfield.Parent = creditsmenuframe
665creditsfield.BackgroundColor3 = Color3.new(1, 1, 1)
666creditsfield.BorderSizePixel = 0
667creditsfield.Position = UDim2.new(0, 31, 0, 31)
668creditsfield.Size = UDim2.new(0, 194, 0, 31)
669creditsfield.Font = Enum.Font.SourceSansSemibold
670creditsfield.FontSize = Enum.FontSize.Size24
671creditsfield.Text = "By: abs_0"
672creditsfield.TextColor3 = Color3.new(0, 0.615686, 1)
673creditsfield.TextSize = 20
674
675closecredits.Name = "closeall"
676closecredits.Parent = creditstab
677closecredits.BackgroundColor3 = Color3.new(1, 0, 0)
678closecredits.BorderSizePixel = 0
679closecredits.Position = UDim2.new(0, 226, 0, 0)
680closecredits.Size = UDim2.new(0, 30, 0, 30)
681closecredits.FontSize = Enum.FontSize.Size18
682closecredits.Text = ""
683closecredits.TextSize = 15
684
685--Appearance Scripts
686
687--mygui.maintab.bodyframe.generalframe.generallobbyframe.generallobbybutton.Script
688local mouse = game.Players.LocalPlayer:GetMouse()
689
690
691generallobbybutton.MouseButton1Down:connect(function()
692 local x = (mouse.X) - (generallobbybutton.AbsolutePosition.X)
693 local y = (mouse.Y) - (generallobbybutton.AbsolutePosition.Y)
694 generallobbylabel.Position = UDim2.new(0,x,0,y)
695 generallobbylabel.Size = UDim2.new(0,50,0,50)
696 generallobbylabel.ImageTransparency = 0.8
697 generallobbylabel.Visible = true
698
699 wait()
700
701 generallobbylabel:TweenSize(
702 UDim2.new(0,390,0,390),
703 "Out",
704 "Quint",
705 1
706 )
707end)
708
709generallobbybutton.MouseButton1Up:connect(function()
710 wait(0.35)
711 local TweenService = game:GetService("TweenService")
712 local circle = generallobbylabel
713
714 local Info = TweenInfo.new(
715 0.2, -- Length
716 Enum.EasingStyle.Linear, -- Easing Style
717 Enum.EasingDirection.Out, -- Easing Direction
718 0, -- Times repeated
719 false, -- Reverse
720 0 -- Delay
721 )
722 local Goals =
723 {
724 ImageTransparency = 1;
725 }
726
727 local tween = TweenService:Create(circle,Info,Goals)
728 tween:Play()
729end)
730
731--mygui.maintab.bodyframe.generalframe.generalgunframe.generalgunbutton.Script
732local mouse = game.Players.LocalPlayer:GetMouse()
733
734
735generalgunbutton.MouseButton1Down:connect(function()
736 local x = (mouse.X) - (generalgunbutton.AbsolutePosition.X)
737 local y = (mouse.Y) - (generalgunbutton.AbsolutePosition.Y)
738 generalgunlabel.Position = UDim2.new(0,x,0,y)
739 generalgunlabel.Size = UDim2.new(0,50,0,50)
740 generalgunlabel.ImageTransparency = 0.8
741 generalgunlabel.Visible = true
742
743 wait()
744
745 generalgunlabel:TweenSize(
746 UDim2.new(0,390,0,390),
747 "Out",
748 "Quint",
749 1
750 )
751end)
752
753generalgunbutton.MouseButton1Up:connect(function()
754 wait(0.35)
755 local TweenService = game:GetService("TweenService")
756 local circle = generalgunlabel
757
758 local Info = TweenInfo.new(
759 0.2, -- Length
760 Enum.EasingStyle.Linear, -- Easing Style
761 Enum.EasingDirection.Out, -- Easing Direction
762 0, -- Times repeated
763 false, -- Reverse
764 0 -- Delay
765 )
766 local Goals =
767 {
768 ImageTransparency = 1;
769 }
770
771 local tween = TweenService:Create(circle,Info,Goals)
772 tween:Play()
773end)
774
775--mygui.maintab.bodyframe.generalframe.generalcoinframe.generalcoinbutton.Script
776local mouse = game.Players.LocalPlayer:GetMouse()
777
778
779generalcoinbutton.MouseButton1Down:connect(function()
780 local x = (mouse.X) - (generalcoinbutton.AbsolutePosition.X)
781 local y = (mouse.Y) - (generalcoinbutton.AbsolutePosition.Y)
782 generalcoinlabel.Position = UDim2.new(0,x,0,y)
783 generalcoinlabel.Size = UDim2.new(0,50,0,50)
784 generalcoinlabel.ImageTransparency = 0.8
785 generalcoinlabel.Visible = true
786
787 wait()
788
789 generalcoinlabel:TweenSize(
790 UDim2.new(0,390,0,390),
791 "Out",
792 "Quint",
793 1
794 )
795end)
796
797generalcoinbutton.MouseButton1Up:connect(function()
798 wait(0.35)
799 local TweenService = game:GetService("TweenService")
800 local circle = generalcoinlabel
801
802 local Info = TweenInfo.new(
803 0.2, -- Length
804 Enum.EasingStyle.Linear, -- Easing Style
805 Enum.EasingDirection.Out, -- Easing Direction
806 0, -- Times repeated
807 false, -- Reverse
808 0 -- Delay
809 )
810 local Goals =
811 {
812 ImageTransparency = 1;
813 }
814
815 local tween = TweenService:Create(circle,Info,Goals)
816 tween:Play()
817end)
818
819--mygui.maintab.bodyframe.generalframe.generalespframe.generalespbutton.Script
820local mouse = game.Players.LocalPlayer:GetMouse()
821
822
823generalespbutton.MouseButton1Down:connect(function()
824 local x = (mouse.X) - (generalespbutton.AbsolutePosition.X)
825 local y = (mouse.Y) - (generalespbutton.AbsolutePosition.Y)
826 generalesplabel.Position = UDim2.new(0,x,0,y)
827 generalesplabel.Size = UDim2.new(0,50,0,50)
828 generalesplabel.ImageTransparency = 0.8
829 generalesplabel.Visible = true
830
831 wait()
832
833 generalesplabel:TweenSize(
834 UDim2.new(0,390,0,390),
835 "Out",
836 "Quint",
837 1
838 )
839end)
840
841generalespbutton.MouseButton1Up:connect(function()
842 wait(0.35)
843 local TweenService = game:GetService("TweenService")
844 local circle = generalesplabel
845
846 local Info = TweenInfo.new(
847 0.2, -- Length
848 Enum.EasingStyle.Linear, -- Easing Style
849 Enum.EasingDirection.Out, -- Easing Direction
850 0, -- Times repeated
851 false, -- Reverse
852 0 -- Delay
853 )
854 local Goals =
855 {
856 ImageTransparency = 1;
857 }
858
859 local tween = TweenService:Create(circle,Info,Goals)
860 tween:Play()
861end)
862
863--mygui.maintab.bodyframe.lpframe.lpgodframe.lpgodbutton.Script
864local mouse = game.Players.LocalPlayer:GetMouse()
865
866
867lpgodbutton.MouseButton1Down:connect(function()
868 local x = (mouse.X) - (lpgodbutton.AbsolutePosition.X)
869 local y = (mouse.Y) - (lpgodbutton.AbsolutePosition.Y)
870 lpgodbutton.lpgodlabel.Position = UDim2.new(0,x,0,y)
871 lpgodbutton.lpgodlabel.Size = UDim2.new(0,50,0,50)
872 lpgodbutton.lpgodlabel.ImageTransparency = 0.8
873 lpgodbutton.lpgodlabel.Visible = true
874
875 wait()
876
877 lpgodbutton.lpgodlabel:TweenSize(
878 UDim2.new(0,390,0,390),
879 "Out",
880 "Quint",
881 1
882 )
883end)
884
885lpgodbutton.MouseButton1Up:connect(function()
886 wait(0.35)
887 local TweenService = game:GetService("TweenService")
888 local circle = lpgodbutton.lpgodlabel
889
890 local Info = TweenInfo.new(
891 0.2, -- Length
892 Enum.EasingStyle.Linear, -- Easing Style
893 Enum.EasingDirection.Out, -- Easing Direction
894 0, -- Times repeated
895 false, -- Reverse
896 0 -- Delay
897 )
898 local Goals =
899 {
900 ImageTransparency = 1;
901 }
902
903 local tween = TweenService:Create(circle,Info,Goals)
904 tween:Play()
905end)
906
907--mygui.maintab.bodyframe.lpframe.lpwalkframe.lpwalkbutton.Script
908local mouse = game.Players.LocalPlayer:GetMouse()
909
910
911lpwalkbutton.MouseButton1Down:connect(function()
912 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 * 5 then
913 lpwalkbutton.TextColor3 = Color3.new(1,128/255,0)
914 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(1,128/255,0)
915 else
916 lpwalkbutton.TextColor3 = Color3.new(0,157/255,1)
917 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(0,157/255,1)
918 end
919
920 local x = (mouse.X) - (lpwalkbutton.AbsolutePosition.X)
921 local y = (mouse.Y) - (lpwalkbutton.AbsolutePosition.Y)
922 lpwalkbutton.lpwalklabel.Position = UDim2.new(0,x,0,y)
923 lpwalkbutton.lpwalklabel.Size = UDim2.new(0,50,0,50)
924 lpwalkbutton.lpwalklabel.ImageTransparency = 0.8
925 lpwalkbutton.lpwalklabel.Visible = true
926
927 wait()
928
929 lpwalkbutton.lpwalklabel:TweenSize(
930 UDim2.new(0,390,0,390),
931 "Out",
932 "Quint",
933 1
934 )
935end)
936
937lpwalkbutton.MouseButton1Up:connect(function()
938 wait(0.35)
939 local TweenService = game:GetService("TweenService")
940 local circle = lpwalkbutton.lpwalklabel
941
942 local Info = TweenInfo.new(
943 0.2, -- Length
944 Enum.EasingStyle.Linear, -- Easing Style
945 Enum.EasingDirection.Out, -- Easing Direction
946 0, -- Times repeated
947 false, -- Reverse
948 0 -- Delay
949 )
950 local Goals =
951 {
952 ImageTransparency = 1;
953 }
954
955 local tween = TweenService:Create(circle,Info,Goals)
956 tween:Play()
957end)
958
959--mygui.maintab.bodyframe.lpframe.lpgravframe.lpgravbutton.Script
960local mouse = game.Players.LocalPlayer:GetMouse()
961
962lpgravbutton.MouseButton1Down:connect(function()
963 if game.Workspace.Gravity < 196.1 then
964 lpgravbutton.TextColor3 = Color3.new(1,128/255,0)
965 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(1,128/255,0)
966 else
967 lpgravbutton.TextColor3 = Color3.new(0,157/255,1)
968 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(0,157/255,1)
969 end
970
971 local x = (mouse.X) - (lpgravbutton.AbsolutePosition.X)
972 local y = (mouse.Y) - (lpgravbutton.AbsolutePosition.Y)
973 lpgravbutton.lpgravlabel.Position = UDim2.new(0,x,0,y)
974 lpgravbutton.lpgravlabel.Size = UDim2.new(0,50,0,50)
975 lpgravbutton.lpgravlabel.ImageTransparency = 0.8
976 lpgravbutton.lpgravlabel.Visible = true
977
978 wait()
979
980 lpgravbutton.lpgravlabel:TweenSize(
981 UDim2.new(0,390,0,390),
982 "Out",
983 "Quint",
984 1
985 )
986end)
987
988lpgravbutton.MouseButton1Up:connect(function()
989 wait(0.35)
990 local TweenService = game:GetService("TweenService")
991 local circle = lpgravbutton.lpgravlabel
992
993 local Info = TweenInfo.new(
994 0.2, -- Length
995 Enum.EasingStyle.Linear, -- Easing Style
996 Enum.EasingDirection.Out, -- Easing Direction
997 0, -- Times repeated
998 false, -- Reverse
999 0 -- Delay
1000 )
1001 local Goals =
1002 {
1003 ImageTransparency = 1;
1004 }
1005
1006 local tween = TweenService:Create(circle,Info,Goals)
1007 tween:Play()
1008end)
1009
1010--mygui.maintab.bodyframe.lpframe.lpjumpframe.lpjumpbutton.Script
1011local mouse = game.Players.LocalPlayer:GetMouse()
1012
1013
1014lpjumpbutton.MouseButton1Down:connect(function()
1015 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 100 then
1016 lpjumpbutton.TextColor3 = Color3.new(1,128/255,0)
1017 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(1,128/255,0)
1018 else
1019 lpjumpbutton.TextColor3 = Color3.new(0,157/255,1)
1020 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(0,157/255,1)
1021 end
1022
1023 local x = (mouse.X) - (lpjumpbutton.AbsolutePosition.X)
1024 local y = (mouse.Y) - (lpjumpbutton.AbsolutePosition.Y)
1025 lpjumpbutton.lpjumplabel.Position = UDim2.new(0,x,0,y)
1026 lpjumpbutton.lpjumplabel.Size = UDim2.new(0,50,0,50)
1027 lpjumpbutton.lpjumplabel.ImageTransparency = 0.8
1028 lpjumpbutton.lpjumplabel.Visible = true
1029
1030 wait()
1031
1032 lpjumpbutton.lpjumplabel:TweenSize(
1033 UDim2.new(0,390,0,390),
1034 "Out",
1035 "Quint",
1036 1
1037 )
1038end)
1039
1040lpjumpbutton.MouseButton1Up:connect(function()
1041 wait(0.35)
1042 local TweenService = game:GetService("TweenService")
1043 local circle = lpjumpbutton.lpjumplabel
1044
1045 local Info = TweenInfo.new(
1046 0.2, -- Length
1047 Enum.EasingStyle.Linear, -- Easing Style
1048 Enum.EasingDirection.Out, -- Easing Direction
1049 0, -- Times repeated
1050 false, -- Reverse
1051 0 -- Delay
1052 )
1053 local Goals =
1054 {
1055 ImageTransparency = 1;
1056 }
1057
1058 local tween = TweenService:Create(circle,Info,Goals)
1059 tween:Play()
1060end)
1061
1062--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.Script
1063local mouse = game.Players.LocalPlayer:GetMouse()
1064
1065
1066generalbutton.MouseButton1Down:connect(function()
1067 local x = (mouse.X) - (generalbutton.AbsolutePosition.X)
1068 local y = (mouse.Y) - (generalbutton.AbsolutePosition.Y)
1069 generalbutton.generalbuttonlabel.Position = UDim2.new(0,x,0,y)
1070 generalbutton.generalbuttonlabel.Size = UDim2.new(0,50,0,50)
1071 generalbutton.generalbuttonlabel.ImageTransparency = 0.8
1072 generalbutton.generalbuttonlabel.Visible = true
1073
1074 wait()
1075
1076 generalbutton.generalbuttonlabel:TweenSize(
1077 UDim2.new(0,390,0,390),
1078 "Out",
1079 "Quint",
1080 1
1081 )
1082end)
1083
1084generalbutton.MouseButton1Up:connect(function()
1085 wait(0.35)
1086 local TweenService = game:GetService("TweenService")
1087 local circle = generalbutton.generalbuttonlabel
1088
1089 local Info = TweenInfo.new(
1090 0.2, -- Length
1091 Enum.EasingStyle.Linear, -- Easing Style
1092 Enum.EasingDirection.Out, -- Easing Direction
1093 0, -- Times repeated
1094 false, -- Reverse
1095 0 -- Delay
1096 )
1097 local Goals =
1098 {
1099 ImageTransparency = 1;
1100 }
1101
1102 local tween = TweenService:Create(circle,Info,Goals)
1103 tween:Play()
1104end)
1105
1106--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.TransitionScript
1107generalbutton.MouseButton1Click:connect(function()
1108 wait(0.25)
1109 menuframe:TweenPosition(
1110 UDim2.new(0,-256,0,0),
1111 "Out",
1112 "Quint",
1113 0.2
1114 )
1115 generalframe:TweenPosition(
1116 UDim2.new(0,0,0,0),
1117 "Out",
1118 "Quint",
1119 0.2
1120 )
1121 backbutton1.Visible = true
1122 backbutton1.Active = true
1123 maintab.title.Text = "General"
1124 maintab.title.TextSize = 19
1125end)
1126
1127--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.Script
1128local mouse = game.Players.LocalPlayer:GetMouse()
1129
1130
1131lpbutton.MouseButton1Down:connect(function()
1132 local x = (mouse.X) - (lpbutton.AbsolutePosition.X)
1133 local y = (mouse.Y) - (lpbutton.AbsolutePosition.Y)
1134 lpbutton.lpbuttonlabel.Position = UDim2.new(0,x,0,y)
1135 lpbutton.lpbuttonlabel.Size = UDim2.new(0,50,0,50)
1136 lpbutton.lpbuttonlabel.ImageTransparency = 0.8
1137 lpbutton.lpbuttonlabel.Visible = true
1138
1139 wait()
1140
1141 lpbuttonlabel:TweenSize(
1142 UDim2.new(0,390,0,390),
1143 "Out",
1144 "Quint",
1145 1
1146 )
1147end)
1148
1149lpbutton.MouseButton1Up:connect(function()
1150 wait(0.35)
1151 local TweenService = game:GetService("TweenService")
1152 local circle = lpbutton.lpbuttonlabel
1153
1154 local Info = TweenInfo.new(
1155 0.2, -- Length
1156 Enum.EasingStyle.Linear, -- Easing Style
1157 Enum.EasingDirection.Out, -- Easing Direction
1158 0, -- Times repeated
1159 false, -- Reverse
1160 0 -- Delay
1161 )
1162 local Goals =
1163 {
1164 ImageTransparency = 1;
1165 }
1166
1167 local tween = TweenService:Create(circle,Info,Goals)
1168 tween:Play()
1169end)
1170
1171--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.TransitionScript
1172lpbutton.MouseButton1Click:connect(function()
1173 wait(0.25)
1174 menuframe:TweenPosition(
1175 UDim2.new(0,-256,0,0),
1176 "Out",
1177 "Quint",
1178 0.2
1179 )
1180 lpframe:TweenPosition(
1181 UDim2.new(0,0,0,0),
1182 "Out",
1183 "Quint",
1184 0.2
1185 )
1186 backbutton2.Visible = true
1187 backbutton2.Active = true
1188 maintab.title.Text = "Local Player"
1189 maintab.title.TextSize = 19
1190end)
1191
1192--mygui.maintab.bodyframe.menuframe.tpbuttonframe.tpbutton.Script
1193local mouse = game.Players.LocalPlayer:GetMouse()
1194
1195
1196tpbutton.MouseButton1Down:connect(function()
1197 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1198 local y = (mouse.Y) - (tpbutton.AbsolutePosition.Y)
1199 tpbutton.tpbuttonlabel.Position = UDim2.new(0,x,0,y)
1200 tpbutton.tpbuttonlabel.Size = UDim2.new(0,0,0,0)
1201 tpbutton.tpbuttonlabel.ImageTransparency = 0.8
1202 tpbutton.tpbuttonlabel.Visible = true
1203
1204 wait()
1205
1206 tpbutton.tpbuttonlabel:TweenSize(
1207 UDim2.new(0,75,0,75),
1208 "Out",
1209 "Quint",
1210 0.9
1211 )
1212end)
1213
1214tpbutton.MouseButton1Up:connect(function()
1215 wait(0.35)
1216 local TweenService = game:GetService("TweenService")
1217 local circle = tpbutton.tpbuttonlabel
1218
1219 local Info = TweenInfo.new(
1220 0.2, -- Length
1221 Enum.EasingStyle.Linear, -- Easing Style
1222 Enum.EasingDirection.Out, -- Easing Direction
1223 0, -- Times repeated
1224 false, -- Reverse
1225 0 -- Delay
1226 )
1227 local Goals =
1228 {
1229 ImageTransparency = 1;
1230 }
1231
1232 local tween = TweenService:Create(circle,Info,Goals)
1233 tween:Play()
1234end)
1235
1236--mygui.maintab.bodyframe.menuframe.tptextbox.matscript
1237--[[tptextbox.Focused:connect(function()
1238 local mouse = game.Players.LocalPlayer:GetMouse()
1239 tptextbox.tpunderline.BackgroundTransparency = 0
1240 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1241 tpunderline.Position = UDim2.new(0,x,0,30) --insert correct offset in Y!!
1242
1243 wait()
1244 tptextbox.tpunderline:TweenSizeAndPosition(
1245 UDim2.new(0,156,0,2),
1246 UDim2.new(0,0,0,30),
1247 "Out",
1248 "Quint",
1249 0.2
1250 )
1251end)]]--
1252
1253--mygui.maintab.backbutton1.Script
1254local mouse = game.Players.LocalPlayer:GetMouse()
1255
1256backbutton1.MouseButton1Down:connect(function()
1257 backbutton1.backbutton1label.Position = UDim2.new(0.5,0,0.5,0)
1258 backbutton1.backbutton1label.Size = UDim2.new(0,0,0,0)
1259 backbutton1.backbutton1label.ImageTransparency = 0.8
1260 backbutton1.backbutton1label.Visible = true
1261
1262 wait()
1263
1264 backbutton1.backbutton1label:TweenSize(
1265 UDim2.new(0,60,0,60),
1266 "Out",
1267 "Quint",
1268 0.25
1269 )
1270end)
1271
1272backbutton1.MouseButton1Up:connect(function()
1273 wait(0.35)
1274 local TweenService = game:GetService("TweenService")
1275 local circle = backbutton1.backbutton1label
1276
1277 local Info = TweenInfo.new(
1278 0.2, -- Length
1279 Enum.EasingStyle.Linear, -- Easing Style
1280 Enum.EasingDirection.Out, -- Easing Direction
1281 0, -- Times repeated
1282 false, -- Reverse
1283 0 -- Delay
1284 )
1285 local Goals =
1286 {
1287 ImageTransparency = 1;
1288 }
1289
1290 local tween = TweenService:Create(circle,Info,Goals)
1291 tween:Play()
1292end)
1293
1294--mygui.maintab.backbutton1.TransitionScript
1295backbutton1.MouseButton1Click:connect(function()
1296 wait(0.2)
1297 menuframe:TweenPosition(
1298 UDim2.new(0,0,0,0),
1299 "Out",
1300 "Quint",
1301 0.2
1302 )
1303 generalframe:TweenPosition(
1304 UDim2.new(0,256,0,0),
1305 "Out",
1306 "Quint",
1307 0.2
1308 )
1309 backbutton1.Visible = false
1310 backbutton1.Active = false
1311 maintab.title.Text = "MM2 Gui"
1312 maintab.title.TextSize = 20
1313end)
1314
1315--mygui.maintab.backbutton2.Script
1316local mouse = game.Players.LocalPlayer:GetMouse()
1317
1318
1319backbutton2.MouseButton1Down:connect(function()
1320 backbutton2.backbutton2label.Position = UDim2.new(0.5,0,0.5,0)
1321 backbutton2.backbutton2label.Size = UDim2.new(0,0,0,0)
1322 backbutton2.backbutton2label.ImageTransparency = 0.8
1323 backbutton2.backbutton2label.Visible = true
1324
1325 wait()
1326
1327 backbutton2.backbutton2label:TweenSize(
1328 UDim2.new(0,60,0,60),
1329 "Out",
1330 "Quint",
1331 0.25
1332 )
1333end)
1334
1335backbutton2.MouseButton1Up:connect(function()
1336 wait(0.35)
1337 local TweenService = game:GetService("TweenService")
1338 local circle = backbutton2.backbutton2label
1339
1340 local Info = TweenInfo.new(
1341 0.2, -- Length
1342 Enum.EasingStyle.Linear, -- Easing Style
1343 Enum.EasingDirection.Out, -- Easing Direction
1344 0, -- Times repeated
1345 false, -- Reverse
1346 0 -- Delay
1347 )
1348 local Goals =
1349 {
1350 ImageTransparency = 1;
1351 }
1352
1353 local tween = TweenService:Create(circle,Info,Goals)
1354 tween:Play()
1355end)
1356
1357--mygui.maintab.backbutton2.TransitionScript
1358backbutton2.MouseButton1Click:connect(function()
1359 wait(0.2)
1360 menuframe:TweenPosition(
1361 UDim2.new(0,0,0,0),
1362 "Out",
1363 "Quint",
1364 0.2
1365 )
1366 lpframe:TweenPosition(
1367 UDim2.new(0,256,0,0),
1368 "Out",
1369 "Quint",
1370 0.2
1371 )
1372 backbutton2.Visible = false
1373 backbutton2.Active = false
1374 backbutton2.Parent.title.Text = "MM2 Gui"
1375 backbutton2.Parent.title.TextSize = 20
1376end)
1377
1378--mygui.maintab.creditsbutton.Script
1379local mouse = game.Players.LocalPlayer:GetMouse()
1380
1381
1382creditsbutton.MouseButton1Down:connect(function()
1383 local x = (mouse.X) - (creditsbutton.AbsolutePosition.X)
1384 local y = (mouse.Y) - (creditsbutton.AbsolutePosition.Y)
1385 creditsbutton.creditsiconlabel1.Position = UDim2.new(0,x,0,y)
1386 creditsbutton.creditsiconlabel1.Size = UDim2.new(0,0,0,0)
1387 creditsbutton.creditsiconlabel1.ImageTransparency = 0.8
1388 creditsbutton.creditsiconlabel1.Visible = true
1389
1390 wait()
1391
1392 creditsbutton.creditsiconlabel1:TweenSize(
1393 UDim2.new(0,75,0,75),
1394 "Out",
1395 "Quint",
1396 0.9
1397 )
1398end)
1399
1400creditsbutton.MouseButton1Up:connect(function()
1401 wait(0.35)
1402 local TweenService = game:GetService("TweenService")
1403 local circle = creditsbutton.creditsiconlabel1
1404
1405 local Info = TweenInfo.new(
1406 0.2, -- Length
1407 Enum.EasingStyle.Linear, -- Easing Style
1408 Enum.EasingDirection.Out, -- Easing Direction
1409 0, -- Times repeated
1410 false, -- Reverse
1411 0 -- Delay
1412 )
1413 local Goals =
1414 {
1415 ImageTransparency = 1;
1416 }
1417
1418 local tween = TweenService:Create(circle,Info,Goals)
1419 tween:Play()
1420end)
1421
1422--mygui.maintab.creditsbutton.CreditsWindowScript
1423creditsbutton.MouseButton1Click:connect(function()
1424 creditstab.Visible = true
1425 creditstab.Active = true
1426end)
1427
1428--mygui.creditstab.closecredits.Script
1429closecredits.MouseButton1Click:connect(function()
1430 creditstab.Visible = false
1431 creditstab.Active = false
1432end)
1433
1434--mygui.toggle.closeopen.CloseOpenScript
1435closeopen.MouseButton1Click:connect(function()
1436 if
1437 (maintab.Visible == true) and
1438 (maintab.Active == true) then
1439 maintab.Visible = false
1440 maintab.Active = false
1441 closeopen.Text = "Open"
1442 else
1443 maintab.Visible = true
1444 maintab.Active = true
1445 closeopen.Text = "Close"
1446 end
1447end)
1448
1449--mygui.toggle.closeopen.Script
1450local mouse = game.Players.LocalPlayer:GetMouse()
1451
1452
1453closeopen.MouseButton1Down:connect(function()
1454 local x = (mouse.X) - (closeopen.AbsolutePosition.X)
1455 local y = (mouse.Y) - (closeopen.AbsolutePosition.Y)
1456 closeopen.closeopenlabel.Position = UDim2.new(0,x,0,y)
1457 closeopen.closeopenlabel.Size = UDim2.new(0,50,0,50)
1458 closeopen.closeopenlabel.ImageTransparency = 0.8
1459 closeopen.closeopenlabel.Visible = true
1460
1461 wait()
1462
1463 closeopen.closeopenlabel:TweenSize(
1464 UDim2.new(0,240,0,240),
1465 "Out",
1466 "Quint",
1467 1
1468 )
1469end)
1470
1471closeopen.MouseButton1Up:connect(function()
1472 wait(0.35)
1473 local TweenService = game:GetService("TweenService")
1474 local circle = closeopen.closeopenlabel
1475
1476 local Info = TweenInfo.new(
1477 0.2, -- Length
1478 Enum.EasingStyle.Linear, -- Easing Style
1479 Enum.EasingDirection.Out, -- Easing Direction
1480 0, -- Times repeated
1481 false, -- Reverse
1482 0 -- Delay
1483 )
1484 local Goals =
1485 {
1486 ImageTransparency = 1;
1487 }
1488
1489 local tween = TweenService:Create(circle,Info,Goals)
1490 tween:Play()
1491end)
1492
1493--mygui.toggle.closeall.Script
1494closeall.MouseButton1Click:connect(function()
1495 mygui:Remove()
1496end)
1497
1498-- Scripts
1499
1500lpgravbutton.MouseButton1Down:connect(function()
1501 if game.Workspace.Gravity > 196.1 then
1502 game.Workspace.Gravity = 50
1503 else
1504 game.Workspace.Gravity = 196.2
1505 end
1506end)
1507
1508lpwalkbutton.MouseButton1Down:connect(function()
1509 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 then
1510 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 * 5
1511 else
1512 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
1513 end
1514end)
1515
1516lpjumpbutton.MouseButton1Down:connect(function()
1517 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 50 then
1518 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
1519 else
1520 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
1521 end
1522end)
1523
1524lpgodbutton.MouseButton1Down:connect(function()
1525 game.Players.LocalPlayer.Character.Humanoid:Remove()
1526 Instance.new('Humanoid', game.Players.LocalPlayer.Character)
1527end)
1528
1529generallobbybutton.MouseButton1Down:connect(function()
1530 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
1531end)
1532
1533generalgunbutton.MouseButton1Down:connect(function()
1534 game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
1535end)
1536
1537generalcoinbutton.MouseButton1Down:connect(function()
1538 for i = 10, 1, -1 do
1539 for i,v in pairs(game.Workspace:GetChildren()) do
1540 local s = v:FindFirstChild("CoinContainer")
1541 local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
1542 if e and s then
1543 for i,c in pairs(s:GetChildren()) do
1544 c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
1545 end
1546 end
1547 end
1548 wait(0.7)
1549 end
1550end)
1551
1552--[[tpbutton.MouseButton1Down:connect(function()
1553 for i,v in pairs(game.Workspace:GetChildren()) do
1554 if tptextbox.Text:lower() == v.Name:lower() then
1555 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1556 else
1557 print("Player not found")
1558 end
1559 end
1560end)]]--
1561
1562
1563
1564
1565--script
1566local parent = tptextbox --insert textbox name!
1567local mouse = game.Players.LocalPlayer:GetMouse()
1568
1569local xsize = parent.Size.X.Offset
1570local ysize = parent.Size.Y.Offset
1571parent.Visible = true
1572parent.Active = true
1573parent.Selectable = true
1574
1575local Underline = Instance.new("Frame")
1576local UnderlineBase = Instance.new("Frame")
1577
1578Underline.Name = "Underline"
1579Underline.Parent = parent
1580Underline.BackgroundColor3 = parent.TextColor3
1581Underline.BorderSizePixel = 0
1582Underline.Position = UDim2.new(0, 0, 1, 0)
1583Underline.Size = UDim2.new(0, 0, 0, 1)
1584
1585UnderlineBase.Name = "UnderlineBase"
1586UnderlineBase.Parent = parent
1587UnderlineBase.BackgroundColor3 = parent.TextColor3
1588UnderlineBase.BackgroundTransparency = 0.85
1589UnderlineBase.BorderSizePixel = 0
1590UnderlineBase.Position = UDim2.new(0, 0, 1, 0)
1591UnderlineBase.Size = UDim2.new(0, xsize, 0, 1)
1592
1593parent.Focused:connect(function()
1594 local x = (mouse.X) - (parent.AbsolutePosition.X)
1595 Underline.BackgroundTransparency = 0
1596 Underline.Position = UDim2.new(0,x,1,0)
1597 wait()
1598 Underline:TweenSizeAndPosition(
1599 UDim2.new(0, xsize, 0, 1),
1600 UDim2.new(0, 0, 1, 0),
1601 "Out",
1602 "Quint",
1603 0.2
1604 )
1605end)
1606
1607parent.FocusLost:connect(function(enterPressed)
1608 if parent.Text == "" then
1609 parent.Text = "Player Name"
1610 end
1611
1612 local TweenService = game:GetService("TweenService")
1613
1614 local Info = TweenInfo.new(
1615 0.15,
1616 Enum.EasingStyle.Linear,
1617 Enum.EasingDirection.Out,
1618 0,
1619 false,
1620 0
1621 )
1622 local Goals =
1623 {
1624 BackgroundTransparency = 1;
1625 }
1626
1627 local tween = TweenService:Create(Underline,Info,Goals)
1628 tween:Play()
1629
1630 wait(0.15)
1631 Underline.Size = UDim2.new(0,0,0,1)
1632
1633 if enterPressed then
1634 for i,v in pairs(game.Workspace:GetChildren()) do
1635 if tptextbox.Text:lower() == v.Name:lower() then
1636 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1637 else
1638 print("Player not found")
1639 end
1640 end
1641 print(true)
1642 elseif tptextbox.Text ~= "Player Name" then
1643 tptextbox.Text = "Press Enter to TP"
1644 end
1645end)
1646
1647--/script
1648
1649if enterPressed then
1650 for i,v in pairs(game.Workspace:GetChildren()) do
1651 if tptextbox.Text:lower() == v.Name:lower() then
1652 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1653 else
1654 print("Player not found")
1655 end
1656 end
1657end
1658
1659generalespbutton.MouseButton1Down:connect(function()
1660 --credits to Nebula Hub for the esp + aimbot
1661 PLAYER = game.Players.LocalPlayer
1662 MOUSE = PLAYER:GetMouse()
1663 CC = game.Workspace.CurrentCamera
1664
1665 ENABLED = false
1666 ESP_ENABLED = false
1667
1668 _G.FREE_FOR_ALL = true
1669
1670 _G.BIND = 50
1671 _G.ESP_BIND = 52
1672 _G.CHANGE_AIM = 'q'
1673
1674 _G.AIM_AT = 'Head'
1675
1676 wait(1)
1677
1678 function GetNearestPlayerToMouse()
1679 local PLAYERS = {}
1680 local PLAYER_HOLD = {}
1681 local DISTANCES = {}
1682 for i, v in pairs(game.Players:GetPlayers()) do
1683 if v ~= PLAYER then
1684 table.insert(PLAYERS, v)
1685 end
1686 end
1687 for i, v in pairs(PLAYERS) do
1688 if _G.FREE_FOR_ALL == false then
1689 if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
1690 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1691 if AIM ~= nil then
1692 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1693 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1694 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1695 local DIFF = math.floor((POS - AIM.Position).magnitude)
1696 PLAYER_HOLD[v.Name .. i] = {}
1697 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1698 PLAYER_HOLD[v.Name .. i].plr = v
1699 PLAYER_HOLD[v.Name .. i].diff = DIFF
1700 table.insert(DISTANCES, DIFF)
1701 end
1702 end
1703 elseif _G.FREE_FOR_ALL == true then
1704 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1705 if AIM ~= nil then
1706 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1707 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1708 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1709 local DIFF = math.floor((POS - AIM.Position).magnitude)
1710 PLAYER_HOLD[v.Name .. i] = {}
1711 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1712 PLAYER_HOLD[v.Name .. i].plr = v
1713 PLAYER_HOLD[v.Name .. i].diff = DIFF
1714 table.insert(DISTANCES, DIFF)
1715 end
1716 end
1717 end
1718
1719 if unpack(DISTANCES) == nil then
1720 return false
1721 end
1722
1723 local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
1724 if L_DISTANCE > 20 then
1725 return false
1726 end
1727
1728 for i, v in pairs(PLAYER_HOLD) do
1729 if v.diff == L_DISTANCE then
1730 return v.plr
1731 end
1732 end
1733 return false
1734 end
1735
1736 GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
1737 GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
1738 GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
1739
1740 GUI_MAIN.Name = 'AIMBOT'
1741
1742 GUI_TARGET.Size = UDim2.new(0,200,0,30)
1743 GUI_TARGET.BackgroundTransparency = 0.5
1744 GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
1745 GUI_TARGET.BorderSizePixel = 0
1746 GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
1747 GUI_TARGET.Text = 'AIMBOT : OFF'
1748 GUI_TARGET.TextColor3 = Color3.new(1,1,1)
1749 GUI_TARGET.TextStrokeTransparency = 1
1750 GUI_TARGET.TextWrapped = true
1751 GUI_TARGET.FontSize = 'Size24'
1752 GUI_TARGET.Font = 'SourceSansBold'
1753
1754 GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
1755 GUI_AIM_AT.BackgroundTransparency = 0.5
1756 GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
1757 GUI_AIM_AT.BorderSizePixel = 0
1758 GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
1759 GUI_AIM_AT.Text = 'AIMING : HEAD'
1760 GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
1761 GUI_AIM_AT.TextStrokeTransparency = 1
1762 GUI_AIM_AT.TextWrapped = true
1763 GUI_AIM_AT.FontSize = 'Size18'
1764 GUI_AIM_AT.Font = 'SourceSansBold'
1765
1766 local TRACK = false
1767
1768 function CREATE(BASE, COLOR)
1769 local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
1770 local ESP_DOT = Instance.new('Frame', ESP_MAIN)
1771 local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
1772
1773 ESP_MAIN.Name = 'ESP'
1774 ESP_MAIN.Adornee = BASE
1775 ESP_MAIN.AlwaysOnTop = true
1776 ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
1777 ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
1778
1779 ESP_DOT.Name = 'DOT'
1780 ESP_DOT.BackgroundColor3 = COLOR
1781 ESP_DOT.BackgroundTransparency = 0.3
1782 ESP_DOT.BorderSizePixel = 0
1783 ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
1784 ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
1785 ESP_DOT.Visible = true
1786 ESP_DOT.ZIndex = 10
1787
1788 ESP_NAME.Name = 'NAME'
1789 ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
1790 ESP_NAME.BackgroundTransparency = 1
1791 ESP_NAME.BorderSizePixel = 0
1792 ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
1793 ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
1794 ESP_NAME.Visible = true
1795 ESP_NAME.ZIndex = 10
1796 ESP_NAME.Font = 'ArialBold'
1797 ESP_NAME.FontSize = 'Size14'
1798 ESP_NAME.Text = BASE.Parent.Name:upper()
1799 ESP_NAME.TextColor3 = COLOR
1800 end
1801
1802 function CLEAR()
1803 for _,v in pairs(PLAYER.PlayerGui:children()) do
1804 if v.Name == 'ESP' and v:IsA('BillboardGui') then
1805 v:Destroy()
1806 end
1807 end
1808 end
1809
1810 local Remote = game:service'ReplicatedStorage'.GetPlayerData
1811 local player_roles = Remote:InvokeServer()
1812 function FIND()
1813 CLEAR()
1814 TRACK = true
1815 spawn(function()
1816 while wait() do
1817 if TRACK then
1818 CLEAR()
1819 local a,b = ypcall(function()
1820 for name,player in pairs(player_roles)do
1821 if game:service'Players':FindFirstChild(name) ~= nil then
1822 local v = game:service'Players':FindFirstChild(name)
1823 if v.Character and v.Character:FindFirstChild('Head') then
1824 if v.Character:FindFirstChild('Head') then
1825 if player.Dead ~= true then
1826 if player.Role == "Murderer"then
1827 CREATE(v.Character.Head, Color3.new(1,0,0))
1828 elseif player.Role == "Sheriff" or player.Role == "Hero" then
1829 CREATE(v.Character.Head, Color3.new(0,0,1))
1830 else
1831 CREATE(v.Character.Head, Color3.new(0,1,0))
1832 end
1833 end
1834 end
1835 end
1836 end
1837 end
1838 end)
1839 end
1840 end
1841 wait(1)
1842 end)
1843 end
1844 coroutine.wrap(function()
1845 while wait()do
1846 player_roles = Remote:InvokeServer()
1847 end
1848 end)()
1849
1850 MOUSE.KeyDown:connect(function(KEY)
1851 KEY = KEY:lower():byte()
1852 if KEY == _G.BIND then
1853 ENABLED = true
1854 end
1855 end)
1856
1857 MOUSE.KeyUp:connect(function(KEY)
1858 KEY = KEY:lower():byte()
1859 if KEY == _G.BIND then
1860 ENABLED = false
1861 end
1862 end)
1863
1864 MOUSE.KeyDown:connect(function(KEY)
1865 KEY = KEY:lower():byte()
1866 if KEY == _G.ESP_BIND then
1867 if ESP_ENABLED == false then
1868 FIND()
1869 ESP_ENABLED = true
1870 print('ESP : ON')
1871 elseif ESP_ENABLED == true then
1872 wait()
1873 CLEAR()
1874 TRACK = false
1875 ESP_ENABLED = false
1876 print('ESP : OFF')
1877 end
1878 end
1879 end)
1880
1881 MOUSE.KeyDown:connect(function(KEY)
1882 if KEY == _G.CHANGE_AIM then
1883 if _G.AIM_AT == 'Head' then
1884 _G.AIM_AT = 'Torso'
1885 GUI_AIM_AT.Text = 'AIMING : TORSO'
1886 elseif _G.AIM_AT == 'Torso' then
1887 _G.AIM_AT = 'Head'
1888 GUI_AIM_AT.Text = 'AIMING : HEAD'
1889 end
1890 end
1891 end)
1892
1893 game:GetService('RunService').RenderStepped:connect(function()
1894 if ENABLED then
1895 local TARGET = GetNearestPlayerToMouse()
1896 if (TARGET ~= false) then
1897 local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
1898 if AIM then
1899 CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
1900 end
1901 GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
1902 else
1903 GUI_TARGET.Text = 'AIMBOT : OFF'
1904 end
1905 end
1906 end)
1907
1908 repeat
1909 wait()
1910 if ESP_ENABLED == true then
1911 FIND()
1912 end
1913 until ESP_ENABLED == false
1914
1915
1916 wait()
1917
1918 _G.FREE_FOR_ALL = true
1919
1920 _G.BIND = 50 -- LEFT CTRL
1921 _G.ESP_BIND = 52 -- LEFT ALT
1922end)
1923
1924local plr = game.Players.LocalPlayer
1925
1926plr:GetMouse().KeyDown:connect(function(KeyUp)
1927 if KeyUp == "0" then
1928 plr.Character.Humanoid.WalkSpeed = 35
1929 end
1930end)
1931
1932plr:GetMouse().KeyUp:connect(function(KeyUp)
1933 if KeyUp == "0" then
1934 plr.Character.Humanoid.WalkSpeed = 16
1935 end
1936end)
1937-- jk edited by jomail