· 6 years ago · Mar 23, 2019, 07:06 AM
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 for i = 10, 1, -1 do
796 for i,v in pairs(game.Workspace:GetChildren()) do
797 local s = v:FindFirstChild("CoinContainer")
798 local e = game.Players.LocalPlayer.Character:FindFirstChild("LowerTorso")
799 if e and s then
800 for i,c in pairs(s:GetChildren()) do
801 c.CFrame = game.Players.LocalPlayer.Character.LowerTorso.CFrame
802 end
803 end
804 end
805 game:GetService("RunService").RenderStepped:Wait(0.7)
806 end
807end)
808
809--mygui.maintab.bodyframe.generalframe.generalespframe.generalespbutton.Script
810local mouse = game.Players.LocalPlayer:GetMouse()
811
812
813generalespbutton.MouseButton1Down:connect(function()
814 local x = (mouse.X) - (generalespbutton.AbsolutePosition.X)
815 local y = (mouse.Y) - (generalespbutton.AbsolutePosition.Y)
816 generalesplabel.Position = UDim2.new(0,x,0,y)
817 generalesplabel.Size = UDim2.new(0,50,0,50)
818 generalesplabel.ImageTransparency = 0.8
819 generalesplabel.Visible = true
820
821 wait()
822
823 generalesplabel:TweenSize(
824 UDim2.new(0,390,0,390),
825 "Out",
826 "Quint",
827 1
828 )
829end)
830
831generalespbutton.MouseButton1Up:connect(function()
832 wait(0.35)
833 local TweenService = game:GetService("TweenService")
834 local circle = generalesplabel
835
836 local Info = TweenInfo.new(
837 0.2, -- Length
838 Enum.EasingStyle.Linear, -- Easing Style
839 Enum.EasingDirection.Out, -- Easing Direction
840 0, -- Times repeated
841 false, -- Reverse
842 0 -- Delay
843 )
844 local Goals =
845 {
846 ImageTransparency = 1;
847 }
848
849 local tween = TweenService:Create(circle,Info,Goals)
850 tween:Play()
851end)
852
853--mygui.maintab.bodyframe.lpframe.lpgodframe.lpgodbutton.Script
854local mouse = game.Players.LocalPlayer:GetMouse()
855
856
857lpgodbutton.MouseButton1Down:connect(function()
858 local x = (mouse.X) - (lpgodbutton.AbsolutePosition.X)
859 local y = (mouse.Y) - (lpgodbutton.AbsolutePosition.Y)
860 lpgodbutton.lpgodlabel.Position = UDim2.new(0,x,0,y)
861 lpgodbutton.lpgodlabel.Size = UDim2.new(0,50,0,50)
862 lpgodbutton.lpgodlabel.ImageTransparency = 0.8
863 lpgodbutton.lpgodlabel.Visible = true
864
865 wait()
866
867 lpgodbutton.lpgodlabel:TweenSize(
868 UDim2.new(0,390,0,390),
869 "Out",
870 "Quint",
871 1
872 )
873end)
874
875lpgodbutton.MouseButton1Up:connect(function()
876 wait(0.35)
877 local TweenService = game:GetService("TweenService")
878 local circle = lpgodbutton.lpgodlabel
879
880 local Info = TweenInfo.new(
881 0.2, -- Length
882 Enum.EasingStyle.Linear, -- Easing Style
883 Enum.EasingDirection.Out, -- Easing Direction
884 0, -- Times repeated
885 false, -- Reverse
886 0 -- Delay
887 )
888 local Goals =
889 {
890 ImageTransparency = 1;
891 }
892
893 local tween = TweenService:Create(circle,Info,Goals)
894 tween:Play()
895end)
896
897--mygui.maintab.bodyframe.lpframe.lpwalkframe.lpwalkbutton.Script
898local mouse = game.Players.LocalPlayer:GetMouse()
899
900
901lpwalkbutton.MouseButton1Down:connect(function()
902 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 * 5 then
903 lpwalkbutton.TextColor3 = Color3.new(1,128/255,0)
904 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(1,128/255,0)
905 else
906 lpwalkbutton.TextColor3 = Color3.new(0,157/255,1)
907 lpwalkbutton.lpwalklabel.ImageColor3 = Color3.new(0,157/255,1)
908 end
909
910 local x = (mouse.X) - (lpwalkbutton.AbsolutePosition.X)
911 local y = (mouse.Y) - (lpwalkbutton.AbsolutePosition.Y)
912 lpwalkbutton.lpwalklabel.Position = UDim2.new(0,x,0,y)
913 lpwalkbutton.lpwalklabel.Size = UDim2.new(0,50,0,50)
914 lpwalkbutton.lpwalklabel.ImageTransparency = 0.8
915 lpwalkbutton.lpwalklabel.Visible = true
916
917 wait()
918
919 lpwalkbutton.lpwalklabel:TweenSize(
920 UDim2.new(0,390,0,390),
921 "Out",
922 "Quint",
923 1
924 )
925end)
926
927lpwalkbutton.MouseButton1Up:connect(function()
928 wait(0.35)
929 local TweenService = game:GetService("TweenService")
930 local circle = lpwalkbutton.lpwalklabel
931
932 local Info = TweenInfo.new(
933 0.2, -- Length
934 Enum.EasingStyle.Linear, -- Easing Style
935 Enum.EasingDirection.Out, -- Easing Direction
936 0, -- Times repeated
937 false, -- Reverse
938 0 -- Delay
939 )
940 local Goals =
941 {
942 ImageTransparency = 1;
943 }
944
945 local tween = TweenService:Create(circle,Info,Goals)
946 tween:Play()
947end)
948
949--mygui.maintab.bodyframe.lpframe.lpgravframe.lpgravbutton.Script
950local mouse = game.Players.LocalPlayer:GetMouse()
951
952lpgravbutton.MouseButton1Down:connect(function()
953 if game.Workspace.Gravity < 196.1 then
954 lpgravbutton.TextColor3 = Color3.new(1,128/255,0)
955 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(1,128/255,0)
956 else
957 lpgravbutton.TextColor3 = Color3.new(0,157/255,1)
958 lpgravbutton.lpgravlabel.ImageColor3 = Color3.new(0,157/255,1)
959 end
960
961 local x = (mouse.X) - (lpgravbutton.AbsolutePosition.X)
962 local y = (mouse.Y) - (lpgravbutton.AbsolutePosition.Y)
963 lpgravbutton.lpgravlabel.Position = UDim2.new(0,x,0,y)
964 lpgravbutton.lpgravlabel.Size = UDim2.new(0,50,0,50)
965 lpgravbutton.lpgravlabel.ImageTransparency = 0.8
966 lpgravbutton.lpgravlabel.Visible = true
967
968 wait()
969
970 lpgravbutton.lpgravlabel:TweenSize(
971 UDim2.new(0,390,0,390),
972 "Out",
973 "Quint",
974 1
975 )
976end)
977
978lpgravbutton.MouseButton1Up:connect(function()
979 wait(0.35)
980 local TweenService = game:GetService("TweenService")
981 local circle = lpgravbutton.lpgravlabel
982
983 local Info = TweenInfo.new(
984 0.2, -- Length
985 Enum.EasingStyle.Linear, -- Easing Style
986 Enum.EasingDirection.Out, -- Easing Direction
987 0, -- Times repeated
988 false, -- Reverse
989 0 -- Delay
990 )
991 local Goals =
992 {
993 ImageTransparency = 1;
994 }
995
996 local tween = TweenService:Create(circle,Info,Goals)
997 tween:Play()
998end)
999
1000--mygui.maintab.bodyframe.lpframe.lpjumpframe.lpjumpbutton.Script
1001local mouse = game.Players.LocalPlayer:GetMouse()
1002
1003
1004lpjumpbutton.MouseButton1Down:connect(function()
1005 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 100 then
1006 lpjumpbutton.TextColor3 = Color3.new(1,128/255,0)
1007 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(1,128/255,0)
1008 else
1009 lpjumpbutton.TextColor3 = Color3.new(0,157/255,1)
1010 lpjumpbutton.lpjumplabel.ImageColor3 = Color3.new(0,157/255,1)
1011 end
1012
1013 local x = (mouse.X) - (lpjumpbutton.AbsolutePosition.X)
1014 local y = (mouse.Y) - (lpjumpbutton.AbsolutePosition.Y)
1015 lpjumpbutton.lpjumplabel.Position = UDim2.new(0,x,0,y)
1016 lpjumpbutton.lpjumplabel.Size = UDim2.new(0,50,0,50)
1017 lpjumpbutton.lpjumplabel.ImageTransparency = 0.8
1018 lpjumpbutton.lpjumplabel.Visible = true
1019
1020 wait()
1021
1022 lpjumpbutton.lpjumplabel:TweenSize(
1023 UDim2.new(0,390,0,390),
1024 "Out",
1025 "Quint",
1026 1
1027 )
1028end)
1029
1030lpjumpbutton.MouseButton1Up:connect(function()
1031 wait(0.35)
1032 local TweenService = game:GetService("TweenService")
1033 local circle = lpjumpbutton.lpjumplabel
1034
1035 local Info = TweenInfo.new(
1036 0.2, -- Length
1037 Enum.EasingStyle.Linear, -- Easing Style
1038 Enum.EasingDirection.Out, -- Easing Direction
1039 0, -- Times repeated
1040 false, -- Reverse
1041 0 -- Delay
1042 )
1043 local Goals =
1044 {
1045 ImageTransparency = 1;
1046 }
1047
1048 local tween = TweenService:Create(circle,Info,Goals)
1049 tween:Play()
1050end)
1051
1052--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.Script
1053local mouse = game.Players.LocalPlayer:GetMouse()
1054
1055
1056generalbutton.MouseButton1Down:connect(function()
1057 local x = (mouse.X) - (generalbutton.AbsolutePosition.X)
1058 local y = (mouse.Y) - (generalbutton.AbsolutePosition.Y)
1059 generalbutton.generalbuttonlabel.Position = UDim2.new(0,x,0,y)
1060 generalbutton.generalbuttonlabel.Size = UDim2.new(0,50,0,50)
1061 generalbutton.generalbuttonlabel.ImageTransparency = 0.8
1062 generalbutton.generalbuttonlabel.Visible = true
1063
1064 wait()
1065
1066 generalbutton.generalbuttonlabel:TweenSize(
1067 UDim2.new(0,390,0,390),
1068 "Out",
1069 "Quint",
1070 1
1071 )
1072end)
1073
1074generalbutton.MouseButton1Up:connect(function()
1075 wait(0.35)
1076 local TweenService = game:GetService("TweenService")
1077 local circle = generalbutton.generalbuttonlabel
1078
1079 local Info = TweenInfo.new(
1080 0.2, -- Length
1081 Enum.EasingStyle.Linear, -- Easing Style
1082 Enum.EasingDirection.Out, -- Easing Direction
1083 0, -- Times repeated
1084 false, -- Reverse
1085 0 -- Delay
1086 )
1087 local Goals =
1088 {
1089 ImageTransparency = 1;
1090 }
1091
1092 local tween = TweenService:Create(circle,Info,Goals)
1093 tween:Play()
1094end)
1095
1096--mygui.maintab.bodyframe.menuframe.generalbuttonframe.generalbutton.TransitionScript
1097generalbutton.MouseButton1Click:connect(function()
1098 wait(0.25)
1099 menuframe:TweenPosition(
1100 UDim2.new(0,-256,0,0),
1101 "Out",
1102 "Quint",
1103 0.2
1104 )
1105 generalframe:TweenPosition(
1106 UDim2.new(0,0,0,0),
1107 "Out",
1108 "Quint",
1109 0.2
1110 )
1111 backbutton1.Visible = true
1112 backbutton1.Active = true
1113 maintab.title.Text = "General"
1114 maintab.title.TextSize = 19
1115end)
1116
1117--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.Script
1118local mouse = game.Players.LocalPlayer:GetMouse()
1119
1120
1121lpbutton.MouseButton1Down:connect(function()
1122 local x = (mouse.X) - (lpbutton.AbsolutePosition.X)
1123 local y = (mouse.Y) - (lpbutton.AbsolutePosition.Y)
1124 lpbutton.lpbuttonlabel.Position = UDim2.new(0,x,0,y)
1125 lpbutton.lpbuttonlabel.Size = UDim2.new(0,50,0,50)
1126 lpbutton.lpbuttonlabel.ImageTransparency = 0.8
1127 lpbutton.lpbuttonlabel.Visible = true
1128
1129 wait()
1130
1131 lpbuttonlabel:TweenSize(
1132 UDim2.new(0,390,0,390),
1133 "Out",
1134 "Quint",
1135 1
1136 )
1137end)
1138
1139lpbutton.MouseButton1Up:connect(function()
1140 wait(0.35)
1141 local TweenService = game:GetService("TweenService")
1142 local circle = lpbutton.lpbuttonlabel
1143
1144 local Info = TweenInfo.new(
1145 0.2, -- Length
1146 Enum.EasingStyle.Linear, -- Easing Style
1147 Enum.EasingDirection.Out, -- Easing Direction
1148 0, -- Times repeated
1149 false, -- Reverse
1150 0 -- Delay
1151 )
1152 local Goals =
1153 {
1154 ImageTransparency = 1;
1155 }
1156
1157 local tween = TweenService:Create(circle,Info,Goals)
1158 tween:Play()
1159end)
1160
1161--mygui.maintab.bodyframe.menuframe.lpbuttonframe.lpbutton.TransitionScript
1162lpbutton.MouseButton1Click:connect(function()
1163 wait(0.25)
1164 menuframe:TweenPosition(
1165 UDim2.new(0,-256,0,0),
1166 "Out",
1167 "Quint",
1168 0.2
1169 )
1170 lpframe:TweenPosition(
1171 UDim2.new(0,0,0,0),
1172 "Out",
1173 "Quint",
1174 0.2
1175 )
1176 backbutton2.Visible = true
1177 backbutton2.Active = true
1178 maintab.title.Text = "Local Player"
1179 maintab.title.TextSize = 19
1180end)
1181
1182--mygui.maintab.bodyframe.menuframe.tpbuttonframe.tpbutton.Script
1183local mouse = game.Players.LocalPlayer:GetMouse()
1184
1185
1186tpbutton.MouseButton1Down:connect(function()
1187 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1188 local y = (mouse.Y) - (tpbutton.AbsolutePosition.Y)
1189 tpbutton.tpbuttonlabel.Position = UDim2.new(0,x,0,y)
1190 tpbutton.tpbuttonlabel.Size = UDim2.new(0,0,0,0)
1191 tpbutton.tpbuttonlabel.ImageTransparency = 0.8
1192 tpbutton.tpbuttonlabel.Visible = true
1193
1194 wait()
1195
1196 tpbutton.tpbuttonlabel:TweenSize(
1197 UDim2.new(0,75,0,75),
1198 "Out",
1199 "Quint",
1200 0.9
1201 )
1202end)
1203
1204tpbutton.MouseButton1Up:connect(function()
1205 wait(0.35)
1206 local TweenService = game:GetService("TweenService")
1207 local circle = tpbutton.tpbuttonlabel
1208
1209 local Info = TweenInfo.new(
1210 0.2, -- Length
1211 Enum.EasingStyle.Linear, -- Easing Style
1212 Enum.EasingDirection.Out, -- Easing Direction
1213 0, -- Times repeated
1214 false, -- Reverse
1215 0 -- Delay
1216 )
1217 local Goals =
1218 {
1219 ImageTransparency = 1;
1220 }
1221
1222 local tween = TweenService:Create(circle,Info,Goals)
1223 tween:Play()
1224end)
1225
1226--mygui.maintab.bodyframe.menuframe.tptextbox.matscript
1227--[[tptextbox.Focused:connect(function()
1228 local mouse = game.Players.LocalPlayer:GetMouse()
1229 tptextbox.tpunderline.BackgroundTransparency = 0
1230 local x = (mouse.X) - (tpbutton.AbsolutePosition.X)
1231 tpunderline.Position = UDim2.new(0,x,0,30) --insert correct offset in Y!!
1232
1233 wait()
1234 tptextbox.tpunderline:TweenSizeAndPosition(
1235 UDim2.new(0,156,0,2),
1236 UDim2.new(0,0,0,30),
1237 "Out",
1238 "Quint",
1239 0.2
1240 )
1241end)]]--
1242
1243--mygui.maintab.backbutton1.Script
1244local mouse = game.Players.LocalPlayer:GetMouse()
1245
1246backbutton1.MouseButton1Down:connect(function()
1247 backbutton1.backbutton1label.Position = UDim2.new(0.5,0,0.5,0)
1248 backbutton1.backbutton1label.Size = UDim2.new(0,0,0,0)
1249 backbutton1.backbutton1label.ImageTransparency = 0.8
1250 backbutton1.backbutton1label.Visible = true
1251
1252 wait()
1253
1254 backbutton1.backbutton1label:TweenSize(
1255 UDim2.new(0,60,0,60),
1256 "Out",
1257 "Quint",
1258 0.25
1259 )
1260end)
1261
1262backbutton1.MouseButton1Up:connect(function()
1263 wait(0.35)
1264 local TweenService = game:GetService("TweenService")
1265 local circle = backbutton1.backbutton1label
1266
1267 local Info = TweenInfo.new(
1268 0.2, -- Length
1269 Enum.EasingStyle.Linear, -- Easing Style
1270 Enum.EasingDirection.Out, -- Easing Direction
1271 0, -- Times repeated
1272 false, -- Reverse
1273 0 -- Delay
1274 )
1275 local Goals =
1276 {
1277 ImageTransparency = 1;
1278 }
1279
1280 local tween = TweenService:Create(circle,Info,Goals)
1281 tween:Play()
1282end)
1283
1284--mygui.maintab.backbutton1.TransitionScript
1285backbutton1.MouseButton1Click:connect(function()
1286 wait(0.2)
1287 menuframe:TweenPosition(
1288 UDim2.new(0,0,0,0),
1289 "Out",
1290 "Quint",
1291 0.2
1292 )
1293 generalframe:TweenPosition(
1294 UDim2.new(0,256,0,0),
1295 "Out",
1296 "Quint",
1297 0.2
1298 )
1299 backbutton1.Visible = false
1300 backbutton1.Active = false
1301 maintab.title.Text = "MM2 Gui"
1302 maintab.title.TextSize = 20
1303end)
1304
1305--mygui.maintab.backbutton2.Script
1306local mouse = game.Players.LocalPlayer:GetMouse()
1307
1308
1309backbutton2.MouseButton1Down:connect(function()
1310 backbutton2.backbutton2label.Position = UDim2.new(0.5,0,0.5,0)
1311 backbutton2.backbutton2label.Size = UDim2.new(0,0,0,0)
1312 backbutton2.backbutton2label.ImageTransparency = 0.8
1313 backbutton2.backbutton2label.Visible = true
1314
1315 wait()
1316
1317 backbutton2.backbutton2label:TweenSize(
1318 UDim2.new(0,60,0,60),
1319 "Out",
1320 "Quint",
1321 0.25
1322 )
1323end)
1324
1325backbutton2.MouseButton1Up:connect(function()
1326 wait(0.35)
1327 local TweenService = game:GetService("TweenService")
1328 local circle = backbutton2.backbutton2label
1329
1330 local Info = TweenInfo.new(
1331 0.2, -- Length
1332 Enum.EasingStyle.Linear, -- Easing Style
1333 Enum.EasingDirection.Out, -- Easing Direction
1334 0, -- Times repeated
1335 false, -- Reverse
1336 0 -- Delay
1337 )
1338 local Goals =
1339 {
1340 ImageTransparency = 1;
1341 }
1342
1343 local tween = TweenService:Create(circle,Info,Goals)
1344 tween:Play()
1345end)
1346
1347--mygui.maintab.backbutton2.TransitionScript
1348backbutton2.MouseButton1Click:connect(function()
1349 wait(0.2)
1350 menuframe:TweenPosition(
1351 UDim2.new(0,0,0,0),
1352 "Out",
1353 "Quint",
1354 0.2
1355 )
1356 lpframe:TweenPosition(
1357 UDim2.new(0,256,0,0),
1358 "Out",
1359 "Quint",
1360 0.2
1361 )
1362 backbutton2.Visible = false
1363 backbutton2.Active = false
1364 backbutton2.Parent.title.Text = "MM2 Gui"
1365 backbutton2.Parent.title.TextSize = 20
1366end)
1367
1368--mygui.maintab.creditsbutton.Script
1369local mouse = game.Players.LocalPlayer:GetMouse()
1370
1371
1372creditsbutton.MouseButton1Down:connect(function()
1373 local x = (mouse.X) - (creditsbutton.AbsolutePosition.X)
1374 local y = (mouse.Y) - (creditsbutton.AbsolutePosition.Y)
1375 creditsbutton.creditsiconlabel1.Position = UDim2.new(0,x,0,y)
1376 creditsbutton.creditsiconlabel1.Size = UDim2.new(0,0,0,0)
1377 creditsbutton.creditsiconlabel1.ImageTransparency = 0.8
1378 creditsbutton.creditsiconlabel1.Visible = true
1379
1380 wait()
1381
1382 creditsbutton.creditsiconlabel1:TweenSize(
1383 UDim2.new(0,75,0,75),
1384 "Out",
1385 "Quint",
1386 0.9
1387 )
1388end)
1389
1390creditsbutton.MouseButton1Up:connect(function()
1391 wait(0.35)
1392 local TweenService = game:GetService("TweenService")
1393 local circle = creditsbutton.creditsiconlabel1
1394
1395 local Info = TweenInfo.new(
1396 0.2, -- Length
1397 Enum.EasingStyle.Linear, -- Easing Style
1398 Enum.EasingDirection.Out, -- Easing Direction
1399 0, -- Times repeated
1400 false, -- Reverse
1401 0 -- Delay
1402 )
1403 local Goals =
1404 {
1405 ImageTransparency = 1;
1406 }
1407
1408 local tween = TweenService:Create(circle,Info,Goals)
1409 tween:Play()
1410end)
1411
1412--mygui.maintab.creditsbutton.CreditsWindowScript
1413creditsbutton.MouseButton1Click:connect(function()
1414 creditstab.Visible = true
1415 creditstab.Active = true
1416end)
1417
1418--mygui.creditstab.closecredits.Script
1419closecredits.MouseButton1Click:connect(function()
1420 creditstab.Visible = false
1421 creditstab.Active = false
1422end)
1423
1424--mygui.toggle.closeopen.CloseOpenScript
1425closeopen.MouseButton1Click:connect(function()
1426 if
1427 (maintab.Visible == true) and
1428 (maintab.Active == true) then
1429 maintab.Visible = false
1430 maintab.Active = false
1431 closeopen.Text = "Open"
1432 else
1433 maintab.Visible = true
1434 maintab.Active = true
1435 closeopen.Text = "Close"
1436 end
1437end)
1438
1439--mygui.toggle.closeopen.Script
1440local mouse = game.Players.LocalPlayer:GetMouse()
1441
1442
1443closeopen.MouseButton1Down:connect(function()
1444 local x = (mouse.X) - (closeopen.AbsolutePosition.X)
1445 local y = (mouse.Y) - (closeopen.AbsolutePosition.Y)
1446 closeopen.closeopenlabel.Position = UDim2.new(0,x,0,y)
1447 closeopen.closeopenlabel.Size = UDim2.new(0,50,0,50)
1448 closeopen.closeopenlabel.ImageTransparency = 0.8
1449 closeopen.closeopenlabel.Visible = true
1450
1451 wait()
1452
1453 closeopen.closeopenlabel:TweenSize(
1454 UDim2.new(0,240,0,240),
1455 "Out",
1456 "Quint",
1457 1
1458 )
1459end)
1460
1461closeopen.MouseButton1Up:connect(function()
1462 wait(0.35)
1463 local TweenService = game:GetService("TweenService")
1464 local circle = closeopen.closeopenlabel
1465
1466 local Info = TweenInfo.new(
1467 0.2, -- Length
1468 Enum.EasingStyle.Linear, -- Easing Style
1469 Enum.EasingDirection.Out, -- Easing Direction
1470 0, -- Times repeated
1471 false, -- Reverse
1472 0 -- Delay
1473 )
1474 local Goals =
1475 {
1476 ImageTransparency = 1;
1477 }
1478
1479 local tween = TweenService:Create(circle,Info,Goals)
1480 tween:Play()
1481end)
1482
1483--mygui.toggle.closeall.Script
1484closeall.MouseButton1Click:connect(function()
1485 mygui:Remove()
1486end)
1487
1488-- Scripts
1489
1490lpgravbutton.MouseButton1Down:connect(function()
1491 if game.Workspace.Gravity > 196.1 then
1492 game.Workspace.Gravity = 50
1493 else
1494 game.Workspace.Gravity = 196.2
1495 end
1496end)
1497
1498lpwalkbutton.MouseButton1Down:connect(function()
1499 if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed == 16 then
1500 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 * 5
1501 else
1502 game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
1503 end
1504end)
1505
1506lpjumpbutton.MouseButton1Down:connect(function()
1507 if game.Players.LocalPlayer.Character.Humanoid.JumpPower == 50 then
1508 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
1509 else
1510 game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
1511 end
1512end)
1513
1514lpgodbutton.MouseButton1Down:connect(function()
1515 game.Players.LocalPlayer.Character.Humanoid:Remove()
1516 Instance.new('Humanoid', game.Players.LocalPlayer.Character)
1517end)
1518
1519generallobbybutton.MouseButton1Down:connect(function()
1520 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-109.56, 140, -11.75) + Vector3.new(1, 0, 0)
1521end)
1522
1523generalgunbutton.MouseButton1Down:connect(function()
1524 game.Workspace.GunDrop.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(2,0,0)
1525end)
1526
1527generalcoinbutton.MouseButton1Down:connect(function()
1528 for i = 10, 1, -1 do
1529 for i,v in pairs(game.Workspace:GetChildren()) do
1530 local s = v:FindFirstChild("CoinContainer")
1531 local e = game.Players.LocalPlayer.Character:FindFirstChild("Torso")
1532 if e and s then
1533 for i,c in pairs(s:GetChildren()) do
1534 c.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame
1535 end
1536 end
1537 end
1538 wait(0.7)
1539 end
1540end)
1541
1542--[[tpbutton.MouseButton1Down:connect(function()
1543 for i,v in pairs(game.Workspace:GetChildren()) do
1544 if tptextbox.Text:lower() == v.Name:lower() then
1545 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1546 else
1547 print("Player not found")
1548 end
1549 end
1550end)]]--
1551
1552
1553
1554
1555--script
1556local parent = tptextbox --insert textbox name!
1557local mouse = game.Players.LocalPlayer:GetMouse()
1558
1559local xsize = parent.Size.X.Offset
1560local ysize = parent.Size.Y.Offset
1561parent.Visible = true
1562parent.Active = true
1563parent.Selectable = true
1564
1565local Underline = Instance.new("Frame")
1566local UnderlineBase = Instance.new("Frame")
1567
1568Underline.Name = "Underline"
1569Underline.Parent = parent
1570Underline.BackgroundColor3 = parent.TextColor3
1571Underline.BorderSizePixel = 0
1572Underline.Position = UDim2.new(0, 0, 1, 0)
1573Underline.Size = UDim2.new(0, 0, 0, 1)
1574
1575UnderlineBase.Name = "UnderlineBase"
1576UnderlineBase.Parent = parent
1577UnderlineBase.BackgroundColor3 = parent.TextColor3
1578UnderlineBase.BackgroundTransparency = 0.85
1579UnderlineBase.BorderSizePixel = 0
1580UnderlineBase.Position = UDim2.new(0, 0, 1, 0)
1581UnderlineBase.Size = UDim2.new(0, xsize, 0, 1)
1582
1583parent.Focused:connect(function()
1584 local x = (mouse.X) - (parent.AbsolutePosition.X)
1585 Underline.BackgroundTransparency = 0
1586 Underline.Position = UDim2.new(0,x,1,0)
1587 wait()
1588 Underline:TweenSizeAndPosition(
1589 UDim2.new(0, xsize, 0, 1),
1590 UDim2.new(0, 0, 1, 0),
1591 "Out",
1592 "Quint",
1593 0.2
1594 )
1595end)
1596
1597parent.FocusLost:connect(function(enterPressed)
1598 if parent.Text == "" then
1599 parent.Text = "Player Name"
1600 end
1601
1602 local TweenService = game:GetService("TweenService")
1603
1604 local Info = TweenInfo.new(
1605 0.15,
1606 Enum.EasingStyle.Linear,
1607 Enum.EasingDirection.Out,
1608 0,
1609 false,
1610 0
1611 )
1612 local Goals =
1613 {
1614 BackgroundTransparency = 1;
1615 }
1616
1617 local tween = TweenService:Create(Underline,Info,Goals)
1618 tween:Play()
1619
1620 wait(0.15)
1621 Underline.Size = UDim2.new(0,0,0,1)
1622
1623 if enterPressed then
1624 for i,v in pairs(game.Workspace:GetChildren()) do
1625 if tptextbox.Text:lower() == v.Name:lower() then
1626 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1627 else
1628 print("Player not found")
1629 end
1630 end
1631 print(true)
1632 elseif tptextbox.Text ~= "Player Name" then
1633 tptextbox.Text = "Press Enter to TP"
1634 end
1635end)
1636
1637--/script
1638
1639if enterPressed then
1640 for i,v in pairs(game.Workspace:GetChildren()) do
1641 if tptextbox.Text:lower() == v.Name:lower() then
1642 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[v.Name].HumanoidRootPart.CFrame
1643 else
1644 print("Player not found")
1645 end
1646 end
1647end
1648
1649generalespbutton.MouseButton1Down:connect(function()
1650 --credits to Nebula Hub for the esp + aimbot
1651 PLAYER = game.Players.LocalPlayer
1652 MOUSE = PLAYER:GetMouse()
1653 CC = game.Workspace.CurrentCamera
1654
1655 ENABLED = false
1656 ESP_ENABLED = false
1657
1658 _G.FREE_FOR_ALL = true
1659
1660 _G.BIND = 50
1661 _G.ESP_BIND = 52
1662 _G.CHANGE_AIM = 'q'
1663
1664 _G.AIM_AT = 'Head'
1665
1666 wait(1)
1667
1668 function GetNearestPlayerToMouse()
1669 local PLAYERS = {}
1670 local PLAYER_HOLD = {}
1671 local DISTANCES = {}
1672 for i, v in pairs(game.Players:GetPlayers()) do
1673 if v ~= PLAYER then
1674 table.insert(PLAYERS, v)
1675 end
1676 end
1677 for i, v in pairs(PLAYERS) do
1678 if _G.FREE_FOR_ALL == false then
1679 if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
1680 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1681 if AIM ~= nil then
1682 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1683 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1684 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1685 local DIFF = math.floor((POS - AIM.Position).magnitude)
1686 PLAYER_HOLD[v.Name .. i] = {}
1687 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1688 PLAYER_HOLD[v.Name .. i].plr = v
1689 PLAYER_HOLD[v.Name .. i].diff = DIFF
1690 table.insert(DISTANCES, DIFF)
1691 end
1692 end
1693 elseif _G.FREE_FOR_ALL == true then
1694 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
1695 if AIM ~= nil then
1696 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
1697 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
1698 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
1699 local DIFF = math.floor((POS - AIM.Position).magnitude)
1700 PLAYER_HOLD[v.Name .. i] = {}
1701 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
1702 PLAYER_HOLD[v.Name .. i].plr = v
1703 PLAYER_HOLD[v.Name .. i].diff = DIFF
1704 table.insert(DISTANCES, DIFF)
1705 end
1706 end
1707 end
1708
1709 if unpack(DISTANCES) == nil then
1710 return false
1711 end
1712
1713 local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
1714 if L_DISTANCE > 20 then
1715 return false
1716 end
1717
1718 for i, v in pairs(PLAYER_HOLD) do
1719 if v.diff == L_DISTANCE then
1720 return v.plr
1721 end
1722 end
1723 return false
1724 end
1725
1726 GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
1727 GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
1728 GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
1729
1730 GUI_MAIN.Name = 'AIMBOT'
1731
1732 GUI_TARGET.Size = UDim2.new(0,200,0,30)
1733 GUI_TARGET.BackgroundTransparency = 0.5
1734 GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
1735 GUI_TARGET.BorderSizePixel = 0
1736 GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
1737 GUI_TARGET.Text = 'AIMBOT : OFF'
1738 GUI_TARGET.TextColor3 = Color3.new(1,1,1)
1739 GUI_TARGET.TextStrokeTransparency = 1
1740 GUI_TARGET.TextWrapped = true
1741 GUI_TARGET.FontSize = 'Size24'
1742 GUI_TARGET.Font = 'SourceSansBold'
1743
1744 GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
1745 GUI_AIM_AT.BackgroundTransparency = 0.5
1746 GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
1747 GUI_AIM_AT.BorderSizePixel = 0
1748 GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
1749 GUI_AIM_AT.Text = 'AIMING : HEAD'
1750 GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
1751 GUI_AIM_AT.TextStrokeTransparency = 1
1752 GUI_AIM_AT.TextWrapped = true
1753 GUI_AIM_AT.FontSize = 'Size18'
1754 GUI_AIM_AT.Font = 'SourceSansBold'
1755
1756 local TRACK = false
1757
1758 function CREATE(BASE, COLOR)
1759 local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
1760 local ESP_DOT = Instance.new('Frame', ESP_MAIN)
1761 local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
1762
1763 ESP_MAIN.Name = 'ESP'
1764 ESP_MAIN.Adornee = BASE
1765 ESP_MAIN.AlwaysOnTop = true
1766 ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
1767 ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
1768
1769 ESP_DOT.Name = 'DOT'
1770 ESP_DOT.BackgroundColor3 = COLOR
1771 ESP_DOT.BackgroundTransparency = 0.3
1772 ESP_DOT.BorderSizePixel = 0
1773 ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
1774 ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
1775 ESP_DOT.Visible = true
1776 ESP_DOT.ZIndex = 10
1777
1778 ESP_NAME.Name = 'NAME'
1779 ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
1780 ESP_NAME.BackgroundTransparency = 1
1781 ESP_NAME.BorderSizePixel = 0
1782 ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
1783 ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
1784 ESP_NAME.Visible = true
1785 ESP_NAME.ZIndex = 10
1786 ESP_NAME.Font = 'ArialBold'
1787 ESP_NAME.FontSize = 'Size14'
1788 ESP_NAME.Text = BASE.Parent.Name:upper()
1789 ESP_NAME.TextColor3 = COLOR
1790 end
1791
1792 function CLEAR()
1793 for _,v in pairs(PLAYER.PlayerGui:children()) do
1794 if v.Name == 'ESP' and v:IsA('BillboardGui') then
1795 v:Destroy()
1796 end
1797 end
1798 end
1799
1800 local Remote = game:service'ReplicatedStorage'.GetPlayerData
1801 local player_roles = Remote:InvokeServer()
1802 function FIND()
1803 CLEAR()
1804 TRACK = true
1805 spawn(function()
1806 while wait() do
1807 if TRACK then
1808 CLEAR()
1809 local a,b = ypcall(function()
1810 for name,player in pairs(player_roles)do
1811 if game:service'Players':FindFirstChild(name) ~= nil then
1812 local v = game:service'Players':FindFirstChild(name)
1813 if v.Character and v.Character:FindFirstChild('Head') then
1814 if v.Character:FindFirstChild('Head') then
1815 if player.Dead ~= true then
1816 if player.Role == "Murderer"then
1817 CREATE(v.Character.Head, Color3.new(1,0,0))
1818 elseif player.Role == "Sheriff" or player.Role == "Hero" then
1819 CREATE(v.Character.Head, Color3.new(0,0,1))
1820 else
1821 CREATE(v.Character.Head, Color3.new(0,1,0))
1822 end
1823 end
1824 end
1825 end
1826 end
1827 end
1828 end)
1829 end
1830 end
1831 wait(1)
1832 end)
1833 end
1834 coroutine.wrap(function()
1835 while wait()do
1836 player_roles = Remote:InvokeServer()
1837 end
1838 end)()
1839
1840 MOUSE.KeyDown:connect(function(KEY)
1841 KEY = KEY:lower():byte()
1842 if KEY == _G.BIND then
1843 ENABLED = true
1844 end
1845 end)
1846
1847 MOUSE.KeyUp:connect(function(KEY)
1848 KEY = KEY:lower():byte()
1849 if KEY == _G.BIND then
1850 ENABLED = false
1851 end
1852 end)
1853
1854 MOUSE.KeyDown:connect(function(KEY)
1855 KEY = KEY:lower():byte()
1856 if KEY == _G.ESP_BIND then
1857 if ESP_ENABLED == false then
1858 FIND()
1859 ESP_ENABLED = true
1860 print('ESP : ON')
1861 elseif ESP_ENABLED == true then
1862 wait()
1863 CLEAR()
1864 TRACK = false
1865 ESP_ENABLED = false
1866 print('ESP : OFF')
1867 end
1868 end
1869 end)
1870
1871 MOUSE.KeyDown:connect(function(KEY)
1872 if KEY == _G.CHANGE_AIM then
1873 if _G.AIM_AT == 'Head' then
1874 _G.AIM_AT = 'Torso'
1875 GUI_AIM_AT.Text = 'AIMING : TORSO'
1876 elseif _G.AIM_AT == 'Torso' then
1877 _G.AIM_AT = 'Head'
1878 GUI_AIM_AT.Text = 'AIMING : HEAD'
1879 end
1880 end
1881 end)
1882
1883 game:GetService('RunService').RenderStepped:connect(function()
1884 if ENABLED then
1885 local TARGET = GetNearestPlayerToMouse()
1886 if (TARGET ~= false) then
1887 local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
1888 if AIM then
1889 CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
1890 end
1891 GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
1892 else
1893 GUI_TARGET.Text = 'AIMBOT : OFF'
1894 end
1895 end
1896 end)
1897
1898 repeat
1899 wait()
1900 if ESP_ENABLED == true then
1901 FIND()
1902 end
1903 until ESP_ENABLED == false
1904
1905
1906 wait()
1907
1908 _G.FREE_FOR_ALL = true
1909
1910 _G.BIND = 50 -- LEFT CTRL
1911 _G.ESP_BIND = 52 -- LEFT ALT
1912end)
1913
1914local plr = game.Players.LocalPlayer
1915
1916plr:GetMouse().KeyDown:connect(function(KeyUp)
1917 if KeyUp == "0" then
1918 plr.Character.Humanoid.WalkSpeed = 35
1919 end
1920end)
1921
1922plr:GetMouse().KeyUp:connect(function(KeyUp)
1923 if KeyUp == "0" then
1924 plr.Character.Humanoid.WalkSpeed = 16
1925 end
1926end)