View difference between Paste ID: 9UNr2CyY and rDwRRYzi
SHOW: | | - or go back to the newest paste.
1
--BETA 1
2
3
local Holder = Instance.new("Frame")
4
local Title = Instance.new("TextLabel")
5
local Dark = Instance.new("Frame")
6
local Cmdbar = Instance.new("TextBox")
7
local Dark_2 = Instance.new("Frame")
8
local CMDsF = Instance.new("ScrollingFrame")
9
local SettingsButton = Instance.new("ImageButton")
10
local Settings = Instance.new("Frame")
11
local Prefix = Instance.new("TextLabel")
12
local PrefixBox = Instance.new("TextBox")
13
local Keybinds = Instance.new("TextLabel")
14
local Select = Instance.new("TextButton")
15
local StayOpen = Instance.new("TextLabel")
16
local Button = Instance.new("Frame")
17
local On = Instance.new("TextButton")
18
local Color = Instance.new("TextLabel")
19
local Select_2 = Instance.new("TextButton")
20
local Example = Instance.new("TextLabel")
21
local Notification = Instance.new("Frame")
22
local Dark_3 = Instance.new("Frame")
23
local Title_2 = Instance.new("TextLabel")
24
local Text_2 = Instance.new("TextLabel")
25
local CloseButton = Instance.new("ImageButton")
26
local Logo = Instance.new("ImageLabel")
27
local KeybindEditor = Instance.new("Frame")
28
local Dark_4 = Instance.new("Frame")
29
local Directions = Instance.new("TextLabel")
30
local BindTo = Instance.new("TextButton")
31
local Add_2 = Instance.new("TextButton")
32
local Cmdbar_2 = Instance.new("TextBox")
33
local CloseButton_2 = Instance.new("ImageButton")
34
local KeybindsFrame = Instance.new("Frame")
35
local Close = Instance.new("TextButton")
36
local Add = Instance.new("TextButton")
37
local Delete = Instance.new("TextButton")
38
local Holder_2 = Instance.new("ScrollingFrame")
39
local Example_2 = Instance.new("Frame")
40
local Text_3 = Instance.new("TextLabel")
41
local Delete_2 = Instance.new("TextButton")
42
local Toggles = Instance.new("ScrollingFrame")
43
local Fly = Instance.new("TextLabel")
44
local Select_3 = Instance.new("TextButton")
45
local Noclip = Instance.new("TextLabel")
46
local Select_4 = Instance.new("TextButton")
47
local Float = Instance.new("TextLabel")
48
local Select_5 = Instance.new("TextButton")
49
local ClickTP = Instance.new("TextLabel")
50
local Select_6 = Instance.new("TextButton")
51
local AliasesFrame = Instance.new("Frame")
52
local Close_2 = Instance.new("TextButton")
53
local Delete_3 = Instance.new("TextButton")
54
local Holder_3 = Instance.new("ScrollingFrame")
55
local Example_3 = Instance.new("Frame")
56
local Text_4 = Instance.new("TextLabel")
57
local Delete_4 = Instance.new("TextButton")
58
local Aliases = Instance.new("TextLabel")
59
local Select_7 = Instance.new("TextButton")
60
61
length = 20
62
local array = {}
63
local array2 = {}
64
local array3 = {}
65
for i = 1, length do
66
	array[i] = string.char(math.random(32, 126))
67
	array2[i] = string.char(math.random(32, 126))
68
	array3[i] = string.char(math.random(32, 126))
