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