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