69
end
70
71
Holder.Name = table.concat(array)
72
Holder.Parent = game:GetService("CoreGui").RobloxGui
73
Holder.Active = true
74
Holder.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
75
Holder.BackgroundTransparency = 0.20000000298023
76
Holder.BorderSizePixel = 0
77
Holder.Position = UDim2.new(1, -250, 1, -220)
78
Holder.Size = UDim2.new(0, 250, 0, 220)
79
80
Title.Name = "Title"
81
Title.Parent = Holder
82
Title.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
83
Title.BackgroundTransparency = 1
84
Title.BorderSizePixel = 0
85
Title.Size = UDim2.new(0, 250, 0, 20)
86
Title.Font = Enum.Font.SourceSans
87
Title.TextSize = 20
88
Title.Text = "Infinite Yield FE (BETA)"
89
Title.TextColor3 = Color3.new(1, 1, 1)
90
Title.TextStrokeTransparency = 0
91
92
Dark.Name = "Dark"
93
Dark.Parent = Holder
94
Dark.Active = true
95
Dark.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
96
Dark.BorderSizePixel = 0
97
Dark.Position = UDim2.new(0, 0, 0, 45)
98
Dark.Size = UDim2.new(0, 250, 0, 175)
99
100
Cmdbar.Name = "Cmdbar"
101
Cmdbar.Parent = Holder
102
Cmdbar.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
103
Cmdbar.BackgroundTransparency = 1
104
Cmdbar.BorderColor3 = Color3.new(1, 1, 1)
105
Cmdbar.BorderSizePixel = 0
106
Cmdbar.Position = UDim2.new(0, 0, 0, 25)
107
Cmdbar.Size = UDim2.new(0, 250, 0, 20)
108
Cmdbar.Font = Enum.Font.SourceSans
109
Cmdbar.FontSize = Enum.FontSize.Size18
110
Cmdbar.Text = "Command Bar"
111
Cmdbar.TextColor3 = Color3.new(1, 1, 1)
112
Cmdbar.TextScaled = true
113
Cmdbar.TextWrapped = true
114
Cmdbar.TextStrokeTransparency = 0
115
116
Dark_2.Name = "Dark"
117
Dark_2.Parent = Holder
118
Dark_2.Active = true
119
Dark_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
120
Dark_2.BorderSizePixel = 0
121
Dark_2.Position = UDim2.new(0, 0, 0, 20)
122
Dark_2.Size = UDim2.new(0, 250, 0, 5)
123
124
CMDsF.Name = "CMDs"
125
CMDsF.Parent = Holder
126
CMDsF.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
127
CMDsF.BackgroundTransparency = 1
128
CMDsF.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
129
CMDsF.BorderSizePixel = 0
130
CMDsF.Position = UDim2.new(0, 0, 0, 50)
131
CMDsF.Size = UDim2.new(0, 250, 0, 170)
132
CMDsF.BottomImage = "rbxasset://textures/blackBkg_square.png"
133
CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
134
CMDsF.MidImage = "rbxasset://textures/blackBkg_square.png"
135
CMDsF.ScrollBarThickness = 8
136
CMDsF.TopImage = "rbxasset://textures/blackBkg_square.png"
137
138
SettingsButton.Name = "SettingsButton"
139
SettingsButton.Parent = Holder
140
SettingsButton.BackgroundColor3 = Color3.new(1, 1, 1)
141
SettingsButton.BackgroundTransparency = 1
142
SettingsButton.Position = UDim2.new(0, 230, 0, 25)
143
SettingsButton.Size = UDim2.new(0, 20, 0, 20)
144
SettingsButton.Image = "rbxassetid://1204397029"
145
146
Settings.Name = "Settings"
147
Settings.Parent = Holder
148
Settings.Active = true
149
Settings.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
150
Settings.BorderSizePixel = 0
151
Settings.Position = UDim2.new(0, 0, 0, 220)
152
Settings.Size = UDim2.new(0, 250, 0, 175)
153
154
Prefix.Name = "Prefix"
155
Prefix.Parent = Settings
156
Prefix.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
157
Prefix.BackgroundTransparency = 0.5
158
Prefix.BorderSizePixel = 0
159
Prefix.Position = UDim2.new(0, 0, 0, 5)
160
Prefix.Size = UDim2.new(0, 250, 0, 20)
161
Prefix.Font = Enum.Font.SourceSans
162
Prefix.FontSize = Enum.FontSize.Size14
163
Prefix.Text = "    Prefix"
164
Prefix.TextColor3 = Color3.new(1, 1, 1)
165
Prefix.TextXAlignment = Enum.TextXAlignment.Left
166
167
PrefixBox.Name = "PrefixBox"
168
PrefixBox.Parent = Prefix
169
PrefixBox.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
170
PrefixBox.BorderSizePixel = 0
171
PrefixBox.Position = UDim2.new(0, 230, 0, 0)
172
PrefixBox.Size = UDim2.new(0, 20, 0, 20)
173
PrefixBox.Font = Enum.Font.SourceSansBold
174
PrefixBox.FontSize = Enum.FontSize.Size14
175
PrefixBox.Text = ''
176
PrefixBox.TextColor3 = Color3.new(0, 0, 0)
177
178
Keybinds.Name = "Keybinds"
179
Keybinds.Parent = Settings
180
Keybinds.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
181
Keybinds.BackgroundTransparency = 0.5
182
Keybinds.BorderSizePixel = 0
183
Keybinds.Position = UDim2.new(0, 0, 0, 55)
184
Keybinds.Size = UDim2.new(0, 250, 0, 20)
185
Keybinds.Font = Enum.Font.SourceSans
186
Keybinds.FontSize = Enum.FontSize.Size14
187
Keybinds.Text = "    Keybinds"
188
Keybinds.TextColor3 = Color3.new(1, 1, 1)
189
Keybinds.TextXAlignment = Enum.TextXAlignment.Left
190
191
Select.Name = "Select"
192
Select.Parent = Keybinds
193
Select.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
194
Select.BorderSizePixel = 0
195
Select.Position = UDim2.new(0, 200, 0, 0)
196
Select.Size = UDim2.new(0, 50, 0, 20)
197
Select.Font = Enum.Font.SourceSans
198
Select.FontSize = Enum.FontSize.Size14
199
Select.Text = "Edit"
200
Select.TextColor3 = Color3.new(0, 0, 0)
201
202
Aliases.Name = "Aliases"
203
Aliases.Parent = Settings
204
Aliases.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
205
Aliases.BackgroundTransparency = 0.5
206
Aliases.BorderSizePixel = 0
207
Aliases.Position = UDim2.new(0, 0, 0, 80)
208
Aliases.Size = UDim2.new(0, 250, 0, 20)
209
Aliases.Font = Enum.Font.SourceSans
210
Aliases.FontSize = Enum.FontSize.Size14
211
Aliases.Text = "    Aliases"
212
Aliases.TextColor3 = Color3.new(1, 1, 1)
213
Aliases.TextXAlignment = Enum.TextXAlignment.Left
214
215
Select_7.Name = "Select"
216
Select_7.Parent = Aliases
217
Select_7.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
218
Select_7.BorderSizePixel = 0
219
Select_7.Position = UDim2.new(0, 200, 0, 0)
220
Select_7.Size = UDim2.new(0, 50, 0, 20)
221
Select_7.Font = Enum.Font.SourceSans
222
Select_7.FontSize = Enum.FontSize.Size14
223
Select_7.Text = "Edit"
224
Select_7.TextColor3 = Color3.new(0, 0, 0)
225
226
StayOpen.Name = "StayOpen"
227
StayOpen.Parent = Settings
228
StayOpen.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
229
StayOpen.BackgroundTransparency = 0.5
230
StayOpen.BorderSizePixel = 0
231
StayOpen.Position = UDim2.new(0, 0, 0, 30)
232
StayOpen.Size = UDim2.new(0, 250, 0, 20)
233
StayOpen.Font = Enum.Font.SourceSans
234
StayOpen.FontSize = Enum.FontSize.Size14
235
StayOpen.Text = "    Keep Menu Open"
236
StayOpen.TextColor3 = Color3.new(1, 1, 1)
237
StayOpen.TextXAlignment = Enum.TextXAlignment.Left
238
239
Button.Name = "Button"
240
Button.Parent = StayOpen
241
Button.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
242
Button.BorderSizePixel = 0
243
Button.Position = UDim2.new(0, 230, 0, 0)
244
Button.Size = UDim2.new(0, 20, 0, 20)
245
246
On.Name = "On"
247
On.Parent = Button
248
On.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
249
On.BackgroundTransparency = 1
250
On.BorderSizePixel = 0
251
On.Position = UDim2.new(0, 2, 0, 2)
252
On.Size = UDim2.new(0, 16, 0, 16)
253
On.Font = Enum.Font.SourceSans
254
On.FontSize = Enum.FontSize.Size14
255
On.Text = ""
256
On.TextColor3 = Color3.new(0, 0, 0)
257
258
Color.Name = "Color"
259
Color.Parent = Settings
260
Color.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
261
Color.BackgroundTransparency = 0.5
262
Color.BorderSizePixel = 0
263
Color.Position = UDim2.new(0, 0, 0, 105)
264
Color.Size = UDim2.new(0, 250, 0, 20)
265
Color.Font = Enum.Font.SourceSans
266
Color.FontSize = Enum.FontSize.Size14
267
Color.Text = "    UI Color"
268
Color.TextColor3 = Color3.new(1, 1, 1)
269
Color.TextXAlignment = Enum.TextXAlignment.Left
270
271
Select_2.Name = "Select"
272
Select_2.Parent = Color
273
Select_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
274
Select_2.BorderSizePixel = 0
275
Select_2.Position = UDim2.new(0, 200, 0, 0)
276
Select_2.Size = UDim2.new(0, 50, 0, 20)
277
Select_2.Font = Enum.Font.SourceSans
278
Select_2.FontSize = Enum.FontSize.Size14
279
Select_2.Text = "Change"
280
Select_2.TextColor3 = Color3.new(0, 0, 0)
281
282
Example.Name = "Example"
283
Example.Parent = Holder
284
Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
285
Example.BackgroundTransparency = 1
286
Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
287
Example.BorderSizePixel = 0
288
Example.Size = UDim2.new(0, 190, 0, 20)
289
Example.Visible = false
290
Example.Font = Enum.Font.SourceSansBold
291
Example.FontSize = Enum.FontSize.Size18
292
Example.Text = "Example"
293
Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
294
Example.TextStrokeTransparency = 0
295
Example.TextXAlignment = Enum.TextXAlignment.Left
296
297
Notification.Name = table.concat(array2)
298
Notification.Parent = game:GetService("CoreGui").RobloxGui
299
Notification.Active = true
300
Notification.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
301
Notification.BackgroundTransparency = 0
302
Notification.BorderSizePixel = 0
303
Notification.Position = UDim2.new(1, -500, 1, 20)
304
Notification.Size = UDim2.new(0, 250, 0, 100)
305
306
Dark_3.Name = "Dark"
307
Dark_3.Parent = Notification
308
Dark_3.Active = true
309
Dark_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
310
Dark_3.BackgroundTransparency = 0.5
311
Dark_3.Position = UDim2.new(0, 0, 0, 20)
312
Dark_3.Size = UDim2.new(0, 250, 0, 5)
313
314
Title_2.Name = "Title"
315
Title_2.Parent = Notification
316
Title_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
317
Title_2.BackgroundTransparency = 1
318
Title_2.BorderSizePixel = 0
319
Title_2.Size = UDim2.new(0, 250, 0, 20)
320
Title_2.Font = Enum.Font.SourceSans
321
Title_2.TextSize = 20
322
Title_2.Text = "Notification Title"
323
Title_2.TextColor3 = Color3.new(1, 1, 1)
324
Title_2.TextStrokeTransparency = 0
325
326
Text_2.Name = "Text"
327
Text_2.Parent = Notification
328
Text_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
329
Text_2.BackgroundTransparency = 1
330
Text_2.BorderSizePixel = 0
331
Text_2.Position = UDim2.new(0, 0, 0, 25)
332
Text_2.Size = UDim2.new(0, 250, 0, 75)
333
Text_2.Font = Enum.Font.SourceSans
334
Text_2.FontSize = Enum.FontSize.Size18
335
Text_2.Text = "Notification Text"
336
Text_2.TextColor3 = Color3.new(1, 1, 1)
337
Text_2.TextWrapped = true
338
339
CloseButton.Name = "CloseButton"
340
CloseButton.Parent = Notification
341
CloseButton.BackgroundColor3 = Color3.new(1, 1, 1)
342
CloseButton.BackgroundTransparency = 1
343
CloseButton.Position = UDim2.new(0, 3, 0, 3)
344
CloseButton.Size = UDim2.new(0, 14, 0, 14)
345
CloseButton.Image = "rbxassetid://2127938821"
346
347
Logo.Name = "Logo"
348
Logo.Parent = Holder
349
Logo.BackgroundColor3 = Color3.new(1, 1, 1)
350
Logo.BackgroundTransparency = 1
351
Logo.BorderSizePixel = 0
352
Logo.Position = UDim2.new(0, 125, 0, 127)
353
Logo.Size = UDim2.new(0, 10, 0, 10)
354
Logo.Image = "rbxassetid://1352543873"
355
Logo.ImageTransparency = 0
356
357
KeybindEditor.Name = table.concat(array3)
358
KeybindEditor.Parent = game:GetService("CoreGui").RobloxGui
359
KeybindEditor.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
360
KeybindEditor.BackgroundTransparency = 0
361
KeybindEditor.BorderSizePixel = 0
362
KeybindEditor.Position = UDim2.new(0.5, -180, 0.5, 500)
363
KeybindEditor.Size = UDim2.new(0, 360, 0, 160)
364
365
Dark_4.Name = "Dark"
366
Dark_4.Parent = KeybindEditor
367
Dark_4.Active = true
368
Dark_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
369
Dark_4.BackgroundTransparency = 0.5
370
Dark_4.BorderSizePixel = 0
371
Dark_4.Position = UDim2.new(0, 135, 0, 0)
372
Dark_4.Size = UDim2.new(0, 5, 0, 160)
373
374
Directions.Name = "Directions"
375
Directions.Parent = KeybindEditor
376
Directions.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
377
Directions.BackgroundTransparency = 1
378
Directions.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
379
Directions.BorderSizePixel = 0
380
Directions.Position = UDim2.new(0, 10, 0, 15)
381
Directions.Size = UDim2.new(0, 115, 0, 90)
382
Directions.Font = Enum.Font.SourceSansBold
383
Directions.FontSize = Enum.FontSize.Size14
384
Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
385
Directions.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
386
Directions.TextStrokeTransparency = 0
387
Directions.TextWrapped = true
388
Directions.TextYAlignment = Enum.TextYAlignment.Top
389
390
BindTo.Name = "BindTo"
391
BindTo.Parent = KeybindEditor
392
BindTo.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
393
BindTo.BackgroundTransparency = 0.5
394
BindTo.BorderSizePixel = 0
395
BindTo.Position = UDim2.new(0, 10, 0, 100)
396
BindTo.Size = UDim2.new(0, 115, 0, 50)
397
BindTo.Font = Enum.Font.SourceSans
398
BindTo.FontSize = Enum.FontSize.Size18
399
BindTo.Text = "Click to bind"
400
BindTo.TextColor3 = Color3.new(1, 1, 1)
401
BindTo.TextStrokeTransparency = 0
402
403
Add_2.Name = "Add"
404
Add_2.Parent = KeybindEditor
405
Add_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
406
Add_2.BackgroundTransparency = 0.5
407
Add_2.BorderSizePixel = 0
408
Add_2.Position = UDim2.new(0, 310, 0, 10)
409
Add_2.Size = UDim2.new(0, 40, 0, 20)
410
Add_2.Font = Enum.Font.SourceSans
411
Add_2.FontSize = Enum.FontSize.Size18
412
Add_2.Text = "Add"
413
Add_2.TextColor3 = Color3.new(1, 1, 1)
414
Add_2.TextStrokeTransparency = 0
415
416
Cmdbar_2.Name = "Cmdbar"
417
Cmdbar_2.Parent = KeybindEditor
418
Cmdbar_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
419
Cmdbar_2.BackgroundTransparency = 0.5
420
Cmdbar_2.BorderColor3 = Color3.new(1, 1, 1)
421
Cmdbar_2.BorderSizePixel = 0
422
Cmdbar_2.Position = UDim2.new(0, 150, 0, 10)
423
Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
424
Cmdbar_2.Font = Enum.Font.SourceSans
425
Cmdbar_2.FontSize = Enum.FontSize.Size18
426
Cmdbar_2.Text = "Command"
427
Cmdbar_2.TextColor3 = Color3.new(1, 1, 1)
428
Cmdbar_2.TextScaled = true
429
Cmdbar_2.TextStrokeTransparency = 0
430
Cmdbar_2.TextWrapped = true
431
432
CloseButton_2.Name = "CloseButton"
433
CloseButton_2.Parent = KeybindEditor
434
CloseButton_2.BackgroundColor3 = Color3.new(1, 1, 1)
435
CloseButton_2.BackgroundTransparency = 1
436
CloseButton_2.Position = UDim2.new(0, 3, 0, 3)
437
CloseButton_2.Size = UDim2.new(0, 14, 0, 14)
438
CloseButton_2.Image = "rbxassetid://2127938821"
439
440
KeybindsFrame.Name = "KeybindsFrame"
441
KeybindsFrame.Parent = Settings
442
KeybindsFrame.Active = true
443
KeybindsFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
444
KeybindsFrame.BorderSizePixel = 0
445
KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
446
KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
447
448
Close.Name = "Close"
449
Close.Parent = KeybindsFrame
450
Close.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
451
Close.BorderSizePixel = 0
452
Close.Position = UDim2.new(0, 205, 0, 150)
453
Close.Size = UDim2.new(0, 40, 0, 20)
454
Close.Font = Enum.Font.SourceSans
455
Close.FontSize = Enum.FontSize.Size14
456
Close.Text = "Close"
457
Close.TextColor3 = Color3.new(0, 0, 0)
458
459
Add.Name = "Add"
460
Add.Parent = KeybindsFrame
461
Add.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
462
Add.BorderSizePixel = 0
463
Add.Position = UDim2.new(0, 5, 0, 150)
464
Add.Size = UDim2.new(0, 40, 0, 20)
465
Add.Font = Enum.Font.SourceSans
466
Add.FontSize = Enum.FontSize.Size14
467
Add.Text = "Add"
468
Add.TextColor3 = Color3.new(0, 0, 0)
469
470
Delete.Name = "Delete"
471
Delete.Parent = KeybindsFrame
472
Delete.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
473
Delete.BorderSizePixel = 0
474
Delete.Position = UDim2.new(0, 50, 0, 150)
475
Delete.Size = UDim2.new(0, 40, 0, 20)
476
Delete.Font = Enum.Font.SourceSans
477
Delete.FontSize = Enum.FontSize.Size14
478
Delete.Text = "Clear"
479
Delete.TextColor3 = Color3.new(0, 0, 0)
480
481
Holder_2.Name = "Holder"
482
Holder_2.Parent = KeybindsFrame
483
Holder_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
484
Holder_2.BackgroundTransparency = 1
485
Holder_2.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
486
Holder_2.BorderSizePixel = 0
487
Holder_2.Position = UDim2.new(0, 0, 0, 0)
488
Holder_2.Size = UDim2.new(0, 250, 0, 145)
489
Holder_2.BottomImage = "rbxasset://textures/blackBkg_square.png"
490
Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
491
Holder_2.MidImage = "rbxasset://textures/blackBkg_square.png"
492
Holder_2.ScrollBarThickness = 0
493
Holder_2.TopImage = "rbxasset://textures/blackBkg_square.png"
494
495
Example_2.Name = "Example"
496
Example_2.Parent = KeybindsFrame
497
Example_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
498
Example_2.BackgroundTransparency = 0.5
499
Example_2.BorderSizePixel = 0
500
Example_2.Size = UDim2.new(0, 10, 0, 20)
501
Example_2.Visible = false
502
503
Text_3.Name = "Text"
504
Text_3.Parent = Example_2
505
Text_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
506
Text_3.BackgroundTransparency = 0.5
507
Text_3.BorderSizePixel = 0
508
Text_3.Position = UDim2.new(0, 10, 0, 0)
509
Text_3.Size = UDim2.new(0, 240, 0, 20)
510
Text_3.Font = Enum.Font.SourceSans
511
Text_3.FontSize = Enum.FontSize.Size14
512
Text_3.Text = "nom"
513
Text_3.TextColor3 = Color3.new(1, 1, 1)
514
Text_3.TextXAlignment = Enum.TextXAlignment.Left
515
516
Delete_2.Name = "Delete"
517
Delete_2.Parent = Text_3
518
Delete_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
519
Delete_2.BorderSizePixel = 0
520
Delete_2.Position = UDim2.new(0, 200, 0, 0)
521
Delete_2.Size = UDim2.new(0, 40, 0, 20)
522
Delete_2.Font = Enum.Font.SourceSans
523
Delete_2.FontSize = Enum.FontSize.Size14
524
Delete_2.Text = "Delete"
525
Delete_2.TextColor3 = Color3.new(0, 0, 0)
526
527
Toggles.Name = "Toggles"
528
Toggles.Parent = KeybindEditor
529
Toggles.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
530
Toggles.BackgroundTransparency = 1
531
Toggles.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
532
Toggles.BorderSizePixel = 0
533
Toggles.Position = UDim2.new(0, 150, 0, 40)
534
Toggles.Size = UDim2.new(0, 200, 0, 110)
535
Toggles.BottomImage = "rbxasset://textures/blackBkg_square.png"
536
Toggles.CanvasSize = UDim2.new(0, 0, 0, 0)
537
Toggles.MidImage = "rbxasset://textures/blackBkg_square.png"
538
Toggles.ScrollBarThickness = 8
539
Toggles.TopImage = "rbxasset://textures/blackBkg_square.png"
540
541
Fly.Name = "Fly"
542
Fly.Parent = Toggles
543
Fly.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
544
Fly.BackgroundTransparency = 0.5
545
Fly.BorderSizePixel = 0
546
Fly.Size = UDim2.new(0, 200, 0, 20)
547
Fly.Font = Enum.Font.SourceSans
548
Fly.FontSize = Enum.FontSize.Size14
549
Fly.Text = "    Toggle Fly"
550
Fly.TextColor3 = Color3.new(1, 1, 1)
551
Fly.TextXAlignment = Enum.TextXAlignment.Left
552
553
Select_3.Name = "Select"
554
Select_3.Parent = Fly
555
Select_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
556
Select_3.BorderSizePixel = 0
557
Select_3.Position = UDim2.new(0, 160, 0, 0)
558
Select_3.Size = UDim2.new(0, 40, 0, 20)
559
Select_3.Font = Enum.Font.SourceSans
560
Select_3.FontSize = Enum.FontSize.Size14
561
Select_3.Text = "Add"
562
Select_3.TextColor3 = Color3.new(0, 0, 0)
563
564
Noclip.Name = "Noclip"
565
Noclip.Parent = Toggles
566
Noclip.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
567
Noclip.BackgroundTransparency = 0.5
568
Noclip.BorderSizePixel = 0
569
Noclip.Position = UDim2.new(0, 0, 0, 25)
570
Noclip.Size = UDim2.new(0, 200, 0, 20)
571
Noclip.Font = Enum.Font.SourceSans
572
Noclip.FontSize = Enum.FontSize.Size14
573
Noclip.Text = "    Toggle Noclip"
574
Noclip.TextColor3 = Color3.new(1, 1, 1)
575
Noclip.TextXAlignment = Enum.TextXAlignment.Left
576
577
Select_4.Name = "Select"
578
Select_4.Parent = Noclip
579
Select_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
580
Select_4.BorderSizePixel = 0
581
Select_4.Position = UDim2.new(0, 160, 0, 0)
582
Select_4.Size = UDim2.new(0, 40, 0, 20)
583
Select_4.Font = Enum.Font.SourceSans
584
Select_4.FontSize = Enum.FontSize.Size14
585
Select_4.Text = "Add"
586
Select_4.TextColor3 = Color3.new(0, 0, 0)
587
588
Float.Name = "Float"
589
Float.Parent = Toggles
590
Float.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
591
Float.BackgroundTransparency = 0.5
592
Float.BorderSizePixel = 0
593
Float.Position = UDim2.new(0, 0, 0, 50)
594
Float.Size = UDim2.new(0, 200, 0, 20)
595
Float.Font = Enum.Font.SourceSans
596
Float.FontSize = Enum.FontSize.Size14
597
Float.Text = "    Toggle Float"
598
Float.TextColor3 = Color3.new(1, 1, 1)
599
Float.TextXAlignment = Enum.TextXAlignment.Left
600
601
Select_5.Name = "Select"
602
Select_5.Parent = Float
603
Select_5.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
604
Select_5.BorderSizePixel = 0
605
Select_5.Position = UDim2.new(0, 160, 0, 0)
606
Select_5.Size = UDim2.new(0, 40, 0, 20)
607
Select_5.Font = Enum.Font.SourceSans
608
Select_5.FontSize = Enum.FontSize.Size14
609
Select_5.Text = "Add"
610
Select_5.TextColor3 = Color3.new(0, 0, 0)
611
612
ClickTP.Name = "Click TP"
613
ClickTP.Parent = Toggles
614
ClickTP.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
615
ClickTP.BackgroundTransparency = 0.5
616
ClickTP.BorderSizePixel = 0
617
ClickTP.Position = UDim2.new(0, 0, 0, 75)
618
ClickTP.Size = UDim2.new(0, 200, 0, 20)
619
ClickTP.Font = Enum.Font.SourceSans
620
ClickTP.FontSize = Enum.FontSize.Size14
621
ClickTP.Text = "    Click TP (Hold Key)"
622
ClickTP.TextColor3 = Color3.new(1, 1, 1)
623
ClickTP.TextXAlignment = Enum.TextXAlignment.Left
624
625
Select_6.Name = "Select"
626
Select_6.Parent = ClickTP
627
Select_6.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
628
Select_6.BorderSizePixel = 0
629
Select_6.Position = UDim2.new(0, 160, 0, 0)
630
Select_6.Size = UDim2.new(0, 40, 0, 20)
631
Select_6.Font = Enum.Font.SourceSans
632
Select_6.FontSize = Enum.FontSize.Size14
633
Select_6.Text = "Add"
634
Select_6.TextColor3 = Color3.new(0, 0, 0)
635
636
AliasesFrame.Name = "AliasesFrame"
637
AliasesFrame.Parent = Settings
638
AliasesFrame.Active = true
639
AliasesFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
640
AliasesFrame.BorderSizePixel = 0
641
AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
642
AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
643
644
Close_2.Name = "Close"
645
Close_2.Parent = AliasesFrame
646
Close_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
647
Close_2.BorderSizePixel = 0
648
Close_2.Position = UDim2.new(0, 205, 0, 150)
649
Close_2.Size = UDim2.new(0, 40, 0, 20)
650
Close_2.Font = Enum.Font.SourceSans
651
Close_2.FontSize = Enum.FontSize.Size14
652
Close_2.Text = "Close"
653
Close_2.TextColor3 = Color3.new(0, 0, 0)
654
655
Delete_3.Name = "Delete"
656
Delete_3.Parent = AliasesFrame
657
Delete_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
658
Delete_3.BorderSizePixel = 0
659
Delete_3.Position = UDim2.new(0, 5, 0, 150)
660
Delete_3.Size = UDim2.new(0, 40, 0, 20)
661
Delete_3.Font = Enum.Font.SourceSans
662
Delete_3.FontSize = Enum.FontSize.Size14
663
Delete_3.Text = "Clear"
664
Delete_3.TextColor3 = Color3.new(0, 0, 0)
665
666
Holder_3.Name = "Holder"
667
Holder_3.Parent = AliasesFrame
668
Holder_3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
669
Holder_3.BackgroundTransparency = 1
670
Holder_3.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
671
Holder_3.BorderSizePixel = 0
672
Holder_3.Position = UDim2.new(0, 0, 0, 5)
673
Holder_3.Size = UDim2.new(0, 250, 0, 140)
674
Holder_3.BottomImage = "rbxasset://textures/blackBkg_square.png"
675
Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
676
Holder_3.MidImage = "rbxasset://textures/blackBkg_square.png"
677
Holder_3.ScrollBarThickness = 0
678
Holder_3.TopImage = "rbxasset://textures/blackBkg_square.png"
679
680
Example_3.Name = "Example"
681
Example_3.Parent = AliasesFrame
682
Example_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
683
Example_3.BackgroundTransparency = 0.5
684
Example_3.BorderSizePixel = 0
685
Example_3.Size = UDim2.new(0, 10, 0, 20)
686
Example_3.Visible = false
687
688
Text_4.Name = "Text"
689
Text_4.Parent = Example_3
690
Text_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
691
Text_4.BackgroundTransparency = 0.5
692
Text_4.BorderSizePixel = 0
693
Text_4.Position = UDim2.new(0, 10, 0, 0)
694
Text_4.Size = UDim2.new(0, 240, 0, 20)
695
Text_4.Font = Enum.Font.SourceSans
696
Text_4.FontSize = Enum.FontSize.Size14
697
Text_4.Text = "honk"
698
Text_4.TextColor3 = Color3.new(1, 1, 1)
699
Text_4.TextXAlignment = Enum.TextXAlignment.Left
700
701
Delete_4.Name = "Delete"
702
Delete_4.Parent = Text_4
703
Delete_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
704
Delete_4.BorderSizePixel = 0
705
Delete_4.Position = UDim2.new(0, 200, 0, 0)
706
Delete_4.Size = UDim2.new(0, 40, 0, 20)
707
Delete_4.Font = Enum.Font.SourceSans
708
Delete_4.FontSize = Enum.FontSize.Size14
709
Delete_4.Text = "Delete"
710
Delete_4.TextColor3 = Color3.new(0, 0, 0)
711
712
function writefileExploit()
713
	if writefile then
