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