714
		return true
715
	end
716
end
717
718
defaultsettings = {
719
	prefix = ';';
720
	StayOpen = false;
721
	aliases = {};
722
	binds = {}	
723
}
724
725
defaults = game:GetService("HttpService"):JSONEncode(defaultsettings)
726
727
function saves()
728
	if writefileExploit() then
729
		if pcall(function() readfile("IY_FE.iy") end) then
730
			local json = game:GetService("HttpService"):JSONDecode(readfile("IY_FE.iy"))
731
			prefix = json.prefix
732
			StayOpen = json.StayOpen
733
			aliases = json.aliases
734
			binds = json.binds
735
		else
736
			writefile("IY_FE.iy", defaults)
737
			wait()
738
			saves()
739
		end
740
	else
741
		prefix = ';'
742
		StayOpen = false
743
		aliases = {}
744
		binds = {}	
745
	end
746
end
747
748
saves()
749
750
function updatesaves()
751
	if writefileExploit() then
752
		local update = {
753
		prefix = prefix;
754
		StayOpen = StayOpen;
755
		aliases = aliases;
756
		binds = binds
757
		}
758
		writefile("IY_FE.iy", game:GetService("HttpService"):JSONEncode(update))
759
	end
760
end
761
762
Mouse = game:GetService("Players").LocalPlayer:GetMouse()
763
UserInputService = game:GetService("UserInputService")
764
Players = game:GetService("Players")
765
PrefixBox.Text = prefix
766
SettingsOpen = false
767
768
if StayOpen == false then
769
	Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1
770
else
771
	Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0
772
end
773
774
function maximizeHolder()
775
	if StayOpen == false then
776
		Holder:TweenPosition(UDim2.new(1, -250, 1, -220), "InOut", "Quart", 0.2, true, nil)
777
	end
778
end
779
780
function minimizeHolder()
781
	if StayOpen == false then
782
		Holder:TweenPosition(UDim2.new(1, -250, 1, -20), "InOut", "Quart", 0.5, true, nil)
783
	end
784
end
785
786
function cmdbarHolder()
787
	if StayOpen == false then
788
		Holder:TweenPosition(UDim2.new(1, -250, 1, -45), "InOut", "Quart", 0.5, true, nil)
789
	end
790
end
791
792
function enablebuttons()
793
	Settings.Aliases.Select.Visible = true
794
	Settings.Color.Select.Visible = true
795
	Settings.Keybinds.Select.Visible = true
796
	Settings.StayOpen.Button.On.Visible = true
797
	Settings.Prefix.PrefixBox.Visible = true
798
end
799
800
function disablebuttons()
801
	Settings.Aliases.Select.Visible = false
802
	Settings.Color.Select.Visible = false
803
	Settings.Keybinds.Select.Visible = false
804
	Settings.StayOpen.Button.On.Visible = false
805
	Settings.Prefix.PrefixBox.Visible = false
806
end
807
808
notifyCount = 0
809
function notify(title,text)
810
	spawn(function()
811
		local LnotifyCount = notifyCount+1
812
		notifyCount = notifyCount+1
813
		Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil)
814
		wait(0.6)
815
		local closepressed = false
816
		Notification.Title.Text = title
817
		Notification.Text.Text = text
818
		Notification:TweenPosition(UDim2.new(1, -500, 1, -100), "InOut", "Quart", 0.5, true, nil)
819
		Notification.CloseButton.MouseButton1Click:Connect(function()
820
			Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil)
821
			closepressed = true
822
		end)
823
		wait(5)
824
		if LnotifyCount == notifyCount then
825
			if closepressed == false then
826
				Notification:TweenPosition(UDim2.new(1, -500, 1, -0), "InOut", "Quart", 0.5, true, nil)
827
			end
828
			notifyCount = 0
829
		end
830
	end)
831
end
832
833
Mouse.KeyDown:connect(function(Key)
834
	if (Key==prefix) then
835
		Holder.Cmdbar:CaptureFocus()
836
		maximizeHolder()
837
		if SettingsOpen == true then
838
			wait(0.2)
839
			Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
840
			SettingsOpen = false
841
		end
842
	end
843
end)
844
845
Holder.MouseEnter:Connect(function()
846
	maximizeHolder()
847
end)
848
849
Holder.MouseLeave:Connect(function()
850
	minimizeHolder()
851
end)
852
853
Holder.SettingsButton.MouseButton1Click:Connect(function()
854
	if SettingsOpen == false then SettingsOpen = true
855
		Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
856
	else SettingsOpen = false
857
		Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
858
	end
859
end)
860
861
Holder.Settings.StayOpen.Button.On.MouseButton1Click:Connect(function()
862
	if StayOpen == false then StayOpen = true
863
		Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0
864
	else StayOpen = false
865
		Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1
866
	end
867
	updatesaves()
868
end)
869
870
KeybindsFrame.Close.MouseButton1Click:Connect(function()
871
	enablebuttons()
872
	KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
873
end)
874
875
Holder.Settings.Keybinds.Select.MouseButton1Click:Connect(function()
876
	KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
877
	wait(0.5)
878
	disablebuttons()
879
end)
880
881
KeybindsFrame.Add.MouseButton1Click:Connect(function()
882
	KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0.5, 0), "InOut", "Quart", 0.5, true, nil)
883
end)
884
885
KeybindsFrame.Delete.MouseButton1Click:Connect(function()
886
	binds = {}
887
	refreshbinds()
888
	updatesaves()
889
	notify('Keybinds Updated','Removed all keybinds')
890
end)
891
892
AliasesFrame.Close.MouseButton1Click:Connect(function()
893
	enablebuttons()
894
	AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
895
end)
896
897
Settings.Aliases.Select.MouseButton1Click:Connect(function()
898
	AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
899
	wait(0.5)
900
	disablebuttons()
901
end)
902
903
local cmds={}
904
local customAlias = {}
905
AliasesFrame.Delete.MouseButton1Click:Connect(function()
906
	customAlias = {}
907
	aliases = {}
908
	notify('Aliases Modified','Removed all aliases')
909
	updatesaves()
910
	refreshaliases()
911
end)
912
913
Holder.Settings.Prefix.PrefixBox.Changed:connect(function(property)
914
	if property == "Text" then
915
		prefix = Holder.Settings.Prefix.PrefixBox.Text
916
		updatesaves()
917
	end
918
end)
919
920
function dragGUI(gui)
921
spawn(function()
922
local UserInputService = game:GetService("UserInputService")
923
local dragging
924
local dragInput
925
local dragStart
926
local startPos
927
local function update(input)
928
    local delta = input.Position - dragStart
929
	gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y), "InOut", "Quart", 0.04, true, nil) 
930
end
931
gui.InputBegan:Connect(function(input)
932
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
933
        dragging = true
934
        dragStart = input.Position
935
        startPos = gui.Position
936
        
937
        input.Changed:Connect(function()
938
            if input.UserInputState == Enum.UserInputState.End then
939
                dragging = false
940
            end
941
        end)
942
    end
943
end)
944
gui.InputChanged:Connect(function(input)
945
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
946
        dragInput = input
947
    end
948
end)
949
UserInputService.InputChanged:Connect(function(input)
950
    if input == dragInput and dragging then
951
        update(input)
952
    end
953
end)
954
end)
955
end
956
957
local CSP = Holder
958
local frame = CSP:WaitForChild('CMDs')
959
960
Match = function(name,str)
961
	return name:lower():find(str:lower()) and true
962
end
963
964
canvasPos = nil
965
IndexContents = function(str,bool,cmdbar,anim)
966
	local content = frame:GetChildren()
967
	if CMDsF.CanvasPosition.Y > 0 and #content == #CMDs then
968
		canvasPos = CMDsF.CanvasPosition.Y
969
	end
970
	CMDsF.CanvasPosition = Vector2.new(0,0)
971
	local Index,SizeY = 0,0
972
	local indexnum = 0
973
	for i,v in next, frame:GetChildren() do
974
		if bool then
975
			if Match(v.Text,str) then
976
				indexnum = indexnum + 1
977
				Index = Index + 1
978
				v.Position = UDim2.new(0,10,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
979
				v.Visible = true
980
				SizeY = SizeY + v.AbsoluteSize.Y
981
				frame.CanvasSize = UDim2.new(0,0,0,SizeY)
982
			else
983
				v.Visible = false
984
			end
985
		else
986
			v.Visible = true
987
			SizeY = SizeY + v.AbsoluteSize.Y
988
			frame.CanvasSize = UDim2.new(0,0,0,SizeY)
989
		end
990
	end
991
	if not anim then
992
		if indexnum == 0 or string.find(str, " ") then
993
			if not cmdbar then
994
				minimizeHolder()
995
			elseif cmdbar then
996
				cmdbarHolder()
997
			end
998
		else
999
			maximizeHolder()
1000
		end
1001
	else
1002
		minimizeHolder()
1003
	end
1004
end
1005
1006
local chatbox = Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
1007
chatbox.Changed:connect(function(property)
1008
	if property == "Text" then
1009
		if Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == prefix then
1010
			maximizeHolder()
1011
			if SettingsOpen == true then
1012
			wait(0.2)
1013
			Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
1014
			SettingsOpen = false
1015
			end
1016
			IndexContents(Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) 
1017
		else
1018
			minimizeHolder()
1019
			if canvasPos ~= nil then
1020
				CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
1021
			end
1022
		end
1023
	end
1024
end)
1025
1026
CMDs = {
1027
	'rejoin',
1028
	'exit',
1029
	'serverinfo / info',
1030
	'explorer / dex',
1031
	'remotespy',
1032
	'breakloops / break (cmd loops)',
1033
	'',
1034
	'addalias [cmd] [alias]',
1035
	'removealias [alias]',
1036
	'clraliases',
1037
	'',
1038
	'noclip',
1039
	'clip',
1040
	'fly',
1041
	'unfly',
1042
	'flyspeed [num]',
1043
	'float',
1044
	'unfloat',
1045
	'',
1046
	'savepos / spos [name]',
1047
	'deletepos / dpos [name]',
1048
	'loadpos / lpos [name]',
1049
	'',
1050
	'spam [text]',
1051
	'unspam',
1052
	'pmspam [plr] [text]',
1053
	'unpmspam [plr]',
1054
	'',
1055
	'esp [plr]',
1056
	'noesp [plr]',
1057
	'spectate / view [plr]',
1058
	'unspectate / unview',
1059
	'freecam / fc',
1060
	'unfreecam / unfc',
1061
	'freecamspeed / fcspeed [num]',
1062
	'firstp',
1063
	'thirdp',
1064
	'maxzoom [num]',
1065
	'fixcam',
1066
	'',
1067
	'btools (CLIENT)',
1068
	'f3x (CLIENT)',
1069
	'delete [part name] (CLIENT)',
1070
	'deleteclass / dc [class name] (CLIENT)',
1071
	'lockworkspace / lockws',
1072
	'unlockworkspace / unlockws',
1073
	'',
1074
	'age [plr]',
1075
	'os [plr]',
1076
	'copytools [plr]',
1077
	'bang [plr]',
1078
	'fekill [plr] (need a tool)',
1079
	'orbit [plr]',
1080
	'unorbit [plr]',
1081
	'loopoof',
1082
	'unloopoof',
1083
	'',
1084
	'respawn',
1085
	'refresh / re',
1086
	'god',
1087
	'invisible / invis',
1088
	'weaken',
1089
	'strengthen',
1090
	'unweaken',
1091
	'unstrengthen',
1092
	'speed / ws [num]',
1093
	'hipheight / hheight [num]',
1094
	'jumppower / grav [num]',
1095
	'sit',
1096
	'team [team name] (CLIENT)',
1097
	'',
1098
	'goto [plr]',
1099
	'loopgoto [plr]',
1100
	'unloopgoto [plr]',
1101
	'loopbring [plr] (CLIENT)',
1102
	'unloopbring [plr]',
1103
	'freeze / fr [plr] (CLIENT)',
1104
	'thaw / unfr [plr]',
1105
	'unloopgoto [plr]',
1106
	'tppos [coordinate]',
1107
	'offset [coordinate]',
1108
	'spawnpoint / spawn',
1109
	'nospawnpoint / nospawn',
1110
	'',
1111
	'animation / anim [anim] [speed]',
1112
	'dance',
1113
	'spasm',
1114
	'spinhats',
1115
	'unspinhats',
1116
	'noarms',
1117
	'nolegs',
1118
	'nolimbs',
1119
	'naked',
1120
	'',
1121
	'tools',
1122
	'keeptools / ktools',
1123
	'nokeeptools / noktools',
1124
	'notools/removetools',
1125
	'grabtools',
1126
	'ungrabtools',
1127
	'givetools [plr]',
1128
	'copytools [plr]',
1129
}
1130
1131
for i = 1, #CMDs do
1132
	local newcmd = Holder.Example:Clone()
1133
	newcmd.Parent = Holder.CMDs
1134
	newcmd.Visible = false
1135
	newcmd.Text = "" .. CMDs[i]
1136
	newcmd.Name = 'CMD'
1137
end
1138
1139
wait(0.5)
1140
Logo:TweenSizeAndPosition(UDim2.new(0,175,0,175),UDim2.new(0,37,0,45), "Out", "Quart", 0.5)
1141
wait(1.5)
1142
for i=1,10 do
1143
	Logo.ImageTransparency = Logo.ImageTransparency+0.1
1144
	wait()
1145
end
1146
Logo:Destroy()
1147
minimizeHolder()
1148
IndexContents('',true)
1149
1150
function FindInTable(Table, Name)
1151
	for i,v in pairs(Table) do
1152
		if v == Name then
1153
			return true
1154
		end
1155
	end
1156
	return false
1157
end
1158
1159
1160
function GetInTable(Table, Name)
1161
	for i = 1, #Table do
1162
		if Table[i] == Name then
1163
			return i
1164
		end
1165
	end
1166
	return false
1167
end
1168
1169
function respawn(plr)
1170
	local M = Instance.new('Model', workspace) M.Name = 'respawn_iy'
1171
	local H = Instance.new('Humanoid', M)
1172
	local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
1173
	plr.Character = M
1174
end
1175
1176
function refresh(plr)
1177
	spawn(function()
1178
		local rpos = plr.Character.HumanoidRootPart.Position
1179
		wait(0.1)
1180
		plr.Character:Destroy()
1181
		respawn(plr)
1182
		wait(0.1)
1183
		repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
1184
		plr.Character:MoveTo(rpos)
1185
	end)
1186
end
1187
1188
Players.LocalPlayer.CharacterAdded:Connect(function()
1189
	wait(0.3)
1190
	if spawnpoint and spawnpos ~= nil then
1191
		Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spawnpos
1192
	end
1193
end)
1194
1195
local std={}
1196
std.inTable=function(tbl,val)
1197
    if tbl==nil then return false end
1198
    for _,v in pairs(tbl)do
1199
        if v==val then return true end
1200
    end 
1201
	return false
1202
end
1203
1204
function getstring(lower, start)
1205
	local AA = '' for i,v in pairs(cargs) do
1206
		if i > start then
1207
			if AA ~= '' then
1208
				AA = AA .. ' ' .. v
1209
			else
1210
				AA = AA .. v
1211
			end
1212
		end
1213
	end
1214
	if not lower then
1215
		return AA
1216
	else
1217
		return string.lower(AA)
1218
	end
1219
end
1220
1221
local findCmd=function(cmd_name)
1222
	for i,v in pairs(cmds)do
1223
		if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
1224
			return v
1225
		end
1226
	end
1227
	return customAlias[cmd_name:lower()]
1228
end
1229
1230
local function splitString(str,delim)
1231
	local broken = {}
1232
	if delim == nil then delim = "," end
1233
		for w in string.gmatch(str,"[^"..delim.."]+") do
1234
			table.insert(broken,w)
1235
		end
1236
	return broken
1237
end
1238
1239
local historyCount = 0
1240
local cmdHistory = {}
1241
local split=" "
1242
lastBreakTime = 0
1243
local function execCmd(cmdStr,speaker)
1244
	spawn(function()
1245
    	local rawCmdStr = cmdStr
1246
  	  cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
1247
  	  local commandsToRun = splitString(cmdStr,"\\")
1248
  	  for i,v in pairs(commandsToRun) do
1249
  	      v = string.gsub(v,"%%BackSlash%%","\\")
1250
  	      local x,y,num = v:find("^(%d+)%^")
1251
  	      local cmdDelay = 0
1252
  	      if num then
1253
  	          v = v:sub(y+1)
1254
  	          local x,y,del = v:find("^([%d%.]+)%^")
1255
  	          if del then
1256
  	              v = v:sub(y+1)
1257
  	              cmdDelay = tonumber(del) or 0
1258
  	          end
1259
  	      end
1260
  	      num = tonumber(num or 1)
1261
  	      local args = splitString(v,split)
1262
  	      local cmd = findCmd(args[1])
1263
  	      if cmd then
1264
  	          table.remove(args,1)
1265
  	          cargs = args
1266
  	          if speaker == Players.LocalPlayer then
1267
  	              if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
1268
  	          end
1269
  	          if #cmdHistory > 20 then table.remove(cmdHistory) end
1270
  	          local cmdStartTime = tick()
1271
  	          for rep = 1,num do
1272
  	              if lastBreakTime > cmdStartTime then break end
1273
    	            pcall(function()
1274
    	                cmd.FUNC(args, speaker)
1275
    	            end)
1276
    	            if cmdDelay ~= 0 then wait(cmdDelay) end
1277
    	        end
1278
    	    end
1279
    	end
1280
	end)	
1281
end	
1282
1283
function addcmd(name,desc,alias,func)
1284
    cmds[#cmds+1]=
1285
    {
1286
        NAME=name;
1287
        DESC=desc;
1288
        ALIAS=alias;
1289
        FUNC=func;
1290
    }
1291
end
1292
1293
function addbind(cmd,key)
1294
    binds[#binds+1]=
1295
    {
1296
        COMMAND=cmd;
1297
        KEY=key;
1298
    }
1299
end
1300
1301
local SpecialPlayerCases = {
1302
	["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
1303
	["others"] = function(speaker)
1304
		local plrs = {}
1305
		for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1306
			if v ~= speaker then
1307
				table.insert(plrs,v)
1308
			end
1309
		end
1310
		return plrs
1311
	 end,
1312
	["me"] = function(speaker)return {speaker} end,
1313
	["#(%d+)"] = function(speaker,args,currentList)
1314
		local returns = {}
1315
		local randAmount = tonumber(args[1])
1316
		local players = {unpack(currentList)}
1317
		for i = 1,randAmount do
1318
			if #players == 0 then break end
1319
			local randIndex = math.random(1,#players)
1320
			table.insert(returns,players[randIndex])
1321
			table.remove(players,randIndex)
1322
		end
1323
		return returns
1324
	end,
1325
	["random"] = function(speaker,args,currentList)
1326
		local players = currentList
1327
		return {players[math.random(1,#players)]}
1328
	end,
1329
	["%%(.+)"] = function(speaker,args)
1330
		local returns = {}
1331
		local team = args[1]
1332
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1333
			if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
1334
				table.insert(returns,plr)
1335
			end
1336
		end
1337
		return returns
1338
	end,
1339
	["allies"] = function(speaker)
1340
		local returns = {}
1341
		local team = speaker.Team
1342
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1343
			if plr.Team == team then
1344
				table.insert(returns,plr)
1345
			end
1346
		end
1347
		return returns
1348
	end,
1349
	["enemies"] = function(speaker)
1350
		local returns = {}
1351
		local team = speaker.Team
1352
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1353
			if plr.Team ~= team then
1354
				table.insert(returns,plr)
1355
			end
1356
		end
1357
		return returns
1358
	end,
1359
	["team"] = function(speaker)
1360
		local returns = {}
1361
		local team = speaker.Team
1362
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1363
			if plr.Team == team then
1364
				table.insert(returns,plr)
1365
			end
1366
		end
1367
		return returns
1368
	end,
1369
	["nonteam"] = function(speaker)
1370
		local returns = {}
1371
		local team = speaker.Team
1372
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1373
			if plr.Team ~= team then
1374
				table.insert(returns,plr)
1375
			end
1376
		end
1377
		return returns
1378
	end,
1379
	["friends"] = function(speaker,args)
1380
		local returns = {}
1381
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1382
			if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
1383
				table.insert(returns,plr)
1384
			end
1385
		end
1386
		return returns
1387
	end,
1388
	["nonfriends"] = function(speaker,args)
1389
		local returns = {}
1390
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1391
			if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
1392
				table.insert(returns,plr)
1393
			end
1394
		end
1395
		return returns
1396
	end,
1397
	["guests"] = function(speaker,args)
1398
		local returns = {}
1399
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1400
			if plr.Guest then
1401
				table.insert(returns,plr)
1402
			end
1403
		end
1404
		return returns
1405
	end,
1406
	["bacons"] = function(speaker,args)
1407
		local returns = {}
1408
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1409
			if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
1410
				table.insert(returns,plr)
1411
			end
1412
		end
1413
		return returns
1414
	end,
1415
	["age(%d+)"] = function(speaker,args)
1416
		local returns = {}
1417
		local age = tonumber(args[1])
1418
		if not age == nil then return end
1419
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1420
		if plr.AccountAge <= age then
1421
				table.insert(returns,plr)
1422
			end
1423
		end
1424
		return returns
1425
	end,
1426
	["rad(%d+)"] = function(speaker,args)
1427
		local returns = {}
1428
		local radius = tonumber(args[1])
1429
		local speakerChar = speaker.Character
1430
		if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
1431
		for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
1432
			if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
1433
				local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
1434
				if magnitude <= radius then table.insert(returns,plr) end
1435
			end
1436
		end
1437
		return returns
1438
	end
1439
}
1440
1441
local function toTokens(str)
1442
	local tokens = {}
1443
	for op,name in string.gmatch(str,"([+-])([^+-]+)") do
1444
		table.insert(tokens,{Operator = op,Name = name})
1445
	end
1446
	return tokens
1447
end
1448
1449
local function onlyIncludeInTable(tab,matches)
1450
	local matchTable = {}
1451
	local resultTable = {}
1452
	for i,v in pairs(matches) do matchTable[v.Name] = true end
1453
	for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
1454
	return resultTable
1455
end
1456
1457
local function removeTableMatches(tab,matches)
1458
	local matchTable = {}
1459
	local resultTable = {}
1460
	for i,v in pairs(matches) do matchTable[v.Name] = true end
1461
	for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
1462
	return resultTable
1463
end
1464
1465
local function getPlayersByName(name)
1466
	local found = {}
1467
	for i,v in pairs(game:GetService("Players"):GetChildren()) do
1468
		if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
1469
			table.insert(found,v)
1470
		end
1471
	end
1472
	return found
1473
end
1474
1475
local function getPlayer(list,speaker)
1476
	if list == nil then return {speaker.Name} end
1477
	local nameList = splitString(list,",")
1478
	
1479
	local foundList = {}
1480
	
1481
	for _,name in pairs(nameList) do
1482
		if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
1483
		local tokens = toTokens(name)
1484
		local initialPlayers = game:GetService("Players"):GetPlayers()
1485
		
1486
		for i,v in pairs(tokens) do
1487
			if v.Operator == "+" then
1488
				local tokenContent = v.Name
1489
				local foundCase = false
1490
				for regex,case in pairs(SpecialPlayerCases) do
1491
					local matches = {string.match(tokenContent,"^"..regex.."$")}
1492
					if #matches > 0 then
1493
						foundCase = true
1494
						initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
1495
					end
1496
				end
1497
				if not foundCase then
1498
					initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
1499
				end
1500
			else
1501
				local tokenContent = v.Name
1502
				local foundCase = false
1503
				for regex,case in pairs(SpecialPlayerCases) do
1504
					local matches = {string.match(tokenContent,"^"..regex.."$")}
1505
					if #matches > 0 then
1506
						foundCase = true
1507
						initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
1508
					end
1509
				end
1510
				if not foundCase then
1511
					initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
1512
				end
1513
			end
1514
		end
1515
		
1516
		for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
1517
	end
1518
	
1519
	local foundNames = {}
1520
	for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
1521
	
1522
	return foundNames
1523
end
1524
1525
local getprfx=function(strn)
1526
    if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
1527
    end return
1528
end
1529
1530
function do_exec(str, plr)
1531
	str = str:gsub('/e ', '')
1532
	local t = getprfx(str)
1533
	if not t then return end
1534
	str = str:sub(t[2])
1535
	if t[1]=='cmd' then
1536
		execCmd(str, plr)
1537
		IndexContents('',true,false,true)
1538
		if canvasPos ~= nil then
1539
			CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
1540
		end
1541
	end
1542
end
1543
1544
1545
Players.LocalPlayer.Chatted:connect(function(message)
1546
	do_exec(message, Players.LocalPlayer)
1547
end)
1548
1549
Holder.Cmdbar.Changed:connect(function(property)
1550
	if property == "Text" and Holder.Cmdbar:IsFocused() then
1551
		IndexContents(Holder.Cmdbar.Text,true,true)
1552
	end
1553
end)
1554
1555
Holder.Cmdbar.FocusLost:connect(function(enterpressed)
1556
	if enterpressed then
1557
		execCmd(Holder.Cmdbar.Text,Players.LocalPlayer)
1558
	end
1559
	Holder.Cmdbar.Text = "Command Bar"
1560
	IndexContents('',true,false,true)
1561
	if canvasPos ~= nil then
1562
		CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
1563
	end
1564
end)
1565
1566
Holder.Cmdbar.Focused:Connect(function() historyCount = 0 end)
1567
game:GetService("UserInputService").InputBegan:Connect(function(input)
1568
    if not Holder.Cmdbar:IsFocused() then return end
1569
    if input.KeyCode == Enum.KeyCode.Up then
1570
        historyCount = historyCount + 1
1571
        if historyCount > #cmdHistory then historyCount = #cmdHistory end
1572
        Holder.Cmdbar.Text = cmdHistory[historyCount] or ""
1573
    elseif input.KeyCode == Enum.KeyCode.Down then
1574
        historyCount = historyCount - 1
1575
        if historyCount < 1 then historyCount = 1 end
1576
        Holder.Cmdbar.Text = cmdHistory[historyCount] or ""
1577
    end
1578
end)
1579
1580
function isNumber(str)
1581
	return tonumber(str) ~= nil
1582
end
1583
1584
local UserInputService = game:GetService("UserInputService")
1585
bindsGUI = KeybindEditor
1586
awaitingInput = false
1587
keySelected = false
1588
1589
function refreshbinds()
1590
	if Holder_2 then
1591
		Holder_2:ClearAllChildren()
1592
		Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
1593
		for i = 1, #binds do
1594
			local YSize = 25
1595
			local Position = ((i * YSize) - YSize)
1596
			local newbind = Example_2:Clone()
1597
			newbind.Parent = Holder_2
1598
			newbind.Visible = true
1599
			newbind.Position = UDim2.new(0,0,0, Position + 5)
1600
			local input = tostring(binds[i].KEY)
1601
			local key
1602
			if input == 'RightClick' or input == 'LeftClick' then
1603
				key = input
1604
			else
1605
				key = input:sub(14)
1606
			end
1607
			newbind.Text.Text = key.." > "..binds[i].COMMAND
1608
			Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
1609
			newbind.Text.Delete.MouseButton1Click:Connect(function()
1610
				execCmd('unkeybind '..binds[i].COMMAND..' '..binds[i].KEY)
1611
			end)
1612
		end
1613
	end
1614
end
1615
1616
refreshbinds()
1617
1618
function refreshaliases()
1619
	if Holder_3 then
1620
		Holder_3:ClearAllChildren()
1621
		Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
1622
		for i = 1, #aliases do
1623
			local YSize = 25
1624
			local Position = ((i * YSize) - YSize)
1625
			local newbind = Example_3:Clone()
1626
			newbind.Parent = Holder_3
1627
			newbind.Visible = true
1628
			newbind.Position = UDim2.new(0,0,0, Position + 5)
1629
			newbind.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
1630
			Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
1631
			newbind.Text.Delete.MouseButton1Click:Connect(function()
1632
				execCmd('removealias '..aliases[i].ALIAS)
1633
			end)
1634
		end
1635
	end
1636
end
1637
1638
BindTo.MouseButton1Click:Connect(function()
1639
	awaitingInput = true
1640
	BindTo.Text = 'Press something'
1641
end)
1642
1643
bindsGUI.Add.MouseButton1Click:Connect(function()
1644
	if keySelected then
1645
		addbind(bindsGUI.Cmdbar.Text,keyPressed)
1646
		refreshbinds()
1647
		updatesaves()
1648
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
1649
			notify('Keybinds Updated','Binded '..keyPressed..' to '..bindsGUI.Cmdbar.Text)
1650
		else
1651
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..bindsGUI.Cmdbar.Text)
1652
		end
1653
	end
1654
end)
1655
1656
bindsGUI.CloseButton.MouseButton1Click:Connect(function()
1657
	Cmdbar.Text = 'Command'
1658
	BindTo.Text = 'Click to bind'
1659
	keySelected = false
1660
	KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0.5, 500), "InOut", "Quart", 0.5, true, nil)
1661
end)
1662
1663
local function onInputBegan(input,gameProcessed)
1664
	if awaitingInput then
1665
		if input.UserInputType == Enum.UserInputType.Keyboard then
1666
			keyPressed = tostring(input.KeyCode)
1667
			BindTo.Text = keyPressed:sub(14)
1668
		elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
1669
			keyPressed = 'LeftClick'
1670
			BindTo.Text = 'LeftClick'
1671
		elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
1672
			keyPressed = 'RightClick'
1673
			BindTo.Text = 'RightClick'
1674
		end
1675
		awaitingInput = false
1676
		keySelected = true
1677
	end
1678
	if not gameProcessed and #binds > 0 then
1679
		for i,v in pairs(binds)do
1680
		if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
1681
			execCmd(v.COMMAND)
1682
		elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
1683
			execCmd(v.COMMAND)
1684
		elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
1685
			execCmd(v.COMMAND)
1686
		end
1687
	end
1688
	end
1689
end
1690
 
1691
UserInputService.InputBegan:connect(onInputBegan)
1692
1693
game:GetService("RunService").RenderStepped:Connect(function()
1694
	if r15noclip then
1695
		if Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
1696
			Players.LocalPlayer.Character.Humanoid:ChangeState(11)
1697
		end
1698
	end
1699
end)
1700
1701
game:GetService('RunService').Stepped:connect(function()
1702
	if bangplr then
1703
		Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[bangplr].Character.HumanoidRootPart.CFrame
1704
	end
1705
	if spinenabled then
1706
		pcall(function()
1707
			spinning.Position = Players.LocalPlayer.Character.Head.Position
1708
		end)
1709
	end
1710
end)
1711
1712
KeybindEditor.Toggles.Fly.Select.MouseButton1Click:Connect(function()
1713
	if keySelected then
1714
		addbind('togglefly',keyPressed)
1715
		refreshbinds()
1716
		updatesaves()
1717
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
1718
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle fly')
1719
		else
1720
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fly')
1721
		end
1722
	end
1723
end)
1724
1725
KeybindEditor.Toggles.Noclip.Select.MouseButton1Click:Connect(function()
1726
	if keySelected then
1727
		addbind('togglenoclip',keyPressed)
1728
		refreshbinds()
1729
		updatesaves()
1730
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
1731
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle noclip')
1732
		else
1733
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle noclip')
1734
		end
1735
	end
1736
end)
1737
1738
KeybindEditor.Toggles.Float.Select.MouseButton1Click:Connect(function()
1739
	if keySelected then
1740
		addbind('togglefloat',keyPressed)
1741
		refreshbinds()
1742
		updatesaves()
1743
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
1744
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle float')
1745
		else
1746
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle float')
1747
		end
1748
	end
1749
end)
1750
1751
addcmd('addalias','Adds an alias to a command',{},
1752
function(args,speaker)
1753
	if #args < 2 then return end
1754
	local cmd = string.lower(args[1])
1755
	local alias = string.lower(args[2])
1756
	for i,v in pairs(cmds) do
1757
		if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
1758
			customAlias[alias] = v
1759
			aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
1760
			notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
1761
			updatesaves()
1762
			refreshaliases()
1763
			break
1764
		end
1765
	end
1766
end)
1767
1768
addcmd('loadsavedaliases','dab',{},
1769
function(args,speaker)
1770
    if #args < 2 then return end
1771
    local cmd = string.lower(args[1])
1772
    local alias = string.lower(args[2])
1773
    for i,v in pairs(cmds) do
1774
        if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
1775
            customAlias[alias] = v
1776
			refreshaliases()
1777
            break
1778
        end
1779
    end
1780
end)
1781
1782
if aliases then
1783
	for i = 1, #aliases do
1784
		execCmd('loadsavedaliases '..aliases[i].CMD..' '..aliases[i].ALIAS)
1785
	end
1786
end
1787
1788
addcmd('removealias','Removes a custom alias',{},
1789
function(args,speaker)
1790
	if #args < 1 then return end
1791
	local alias = string.lower(args[1])
1792
	if customAlias[alias] then
1793
		local cmd = customAlias[alias].NAME
1794
		customAlias[alias] = nil
1795
		for i,v in pairs(aliases) do
1796
			if v.ALIAS == tostring(alias) then
1797
				table.remove(aliases, i)
1798
			end
1799
		end
1800
		notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
1801
		updatesaves()
1802
		refreshaliases()
1803
	end
1804
end)
1805
1806
addcmd('clraliases','Removes all custom aliases',{},
1807
function(args,speaker)
1808
	customAlias = {}
1809
	aliases = {}
1810
	notify('Aliases Modified','Removed all aliases')
1811
	updatesaves()
1812
	refreshaliases()
1813
end)
1814
1815
addcmd('serverinfo', 'Gives you info about the server',{'info','sinfo'},
1816
function(args, speaker)
1817
	local Sinfo = Instance.new("ScreenGui")
1818
	local drag = Instance.new("Frame")
1819
	local PromptDialog = Instance.new("Frame")
1820
	local shadow = Instance.new("Frame")
1821
	local PopupText = Instance.new("TextLabel")
1822
	local Exit = Instance.new("TextButton")
1823
	local ContainerFrame = Instance.new("Frame")
1824
	local TextLabel = Instance.new("TextLabel")
1825
	local TextLabel2 = Instance.new("TextLabel")
1826
	local TextLabel3 = Instance.new("TextLabel")
1827
	local Time = Instance.new("TextLabel")
1828
	local appearance = Instance.new("TextLabel")
1829
	local fe = Instance.new("TextLabel")
1830
	local maxplayers = Instance.new("TextLabel")
1831
	local name = Instance.new("TextLabel")
1832
	local placeid = Instance.new("TextLabel")
1833
	local playerid = Instance.new("TextLabel")
1834
	local players = Instance.new("TextLabel")
1835
	Sinfo.Name = "Sinfo"
1836
	Sinfo.Parent = game:GetService("CoreGui").RobloxGui
1837
	drag.Name = "drag"
1838
	drag.Parent = Sinfo
1839
	drag.Active = true
1840
	drag.BackgroundColor3 = Color3.new(1, 1, 1)
1841
	drag.BackgroundTransparency = 1
1842
	dragGUI(drag)
1843
	drag.Position = UDim2.new(0.5, -150, 0, -400)
1844
	drag.Size = UDim2.new(0, 290, 0, 30)
1845
	PromptDialog.Name = "PromptDialog"
1846
	PromptDialog.Parent = drag
1847
	PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
1848
	PromptDialog.BackgroundTransparency = 1
1849
	PromptDialog.BorderSizePixel = 0
1850
	PromptDialog.Position = UDim2.new(0, -10, 0, 0)
1851
	PromptDialog.Size = UDim2.new(0, 310, 0, 300)
1852
	PromptDialog.ZIndex = 8
1853
	shadow.Name = "shadow"
1854
	shadow.Parent = PromptDialog
1855
	shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1856
	shadow.BackgroundTransparency = 0.30000001192093
1857
	shadow.BorderColor3 = Color3.new(0, 0, 0)
1858
	shadow.BorderSizePixel = 0
1859
	shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
1860
	shadow.Size = UDim2.new(0, 290, 0, 26)
1861
	PopupText.Name = "PopupText"
1862
	PopupText.Parent = shadow
1863
	PopupText.BackgroundTransparency = 1
1864
	PopupText.Position = UDim2.new(0, 8, 0, -3)
1865
	PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
1866
	PopupText.ZIndex = 110
1867
	PopupText.Font = Enum.Font.SourceSansBold
1868
	PopupText.FontSize = Enum.FontSize.Size28
1869
	PopupText.Text = "Server"
1870
	PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
1871
	PopupText.TextStrokeTransparency = 0
1872
	PopupText.TextWrapped = true
1873
	PopupText.TextYAlignment = Enum.TextYAlignment.Top
1874
	Exit.Name = "Exit"
1875
	Exit.Parent = shadow
1876
	Exit.BackgroundColor3 = Color3.new(1, 0, 0)
1877
	Exit.BackgroundTransparency = 0.30000001192093
1878
	Exit.BorderColor3 = Color3.new(1, 0, 0)
1879
	Exit.BorderSizePixel = 0
1880
	Exit.Position = UDim2.new(0, 267, 0, 3)
1881
	Exit.Size = UDim2.new(0, 20, 0, 20)
1882
	Exit.FontSize = Enum.FontSize.Size14
1883
	Exit.Text = ""
1884
	ContainerFrame.Name = "ContainerFrame"
1885
	ContainerFrame.Parent = PromptDialog
1886
	ContainerFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1887
	ContainerFrame.BackgroundTransparency = 0.5
1888
	ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
1889
	ContainerFrame.BorderSizePixel = 0
1890
	ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
1891
	ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
1892
	ContainerFrame.ZIndex = 5
1893
	TextLabel.Name = "Text Label"
1894
	TextLabel.Parent = ContainerFrame
1895
	TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
1896
	TextLabel.BackgroundTransparency = 1
1897
	TextLabel.BorderColor3 = Color3.new(0, 0, 0)
1898
	TextLabel.Position = UDim2.new(0, 10, 0, 70)
1899
	TextLabel.Size = UDim2.new(0, 100, 0, 20)
1900
	TextLabel.ZIndex = 10
1901
	TextLabel.Font = Enum.Font.SourceSans
1902
	TextLabel.FontSize = Enum.FontSize.Size24
1903
	TextLabel.Text = "Run Time:"
1904
	TextLabel.TextColor3 = Color3.new(1, 1, 1)
1905
	TextLabel.TextStrokeTransparency = 0
1906
	TextLabel.TextXAlignment = Enum.TextXAlignment.Left
1907
	TextLabel2.Name = "Text Label2"
1908
	TextLabel2.Parent = ContainerFrame
1909
	TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
1910
	TextLabel2.BackgroundTransparency = 1
1911
	TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
1912
	TextLabel2.Position = UDim2.new(0, 10, 0, 120)
1913
	TextLabel2.Size = UDim2.new(0, 100, 0, 20)
1914
	TextLabel2.ZIndex = 10
1915
	TextLabel2.Font = Enum.Font.SourceSans
1916
	TextLabel2.FontSize = Enum.FontSize.Size24
1917
	TextLabel2.Text = "Statistics:"
1918
	TextLabel2.TextColor3 = Color3.new(1, 1, 1)
1919
	TextLabel2.TextStrokeTransparency = 0
1920
	TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
1921
	TextLabel3.Name = "Text Label3"
1922
	TextLabel3.Parent = ContainerFrame
1923
	TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
1924
	TextLabel3.BackgroundTransparency = 1
1925
	TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
1926
	TextLabel3.Position = UDim2.new(0, 10, 0, 0)
1927
	TextLabel3.Size = UDim2.new(0, 100, 0, 20)
1928
	TextLabel3.ZIndex = 10
1929
	TextLabel3.Font = Enum.Font.SourceSans
1930
	TextLabel3.FontSize = Enum.FontSize.Size24
1931
	TextLabel3.Text = "Local Player:"
1932
	TextLabel3.TextColor3 = Color3.new(1, 1, 1)
1933
	TextLabel3.TextStrokeTransparency = 0
1934
	TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
1935
	Time.Name = "Time"
1936
	Time.Parent = ContainerFrame
1937
	Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
1938
	Time.BackgroundTransparency = 1
1939
	Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
1940
	Time.Position = UDim2.new(0, 10, 0, 90)
1941
	Time.Size = UDim2.new(0, 100, 0, 20)
1942
	Time.ZIndex = 100
1943
	Time.Font = Enum.Font.ArialBold
1944
	Time.FontSize = Enum.FontSize.Size14
1945
	Time.Text = "Loading..."
1946
	Time.TextColor3 = Color3.new(1, 1, 1)
1947
	Time.TextStrokeTransparency = 0
1948
	Time.TextXAlignment = Enum.TextXAlignment.Left
1949
	appearance.Name = "appearance"
1950
	appearance.Parent = ContainerFrame
1951
	appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
1952
	appearance.BackgroundTransparency = 1
1953
	appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
1954
	appearance.Position = UDim2.new(0, 10, 0, 40)
1955
	appearance.Size = UDim2.new(0, 100, 0, 20)
1956
	appearance.ZIndex = 10
1957
	appearance.Font = Enum.Font.ArialBold
1958
	appearance.FontSize = Enum.FontSize.Size14
1959
	appearance.Text = "Appearance: Loading..."
1960
	appearance.TextColor3 = Color3.new(1, 1, 1)
1961
	appearance.TextStrokeTransparency = 0
1962
	appearance.TextXAlignment = Enum.TextXAlignment.Left
1963
	fe.Name = "fe"
1964
	fe.Parent = ContainerFrame
1965
	fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
1966
	fe.BackgroundTransparency = 1
1967
	fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
1968
	fe.Position = UDim2.new(0, 10, 0, 200)
1969
	fe.Size = UDim2.new(0, 100, 0, 20)
1970
	fe.ZIndex = 10
1971
	fe.Font = Enum.Font.ArialBold
1972
	fe.FontSize = Enum.FontSize.Size14
1973
	fe.Text = "Loading..."
1974
	fe.TextColor3 = Color3.new(1, 1, 1)
1975
	fe.TextStrokeTransparency = 0
1976
	fe.TextXAlignment = Enum.TextXAlignment.Left
1977
	maxplayers.Name = "maxplayers"
1978
	maxplayers.Parent = ContainerFrame
1979
	maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
1980
	maxplayers.BackgroundTransparency = 1
1981
	maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
1982
	maxplayers.Position = UDim2.new(0, 10, 0, 160)
1983
	maxplayers.Size = UDim2.new(0, 100, 0, 20)
1984
	maxplayers.ZIndex = 10
1985
	maxplayers.Font = Enum.Font.ArialBold
1986
	maxplayers.FontSize = Enum.FontSize.Size14
1987
	maxplayers.Text = "Loading..."
1988
	maxplayers.TextColor3 = Color3.new(1, 1, 1)
1989
	maxplayers.TextStrokeTransparency = 0
1990
	maxplayers.TextXAlignment = Enum.TextXAlignment.Left
1991
	name.Name = "name"
1992
	name.Parent = ContainerFrame
1993
	name.BackgroundColor3 = Color3.new(0, 0.8, 1)
1994
	name.BackgroundTransparency = 1
1995
	name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
1996
	name.Position = UDim2.new(0, 10, 0, 180)
1997
	name.Size = UDim2.new(0, 100, 0, 20)
1998
	name.ZIndex = 10
1999
	name.Font = Enum.Font.ArialBold
2000
	name.FontSize = Enum.FontSize.Size14
2001
	name.Text = "Place: Loading..."
2002
	name.TextColor3 = Color3.new(1, 1, 1)
2003
	name.TextStrokeTransparency = 0
2004
	name.TextXAlignment = Enum.TextXAlignment.Left
2005
	placeid.Name = "placeid"
2006
	placeid.Parent = ContainerFrame
2007
	placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
2008
	placeid.BackgroundTransparency = 1
2009
	placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
2010
	placeid.Position = UDim2.new(0, 10, 0, 220)
2011
	placeid.Size = UDim2.new(0, 100, 0, 20)
2012
	placeid.ZIndex = 10
2013
	placeid.Font = Enum.Font.ArialBold
2014
	placeid.FontSize = Enum.FontSize.Size14
2015
	placeid.Text = "Place ID: Loading..."
2016
	placeid.TextColor3 = Color3.new(1, 1, 1)
2017
	placeid.TextStrokeTransparency = 0
2018
	placeid.TextXAlignment = Enum.TextXAlignment.Left
2019
	playerid.Name = "playerid"
2020
	playerid.Parent = ContainerFrame
2021
	playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
2022
	playerid.BackgroundTransparency = 1
2023
	playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
2024
	playerid.Position = UDim2.new(0, 10, 0, 20)
2025
	playerid.Size = UDim2.new(0, 100, 0, 20)
2026
	playerid.ZIndex = 10
2027
	playerid.Font = Enum.Font.ArialBold
2028
	playerid.FontSize = Enum.FontSize.Size14
2029
	playerid.Text = "Player ID: Loading..."
2030
	playerid.TextColor3 = Color3.new(1, 1, 1)
2031
	playerid.TextStrokeTransparency = 0
2032
	playerid.TextXAlignment = Enum.TextXAlignment.Left
2033
	players.Name = "players"
2034
	players.Parent = ContainerFrame
2035
	players.BackgroundColor3 = Color3.new(0, 0.8, 1)
2036
	players.BackgroundTransparency = 1
2037
	players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
2038
	players.Position = UDim2.new(0, 10, 0, 140)
2039
	players.Size = UDim2.new(0, 100, 0, 20)
2040
	players.ZIndex = 100
2041
	players.Font = Enum.Font.ArialBold
2042
	players.FontSize = Enum.FontSize.Size14
2043
	players.Text = "Loading..."
2044
	players.TextColor3 = Color3.new(1, 1, 1)
2045
	players.TextStrokeTransparency = 0
2046
	players.TextXAlignment = Enum.TextXAlignment.Left
2047
	local SINFOGUI = ContainerFrame
2048
	drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil) 
2049
	wait(0.5)
2050
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
2051
	SINFOGUI.name.Text = "Place: " .. Asset.Name
2052
	Exit.MouseButton1Click:Connect(function()
2053
		drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil) 
2054
		wait(0.6)
2055
		Sinfo:Destroy()
2056
	end)
2057
	SINFOGUI.playerid.Text = "Player ID: " ..Players.LocalPlayer.UserId
2058
	if workspace.FilteringEnabled == true then
2059
		SINFOGUI.fe.Text = "Filtering Enabled"
2060
	elseif workspace.FilteringEnabled == false then
2061
		SINFOGUI.fe.Text = "Filtering Disabled"
2062
	end
2063
	SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
2064
	SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId
2065
	repeat
2066
		players = Players:getPlayers()
2067
		SINFOGUI.players.Text = #players.. " Player(s)"
2068
		SINFOGUI.appearance.Text = "Appearance: " ..Players.LocalPlayer.CharacterAppearanceId
2069
		local seconds = math.floor(workspace.DistributedGameTime)
2070
		local minutes = math.floor(workspace.DistributedGameTime / 60)
2071
		local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
2072
		local seconds = seconds - (minutes * 60)
2073
	local minutes = minutes - (hours * 60)
2074
		if hours < 1 then if minutes < 1 then
2075
			SINFOGUI.Time.Text = seconds .. " Second(s)" else
2076
			SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
2077
		end
2078
		else
2079
			SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
2080
		end
2081
		wait(1)
2082
	until SINFOGUI.Parent == nil
2083
end)
2084
2085
addcmd('breakloops','Stops any cmd loops (;100^1^cmd)',{'break'},
2086
function(args, speaker)
2087
	lastBreakTime = tick()
2088
end)
2089
2090
addcmd('rejoin','Makes you rejoin the game',{'rj'},
2091
function(args, speaker)
2092
	game:GetService('TeleportService'):Teleport(game.PlaceId)
2093
end)
2094
2095
addcmd('exit','Kills roblox process',{},
2096
function(args, speaker)
2097
	game:shutdown() 
2098
end)
2099
2100
runningnoclip = false
2101
Clip = true
2102
addcmd('noclip','Noclip through objects',{},
2103
function(args, speaker)
2104
notify('Noclip','Noclip enabled')
2105
Clip = false
2106
if Players.LocalPlayer.Character:FindFirstChild('Torso') then
2107
	wait(0.1)
2108
	if runningnoclip == false then runningnoclip = true
2109
	game:GetService('RunService').Stepped:connect(function ()
2110
	if Clip == false and Players.LocalPlayer.Character ~= nil then
2111
    for _, child in pairs( Players.LocalPlayer.Character:GetDescendants()) do
2112
	if child.ClassName == 'Part' and child.CanCollide == true then
2113
    child.CanCollide = false
2114
	end end end end) end
2115
else
2116
	r15noclip = true
2117
end
2118
end)
2119
2120
addcmd('clip','Disables noclip',{},
2121
function(args, speaker)
2122
	notify('Noclip','Noclip disabled')
2123
	Clip = true
2124
	r15noclip = false
2125
	wait(0.1)
2126
	if Players.LocalPlayer.Character ~= nil then
2127
		Players.LocalPlayer.Character.Torso.CanCollide = true
2128
    	Players.LocalPlayer.Character.Head.CanCollide = true
2129
	end
2130
end)
2131
2132
addcmd('togglenoclip','Toggles noclip',{},
2133
function(args, speaker)
2134
	if Clip then
2135
		execCmd('noclip')
2136
	else
2137
		execCmd('clip')
2138
	end
2139
end)
2140
2141
FLYING = false
2142
iyflyspeed = 1
2143
function sFLY()
2144
	repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
2145
	repeat wait() until Mouse
2146
	
2147
	local T = Players.LocalPlayer.Character.HumanoidRootPart
2148
	local CONTROL = {F = 0, B = 0, L = 0, R = 0}
2149
	local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
2150
	local SPEED = 0
2151
	
2152
	local function FLY()
2153
		FLYING = true
2154
		local BG = Instance.new('BodyGyro', T)
2155
		local BV = Instance.new('BodyVelocity', T)
2156
		BG.P = 9e4
2157
		BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
2158
		BG.cframe = T.CFrame
2159
		BV.velocity = Vector3.new(0, 0.1, 0)
2160
		BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
2161
		spawn(function()
2162
		repeat wait()
2163
		Players.LocalPlayer.Character.Humanoid.PlatformStand = true
2164
		if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
2165
		SPEED = 50
2166
		elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
2167
		SPEED = 0
2168
		end
2169
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
2170
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
2171
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
2172
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
2173
BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
2174
else
2175
BV.velocity = Vector3.new(0, 0.1, 0)
2176
end
2177
	BG.cframe = workspace.CurrentCamera.CoordinateFrame
2178
			until not FLYING
2179
			CONTROL = {F = 0, B = 0, L = 0, R = 0}
2180
			lCONTROL = {F = 0, B = 0, L = 0, R = 0}
2181
			SPEED = 0
2182
			BG:destroy()
2183
			BV:destroy()
2184
			Players.LocalPlayer.Character.Humanoid.PlatformStand = false
2185
		end)
2186
	end
2187
	Mouse.KeyDown:connect(function(KEY)
2188
		if KEY:lower() == 'w' then
2189
			CONTROL.F = iyflyspeed
2190
		elseif KEY:lower() == 's' then
2191
			CONTROL.B = -iyflyspeed
2192
		elseif KEY:lower() == 'a' then
2193
			CONTROL.L = -iyflyspeed 
2194
		elseif KEY:lower() == 'd' then 
2195
			CONTROL.R = iyflyspeed
2196
		end
2197
	end)
2198
	Mouse.KeyUp:connect(function(KEY)
2199
		if KEY:lower() == 'w' then
2200
			CONTROL.F = 0
2201
		elseif KEY:lower() == 's' then
2202
			CONTROL.B = 0
2203
		elseif KEY:lower() == 'a' then
2204
			CONTROL.L = 0
2205
		elseif KEY:lower() == 'd' then
2206
			CONTROL.R = 0
2207
		end
2208
	end)
2209
	FLY()
2210
end
2211
2212
function NOFLY()
2213
	FLYING = false
2214
	Players.LocalPlayer.Character.Humanoid.PlatformStand = false
2215
end
2216
2217
Players.LocalPlayer.CharacterAdded:Connect(function()
2218
	FLYING = false
2219
	Floating = false
2220
end)
2221
2222
addcmd('fly','Makes you fly',{},
2223
function(args, speaker)
2224
	sFLY()
2225
end)
2226
2227
addcmd('flyspeed','Set fly speed',{'flysp'},
2228
function(args, speaker)
2229
	if isNumber(args[1]) then
2230
		iyflyspeed = args[1]
2231
	end
2232
end)
2233
2234
addcmd('unfly','Disables fly',{'nofly'},
2235
function(args, speaker)
2236
	NOFLY()
2237
end)
2238
2239
addcmd('togglefly','Toggle fly',{},
2240
function(args, speaker)
2241
	if FLYING then
2242
		NOFLY()
2243
	else
2244
		sFLY()
2245
	end
2246
end)
2247
2248
Floating = false
2249
addcmd('float', 'Makes you float',{},
2250
function(args,speaker)
2251
	Floating = true
2252
	local pchar = Players.LocalPlayer.Character
2253
	if pchar and not pchar:FindFirstChild("Float") then
2254
		spawn(function()
2255
			local Float = Instance.new('Part', pchar)
2256
			Float.Name = 'Float'
2257
			Float.Transparency = 1
2258
			Float.Size = Vector3.new(6,1,6)
2259
			Float.Anchored = true
2260
			Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
2261
			notify('Float','Float Enabled')
2262
			spawn(function()
2263
				while wait(0.1) do
2264
					if pchar:FindFirstChild("Float") then
2265
						Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
2266
					else
2267
						break
2268
					end
2269
				end
2270
			end)
2271
		end)
2272
	end
2273
end)
2274
2275
addcmd('unfloat','Disables floating',{'nofloat'},
2276
function(args, speaker)
2277
	Floating = false
2278
	local pchar = Players.LocalPlayer.Character
2279
	notify('Float','Float Disabled')
2280
	if pchar:FindFirstChild("Float") then
2281
		pchar.Float:Destroy()
2282
	end
2283
end)
2284
2285
addcmd('togglefloat','Toggles floating',{},
2286
function(args, speaker)
2287
	if Floating then
2288
		execCmd('unfloat')
2289
	else
2290
		execCmd('float')
2291
	end
2292
end)
2293
2294
local WayPoints = {}
2295
addcmd("savepos","Sets a waypoint at your position",{'spos'},
2296
function(args, speaker)
2297
	local WPName = tostring(getstring(false, 0))
2298
	if speaker.Character:findFirstChild("HumanoidRootPart") then
2299
		notify('Modified Waypoints',"Created waypoint: "..getstring(false, 0))
2300
		local torso = speaker.Character:findFirstChild("HumanoidRootPart")
2301
		WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
2302
	end	
2303
end)
2304
2305
addcmd("deletepos","Deletes a waypoint",{'dpos'},
2306
function(args, speaker)
2307
	for i,v in pairs(WayPoints) do
2308
		if v.NAME == tostring(getstring(false, 0)) then
2309
			notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
2310
			table.remove(WayPoints, i)
2311
		end
2312
	end
2313
end)
2314
2315
addcmd("loadpos","Teleports player to a waypoint",{'lpos'},
2316
function(args, speaker)
2317
	local WPName = tostring(getstring(false, 0))
2318
	if Players.LocalPlayer.Character then
2319
		for i,_ in pairs(WayPoints) do
2320
			local x = WayPoints[i].COORD[1]
2321
			local y = WayPoints[i].COORD[2]
2322
			local z = WayPoints[i].COORD[3]
2323
			if tostring(WayPoints[i].NAME) == tostring(WPName) then
2324
				Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
2325
			end
2326
		end
2327
	end
2328
end)
2329
2330
addcmd('esp', 'View a player and a players status',{},
2331
function(args, speaker)
2332
	local players = getPlayer(args[1], speaker)
2333
	for i,v in pairs(players)do
2334
		spawn(function()
2335
			for _, child in pairs( game["CoreGui"]:GetChildren()) do
2336
				if child.Name == Players[v].Name then
2337
					child:Destroy()
2338
				end
2339
			end
2340
			wait(0.5)
2341
			local m = game["Players"].LocalPlayer:GetMouse()
2342
			local rs = game:GetService("RunService").RenderStepped
2343
			local espplr = Players[v]
2344
			if espplr.Character and espplr.Name ~= Players.LocalPlayer.Name then
2345
				for b,n in pairs (espplr.Character:GetChildren()) do
2346
					if (n:IsA("BasePart")) then
2347
						local a = Instance.new("BoxHandleAdornment", game.CoreGui)
2348
						a.Name = espplr.Name
2349
						a.Adornee = n
2350
						a.AlwaysOnTop = true
2351
						a.ZIndex = 0
2352
						a.Size = n.Size
2353
						a.Transparency = 0.7
2354
						local resetting = false
2355
						if espplr.TeamColor == Players.LocalPlayer.TeamColor then
2356
							a.Color = BrickColor.new("Lime green")
2357
						else
2358
							a.Color = BrickColor.new("Really red")
2359
						end
2360
						if espplr.Character and espplr.Character:FindFirstChild('Head') then
2361
							local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
2362
							local TextLabel = Instance.new("TextLabel")
2363
							BillboardGui.Adornee = espplr.Character.Head
2364
							BillboardGui.Name = espplr.Name
2365
							BillboardGui.Size = UDim2.new(0, 100, 0, 150)
2366
							BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
2367
							BillboardGui.AlwaysOnTop = true
2368
							TextLabel.Parent = BillboardGui
2369
							TextLabel.BackgroundTransparency = 1
2370
							TextLabel.Position = UDim2.new(0, 0, 0, -50)
2371
							TextLabel.Size = UDim2.new(0, 100, 0, 100)
2372
							TextLabel.Font = Enum.Font.SourceSansSemibold
2373
							TextLabel.TextSize = 20
2374
							TextLabel.TextColor3 = Color3.new(1, 1, 1)
2375
							TextLabel.TextStrokeTransparency = 0
2376
							TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
2377
							espplr.Character:WaitForChild("Humanoid").Died:connect(function()
2378
								BillboardGui:Destroy() a:Destroy()
2379
							end)
2380
							Players.PlayerRemoving:connect(function(player)
2381
								if player.Name == espplr.Name then
2382
									BillboardGui:Destroy() a:Destroy()
2383
								end
2384
							end)
2385
							game:GetService("RunService").RenderStepped:Connect(function()
2386
								if espplr.Character ~= nil and espplr.Character.Parent ~= nil and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then
2387
									local pos = math.floor((Players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude)
2388
									TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos
2389
								else
2390
									BillboardGui:Destroy() a:Destroy()
2391
								end
2392
							end)
2393
						end
2394
					end
2395
				end
2396
			end
2397
		end)
2398
	end
2399
end)
2400
2401
addcmd('noesp', 'Removes esp',{'unesp'},
2402
function(args, speaker)
2403
	local players = getPlayer(args[1], speaker)
2404
	for i,v in pairs(players)do
2405
		spawn(function()
2406
			for _, child in pairs( game["CoreGui"]:GetChildren()) do
2407
				if child.Name == Players[v].Name then
2408
					child:Destroy()
2409
				end
2410
			end
2411
		end)
2412
	end
2413
end)
2414
2415
addcmd('view', 'View a player',{'spectate'},
2416
function(args, speaker)
2417
	local players = getPlayer(args[1], speaker)
2418
	for i,v in pairs(players) do
2419
		workspace.CurrentCamera.CameraSubject = Players[v].Character
2420
		notify('Spectate','Viewing ' .. Players[v].Name)
2421
	end
2422
end)
2423
2424
addcmd('unview', 'Stops viewing player',{'unspectate'},
2425
function()
2426
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
2427
	notify('Spectate','View turned off')
2428
end)
2429
2430
addcmd('unkeybind','Unbind a key',{},
2431
function(args, speaker)
2432
	local cmd = tostring(args[1])
2433
	local key = tostring(args[2])
2434
	for i,v in pairs(binds) do
2435
		if v.COMMAND == cmd and v.KEY == key then
2436
			table.remove(binds, i)
2437
			refreshbinds()
2438
		end
2439
	end
2440
	updatesaves()
2441
	if key == 'RightClick' or key == 'LeftClick' then
2442
		notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
2443
	else
2444
		notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
2445
	end
2446
end)
2447
2448
local fa = false
2449
local cam = workspace.CurrentCamera
2450
local cam1 = 0
2451
local cam2 = 0
2452
local cam3 = 0
2453
local k1 = false
2454
local k2 = false
2455
local k3 = false
2456
local k4 = false
2457
local k5 = false
2458
local k6 = false
2459
cs = 0.5
2460
function movecam()
2461
	local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
2462
	if fa == false then
2463
		repeat
2464
			if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2465
				local fp = fc.Position
2466
				fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
2467
				fa = true
2468
			end
2469
			game:GetService('RunService').RenderStepped:Wait()
2470
		until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
2471
		fa = false
2472
	end
2473
end
2474
function kp1(inputObject, gameProcessedEvent)
2475
	if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2476
		if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
2477
			k1 = true
2478
			cam1 = cs end
2479
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
2480
			k2 = true
2481
			cam1 = (cs*-1) end
2482
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
2483
			k3 = true
2484
			cam2 = cs end
2485
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
2486
			k4 = true
2487
			cam2 = (cs*-1) end
2488
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
2489
			k5 = true
2490
			cam3 = cs end
2491
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
2492
			k6 = true
2493
			cam3 = (cs*-1) end
2494
	end
2495
end
2496
game:GetService("UserInputService").InputBegan:connect(kp1)
2497
function kp2(inputObject, gameProcessedEvent)
2498
	if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2499
		if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
2500
			k1 = false
2501
			if k2 == false then
2502
				cam1 = 0
2503
			end
2504
		end
2505
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
2506
			k2 = false
2507
			if k1 == false then
2508
				cam1 = 0
2509
			end
2510
		end
2511
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
2512
			k3= false
2513
			if k4== false then
2514
				cam2 = 0
2515
			end
2516
		end
2517
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
2518
			k4 = false
2519
			if k3 == false then
2520
				cam2 = 0
2521
			end
2522
		end
2523
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
2524
			k5 = false
2525
			if k6 == false then
2526
				cam3 = 0
2527
			end
2528
		end
2529
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
2530
			k6 = false
2531
			if k5 == false then
2532
				cam3 = 0
2533
			end
2534
		end
2535
	end
2536
end
2537
game:GetService("UserInputService").InputEnded:connect(kp2)
2538
function FC()
2539
	if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2540
		game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
2541
		local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
2542
		fc.CanCollide = false
2543
		fc.Anchored = true
2544
		fc.Transparency = 1
2545
		fc.Size = Vector3.new(1,1,1)
2546
		fc.Name = 'xFC'
2547
		fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
2548
		local cam = workspace.CurrentCamera
2549
		cam.CameraSubject = fc
2550
		cam.CameraType = 'Custom'
2551
		movecam()
2552
	end end
2553
function UFC()
2554
	game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
2555
	if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
2556
		game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
2557
		local cam = workspace.CurrentCamera
2558
		cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
2559
		cam.CameraType = 'Custom'
2560
	end
2561
end
2562
2563
addcmd('freecam','Allows you to freely move camera around the game',{'fc'},
2564
function(args, speaker)
2565
	FC()
2566
end)
2567
2568
addcmd('fixcam','Fixes camera',{},
2569
function(args, speaker)
2570
	UFC()
2571
	workspace.CurrentCamera:remove()
2572
	wait(.1)
2573
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character.Humanoid
2574
	workspace.CurrentCamera.CameraType = "Custom"
2575
	Players.LocalPlayer.CameraMinZoomDistance = 0.5
2576
	Players.LocalPlayer.CameraMaxZoomDistance = 400
2577
	Players.LocalPlayer.CameraMode = "Classic"
2578
end)
2579
2580
addcmd('unfreecam','Disables freecam',{'nofreecam','unfc','nofc'},
2581
function(args, speaker)
2582
	UFC()
2583
end)
2584
2585
addcmd('freecamspeed','Adjusts freecam speed',{'fcspeed'},
2586
function(args, speaker)
2587
	if isNumber(args[1]) then
2588
		cs = args[1]
2589
	end
2590
end)
2591
2592
addcmd('firstp', 'Forces camera to go into first person',{},
2593
function(args, speaker)
2594
	Players.LocalPlayer.CameraMode = "LockFirstPerson"
2595
end)
2596
2597
addcmd('thirdp', 'Allows camera to go into third person',{},
2598
function(args, speaker)
2599
	Players.LocalPlayer.CameraMode = "Classic"
2600
end)
2601
2602
addcmd('maxzoom','Maximum camera zoom',{},
2603
function(args, speaker)
2604
	Players.LocalPlayer.CameraMaxZoomDistance = args[1]
2605
end)
2606
2607
addcmd('unlockws', 'Unlocks the whole workspace',{'unlockworkspace'},
2608
function(args, speaker)
2609
	notify('Workspace Modified','Workspace unlocked')
2610
	wait(1)
2611
    local function unlock(instance) 
2612
        for i,v in pairs(instance:GetChildren()) do
2613
            if v:IsA("BasePart") then
2614
                v.Locked = false
2615
            end
2616
            unlock(v)
2617
        end
2618
    end
2619
    unlock(workspace)
2620
end)
2621
2622
addcmd('lockws', 'Locks the whole workspace',{'lockworkspace'},
2623
function(args, speaker)
2624
	notify('Workspace Modified','Workspace locked')
2625
	wait(1)
2626
    local function lock(instance) 
2627
        for i,v in pairs(instance:GetChildren()) do
2628
            if v:IsA("BasePart") then
2629
                v.Locked = true
2630
            end
2631
            lock(v)
2632
        end
2633
    end
2634
    lock(workspace)
2635
end)
2636
2637
addcmd('delete', 'removes any part with a certain name from the workspace (DOES NOT REPLICATE)',{'remove'},
2638
function(args, speaker)
2639
	part = getstring(false, 0)
2640
    local function dels(instance)
2641
        for i,v in pairs(instance:GetChildren())do
2642
            if v.Name:lower() == part:lower() then v:Destroy() end
2643
            dels(v)
2644
        end
2645
    end
2646
    dels(workspace)
2647
notify('Item(s) Deleted','Deleted ' ..getstring(false, 0))
2648
end)
2649
2650
addcmd('deleteclass', 'removes any part with a certain classname from the workspace (DOES NOT REPLICATE)',{'removeclass','deleteclassname','removeclassname','dc'},
2651
function(args, speaker)
2652
	part = getstring(false, 0)
2653
    local function dels(instance)
2654
        for i,v in pairs(instance:GetChildren())do
2655
            if v.ClassName:lower() == part:lower() then v:Destroy() end
2656
            dels(v)
2657
        end
2658
    end
2659
    dels(workspace)
2660
notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(false, 0))
2661
end)
2662
2663
addcmd('btools', 'Gives you building tools (DOES NOT REPLICATE)',{},
2664
function(args, speaker)
2665
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 1
2666
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 2
2667
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 3
2668
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 4
2669
end)
2670
2671
addcmd('f3x', 'loads f3x tools',{'fex'},
2672
function(args, speaker)
2673
	loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
2674
end)
2675
2676
addcmd('age','tells you the age of a player',{},
2677
function(args, speaker)
2678
	local players = getPlayer(args[1], speaker)
2679
	for i,v in pairs(players) do
2680
		local players = getPlayer(args[1], speaker)
2681
		local platforms = {}
2682
		for i,v in pairs(players) do
2683
			local p = Players[v]
2684
			table.insert(platforms, p.Name.."'s age is: "..p.AccountAge)
2685
		end
2686
    notify('OS',table.concat(platforms, ',\n'))
2687
	end
2688
end)
2689
2690
addcmd('os', "Shows a player's platform.", {'platform', 'device'},
2691
function(args, speaker)
2692
	local players = getPlayer(args[1], speaker)
2693
	local platforms = {}
2694
	for i,v in pairs(players) do
2695
		local p = Players[v]
2696
		table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform)
2697
	end
2698
	notify('OS',table.concat(platforms, ',\n'))
2699
end)
2700
2701
addcmd('goto', 'go to a player',{'to'},
2702
function(args, speaker)
2703
	local players = getPlayer(args[1], speaker)
2704
	for i,v in pairs(players)do
2705
		if Players[v].Character ~= nil then
2706
			if speaker.Character:FindFirstChild("Humanoid") then
2707
				speaker.Character.Humanoid.Jump = true
2708
			end
2709
			speaker.Character.HumanoidRootPart.CFrame = Players[v].Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
2710
		end
2711
	end
2712
end)
2713
2714
bringT = {}
2715
addcmd('loopbring','Loop brings a player to you (useful for killing)',{},
2716
function(args, speaker)
2717
	local players = getPlayer(args[1], speaker)
2718
	for i,v in pairs(players)do
2719
		spawn(function()
2720
			if FindInTable(bringT, Players[v].Name) then return end
2721
				table.insert(bringT, Players[v].Name)
2722
				local pchar=Players[v].Character
2723
				pchar.Humanoid.Jump = true
2724
				repeat wait()
2725
				pchar = Players[v].Character
2726
				for i,c in pairs(players) do
2727
					if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
2728
						pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
2729
					end
2730
				end
2731
			until not FindInTable(bringT, Players[v].Name)
2732
		end)
2733
	end
2734
end)
2735
2736
addcmd('unloopbring','Undoes loopbring',{'noloopbring'},
2737
function(args, speaker)
2738
	local players = getPlayer(args[1], speaker)
2739
	for i,v in pairs(players)do
2740
		spawn(function()
2741
			for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
2742
		end)
2743
	end
2744
end)
2745
2746
addcmd('freeze', 'freezes a player',{'fr'},
2747
function(args, speaker)
2748
	local players = getPlayer(args[1], speaker)
2749
	if players ~= nil then
2750
		for i, v in pairs(players) do
2751
			spawn(function()
2752
				for i, x in next, Players[v].Character:GetDescendants() do
2753
					if x:IsA("Part") and not x.Anchored then
2754
						x.Anchored = true
2755
					end
2756
				end
2757
			end)
2758
		end
2759
	end
2760
end)
2761
2762
addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
2763
function(args, speaker)
2764
	local players = getPlayer(args[1], speaker)
2765
	if players ~= nil then
2766
		for i, v in pairs(players) do
2767
			spawn(function()
2768
				for i, x in next, Players[v].Character:GetDescendants() do
2769
					if x:IsA("Part") and x.Anchored then
2770
						x.Anchored = false
2771
					end
2772
				end
2773
			end)
2774
		end
2775
	end
2776
end)
2777
2778
addcmd('fekill','Kills a player (YOU NEED A TOOL)',{},
2779
function(args, speaker)
2780
	local players = getPlayer(args[1], speaker)
2781
	for i,v in pairs(players)do
2782
-- illremember's cool fe kill script
2783
		local Target = Players[v].Name
2784
		game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1
2785
		local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone()
2786
		l.Parent = game:GetService("Players").LocalPlayer.Character
2787
		l.Name = "Humanoid"
2788
		wait(0.1)
2789
		game:GetService("Players").LocalPlayer.Character["1"]:Destroy()
2790
		workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character
2791
		game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true
2792
		wait(0.1)
2793
		game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false
2794
		game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2795
		for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
2796
			game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v)
2797
			v.CanBeDropped = true
2798
		end
2799
		wait(0.1)
2800
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
2801
		wait(0.1)
2802
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
2803
		wait(0.2)
2804
		game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
2805
	end
2806
end)
2807
2808
oofing = false
2809
addcmd('loopoof','Loops everyones character sounds (everyone can hear)',{},
2810
function(args, speaker)
2811
	oofing = true
2812
	repeat wait(0.01)
2813
		for i,v in pairs(game:GetService'Players':GetPlayers()) do
2814
			if v.Character ~= nil and v.Character:FindFirstChild'Head' then
2815
				for _,x in pairs(v.Character.Head:GetChildren()) do
2816
					if x:IsA'Sound' then x.Playing = true end
2817
				end
2818
			end
2819
		end
2820
	until oofing == false
2821
end)
2822
2823
addcmd('unloopoof','Stops the oof chaos',{},
2824
function(args, speaker)
2825
	oofing = false
2826
end)
2827
2828
addcmd('respawn','Respawns you',{},
2829
function(args, speaker)
2830
	respawn(Players.LocalPlayer)
2831
end)
2832
2833
addcmd('refresh', 'Respawns and brings you back to the same position',{'re'},
2834
function(args, speaker)
2835
	refresh(Players.LocalPlayer)
2836
end)
2837
2838
addcmd('god','Gives you godmode',{''},
2839
function(args, speaker)
2840
	Players.LocalPlayer.Character.Humanoid.Name = 1
2841
	local l = Players.LocalPlayer.Character["1"]:Clone()
2842
	l.Parent = Players.LocalPlayer.Character
2843
	l.Name = "Humanoid"
2844
	wait(0.1)
2845
	Players.LocalPlayer.Character["1"]:Destroy()
2846
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
2847
	Players.LocalPlayer.Character.Animate.Disabled = true
2848
	wait(0.1)
2849
	Players.LocalPlayer.Character.Animate.Disabled = false
2850
	Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2851
end)
2852
2853
addcmd('invisible','Makes you invisible to other players',{'invis'},
2854
function(args, speaker)
2855
-- Elite1337#9377 & Timeless#4044
2856
local function CheckRig()
2857
    if Players.LocalPlayer.Character then
2858
        local Humanoid = Players.LocalPlayer.Character:WaitForChild('Humanoid')
2859
        if Humanoid.RigType == Enum.HumanoidRigType.R15 then
2860
            return 'R15'
2861
        else
2862
            return 'R6'
2863
        end
2864
    end
2865
end
2866
local function InitiateInvis()
2867
    local Character = Players.LocalPlayer.Character
2868
    local StoredCF = Character.PrimaryPart.CFrame
2869
        local Part = Instance.new('Part',workspace)
2870
        Part.Size = Vector3.new(5,0,5)
2871
        Part.Anchored = true
2872
        Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
2873
        Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
2874
        spawn(function()
2875
            wait(3)
2876
            Part:Destroy()
2877
        end)
2878
    if CheckRig() == 'R6' then
2879
        local Clone = Character.HumanoidRootPart:Clone()
2880
        Character.HumanoidRootPart:Destroy()
2881
        Clone.Parent = Character
2882
    else
2883
        local Clone = Character.LowerTorso.Root:Clone()
2884
        Character.LowerTorso.Root:Destroy()
2885
        Clone.Parent = Character.LowerTorso
2886
    end
2887
end
2888
InitiateInvis()
2889
end)
2890
2891
addcmd('strengthen','Changes CustomPhysicalProperties in your player',{},
2892
function(args, speaker)
2893
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
2894
		if child.ClassName == "Part" then
2895
			child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
2896
		end
2897
	end
2898
end)
2899
2900
addcmd('weaken','Changes CustomPhysicalProperties in your player',{},
2901
function(args, speaker)
2902
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
2903
		if child.ClassName == "Part" then
2904
			child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
2905
		end
2906
	end
2907
end)
2908
2909
addcmd('unweaken',' Undoes strength and weaken',{'unstrengthen'},
2910
function(args, speaker)
2911
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
2912
		if child.ClassName == "Part" then
2913
			child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
2914
		end
2915
	end
2916
end)
2917
2918
addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
2919
function(args, speaker)
2920
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
2921
		Players.LocalPlayer.Character.Humanoid.JumpPower=tonumber(args[1])
2922
	end
2923
end)
2924
2925
addcmd('hipheight', 'adjusts hip height',{'hheight'},
2926
function(args, speaker)
2927
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
2928
		Players.LocalPlayer.Character.Humanoid.HipHeight = args[1]
2929
	end
2930
end)
2931
2932
addcmd('dance','Makes you d a n c e',{},
2933
function(args, speaker)
2934
	local pchar=Players.LocalPlayer.Character
2935
		local anim = nil		
2936
		local dance1 = math.random(1,7)
2937
		if dance1 == 1 then
2938
		anim = '27789359'
2939
		end
2940
		if dance1 == 2 then
2941
		anim = '30196114'
2942
		end
2943
		if dance1 == 3 then
2944
		anim = '248263260'
2945
		end
2946
		if dance1 == 4 then
2947
		anim = '45834924'
2948
		end
2949
		if dance1 == 5 then
2950
		anim = '33796059'
2951
		end
2952
		if dance1 == 6 then
2953
		anim = '28488254'
2954
		end
2955
		if dance1 == 7 then
2956
		anim = '52155728'
2957
		end
2958
	local animation = Instance.new("Animation")
2959
	animation.AnimationId = "rbxassetid://"..anim
2960
	local animTrack = pchar.Humanoid:LoadAnimation(animation)
2961
	animTrack:Play()
2962
end)
2963
2964
addcmd('nolimbs', 'Removes your limbs',{'rlimbs'},
2965
function(args, speaker)
2966
	for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
2967
		if v:IsA("BasePart") and
2968
			v.Name == "Right Leg" or
2969
			v.Name == "Left Leg" or
2970
			v.Name == "Right Arm" or
2971
			v.Name == "Left Arm" then
2972
			v:Destroy()
2973
		end
2974
	end
2975
end)
2976
2977
addcmd('noarms', 'Removes your arms',{'rarms'},
2978
function(args, speaker)
2979
	for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
2980
		if v:IsA("BasePart") and
2981
			v.Name == "Right Arm" or
2982
			v.Name == "Left Arm" then
2983
			v:Destroy()
2984
		end
2985
	end
2986
end)
2987
2988
addcmd('nolegs', 'Removes your arms',{'rlegs'},
2989
function(args, speaker)
2990
	for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
2991
		if v:IsA("BasePart") and
2992
			v.Name == "Right Leg" or
2993
			v.Name == "Left Leg" then
2994
			v:Destroy()
2995
		end
2996
	end
2997
end)
2998
2999
addcmd('sit', 'Makes your character sit',{},
3000
function(args, speaker)
3001
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
3002
		Players.LocalPlayer.Character.Humanoid.Sit = true
3003
	end
3004
end)
3005
3006
addcmd('team','Changes your team. Sometimes fools the game if localscripts are used.',{},
3007
function(args, speaker)
3008
	local teamname = nil
3009
	for a,b in pairs(game.Teams:GetChildren()) do
3010
		local L_name = b.Name:lower()
3011
		local F = L_name:find(getstring(true, 0))
3012
		if F == 1 then
3013
			teamname = b 
3014
		end
3015
	end
3016
	Players.LocalPlayer.Team = teamname
3017
end)
3018
3019
addcmd('spasm','Makes you c r a z y',{},
3020
function(args, speaker)
3021
	local pchar=Players.LocalPlayer.Character
3022
	local AnimationId = "33796059"
3023
	local Anim = Instance.new("Animation")
3024
	Anim.AnimationId = "rbxassetid://"..AnimationId
3025
	local k = pchar.Humanoid:LoadAnimation(Anim)
3026
	k:Play()
3027
	k:AdjustSpeed(99)
3028
end)
3029
3030
addcmd('animation','Makes your character preform an animation (must be by roblox to replicate)',{'anim'},
3031
function(args, speaker)
3032
	local pchar=Players.LocalPlayer.Character
3033
	local AnimationId = tostring(args[1])
3034
	local Anim = Instance.new("Animation")
3035
	Anim.AnimationId = "rbxassetid://"..AnimationId
3036
	local k = pchar.Humanoid:LoadAnimation(Anim)
3037
	k:Play()
3038
	if args[2] then
3039
		k:AdjustSpeed(tostring(args[2]))
3040
	end
3041
end)
3042
3043
addcmd('tppos','Teleports you to a coordinate',{},
3044
function(args,speaker)
3045
	if #args < 3 then return end
3046
	local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
3047
	local char = Players.LocalPlayer.Character
3048
	if char and char:FindFirstChild("HumanoidRootPart") then
3049
		char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
3050
	end
3051
end)
3052
3053
addcmd('offset','Offsets you by a coordinate',{},
3054
function(args,speaker)
3055
	if #args < 3 then return end
3056
	local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
3057
	local char = Players.LocalPlayer.Character
3058
	if char and char:FindFirstChild("HumanoidRootPart") then
3059
		char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
3060
	end
3061
end)
3062
3063
addcmd('speed', 'Change your walkspeed',{'ws'},
3064
function(args, speaker)
3065
    local players = getPlayer(args[1], speaker)
3066
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
3067
		Players.LocalPlayer.Character.Humanoid.WalkSpeed=tonumber(args[1])
3068
	end
3069
end)
3070
3071
addcmd('tools', 'Copies tools from ReplicatedStorage and lighting',{'gears'},
3072
function(args, speaker)
3073
	local function copy(instance)
3074
		for i,c in pairs(instance:GetChildren())do
3075
			if c:IsA('Tool') or c:IsA('HopperBin') then
3076
				c:Clone().Parent = Players.LocalPlayer.Backpack
3077
			end
3078
			copy(c)
3079
		end
3080
	end
3081
	copy(game:GetService("Lighting"))
3082
	local function copy(instance)
3083
		for i,c in pairs(instance:GetChildren())do
3084
			if c:IsA('Tool') or c:IsA('HopperBin') then
3085
			c:Clone().Parent = Players.LocalPlayer.Backpack
3086
			end
3087
			copy(c)
3088
		end
3089
	end
3090
	copy(game.ReplicatedStorage)
3091
	notify('Tools','Copied tools from ReplicatedStorage and Lighting')
3092
end)
3093
3094
addcmd('keeptools', 'Saves tools to startergear',{'startertools','stools','ktools'},
3095
function(args, speaker)
3096
	local function copy(instance)
3097
		for i,c in pairs(instance:GetChildren())do
3098
			if c:IsA('Tool') or c:IsA('HopperBin') then
3099
				c:Clone().Parent = Players.LocalPlayer.StarterGear
3100
			end
3101
			copy(c)
3102
        end
3103
    end
3104
    copy(Players.LocalPlayer.Backpack)
3105
	local function copy(instance)
3106
		for i,c in pairs(instance:GetChildren())do
3107
			if c:IsA('Tool') or c:IsA('HopperBin') then
3108
				c:Clone().Parent = Players.LocalPlayer.StarterGear
3109
			end
3110
			copy(c)
3111
		end
3112
	end
3113
	copy(Players.LocalPlayer.Character)
3114
	notify('Tools','Copied tools to StarterGear')
3115
end)
3116
3117
addcmd('nokeeptools', 'Deletes tools in startergear',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
3118
function(args, speaker)
3119
	for i,c in pairs(Players.LocalPlayer.StarterGear:GetChildren())do
3120
		if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
3121
		end
3122
	end
3123
	notify('Tools','Cleared tools from StarterGear')
3124
end)
3125
3126
addcmd('notools', 'Removes tools from character and backpack',{'rtools','clrtools','removetools'},
3127
function(args, speaker)
3128
	for i,v in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do
3129
		if v:IsA('Tool') or v:IsA('HopperBin') then
3130
			v:destroy()
3131
		end
3132
	end
3133
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
3134
		if v:IsA('Tool') or v:IsA('HopperBin') then
3135
			v:destroy()
3136
		end
3137
	end
3138
	notify('Tools','Removed tools')
3139
end)
3140
3141
addcmd('explorer', 'Opens DEX explorer',{'dex'},
3142
function(args, speaker)
3143
	loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
3144
end)
3145
3146
addcmd('remotespy', 'Prints remotes',{'remotes'},
3147
function(args, speaker)
3148
	notify('Remotespy','Printed remotes')
3149
	function getem(o)
3150
		for i,v in pairs(o:children())do
3151
			if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then              
3152
				print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
3153
			end
3154
			getem(v)
3155
		end
3156
	end
3157
	pcall(getem,game)
3158
end)
3159
3160
addcmd('orbit', 'Orbit around a player',{},
3161
function(args, speaker)
3162
	local players = getPlayer(args[1], speaker)
3163
	for i,v in pairs(players)do
3164
		local o = Instance.new("RocketPropulsion")
3165
		o.Parent = Players.LocalPlayer.Character.HumanoidRootPart
3166
		o.Name = "Orbit"
3167
		o.Target = Players[v].Character.HumanoidRootPart
3168
		o:Fire()
3169
		execCmd('noclip')
3170
	end
3171
end)
3172
3173
addcmd('unorbit', 'Stops orbiting',{},
3174
function(args, speaker)
3175
	execCmd('clip')
3176
	Players.LocalPlayer.Character.HumanoidRootPart.Orbit:Destroy()
3177
end)
3178
3179
loopgoto = nil
3180
addcmd('loopgoto', 'Loop teleport to a player',{},
3181
function(args, speaker)
3182
	local players = getPlayer(args[1], speaker)
3183
	for i,v in pairs(players)do
3184
		loopgoto = Players[v]
3185
		repeat wait() if Players[v].Character ~= nil then
3186
			if speaker.Character:FindFirstChild("Humanoid") then
3187
				speaker.Character.Humanoid.Jump = true
3188
			end
3189
			speaker.Character:MoveTo(Players[v].Character.HumanoidRootPart.Position)
3190
		end
3191
		until loopgoto ~= Players[v]
3192
	end
3193
end)
3194
3195
addcmd('unloopgoto', 'Stops teleporting you to a player',{'noloopgoto'},
3196
function(args, speaker)
3197
	loopgoto = nil
3198
end)
3199
3200
spamming = false
3201
addcmd('spam', 'Makes you spam the chat',{},
3202
function(args, speaker)
3203
	spamming = true
3204
	repeat wait(1)
3205
		game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(getstring(false, 0), "All")
3206
	until spamming == false
3207
end)
3208
3209
addcmd('nospam', 'Turns off spam',{'unspam'},
3210
function(args, speaker)
3211
	spamming = false
3212
end)
3213
3214
pmspamming = {}
3215
addcmd('pmspam', 'Makes you spam a players whispers',{},
3216
function(args, speaker)
3217
	local players = getPlayer(args[1], speaker)
3218
	for i,v in pairs(players)do
3219
		spawn(function()
3220
		if FindInTable(pmspamming, Players[v].Name) then return end
3221
			table.insert(pmspamming, Players[v].Name)
3222
			repeat wait(1)
3223
				game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..Players[v].Name.." "..getstring(false, 1), "All")
3224
			until not FindInTable(pmspamming, Players[v].Name)
3225
		end)
3226
	end
3227
end)
3228
3229
addcmd('nopmspam', 'turns off pm spam',{'unpmspam'},
3230
function(args, speaker)
3231
	local players = getPlayer(args[1], speaker)
3232
	for i,v in pairs(players)do
3233
		spawn(function()
3234
			for a,b in pairs(pmspamming) do
3235
				if b == Players[v].Name then
3236
					table.remove(pmspamming, a)
3237
				end
3238
			end
3239
		end)
3240
	end
3241
end)
3242
3243
addcmd('blockhead', 'Turns your head into a block',{},
3244
function(args, speaker)
3245
	Players.LocalPlayer.Character.Head.Mesh:Destroy()
3246
end)
3247
3248
bangplr = nil
3249
3250
addcmd('bang', 'owo',{'rape'},
3251
function(args, speaker)
3252
	local players = getPlayer(args[1], speaker)
3253
	for i,v in pairs(players)do
3254
		local Anim2 = Instance.new("Animation")
3255
		Anim2.AnimationId = "rbxassetid://148840371"
3256
		local track2 = Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim2)
3257
		track2:Play(.1, 1, 1)
3258
		bangplr = Players[v].Name
3259
	end
3260
end)
3261
3262
addcmd('unbang', 'uwu',{'unrape'},
3263
function(args, speaker)
3264
	bangplr = nil
3265
end)
3266
3267
gtools = false
3268
addcmd('grabtools', 'Automatically get tools that are dropped',{},
3269
function(args, speaker)
3270
	workspace.ChildAdded:connect(function(part)
3271
		if gtools then
3272
			if part:IsA("Tool") then
3273
				part.Handle.CFrame = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
3274
			end
3275
		end
3276
	end)
3277
end)
3278
3279
addcmd('nograbtools', 'Disables grabtools',{'ungrabtools'},
3280
function(args, speaker)
3281
	gtools = false
3282
end)
3283
3284
addcmd('givetools', 'Give your tools to a player',{},
3285
function(args, speaker)
3286
	for i,t in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do
3287
		if t:IsA("Tool") then
3288
			t.Parent = Players.LocalPlayer.Character
3289
			wait()
3290
			local players = getPlayer(args[1], speaker)
3291
			for i,v in pairs(players)do
3292
				t.Parent = Players[v].Character
3293
			end
3294
		end
3295
	end
3296
end)
3297
3298
addcmd('copytools', 'Copies a players tools',{'clonetools'},
3299
function(args, speaker)
3300
    local players = getPlayer(args[1], speaker)
3301
	for i,v in pairs(players)do
3302
		spawn(function()
3303
			for i,v in pairs(Players[v].Backpack:GetChildren()) do
3304
				if v:IsA('Tool') or v:IsA('HopperBin') then
3305
					v:Clone().Parent = speaker.Backpack
3306
				end
3307
			end
3308
		end)
3309
	end
3310
end)
3311
3312
addcmd('naked', 'Removes your clothing',{},
3313
function(args, speaker)
3314
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
3315
		if v:IsA("Clothing") then
3316
			v:Destroy()
3317
		end
3318
	end
3319
end)
3320
3321
addcmd('spawnpoint', 'Sets your characters position to your spawnpoint',{'spawn'},
3322
function(args, speaker)
3323
	spawnpos = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
3324
	spawnpoint = true
3325
	notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
3326
end)
3327
3328
addcmd('nospawnpoint', 'Removes your custom spawn point',{'nospawn'},
3329
function(args, speaker)
3330
	spawnpoint = false
3331
	notify('Spawn Point','Removed spawn point')
3332
end)
3333
3334
addcmd('hatspin', 'Spins your characters accessorys',{'spinhats'},
3335
function(args, speaker)
3336
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
3337
		if v:IsA("Accessory") or v:IsA("Hat") then
3338
			local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
3339
			local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
3340
			if v.Handle.AccessoryWeld then
3341
				v.Handle.AccessoryWeld:Destroy()
3342
			end
3343
			if args[1] then
3344
				spin.AngularVelocity = Vector3.new(0, args[1], 0)
3345
				spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
3346
			else
3347
				spin.AngularVelocity = Vector3.new(0, 100, 0)
3348
				spin.MaxTorque = Vector3.new(0, 200, 0)
3349
			end
3350
			keep.P = 30000
3351
			keep.D = 50
3352
			spinning = keep
3353
			spinenabled = true
3354
		end
3355
	end
3356
end)
3357
3358
addcmd('unhatspin', 'Undoes spinhats',{'unspinhats'},
3359
function(args, speaker)
3360
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
3361
		if v:IsA("Accessory") or v:IsA("Hat") then
3362
			pcall(function()
3363
				if v:IsA("Accessory") or v:IsA("Hat") then
3364
					v.Parent = workspace
3365
				end
3366
				wait(0.5)
3367
				v.Handle.no:Destroy()
3368
				v.Handle.ha:Destroy()
3369
				if v:IsA("Accessory") or v:IsA("Hat") then
3370
					v.Parent = Players.LocalPlayer.Character
3371
				end
3372
			end)
3373
		end
3374
	end
3375
end)