View difference between Paste ID: gtk7ufzt and tzTXmYf2
SHOW: | | - or go back to the newest paste.
1-
local AnnGUI = Instance.new("Frame")
1+
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3-
local TextBox = Instance.new("TextLabel")
3+
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8-
screenGui = Instance.new("ScreenGui",game.CoreGui)
8+
	script.Parent = RealPlayer.Character
9
10-
AnnGUI.Name = 'Boomer'
10+
	--Fake event to make stuff like Mouse.KeyDown work
11-
AnnGUI.Parent = screenGui
11+
	local Disconnect_Function = function(this)
12-
AnnGUI.Active = true
12+
		this[1].Functions[this[2]] = nil
13-
AnnGUI.BackgroundTransparency = 1
13+
	end
14-
AnnGUI.Position = UDim2.new(0.5, -180, 0, -400)
14+
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15-
AnnGUI.Size = UDim2.new(0, 360, 0, 20)
15+
	local FakeEvent_Metatable = {__index={
16-
AnnGUI.ZIndex = 4
16+
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19-
background.Parent = AnnGUI
19+
				i = tostring(math.random(0,10000))
20-
background.BackgroundColor3 = Color3.fromRGB(36, 36, 37)
20+
			end
21
			this.Functions[i] = f
22-
background.Position = UDim2.new(0, 0, 0, 20)
22+
			return setmetatable({this,i},Disconnect_Metatable)
23-
background.Size = UDim2.new(0, 360, 0, 135)
23+
		end
24
	}}
25-
TextBox.Parent = background
25+
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26-
TextBox.BackgroundTransparency = 1
26+
	local function fakeEvent()
27-
TextBox.Position = UDim2.new(0.017, 0, 0.06, 0)
27+
		return setmetatable({Functions={}},FakeEvent_Metatable)
28-
TextBox.Size = UDim2.new(0, 348, 0, 120)
28+
	end
29-
TextBox.Font = Enum.Font.SourceSans
29+
30-
TextBox.TextSize = 18
30+
	--Creating fake input objects with fake variables
31-
TextBox.TextWrapped = true
31+
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32-
TextBox.Text = 'Please use the new Infinite Yield loadstring. You can find it in the Discord.\n\ndiscord.io/infiniteyield\n\nYou will now be re-directed to the new loadstring.'
32+
    FakeMouse.keyUp = FakeMouse.KeyUp
33-
TextBox.TextColor3 = Color3.new(1, 1, 1)
33+
    FakeMouse.keyDown = FakeMouse.KeyDown
34-
TextBox.TextXAlignment = Enum.TextXAlignment.Left
34+
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35-
TextBox.TextYAlignment = Enum.TextYAlignment.Top
35+
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38-
shadow.Parent = AnnGUI
38+
	--Merged 2 functions into one by checking amount of arguments
39-
shadow.BackgroundColor3 = Color3.fromRGB(46, 46, 47)
39+
	CAS.UnbindAction = CAS.BindAction
40
41-
shadow.Size = UDim2.new(0, 360, 0, 20)
41+
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47-
PopupText.Position = UDim2.new(0, 51, 0, 0)
47+
	FakeMouse.TriggerEvent = TriggerEvent
48-
PopupText.Size = UDim2.new(0.76, -16, 0.95, 0)
48+
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51-
PopupText.TextSize = 14
51+
	local Event = Instance.new("RemoteEvent")
52-
PopupText.Text = "Server Announcement"
52+
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64-
AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
64+
			end
65
			for _,t in pairs(CAS.Actions) do
66-
Exit.MouseButton1Click:Connect(function()
66+
				for _,k in pairs(t.Keys) do
67-
	AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
67+
					if k==io.KeyCode then
68-
	wait(0.6)
68+
						t.Function(t.Name,io.UserInputState,io)
69-
	AnnGUI:Destroy()
69+
					end
70
				end
71
			end
72-
wait(5)
72+
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73-
loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
73+
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
ver = '2.2'
154
155
repeat wait() until game:FindFirstChildOfClass("Players")
156
Players = game:GetService("Players")
157
repeat wait() until Players.LocalPlayer:FindFirstChildOfClass("PlayerGui")
158
159
local Holder = Instance.new("Frame")
160
local Title = Instance.new("TextLabel")
161
local Dark = Instance.new("Frame")
162
local Cmdbar = Instance.new("TextBox")
163
local Dark_2 = Instance.new("Frame")
164
local CMDsF = Instance.new("ScrollingFrame")
165
local SettingsButton = Instance.new("ImageButton")
166
local Settings = Instance.new("Frame")
167
local Prefix = Instance.new("TextLabel")
168
local PrefixBox = Instance.new("TextBox")
169
local Keybinds = Instance.new("TextLabel")
170
local Select = Instance.new("TextButton")
171
local StayOpen = Instance.new("TextLabel")
172
local Button = Instance.new("Frame")
173
local On = Instance.new("TextButton")
174
local Positions = Instance.new("TextLabel")
175
local Select_8 = Instance.new("TextButton")
176
local SpawnC = Instance.new("TextLabel")
177
local Select_2 = Instance.new("TextButton")
178
local Plugins = Instance.new("TextLabel")
179
local Select_9 = Instance.new("TextButton")
180
local Example = Instance.new("TextButton")
181
local Notification = Instance.new("Frame")
182
local Dark_3 = Instance.new("Frame")
183
local Title_2 = Instance.new("TextLabel")
184
local Text_2 = Instance.new("TextLabel")
185
local CloseButton = Instance.new("ImageButton")
186
local IntroBackground = Instance.new("Frame")
187
local Logo = Instance.new("ImageLabel")
188
local Credits = Instance.new("TextBox")
189
local KeybindsFrame = Instance.new("Frame")
190
local Close = Instance.new("TextButton")
191
local SpawnCFrame = Instance.new("Frame")
192
local Holder_6 = Instance.new("ScrollingFrame")
193
local Close_5 = Instance.new("TextButton")
194
local Add = Instance.new("TextButton")
195
local Delete = Instance.new("TextButton")
196
local Holder_2 = Instance.new("ScrollingFrame")
197
local Example_2 = Instance.new("Frame")
198
local Text_3 = Instance.new("TextLabel")
199
local Delete_2 = Instance.new("TextButton")
200
local KeybindEditor = Instance.new("Frame")
201
local background_2 = Instance.new("Frame")
202
local Dark_4 = Instance.new("Frame")
203
local Directions = Instance.new("TextLabel")
204
local BindTo = Instance.new("TextButton")
205
local Add_2 = Instance.new("TextButton")
206
local Cmdbar_2 = Instance.new("TextBox")
207
local Toggles = Instance.new("ScrollingFrame")
208
local Fly = Instance.new("TextLabel")
209
local Select_3 = Instance.new("TextButton")
210
local Noclip = Instance.new("TextLabel")
211
local Select_4 = Instance.new("TextButton")
212
local Float = Instance.new("TextLabel")
213
local Select_5 = Instance.new("TextButton")
214
local ClickTP = Instance.new("TextLabel")
215
local Select_6 = Instance.new("TextButton")
216
local Xray = Instance.new("TextLabel")
217
local Select_10 = Instance.new("TextButton")
218
local Dark_7 = Instance.new("Frame")
219
local shadow_2 = Instance.new("Frame")
220
local PopupText_2 = Instance.new("TextLabel")
221
local Exit_2 = Instance.new("ImageButton")
222
local SpawnCEditor = Instance.new("Frame")
223
local background_4 = Instance.new("Frame")
224
local Cmdbar_3 = Instance.new("TextBox")
225
local Dark_10 = Instance.new("Frame")
226
local Add_5 = Instance.new("TextButton")
227
local DelayNum = Instance.new("TextBox")
228
local Delay = Instance.new("TextLabel")
229
local Directions_3 = Instance.new("TextLabel")
230
local Dark_11 = Instance.new("Frame")
231
local shadow_4 = Instance.new("Frame")
232
local PopupText_4 = Instance.new("TextLabel")
233
local Exit_4 = Instance.new("ImageButton")
234
local PositionsFrame = Instance.new("Frame")
235
local Close_3 = Instance.new("TextButton")
236
local Delete_5 = Instance.new("TextButton")
237
local Holder_4 = Instance.new("ScrollingFrame")
238
local Example_4 = Instance.new("Frame")
239
local Text_5 = Instance.new("TextLabel")
240
local Delete_6 = Instance.new("TextButton")
241
local TP = Instance.new("TextButton")
242
local AliasesFrame = Instance.new("Frame")
243
local Close_2 = Instance.new("TextButton")
244
local Delete_3 = Instance.new("TextButton")
245
local Holder_3 = Instance.new("ScrollingFrame")
246
local Example_3 = Instance.new("Frame")
247
local Text_4 = Instance.new("TextLabel")
248
local Delete_4 = Instance.new("TextButton")
249
local Aliases = Instance.new("TextLabel")
250
local Select_7 = Instance.new("TextButton")
251
local PluginsFrame = Instance.new("Frame")
252
local Close_4 = Instance.new("TextButton")
253
local Add_4 = Instance.new("TextButton")
254
local Delete_8 = Instance.new("TextButton")
255
local Add_3 = Instance.new("TextButton")
256
local Holder_5 = Instance.new("ScrollingFrame")
257
local Example_5 = Instance.new("Frame")
258
local Text_6 = Instance.new("TextLabel")
259
local Delete_7 = Instance.new("TextButton")
260
local PluginEditor = Instance.new("Frame")
261
local background_3 = Instance.new("Frame")
262
local Dark_8 = Instance.new("Frame")
263
local Dark_9 = Instance.new("Frame")
264
local Img = Instance.new("ImageButton")
265
local AddPlugin = Instance.new("TextButton")
266
local FileName = Instance.new("TextBox")
267
local About = Instance.new("TextLabel")
268
local Directions_2 = Instance.new("TextLabel")
269
local shadow_3 = Instance.new("Frame")
270
local PopupText_3 = Instance.new("TextLabel")
271
local Exit_3 = Instance.new("ImageButton")
272
local logsDrag = Instance.new("Frame")
273
local shadow = Instance.new("Frame")
274
local Hide = Instance.new("ImageButton")
275
local PopupText = Instance.new("TextLabel")
276
local Exit = Instance.new("ImageButton")
277
local scroll = Instance.new("ScrollingFrame")
278
local background = Instance.new("Frame")
279
local Dark_6 = Instance.new("Frame")
280
local Clear = Instance.new("TextButton")
281
local Toggle = Instance.new("TextButton")
282
local AliasHint = Instance.new("TextLabel")
283
local PluginsHint = Instance.new("TextLabel")
284
local PositionsHint = Instance.new("TextLabel")
285
286
local PARENT
287
if game:GetService("CoreGui"):FindFirstChild('RobloxGui') then
288
	PARENT = game:GetService("CoreGui").RobloxGui
289
else
290
	PARENT = game:GetService("CoreGui")
291
end
292
293
function randomString()
294
	local length = math.random(10,20)
295
	local array = {}
296
	for i = 1, length do
297
		array[i] = string.char(math.random(32, 126))
298
	end
299
	return table.concat(array)
300
end
301
302
Holder.Name = randomString()
303
Holder.Parent = PARENT
304
Holder.Active = true
305
Holder.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
306
Holder.BackgroundTransparency = 0.20000000298023
307
Holder.BorderSizePixel = 0
308
Holder.Position = UDim2.new(1, -250, 1, -220)
309
Holder.Size = UDim2.new(0, 250, 0, 220)
310
311
Title.Name = "Title"
312
Title.Parent = Holder
313
Title.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
314
Title.BackgroundTransparency = 1
315
Title.BorderSizePixel = 0
316
Title.Size = UDim2.new(0, 250, 0, 20)
317
Title.Font = Enum.Font.SourceSans
318
Title.TextSize = 20
319
Title.Text = "Infinite Yield FE"
320
Title.TextColor3 = Color3.new(1, 1, 1)
321
Title.TextStrokeTransparency = 0
322
323
Dark.Name = "Dark"
324
Dark.Parent = Holder
325
Dark.Active = true
326
Dark.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
327
Dark.BorderSizePixel = 0
328
Dark.Position = UDim2.new(0, 0, 0, 45)
329
Dark.Size = UDim2.new(0, 250, 0, 175)
330
331
Cmdbar.Name = "Cmdbar"
332
Cmdbar.Parent = Holder
333
Cmdbar.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
334
Cmdbar.BackgroundTransparency = 1
335
Cmdbar.BorderSizePixel = 0
336
Cmdbar.Position = UDim2.new(0, 0, 0, 25)
337
Cmdbar.Size = UDim2.new(0, 250, 0, 20)
338
Cmdbar.Font = Enum.Font.SourceSans
339
Cmdbar.FontSize = Enum.FontSize.Size18
340
Cmdbar.Text = "Command Bar"
341
Cmdbar.TextColor3 = Color3.new(1, 1, 1)
342
Cmdbar.TextScaled = true
343
Cmdbar.TextWrapped = true
344
Cmdbar.TextStrokeTransparency = 0
345
346
Dark_2.Name = "Dark"
347
Dark_2.Parent = Holder
348
Dark_2.Active = true
349
Dark_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
350
Dark_2.BorderSizePixel = 0
351
Dark_2.Position = UDim2.new(0, 0, 0, 20)
352
Dark_2.Size = UDim2.new(0, 250, 0, 5)
353
354
CMDsF.Name = "CMDs"
355
CMDsF.Parent = Holder
356
CMDsF.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
357
CMDsF.BackgroundTransparency = 1
358
CMDsF.BorderSizePixel = 0
359
CMDsF.Position = UDim2.new(0, 0, 0, 50)
360
CMDsF.Size = UDim2.new(0, 250, 0, 170)
361
CMDsF.BottomImage = "rbxasset://textures/blackBkg_square.png"
362
CMDsF.CanvasSize = UDim2.new(0, 0, 0, 0)
363
CMDsF.MidImage = "rbxasset://textures/blackBkg_square.png"
364
CMDsF.ScrollBarThickness = 8
365
CMDsF.TopImage = "rbxasset://textures/blackBkg_square.png"
366
367
SettingsButton.Name = "SettingsButton"
368
SettingsButton.Parent = Holder
369
SettingsButton.BackgroundColor3 = Color3.new(1, 1, 1)
370
SettingsButton.BackgroundTransparency = 1
371
SettingsButton.Position = UDim2.new(0, 230, 0, 25)
372
SettingsButton.Size = UDim2.new(0, 20, 0, 20)
373
SettingsButton.Image = "rbxassetid://1204397029"
374
375
Settings.Name = "Settings"
376
Settings.Parent = Holder
377
Settings.Active = true
378
Settings.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
379
Settings.BorderSizePixel = 0
380
Settings.Position = UDim2.new(0, 0, 0, 220)
381
Settings.Size = UDim2.new(0, 250, 0, 175)
382
383
Prefix.Name = "Prefix"
384
Prefix.Parent = Settings
385
Prefix.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
386
Prefix.BackgroundTransparency = 0.5
387
Prefix.BorderSizePixel = 0
388
Prefix.Position = UDim2.new(0, 0, 0, 5)
389
Prefix.Size = UDim2.new(0, 250, 0, 20)
390
Prefix.Font = Enum.Font.SourceSans
391
Prefix.FontSize = Enum.FontSize.Size14
392
Prefix.Text = "    Prefix"
393
Prefix.TextColor3 = Color3.new(1, 1, 1)
394
Prefix.TextXAlignment = Enum.TextXAlignment.Left
395
396
PrefixBox.Name = "PrefixBox"
397
PrefixBox.Parent = Prefix
398
PrefixBox.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
399
PrefixBox.BorderSizePixel = 0
400
PrefixBox.Position = UDim2.new(0, 230, 0, 0)
401
PrefixBox.Size = UDim2.new(0, 20, 0, 20)
402
PrefixBox.Font = Enum.Font.SourceSansBold
403
PrefixBox.FontSize = Enum.FontSize.Size14
404
PrefixBox.Text = ''
405
PrefixBox.TextColor3 = Color3.new(0, 0, 0)
406
407
Keybinds.Name = "Keybinds"
408
Keybinds.Parent = Settings
409
Keybinds.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
410
Keybinds.BackgroundTransparency = 0.5
411
Keybinds.BorderSizePixel = 0
412
Keybinds.Position = UDim2.new(0, 0, 0, 55)
413
Keybinds.Size = UDim2.new(0, 250, 0, 20)
414
Keybinds.Font = Enum.Font.SourceSans
415
Keybinds.FontSize = Enum.FontSize.Size14
416
Keybinds.Text = "    Keybinds"
417
Keybinds.TextColor3 = Color3.new(1, 1, 1)
418
Keybinds.TextXAlignment = Enum.TextXAlignment.Left
419
420
Select.Name = "Select"
421
Select.Parent = Keybinds
422
Select.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
423
Select.BorderSizePixel = 0
424
Select.Position = UDim2.new(0, 200, 0, 0)
425
Select.Size = UDim2.new(0, 50, 0, 20)
426
Select.Font = Enum.Font.SourceSans
427
Select.FontSize = Enum.FontSize.Size14
428
Select.Text = "Edit"
429
Select.TextColor3 = Color3.new(0, 0, 0)
430
431
Aliases.Name = "Aliases"
432
Aliases.Parent = Settings
433
Aliases.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
434
Aliases.BackgroundTransparency = 0.5
435
Aliases.BorderSizePixel = 0
436
Aliases.Position = UDim2.new(0, 0, 0, 80)
437
Aliases.Size = UDim2.new(0, 250, 0, 20)
438
Aliases.Font = Enum.Font.SourceSans
439
Aliases.FontSize = Enum.FontSize.Size14
440
Aliases.Text = "    Aliases"
441
Aliases.TextColor3 = Color3.new(1, 1, 1)
442
Aliases.TextXAlignment = Enum.TextXAlignment.Left
443
444
Select_7.Name = "Select"
445
Select_7.Parent = Aliases
446
Select_7.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
447
Select_7.BorderSizePixel = 0
448
Select_7.Position = UDim2.new(0, 200, 0, 0)
449
Select_7.Size = UDim2.new(0, 50, 0, 20)
450
Select_7.Font = Enum.Font.SourceSans
451
Select_7.FontSize = Enum.FontSize.Size14
452
Select_7.Text = "Edit"
453
Select_7.TextColor3 = Color3.new(0, 0, 0)
454
455
StayOpen.Name = "StayOpen"
456
StayOpen.Parent = Settings
457
StayOpen.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
458
StayOpen.BackgroundTransparency = 0.5
459
StayOpen.BorderSizePixel = 0
460
StayOpen.Position = UDim2.new(0, 0, 0, 30)
461
StayOpen.Size = UDim2.new(0, 250, 0, 20)
462
StayOpen.Font = Enum.Font.SourceSans
463
StayOpen.FontSize = Enum.FontSize.Size14
464
StayOpen.Text = "    Keep Menu Open"
465
StayOpen.TextColor3 = Color3.new(1, 1, 1)
466
StayOpen.TextXAlignment = Enum.TextXAlignment.Left
467
468
Button.Name = "Button"
469
Button.Parent = StayOpen
470
Button.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
471
Button.BorderSizePixel = 0
472
Button.Position = UDim2.new(0, 230, 0, 0)
473
Button.Size = UDim2.new(0, 20, 0, 20)
474
475
On.Name = "On"
476
On.Parent = Button
477
On.BackgroundColor3 = Color3.new(0.8, 0.8, 0.8)
478
On.BackgroundTransparency = 1
479
On.BorderSizePixel = 0
480
On.Position = UDim2.new(0, 2, 0, 2)
481
On.Size = UDim2.new(0, 16, 0, 16)
482
On.Font = Enum.Font.SourceSans
483
On.FontSize = Enum.FontSize.Size14
484
On.Text = ""
485
On.TextColor3 = Color3.new(0, 0, 0)
486
487
Positions.Name = "Positions"
488
Positions.Parent = Settings
489
Positions.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
490
Positions.BackgroundTransparency = 0.5
491
Positions.BorderSizePixel = 0
492
Positions.Position = UDim2.new(0, 0, 0, 105)
493
Positions.Size = UDim2.new(0, 250, 0, 20)
494
Positions.Font = Enum.Font.SourceSans
495
Positions.FontSize = Enum.FontSize.Size14
496
Positions.Text = "    Waypoints / Positions"
497
Positions.TextColor3 = Color3.new(1, 1, 1)
498
Positions.TextXAlignment = Enum.TextXAlignment.Left
499
500
Select_8.Name = "Select"
501
Select_8.Parent = Positions
502
Select_8.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
503
Select_8.BorderSizePixel = 0
504
Select_8.Position = UDim2.new(0, 200, 0, 0)
505
Select_8.Size = UDim2.new(0, 50, 0, 20)
506
Select_8.Font = Enum.Font.SourceSans
507
Select_8.FontSize = Enum.FontSize.Size14
508
Select_8.Text = "Edit / TP"
509
Select_8.TextColor3 = Color3.new(0, 0, 0)
510
511
SpawnC.Name = "SpawnC"
512
SpawnC.Parent = Settings
513
SpawnC.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
514
SpawnC.BackgroundTransparency = 0.5
515
SpawnC.BorderSizePixel = 0
516
SpawnC.Position = UDim2.new(0, 0, 0, 155)
517
SpawnC.Size = UDim2.new(0, 250, 0, 20)
518
SpawnC.Font = Enum.Font.SourceSans
519
SpawnC.FontSize = Enum.FontSize.Size14
520
SpawnC.Text = "    Spawn Commands"
521
SpawnC.TextColor3 = Color3.new(1, 1, 1)
522
SpawnC.TextXAlignment = Enum.TextXAlignment.Left
523
524
Select_2.Name = "Select"
525
Select_2.Parent = SpawnC
526
Select_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
527
Select_2.BorderSizePixel = 0
528
Select_2.Position = UDim2.new(0, 200, 0, 0)
529
Select_2.Size = UDim2.new(0, 50, 0, 20)
530
Select_2.Font = Enum.Font.SourceSans
531
Select_2.FontSize = Enum.FontSize.Size14
532
Select_2.Text = "Edit"
533
Select_2.TextColor3 = Color3.new(0, 0, 0)
534
535
Plugins.Name = "Plugins"
536
Plugins.Parent = Settings
537
Plugins.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
538
Plugins.BackgroundTransparency = 0.5
539
Plugins.BorderSizePixel = 0
540
Plugins.Position = UDim2.new(0, 0, 0, 130)
541
Plugins.Size = UDim2.new(0, 250, 0, 20)
542
Plugins.Font = Enum.Font.SourceSans
543
Plugins.FontSize = Enum.FontSize.Size14
544
Plugins.Text = "    Plugins"
545
Plugins.TextColor3 = Color3.new(1, 1, 1)
546
Plugins.TextXAlignment = Enum.TextXAlignment.Left
547
548
Select_9.Name = "Select"
549
Select_9.Parent = Plugins
550
Select_9.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
551
Select_9.BorderSizePixel = 0
552
Select_9.Position = UDim2.new(0, 200, 0, 0)
553
Select_9.Size = UDim2.new(0, 50, 0, 20)
554
Select_9.Font = Enum.Font.SourceSans
555
Select_9.FontSize = Enum.FontSize.Size14
556
Select_9.Text = "Edit"
557
Select_9.TextColor3 = Color3.new(0, 0, 0)
558
559
Example.Name = "Example"
560
Example.Parent = Holder
561
Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
562
Example.BackgroundTransparency = 1
563
Example.BorderSizePixel = 0
564
Example.Size = UDim2.new(0, 190, 0, 20)
565
Example.Visible = false
566
Example.Font = Enum.Font.SourceSansBold
567
Example.FontSize = Enum.FontSize.Size18
568
Example.Text = "Example"
569
Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
570
Example.TextStrokeTransparency = 0
571
Example.TextXAlignment = Enum.TextXAlignment.Left
572
573
Notification.Name = randomString()
574
Notification.Parent = PARENT
575
Notification.Active = true
576
Notification.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
577
Notification.BackgroundTransparency = 0
578
Notification.BorderSizePixel = 0
579
Notification.Position = UDim2.new(1, -500, 1, 20)
580
Notification.Size = UDim2.new(0, 250, 0, 100)
581
582
Dark_3.Name = "Dark"
583
Dark_3.Parent = Notification
584
Dark_3.Active = true
585
Dark_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
586
Dark_3.BackgroundTransparency = 0.5
587
Dark_3.BorderSizePixel = 0
588
Dark_3.Position = UDim2.new(0, 0, 0, 20)
589
Dark_3.Size = UDim2.new(0, 250, 0, 5)
590
591
Title_2.Name = "Title"
592
Title_2.Parent = Notification
593
Title_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
594
Title_2.BackgroundTransparency = 1
595
Title_2.BorderSizePixel = 0
596
Title_2.Size = UDim2.new(0, 250, 0, 20)
597
Title_2.Font = Enum.Font.SourceSans
598
Title_2.TextSize = 20
599
Title_2.Text = "Notification Title"
600
Title_2.TextColor3 = Color3.new(1, 1, 1)
601
Title_2.TextStrokeTransparency = 0
602
603
Text_2.Name = "Text"
604
Text_2.Parent = Notification
605
Text_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
606
Text_2.BackgroundTransparency = 1
607
Text_2.BorderSizePixel = 0
608
Text_2.Position = UDim2.new(0, 5, 0, 25)
609
Text_2.Size = UDim2.new(0, 240, 0, 75)
610
Text_2.Font = Enum.Font.SourceSans
611
Text_2.FontSize = Enum.FontSize.Size18
612
Text_2.Text = "Notification Text"
613
Text_2.TextColor3 = Color3.new(1, 1, 1)
614
Text_2.TextWrapped = true
615
616
CloseButton.Name = "CloseButton"
617
CloseButton.Parent = Notification
618
CloseButton.BackgroundColor3 = Color3.new(1, 1, 1)
619
CloseButton.BackgroundTransparency = 1
620
CloseButton.Position = UDim2.new(0, 0, 0, 0)
621
CloseButton.Size = UDim2.new(0, 20, 0, 20)
622
CloseButton.Image = "rbxassetid://2132544126"
623
624
IntroBackground.Name = "IntroBackground"
625
IntroBackground.Parent = Holder
626
IntroBackground.Active = true
627
IntroBackground.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
628
IntroBackground.BorderSizePixel = 0
629
IntroBackground.Position = UDim2.new(0, 0, 0, 45)
630
IntroBackground.Size = UDim2.new(0, 250, 0, 175)
631
IntroBackground.ZIndex = 4
632
633
Logo.Name = "Logo"
634
Logo.Parent = Holder
635
Logo.BackgroundColor3 = Color3.new(1, 1, 1)
636
Logo.BackgroundTransparency = 1
637
Logo.BorderSizePixel = 0
638
Logo.Position = UDim2.new(0, 125, 0, 127)
639
Logo.Size = UDim2.new(0, 10, 0, 10)
640
Logo.Image = "rbxassetid://1352543873"
641
Logo.ImageTransparency = 0
642
Logo.ZIndex = 5
643
644
Credits.Name = "Credits"
645
Credits.Parent = Holder
646
Credits.BackgroundColor3 = Color3.new(1, 1, 1)
647
Credits.BackgroundTransparency = 1
648
Credits.BorderSizePixel = 0
649
Credits.Position = UDim2.new(0, 0, 0.9, 30)
650
Credits.Size = UDim2.new(0, 250, 0, 20)
651
Credits.Font = Enum.Font.SourceSansLight
652
Credits.FontSize = Enum.FontSize.Size18
653
Credits.Text = "Edge // Zwolf // Moon"
654
Credits.TextColor3 = Color3.new(1, 1, 1)
655
Credits.ZIndex = 5
656
657
KeybindsFrame.Name = "KeybindsFrame"
658
KeybindsFrame.Parent = Settings
659
KeybindsFrame.Active = true
660
KeybindsFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
661
KeybindsFrame.BorderSizePixel = 0
662
KeybindsFrame.Position = UDim2.new(0, 0, 0, 175)
663
KeybindsFrame.Size = UDim2.new(0, 250, 0, 175)
664
665
Close.Name = "Close"
666
Close.Parent = KeybindsFrame
667
Close.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
668
Close.BorderSizePixel = 0
669
Close.Position = UDim2.new(0, 205, 0, 150)
670
Close.Size = UDim2.new(0, 40, 0, 20)
671
Close.Font = Enum.Font.SourceSans
672
Close.FontSize = Enum.FontSize.Size14
673
Close.Text = "Close"
674
Close.TextColor3 = Color3.new(0, 0, 0)
675
676
Add.Name = "Add"
677
Add.Parent = KeybindsFrame
678
Add.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
679
Add.BorderSizePixel = 0
680
Add.Position = UDim2.new(0, 5, 0, 150)
681
Add.Size = UDim2.new(0, 40, 0, 20)
682
Add.Font = Enum.Font.SourceSans
683
Add.FontSize = Enum.FontSize.Size14
684
Add.Text = "Add"
685
Add.TextColor3 = Color3.new(0, 0, 0)
686
687
Delete.Name = "Delete"
688
Delete.Parent = KeybindsFrame
689
Delete.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
690
Delete.BorderSizePixel = 0
691
Delete.Position = UDim2.new(0, 50, 0, 150)
692
Delete.Size = UDim2.new(0, 40, 0, 20)
693
Delete.Font = Enum.Font.SourceSans
694
Delete.FontSize = Enum.FontSize.Size14
695
Delete.Text = "Clear"
696
Delete.TextColor3 = Color3.new(0, 0, 0)
697
698
SpawnCFrame.Name = "SpawnCFrame"
699
SpawnCFrame.Parent = Settings
700
SpawnCFrame.Active = true
701
SpawnCFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
702
SpawnCFrame.BorderSizePixel = 0
703
SpawnCFrame.Position = UDim2.new(0, 0, 0, 175)
704
SpawnCFrame.Size = UDim2.new(0, 250, 0, 175)
705
706
Holder_6.Name = "Holder"
707
Holder_6.Parent = SpawnCFrame
708
Holder_6.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
709
Holder_6.BackgroundTransparency = 1
710
Holder_6.BorderSizePixel = 0
711
Holder_6.Position = UDim2.new(0, 0, 0, 0)
712
Holder_6.Selectable = false
713
Holder_6.Size = UDim2.new(0, 250, 0, 145)
714
Holder_6.BottomImage = "rbxasset://textures/blackBkg_square.png"
715
Holder_6.CanvasSize = UDim2.new(0, 0, 0, 0)
716
Holder_6.MidImage = "rbxasset://textures/blackBkg_square.png"
717
Holder_6.ScrollBarThickness = 8
718
Holder_6.TopImage = "rbxasset://textures/blackBkg_square.png"
719
720
Close_5.Name = "Close"
721
Close_5.Parent = SpawnCFrame
722
Close_5.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
723
Close_5.BorderSizePixel = 0
724
Close_5.Position = UDim2.new(0, 205, 0, 150)
725
Close_5.Size = UDim2.new(0, 40, 0, 20)
726
Close_5.Font = Enum.Font.SourceSans
727
Close_5.FontSize = Enum.FontSize.Size14
728
Close_5.Text = "Close"
729
Close_5.TextColor3 = Color3.new(0, 0, 0)
730
731
Add_4.Name = "Add"
732
Add_4.Parent = SpawnCFrame
733
Add_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
734
Add_4.BorderSizePixel = 0
735
Add_4.Position = UDim2.new(0, 5, 0, 150)
736
Add_4.Size = UDim2.new(0, 40, 0, 20)
737
Add_4.Font = Enum.Font.SourceSans
738
Add_4.FontSize = Enum.FontSize.Size14
739
Add_4.Text = "Add"
740
Add_4.TextColor3 = Color3.new(0, 0, 0)
741
742
Delete_8.Name = "Delete"
743
Delete_8.Parent = SpawnCFrame
744
Delete_8.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
745
Delete_8.BorderSizePixel = 0
746
Delete_8.Position = UDim2.new(0, 50, 0, 150)
747
Delete_8.Size = UDim2.new(0, 40, 0, 20)
748
Delete_8.Font = Enum.Font.SourceSans
749
Delete_8.FontSize = Enum.FontSize.Size14
750
Delete_8.Text = "Clear"
751
Delete_8.TextColor3 = Color3.new(0, 0, 0)
752
753
Holder_2.Name = "Holder"
754
Holder_2.Parent = KeybindsFrame
755
Holder_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
756
Holder_2.BackgroundTransparency = 1
757
Holder_2.BorderSizePixel = 0
758
Holder_2.Position = UDim2.new(0, 0, 0, 0)
759
Holder_2.Size = UDim2.new(0, 250, 0, 145)
760
Holder_2.BottomImage = "rbxasset://textures/blackBkg_square.png"
761
Holder_2.CanvasSize = UDim2.new(0, 0, 0, 0)
762
Holder_2.MidImage = "rbxasset://textures/blackBkg_square.png"
763
Holder_2.ScrollBarThickness = 0
764
Holder_2.TopImage = "rbxasset://textures/blackBkg_square.png"
765
766
Example_2.Name = "Example"
767
Example_2.Parent = KeybindsFrame
768
Example_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
769
Example_2.BackgroundTransparency = 0.5
770
Example_2.BorderSizePixel = 0
771
Example_2.Size = UDim2.new(0, 10, 0, 20)
772
Example_2.Visible = false
773
774
Text_3.Name = "Text"
775
Text_3.Parent = Example_2
776
Text_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
777
Text_3.BackgroundTransparency = 0.5
778
Text_3.BorderSizePixel = 0
779
Text_3.Position = UDim2.new(0, 10, 0, 0)
780
Text_3.Size = UDim2.new(0, 240, 0, 20)
781
Text_3.Font = Enum.Font.SourceSans
782
Text_3.FontSize = Enum.FontSize.Size14
783
Text_3.Text = "nom"
784
Text_3.TextColor3 = Color3.new(1, 1, 1)
785
Text_3.TextXAlignment = Enum.TextXAlignment.Left
786
787
Delete_2.Name = "Delete"
788
Delete_2.Parent = Text_3
789
Delete_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
790
Delete_2.BorderSizePixel = 0
791
Delete_2.Position = UDim2.new(0, 200, 0, 0)
792
Delete_2.Size = UDim2.new(0, 40, 0, 20)
793
Delete_2.Font = Enum.Font.SourceSans
794
Delete_2.FontSize = Enum.FontSize.Size14
795
Delete_2.Text = "Delete"
796
Delete_2.TextColor3 = Color3.new(0, 0, 0)
797
798
KeybindEditor.Name = randomString()
799
KeybindEditor.Parent = PARENT
800
KeybindEditor.Active = true
801
KeybindEditor.BackgroundColor3 = Color3.new(1, 1, 1)
802
KeybindEditor.BackgroundTransparency = 1
803
KeybindEditor.Position = UDim2.new(0.5, -180, 0, -400)
804
KeybindEditor.Size = UDim2.new(0, 360, 0, 20)
805
KeybindEditor.ZIndex = 4
806
807
background_2.Name = "background"
808
background_2.Parent = KeybindEditor
809
background_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
810
background_2.BorderSizePixel = 0
811
background_2.Position = UDim2.new(0, 0, 0, 20)
812
background_2.Size = UDim2.new(0, 360, 0, 185)
813
814
Dark_4.Name = "Dark"
815
Dark_4.Parent = background_2
816
Dark_4.Active = true
817
Dark_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
818
Dark_4.BackgroundTransparency = 0.5
819
Dark_4.BorderSizePixel = 0
820
Dark_4.Position = UDim2.new(0, 135, 0, 5)
821
Dark_4.Size = UDim2.new(0, 5, 0, 180)
822
823
Directions.Name = "Directions"
824
Directions.Parent = background_2
825
Directions.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
826
Directions.BackgroundTransparency = 1
827
Directions.BorderSizePixel = 0
828
Directions.Position = UDim2.new(0, 10, 0, 15)
829
Directions.Size = UDim2.new(0, 115, 0, 90)
830
Directions.Font = Enum.Font.SourceSansBold
831
Directions.FontSize = Enum.FontSize.Size14
832
Directions.Text = "Click the button below and press a key/mouse button. Then select what you want to bind it to."
833
Directions.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
834
Directions.TextStrokeTransparency = 0
835
Directions.TextWrapped = true
836
Directions.TextYAlignment = Enum.TextYAlignment.Top
837
838
BindTo.Name = "BindTo"
839
BindTo.Parent = background_2
840
BindTo.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
841
BindTo.BackgroundTransparency = 0.5
842
BindTo.BorderSizePixel = 0
843
BindTo.Position = UDim2.new(0, 10, 0, 95)
844
BindTo.Size = UDim2.new(0, 115, 0, 75)
845
BindTo.Font = Enum.Font.SourceSans
846
BindTo.FontSize = Enum.FontSize.Size18
847
BindTo.Text = "Click to bind"
848
BindTo.TextColor3 = Color3.new(1, 1, 1)
849
BindTo.TextStrokeTransparency = 0
850
851
Add_2.Name = "Add"
852
Add_2.Parent = background_2
853
Add_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
854
Add_2.BackgroundTransparency = 0.5
855
Add_2.BorderSizePixel = 0
856
Add_2.Position = UDim2.new(0, 310, 0, 20)
857
Add_2.Size = UDim2.new(0, 40, 0, 20)
858
Add_2.Font = Enum.Font.SourceSans
859
Add_2.FontSize = Enum.FontSize.Size18
860
Add_2.Text = "Add"
861
Add_2.TextColor3 = Color3.new(1, 1, 1)
862
Add_2.TextStrokeTransparency = 0
863
864
Cmdbar_2.Name = "Cmdbar"
865
Cmdbar_2.Parent = background_2
866
Cmdbar_2.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
867
Cmdbar_2.BackgroundTransparency = 0.5
868
Cmdbar_2.BorderSizePixel = 0
869
Cmdbar_2.Position = UDim2.new(0, 150, 0, 20)
870
Cmdbar_2.Size = UDim2.new(0, 150, 0, 20)
871
Cmdbar_2.Font = Enum.Font.SourceSans
872
Cmdbar_2.FontSize = Enum.FontSize.Size18
873
Cmdbar_2.Text = "Command"
874
Cmdbar_2.TextColor3 = Color3.new(1, 1, 1)
875
Cmdbar_2.TextScaled = true
876
Cmdbar_2.TextStrokeTransparency = 0
877
Cmdbar_2.TextWrapped = true
878
879
Toggles.Name = "Toggles"
880
Toggles.Parent = background_2
881
Toggles.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
882
Toggles.BackgroundTransparency = 1
883
Toggles.BorderSizePixel = 0
884
Toggles.Position = UDim2.new(0, 150, 0, 50)
885
Toggles.Size = UDim2.new(0, 200, 0, 120)
886
Toggles.BottomImage = "rbxasset://textures/blackBkg_square.png"
887
Toggles.CanvasSize = UDim2.new(0, 0, 0, 0)
888
Toggles.MidImage = "rbxasset://textures/blackBkg_square.png"
889
Toggles.ScrollBarThickness = 8
890
Toggles.TopImage = "rbxasset://textures/blackBkg_square.png"
891
892
Fly.Name = "Fly"
893
Fly.Parent = Toggles
894
Fly.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
895
Fly.BackgroundTransparency = 0.5
896
Fly.BorderSizePixel = 0
897
Fly.Size = UDim2.new(0, 200, 0, 20)
898
Fly.Font = Enum.Font.SourceSans
899
Fly.FontSize = Enum.FontSize.Size14
900
Fly.Text = "    Toggle Fly"
901
Fly.TextColor3 = Color3.new(1, 1, 1)
902
Fly.TextXAlignment = Enum.TextXAlignment.Left
903
904
Select_3.Name = "Select"
905
Select_3.Parent = Fly
906
Select_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
907
Select_3.BorderSizePixel = 0
908
Select_3.Position = UDim2.new(0, 160, 0, 0)
909
Select_3.Size = UDim2.new(0, 40, 0, 20)
910
Select_3.Font = Enum.Font.SourceSans
911
Select_3.FontSize = Enum.FontSize.Size14
912
Select_3.Text = "Add"
913
Select_3.TextColor3 = Color3.new(0, 0, 0)
914
915
Noclip.Name = "Noclip"
916
Noclip.Parent = Toggles
917
Noclip.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
918
Noclip.BackgroundTransparency = 0.5
919
Noclip.BorderSizePixel = 0
920
Noclip.Position = UDim2.new(0, 0, 0, 25)
921
Noclip.Size = UDim2.new(0, 200, 0, 20)
922
Noclip.Font = Enum.Font.SourceSans
923
Noclip.FontSize = Enum.FontSize.Size14
924
Noclip.Text = "    Toggle Noclip"
925
Noclip.TextColor3 = Color3.new(1, 1, 1)
926
Noclip.TextXAlignment = Enum.TextXAlignment.Left
927
928
Select_4.Name = "Select"
929
Select_4.Parent = Noclip
930
Select_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
931
Select_4.BorderSizePixel = 0
932
Select_4.Position = UDim2.new(0, 160, 0, 0)
933
Select_4.Size = UDim2.new(0, 40, 0, 20)
934
Select_4.Font = Enum.Font.SourceSans
935
Select_4.FontSize = Enum.FontSize.Size14
936
Select_4.Text = "Add"
937
Select_4.TextColor3 = Color3.new(0, 0, 0)
938
939
Float.Name = "Float"
940
Float.Parent = Toggles
941
Float.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
942
Float.BackgroundTransparency = 0.5
943
Float.BorderSizePixel = 0
944
Float.Position = UDim2.new(0, 0, 0, 50)
945
Float.Size = UDim2.new(0, 200, 0, 20)
946
Float.Font = Enum.Font.SourceSans
947
Float.FontSize = Enum.FontSize.Size14
948
Float.Text = "    Toggle Float"
949
Float.TextColor3 = Color3.new(1, 1, 1)
950
Float.TextXAlignment = Enum.TextXAlignment.Left
951
952
Select_5.Name = "Select"
953
Select_5.Parent = Float
954
Select_5.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
955
Select_5.BorderSizePixel = 0
956
Select_5.Position = UDim2.new(0, 160, 0, 0)
957
Select_5.Size = UDim2.new(0, 40, 0, 20)
958
Select_5.Font = Enum.Font.SourceSans
959
Select_5.FontSize = Enum.FontSize.Size14
960
Select_5.Text = "Add"
961
Select_5.TextColor3 = Color3.new(0, 0, 0)
962
963
ClickTP.Name = "Click TP"
964
ClickTP.Parent = Toggles
965
ClickTP.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
966
ClickTP.BackgroundTransparency = 0.5
967
ClickTP.BorderSizePixel = 0
968
ClickTP.Position = UDim2.new(0, 0, 0, 75)
969
ClickTP.Size = UDim2.new(0, 200, 0, 20)
970
ClickTP.Font = Enum.Font.SourceSans
971
ClickTP.FontSize = Enum.FontSize.Size14
972
ClickTP.Text = "    Click TP (Hold Key & Click)"
973
ClickTP.TextColor3 = Color3.new(1, 1, 1)
974
ClickTP.TextXAlignment = Enum.TextXAlignment.Left
975
976
Select_6.Name = "Select"
977
Select_6.Parent = ClickTP
978
Select_6.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
979
Select_6.BorderSizePixel = 0
980
Select_6.Position = UDim2.new(0, 160, 0, 0)
981
Select_6.Size = UDim2.new(0, 40, 0, 20)
982
Select_6.Font = Enum.Font.SourceSans
983
Select_6.FontSize = Enum.FontSize.Size14
984
Select_6.Text = "Add"
985
Select_6.TextColor3 = Color3.new(0, 0, 0)
986
987
Xray.Name = "Xray"
988
Xray.Parent = Toggles
989
Xray.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
990
Xray.BackgroundTransparency = 0.5
991
Xray.BorderSizePixel = 0
992
Xray.Position = UDim2.new(0, 0, 0, 100)
993
Xray.Size = UDim2.new(0, 200, 0, 20)
994
Xray.Font = Enum.Font.SourceSans
995
Xray.FontSize = Enum.FontSize.Size14
996
Xray.Text = "    Toggle Xray"
997
Xray.TextColor3 = Color3.new(1, 1, 1)
998
Xray.TextXAlignment = Enum.TextXAlignment.Left
999
1000
Select_10.Name = "Select"
1001
Select_10.Parent = Xray
1002
Select_10.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1003
Select_10.BorderSizePixel = 0
1004
Select_10.Position = UDim2.new(0, 160, 0, 0)
1005
Select_10.Size = UDim2.new(0, 40, 0, 20)
1006
Select_10.Font = Enum.Font.SourceSans
1007
Select_10.FontSize = Enum.FontSize.Size14
1008
Select_10.Text = "Add"
1009
Select_10.TextColor3 = Color3.new(0, 0, 0)
1010
1011
Dark_7.Name = "Dark"
1012
Dark_7.Parent = background_2
1013
Dark_7.Active = true
1014
Dark_7.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1015
Dark_7.BackgroundTransparency = 0.5
1016
Dark_7.BorderSizePixel = 0
1017
Dark_7.Size = UDim2.new(0, 360, 0, 5)
1018
1019
shadow_2.Name = "shadow"
1020
shadow_2.Parent = KeybindEditor
1021
shadow_2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1022
shadow_2.BorderColor3 = Color3.new(0, 0, 0)
1023
shadow_2.BorderSizePixel = 0
1024
shadow_2.Size = UDim2.new(0, 360, 0, 20)
1025
shadow_2.ZIndex = 4
1026
1027
PopupText_2.Name = "PopupText"
1028
PopupText_2.Parent = shadow_2
1029
PopupText_2.BackgroundTransparency = 1
1030
PopupText_2.Position = UDim2.new(0, 51, 0, 0)
1031
PopupText_2.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
1032
PopupText_2.ZIndex = 4
1033
PopupText_2.Font = Enum.Font.SourceSans
1034
PopupText_2.TextSize = 20
1035
PopupText_2.Text = "Set Keybinds"
1036
PopupText_2.TextColor3 = Color3.new(1, 1, 1)
1037
PopupText_2.TextStrokeTransparency = 0
1038
PopupText_2.TextWrapped = true
1039
1040
Exit_2.Name = "Exit"
1041
Exit_2.Parent = shadow_2
1042
Exit_2.BackgroundColor3 = Color3.new(1, 1, 1)
1043
Exit_2.BackgroundTransparency = 1
1044
Exit_2.Size = UDim2.new(0, 20, 0, 20)
1045
Exit_2.ZIndex = 4
1046
Exit_2.Image = "rbxassetid://2132544126"
1047
1048
SpawnCEditor.Name = randomString()
1049
SpawnCEditor.Parent = PARENT
1050
SpawnCEditor.Active = true
1051
SpawnCEditor.BackgroundColor3 = Color3.new(1, 1, 1)
1052
SpawnCEditor.BackgroundTransparency = 1
1053
SpawnCEditor.Position = UDim2.new(0.5, -180, 0, -400)
1054
SpawnCEditor.Size = UDim2.new(0, 360, 0, 20)
1055
SpawnCEditor.ZIndex = 4
1056
1057
background_4.Name = "background"
1058
background_4.Parent = SpawnCEditor
1059
background_4.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1060
background_4.BorderSizePixel = 0
1061
background_4.Position = UDim2.new(0, 0, 0, 20)
1062
background_4.Size = UDim2.new(0, 360, 0, 75)
1063
1064
Cmdbar_3.Name = "Cmdbar"
1065
Cmdbar_3.Parent = background_4
1066
Cmdbar_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1067
Cmdbar_3.BackgroundTransparency = 0.5
1068
Cmdbar_3.BorderSizePixel = 0
1069
Cmdbar_3.Position = UDim2.new(0, 150, 0, 45)
1070
Cmdbar_3.Size = UDim2.new(0, 150, 0, 20)
1071
Cmdbar_3.Font = Enum.Font.SourceSans
1072
Cmdbar_3.FontSize = Enum.FontSize.Size18
1073
Cmdbar_3.Text = "Command"
1074
Cmdbar_3.TextColor3 = Color3.new(1, 1, 1)
1075
Cmdbar_3.TextScaled = true
1076
Cmdbar_3.TextStrokeTransparency = 0
1077
Cmdbar_3.TextWrapped = true
1078
1079
Dark_10.Name = "Dark"
1080
Dark_10.Parent = background_4
1081
Dark_10.Active = true
1082
Dark_10.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1083
Dark_10.BackgroundTransparency = 0.5
1084
Dark_10.BorderSizePixel = 0
1085
Dark_10.Size = UDim2.new(0, 360, 0, 5)
1086
1087
Add_5.Name = "Add"
1088
Add_5.Parent = background_4
1089
Add_5.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1090
Add_5.BackgroundTransparency = 0.5
1091
Add_5.BorderSizePixel = 0
1092
Add_5.Position = UDim2.new(0, 310, 0, 45)
1093
Add_5.Size = UDim2.new(0, 40, 0, 20)
1094
Add_5.Font = Enum.Font.SourceSans
1095
Add_5.FontSize = Enum.FontSize.Size18
1096
Add_5.Text = "Add"
1097
Add_5.TextColor3 = Color3.new(1, 1, 1)
1098
Add_5.TextStrokeTransparency = 0
1099
1100
DelayNum.Name = "DelayNum"
1101
DelayNum.Parent = background_4
1102
DelayNum.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1103
DelayNum.BackgroundTransparency = 0.5
1104
DelayNum.BorderSizePixel = 0
1105
DelayNum.Position = UDim2.new(0, 310, 0, 15)
1106
DelayNum.Size = UDim2.new(0, 40, 0, 20)
1107
DelayNum.Font = Enum.Font.SourceSans
1108
DelayNum.FontSize = Enum.FontSize.Size18
1109
DelayNum.Text = "0"
1110
DelayNum.TextColor3 = Color3.new(1, 1, 1)
1111
DelayNum.TextScaled = true
1112
DelayNum.TextStrokeTransparency = 0
1113
DelayNum.TextWrapped = true
1114
1115
Delay.Name = "Delay"
1116
Delay.Parent = background_4
1117
Delay.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1118
Delay.BackgroundTransparency = 1
1119
Delay.BorderSizePixel = 0
1120
Delay.Position = UDim2.new(0, 150, 0, 15)
1121
Delay.Size = UDim2.new(0, 150, 0, 20)
1122
Delay.Font = Enum.Font.SourceSansBold
1123
Delay.FontSize = Enum.FontSize.Size14
1124
Delay.Text = "Delay (seconds) (0 for none)"
1125
Delay.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1126
Delay.TextStrokeTransparency = 0
1127
Delay.TextWrapped = true
1128
1129
Directions_3.Name = "Directions"
1130
Directions_3.Parent = background_4
1131
Directions_3.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1132
Directions_3.BackgroundTransparency = 1
1133
Directions_3.BorderSizePixel = 0
1134
Directions_3.Position = UDim2.new(0, 20, 0, 10)
1135
Directions_3.Size = UDim2.new(0, 98, 0, 60)
1136
Directions_3.Font = Enum.Font.SourceSansBold
1137
Directions_3.FontSize = Enum.FontSize.Size14
1138
Directions_3.Text = "Spawn commands automatically get executed when you spawn."
1139
Directions_3.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1140
Directions_3.TextStrokeTransparency = 0
1141
Directions_3.TextWrapped = true
1142
Directions_3.TextYAlignment = Enum.TextYAlignment.Top
1143
1144
Dark_11.Name = "Dark"
1145
Dark_11.Parent = background_4
1146
Dark_11.Active = true
1147
Dark_11.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1148
Dark_11.BackgroundTransparency = 0.5
1149
Dark_11.BorderSizePixel = 0
1150
Dark_11.Position = UDim2.new(0.377777785, 0, 0.0666666701, 0)
1151
Dark_11.Size = UDim2.new(0, 5, 0, 70)
1152
1153
shadow_4.Name = "shadow"
1154
shadow_4.Parent = SpawnCEditor
1155
shadow_4.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1156
shadow_4.BorderColor3 = Color3.new(0, 0, 0)
1157
shadow_4.BorderSizePixel = 0
1158
shadow_4.Size = UDim2.new(0, 360, 0, 20)
1159
shadow_4.ZIndex = 4
1160
1161
PopupText_4.Name = "PopupText"
1162
PopupText_4.Parent = shadow_4
1163
PopupText_4.BackgroundTransparency = 1
1164
PopupText_4.Position = UDim2.new(0, 51, 0, 0)
1165
PopupText_4.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
1166
PopupText_4.ZIndex = 4
1167
PopupText_4.Font = Enum.Font.SourceSans
1168
PopupText_4.TextSize = 20
1169
PopupText_4.Text = "Set Spawn Commands"
1170
PopupText_4.TextColor3 = Color3.new(1, 1, 1)
1171
PopupText_4.TextStrokeTransparency = 0
1172
PopupText_4.TextWrapped = true
1173
1174
Exit_4.Name = "Exit"
1175
Exit_4.Parent = shadow_4
1176
Exit_4.BackgroundColor3 = Color3.new(1, 1, 1)
1177
Exit_4.BackgroundTransparency = 1
1178
Exit_4.Size = UDim2.new(0, 20, 0, 20)
1179
Exit_4.ZIndex = 4
1180
Exit_4.Image = "rbxassetid://2132544126"
1181
1182
PositionsFrame.Name = "PositionsFrame"
1183
PositionsFrame.Parent = Settings
1184
PositionsFrame.Active = true
1185
PositionsFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1186
PositionsFrame.BorderSizePixel = 0
1187
PositionsFrame.Size = UDim2.new(0, 250, 0, 175)
1188
PositionsFrame.Position = UDim2.new(0, 0, 0, 175)
1189
1190
Close_3.Name = "Close"
1191
Close_3.Parent = PositionsFrame
1192
Close_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1193
Close_3.BorderSizePixel = 0
1194
Close_3.Position = UDim2.new(0, 205, 0, 150)
1195
Close_3.Size = UDim2.new(0, 40, 0, 20)
1196
Close_3.Font = Enum.Font.SourceSans
1197
Close_3.FontSize = Enum.FontSize.Size14
1198
Close_3.Text = "Close"
1199
Close_3.TextColor3 = Color3.new(0, 0, 0)
1200
1201
Delete_5.Name = "Delete"
1202
Delete_5.Parent = PositionsFrame
1203
Delete_5.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1204
Delete_5.BorderSizePixel = 0
1205
Delete_5.Position = UDim2.new(0, 5, 0, 150)
1206
Delete_5.Size = UDim2.new(0, 40, 0, 20)
1207
Delete_5.Font = Enum.Font.SourceSans
1208
Delete_5.FontSize = Enum.FontSize.Size14
1209
Delete_5.Text = "Clear"
1210
Delete_5.TextColor3 = Color3.new(0, 0, 0)
1211
1212
Holder_4.Name = "Holder"
1213
Holder_4.Parent = PositionsFrame
1214
Holder_4.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1215
Holder_4.BackgroundTransparency = 1
1216
Holder_4.BorderSizePixel = 0
1217
Holder_4.Position = UDim2.new(0, 0, 0, 0)
1218
Holder_4.Selectable = false
1219
Holder_4.Size = UDim2.new(0, 250, 0, 145)
1220
Holder_4.BottomImage = "rbxasset://textures/blackBkg_square.png"
1221
Holder_4.CanvasSize = UDim2.new(0, 0, 0, 0)
1222
Holder_4.MidImage = "rbxasset://textures/blackBkg_square.png"
1223
Holder_4.ScrollBarThickness = 8
1224
Holder_4.TopImage = "rbxasset://textures/blackBkg_square.png"
1225
1226
Example_4.Name = "Example"
1227
Example_4.Parent = PositionsFrame
1228
Example_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1229
Example_4.BackgroundTransparency = 0.5
1230
Example_4.BorderSizePixel = 0
1231
Example_4.Size = UDim2.new(0, 10, 0, 20)
1232
Example_4.Visible = false
1233
Example_4.Position = UDim2.new(0, 0, 0, -5)
1234
1235
Text_5.Name = "Text"
1236
Text_5.Parent = Example_4
1237
Text_5.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1238
Text_5.BackgroundTransparency = 0.5
1239
Text_5.BorderSizePixel = 0
1240
Text_5.Position = UDim2.new(0, 10, 0, 0)
1241
Text_5.Size = UDim2.new(0, 240, 0, 20)
1242
Text_5.Font = Enum.Font.SourceSans
1243
Text_5.FontSize = Enum.FontSize.Size14
1244
Text_5.Text = "Position"
1245
Text_5.TextColor3 = Color3.new(1, 1, 1)
1246
Text_5.TextXAlignment = Enum.TextXAlignment.Left
1247
1248
Delete_6.Name = "Delete"
1249
Delete_6.Parent = Text_5
1250
Delete_6.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1251
Delete_6.BorderSizePixel = 0
1252
Delete_6.Position = UDim2.new(0, 200, 0, 0)
1253
Delete_6.Size = UDim2.new(0, 40, 0, 20)
1254
Delete_6.Font = Enum.Font.SourceSans
1255
Delete_6.FontSize = Enum.FontSize.Size14
1256
Delete_6.Text = "Delete"
1257
Delete_6.TextColor3 = Color3.new(0, 0, 0)
1258
1259
TP.Name = "TP"
1260
TP.Parent = Text_5
1261
TP.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1262
TP.BorderSizePixel = 0
1263
TP.Position = UDim2.new(0, 155, 0, 0)
1264
TP.Size = UDim2.new(0, 40, 0, 20)
1265
TP.Font = Enum.Font.SourceSans
1266
TP.FontSize = Enum.FontSize.Size14
1267
TP.Text = "Goto"
1268
TP.TextColor3 = Color3.new(0, 0, 0)
1269
1270
AliasesFrame.Name = "AliasesFrame"
1271
AliasesFrame.Parent = Settings
1272
AliasesFrame.Active = true
1273
AliasesFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1274
AliasesFrame.BorderSizePixel = 0
1275
AliasesFrame.Position = UDim2.new(0, 0, 0, 175)
1276
AliasesFrame.Size = UDim2.new(0, 250, 0, 175)
1277
1278
Close_2.Name = "Close"
1279
Close_2.Parent = AliasesFrame
1280
Close_2.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1281
Close_2.BorderSizePixel = 0
1282
Close_2.Position = UDim2.new(0, 205, 0, 150)
1283
Close_2.Size = UDim2.new(0, 40, 0, 20)
1284
Close_2.Font = Enum.Font.SourceSans
1285
Close_2.FontSize = Enum.FontSize.Size14
1286
Close_2.Text = "Close"
1287
Close_2.TextColor3 = Color3.new(0, 0, 0)
1288
1289
Delete_3.Name = "Delete"
1290
Delete_3.Parent = AliasesFrame
1291
Delete_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1292
Delete_3.BorderSizePixel = 0
1293
Delete_3.Position = UDim2.new(0, 5, 0, 150)
1294
Delete_3.Size = UDim2.new(0, 40, 0, 20)
1295
Delete_3.Font = Enum.Font.SourceSans
1296
Delete_3.FontSize = Enum.FontSize.Size14
1297
Delete_3.Text = "Clear"
1298
Delete_3.TextColor3 = Color3.new(0, 0, 0)
1299
1300
Holder_3.Name = "Holder"
1301
Holder_3.Parent = AliasesFrame
1302
Holder_3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1303
Holder_3.BackgroundTransparency = 1
1304
Holder_3.BorderSizePixel = 0
1305
Holder_3.Position = UDim2.new(0, 0, 0, 0)
1306
Holder_3.Size = UDim2.new(0, 250, 0, 145)
1307
Holder_3.BottomImage = "rbxasset://textures/blackBkg_square.png"
1308
Holder_3.CanvasSize = UDim2.new(0, 0, 0, 0)
1309
Holder_3.MidImage = "rbxasset://textures/blackBkg_square.png"
1310
Holder_3.ScrollBarThickness = 0
1311
Holder_3.TopImage = "rbxasset://textures/blackBkg_square.png"
1312
1313
Example_3.Name = "Example"
1314
Example_3.Parent = AliasesFrame
1315
Example_3.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1316
Example_3.BackgroundTransparency = 0.5
1317
Example_3.BorderSizePixel = 0
1318
Example_3.Size = UDim2.new(0, 10, 0, 20)
1319
Example_3.Visible = false
1320
1321
Text_4.Name = "Text"
1322
Text_4.Parent = Example_3
1323
Text_4.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1324
Text_4.BackgroundTransparency = 0.5
1325
Text_4.BorderSizePixel = 0
1326
Text_4.Position = UDim2.new(0, 10, 0, 0)
1327
Text_4.Size = UDim2.new(0, 240, 0, 20)
1328
Text_4.Font = Enum.Font.SourceSans
1329
Text_4.FontSize = Enum.FontSize.Size14
1330
Text_4.Text = "honk"
1331
Text_4.TextColor3 = Color3.new(1, 1, 1)
1332
Text_4.TextXAlignment = Enum.TextXAlignment.Left
1333
1334
Delete_4.Name = "Delete"
1335
Delete_4.Parent = Text_4
1336
Delete_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1337
Delete_4.BorderSizePixel = 0
1338
Delete_4.Position = UDim2.new(0, 200, 0, 0)
1339
Delete_4.Size = UDim2.new(0, 40, 0, 20)
1340
Delete_4.Font = Enum.Font.SourceSans
1341
Delete_4.FontSize = Enum.FontSize.Size14
1342
Delete_4.Text = "Delete"
1343
Delete_4.TextColor3 = Color3.new(0, 0, 0)
1344
1345
PluginsFrame.Name = "PluginsFrame"
1346
PluginsFrame.Parent = Settings
1347
PluginsFrame.Active = true
1348
PluginsFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1349
PluginsFrame.BorderSizePixel = 0
1350
PluginsFrame.Position = UDim2.new(0, 0, 0, 175)
1351
PluginsFrame.Size = UDim2.new(0, 250, 0, 175)
1352
1353
Close_4.Name = "Close"
1354
Close_4.Parent = PluginsFrame
1355
Close_4.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1356
Close_4.BorderSizePixel = 0
1357
Close_4.Position = UDim2.new(0, 205, 0, 150)
1358
Close_4.Size = UDim2.new(0, 40, 0, 20)
1359
Close_4.Font = Enum.Font.SourceSans
1360
Close_4.FontSize = Enum.FontSize.Size14
1361
Close_4.Text = "Close"
1362
Close_4.TextColor3 = Color3.new(0, 0, 0)
1363
1364
Add_3.Name = "Add"
1365
Add_3.Parent = PluginsFrame
1366
Add_3.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1367
Add_3.BorderSizePixel = 0
1368
Add_3.Position = UDim2.new(0, 5, 0, 150)
1369
Add_3.Size = UDim2.new(0, 40, 0, 20)
1370
Add_3.Font = Enum.Font.SourceSans
1371
Add_3.FontSize = Enum.FontSize.Size14
1372
Add_3.Text = "Add"
1373
Add_3.TextColor3 = Color3.new(0, 0, 0)
1374
1375
Holder_5.Name = "Holder"
1376
Holder_5.Parent = PluginsFrame
1377
Holder_5.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1378
Holder_5.BackgroundTransparency = 1
1379
Holder_5.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1380
Holder_5.BorderSizePixel = 0
1381
Holder_5.Position = UDim2.new(0, 0, 0, 0)
1382
Holder_5.Selectable = false
1383
Holder_5.Size = UDim2.new(0, 250, 0, 140)
1384
Holder_5.BottomImage = "rbxasset://textures/blackBkg_square.png"
1385
Holder_5.CanvasSize = UDim2.new(0, 0, 0, 0)
1386
Holder_5.MidImage = "rbxasset://textures/blackBkg_square.png"
1387
Holder_5.ScrollBarThickness = 0
1388
Holder_5.TopImage = "rbxasset://textures/blackBkg_square.png"
1389
1390
Example_5.Name = "Example"
1391
Example_5.Parent = PluginsFrame
1392
Example_5.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1393
Example_5.BackgroundTransparency = 0.5
1394
Example_5.BorderSizePixel = 0
1395
Example_5.Size = UDim2.new(0, 10, 0, 20)
1396
Example_5.Visible = false
1397
1398
Text_6.Name = "Text"
1399
Text_6.Parent = Example_5
1400
Text_6.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1401
Text_6.BackgroundTransparency = 0.5
1402
Text_6.BorderSizePixel = 0
1403
Text_6.Position = UDim2.new(0, 10, 0, 0)
1404
Text_6.Size = UDim2.new(0, 240, 0, 20)
1405
Text_6.Font = Enum.Font.SourceSans
1406
Text_6.FontSize = Enum.FontSize.Size14
1407
Text_6.Text = "F4 > Toggle Fly"
1408
Text_6.TextColor3 = Color3.new(1, 1, 1)
1409
Text_6.TextXAlignment = Enum.TextXAlignment.Left
1410
1411
Delete_7.Name = "Delete"
1412
Delete_7.Parent = Text_6
1413
Delete_7.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1414
Delete_7.BorderSizePixel = 0
1415
Delete_7.Position = UDim2.new(0, 200, 0, 0)
1416
Delete_7.Size = UDim2.new(0, 40, 0, 20)
1417
Delete_7.Font = Enum.Font.SourceSans
1418
Delete_7.FontSize = Enum.FontSize.Size14
1419
Delete_7.Text = "Delete"
1420
Delete_7.TextColor3 = Color3.new(0, 0, 0)
1421
1422
PluginEditor.Name = randomString()
1423
PluginEditor.Parent = PARENT
1424
PluginEditor.Active = true
1425
PluginEditor.BackgroundColor3 = Color3.new(1, 1, 1)
1426
PluginEditor.BackgroundTransparency = 1
1427
PluginEditor.Position = UDim2.new(0.5, -180, 0, -400)
1428
PluginEditor.Size = UDim2.new(0, 360, 0, 20)
1429
PluginEditor.ZIndex = 4
1430
1431
background_3.Name = "background"
1432
background_3.Parent = PluginEditor
1433
background_3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1434
background_3.BorderSizePixel = 0
1435
background_3.Position = UDim2.new(0, 0, 0, 20)
1436
background_3.Size = UDim2.new(0, 360, 0, 160)
1437
1438
Dark_8.Name = "Dark"
1439
Dark_8.Parent = background_3
1440
Dark_8.Active = true
1441
Dark_8.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1442
Dark_8.BackgroundTransparency = 0.5
1443
Dark_8.BorderSizePixel = 0
1444
Dark_8.Size = UDim2.new(0, 360, 0, 5)
1445
1446
Dark_9.Name = "Dark"
1447
Dark_9.Parent = background_3
1448
Dark_9.Active = true
1449
Dark_9.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1450
Dark_9.BackgroundTransparency = 0.5
1451
Dark_9.BorderSizePixel = 0
1452
Dark_9.Position = UDim2.new(0, 220, 0, 5)
1453
Dark_9.Size = UDim2.new(0, 5, 0, 155)
1454
1455
Img.Name = "Img"
1456
Img.Parent = background_3
1457
Img.BackgroundColor3 = Color3.new(1, 1, 1)
1458
Img.BackgroundTransparency = 1
1459
Img.Position = UDim2.new(0, 242, 0, 3)
1460
Img.Size = UDim2.new(0, 100, 0, 95)
1461
Img.Image = "rbxassetid://318740854"
1462
1463
AddPlugin.Name = "AddPlugin"
1464
AddPlugin.Parent = background_3
1465
AddPlugin.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1466
AddPlugin.BackgroundTransparency = 0.5
1467
AddPlugin.BorderSizePixel = 0
1468
AddPlugin.Position = UDim2.new(0, 235, 0, 100)
1469
AddPlugin.Size = UDim2.new(0, 115, 0, 50)
1470
AddPlugin.Font = Enum.Font.SourceSans
1471
AddPlugin.FontSize = Enum.FontSize.Size18
1472
AddPlugin.Text = "Add Plugin"
1473
AddPlugin.TextColor3 = Color3.new(1, 1, 1)
1474
AddPlugin.TextStrokeTransparency = 0
1475
1476
FileName.Name = "FileName"
1477
FileName.Parent = background_3
1478
FileName.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1479
FileName.BackgroundTransparency = 0.5
1480
FileName.BorderSizePixel = 0
1481
FileName.Position = UDim2.new(0.027777778, 0, 0.625, 0)
1482
FileName.Size = UDim2.new(0, 200, 0, 50)
1483
FileName.Font = Enum.Font.SourceSans
1484
FileName.FontSize = Enum.FontSize.Size18
1485
FileName.Text = "Plugin File Name"
1486
FileName.TextColor3 = Color3.new(1, 1, 1)
1487
FileName.TextStrokeTransparency = 0
1488
1489
About.Name = "About"
1490
About.Parent = background_3
1491
About.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1492
About.BackgroundTransparency = 1
1493
About.BorderSizePixel = 0
1494
About.Position = UDim2.new(0, 17, 0, 17)
1495
About.Size = UDim2.new(0, 187, 0, 49)
1496
About.Font = Enum.Font.SourceSansBold
1497
About.FontSize = Enum.FontSize.Size14
1498
About.Text = "Plugins are .iy files and should be located in the 'workspace' folder of your exploit."
1499
About.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1500
About.TextStrokeTransparency = 0
1501
About.TextWrapped = true
1502
About.TextYAlignment = Enum.TextYAlignment.Top
1503
1504
Directions_2.Name = "Directions"
1505
Directions_2.Parent = background_3
1506
Directions_2.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1507
Directions_2.BackgroundTransparency = 1
1508
Directions_2.BorderSizePixel = 0
1509
Directions_2.Position = UDim2.new(0, 17, 0, 66)
1510
Directions_2.Size = UDim2.new(0, 187, 0, 49)
1511
Directions_2.Font = Enum.Font.SourceSansBold
1512
Directions_2.FontSize = Enum.FontSize.Size14
1513
Directions_2.Text = "Type the name of the plugin file you want to add below."
1514
Directions_2.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1515
Directions_2.TextStrokeTransparency = 0
1516
Directions_2.TextWrapped = true
1517
Directions_2.TextYAlignment = Enum.TextYAlignment.Top
1518
1519
shadow_3.Name = "shadow"
1520
shadow_3.Parent = PluginEditor
1521
shadow_3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1522
shadow_3.BorderColor3 = Color3.new(0, 0, 0)
1523
shadow_3.BorderSizePixel = 0
1524
shadow_3.Size = UDim2.new(0, 360, 0, 20)
1525
shadow_3.ZIndex = 4
1526
1527
PopupText_3.Name = "PopupText"
1528
PopupText_3.Parent = shadow_3
1529
PopupText_3.BackgroundTransparency = 1
1530
PopupText_3.Position = UDim2.new(0, 51, 0, 0)
1531
PopupText_3.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
1532
PopupText_3.ZIndex = 4
1533
PopupText_3.Font = Enum.Font.SourceSans
1534
PopupText_3.TextSize = 20
1535
PopupText_3.Text = "Add Plugins"
1536
PopupText_3.TextColor3 = Color3.new(1, 1, 1)
1537
PopupText_3.TextStrokeTransparency = 0
1538
PopupText_3.TextWrapped = true
1539
1540
Exit_3.Name = "Exit"
1541
Exit_3.Parent = shadow_3
1542
Exit_3.BackgroundColor3 = Color3.new(1, 1, 1)
1543
Exit_3.BackgroundTransparency = 1
1544
Exit_3.Size = UDim2.new(0, 20, 0, 20)
1545
Exit_3.ZIndex = 4
1546
Exit_3.Image = "rbxassetid://2132544126"
1547
1548
logsDrag.Name = randomString()
1549
logsDrag.Parent = PARENT
1550
logsDrag.Active = true
1551
logsDrag.BackgroundColor3 = Color3.new(1, 1, 1)
1552
logsDrag.BackgroundTransparency = 1
1553
logsDrag.Position = UDim2.new(0, 0, 1, 10)
1554
logsDrag.Size = UDim2.new(0, 338, 0, 20)
1555
logsDrag.ZIndex = 4
1556
1557
shadow.Name = "shadow"
1558
shadow.Parent = logsDrag
1559
shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1560
shadow.BorderColor3 = Color3.new(0, 0, 0)
1561
shadow.BorderSizePixel = 0
1562
shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
1563
shadow.Size = UDim2.new(0, 338, 0, 20)
1564
shadow.ZIndex = 4
1565
1566
Hide.Name = "Hide"
1567
Hide.Parent = shadow
1568
Hide.BackgroundColor3 = Color3.new(1, 1, 1)
1569
Hide.BackgroundTransparency = 1
1570
Hide.Position = UDim2.new(0, 20, 0, 0)
1571
Hide.Size = UDim2.new(0, 20, 0, 20)
1572
Hide.ZIndex = 4
1573
Hide.Image = "rbxassetid://2406617031"
1574
Hide.ImageTransparency = 0.5
1575
1576
PopupText.Name = "PopupText"
1577
PopupText.Parent = shadow
1578
PopupText.BackgroundTransparency = 1
1579
PopupText.Position = UDim2.new(0, 48, 0, 0)
1580
PopupText.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
1581
PopupText.ZIndex = 4
1582
PopupText.Font = Enum.Font.SourceSans
1583
PopupText.TextSize = 20
1584
PopupText.Text = "Chat Logs"
1585
PopupText.TextColor3 = Color3.new(1, 1, 1)
1586
PopupText.TextStrokeTransparency = 0
1587
PopupText.TextWrapped = true
1588
1589
Exit.Name = "Exit"
1590
Exit.Parent = shadow
1591
Exit.BackgroundColor3 = Color3.new(1, 1, 1)
1592
Exit.BackgroundTransparency = 1
1593
Exit.Size = UDim2.new(0, 20, 0, 20)
1594
Exit.ZIndex = 4
1595
Exit.Image = "rbxassetid://2132544126"
1596
1597
scroll.Name = "scroll"
1598
scroll.Parent = logsDrag
1599
scroll.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1600
scroll.BackgroundTransparency = 0.5
1601
scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1602
scroll.BorderSizePixel = 0
1603
scroll.Position = UDim2.new(0, 5, 0, 30)
1604
scroll.Size = UDim2.new(0, 328, 0, 190)
1605
scroll.ZIndex = 5
1606
scroll.BottomImage = "rbxasset://textures/blackBkg_square.png"
1607
scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
1608
scroll.MidImage = "rbxasset://textures/blackBkg_square.png"
1609
scroll.ScrollBarThickness = 8
1610
scroll.TopImage = "rbxasset://textures/blackBkg_square.png"
1611
1612
background.Name = "background"
1613
background.Parent = logsDrag
1614
background.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1615
background.BorderColor3 = Color3.new(0, 0, 0)
1616
background.BorderSizePixel = 0
1617
background.Position = UDim2.new(0, 0, 1, 0)
1618
background.Size = UDim2.new(0, 338, 0, 230)
1619
background.ZIndex = 4
1620
1621
Dark_6.Name = "Dark"
1622
Dark_6.Parent = background
1623
Dark_6.Active = true
1624
Dark_6.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1625
Dark_6.BackgroundTransparency = 0.5
1626
Dark_6.BorderSizePixel = 0
1627
Dark_6.Size = UDim2.new(0, 338, 0, 5)
1628
Dark_6.ZIndex = 4
1629
1630
Clear.Name = "Clear"
1631
Clear.Parent = background
1632
Clear.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1633
Clear.BorderSizePixel = 0
1634
Clear.Position = UDim2.new(0, 5, 0, 205)
1635
Clear.Size = UDim2.new(0, 50, 0, 20)
1636
Clear.ZIndex = 4
1637
Clear.Font = Enum.Font.SourceSans
1638
Clear.FontSize = Enum.FontSize.Size14
1639
Clear.Text = "Clear"
1640
Clear.TextColor3 = Color3.new(0, 0, 0)
1641
1642
Toggle.Name = "Toggle"
1643
Toggle.Parent = background
1644
Toggle.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
1645
Toggle.BorderSizePixel = 0
1646
Toggle.Position = UDim2.new(0, 60, 0, 205)
1647
Toggle.Size = UDim2.new(0, 50, 0, 20)
1648
Toggle.ZIndex = 4
1649
Toggle.Font = Enum.Font.SourceSans
1650
Toggle.FontSize = Enum.FontSize.Size14
1651
Toggle.Text = "Disabled"
1652
Toggle.TextColor3 = Color3.new(0, 0, 0)
1653
1654
AliasHint.Name = "AliasHint"
1655
AliasHint.Parent = AliasesFrame
1656
AliasHint.BackgroundColor3 = Color3.new(1, 1, 1)
1657
AliasHint.BackgroundTransparency = 1
1658
AliasHint.BorderSizePixel = 0
1659
AliasHint.Position = UDim2.new(0, 25, 0, 40)
1660
AliasHint.Size = UDim2.new(0, 200, 0, 50)
1661
AliasHint.Font = Enum.Font.SourceSansItalic
1662
AliasHint.TextSize = 16
1663
AliasHint.Text = "Add aliases by using the 'addalias' command"
1664
AliasHint.TextColor3 = Color3.new(1, 1, 1)
1665
AliasHint.TextStrokeColor3 = Color3.new(1, 1, 1)
1666
AliasHint.TextWrapped = true
1667
1668
PluginsHint.Name = "PluginsHint"
1669
PluginsHint.Parent = PluginsFrame
1670
PluginsHint.BackgroundColor3 = Color3.new(1, 1, 1)
1671
PluginsHint.BackgroundTransparency = 1
1672
PluginsHint.BorderSizePixel = 0
1673
PluginsHint.Position = UDim2.new(0, 25, 0, 40)
1674
PluginsHint.Size = UDim2.new(0, 200, 0, 50)
1675
PluginsHint.Font = Enum.Font.SourceSansItalic
1676
PluginsHint.TextSize = 16
1677
PluginsHint.Text = "Download plugins from the IY Discord (discord.io/infiniteyield)"
1678
PluginsHint.TextColor3 = Color3.new(1, 1, 1)
1679
PluginsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
1680
PluginsHint.TextWrapped = true
1681
1682
PositionsHint.Name = "PositionsHint"
1683
PositionsHint.Parent = PositionsFrame
1684
PositionsHint.BackgroundColor3 = Color3.new(1, 1, 1)
1685
PositionsHint.BackgroundTransparency = 1
1686
PositionsHint.BorderSizePixel = 0
1687
PositionsHint.Position = UDim2.new(0, 25, 0, 40)
1688
PositionsHint.Size = UDim2.new(0, 200, 0, 50)
1689
PositionsHint.Font = Enum.Font.SourceSansItalic
1690
PositionsHint.TextSize = 16
1691
PositionsHint.Text = "Use the 'spos' or 'setwaypoint' command to add a position"
1692
PositionsHint.TextColor3 = Color3.new(1, 1, 1)
1693
PositionsHint.TextStrokeColor3 = Color3.new(1, 1, 1)
1694
PositionsHint.TextWrapped = true
1695
1696
function writefileExploit()
1697
	if writefile then
1698
		return true
1699
	end
1700
end
1701
1702
function isNumber(str)
1703
	return tonumber(str) ~= nil
1704
end
1705
1706
function tools(plr)
1707
	if plr.Backpack:FindFirstChildOfClass('Tool') or plr.Character:FindFirstChildOfClass('Tool') then
1708
		return true
1709
	end
1710
end
1711
1712
function r15(plr)
1713
	if plr.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
1714
		return true
1715
	end
1716
end
1717
1718
defaultsettings = {
1719
	prefix = ';';
1720
	StayOpen = false;
1721
	logsEnabled = false;
1722
	aliases = {};
1723
	binds = {};
1724
	spawnCmds = {};
1725
	WayPoints = {};
1726
	PluginsTable = {}
1727
}
1728
1729
defaults = game:GetService("HttpService"):JSONEncode(defaultsettings)
1730
1731
local nosaves = false
1732
1733
function saves()
1734
	if writefileExploit() then
1735
		if pcall(function() readfile("IY_FE.iy") end) then
1736
			if readfile("IY_FE.iy") ~= nil then
1737
				local json = game:GetService("HttpService"):JSONDecode(readfile("IY_FE.iy"))
1738
				if json.prefix ~= nil then prefix = json.prefix else prefix = ';' end
1739
				if json.StayOpen ~= nil then StayOpen = json.StayOpen else StayOpen = false end
1740
				if json.logsEnabled ~= nil then logsEnabled = json.logsEnabled else logsEnabled = false end
1741
				if json.aliases ~= nil then aliases = json.aliases else aliases = {} end
1742
				if json.binds ~= nil then binds = json.binds else binds = {} end
1743
				if json.spawnCmds ~= nil then spawnCmds = json.spawnCmds else spawnCmds = {} end
1744
				if json.WayPoints ~= nil then WayPoints = json.WayPoints else WayPoints = {} end
1745
				if json.PluginsTable ~= nil then PluginsTable = json.PluginsTable else PluginsTable = {} end
1746
			else
1747
				writefile("IY_FE.iy", defaults)
1748
				wait()
1749
				saves()
1750
			end
1751
		else
1752
			writefile("IY_FE.iy", defaults)
1753
			wait()
1754
			if pcall(function() readfile("IY_FE.iy") end) then
1755
				saves()
1756
			else
1757
				nosaves = true
1758
				prefix = ';'
1759
				StayOpen = false
1760
				logsEnabled = false
1761
				aliases = {}
1762
				binds = {}
1763
				spawnCmds = {}
1764
				WayPoints = {}
1765
				PluginsTable = {}
1766
				
1767
				local FileError = Instance.new("Frame")
1768
				local background = Instance.new("Frame")
1769
				local Directions = Instance.new("TextLabel")
1770
				local Dark = Instance.new("Frame")
1771
				local shadow = Instance.new("Frame")
1772
				local PopupText = Instance.new("TextLabel")
1773
				local Exit = Instance.new("ImageButton")
1774
				
1775
				FileError.Name = randomString()
1776
				FileError.Parent = PARENT
1777
				FileError.Active = true
1778
				FileError.BackgroundColor3 = Color3.new(1, 1, 1)
1779
				FileError.BackgroundTransparency = 1
1780
				FileError.Position = UDim2.new(0.5, -180, 0, 290)
1781
				FileError.Size = UDim2.new(0, 360, 0, 20)
1782
				FileError.ZIndex = 4
1783
				
1784
				background.Name = "background"
1785
				background.Parent = FileError
1786
				background.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1787
				background.BorderSizePixel = 0
1788
				background.Position = UDim2.new(0, 0, 0, 20)
1789
				background.Size = UDim2.new(0, 360, 0, 210)
1790
				
1791
				Directions.Name = "Directions"
1792
				Directions.Parent = background
1793
				Directions.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
1794
				Directions.BackgroundTransparency = 1
1795
				Directions.BorderSizePixel = 0
1796
				Directions.Position = UDim2.new(0, 10, 0, 15)
1797
				Directions.Size = UDim2.new(0, 340, 0, 185)
1798
				Directions.Font = Enum.Font.SourceSansBold
1799
				Directions.FontSize = Enum.FontSize.Size14
1800
				Directions.Text = "There was a problem writing a save file to your PC.\n\nPlease contact the developer/support team for your exploit and tell them writefile is not working.\n\nYour settings, keybinds, waypoints, and aliases will not save if you continue.\n\nThings to try:\n> Make sure a 'workspace' folder is located in the same folder as your exploit\n> If your exploit is inside of a zip/rar file, extract it.\n> Rejoin the game and try again or restart your PC and try again."
1801
				Directions.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1802
				Directions.TextStrokeTransparency = 0
1803
				Directions.TextWrapped = true
1804
				Directions.TextXAlignment = Enum.TextXAlignment.Left
1805
				Directions.TextYAlignment = Enum.TextYAlignment.Top
1806
				
1807
				Dark.Name = "Dark"
1808
				Dark.Parent = background
1809
				Dark.Active = true
1810
				Dark.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
1811
				Dark.BackgroundTransparency = 0.5
1812
				Dark.BorderSizePixel = 0
1813
				Dark.Size = UDim2.new(0, 360, 0, 5)
1814
				
1815
				shadow.Name = "shadow"
1816
				shadow.Parent = FileError
1817
				shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
1818
				shadow.BorderColor3 = Color3.new(0, 0, 0)
1819
				shadow.BorderSizePixel = 0
1820
				shadow.Size = UDim2.new(0, 360, 0, 20)
1821
				shadow.ZIndex = 4
1822
				
1823
				PopupText.Name = "PopupText"
1824
				PopupText.Parent = shadow
1825
				PopupText.BackgroundTransparency = 1
1826
				PopupText.Position = UDim2.new(0, 51, 0, 0)
1827
				PopupText.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
1828
				PopupText.ZIndex = 4
1829
				PopupText.Font = Enum.Font.SourceSans
1830
				PopupText.TextSize = 20
1831
				PopupText.Text = "File Error"
1832
				PopupText.TextColor3 = Color3.new(1, 1, 1)
1833
				PopupText.TextStrokeTransparency = 0
1834
				PopupText.TextWrapped = true
1835
				
1836
				Exit.Name = "Exit"
1837
				Exit.Parent = shadow
1838
				Exit.BackgroundColor3 = Color3.new(1, 1, 1)
1839
				Exit.BackgroundTransparency = 1
1840
				Exit.Size = UDim2.new(0, 20, 0, 20)
1841
				Exit.ZIndex = 4
1842
				Exit.Image = "rbxassetid://2132544126"
1843
				
1844
				Exit.MouseButton1Click:Connect(function()
1845
					FileError:Destroy()
1846
				end)
1847
			end
1848
		end
1849
	else
1850
		prefix = ';'
1851
		StayOpen = false
1852
		logsEnabled = false
1853
		aliases = {}
1854
		binds = {}
1855
		spawnCmds = {}
1856
		WayPoints = {}
1857
		PluginsTable = {}
1858
	end
1859
end
1860
1861
saves()
1862
1863
function updatesaves()
1864
	if nosaves == false and writefileExploit() then
1865
		local update = {
1866
		prefix = prefix;
1867
		StayOpen = StayOpen;
1868
		logsEnabled = logsEnabled;
1869
		aliases = aliases;
1870
		binds = binds;
1871
		spawnCmds = spawnCmds;
1872
		WayPoints = WayPoints;
1873
		PluginsTable = PluginsTable
1874
		}
1875
		writefile("IY_FE.iy", game:GetService("HttpService"):JSONEncode(update))
1876
	end
1877
end
1878
1879
function Time()
1880
	local HOUR = math.floor((tick() % 86400) / 3600)
1881
	local MINUTE = math.floor((tick() % 3600) / 60)
1882
	local SECOND = math.floor(tick() % 60)
1883
	local AP = HOUR > 11 and 'PM' or 'AM'
1884
	HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
1885
	HOUR = HOUR < 10 and '0' .. HOUR or HOUR
1886
	MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
1887
	SECOND = SECOND < 10 and '0' .. SECOND or SECOND
1888
	return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP
1889
end
1890
1891
UserInputService = game:GetService("UserInputService")
1892
IYMouse = Players.LocalPlayer:GetMouse()
1893
PrefixBox.Text = prefix
1894
SettingsOpen = false
1895
1896
if StayOpen == false then
1897
	Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1
1898
else
1899
	Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0
1900
end
1901
1902
if logsEnabled then
1903
	Toggle.Text = 'Enabled'
1904
else
1905
	Toggle.Text = 'Disabled'
1906
end
1907
1908
function maximizeHolder()
1909
	if StayOpen == false then
1910
		Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -220), "InOut", "Quart", 0.2, true, nil)
1911
	end
1912
end
1913
1914
function minimizeHolder()
1915
	if StayOpen == false then
1916
		Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -20), "InOut", "Quart", 0.5, true, nil)
1917
	end
1918
end
1919
1920
function cmdbarHolder()
1921
	if StayOpen == false then
1922
		Holder:TweenPosition(UDim2.new(1, Holder.Position.X.Offset, 1, -45), "InOut", "Quart", 0.5, true, nil)
1923
	end
1924
end
1925
1926
function enablebuttons()
1927
	Settings.Aliases.Select.Visible = true
1928
	Settings.SpawnC.Select.Visible = true
1929
	Settings.Keybinds.Select.Visible = true
1930
	Settings.StayOpen.Button.On.Visible = true
1931
	Settings.Prefix.PrefixBox.Visible = true
1932
	Settings.Positions.Select.Visible = true
1933
	Settings.Plugins.Select.Visible = true
1934
end
1935
1936
function disablebuttons()
1937
	Settings.Aliases.Select.Visible = false
1938
	Settings.SpawnC.Select.Visible = false
1939
	Settings.Keybinds.Select.Visible = false
1940
	Settings.StayOpen.Button.On.Visible = false
1941
	Settings.Prefix.PrefixBox.Visible = false
1942
	Settings.Positions.Select.Visible = false
1943
	Settings.Plugins.Select.Visible = false
1944
end
1945
1946
notifyCount = 0
1947
function notify(text,text2)
1948
	spawn(function()
1949
		local LnotifyCount = notifyCount+1
1950
		notifyCount = notifyCount+1
1951
		Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -0), "InOut", "Quart", 0.5, true, nil)
1952
		wait(0.6)
1953
		local closepressed = false
1954
		if text2 then
1955
			Notification.Title.Text = text
1956
			Notification.Text.Text = text2
1957
		else
1958
			Notification.Title.Text = 'Notification'
1959
			Notification.Text.Text = text
1960
		end
1961
		Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -100), "InOut", "Quart", 0.5, true, nil)
1962
		Notification.CloseButton.MouseButton1Click:Connect(function()
1963
			Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -0), "InOut", "Quart", 0.5, true, nil)
1964
			closepressed = true
1965
		end)
1966
		wait(10)
1967
		if LnotifyCount == notifyCount then
1968
			if closepressed == false then
1969
				Notification:TweenPosition(UDim2.new(1, Notification.Position.X.Offset, 1, -0), "InOut", "Quart", 0.5, true, nil)
1970
			end
1971
			notifyCount = 0
1972
		end
1973
	end)
1974
end
1975
1976
function CreateLabel(Name, Text)
1977
	local sf = scroll
1978
	if #sf:GetChildren() >= 2546 then
1979
		sf:ClearAllChildren()
1980
	end
1981
	local alls = 0
1982
	for i,v in pairs(sf:GetChildren()) do
1983
		if v then
1984
			alls = v.Size.Y.Offset + alls
1985
		end
1986
		if not v then
1987
			alls = 0
1988
		end
1989
	end
1990
	local tl = Instance.new('TextLabel', sf)
1991
	local il = Instance.new('Frame', tl)
1992
	tl.Name = Name
1993
	tl.ZIndex = 6
1994
	tl.Text = Time().." - ["..Name.."]: "..Text
1995
	tl.Size = UDim2.new(0,322,0,84)
1996
	tl.BackgroundTransparency = 1
1997
	tl.BorderSizePixel = 0
1998
	tl.Font = "SourceSansBold"
1999
	tl.Position = UDim2.new(-1,0,0,alls)
2000
	tl.TextTransparency = 1
2001
	tl.TextScaled = false
2002
	tl.TextSize = 14
2003
	tl.TextWrapped = true
2004
	tl.TextXAlignment = "Left"
2005
	tl.TextYAlignment = "Top"
2006
	il.BackgroundTransparency = 1
2007
	il.BorderSizePixel = 0
2008
	il.Size = UDim2.new(0,12,1,0)
2009
	il.Position = UDim2.new(0,316,0,0)
2010
	tl.TextColor3 = Color3.fromRGB(255,255,255)
2011
	tl.Size = UDim2.new(0,322,0,tl.TextBounds.Y)
2012
	sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
2013
	sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y)
2014
	local size2 = sf.CanvasSize.Y.Offset
2015
	tl:TweenPosition(UDim2.new(0,3,0,alls), 'In', 'Quint', 0.5)
2016
	for i = 0,50 do wait(0.05)
2017
		tl.TextTransparency = tl.TextTransparency - 0.05
2018
	end
2019
	tl.TextTransparency = 0
2020
end
2021
2022
IYMouse.KeyDown:connect(function(Key)
2023
	if (Key==prefix) then
2024
		Holder.Cmdbar:CaptureFocus()
2025
		maximizeHolder()
2026
	end
2027
end)
2028
2029
Holder.MouseEnter:Connect(function()
2030
	maximizeHolder()
2031
end)
2032
2033
Holder.MouseLeave:Connect(function()
2034
	minimizeHolder()
2035
end)
2036
2037
Holder.SettingsButton.MouseButton1Click:Connect(function()
2038
	if SettingsOpen == false then SettingsOpen = true
2039
		Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.5, true, nil)
2040
	else SettingsOpen = false
2041
		Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.5, true, nil)
2042
	end
2043
end)
2044
2045
Holder.Settings.StayOpen.Button.On.MouseButton1Click:Connect(function()
2046
	if StayOpen == false then StayOpen = true
2047
		Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 0
2048
	else StayOpen = false
2049
		Holder.Settings.StayOpen.Button.On.BackgroundTransparency = 1
2050
	end
2051
	updatesaves()
2052
end)
2053
2054
Clear.MouseButton1Down:connect(function()
2055
	for _, child in pairs(scroll:GetChildren()) do
2056
		child:Destroy()
2057
	end
2058
	scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
2059
end)
2060
2061
Toggle.MouseButton1Down:connect(function()
2062
	if logsEnabled then
2063
		logsEnabled = false
2064
		Toggle.Text = 'Disabled'
2065
		updatesaves()
2066
	else
2067
		logsEnabled = true
2068
		Toggle.Text = 'Enabled'
2069
		updatesaves()
2070
	end
2071
end)
2072
2073
if not writefileExploit() then
2074
	notify('Saves','Your exploit does not support read/write file. Your settings will not save.')
2075
end
2076
2077
ChatLog = function(plr)
2078
	plr.Chatted:Connect(function(Message)
2079
		if logsEnabled == true then
2080
			CreateLabel(plr.Name,Message)
2081
		end
2082
	end)
2083
end
2084
2085
for _, plr in pairs(Players:GetChildren()) do
2086
	if plr.ClassName == "Player" then
2087
		ChatLog(plr)
2088
	end
2089
end
2090
2091
Players.PlayerAdded:connect(function(player)
2092
	ChatLog(player)
2093
	if ESPenabled then
2094
		ESP(player)
2095
	end
2096
	if CHMSenabled then
2097
		CHMS(player)
2098
	end
2099
end)
2100
2101
Players.PlayerRemoving:connect(function(player)
2102
	for i,v in pairs(PARENT:GetChildren()) do
2103
		if v.Name == player.Name..'_ESP' or v.Name == player.Name..'_LC' then
2104
			v:Destroy()
2105
		end
2106
	end
2107
end)
2108
2109
shadow.Exit.MouseButton1Down:connect(function()
2110
	logsDrag:TweenPosition(UDim2.new(0, 0, 1, 10), "InOut", "Quart", 0.3, true, nil)
2111
end)
2112
2113
shadow.Hide.MouseButton1Down:connect(function()
2114
	if logsDrag.Position ~= UDim2.new(0, 0, 1, -20) then
2115
		logsDrag:TweenPosition(UDim2.new(0, 0, 1, -20), "InOut", "Quart", 0.3, true, nil)
2116
	else
2117
		logsDrag:TweenPosition(UDim2.new(0, 0, 1, -250), "InOut", "Quart", 0.3, true, nil)
2118
	end
2119
end)
2120
2121
2122
2123
SpawnC.Select.MouseButton1Click:Connect(function()
2124
	SpawnCFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
2125
	wait(0.5)
2126
	disablebuttons()
2127
end)
2128
2129
SpawnCFrame.Close.MouseButton1Click:Connect(function()
2130
	enablebuttons()
2131
	SpawnCFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
2132
end)
2133
2134
SpawnCFrame.Delete.MouseButton1Click:Connect(function()
2135
	spawnCmds = {}
2136
	updatesaves()
2137
	refreshSpawnC()
2138
	notify('Spawn Commands Updated','Cleared all spawn commands')
2139
end)
2140
2141
Add_5.MouseButton1Click:Connect(function()
2142
	if Cmdbar_3.Text ~= '' and Cmdbar_3.Text ~= 'Command' then
2143
		if isNumber(DelayNum.Text) then
2144
		addspawn(Cmdbar_3.Text,tonumber(DelayNum.Text))
2145
		refreshSpawnC()
2146
		updatesaves()
2147
		notify('Spawn Commands Updated','"'..Cmdbar_3.Text..'" will run when your player spawns')
2148
		else
2149
			notify('Spawn Command Error','Command delay must be a number')
2150
		end
2151
	end
2152
end)
2153
2154
Keybinds.Select.MouseButton1Click:Connect(function()
2155
	KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
2156
	wait(0.5)
2157
	disablebuttons()
2158
end)
2159
2160
KeybindsFrame.Close.MouseButton1Click:Connect(function()
2161
	enablebuttons()
2162
	KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
2163
end)
2164
2165
Holder.Settings.Keybinds.Select.MouseButton1Click:Connect(function()
2166
	KeybindsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
2167
	wait(0.5)
2168
	disablebuttons()
2169
end)
2170
2171
KeybindsFrame.Add.MouseButton1Click:Connect(function()
2172
	KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, 270), "InOut", "Quart", 0.5, true, nil)
2173
end)
2174
2175
KeybindsFrame.Delete.MouseButton1Click:Connect(function()
2176
	binds = {}
2177
	refreshbinds()
2178
	updatesaves()
2179
	notify('Keybinds Updated','Removed all keybinds')
2180
end)
2181
2182
AliasesFrame.Close.MouseButton1Click:Connect(function()
2183
	enablebuttons()
2184
	AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
2185
end)
2186
2187
Settings.Aliases.Select.MouseButton1Click:Connect(function()
2188
	AliasesFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
2189
	wait(0.5)
2190
	disablebuttons()
2191
end)
2192
2193
PositionsFrame.Close.MouseButton1Click:Connect(function()
2194
	enablebuttons()
2195
	PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
2196
end)
2197
2198
Settings.Positions.Select.MouseButton1Click:Connect(function()
2199
	PositionsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
2200
	wait(0.5)
2201
	disablebuttons()
2202
end)
2203
2204
SpawnCFrame.Add.MouseButton1Click:Connect(function()
2205
	SpawnCEditor:TweenPosition(UDim2.new(0.5, -180, 0, 295), "InOut", "Quart", 0.5, true, nil)
2206
end)
2207
2208
Exit_4.MouseButton1Click:Connect(function()
2209
	SpawnCEditor:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
2210
	Cmdbar_3.Text = 'Command'
2211
	DelayNum.Text = '0'
2212
end)
2213
2214
local cmds={}
2215
local customAlias = {}
2216
AliasesFrame.Delete.MouseButton1Click:Connect(function()
2217
	customAlias = {}
2218
	aliases = {}
2219
	notify('Aliases Modified','Removed all aliases')
2220
	updatesaves()
2221
	refreshaliases()
2222
end)
2223
2224
Holder.Settings.Prefix.PrefixBox.Changed:connect(function(property)
2225
	if property == "Text" then
2226
		prefix = Holder.Settings.Prefix.PrefixBox.Text
2227
		updatesaves()
2228
	end
2229
end)
2230
2231
DexNOffset = -500
2232
DexOffset = -250
2233
2234
function dragMain(gui)
2235
spawn(function()
2236
local dragging
2237
local dragInput
2238
local dragStart
2239
local startPos
2240
local function update(input)
2241
	local pos = -250
2242
    local delta = input.Position - dragStart
2243
	if startPos.X.Offset + delta.X <= DexNOffset then
2244
		Notification:TweenPosition(UDim2.new(1, -250, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
2245
		pos = 250
2246
	else
2247
		Notification:TweenPosition(UDim2.new(1, DexNOffset, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
2248
		pos = -250
2249
	end
2250
	if startPos.X.Offset + delta.X <= DexOffset then
2251
		gui:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
2252
		Notification:TweenPosition(UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X + pos, Notification.Position.Y.Scale, Notification.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
2253
	else
2254
		gui:TweenPosition(UDim2.new(1, DexOffset, gui.Position.Y.Scale, gui.Position.Y.Offset), "InOut", "Quart", 0.04, true, nil)
2255
	end
2256
end
2257
gui.InputBegan:Connect(function(input)
2258
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
2259
        dragging = true
2260
        dragStart = input.Position
2261
        startPos = gui.Position
2262
        
2263
        input.Changed:Connect(function()
2264
            if input.UserInputState == Enum.UserInputState.End then
2265
                dragging = false
2266
            end
2267
        end)
2268
    end
2269
end)
2270
gui.InputChanged:Connect(function(input)
2271
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
2272
        dragInput = input
2273
    end
2274
end)
2275
UserInputService.InputChanged:Connect(function(input)
2276
    if input == dragInput and dragging then
2277
        update(input)
2278
    end
2279
end)
2280
end)
2281
end
2282
2283
dragMain(Holder)
2284
2285
function dragGUI(gui)
2286
spawn(function()
2287
local dragging
2288
local dragInput
2289
local dragStart
2290
local startPos
2291
local function update(input)
2292
    local delta = input.Position - dragStart
2293
	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) 
2294
end
2295
gui.InputBegan:Connect(function(input)
2296
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
2297
        dragging = true
2298
        dragStart = input.Position
2299
        startPos = gui.Position
2300
        
2301
        input.Changed:Connect(function()
2302
            if input.UserInputState == Enum.UserInputState.End then
2303
                dragging = false
2304
            end
2305
        end)
2306
    end
2307
end)
2308
gui.InputChanged:Connect(function(input)
2309
    if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
2310
        dragInput = input
2311
    end
2312
end)
2313
UserInputService.InputChanged:Connect(function(input)
2314
    if input == dragInput and dragging then
2315
        update(input)
2316
    end
2317
end)
2318
end)
2319
end
2320
2321
dragGUI(logsDrag)
2322
dragGUI(KeybindEditor)
2323
dragGUI(PluginEditor)
2324
dragGUI(SpawnCEditor)
2325
2326
local CSP = Holder
2327
local frame = CSP:WaitForChild('CMDs')
2328
2329
Match = function(name,str)
2330
	return name:lower():find(str:lower()) and true
2331
end
2332
2333
canvasPos = nil
2334
canvasTop = false
2335
IndexContents = function(str,bool,cmdbar,anim)
2336
	if str == '' or str == ' ' or str == prefix then
2337
		if canvasTop == false then
2338
			canvasPos = CMDsF.CanvasPosition.Y
2339
		end
2340
	else
2341
		CMDsF.CanvasPosition = Vector2.new(0,0)
2342
		canvasTop = true
2343
	end
2344
	local Index,SizeY = 0,0
2345
	local indexnum = 0
2346
	for i,v in next, frame:GetChildren() do
2347
		if bool then
2348
			if Match(v.Text,str) then
2349
				indexnum = indexnum + 1
2350
				Index = Index + 1
2351
				v.Position = UDim2.new(0,10,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
2352
				v.Visible = true
2353
				SizeY = SizeY + v.AbsoluteSize.Y
2354
				frame.CanvasSize = UDim2.new(0,0,0,SizeY)
2355
			else
2356
				v.Visible = false
2357
			end
2358
		else
2359
			v.Visible = true
2360
			SizeY = SizeY + v.AbsoluteSize.Y
2361
			frame.CanvasSize = UDim2.new(0,0,0,SizeY)
2362
		end
2363
	end
2364
	if not anim then
2365
		if indexnum == 0 or string.find(str, " ") then
2366
			if not cmdbar then
2367
				minimizeHolder()
2368
			elseif cmdbar then
2369
				cmdbarHolder()
2370
			end
2371
		else
2372
			maximizeHolder()
2373
		end
2374
	else
2375
		minimizeHolder()
2376
	end
2377
end
2378
2379
PlayerGui = Players.LocalPlayer:FindFirstChildOfClass("PlayerGui")
2380
local chatbox
2381
if pcall(function() chatbox = Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar end) then	
2382
	local function Index()
2383
		if chatbox.Text:lower():sub(1,1) == prefix then
2384
			if SettingsOpen == true then
2385
				wait(0.2)
2386
				Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
2387
			end
2388
			IndexContents(PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
2389
		else
2390
			minimizeHolder()
2391
			if SettingsOpen == true then
2392
				wait(0.2)
2393
				Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
2394
			end
2395
		end
2396
	end
2397
	chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
2398
			
2399
	chatbox.FocusLost:connect(function(enterpressed)
2400
		if not enterpressed or chatbox.Text:lower():sub(1,1) ~= prefix then
2401
			IndexContents('',true)
2402
			if canvasPos ~= nil then
2403
				CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
2404
				canvasTop = false
2405
			end
2406
		end
2407
		minimizeHolder()
2408
	end)
2409
	
2410
	Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
2411
		wait()
2412
		if newbar:FindFirstChild('BoxFrame') then
2413
			chatbox = Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar
2414
			chatbox:GetPropertyChangedSignal("Text"):Connect(Index)
2415
		end
2416
	end)
2417
else
2418
	print('Custom chat detected. Will not provide suggestions for commands typed in the chat.')
2419
end
2420
2421
local CMDs = {}
2422
CMDs[#CMDs + 1] = {NAME = 'rejoin / rj', DESC = 'Makes you rejoin the game'}
2423
CMDs[#CMDs + 1] = {NAME = 'exit', DESC = 'Kills roblox process'}
2424
CMDs[#CMDs + 1] = {NAME = 'chatlogs / logs', DESC = 'Log what people say or whisper'}
2425
CMDs[#CMDs + 1] = {NAME = 'serverinfo / info', DESC = 'Gives you info about the server'}
2426
CMDs[#CMDs + 1] = {NAME = 'explorer / dex', DESC = 'Opens DEX explorer'}
2427
CMDs[#CMDs + 1] = {NAME = 'remotespy', DESC = 'Prints remotes (updating soon)'}
2428
CMDs[#CMDs + 1] = {NAME = 'breakloops / break (cmd loops)', DESC = 'Stops any cmd loops (;100^1^cmd)'}
2429
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2430
CMDs[#CMDs + 1] = {NAME = 'addalias [cmd] [alias]', DESC = 'Adds an alias to a command'}
2431
CMDs[#CMDs + 1] = {NAME = 'removealias [alias]', DESC = 'Removes a custom alias'}
2432
CMDs[#CMDs + 1] = {NAME = 'clraliases', DESC = 'Removes all custom aliases'}
2433
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2434
CMDs[#CMDs + 1] = {NAME = 'noclip', DESC = 'Go through objects'}
2435
CMDs[#CMDs + 1] = {NAME = 'unnoclip / clip', DESC = 'Disables noclip'}
2436
CMDs[#CMDs + 1] = {NAME = 'fly', DESC = 'Makes you fly'}
2437
CMDs[#CMDs + 1] = {NAME = 'unfly', DESC = 'Disables fly'}
2438
CMDs[#CMDs + 1] = {NAME = 'flyspeed [num]', DESC = 'Set fly speed'}
2439
CMDs[#CMDs + 1] = {NAME = 'float', DESC = 'Makes you float'}
2440
CMDs[#CMDs + 1] = {NAME = 'unfloat', DESC = 'Disables floating'}
2441
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2442
CMDs[#CMDs + 1] = {NAME = 'spos / setwaypoint [name]', DESC = 'Sets a waypoint at your position'}
2443
CMDs[#CMDs + 1] = {NAME = 'dpos / deletewaypoint [name]', DESC = 'Deletes a waypoint'}
2444
CMDs[#CMDs + 1] = {NAME = 'lpos / waypoint [name]', DESC = 'Teleports player to a waypoint'}
2445
CMDs[#CMDs + 1] = {NAME = 'clearpos / cpos / clearwaypoints', DESC = 'Clears all waypoints'}
2446
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2447
CMDs[#CMDs + 1] = {NAME = 'spam [text]', DESC = 'Makes you spam the chat'}
2448
CMDs[#CMDs + 1] = {NAME = 'unspam', DESC = 'Turns off spam'}
2449
CMDs[#CMDs + 1] = {NAME = 'pmspam [plr] [text]', DESC = 'Makes you spam a players whispers'}
2450
CMDs[#CMDs + 1] = {NAME = 'unpmspam [plr]', DESC = 'Turns off pm spam'}
2451
CMDs[#CMDs + 1] = {NAME = 'spamspeed [num]', DESC = 'How quickly you spam (default is 1)'}
2452
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2453
CMDs[#CMDs + 1] = {NAME = 'esp', DESC = 'View all players and their status'}
2454
CMDs[#CMDs + 1] = {NAME = 'noesp / unesp', DESC = 'Removes esp'}
2455
CMDs[#CMDs + 1] = {NAME = 'chams', DESC = 'ESP but without text in the way'}
2456
CMDs[#CMDs + 1] = {NAME = 'nochams / unchams', DESC = 'Removes chams'}
2457
CMDs[#CMDs + 1] = {NAME = 'locate [plr]', DESC = 'View a single player and their status'}
2458
CMDs[#CMDs + 1] = {NAME = 'unlocate / nolocate [plr]', DESC = 'Removes locate'}
2459
CMDs[#CMDs + 1] = {NAME = 'xray', DESC = 'Makes all parts in workspace transparent'}
2460
CMDs[#CMDs + 1] = {NAME = 'unxray / noxray', DESC = 'Restores transparency'}
2461
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2462
CMDs[#CMDs + 1] = {NAME = 'spectate / view [plr]', DESC = 'View a player'}
2463
CMDs[#CMDs + 1] = {NAME = 'unspectate / unview', DESC = 'Stops viewing player'}
2464
CMDs[#CMDs + 1] = {NAME = 'freecam / fc', DESC = 'Allows you to freely move camera around the game'}
2465
CMDs[#CMDs + 1] = {NAME = 'unfreecam / unfc', DESC = 'Disables freecam'}
2466
CMDs[#CMDs + 1] = {NAME = 'freecamspeed / fcspeed [num]', DESC = 'Adjusts freecam speed'}
2467
CMDs[#CMDs + 1] = {NAME = 'firstp', DESC = 'Forces camera to go into first person'}
2468
CMDs[#CMDs + 1] = {NAME = 'thirdp', DESC = 'Allows camera to go into third person'}
2469
CMDs[#CMDs + 1] = {NAME = 'maxzoom [num]', DESC = 'Maximum camera zoom'}
2470
CMDs[#CMDs + 1] = {NAME = 'fixcam', DESC = 'Fixes camera'}
2471
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2472
CMDs[#CMDs + 1] = {NAME = 'btools (CLIENT)', DESC = 'Gives you building tools (DOES NOT REPLICATE)'}
2473
CMDs[#CMDs + 1] = {NAME = 'f3x (CLIENT)', DESC = 'Loads f3x tools'}
2474
CMDs[#CMDs + 1] = {NAME = 'delete [part name] (CLIENT)', DESC = 'Removes any part with a certain name from the workspace (DOES NOT REPLICATE)'}
2475
CMDs[#CMDs + 1] = {NAME = 'deleteclass / dc [class name] (CLIENT)', DESC = 'Removes any part with a certain classname from the workspace (DOES NOT REPLICATE)'}
2476
CMDs[#CMDs + 1] = {NAME = 'lockworkspace / lockws', DESC = 'Locks the whole workspace'}
2477
CMDs[#CMDs + 1] = {NAME = 'unlockworkspace / unlockws', DESC = 'Unlocks the whole workspace'}
2478
CMDs[#CMDs + 1] = {NAME = 'gotopart [part name]', DESC = 'Moves your character to a part or multiple parts'}
2479
CMDs[#CMDs + 1] = {NAME = 'bringpart [part name] (CLIENT)', DESC = 'Moves a part or multiple parts to your character'}
2480
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2481
CMDs[#CMDs + 1] = {NAME = 'ambient [num] [num] [num] (CLIENT)', DESC = 'Changes ambient'}
2482
CMDs[#CMDs + 1] = {NAME = 'nofog (CLIENT)', DESC = 'Removes fog'}
2483
CMDs[#CMDs + 1] = {NAME = 'brightness [num] (CLIENT)', DESC = 'Changes the brightness lighting property'}
2484
CMDs[#CMDs + 1] = {NAME = 'restorelighting / rlighting', DESC = 'Restores Lighting properties'}
2485
CMDs[#CMDs + 1] = {NAME = 'light [radius] (CLIENT)', DESC = 'Gives your player dynamic light'}
2486
CMDs[#CMDs + 1] = {NAME = 'nolight / unlight', DESC = 'Removes dynamic light from your player'}
2487
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2488
CMDs[#CMDs + 1] = {NAME = 'age [plr]', DESC = 'Tells you the age of a player'}
2489
CMDs[#CMDs + 1] = {NAME = 'os [plr]', DESC = "Shows a player's platform"}
2490
CMDs[#CMDs + 1] = {NAME = 'bang [plr]', DESC = 'owo'}
2491
CMDs[#CMDs + 1] = {NAME = 'unbang [plr]', DESC = 'uwu'}
2492
CMDs[#CMDs + 1] = {NAME = 'headsit [plr]', DESC = 'Sit on a players head'}
2493
CMDs[#CMDs + 1] = {NAME = 'kill [plr]', DESC = 'Kills a player'}
2494
CMDs[#CMDs + 1] = {NAME = 'bring [plr] (TOOL)', DESC = 'Brings a player (YOU NEED A TOOL)'}
2495
CMDs[#CMDs + 1] = {NAME = 'fling', DESC = 'Flings anyone you touch'}
2496
CMDs[#CMDs + 1] = {NAME = 'unfling', DESC = 'Disables the fling command'}
2497
CMDs[#CMDs + 1] = {NAME = 'loopoof', DESC = 'Loops everyones character sounds (everyone can hear)'}
2498
CMDs[#CMDs + 1] = {NAME = 'unloopoof', DESC = 'Stops the oof chaos'}
2499
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2500
CMDs[#CMDs + 1] = {NAME = 'respawn', DESC = 'Respawns you'}
2501
CMDs[#CMDs + 1] = {NAME = 'refresh / re', DESC = 'Respawns and brings you back to the same position'}
2502
CMDs[#CMDs + 1] = {NAME = 'god', DESC = 'Gives you godmode'}
2503
CMDs[#CMDs + 1] = {NAME = 'ungod', DESC = 'Respawns/ungods you'}
2504
CMDs[#CMDs + 1] = {NAME = 'invisible / invis', DESC = 'Makes you invisible to other players'}
2505
CMDs[#CMDs + 1] = {NAME = 'weaken', DESC = 'Changes CustomPhysicalProperties in your player'}
2506
CMDs[#CMDs + 1] = {NAME = 'unweaken', DESC = 'Changes CustomPhysicalProperties in your player'}
2507
CMDs[#CMDs + 1] = {NAME = 'strengthen', DESC = 'Changes CustomPhysicalProperties in your player'}
2508
CMDs[#CMDs + 1] = {NAME = 'unstrengthen', DESC = 'Changes CustomPhysicalProperties in your player'}
2509
CMDs[#CMDs + 1] = {NAME = 'speed / ws [num]', DESC = 'Change your walkspeed'}
2510
CMDs[#CMDs + 1] = {NAME = 'hipheight / hheight [num]', DESC = 'Adjusts hip height'}
2511
CMDs[#CMDs + 1] = {NAME = 'jumppower / jpower [num]', DESC = 'Change a players jump height'}
2512
CMDs[#CMDs + 1] = {NAME = 'gravity / grav [num]', DESC = 'Change your gravity'}
2513
CMDs[#CMDs + 1] = {NAME = 'sit', DESC = 'Makes your character sit'}
2514
CMDs[#CMDs + 1] = {NAME = 'stun', DESC = 'Enables PlatformStand'}
2515
CMDs[#CMDs + 1] = {NAME = 'unstun', DESC = 'Disables PlatformStand'}
2516
CMDs[#CMDs + 1] = {NAME = 'team [team name] (CLIENT)', DESC = 'Changes your team. Sometimes fools localscripts.'}
2517
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2518
CMDs[#CMDs + 1] = {NAME = 'goto [plr]', DESC = 'Go to a player'}
2519
CMDs[#CMDs + 1] = {NAME = 'loopgoto [plr]', DESC = 'Loop teleport to a player'}
2520
CMDs[#CMDs + 1] = {NAME = 'unloopgoto [plr]', DESC = 'Stops teleporting you to a player'}
2521
CMDs[#CMDs + 1] = {NAME = 'loopbring [plr] (CLIENT)', DESC = 'Loop brings a player to you (useful for killing)'}
2522
CMDs[#CMDs + 1] = {NAME = 'unloopbring [plr]', DESC = 'Undoes loopbring'}
2523
CMDs[#CMDs + 1] = {NAME = 'freeze / fr [plr] (CLIENT)', DESC = 'Freezes a player'}
2524
CMDs[#CMDs + 1] = {NAME = 'thaw / unfr [plr]', DESC = 'Unfreezes a player'}
2525
CMDs[#CMDs + 1] = {NAME = 'tpposition / tppos [coordinate]', DESC = 'Teleports you to a coordinate'}
2526
CMDs[#CMDs + 1] = {NAME = 'offset [coordinate]', DESC = 'Offsets you by a coordinate'}
2527
CMDs[#CMDs + 1] = {NAME = 'getposition / getpos', DESC = 'Notifies you the coordinates of your character'}
2528
CMDs[#CMDs + 1] = {NAME = 'spawnpoint / spawn', DESC = 'Sets a position where you will spawn'}
2529
CMDs[#CMDs + 1] = {NAME = 'nospawnpoint / nospawn', DESC = 'Removes your custom spawn point'}
2530
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2531
CMDs[#CMDs + 1] = {NAME = 'animation / anim [ID] [speed]', DESC = 'Makes your character preform an animation (must be by roblox to replicate)'}
2532
CMDs[#CMDs + 1] = {NAME = 'dance', DESC = 'Makes you  d a n c e'}
2533
CMDs[#CMDs + 1] = {NAME = 'spasm', DESC = 'Makes you  c r a z y'}
2534
CMDs[#CMDs + 1] = {NAME = 'unspasm', DESC = 'Stops spasm'}
2535
CMDs[#CMDs + 1] = {NAME = 'headthrow', DESC = 'Simply makes you throw your head'}
2536
CMDs[#CMDs + 1] = {NAME = 'noarms', DESC = 'Removes your arms'}
2537
CMDs[#CMDs + 1] = {NAME = 'nolegs', DESC = 'Removes your arms'}
2538
CMDs[#CMDs + 1] = {NAME = 'nolimbs', DESC = 'Removes your limbs'}
2539
CMDs[#CMDs + 1] = {NAME = 'naked', DESC = 'Removes your clothing'}
2540
CMDs[#CMDs + 1] = {NAME = 'blockhead', DESC = 'Turns your head into a block'}
2541
CMDs[#CMDs + 1] = {NAME = 'blockhats', DESC = 'Turns your hats into blocks'}
2542
CMDs[#CMDs + 1] = {NAME = 'clone', DESC = 'Creates an illusion of a clone'}
2543
CMDs[#CMDs + 1] = {NAME = 'creeper', DESC = 'Makes you look like a creeper'}
2544
CMDs[#CMDs + 1] = {NAME = 'drophats', DESC = 'Drops your hats'}
2545
CMDs[#CMDs + 1] = {NAME = 'droptools', DESC = 'Drops your tools'}
2546
CMDs[#CMDs + 1] = {NAME = 'spin [speed]', DESC = 'Spins your character'}
2547
CMDs[#CMDs + 1] = {NAME = 'unspin', DESC = 'Disables spin'}
2548
CMDs[#CMDs + 1] = {NAME = 'spinhats', DESC = 'Spins your characters accessorys'}
2549
CMDs[#CMDs + 1] = {NAME = 'unspinhats', DESC = 'Undoes spinhats'}
2550
CMDs[#CMDs + 1] = {NAME = '', DESC = ''}
2551
CMDs[#CMDs + 1] = {NAME = 'tools', DESC = 'Copies tools from ReplicatedStorage and Lighting'}
2552
CMDs[#CMDs + 1] = {NAME = 'keeptools / ktools', DESC = 'Saves tools to startergear'}
2553
CMDs[#CMDs + 1] = {NAME = 'nokeeptools / noktools', DESC = 'Deletes tools in startergear'}
2554
CMDs[#CMDs + 1] = {NAME = 'notools/removetools', DESC = 'Removes tools from character and backpack'}
2555
CMDs[#CMDs + 1] = {NAME = 'grabtools', DESC = 'Automatically get tools that are dropped'}
2556
CMDs[#CMDs + 1] = {NAME = 'ungrabtools', DESC = 'Disables grabtools'}
2557
CMDs[#CMDs + 1] = {NAME = 'givetools [plr]', DESC = 'Give your tools to a player'}
2558
CMDs[#CMDs + 1] = {NAME = 'copytools [plr]', DESC = 'Copies a players tools'}
2559
wait()
2560
2561
for i = 1, #CMDs do
2562
	local newcmd = Holder.Example:Clone()
2563
	newcmd.Parent = Holder.CMDs
2564
	newcmd.Visible = false
2565
	newcmd.Text = "" .. CMDs[i].NAME
2566
	newcmd.Name = 'CMD'
2567
	newcmd.MouseButton1Click:Connect(function()
2568
		notify(CMDs[i].NAME,CMDs[i].DESC)
2569
	end)
2570
end
2571
2572
IndexContents('',true)
2573
2574
function FindInTable(Table, Name)
2575
	for i,v in pairs(Table) do
2576
		if v == Name then
2577
			return true
2578
		end
2579
	end
2580
	return false
2581
end
2582
2583
2584
function GetInTable(Table, Name)
2585
	for i = 1, #Table do
2586
		if Table[i] == Name then
2587
			return i
2588
		end
2589
	end
2590
	return false
2591
end
2592
2593
function respawn(plr)
2594
	if r15(plr) then
2595
		plr.Character.Humanoid.Health = 0
2596
		wait(0.1)
2597
		plr.Character.Head.CFrame = CFrame.new(1000000,0,1000000)
2598
		plr.Character.HumanoidRootPart:Destroy()
2599
	else		
2600
		plr.Character:Destroy()
2601
		local M = Instance.new('Model', workspace) M.Name = 'respawn_iy'
2602
		local H = Instance.new('Humanoid', M)
2603
		local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
2604
		plr.Character = M
2605
	end
2606
end
2607
2608
function refresh(plr)
2609
	spawn(function()
2610
		local rpos = plr.Character.HumanoidRootPart.Position
2611
		wait()
2612
		respawn(plr)
2613
		wait()
2614
		repeat wait() until plr.Character ~= nil and plr.Character:FindFirstChild('HumanoidRootPart')
2615
		plr.Character:MoveTo(rpos)
2616
	end)
2617
end
2618
2619
godded = false
2620
local oldCframe
2621
local currentTool
2622
2623
Players.LocalPlayer.CharacterAdded:Connect(function()
2624
	FLYING = false
2625
	Floating = false
2626
	bangplr = nil
2627
	execCmd('clip')
2628
	
2629
	if #spawnCmds > 0 then
2630
		for i,v in pairs(spawnCmds)do
2631
			spawn(function()
2632
				wait(v.DELAY)
2633
				execCmd(v.COMMAND,Players.LocalPlayer)
2634
			end)
2635
		end
2636
	end
2637
	
2638
	wait(0.3)
2639
	if spawnpoint and not godded and spawnpos ~= nil then
2640
		Players.LocalPlayer.Character.HumanoidRootPart.CFrame = spawnpos
2641
	end
2642
	if godded then
2643
		repeat wait() until Players.LocalPlayer.Character ~= nil and Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
2644
		Players.LocalPlayer.Character.Humanoid:SetStateEnabled(15,false)
2645
		Players.LocalPlayer.Character.Humanoid:SetStateEnabled(16,false)
2646
		local r=Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
2647
		for i = 1,5 do
2648
			r.CFrame = oldCframe
2649
		end
2650
		if currentTool ~= nil then
2651
			local nt = Players.LocalPlayer.Backpack:FindFirstChild(currentTool.Name)
2652
			nt.Parent = Players.LocalPlayer.Character
2653
			currentTool = nil
2654
		end
2655
	end
2656
end)
2657
2658
Players.LocalPlayer.CharacterRemoving:Connect(function()
2659
    if Players.LocalPlayer.Character then
2660
        local r = Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
2661
        if r ~= nil then oldCframe = r.CFrame end
2662
		currentTool = Players.LocalPlayer.Character:FindFirstChildOfClass("Tool")
2663
    end
2664
end)
2665
2666
local std={}
2667
std.inTable=function(tbl,val)
2668
    if tbl==nil then return false end
2669
    for _,v in pairs(tbl)do
2670
        if v==val then return true end
2671
    end 
2672
	return false
2673
end
2674
2675
function getstring(begin)
2676
	local start = begin-1
2677
	local AA = '' for i,v in pairs(cargs) do
2678
		if i > start then
2679
			if AA ~= '' then
2680
				AA = AA .. ' ' .. v
2681
			else
2682
				AA = AA .. v
2683
			end
2684
		end
2685
	end
2686
	return AA
2687
end
2688
2689
local findCmd=function(cmd_name)
2690
	for i,v in pairs(cmds)do
2691
		if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
2692
			return v
2693
		end
2694
	end
2695
	return customAlias[cmd_name:lower()]
2696
end
2697
2698
local function splitString(str,delim)
2699
	local broken = {}
2700
	if delim == nil then delim = "," end
2701
		for w in string.gmatch(str,"[^"..delim.."]+") do
2702
			table.insert(broken,w)
2703
		end
2704
	return broken
2705
end
2706
2707
local historyCount = 0
2708
local cmdHistory = {}
2709
local split=" "
2710
lastBreakTime = 0
2711
function execCmd(cmdStr,speaker)
2712
	spawn(function()
2713
		if canvasPos ~= nil then
2714
			CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
2715
			canvasTop = false
2716
		end
2717
		local rawCmdStr = cmdStr
2718
		cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
2719
		local commandsToRun = splitString(cmdStr,"\\")
2720
		for i,v in pairs(commandsToRun) do
2721
			v = string.gsub(v,"%%BackSlash%%","\\")
2722
			local x,y,num = v:find("^(%d+)%^")
2723
			local cmdDelay = 0
2724
			if num then
2725
				v = v:sub(y+1)
2726
				local x,y,del = v:find("^([%d%.]+)%^")
2727
				if del then
2728
					v = v:sub(y+1)
2729
					cmdDelay = tonumber(del) or 0
2730
				end
2731
			end
2732
		num = tonumber(num or 1)
2733
		local args = splitString(v,split)
2734
		local cmd = findCmd(args[1])
2735
		if cmd then
2736
			table.remove(args,1)
2737
			cargs = args
2738
			if speaker == Players.LocalPlayer then
2739
				if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
2740
			end
2741
			if #cmdHistory > 20 then table.remove(cmdHistory) end
2742
			local cmdStartTime = tick()
2743
			for rep = 1,num do
2744
				if lastBreakTime > cmdStartTime then break end
2745
					pcall(function()
2746
						cmd.FUNC(args, speaker)
2747
					end)
2748
					if cmdDelay ~= 0 then wait(cmdDelay) end
2749
				end
2750
			end
2751
		end
2752
	end)	
2753
end	
2754
2755
function addcmd(name,alias,func,plgn)
2756
	cmds[#cmds+1]=
2757
	{
2758
		NAME=name;
2759
		ALIAS=alias;
2760
		FUNC=func;
2761
		PLUGIN=plgn;
2762
	}
2763
end
2764
2765
function addbind(cmd,key)
2766
	binds[#binds+1]=
2767
	{
2768
		COMMAND=cmd;
2769
		KEY=key;
2770
	}
2771
end
2772
2773
function addspawn(cmd,sDelay)
2774
	spawnCmds[#spawnCmds+1]=
2775
	{
2776
		COMMAND=cmd;
2777
		DELAY=sDelay;
2778
	}
2779
end
2780
2781
function addcmdtext(text,name,desc)
2782
	local newcmd = Holder.Example:Clone()
2783
	newcmd.Parent = Holder.CMDs
2784
	newcmd.Visible = false
2785
	newcmd.Text = text
2786
	newcmd.Name = 'PLUGIN_'..name
2787
	if desc then
2788
		newcmd.MouseButton1Click:Connect(function()
2789
			notify(text,desc)
2790
		end)
2791
	end
2792
end
2793
2794
local SpecialPlayerCases = {
2795
	["all"] = function(speaker)return Players:GetPlayers() end,
2796
	["others"] = function(speaker)
2797
		local plrs = {}
2798
		for i,v in pairs(Players:GetPlayers()) do
2799
			if v ~= speaker then
2800
				table.insert(plrs,v)
2801
			end
2802
		end
2803
		return plrs
2804
	 end,
2805
	["me"] = function(speaker)return {speaker} end,
2806
	["#(%d+)"] = function(speaker,args,currentList)
2807
		local returns = {}
2808
		local randAmount = tonumber(args[1])
2809
		local players = {unpack(currentList)}
2810
		for i = 1,randAmount do
2811
			if #players == 0 then break end
2812
			local randIndex = math.random(1,#players)
2813
			table.insert(returns,players[randIndex])
2814
			table.remove(players,randIndex)
2815
		end
2816
		return returns
2817
	end,
2818
	["random"] = function(speaker,args,currentList)
2819
		local players = currentList
2820
		return {players[math.random(1,#players)]}
2821
	end,
2822
	["%%(.+)"] = function(speaker,args)
2823
		local returns = {}
2824
		local team = args[1]
2825
		for _,plr in pairs(Players:GetPlayers()) do
2826
			if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
2827
				table.insert(returns,plr)
2828
			end
2829
		end
2830
		return returns
2831
	end,
2832
	["allies"] = function(speaker)
2833
		local returns = {}
2834
		local team = speaker.Team
2835
		for _,plr in pairs(Players:GetPlayers()) do
2836
			if plr.Team == team then
2837
				table.insert(returns,plr)
2838
			end
2839
		end
2840
		return returns
2841
	end,
2842
	["enemies"] = function(speaker)
2843
		local returns = {}
2844
		local team = speaker.Team
2845
		for _,plr in pairs(Players:GetPlayers()) do
2846
			if plr.Team ~= team then
2847
				table.insert(returns,plr)
2848
			end
2849
		end
2850
		return returns
2851
	end,
2852
	["team"] = function(speaker)
2853
		local returns = {}
2854
		local team = speaker.Team
2855
		for _,plr in pairs(Players:GetPlayers()) do
2856
			if plr.Team == team then
2857
				table.insert(returns,plr)
2858
			end
2859
		end
2860
		return returns
2861
	end,
2862
	["nonteam"] = function(speaker)
2863
		local returns = {}
2864
		local team = speaker.Team
2865
		for _,plr in pairs(Players:GetPlayers()) do
2866
			if plr.Team ~= team then
2867
				table.insert(returns,plr)
2868
			end
2869
		end
2870
		return returns
2871
	end,
2872
	["friends"] = function(speaker,args)
2873
		local returns = {}
2874
		for _,plr in pairs(Players:GetPlayers()) do
2875
			if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
2876
				table.insert(returns,plr)
2877
			end
2878
		end
2879
		return returns
2880
	end,
2881
	["nonfriends"] = function(speaker,args)
2882
		local returns = {}
2883
		for _,plr in pairs(Players:GetPlayers()) do
2884
			if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
2885
				table.insert(returns,plr)
2886
			end
2887
		end
2888
		return returns
2889
	end,
2890
	["guests"] = function(speaker,args)
2891
		local returns = {}
2892
		for _,plr in pairs(Players:GetPlayers()) do
2893
			if plr.Guest then
2894
				table.insert(returns,plr)
2895
			end
2896
		end
2897
		return returns
2898
	end,
2899
	["bacons"] = function(speaker,args)
2900
		local returns = {}
2901
		for _,plr in pairs(Players:GetPlayers()) do
2902
			if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
2903
				table.insert(returns,plr)
2904
			end
2905
		end
2906
		return returns
2907
	end,
2908
	["age(%d+)"] = function(speaker,args)
2909
		local returns = {}
2910
		local age = tonumber(args[1])
2911
		if not age == nil then return end
2912
		for _,plr in pairs(Players:GetPlayers()) do
2913
		if plr.AccountAge <= age then
2914
				table.insert(returns,plr)
2915
			end
2916
		end
2917
		return returns
2918
	end,
2919
	["rad(%d+)"] = function(speaker,args)
2920
		local returns = {}
2921
		local radius = tonumber(args[1])
2922
		local speakerChar = speaker.Character
2923
		if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
2924
		for _,plr in pairs(Players:GetPlayers()) do
2925
			if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
2926
				local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
2927
				if magnitude <= radius then table.insert(returns,plr) end
2928
			end
2929
		end
2930
		return returns
2931
	end
2932
}
2933
2934
local function toTokens(str)
2935
	local tokens = {}
2936
	for op,name in string.gmatch(str,"([+-])([^+-]+)") do
2937
		table.insert(tokens,{Operator = op,Name = name})
2938
	end
2939
	return tokens
2940
end
2941
2942
local function onlyIncludeInTable(tab,matches)
2943
	local matchTable = {}
2944
	local resultTable = {}
2945
	for i,v in pairs(matches) do matchTable[v.Name] = true end
2946
	for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
2947
	return resultTable
2948
end
2949
2950
local function removeTableMatches(tab,matches)
2951
	local matchTable = {}
2952
	local resultTable = {}
2953
	for i,v in pairs(matches) do matchTable[v.Name] = true end
2954
	for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
2955
	return resultTable
2956
end
2957
2958
local function getPlayersByName(name)
2959
	local found = {}
2960
	for i,v in pairs(Players:GetChildren()) do
2961
		if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
2962
			table.insert(found,v)
2963
		end
2964
	end
2965
	return found
2966
end
2967
2968
function getPlayer(list,speaker)
2969
	if list == nil then return {speaker.Name} end
2970
	local nameList = splitString(list,",")
2971
	
2972
	local foundList = {}
2973
	
2974
	for _,name in pairs(nameList) do
2975
		if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
2976
		local tokens = toTokens(name)
2977
		local initialPlayers = Players:GetPlayers()
2978
		
2979
		for i,v in pairs(tokens) do
2980
			if v.Operator == "+" then
2981
				local tokenContent = v.Name
2982
				local foundCase = false
2983
				for regex,case in pairs(SpecialPlayerCases) do
2984
					local matches = {string.match(tokenContent,"^"..regex.."$")}
2985
					if #matches > 0 then
2986
						foundCase = true
2987
						initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches,initialPlayers))
2988
					end
2989
				end
2990
				if not foundCase then
2991
					initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
2992
				end
2993
			else
2994
				local tokenContent = v.Name
2995
				local foundCase = false
2996
				for regex,case in pairs(SpecialPlayerCases) do
2997
					local matches = {string.match(tokenContent,"^"..regex.."$")}
2998
					if #matches > 0 then
2999
						foundCase = true
3000
						initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches,initialPlayers))
3001
					end
3002
				end
3003
				if not foundCase then
3004
					initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
3005
				end
3006
			end
3007
		end
3008
		
3009
		for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
3010
	end
3011
	
3012
	local foundNames = {}
3013
	for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
3014
	
3015
	return foundNames
3016
end
3017
3018
local getprfx=function(strn)
3019
    if strn:sub(1,string.len(prefix))==prefix then return{'cmd',string.len(prefix)+1}
3020
    end return
3021
end
3022
3023
function do_exec(str, plr)
3024
	str = str:gsub('/e ', '')
3025
	local t = getprfx(str)
3026
	if not t then return end
3027
	str = str:sub(t[2])
3028
	if t[1]=='cmd' then
3029
		execCmd(str, plr)
3030
		IndexContents('',true,false,true)
3031
	end
3032
end
3033
3034
3035
Players.LocalPlayer.Chatted:connect(function(message)
3036
	do_exec(message, Players.LocalPlayer)
3037
end)
3038
3039
Holder.Cmdbar.Changed:connect(function(property)
3040
	if property == "Text" and Holder.Cmdbar:IsFocused() then
3041
		IndexContents(Holder.Cmdbar.Text,true,true)
3042
	end
3043
end)
3044
3045
Holder.Cmdbar.FocusLost:connect(function(enterpressed)
3046
	if enterpressed then
3047
		execCmd(Holder.Cmdbar.Text,Players.LocalPlayer)
3048
	end
3049
	Holder.Cmdbar.Text = "Command Bar"
3050
	IndexContents('',true,false,true)
3051
	if canvasPos ~= nil then
3052
		CMDsF.CanvasPosition = Vector2.new(0, canvasPos)
3053
		canvasTop = false
3054
	end
3055
	if SettingsOpen == true then
3056
		wait(0.2)
3057
		Settings:TweenPosition(UDim2.new(0, 0, 0, 45), "InOut", "Quart", 0.2, true, nil)
3058
	end
3059
end)
3060
3061
Holder.Cmdbar.Focused:Connect(function() historyCount = 0 end)
3062
UserInputService.InputBegan:Connect(function(input)
3063
    if not Holder.Cmdbar:IsFocused() then return end
3064
    if input.KeyCode == Enum.KeyCode.Up then
3065
        historyCount = historyCount + 1
3066
        if historyCount > #cmdHistory then historyCount = #cmdHistory end
3067
        Holder.Cmdbar.Text = cmdHistory[historyCount] or ""
3068
    elseif input.KeyCode == Enum.KeyCode.Down then
3069
        historyCount = historyCount - 1
3070
        if historyCount < 1 then historyCount = 1 end
3071
        Holder.Cmdbar.Text = cmdHistory[historyCount] or ""
3072
    end
3073
	if SettingsOpen == true then
3074
		wait(0.2)
3075
		Holder.Settings:TweenPosition(UDim2.new(0, 0, 0, 220), "InOut", "Quart", 0.2, true, nil)
3076
	end
3077
end)
3078
3079
ESPenabled = false
3080
CHMSenabled = false
3081
3082
function round(num, numDecimalPlaces)
3083
    local mult = 10^(numDecimalPlaces or 0)
3084
    return math.floor(num * mult + 0.5) / mult
3085
  end
3086
3087
function ESP(plr)
3088
	spawn(function()
3089
		local refreshing = true
3090
		for i,v in pairs(PARENT:GetChildren()) do
3091
			if v.Name == plr.Name..'_ESP' then
3092
				v:Destroy()
3093
			end
3094
		end
3095
		wait()
3096
		if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_ESP') then
3097
			local ESPholder = Instance.new("Folder", PARENT)
3098
			ESPholder.Name = plr.Name..'_ESP'
3099
			for b,n in pairs (plr.Character:GetChildren()) do
3100
				if (n:IsA("BasePart")) then
3101
					local a = Instance.new("BoxHandleAdornment", ESPholder)
3102
					a.Name = plr.Name
3103
					a.Adornee = n
3104
					a.AlwaysOnTop = true
3105
					a.ZIndex = 0
3106
					a.Size = n.Size
3107
					a.Transparency = 0.7
3108
					if plr.TeamColor == Players.LocalPlayer.TeamColor then
3109
						a.Color = BrickColor.new("Lime green")
3110
					else
3111
						a.Color = BrickColor.new("Really red")
3112
					end
3113
				end
3114
			end
3115
            if plr.Character and plr.Character:FindFirstChild('Head') then
3116
				local BillboardGui = Instance.new("BillboardGui", ESPholder)
3117
				local TextLabel = Instance.new("TextLabel")
3118
				BillboardGui.Adornee = plr.Character.Head
3119
				BillboardGui.Name = plr.Name
3120
				BillboardGui.Size = UDim2.new(0, 100, 0, 150)
3121
				BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
3122
				BillboardGui.AlwaysOnTop = true
3123
				TextLabel.Parent = BillboardGui
3124
				TextLabel.BackgroundTransparency = 1
3125
				TextLabel.Position = UDim2.new(0, 0, 0, -50)
3126
				TextLabel.Size = UDim2.new(0, 100, 0, 100)
3127
				TextLabel.Font = Enum.Font.SourceSansSemibold
3128
				TextLabel.TextSize = 20
3129
				TextLabel.TextColor3 = Color3.new(1, 1, 1)
3130
				TextLabel.TextStrokeTransparency = 0
3131
				TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
3132
				plr.CharacterAdded:Connect(function()
3133
					if ESPenabled then
3134
						refreshing = false
3135
						ESPholder:Destroy()
3136
						repeat wait(1) until plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid')
3137
						ESP(plr)
3138
					end
3139
				end)
3140
				game:GetService("RunService").RenderStepped:Connect(function()
3141
					if refreshing and PARENT:FindFirstChild(plr.Name..'_ESP') and plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid') then
3142
						local pos = math.floor((Players.LocalPlayer.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude)
3143
						TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character.Humanoid.Health, 1)..' | Studs: '..pos
3144
					end
3145
				end)
3146
			end
3147
		end
3148
	end)
3149
end
3150
3151
function CHMS(plr)
3152
	spawn(function()
3153
		local refreshing = true
3154
		for i,v in pairs(PARENT:GetChildren()) do
3155
			if v.Name == plr.Name..'_CHMS' then
3156
				v:Destroy()
3157
			end
3158
		end
3159
		wait()
3160
		if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_CHMS') then
3161
			local ESPholder = Instance.new("Folder", PARENT)
3162
			ESPholder.Name = plr.Name..'_CHMS'
3163
			for b,n in pairs (plr.Character:GetChildren()) do
3164
				if (n:IsA("BasePart")) then
3165
					local a = Instance.new("BoxHandleAdornment", ESPholder)
3166
					a.Name = plr.Name
3167
					a.Adornee = n
3168
					a.AlwaysOnTop = true
3169
					a.ZIndex = 0
3170
					a.Size = n.Size
3171
					a.Transparency = 0.7
3172
					if plr.TeamColor == Players.LocalPlayer.TeamColor then
3173
						a.Color = BrickColor.new("Lime green")
3174
					else
3175
						a.Color = BrickColor.new("Really red")
3176
					end
3177
				end
3178
			end
3179
			plr.CharacterAdded:Connect(function()
3180
				if CHMSenabled then
3181
					refreshing = false
3182
					ESPholder:Destroy()
3183
					repeat wait(1) until plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid')
3184
					CHMS(plr)
3185
				end
3186
			end)
3187
		end
3188
	end)
3189
end
3190
3191
function Locate(plr)
3192
	spawn(function()
3193
		local refreshing = true
3194
		for i,v in pairs(PARENT:GetChildren()) do
3195
			if v.Name == plr.Name..'_LC' then
3196
				v:Destroy()
3197
			end
3198
		end
3199
		wait()
3200
		if plr.Character and plr.Name ~= Players.LocalPlayer.Name and not PARENT:FindFirstChild(plr.Name..'_LC') then
3201
			local ESPholder = Instance.new("Folder", PARENT)
3202
			ESPholder.Name = plr.Name..'_LC'
3203
			for b,n in pairs (plr.Character:GetChildren()) do
3204
				if (n:IsA("BasePart")) then
3205
					local a = Instance.new("BoxHandleAdornment", ESPholder)
3206
					a.Name = plr.Name
3207
					a.Adornee = n
3208
					a.AlwaysOnTop = true
3209
					a.ZIndex = 0
3210
					a.Size = n.Size
3211
					a.Transparency = 0.7
3212
					if plr.TeamColor == Players.LocalPlayer.TeamColor then
3213
						a.Color = BrickColor.new("Lime green")
3214
					else
3215
						a.Color = BrickColor.new("Really red")
3216
					end
3217
				end
3218
			end
3219
			if plr.Character and plr.Character:FindFirstChild('Head') then
3220
				local BillboardGui = Instance.new("BillboardGui", ESPholder)
3221
				local TextLabel = Instance.new("TextLabel")
3222
				BillboardGui.Adornee = plr.Character.Head
3223
				BillboardGui.Name = plr.Name
3224
				BillboardGui.Size = UDim2.new(0, 100, 0, 150)
3225
				BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
3226
				BillboardGui.AlwaysOnTop = true
3227
				TextLabel.Parent = BillboardGui
3228
				TextLabel.BackgroundTransparency = 1
3229
				TextLabel.Position = UDim2.new(0, 0, 0, -50)
3230
				TextLabel.Size = UDim2.new(0, 100, 0, 100)
3231
				TextLabel.Font = Enum.Font.SourceSansSemibold
3232
				TextLabel.TextSize = 20
3233
				TextLabel.TextColor3 = Color3.new(1, 1, 1)
3234
				TextLabel.TextStrokeTransparency = 0
3235
				TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
3236
				plr.CharacterAdded:Connect(function()
3237
					if ESPholder ~= nil and ESPholder.Parent ~= nil then
3238
						refreshing = false
3239
						ESPholder:Destroy()
3240
						repeat wait(1) until plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid')
3241
						Locate(plr)
3242
					end
3243
				end)
3244
				game:GetService("RunService").RenderStepped:Connect(function()
3245
					if refreshing and PARENT:FindFirstChild(plr.Name..'_LC') and plr.Character:FindFirstChild('HumanoidRootPart') and plr.Character:FindFirstChild('Humanoid') then
3246
						local pos = math.floor((Players.LocalPlayer.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).magnitude)
3247
						TextLabel.Text = 'Name: '..plr.Name..' | Health: '..round(plr.Character.Humanoid.Health, 1)..' | Studs: '..pos
3248
					end
3249
				end)
3250
			end
3251
		end
3252
	end)
3253
end
3254
3255
bindsGUI = KeybindEditor
3256
awaitingInput = false
3257
keySelected = false
3258
3259
function unkeybind(cmd,key)
3260
	for i = #binds,1,-1 do
3261
		if binds[i].COMMAND == cmd and binds[i].KEY == key then
3262
			table.remove(binds, i)
3263
		end
3264
	end
3265
	refreshbinds()
3266
	updatesaves()
3267
	if key == 'RightClick' or key == 'LeftClick' then
3268
		notify('Keybinds Updated','Unbinded '..key..' from '..cmd)
3269
	else
3270
		notify('Keybinds Updated','Unbinded '..key:sub(14)..' from '..cmd)
3271
	end
3272
end
3273
3274
function refreshbinds()
3275
	if Holder_2 then
3276
		Holder_2:ClearAllChildren()
3277
		Holder_2.CanvasSize = UDim2.new(0, 0, 0, 10)
3278
		for i = 1, #binds do
3279
			local YSize = 25
3280
			local Position = ((i * YSize) - YSize)
3281
			local newbind = Example_2:Clone()
3282
			newbind.Parent = Holder_2
3283
			newbind.Visible = true
3284
			newbind.Position = UDim2.new(0,0,0, Position + 5)
3285
			local input = tostring(binds[i].KEY)
3286
			local key
3287
			if input == 'RightClick' or input == 'LeftClick' then
3288
				key = input
3289
			else
3290
				key = input:sub(14)
3291
			end
3292
			newbind.Text.Text = key.." > "..binds[i].COMMAND
3293
			Holder_2.CanvasSize = UDim2.new(0,0,0, Position + 30)
3294
			newbind.Text.Delete.MouseButton1Click:Connect(function()
3295
				unkeybind(binds[i].COMMAND,binds[i].KEY)
3296
			end)
3297
		end
3298
	end
3299
end
3300
3301
refreshbinds()
3302
3303
PositionsFrame.Delete.MouseButton1Click:Connect(function()
3304
	execCmd('cpos')
3305
end)
3306
3307
function refreshwaypoints()
3308
	if #WayPoints > 0 then
3309
		PositionsHint:Destroy()
3310
	end
3311
	if Holder_4 then
3312
		Holder_4:ClearAllChildren()
3313
		Holder_4.CanvasSize = UDim2.new(0, 0, 0, 10)
3314
		for i = 1, #WayPoints do
3315
			local YSize = 25
3316
			local Position = ((i * YSize) - YSize)
3317
			local newpoint = Example_4:Clone()
3318
			newpoint.Parent = Holder_4
3319
			newpoint.Visible = true
3320
			newpoint.Position = UDim2.new(0,0,0, Position + 5)
3321
			newpoint.Text.Text = WayPoints[i].NAME
3322
			Holder_4.CanvasSize = UDim2.new(0,0,0, Position + 30)
3323
			newpoint.Text.Delete.MouseButton1Click:Connect(function()
3324
				execCmd('dpos '..WayPoints[i].NAME)
3325
			end)
3326
			newpoint.Text.TP.MouseButton1Click:Connect(function()
3327
				execCmd("loadpos "..WayPoints[i].NAME)
3328
			end)
3329
		end
3330
	end
3331
end
3332
3333
refreshwaypoints()
3334
3335
function removeSpawnC(cmd,Delay)
3336
	for i = #spawnCmds,1,-1 do
3337
		if spawnCmds[i].COMMAND == cmd and spawnCmds[i].DELAY == Delay then
3338
			table.remove(spawnCmds, i)
3339
		end
3340
	end
3341
	refreshSpawnC()
3342
	updatesaves()
3343
	notify('Spawn Commands Updated','Removed "'..cmd..'" from spawn commands')
3344
end
3345
3346
function refreshSpawnC()
3347
	if Holder_6 then
3348
		Holder_6:ClearAllChildren()
3349
		Holder_6.CanvasSize = UDim2.new(0, 0, 0, 10)
3350
		for i = 1, #spawnCmds do
3351
			local YSize = 25
3352
			local Position = ((i * YSize) - YSize)
3353
			local newpoint = Example_2:Clone()
3354
			newpoint.Parent = Holder_6
3355
			newpoint.Visible = true
3356
			newpoint.Position = UDim2.new(0,0,0, Position + 5)
3357
			if spawnCmds[i].DELAY == 0 or spawnCmds[i].DELAY == '0' then
3358
				newpoint.Text.Text = spawnCmds[i].COMMAND
3359
			else
3360
				newpoint.Text.Text = spawnCmds[i].COMMAND..' (Delay '..spawnCmds[i].DELAY..')'
3361
			end
3362
			Holder_6.CanvasSize = UDim2.new(0,0,0, Position + 30)
3363
			newpoint.Text.Delete.MouseButton1Click:Connect(function()
3364
				removeSpawnC(spawnCmds[i].COMMAND,spawnCmds[i].DELAY)
3365
				refreshSpawnC()
3366
			end)
3367
		end
3368
	end
3369
end
3370
3371
refreshSpawnC()
3372
3373
function refreshaliases()
3374
	if #aliases > 0 then
3375
		AliasHint:Destroy()
3376
	end
3377
	if Holder_3 then
3378
		Holder_3:ClearAllChildren()
3379
		Holder_3.CanvasSize = UDim2.new(0, 0, 0, 10)
3380
		for i = 1, #aliases do
3381
			local YSize = 25
3382
			local Position = ((i * YSize) - YSize)
3383
			local newalias = Example_3:Clone()
3384
			newalias.Parent = Holder_3
3385
			newalias.Visible = true
3386
			newalias.Position = UDim2.new(0,0,0, Position + 5)
3387
			newalias.Text.Text = aliases[i].CMD.." > "..aliases[i].ALIAS
3388
			Holder_3.CanvasSize = UDim2.new(0,0,0, Position + 30)
3389
			newalias.Text.Delete.MouseButton1Click:Connect(function()
3390
				execCmd('removealias '..aliases[i].ALIAS)
3391
			end)
3392
		end
3393
	end
3394
end
3395
3396
BindTo.MouseButton1Click:Connect(function()
3397
	awaitingInput = true
3398
	BindTo.Text = 'Press something'
3399
end)
3400
3401
Add_2.MouseButton1Click:Connect(function()
3402
	if keySelected then
3403
		if string.find(Cmdbar_2.Text, "\\\\") then
3404
			notify('Keybind Error','Only use one backslash to keybind multiple commands into one keybind or command')
3405
		else
3406
			addbind(Cmdbar_2.Text,keyPressed)
3407
			refreshbinds()
3408
			updatesaves()
3409
			if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3410
				notify('Keybinds Updated','Binded '..keyPressed..' to '..Cmdbar_2.Text)
3411
			else
3412
				notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to '..Cmdbar_2.Text)
3413
			end
3414
		end
3415
	end
3416
end)
3417
3418
Exit_2.MouseButton1Click:Connect(function()
3419
	Cmdbar_2.Text = 'Command'
3420
	BindTo.Text = 'Click to bind'
3421
	keySelected = false
3422
	KeybindEditor:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
3423
end)
3424
3425
local function onInputBegan(input,gameProcessed)
3426
	if awaitingInput then
3427
		if input.UserInputType == Enum.UserInputType.Keyboard then
3428
			keyPressed = tostring(input.KeyCode)
3429
			BindTo.Text = keyPressed:sub(14)
3430
		elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
3431
			keyPressed = 'LeftClick'
3432
			BindTo.Text = 'LeftClick'
3433
		elseif input.UserInputType == Enum.UserInputType.MouseButton2 then
3434
			keyPressed = 'RightClick'
3435
			BindTo.Text = 'RightClick'
3436
		end
3437
		awaitingInput = false
3438
		keySelected = true
3439
	end
3440
	if not gameProcessed and #binds > 0 then
3441
		for i,v in pairs(binds)do
3442
			if input.UserInputType == Enum.UserInputType.Keyboard and v.KEY:lower()==tostring(input.KeyCode):lower() then
3443
				execCmd(v.COMMAND,Players.LocalPlayer)
3444
			elseif input.UserInputType == Enum.UserInputType.MouseButton1 and v.KEY:lower()=='leftclick' then
3445
				execCmd(v.COMMAND,Players.LocalPlayer)
3446
			elseif input.UserInputType == Enum.UserInputType.MouseButton2 and v.KEY:lower()=='rightclick' then
3447
				execCmd(v.COMMAND,Players.LocalPlayer)
3448
			end
3449
		end
3450
	end
3451
end
3452
 
3453
UserInputService.InputBegan:connect(onInputBegan)
3454
3455
game:GetService('RunService').Stepped:connect(function()
3456
	if bangplr then
3457
		Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Players[bangplr].Character.HumanoidRootPart.CFrame
3458
	end
3459
	if spinenabled then
3460
		pcall(function()
3461
			spinning.Position = Players.LocalPlayer.Character.Head.Position
3462
		end)
3463
	end
3464
end)
3465
3466
Fly.Select.MouseButton1Click:Connect(function()
3467
	if keySelected then
3468
		addbind('togglefly',keyPressed)
3469
		refreshbinds()
3470
		updatesaves()
3471
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3472
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle fly')
3473
		else
3474
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle fly')
3475
		end
3476
	end
3477
end)
3478
3479
Noclip.Select.MouseButton1Click:Connect(function()
3480
	if keySelected then
3481
		addbind('togglenoclip',keyPressed)
3482
		refreshbinds()
3483
		updatesaves()
3484
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3485
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle noclip')
3486
		else
3487
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle noclip')
3488
		end
3489
	end
3490
end)
3491
3492
Float.Select.MouseButton1Click:Connect(function()
3493
	if keySelected then
3494
		addbind('togglefloat',keyPressed)
3495
		refreshbinds()
3496
		updatesaves()
3497
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3498
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle float')
3499
		else
3500
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle float')
3501
		end
3502
	end
3503
end)
3504
3505
ClickTP.Select.MouseButton1Click:Connect(function()
3506
	if keySelected then
3507
		addbind('clicktp',keyPressed)
3508
		refreshbinds()
3509
		updatesaves()
3510
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3511
			notify('Keybinds Updated','Binded '..keyPressed..' to click tp')
3512
		else
3513
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to click tp')
3514
		end
3515
	end
3516
end)
3517
3518
Xray.Select.MouseButton1Click:Connect(function()
3519
	if keySelected then
3520
		addbind('togglexray',keyPressed)
3521
		refreshbinds()
3522
		updatesaves()
3523
		if keyPressed == 'RightClick' or keyPressed == 'LeftClick' then
3524
			notify('Keybinds Updated','Binded '..keyPressed..' to toggle xray')
3525
		else
3526
			notify('Keybinds Updated','Binded '..keyPressed:sub(14)..' to toggle xray')
3527
		end
3528
	end
3529
end)
3530
3531
IYMouse.Button1Down:connect(function()
3532
	for i,v in pairs(binds) do
3533
		if v.COMMAND == 'clicktp' then
3534
			local input = v.KEY
3535
			if input == 'RightClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) and Players.LocalPlayer.Character then
3536
				Players.LocalPlayer.Character.HumanoidRootPart.CFrame = IYMouse.Hit + Vector3.new(0,7,0)
3537
			elseif input == 'LeftClick' and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and Players.LocalPlayer.Character then
3538
				Players.LocalPlayer.Character.HumanoidRootPart.CFrame = IYMouse.Hit + Vector3.new(0,7,0)
3539
			elseif UserInputService:IsKeyDown(Enum.KeyCode[input:sub(14)]) and Players.LocalPlayer.Character then
3540
				Players.LocalPlayer.Character.HumanoidRootPart.CFrame = IYMouse.Hit + Vector3.new(0,7,0)
3541
			end
3542
		end
3543
	end
3544
end)
3545
3546
PluginsGUI = PluginEditor.background
3547
3548
function refreshplugins()
3549
	if #PluginsTable > 0 then
3550
		PluginsHint:Destroy()
3551
	end
3552
	if Holder_5 then
3553
		Holder_5:ClearAllChildren()
3554
		Holder_5.CanvasSize = UDim2.new(0, 0, 0, 10)
3555
		for i,v in pairs(PluginsTable) do
3556
			local pName = v
3557
			local YSize = 25
3558
			local Position = ((i * YSize) - YSize)
3559
			local newplugin = Example_5:Clone()
3560
			newplugin.Parent = Holder_5
3561
			newplugin.Visible = true
3562
			newplugin.Position = UDim2.new(0,0,0, Position + 5)
3563
			newplugin.Text.Text = pName
3564
			Holder_5.CanvasSize = UDim2.new(0,0,0, Position + 30)
3565
			newplugin.Text.Delete.MouseButton1Click:Connect(function()
3566
				for i = #cmds,1,-1 do
3567
					if cmds[i].PLUGIN == pName then
3568
						table.remove(cmds, i)
3569
					end
3570
				end
3571
				for i,v in pairs(Holder.CMDs:GetChildren()) do
3572
					if v.Name == 'PLUGIN_'..pName then
3573
						v:Destroy()
3574
					end
3575
				end
3576
				for i,v in pairs(PluginsTable) do
3577
					if v == pName then
3578
						table.remove(PluginsTable, i)
3579
						notify('Removed Plugin',pName..' was removed')
3580
					end
3581
				end
3582
				IndexContents('',true)
3583
				refreshplugins()
3584
			end)
3585
		end
3586
		updatesaves()
3587
	end
3588
end
3589
3590
local PluginCache
3591
function LoadPlugin(val,startup)
3592
	local plugin
3593
3594
	function CatchedPluginLoad()
3595
		plugin = loadfile(val)()
3596
	end
3597
3598
	function handlePluginError(plerror)
3599
		notify('Plugin Error','An error occurred with the plugin, "'..val..'" and it could not be loaded')
3600
		if FindInTable(PluginsTable,val) then
3601
			for i,v in pairs(PluginsTable) do
3602
				if v == val then
3603
					table.remove(PluginsTable,i)
3604
				end
3605
			end
3606
		end
3607
3608
		print("Original Error: "..tostring(plerror))
3609
		print("Plugin Error, stack traceback: "..tostring(debug.traceback()))
3610
3611
		plugin = nil
3612
3613
		return false
3614
	end
3615
3616
	xpcall(CatchedPluginLoad, handlePluginError)
3617
3618
	if plugin ~= nil then
3619
		if not startup then
3620
			notify('Loaded Plugin',"Name: "..plugin["PluginName"].."\n".."Description: "..plugin["PluginDescription"])
3621
		end
3622
		addcmdtext('',val)
3623
		addcmdtext(string.upper('--'..plugin["PluginName"]),val,plugin["PluginDescription"])
3624
		for i,v in pairs(plugin["Commands"]) do 
3625
			local cmdExt = ''
3626
			local cmdName = i
3627
			local function handleNames()
3628
				cmdName = i
3629
				if findCmd(cmdName..cmdExt) then
3630
					if isNumber(cmdExt) then
3631
						cmdExt = cmdExt+1
3632
					else
3633
						cmdExt = 1
3634
					end
3635
					handleNames()
3636
				else
3637
					cmdName = cmdName..cmdExt
3638
				end
3639
			end
3640
			handleNames()
3641
			addcmd(cmdName, v["Aliases"], v["Function"], val)
3642
			if v["ListName"] then
3643
				local newName = v.ListName
3644
				local cmdNames = {i,unpack(v.Aliases)}
3645
				for i,v in pairs(cmdNames) do
3646
				    newName = newName:gsub(v,v..cmdExt)
3647
				end
3648
				addcmdtext(newName,val,v["Description"])
3649
			else
3650
				addcmdtext(cmdName,val,v["Description"])
3651
			end
3652
		end
3653
		IndexContents('',true)
3654
	elseif plugin == nil then
3655
		plugin = nil
3656
	end
3657
end
3658
3659
function FindPlugins()
3660
	if PluginsTable ~= nil and type(PluginsTable) == "table" then
3661
		for i,v in pairs(PluginsTable) do
3662
			LoadPlugin(v,true)
3663
		end
3664
		refreshplugins()
3665
	end
3666
end
3667
3668
PluginsGUI.AddPlugin.MouseButton1Click:connect(function()
3669
	if PluginsGUI.FileName.Text:lower() == 'plugin file name' or PluginsGUI.FileName.Text:lower() == 'iy_fe.iy' or PluginsGUI.FileName.Text == 'iy_fe' then
3670
		notify('Plugin Error','Please enter a valid plugin')
3671
	else
3672
		local file
3673
		local fileName
3674
		if PluginsGUI.FileName.Text:sub(-3) == '.iy' then
3675
			pcall(function() file = readfile(PluginsGUI.FileName.Text) end)
3676
			fileName = PluginsGUI.FileName.Text
3677
		else
3678
			pcall(function() file = readfile(PluginsGUI.FileName.Text..'.iy') end)
3679
			fileName = PluginsGUI.FileName.Text..'.iy'
3680
		end
3681
		if file then
3682
			if not FindInTable(PluginsTable, fileName) then
3683
				table.insert(PluginsTable, fileName)
3684
				LoadPlugin(fileName)
3685
				refreshplugins()
3686
			else
3687
				notify('Plugin Error','This plugin is already added')
3688
			end
3689
		else
3690
			notify('Plugin Error','Cannot locate file "'..fileName..'". Is the file in the correct folder?')
3691
		end
3692
	end
3693
end)
3694
3695
Exit_3.MouseButton1Click:connect(function()
3696
	PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
3697
	PluginsGUI.FileName.Text = 'Plugin File Name'
3698
end)
3699
3700
PluginsFrame.Add.MouseButton1Click:Connect(function()
3701
	PluginEditor:TweenPosition(UDim2.new(0.5, -180, 0, 250), "InOut", "Quart", 0.5, true, nil)
3702
end)
3703
3704
Settings.Plugins.Select.MouseButton1Click:Connect(function()
3705
	if writefileExploit() then
3706
		PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 0), "InOut", "Quart", 0.5, true, nil)
3707
		wait(0.5)
3708
		disablebuttons()
3709
	else
3710
		notify('Incompatible Exploit','Your exploit is unable to use plugins')
3711
	end
3712
end)
3713
3714
PluginsFrame.Close.MouseButton1Click:Connect(function()
3715
	enablebuttons()
3716
	PluginsFrame:TweenPosition(UDim2.new(0, 0, 0, 175), "InOut", "Quart", 0.5, true, nil)
3717
end)
3718
3719
addcmd('addalias',{},
3720
function(args,speaker)
3721
	if #args < 2 then return end
3722
	local cmd = string.lower(args[1])
3723
	local alias = string.lower(args[2])
3724
	for i,v in pairs(cmds) do
3725
		if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
3726
			customAlias[alias] = v
3727
			aliases[#aliases + 1] = {CMD = cmd, ALIAS = alias}
3728
			notify('Aliases Modified',"Added "..alias.." as an alias to "..cmd)
3729
			updatesaves()
3730
			refreshaliases()
3731
			break
3732
		end
3733
	end
3734
end)
3735
3736
addcmd('loadsavedaliases',{},
3737
function(args,speaker)
3738
    if #args < 2 then return end
3739
    local cmd = string.lower(args[1])
3740
    local alias = string.lower(args[2])
3741
    for i,v in pairs(cmds) do
3742
        if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
3743
            customAlias[alias] = v
3744
			refreshaliases()
3745
            break
3746
        end
3747
    end
3748
end)
3749
3750
if aliases then
3751
	for i = 1, #aliases do
3752
		execCmd('loadsavedaliases '..aliases[i].CMD..' '..aliases[i].ALIAS)
3753
	end
3754
end
3755
3756
addcmd('removealias',{},
3757
function(args,speaker)
3758
	if #args < 1 then return end
3759
	local alias = string.lower(args[1])
3760
	if customAlias[alias] then
3761
		local cmd = customAlias[alias].NAME
3762
		customAlias[alias] = nil
3763
		for i,v in pairs(aliases) do
3764
			if v.ALIAS == tostring(alias) then
3765
				table.remove(aliases, i)
3766
			end
3767
		end
3768
		notify('Aliases Modified',"Removed the alias "..alias.." from "..cmd)
3769
		updatesaves()
3770
		refreshaliases()
3771
	end
3772
end)
3773
3774
addcmd('clraliases',{},
3775
function(args,speaker)
3776
	customAlias = {}
3777
	aliases = {}
3778
	notify('Aliases Modified','Removed all aliases')
3779
	updatesaves()
3780
	refreshaliases()
3781
end)
3782
3783
addcmd('serverinfo',{'info','sinfo'},
3784
function(args, speaker)
3785
	local FRAME = Instance.new("Frame")
3786
	local shadow = Instance.new("Frame")
3787
	local PopupText = Instance.new("TextLabel")
3788
	local Exit = Instance.new("ImageButton")
3789
	local background = Instance.new("Frame")
3790
	local Dark = Instance.new("Frame")
3791
	local TextLabel = Instance.new("TextLabel")
3792
	local TextLabel2 = Instance.new("TextLabel")
3793
	local TextLabel3 = Instance.new("TextLabel")
3794
	local Time = Instance.new("TextLabel")
3795
	local appearance = Instance.new("TextLabel")
3796
	local maxplayers = Instance.new("TextLabel")
3797
	local name = Instance.new("TextLabel")
3798
	local placeid = Instance.new("TextLabel")
3799
	local playerid = Instance.new("TextLabel")
3800
	local players = Instance.new("TextLabel")
3801
	
3802
	FRAME.Name = randomString()
3803
	FRAME.Parent = PARENT
3804
	FRAME.Active = true
3805
	FRAME.BackgroundColor3 = Color3.new(1, 1, 1)
3806
	FRAME.BackgroundTransparency = 1
3807
	FRAME.Position = UDim2.new(0.5, -130, 0, -400)
3808
	FRAME.Size = UDim2.new(0, 250, 0, 20)
3809
	FRAME.ZIndex = 4
3810
	dragGUI(FRAME)
3811
	
3812
	shadow.Name = "shadow"
3813
	shadow.Parent = FRAME
3814
	shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
3815
	shadow.BorderColor3 = Color3.new(0, 0, 0)
3816
	shadow.BorderSizePixel = 0
3817
	shadow.Size = UDim2.new(0, 250, 0, 20)
3818
	shadow.ZIndex = 4
3819
	
3820
	PopupText.Name = "PopupText"
3821
	PopupText.Parent = shadow
3822
	PopupText.BackgroundTransparency = 1
3823
	PopupText.Position = UDim2.new(0, 38, 0, 0)
3824
	PopupText.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
3825
	PopupText.ZIndex = 4
3826
	PopupText.Font = Enum.Font.SourceSans
3827
	PopupText.TextSize = 20
3828
	PopupText.Text = "Server"
3829
	PopupText.TextColor3 = Color3.new(1, 1, 1)
3830
	PopupText.TextStrokeTransparency = 0
3831
	PopupText.TextWrapped = true
3832
	
3833
	Exit.Name = "Exit"
3834
	Exit.Parent = shadow
3835
	Exit.BackgroundColor3 = Color3.new(1, 1, 1)
3836
	Exit.BackgroundTransparency = 1
3837
	Exit.Size = UDim2.new(0, 20, 0, 20)
3838
	Exit.ZIndex = 4
3839
	Exit.Image = "rbxassetid://2132544126"
3840
	
3841
	background.Name = "background"
3842
	background.Parent = FRAME
3843
	background.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
3844
	background.BorderColor3 = Color3.new(0, 0, 0)
3845
	background.BorderSizePixel = 0
3846
	background.Position = UDim2.new(0, 0, 1, 0)
3847
	background.Size = UDim2.new(0, 250, 0, 250)
3848
	background.ZIndex = 4
3849
	
3850
	Dark.Name = "Dark"
3851
	Dark.Parent = background
3852
	Dark.Active = true
3853
	Dark.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
3854
	Dark.BackgroundTransparency = 0.5
3855
	Dark.BorderSizePixel = 0
3856
	Dark.Size = UDim2.new(0, 250, 0, 5)
3857
	Dark.ZIndex = 4
3858
	
3859
	TextLabel.Name = "Text Label"
3860
	TextLabel.Parent = background
3861
	TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
3862
	TextLabel.BackgroundTransparency = 1
3863
	TextLabel.BorderColor3 = Color3.new(0, 0, 0)
3864
	TextLabel.Position = UDim2.new(0, 5, 0, 80)
3865
	TextLabel.Size = UDim2.new(0, 100, 0, 20)
3866
	TextLabel.ZIndex = 10
3867
	TextLabel.Font = Enum.Font.SourceSansLight
3868
	TextLabel.TextSize = 20
3869
	TextLabel.Text = "Run Time:"
3870
	TextLabel.TextColor3 = Color3.new(1, 1, 1)
3871
	TextLabel.TextStrokeTransparency = 0
3872
	TextLabel.TextXAlignment = Enum.TextXAlignment.Left
3873
	
3874
	TextLabel2.Name = "Text Label2"
3875
	TextLabel2.Parent = background
3876
	TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
3877
	TextLabel2.BackgroundTransparency = 1
3878
	TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
3879
	TextLabel2.Position = UDim2.new(0, 5, 0, 130)
3880
	TextLabel2.Size = UDim2.new(0, 100, 0, 20)
3881
	TextLabel2.ZIndex = 10
3882
	TextLabel2.Font = Enum.Font.SourceSansLight
3883
	TextLabel2.TextSize = 20
3884
	TextLabel2.Text = "Statistics:"
3885
	TextLabel2.TextColor3 = Color3.new(1, 1, 1)
3886
	TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
3887
	
3888
	TextLabel3.Name = "Text Label3"
3889
	TextLabel3.Parent = background
3890
	TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
3891
	TextLabel3.BackgroundTransparency = 1
3892
	TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
3893
	TextLabel3.BorderSizePixel = 0
3894
	TextLabel3.Position = UDim2.new(0, 5, 0, 10)
3895
	TextLabel3.Size = UDim2.new(0, 100, 0, 20)
3896
	TextLabel3.ZIndex = 10
3897
	TextLabel3.Font = Enum.Font.SourceSansLight
3898
	TextLabel3.TextSize = 20
3899
	TextLabel3.Text = "Local Player:"
3900
	TextLabel3.TextColor3 = Color3.new(1, 1, 1)
3901
	TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
3902
	
3903
	Time.Name = "Time"
3904
	Time.Parent = background
3905
	Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
3906
	Time.BackgroundTransparency = 1
3907
	Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3908
	Time.Position = UDim2.new(0, 5, 0, 105)
3909
	Time.Size = UDim2.new(0, 100, 0, 20)
3910
	Time.ZIndex = 10
3911
	Time.Font = Enum.Font.SourceSans
3912
	Time.FontSize = Enum.FontSize.Size14
3913
	Time.Text = "LOADING"
3914
	Time.TextColor3 = Color3.new(1, 1, 1)
3915
	Time.TextXAlignment = Enum.TextXAlignment.Left
3916
	
3917
	appearance.Name = "appearance"
3918
	appearance.Parent = background
3919
	appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
3920
	appearance.BackgroundTransparency = 1
3921
	appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3922
	appearance.Position = UDim2.new(0, 5, 0, 55)
3923
	appearance.Size = UDim2.new(0, 100, 0, 20)
3924
	appearance.ZIndex = 10
3925
	appearance.Font = Enum.Font.SourceSans
3926
	appearance.FontSize = Enum.FontSize.Size14
3927
	appearance.Text = "Appearance: LOADING"
3928
	appearance.TextColor3 = Color3.new(1, 1, 1)
3929
	appearance.TextXAlignment = Enum.TextXAlignment.Left
3930
	
3931
	maxplayers.Name = "maxplayers"
3932
	maxplayers.Parent = background
3933
	maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
3934
	maxplayers.BackgroundTransparency = 1
3935
	maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3936
	maxplayers.Position = UDim2.new(0, 5, 0, 175)
3937
	maxplayers.Size = UDim2.new(0, 100, 0, 20)
3938
	maxplayers.ZIndex = 10
3939
	maxplayers.Font = Enum.Font.SourceSans
3940
	maxplayers.FontSize = Enum.FontSize.Size14
3941
	maxplayers.Text = "LOADING"
3942
	maxplayers.TextColor3 = Color3.new(1, 1, 1)
3943
	maxplayers.TextXAlignment = Enum.TextXAlignment.Left
3944
	
3945
	name.Name = "name"
3946
	name.Parent = background
3947
	name.BackgroundColor3 = Color3.new(0, 0.8, 1)
3948
	name.BackgroundTransparency = 1
3949
	name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3950
	name.Position = UDim2.new(0, 5, 0, 215)
3951
	name.Size = UDim2.new(0, 240, 0, 30)
3952
	name.ZIndex = 10
3953
	name.Font = Enum.Font.SourceSans
3954
	name.FontSize = Enum.FontSize.Size14
3955
	name.Text = "Place Name: LOADING"
3956
	name.TextColor3 = Color3.new(1, 1, 1)
3957
	name.TextWrapped = true
3958
	name.TextXAlignment = Enum.TextXAlignment.Left
3959
	name.TextYAlignment = Enum.TextYAlignment.Top
3960
	
3961
	placeid.Name = "placeid"
3962
	placeid.Parent = background
3963
	placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
3964
	placeid.BackgroundTransparency = 1
3965
	placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3966
	placeid.Position = UDim2.new(0, 5, 0, 195)
3967
	placeid.Size = UDim2.new(0, 100, 0, 20)
3968
	placeid.ZIndex = 10
3969
	placeid.Font = Enum.Font.SourceSans
3970
	placeid.FontSize = Enum.FontSize.Size14
3971
	placeid.Text = "Place ID: LOADING"
3972
	placeid.TextColor3 = Color3.new(1, 1, 1)
3973
	placeid.TextXAlignment = Enum.TextXAlignment.Left
3974
	
3975
	playerid.Name = "playerid"
3976
	playerid.Parent = background
3977
	playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
3978
	playerid.BackgroundTransparency = 1
3979
	playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3980
	playerid.Position = UDim2.new(0, 5, 0, 35)
3981
	playerid.Size = UDim2.new(0, 100, 0, 20)
3982
	playerid.ZIndex = 10
3983
	playerid.Font = Enum.Font.SourceSans
3984
	playerid.FontSize = Enum.FontSize.Size14
3985
	playerid.Text = "Player ID: LOADING"
3986
	playerid.TextColor3 = Color3.new(1, 1, 1)
3987
	playerid.TextXAlignment = Enum.TextXAlignment.Left
3988
	
3989
	players.Name = "players"
3990
	players.Parent = background
3991
	players.BackgroundColor3 = Color3.new(0, 0.8, 1)
3992
	players.BackgroundTransparency = 1
3993
	players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
3994
	players.Position = UDim2.new(0, 5, 0, 155)
3995
	players.Size = UDim2.new(0, 100, 0, 20)
3996
	players.ZIndex = 10
3997
	players.Font = Enum.Font.SourceSans
3998
	players.FontSize = Enum.FontSize.Size14
3999
	players.Text = "LOADING"
4000
	players.TextColor3 = Color3.new(1, 1, 1)
4001
	players.TextXAlignment = Enum.TextXAlignment.Left
4002
	
4003
	local SINFOGUI = background
4004
	FRAME:TweenPosition(UDim2.new(0.5, -130, 0, 100), "InOut", "Quart", 0.5, true, nil) 
4005
	wait(0.5)
4006
	Exit.MouseButton1Click:Connect(function()
4007
		FRAME:TweenPosition(UDim2.new(0.5, -130, 0, -400), "InOut", "Quart", 0.5, true, nil) 
4008
		wait(0.6)
4009
		FRAME:Destroy()
4010
	end)
4011
	local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
4012
	SINFOGUI.name.Text = "Place Name: " .. Asset.Name
4013
	SINFOGUI.playerid.Text = "Player ID: " ..Players.LocalPlayer.UserId
4014
	SINFOGUI.maxplayers.Text = Players.MaxPlayers.. " Players Max"
4015
	SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId
4016
	repeat
4017
		players = Players:getPlayers()
4018
		SINFOGUI.players.Text = #players.. " Player(s)"
4019
		SINFOGUI.appearance.Text = "Appearance: " ..Players.LocalPlayer.CharacterAppearanceId
4020
		local seconds = math.floor(workspace.DistributedGameTime)
4021
		local minutes = math.floor(workspace.DistributedGameTime / 60)
4022
		local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
4023
		local seconds = seconds - (minutes * 60)
4024
	local minutes = minutes - (hours * 60)
4025
		if hours < 1 then if minutes < 1 then
4026
			SINFOGUI.Time.Text = seconds .. " Second(s)" else
4027
			SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)"
4028
		end
4029
		else
4030
			SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
4031
		end
4032
		wait(1)
4033
	until SINFOGUI.Parent == nil
4034
end)
4035
4036
addcmd('breakloops',{'break'},
4037
function(args, speaker)
4038
	lastBreakTime = tick()
4039
end)
4040
4041
addcmd('rejoin',{'rj'},
4042
function(args, speaker)
4043
	game:GetService('TeleportService'):Teleport(game.PlaceId)
4044
end)
4045
4046
addcmd('exit',{},
4047
function(args, speaker)
4048
	game:shutdown() 
4049
end)
4050
4051
runningnoclip = false
4052
Clip = true
4053
addcmd('noclip',{},
4054
function(args, speaker)
4055
Clip = false
4056
	wait(0.1)
4057
	if runningnoclip == false then runningnoclip = true
4058
	game:GetService('RunService').Stepped:connect(function ()
4059
	if Clip == false and Players.LocalPlayer.Character ~= nil then
4060
    for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
4061
	if child:IsA("BasePart") and child.CanCollide == true then
4062
    child.CanCollide = false
4063
	end end end end) end
4064
end)
4065
4066
addcmd('clip',{'unnoclip'},
4067
function(args, speaker)
4068
	Clip = true
4069
end)
4070
4071
addcmd('togglenoclip',{},
4072
function(args, speaker)
4073
	if Clip then
4074
		execCmd('noclip')
4075
	else
4076
		execCmd('clip')
4077
	end
4078
end)
4079
4080
FLYING = false
4081
iyflyspeed = 1
4082
function sFLY()
4083
	repeat wait() until Players.LocalPlayer and Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and Players.LocalPlayer.Character:FindFirstChild('Humanoid')
4084
	repeat wait() until IYMouse
4085
	
4086
	local T = Players.LocalPlayer.Character.HumanoidRootPart
4087
	local CONTROL = {F = 0, B = 0, L = 0, R = 0}
4088
	local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
4089
	local SPEED = 0
4090
	
4091
	local function FLY()
4092
		FLYING = true
4093
		local BG = Instance.new('BodyGyro', T)
4094
		local BV = Instance.new('BodyVelocity', T)
4095
		BG.P = 9e4
4096
		BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
4097
		BG.cframe = T.CFrame
4098
		BV.velocity = Vector3.new(0, 0, 0)
4099
		BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
4100
		spawn(function()
4101
		repeat wait()
4102
		Players.LocalPlayer.Character.Humanoid.PlatformStand = true
4103
		if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
4104
		SPEED = 50
4105
		elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
4106
		SPEED = 0
4107
		end
4108
if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
4109
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
4110
lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
4111
elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
4112
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
4113
else
4114
BV.velocity = Vector3.new(0, 0, 0)
4115
end
4116
	BG.cframe = workspace.CurrentCamera.CoordinateFrame
4117
			until not FLYING
4118
			CONTROL = {F = 0, B = 0, L = 0, R = 0}
4119
			lCONTROL = {F = 0, B = 0, L = 0, R = 0}
4120
			SPEED = 0
4121
			BG:destroy()
4122
			BV:destroy()
4123
			Players.LocalPlayer.Character.Humanoid.PlatformStand = false
4124
		end)
4125
	end
4126
	IYMouse.KeyDown:connect(function(KEY)
4127
		if KEY:lower() == 'w' then
4128
			CONTROL.F = iyflyspeed
4129
		elseif KEY:lower() == 's' then
4130
			CONTROL.B = -iyflyspeed
4131
		elseif KEY:lower() == 'a' then
4132
			CONTROL.L = -iyflyspeed 
4133
		elseif KEY:lower() == 'd' then 
4134
			CONTROL.R = iyflyspeed
4135
		end
4136
	end)
4137
	IYMouse.KeyUp:connect(function(KEY)
4138
		if KEY:lower() == 'w' then
4139
			CONTROL.F = 0
4140
		elseif KEY:lower() == 's' then
4141
			CONTROL.B = 0
4142
		elseif KEY:lower() == 'a' then
4143
			CONTROL.L = 0
4144
		elseif KEY:lower() == 'd' then
4145
			CONTROL.R = 0
4146
		end
4147
	end)
4148
	FLY()
4149
end
4150
4151
function NOFLY()
4152
	FLYING = false
4153
	Players.LocalPlayer.Character.Humanoid.PlatformStand = false
4154
end
4155
4156
addcmd('fly',{},
4157
function(args, speaker)
4158
	sFLY()
4159
end)
4160
4161
addcmd('flyspeed',{'flysp'},
4162
function(args, speaker)
4163
	if isNumber(args[1]) then
4164
		iyflyspeed = args[1]
4165
	end
4166
end)
4167
4168
addcmd('unfly',{'nofly'},
4169
function(args, speaker)
4170
	NOFLY()
4171
end)
4172
4173
addcmd('togglefly',{},
4174
function(args, speaker)
4175
	if FLYING then
4176
		NOFLY()
4177
	else
4178
		sFLY()
4179
	end
4180
end)
4181
4182
Floating = false
4183
addcmd('float', {},
4184
function(args,speaker)
4185
	Floating = true
4186
	local pchar = Players.LocalPlayer.Character
4187
	if pchar and not pchar:FindFirstChild("Float") then
4188
		spawn(function()
4189
			local Float = Instance.new('Part', pchar)
4190
			Float.Name = 'Float'
4191
			Float.Transparency = 1
4192
			Float.Size = Vector3.new(6,1,6)
4193
			Float.Anchored = true
4194
			Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
4195
			notify('Float','Float Enabled')
4196
			spawn(function()
4197
				while wait(0.1) do
4198
					if pchar:FindFirstChild("Float") then
4199
						Float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
4200
					else
4201
						break
4202
					end
4203
				end
4204
			end)
4205
		end)
4206
	end
4207
end)
4208
4209
addcmd('unfloat',{'nofloat'},
4210
function(args, speaker)
4211
	Floating = false
4212
	local pchar = Players.LocalPlayer.Character
4213
	notify('Float','Float Disabled')
4214
	if pchar:FindFirstChild("Float") then
4215
		pchar.Float:Destroy()
4216
	end
4217
end)
4218
4219
addcmd('togglefloat',{},
4220
function(args, speaker)
4221
	if Floating then
4222
		execCmd('unfloat')
4223
	else
4224
		execCmd('float')
4225
	end
4226
end)
4227
4228
addcmd('savepos',{'spos','saveposition','setwaypoint'},
4229
function(args, speaker)
4230
	local WPName = tostring(getstring(1))
4231
	if speaker.Character:findFirstChild("HumanoidRootPart") then
4232
		notify('Modified Waypoints',"Created waypoint: "..getstring(1))
4233
		local torso = speaker.Character:findFirstChild("HumanoidRootPart")
4234
		WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
4235
	end	
4236
	refreshwaypoints()
4237
	updatesaves()
4238
end)
4239
4240
addcmd('deletepos',{'dpos','deleteposition','deletewaypoint'},
4241
function(args, speaker)
4242
	for i,v in pairs(WayPoints) do
4243
		if v.NAME == tostring(getstring(1)) then
4244
			notify('Modified Waypoints',"Deleted waypoint: " .. v.NAME)
4245
			table.remove(WayPoints, i)
4246
		end
4247
	end
4248
	refreshwaypoints()
4249
	updatesaves()
4250
end)
4251
4252
addcmd('clearpos',{'clrpositions','clearpositions','cpos','clrpos'},
4253
function(args, speaker)
4254
	WayPoints = {}
4255
	refreshwaypoints()
4256
	updatesaves()
4257
	notify('Modified Waypoints','Removed all waypoints')
4258
end)
4259
4260
addcmd('loadpos',{'lpos','loadposition','waypoint'},
4261
function(args, speaker)
4262
	local WPName = tostring(getstring(1))
4263
	if Players.LocalPlayer.Character then
4264
		for i,_ in pairs(WayPoints) do
4265
			local x = WayPoints[i].COORD[1]
4266
			local y = WayPoints[i].COORD[2]
4267
			local z = WayPoints[i].COORD[3]
4268
			if tostring(WayPoints[i].NAME) == tostring(WPName) then
4269
				Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
4270
			end
4271
		end
4272
	end
4273
end)
4274
4275
addcmd('esp',{},
4276
function(args, speaker)
4277
	if not CHMSenabled then
4278
		ESPenabled = true
4279
		for i,v in pairs(Players:GetChildren()) do
4280
			if v.ClassName == "Player" and v.Name ~= Players.LocalPlayer.Name then
4281
				ESP(v)
4282
			end
4283
		end
4284
	else
4285
		notify('ESP','Disable chams (nochams) before using esp')
4286
	end
4287
end)
4288
4289
addcmd('noesp',{'unesp'},
4290
function(args, speaker)
4291
	ESPenabled = false
4292
	for i,v in pairs(Players:GetChildren()) do
4293
		local espplr = v
4294
		for i,c in pairs(PARENT:GetChildren()) do
4295
			if c.Name == espplr.Name..'_ESP' then
4296
				c:Destroy()
4297
			end
4298
		end
4299
	end
4300
end)
4301
4302
addcmd('chams',{},
4303
function(args, speaker)
4304
	if not ESPenabled then
4305
		CHMSenabled = true
4306
		for i,v in pairs(Players:GetChildren()) do
4307
			if v.ClassName == "Player" and v.Name ~= Players.LocalPlayer.Name then
4308
				CHMS(v)
4309
			end
4310
		end
4311
		else
4312
		notify('Chams','Disable ESP (noesp) before using chams')
4313
	end
4314
end)
4315
4316
addcmd('nochams',{'unchams'},
4317
function(args, speaker)
4318
	CHMSenabled = false
4319
	for i,v in pairs(Players:GetChildren()) do
4320
		local chmsplr = v
4321
		for i,c in pairs(PARENT:GetChildren()) do
4322
			if c.Name == chmsplr.Name..'_CHMS' then
4323
				c:Destroy()
4324
			end
4325
		end
4326
	end
4327
end)
4328
4329
addcmd('locate',{},
4330
function(args, speaker)
4331
	local players = getPlayer(args[1], speaker)
4332
	for i,v in pairs(players) do
4333
		Locate(Players[v])
4334
	end
4335
end)
4336
4337
addcmd('nolocate',{'unlocate'},
4338
function(args, speaker)
4339
	local players = getPlayer(args[1], speaker)
4340
	for i,v in pairs(players) do
4341
		for i,c in pairs(PARENT:GetChildren()) do
4342
			if c.Name == Players[v].Name..'_LC' then
4343
				c:Destroy()
4344
			end
4345
		end
4346
	end
4347
end)
4348
4349
addcmd('view',{'spectate'},
4350
function(args, speaker)
4351
	local players = getPlayer(args[1], speaker)
4352
	for i,v in pairs(players) do
4353
		workspace.CurrentCamera.CameraSubject = Players[v].Character
4354
		notify('Spectate','Viewing ' .. Players[v].Name)
4355
	end
4356
end)
4357
4358
addcmd('unview',{'unspectate'},
4359
function()
4360
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
4361
	notify('Spectate','View turned off')
4362
end)
4363
4364
local fa = false
4365
local cam = workspace.CurrentCamera
4366
local cam1 = 0
4367
local cam2 = 0
4368
local cam3 = 0
4369
local k1 = false
4370
local k2 = false
4371
local k3 = false
4372
local k4 = false
4373
local k5 = false
4374
local k6 = false
4375
cs = 0.5
4376
function movecam()
4377
	local fc = Players.LocalPlayer.Character:FindFirstChild('xFC')
4378
	if fa == false then
4379
		repeat
4380
			if Players.LocalPlayer.Character:FindFirstChild('xFC') then
4381
				local fp = fc.Position
4382
				fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
4383
				fa = true
4384
				Players.LocalPlayer.Character.Head.Anchored = true
4385
			end
4386
			game:GetService('RunService').RenderStepped:Wait()
4387
		until not Players.LocalPlayer.Character:FindFirstChild('xFC')
4388
		fa = false
4389
	end
4390
end
4391
function kp1(inputObject, gameProcessedEvent)
4392
	if not gameProcessedEvent and Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild('xFC') then
4393
		if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
4394
			k1 = true
4395
			cam1 = cs end
4396
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
4397
			k2 = true
4398
			cam1 = (cs*-1) end
4399
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
4400
			k3 = true
4401
			cam2 = cs end
4402
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
4403
			k4 = true
4404
			cam2 = (cs*-1) end
4405
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
4406
			k5 = true
4407
			cam3 = cs end
4408
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
4409
			k6 = true
4410
			cam3 = (cs*-1) end
4411
	end
4412
end
4413
UserInputService.InputBegan:connect(kp1)
4414
function kp2(inputObject, gameProcessedEvent)
4415
	if not gameProcessedEvent and Players.LocalPlayer.Character and Players.LocalPlayer.Character:FindFirstChild('xFC') then
4416
		if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
4417
			k1 = false
4418
			if k2 == false then
4419
				cam1 = 0
4420
			end
4421
		end
4422
		if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
4423
			k2 = false
4424
			if k1 == false then
4425
				cam1 = 0
4426
			end
4427
		end
4428
		if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
4429
			k3= false
4430
			if k4== false then
4431
				cam2 = 0
4432
			end
4433
		end
4434
		if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
4435
			k4 = false
4436
			if k3 == false then
4437
				cam2 = 0
4438
			end
4439
		end
4440
		if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
4441
			k5 = false
4442
			if k6 == false then
4443
				cam3 = 0
4444
			end
4445
		end
4446
		if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
4447
			k6 = false
4448
			if k5 == false then
4449
				cam3 = 0
4450
			end
4451
		end
4452
	end
4453
end
4454
UserInputService.InputEnded:connect(kp2)
4455
fcEnabled = false
4456
function FC()
4457
	if not Players.LocalPlayer.Character:FindFirstChild('xFC') then
4458
		local fc = Instance.new('Part',Players.LocalPlayer.Character)
4459
		fc.CanCollide = false
4460
		fc.Anchored = true
4461
		fc.Transparency = 1
4462
		fc.Size = Vector3.new(1,1,1)
4463
		fc.Name = 'xFC'
4464
		fc.CFrame = Players.LocalPlayer.Character.Head.CFrame
4465
		local cam = workspace.CurrentCamera
4466
		cam.CameraSubject = fc
4467
		cam.CameraType = 'Custom'
4468
		movecam()
4469
	end
4470
end
4471
function UFC()
4472
	if Players.LocalPlayer.Character:FindFirstChild('xFC') then
4473
		Players.LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
4474
		local cam = workspace.CurrentCamera
4475
		cam.CameraSubject = Players.LocalPlayer.Character.Humanoid
4476
		cam.CameraType = 'Custom'
4477
		Players.LocalPlayer.Character.Head.Anchored = false
4478
	end
4479
end
4480
4481
addcmd('freecam',{'fc'},
4482
function(args, speaker)
4483
	FC()
4484
end)
4485
4486
addcmd('fixcam',{},
4487
function(args, speaker)
4488
	UFC()
4489
	workspace.CurrentCamera:remove()
4490
	wait(.1)
4491
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character.Humanoid
4492
	workspace.CurrentCamera.CameraType = "Custom"
4493
	Players.LocalPlayer.CameraMinZoomDistance = 0.5
4494
	Players.LocalPlayer.CameraMaxZoomDistance = 400
4495
	Players.LocalPlayer.CameraMode = "Classic"
4496
	Players.LocalPlayer.Character.Head.Anchored = false
4497
end)
4498
4499
addcmd('unfreecam',{'nofreecam','unfc','nofc'},
4500
function(args, speaker)
4501
	UFC()
4502
end)
4503
4504
addcmd('freecamspeed',{'fcspeed'},
4505
function(args, speaker)
4506
	if isNumber(args[1]) then
4507
		cs = args[1]
4508
	end
4509
end)
4510
4511
addcmd('firstp',{},
4512
function(args, speaker)
4513
	Players.LocalPlayer.CameraMode = "LockFirstPerson"
4514
end)
4515
4516
addcmd('thirdp',{},
4517
function(args, speaker)
4518
	Players.LocalPlayer.CameraMode = "Classic"
4519
end)
4520
4521
addcmd('maxzoom',{},
4522
function(args, speaker)
4523
	Players.LocalPlayer.CameraMaxZoomDistance = args[1]
4524
end)
4525
4526
addcmd('unlockws',{'unlockworkspace'},
4527
function(args, speaker)
4528
	notify('Workspace Modified','Workspace unlocked')
4529
	wait(1)
4530
    local function unlock(instance) 
4531
        for i,v in pairs(instance:GetChildren()) do
4532
            if v:IsA("BasePart") then
4533
                v.Locked = false
4534
            end
4535
            unlock(v)
4536
        end
4537
    end
4538
    unlock(workspace)
4539
end)
4540
4541
addcmd('lockws',{'lockworkspace'},
4542
function(args, speaker)
4543
	notify('Workspace Modified','Workspace locked')
4544
	wait(1)
4545
    local function lock(instance) 
4546
        for i,v in pairs(instance:GetChildren()) do
4547
            if v:IsA("BasePart") then
4548
                v.Locked = true
4549
            end
4550
            lock(v)
4551
        end
4552
    end
4553
    lock(workspace)
4554
end)
4555
4556
addcmd('delete',{'remove'},
4557
function(args, speaker)
4558
	part = getstring(1)
4559
    local function dels(instance)
4560
        for i,v in pairs(instance:GetChildren())do
4561
            if v.Name:lower() == part:lower() then v:Destroy() end
4562
            dels(v)
4563
        end
4564
    end
4565
    dels(workspace)
4566
notify('Item(s) Deleted','Deleted ' ..getstring(1))
4567
end)
4568
4569
addcmd('deleteclass',{'removeclass','deleteclassname','removeclassname','dc'},
4570
function(args, speaker)
4571
	part = getstring(1)
4572
    local function dels(instance)
4573
        for i,v in pairs(instance:GetChildren())do
4574
            if v.ClassName:lower() == part:lower() then v:Destroy() end
4575
            dels(v)
4576
        end
4577
    end
4578
    dels(workspace)
4579
notify('Item(s) Deleted','Deleted items with ClassName ' ..getstring(1))
4580
end)
4581
4582
addcmd('btools',{},
4583
function(args, speaker)
4584
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 1
4585
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 2
4586
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 3
4587
	Instance.new("HopperBin", Players.LocalPlayer.Backpack).BinType = 4
4588
end)
4589
4590
addcmd('f3x',{'fex'},
4591
function(args, speaker)
4592
	loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
4593
end)
4594
4595
addcmd('age',{},
4596
function(args, speaker)
4597
	local players = getPlayer(args[1], speaker)
4598
	for i,v in pairs(players) do
4599
		local players = getPlayer(args[1], speaker)
4600
		local ages = {}
4601
		for i,v in pairs(players) do
4602
			local p = Players[v]
4603
			table.insert(ages, p.Name.."'s age is: "..p.AccountAge)
4604
		end
4605
    notify('Account Age',table.concat(ages, ',\n'))
4606
	end
4607
end)
4608
4609
addcmd('os',{'platform', 'device'},
4610
function(args, speaker)
4611
	local players = getPlayer(args[1], speaker)
4612
	local platforms = {}
4613
	for i,v in pairs(players) do
4614
		local p = Players[v]
4615
		table.insert(platforms, p.Name.."'s platform is: "..p.OsPlatform)
4616
	end
4617
	notify('OS',table.concat(platforms, ',\n'))
4618
end)
4619
4620
addcmd('goto',{'to'},
4621
function(args, speaker)
4622
	local players = getPlayer(args[1], speaker)
4623
	for i,v in pairs(players)do
4624
		if Players[v].Character ~= nil then
4625
			if speaker.Character:FindFirstChild("HumanoidRootPart") then
4626
				speaker.Character.Humanoid.Jump = true
4627
			end
4628
			speaker.Character.HumanoidRootPart.CFrame = Players[v].Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
4629
		end
4630
	end
4631
end)
4632
4633
bringT = {}
4634
addcmd('loopbring',{},
4635
function(args, speaker)
4636
	local players = getPlayer(args[1], speaker)
4637
	for i,v in pairs(players)do
4638
		spawn(function()
4639
			if Players[v].Name ~= Players.LocalPlayer.Name and not FindInTable(bringT, Players[v].Name) then
4640
				table.insert(bringT, Players[v].Name)
4641
				local pchar=Players[v].Character
4642
				pchar.Humanoid.Jump = true
4643
				repeat wait()
4644
				pchar = Players[v].Character
4645
				for i,c in pairs(players) do
4646
					if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
4647
						pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(3,1,0)
4648
					end
4649
				end
4650
				until not FindInTable(bringT, Players[v].Name)
4651
			end
4652
		end)
4653
	end
4654
end)
4655
4656
addcmd('unloopbring',{'noloopbring'},
4657
function(args, speaker)
4658
	local players = getPlayer(args[1], speaker)
4659
	for i,v in pairs(players)do
4660
		spawn(function()
4661
			for a,b in pairs(bringT) do if b == Players[v].Name then table.remove(bringT, a) end end
4662
		end)
4663
	end
4664
end)
4665
4666
addcmd('freeze',{'fr'},
4667
function(args, speaker)
4668
	local players = getPlayer(args[1], speaker)
4669
	if players ~= nil then
4670
		for i, v in pairs(players) do
4671
			spawn(function()
4672
				for i, x in next, Players[v].Character:GetDescendants() do
4673
					if x:IsA("Part") and not x.Anchored then
4674
						x.Anchored = true
4675
					end
4676
				end
4677
			end)
4678
		end
4679
	end
4680
end)
4681
4682
addcmd('thaw',{'unfreeze','unfr'},
4683
function(args, speaker)
4684
	local players = getPlayer(args[1], speaker)
4685
	if players ~= nil then
4686
		for i, v in pairs(players) do
4687
			spawn(function()
4688
				for i, x in next, Players[v].Character:GetDescendants() do
4689
					if x:IsA("Part") and x.Anchored then
4690
						x.Anchored = false
4691
					end
4692
				end
4693
			end)
4694
		end
4695
	end
4696
end)
4697
4698
addcmd('kill',{'fekill'},
4699
function(args, speaker)
4700
	local players = getPlayer(args[1], speaker)
4701
	for i,v in pairs(players)do
4702
		-- Full credit to CyclicaIIy @V3rmillion Cyclically#4905 @Discord
4703
		local target = Players[v]
4704
		local torsoname = "Torso"
4705
		if Players.LocalPlayer.Character:FindFirstChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
4706
		    torsoname = "UpperTorso"
4707
		end
4708
		if target.Character ~= nil then
4709
		    local savepos =Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame
4710
		    Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = true
4711
		    local tool = Instance.new("Tool", Players.LocalPlayer.Backpack)
4712
		    local hat = Players.LocalPlayer.Character:FindFirstChildOfClass("Accessory")
4713
		    local hathandle = hat.Handle
4714
		    hathandle.Parent = tool
4715
		    hathandle.Massless = true
4716
		    tool.GripPos = Vector3.new(0, 9e99, 0)
4717
		    tool.Parent = Players.LocalPlayer.Character
4718
		    repeat wait() until Players.LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
4719
		    tool.Grip = CFrame.new(Vector3.new(0, 0, 0))
4720
		    Players.LocalPlayer.Character:FindFirstChild(torsoname).Anchored = false
4721
		    repeat
4722
		        Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = target.Character:FindFirstChild("HumanoidRootPart").CFrame
4723
		        wait()
4724
		    until target.Character == nil or target.Character:FindFirstChild("Humanoid").Health <= 0 or Players.LocalPlayer.Character == nil or Players.LocalPlayer.Character:FindFirstChild("Humanoid").Health <= 0 or (target.Character:FindFirstChild("HumanoidRootPart").Velocity.magnitude - target.Character:FindFirstChild("Humanoid").WalkSpeed) > (target.Character:FindFirstChild("Humanoid").WalkSpeed + 20)
4725
		    Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
4726
		    hathandle.Parent = hat
4727
		    hathandle.Massless = false
4728
		    tool:Destroy()
4729
		   Players. LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = savepos
4730
		end
4731
	end
4732
end)
4733
4734
addcmd('bring',{'febring'},
4735
function(args, speaker)
4736
	local players = getPlayer(args[1], speaker)
4737
	if tools(Players.LocalPlayer) then
4738
		for i,v in pairs(players)do
4739
			-- Full credit to CyclicaIIy @V3rmillion
4740
			local LocalPlayer = Players.LocalPlayer
4741
			local ran1 = false
4742
			local equipped = false
4743
			local savepos = LocalPlayer.Character.HumanoidRootPart.CFrame
4744
			local target = Players[v]
4745
			if #LocalPlayer.Backpack:GetChildren() < 2 then
4746
				repeat
4747
					for _, tool in pairs(LocalPlayer.Backpack:GetChildren()) do
4748
						if tool:IsA("Tool") then
4749
							tool.Parent = LocalPlayer
4750
						end
4751
					end
4752
					LocalPlayer.Character:ClearAllChildren()
4753
					local char = Instance.new("Model", workspace)
4754
					char.Name = "character"
4755
					Instance.new("Part", char).Name = "Torso";
4756
					Instance.new("Part", char).Name = "Head";
4757
					Instance.new("Humanoid", char).Name = "Humanoid";
4758
					LocalPlayer.Character = char
4759
					repeat wait() until LocalPlayer.Character
4760
				until #LocalPlayer:GetChildren() - 4 >= 2
4761
				for _, char in pairs(workspace:GetChildren()) do
4762
					if char.Name == "character" and char:IsA("Model") then
4763
						char:Destroy()
4764
					end
4765
				end
4766
				repeat wait() until LocalPlayer.Character:FindFirstChild('HumanoidRootPart')
4767
				for _, tool in pairs(LocalPlayer:GetChildren()) do
4768
				if tool:IsA("Tool") then
4769
						tool.Parent = LocalPlayer.Backpack
4770
					end
4771
				end
4772
				LocalPlayer.Character.HumanoidRootPart.CFrame = savepos
4773
			end
4774
			LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
4775
			LocalPlayer.Backpack:FindFirstChildOfClass("Tool").Parent = LocalPlayer.Character
4776
			local tool = LocalPlayer.Character:FindFirstChildOfClass("Tool")
4777
			tool.Parent = workspace
4778
			local attacher = LocalPlayer.Character:FindFirstChildOfClass("Tool")
4779
			attacher.Parent = workspace
4780
			LocalPlayer.Character.Humanoid:EquipTool(tool)
4781
			repeat wait() until LocalPlayer.Character:FindFirstChildOfClass("Tool") ~= nil
4782
			LocalPlayer.Character.Humanoid:UnequipTools()
4783
			attacher.AncestryChanged:connect(function()
4784
				if ran1 == false then
4785
					ran1 = true
4786
					equipped = true
4787
				end
4788
			end)
4789
			local anim = Instance.new("Animation")
4790
			anim.AnimationId = "rbxassetid://188632011"
4791
			local loadanim = LocalPlayer.Character.Humanoid:LoadAnimation(anim)
4792
			loadanim.Looped = true
4793
			loadanim:Play()
4794
			repeat
4795
				target.Character.HumanoidRootPart.CFrame = CFrame.new(LocalPlayer.Character.HumanoidRootPart.Position + LocalPlayer.Character.HumanoidRootPart.CFrame.lookVector * 2 + LocalPlayer.Character.HumanoidRootPart.CFrame.rightVector * 2)
4796
				wait()
4797
			until equipped == true
4798
			loadanim:Stop()
4799
			anim:Destroy()
4800
			LocalPlayer.Character.Humanoid:EquipTool(tool)
4801
			wait()
4802
			LocalPlayer.Character.Humanoid:UnequipTools()
4803
		end
4804
	else
4805
		notify('Tool Required','You need to have a tool to use this command')
4806
	end
4807
end)
4808
4809
oofing = false
4810
addcmd('loopoof',{},
4811
function(args, speaker)
4812
	oofing = true
4813
	repeat wait(0.01)
4814
		for i,v in pairs(Players:GetPlayers()) do
4815
			if v.Character ~= nil and v.Character:FindFirstChild'Head' then
4816
				for _,x in pairs(v.Character.Head:GetChildren()) do
4817
					if x:IsA'Sound' then x.Playing = true end
4818
				end
4819
			end
4820
		end
4821
	until oofing == false
4822
end)
4823
4824
addcmd('unloopoof',{},
4825
function(args, speaker)
4826
	oofing = false
4827
end)
4828
4829
addcmd('respawn',{'ungod'},
4830
function(args, speaker)
4831
	respawn(Players.LocalPlayer)
4832
end)
4833
4834
addcmd('refresh',{'re'},
4835
function(args, speaker)
4836
	refresh(Players.LocalPlayer)
4837
end)
4838
4839
addcmd('god',{''},
4840
function(args, speaker)
4841
	Players.LocalPlayer.Character.Humanoid.Name = 1
4842
	local l = Players.LocalPlayer.Character["1"]:Clone()
4843
	l.Parent = Players.LocalPlayer.Character
4844
	l.Name = "Humanoid"
4845
	wait(0.1)
4846
	Players.LocalPlayer.Character["1"]:Destroy()
4847
	workspace.CurrentCamera.CameraSubject = Players.LocalPlayer.Character
4848
	Players.LocalPlayer.Character.Animate.Disabled = true
4849
	wait(0.1)
4850
	Players.LocalPlayer.Character.Animate.Disabled = false
4851
	Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
4852
end)
4853
4854
addcmd('invisible',{'invis'},
4855
function(args, speaker)
4856
-- Full credit to Elite1337#9377 & Timeless#4044 @Discord
4857
local function CheckRig()
4858
	if Players.LocalPlayer.Character then
4859
		local Humanoid = Players.LocalPlayer.Character:WaitForChild('Humanoid')
4860
		if Humanoid.RigType == Enum.HumanoidRigType.R15 then
4861
			return 'R15'
4862
		else
4863
			return 'R6'
4864
		end
4865
	end
4866
end
4867
local function InitiateInvis()
4868
	local Character = Players.LocalPlayer.Character
4869
	local StoredCF = Character.PrimaryPart.CFrame
4870
	local Part = Instance.new('Part',workspace)
4871
	Part.Size = Vector3.new(5,0,5)
4872
	Part.Anchored = true
4873
	Part.CFrame = CFrame.new(Vector3.new(9999,9999,9999))
4874
	Character.PrimaryPart.CFrame = Part.CFrame*CFrame.new(0,3,0)
4875
	spawn(function()
4876
		wait(3)
4877
		Part:Destroy()
4878
	end)
4879
	if CheckRig() == 'R6' then
4880
		local Clone = Character.HumanoidRootPart:Clone()
4881
		Character.HumanoidRootPart:Destroy()
4882
		Clone.Parent = Character
4883
	else
4884
	local Clone = Character.LowerTorso.Root:Clone()
4885
	Character.LowerTorso.Root:Destroy()
4886
	Clone.Parent = Character.LowerTorso
4887
	end
4888
end
4889
InitiateInvis()
4890
end)
4891
4892
addcmd('strengthen',{},
4893
function(args, speaker)
4894
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
4895
		if child.ClassName == "Part" then
4896
			child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
4897
		end
4898
	end
4899
end)
4900
4901
addcmd('weaken',{},
4902
function(args, speaker)
4903
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
4904
		if child.ClassName == "Part" then
4905
			child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
4906
		end
4907
	end
4908
end)
4909
4910
addcmd('unweaken',{'unstrengthen'},
4911
function(args, speaker)
4912
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
4913
		if child.ClassName == "Part" then
4914
			child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
4915
		end
4916
	end
4917
end)
4918
4919
addcmd('jpower',{'jumppower','jp'},
4920
function(args, speaker)
4921
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
4922
		Players.LocalPlayer.Character.Humanoid.JumpPower=tonumber(args[1])
4923
	end
4924
end)
4925
4926
addcmd('gravity',{'grav'},
4927
function(args, speaker)
4928
	workspace.Gravity = (args[1])
4929
end)
4930
4931
addcmd('hipheight',{'hheight'},
4932
function(args, speaker)
4933
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
4934
		Players.LocalPlayer.Character.Humanoid.HipHeight = args[1]
4935
	end
4936
end)
4937
4938
addcmd('dance',{},
4939
function(args, speaker)
4940
	if not r15(Players.LocalPlayer) then
4941
		local pchar=Players.LocalPlayer.Character
4942
			local anim = nil		
4943
			local dance1 = math.random(1,7)
4944
			if dance1 == 1 then
4945
			anim = '27789359'
4946
			end
4947
			if dance1 == 2 then
4948
			anim = '30196114'
4949
			end
4950
			if dance1 == 3 then
4951
			anim = '248263260'
4952
			end
4953
			if dance1 == 4 then
4954
			anim = '45834924'
4955
			end
4956
			if dance1 == 5 then
4957
			anim = '33796059'
4958
			end
4959
			if dance1 == 6 then
4960
			anim = '28488254'
4961
			end
4962
			if dance1 == 7 then
4963
			anim = '52155728'
4964
			end
4965
		local animation = Instance.new("Animation")
4966
		animation.AnimationId = "rbxassetid://"..anim
4967
		local animTrack = pchar.Humanoid:LoadAnimation(animation)
4968
		animTrack:Play()
4969
	else
4970
		notify('R6 Required','This command requires the r6 rig type')
4971
	end
4972
end)
4973
4974
addcmd('nolimbs',{'rlimbs'},
4975
function(args, speaker)
4976
	if r15(Players.LocalPlayer) then
4977
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
4978
			if v:IsA("BasePart") and
4979
				v.Name == "RightUpperLeg" or
4980
				v.Name == "LeftUpperLeg" or
4981
				v.Name == "RightUpperArm" or
4982
				v.Name == "LeftUpperArm" then
4983
				v:Destroy()
4984
			end
4985
		end
4986
	else
4987
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
4988
			if v:IsA("BasePart") and
4989
				v.Name == "Right Leg" or
4990
				v.Name == "Left Leg" or
4991
				v.Name == "Right Arm" or
4992
				v.Name == "Left Arm" then
4993
				v:Destroy()
4994
			end
4995
		end
4996
	end
4997
end)
4998
4999
addcmd('noarms',{'rarms'},
5000
function(args, speaker)
5001
	if r15(Players.LocalPlayer) then
5002
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5003
			if v:IsA("BasePart") and
5004
				v.Name == "RightUpperArm" or
5005
				v.Name == "LeftUpperArm" then
5006
				v:Destroy()
5007
			end
5008
		end
5009
	else
5010
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5011
			if v:IsA("BasePart") and
5012
				v.Name == "Right Arm" or
5013
				v.Name == "Left Arm" then
5014
				v:Destroy()
5015
			end
5016
		end
5017
	end
5018
end)
5019
5020
addcmd('nolegs',{'rlegs'},
5021
function(args, speaker)
5022
	if r15(Players.LocalPlayer) then
5023
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5024
			if v:IsA("BasePart") and
5025
				v.Name == "RightUpperLeg" or
5026
				v.Name == "LeftUpperLeg" then
5027
				v:Destroy()
5028
			end
5029
		end
5030
	else
5031
		for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5032
			if v:IsA("BasePart") and
5033
				v.Name == "Right Leg" or
5034
				v.Name == "Left Leg" then
5035
				v:Destroy()
5036
			end
5037
		end
5038
	end
5039
end)
5040
5041
addcmd('sit',{},
5042
function(args, speaker)
5043
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
5044
		Players.LocalPlayer.Character.Humanoid.Sit = true
5045
	end
5046
end)
5047
5048
addcmd('team',{},
5049
function(args, speaker)
5050
	local teamname = nil
5051
	for a,b in pairs(game:GetService("Teams"):GetChildren()) do
5052
		local L_name = b.Name:lower()
5053
		local F = L_name:find(getstring(1))
5054
		if F == 1 then
5055
			teamname = b 
5056
		end
5057
	end
5058
	Players.LocalPlayer.Team = teamname
5059
end)
5060
5061
addcmd('spasm',{},
5062
function(args, speaker)
5063
	if not r15(Players.LocalPlayer) then
5064
		local pchar=Players.LocalPlayer.Character
5065
		local AnimationId = "33796059"
5066
		SpasmAnim = Instance.new("Animation")
5067
		SpasmAnim.AnimationId = "rbxassetid://"..AnimationId
5068
		Spasm = pchar.Humanoid:LoadAnimation(SpasmAnim)
5069
		Spasm:Play()
5070
		Spasm:AdjustSpeed(99)
5071
	else
5072
		notify('R6 Required','This command requires the r6 rig type')
5073
	end
5074
end)
5075
5076
addcmd('unspasm',{'nospasm'},
5077
function(args, speaker)
5078
	Spasm:Stop()
5079
	SpasmAnim:Destroy()
5080
end)
5081
5082
addcmd('headthrow',{},
5083
function(args, speaker)
5084
	if not r15(Players.LocalPlayer) then
5085
		local AnimationId = "35154961"
5086
		local Anim = Instance.new("Animation")
5087
		Anim.AnimationId = "rbxassetid://"..AnimationId
5088
		local k = Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
5089
		k:Play(0)
5090
		k:AdjustSpeed(1)
5091
	else
5092
		notify('R6 Required','This command requires the r6 rig type')
5093
	end
5094
end)
5095
5096
addcmd('animation',{'anim'},
5097
function(args, speaker)
5098
	if not r15(Players.LocalPlayer) then
5099
		local pchar=Players.LocalPlayer.Character
5100
		local AnimationId = tostring(args[1])
5101
		local Anim = Instance.new("Animation")
5102
		Anim.AnimationId = "rbxassetid://"..AnimationId
5103
		local k = pchar.Humanoid:LoadAnimation(Anim)
5104
		k:Play()
5105
		if args[2] then
5106
			k:AdjustSpeed(tostring(args[2]))
5107
		end
5108
	else
5109
		notify('R6 Required','This command requires the r6 rig type')
5110
	end
5111
end)
5112
5113
addcmd('tpposition',{'tppos'},
5114
function(args,speaker)
5115
	if #args < 3 then return end
5116
	local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
5117
	local char = Players.LocalPlayer.Character
5118
	if char and char:FindFirstChild("HumanoidRootPart") then
5119
		char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
5120
	end
5121
end)
5122
5123
addcmd('offset',{},
5124
function(args,speaker)
5125
	if #args < 3 then return end
5126
	local tpX,tpY,tpZ = tonumber(args[1]),tonumber(args[2]),tonumber(args[3])
5127
	local char = Players.LocalPlayer.Character
5128
	if char and char:FindFirstChild("HumanoidRootPart") then
5129
		char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
5130
	end
5131
end)
5132
5133
addcmd('getposition',{'getpos'},
5134
function(args,speaker)
5135
	local char = Players.LocalPlayer.Character
5136
	if char and char:FindFirstChild("HumanoidRootPart") then
5137
		local pos = tostring(char.HumanoidRootPart.Position)
5138
		notify('Current Position',pos)
5139
	end
5140
end)
5141
5142
addcmd('speed',{'ws'},
5143
function(args, speaker)
5144
	if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
5145
		if args[2] then
5146
			Players.LocalPlayer.Character.Humanoid.WalkSpeed=tonumber(args[2])
5147
		else
5148
			Players.LocalPlayer.Character.Humanoid.WalkSpeed=tonumber(args[1])
5149
		end
5150
	end
5151
end)
5152
5153
addcmd('tools',{'gears'},
5154
function(args, speaker)
5155
	local function copy(instance)
5156
		for i,c in pairs(instance:GetChildren())do
5157
			if c:IsA('Tool') or c:IsA('HopperBin') then
5158
				c:Clone().Parent = Players.LocalPlayer.Backpack
5159
			end
5160
			copy(c)
5161
		end
5162
	end
5163
	copy(game:GetService("Lighting"))
5164
	local function copy(instance)
5165
		for i,c in pairs(instance:GetChildren())do
5166
			if c:IsA('Tool') or c:IsA('HopperBin') then
5167
			c:Clone().Parent = Players.LocalPlayer.Backpack
5168
			end
5169
			copy(c)
5170
		end
5171
	end
5172
	copy(game:GetService("ReplicatedStorage"))
5173
	notify('Tools','Copied tools from ReplicatedStorage and Lighting')
5174
end)
5175
5176
addcmd('keeptools',{'startertools','stools','ktools'},
5177
function(args, speaker)
5178
	local function copy(instance)
5179
		for i,c in pairs(instance:GetChildren())do
5180
			if c:IsA('Tool') or c:IsA('HopperBin') then
5181
				c:Clone().Parent = Players.LocalPlayer.StarterGear
5182
			end
5183
			copy(c)
5184
        end
5185
    end
5186
    copy(Players.LocalPlayer.Backpack)
5187
	local function copy(instance)
5188
		for i,c in pairs(instance:GetChildren())do
5189
			if c:IsA('Tool') or c:IsA('HopperBin') then
5190
				c:Clone().Parent = Players.LocalPlayer.StarterGear
5191
			end
5192
			copy(c)
5193
		end
5194
	end
5195
	copy(Players.LocalPlayer.Character)
5196
	notify('Tools','Copied tools to StarterGear')
5197
end)
5198
5199
addcmd('nokeeptools',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
5200
function(args, speaker)
5201
	for i,c in pairs(Players.LocalPlayer.StarterGear:GetChildren())do
5202
		if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
5203
		end
5204
	end
5205
	notify('Tools','Cleared tools from StarterGear')
5206
end)
5207
5208
addcmd('notools',{'rtools','clrtools','removetools'},
5209
function(args, speaker)
5210
	for i,v in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do
5211
		if v:IsA('Tool') or v:IsA('HopperBin') then
5212
			v:destroy()
5213
		end
5214
	end
5215
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5216
		if v:IsA('Tool') or v:IsA('HopperBin') then
5217
			v:destroy()
5218
		end
5219
	end
5220
	notify('Tools','Removed tools')
5221
end)
5222
5223
addcmd('explorer',{'dex'},
5224
function(args, speaker)
5225
	local dex = loadstring(game:GetObjects("rbxassetid://418957341")[1].Source)()
5226
	game:GetService("CoreGui").RobloxGui.Dex.PropertiesFrame.Changed:connect(function(property)
5227
		if property == 'Position' then
5228
			if game:GetService("CoreGui").RobloxGui.Dex.PropertiesFrame.Position == UDim2.new(1, -300, 0.5, 36) then
5229
				if Holder.Position.X.Offset > -550 or Notification.Position.X.Offset > -550 then
5230
					Holder:TweenPosition(UDim2.new(1, -550, 1, Holder.Position.Y.Offset), "InOut", "Quart", 0.2, true, nil)
5231
					Notification:TweenPosition(UDim2.new(1, -800, 1, Notification.Position.Y.Offset), "InOut", "Quart", 0.5, true, nil)
5232
				end
5233
				DexNOffset = -800
5234
				DexOffset = -550
5235
			elseif game:GetService("CoreGui").RobloxGui.Dex.PropertiesFrame.Position == UDim2.new(1, 30, 0.5, 36) then
5236
				if Holder.Position.X.Offset == -550 or Notification.Position.X.Offset == -800 then
5237
					Holder:TweenPosition(UDim2.new(1, -250, 1, Holder.Position.Y.Offset), "InOut", "Quart", 0.2, true, nil)
5238
					Notification:TweenPosition(UDim2.new(1, -500, 1, Notification.Position.Y.Offset), "InOut", "Quart", 0.5, true, nil)
5239
				end
5240
				DexNOffset = -500
5241
				DexOffset = -250
5242
			end
5243
		end
5244
	end)
5245
end)
5246
5247
addcmd('remotespy',{'remotes'},
5248
function(args, speaker)
5249
	notify('Remotespy','Printed remotes')
5250
	function getem(o)
5251
		for i,v in pairs(o:children())do
5252
			if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then              
5253
				print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
5254
			end
5255
			getem(v)
5256
		end
5257
	end
5258
	pcall(getem,game)
5259
end)
5260
5261
loopgoto = nil
5262
addcmd('loopgoto',{},
5263
function(args, speaker)
5264
	local players = getPlayer(args[1], speaker)
5265
	for i,v in pairs(players)do
5266
		loopgoto = Players[v]
5267
		repeat wait() if Players[v].Character ~= nil then
5268
			if speaker.Character:FindFirstChild("Humanoid") then
5269
				speaker.Character.Humanoid.Jump = true
5270
			end
5271
			speaker.Character:MoveTo(Players[v].Character.HumanoidRootPart.Position)
5272
		end
5273
		until loopgoto ~= Players[v]
5274
	end
5275
end)
5276
5277
addcmd('unloopgoto',{'noloopgoto'},
5278
function(args, speaker)
5279
	loopgoto = nil
5280
end)
5281
5282
headsitting = false
5283
addcmd('headsit',{},
5284
function(args, speaker)
5285
	local players = getPlayer(args[1], speaker)
5286
	for i,v in pairs(players)do
5287
		headsitting = true
5288
		Players.LocalPlayer.Character.Humanoid.Sit = true
5289
		repeat wait()
5290
			if Players[v].Character and Players[v].Character:FindFirstChild('HumanoidRootPart') and Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') then
5291
				if Players:FindFirstChild(Players[v].Name) and Players.LocalPlayer.Character.Humanoid.Sit == true then
5292
					Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Players[v].Character.HumanoidRootPart.CFrame * CFrame.Angles(0,math.rad(0),0)* CFrame.new(0,1.6,0.4)
5293
				else
5294
					headsitting = false
5295
				end
5296
			end
5297
		until headsitting == false
5298
	end
5299
end)
5300
5301
spamming = false
5302
spamspeed = 1
5303
addcmd('spam',{},
5304
function(args, speaker)
5305
	spamming = true
5306
	local spamstring = getstring(1)
5307
	repeat wait(spamspeed)
5308
		game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(spamstring, "All")
5309
	until spamming == false
5310
end)
5311
5312
addcmd('nospam',{'unspam'},
5313
function(args, speaker)
5314
	spamming = false
5315
end)
5316
5317
pmspamming = {}
5318
addcmd('pmspam',{},
5319
function(args, speaker)
5320
	local players = getPlayer(args[1], speaker)
5321
	for i,v in pairs(players)do
5322
		spawn(function()
5323
			if FindInTable(pmspamming, Players[v].Name) then return end
5324
			table.insert(pmspamming, Players[v].Name)
5325
			local pmspamstring = getstring(2)
5326
			repeat wait(spamspeed)
5327
				game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("/w "..Players[v].Name.." "..pmspamstring, "All")
5328
			until not FindInTable(pmspamming, Players[v].Name)
5329
		end)
5330
	end
5331
end)
5332
5333
addcmd('nopmspam',{'unpmspam'},
5334
function(args, speaker)
5335
	local players = getPlayer(args[1], speaker)
5336
	for i,v in pairs(players)do
5337
		spawn(function()
5338
			for a,b in pairs(pmspamming) do
5339
				if b == Players[v].Name then
5340
					table.remove(pmspamming, a)
5341
				end
5342
			end
5343
		end)
5344
	end
5345
end)
5346
5347
addcmd('spamspeed',{},
5348
function(args, speaker)
5349
	spamspeed = args[1]
5350
end)
5351
5352
addcmd('blockhead',{},
5353
function(args, speaker)
5354
	Players.LocalPlayer.Character.Head.Mesh:Destroy()
5355
end)
5356
5357
addcmd('blockhats',{},
5358
function(args, speaker)
5359
	for _,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5360
		if (v:IsA("Accessory")) then
5361
			v.Handle.Mesh:remove()
5362
		end
5363
	end
5364
end)
5365
5366
addcmd('clone',{},
5367
function(args, speaker)
5368
	local AnimationId = "215384594"
5369
	local Anim = Instance.new("Animation")
5370
	Anim.AnimationId = "rbxassetid://"..AnimationId
5371
	local k = Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
5372
	k:Play()
5373
	k:AdjustSpeed(100)
5374
end)
5375
5376
addcmd('creeper',{},
5377
function(args, speaker)
5378
	if r15(Players.LocalPlayer) then
5379
		local lol = Players.LocalPlayer
5380
		lol.Character["Head"].Mesh:Destroy()
5381
		lol.Character["LeftUpperArm"]:Destroy()
5382
		lol.Character["RightUpperArm"]:Destroy()
5383
		for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5384
			if v:IsA'Hat' or v:IsA'Accessory' then
5385
				v.Parent = workspace
5386
			end
5387
		end
5388
	else
5389
		local lol = Players.LocalPlayer
5390
		lol.Character["Head"].Mesh:Destroy()
5391
		lol.Character["Left Arm"]:Destroy()
5392
		lol.Character["Right Arm"]:Destroy()
5393
		for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5394
			if v:IsA'Hat' or v:IsA'Accessory' then
5395
				v.Parent = workspace
5396
			end
5397
		end
5398
	end
5399
end)
5400
5401
bangplr = nil
5402
5403
addcmd('bang',{'rape'},
5404
function(args, speaker)
5405
	if not r15(Players.LocalPlayer) then
5406
		local players = getPlayer(args[1], speaker)
5407
		for i,v in pairs(players)do
5408
			bangAnim = Instance.new("Animation")
5409
			bangAnim.AnimationId = "rbxassetid://148840371"
5410
			bang = Players.LocalPlayer.Character.Humanoid:LoadAnimation(bangAnim)
5411
			bang:Play(.1, 1, 1)
5412
			bang:AdjustSpeed(3)
5413
			bangplr = Players[v].Name
5414
		end
5415
	else
5416
		notify('R6 Required','This command requires the r6 rig type')
5417
	end
5418
end)
5419
5420
addcmd('unbang',{'unrape'},
5421
function(args, speaker)
5422
	bangplr = nil
5423
	bang:Stop()
5424
	bangAnim:Destroy()
5425
end)
5426
5427
addcmd('bringpart',{},
5428
function(args, speaker)
5429
	for i,v in pairs(workspace:GetDescendants()) do
5430
		if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
5431
			v.CFrame = speaker.Character.HumanoidRootPart.CFrame
5432
		end
5433
	end
5434
end)
5435
5436
addcmd('gotopart',{},
5437
function(args, speaker)
5438
	for i,v in pairs(workspace:GetDescendants()) do
5439
		if v.Name:lower() == getstring(1):lower() and v:IsA("BasePart") then
5440
			speaker.Character.HumanoidRootPart.CFrame = v.CFrame
5441
			wait(0.1)
5442
		end
5443
	end
5444
end)
5445
5446
gtools = false
5447
addcmd('grabtools',{},
5448
function(args, speaker)
5449
	workspace.ChildAdded:connect(function(part)
5450
		if gtools then
5451
			if part:IsA("Tool") then
5452
				part.Handle.CFrame = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
5453
			end
5454
		end
5455
	end)
5456
end)
5457
5458
addcmd('nograbtools',{'ungrabtools'},
5459
function(args, speaker)
5460
	gtools = false
5461
end)
5462
5463
addcmd('light',{},
5464
function(args, speaker)
5465
	local light = Instance.new("PointLight", speaker.Character.HumanoidRootPart)
5466
	light.Range = 30
5467
	if args[1] then
5468
		light.Brightness = args[1]
5469
	else
5470
		light.Brightness = 5
5471
	end
5472
end)
5473
5474
addcmd('unlight',{'nolight'},
5475
function(args, speaker)
5476
	for i,v in pairs(speaker.Character:GetDescendants()) do
5477
		if v.ClassName == "PointLight" then
5478
			v:Destroy()
5479
		end
5480
	end
5481
end)
5482
5483
addcmd('givetools',{},
5484
function(args, speaker)
5485
	for i,t in pairs(Players.LocalPlayer.Backpack:GetDescendants()) do
5486
		if t:IsA("Tool") then
5487
			t.Parent = Players.LocalPlayer.Character
5488
			wait()
5489
			local players = getPlayer(args[1], speaker)
5490
			for i,v in pairs(players)do
5491
				t.Parent = Players[v].Character
5492
			end
5493
		end
5494
	end
5495
end)
5496
5497
addcmd('copytools',{'clonetools'},
5498
function(args, speaker)
5499
    local players = getPlayer(args[1], speaker)
5500
	for i,v in pairs(players)do
5501
		spawn(function()
5502
			for i,v in pairs(Players[v].Backpack:GetChildren()) do
5503
				if v:IsA('Tool') or v:IsA('HopperBin') then
5504
					v:Clone().Parent = speaker.Backpack
5505
				end
5506
			end
5507
		end)
5508
	end
5509
end)
5510
5511
addcmd('naked',{},
5512
function(args, speaker)
5513
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5514
		if v:IsA("Clothing") then
5515
			v:Destroy()
5516
		end
5517
	end
5518
end)
5519
5520
addcmd('spawnpoint',{'spawn'},
5521
function(args, speaker)
5522
	spawnpos = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
5523
	spawnpoint = true
5524
	notify('Spawn Point','Spawn point created at '..tostring(spawnpos))
5525
end)
5526
5527
addcmd('nospawnpoint',{'nospawn'},
5528
function(args, speaker)
5529
	spawnpoint = false
5530
	notify('Spawn Point','Removed spawn point')
5531
end)
5532
5533
addcmd('hatspin',{'spinhats'},
5534
function(args, speaker)
5535
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5536
		if v:IsA("Accessory") or v:IsA("Hat") then
5537
			local keep = Instance.new("BodyPosition") keep.Parent = v.Handle keep.Name = "no"
5538
			local spin = Instance.new("BodyAngularVelocity") spin.Parent = v.Handle spin.Name = "ha"
5539
			if v.Handle.AccessoryWeld then
5540
				v.Handle.AccessoryWeld:Destroy()
5541
			end
5542
			if args[1] then
5543
				spin.AngularVelocity = Vector3.new(0, args[1], 0)
5544
				spin.MaxTorque = Vector3.new(0, args[1] * 2, 0)
5545
			else
5546
				spin.AngularVelocity = Vector3.new(0, 100, 0)
5547
				spin.MaxTorque = Vector3.new(0, 200, 0)
5548
			end
5549
			keep.P = 30000
5550
			keep.D = 50
5551
			spinning = keep
5552
			spinenabled = true
5553
		end
5554
	end
5555
end)
5556
5557
addcmd('unhatspin',{'unspinhats'},
5558
function(args, speaker)
5559
	for i,v in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5560
		if v:IsA("Accessory") or v:IsA("Hat") then
5561
			pcall(function()
5562
				if v:IsA("Accessory") or v:IsA("Hat") then
5563
					v.Parent = workspace
5564
				end
5565
				wait(0.5)
5566
				v.Handle.no:Destroy()
5567
				v.Handle.ha:Destroy()
5568
				if v:IsA("Accessory") or v:IsA("Hat") then
5569
					v.Parent = Players.LocalPlayer.Character
5570
				end
5571
			end)
5572
		end
5573
	end
5574
end)
5575
5576
addcmd('ambient',{},
5577
function(args, speaker)
5578
	game:GetService("Lighting").Ambient = Color3.new(args[1],args[2],args[3])
5579
	game:GetService("Lighting").OutdoorAmbient = Color3.new(args[1],args[2],args[3])
5580
end)
5581
5582
addcmd('nofog',{},
5583
function(args, speaker)
5584
	game:GetService("Lighting").FogEnd = 100000
5585
end)
5586
5587
addcmd('brightness',{},
5588
function(args, speaker)
5589
	game:GetService("Lighting").Brightness = args[1]
5590
end)
5591
5592
origsettings = {abt = game:GetService("Lighting").Ambient, oabt = game:GetService("Lighting").OutdoorAmbient, brt = game:GetService("Lighting").Brightness, time = game:GetService("Lighting").TimeOfDay, fclr = game:GetService("Lighting").FogColor, fe = game:GetService("Lighting").FogEnd, fs = game:GetService("Lighting").FogStart}
5593
5594
addcmd('restorelighting',{'rlighting'},
5595
function(args,speaker)
5596
	game:GetService("Lighting").Ambient = origsettings.abt
5597
	game:GetService("Lighting").OutdoorAmbient = origsettings.oabt
5598
	game:GetService("Lighting").Brightness = origsettings.brt
5599
	game:GetService("Lighting").TimeOfDay = origsettings.time
5600
	game:GetService("Lighting").FogColor = origsettings.fclr
5601
	game:GetService("Lighting").FogEnd = origsettings.fe
5602
	game:GetService("Lighting").FogStart = origsettings.fs
5603
end)
5604
5605
addcmd('stun',{},
5606
function(args, speaker)
5607
	Players.LocalPlayer.Character.Humanoid.PlatformStand = true
5608
end)
5609
5610
addcmd('unstun',{'nostun'},
5611
function(args, speaker)
5612
	Players.LocalPlayer.Character.Humanoid.PlatformStand = false
5613
end)
5614
5615
addcmd('drophats',{'drophat'},
5616
function(args, speaker)
5617
	if speaker.Character then
5618
		for _,obj in pairs(speaker.Character:GetChildren()) do
5619
			if obj:IsA("Accessory") then
5620
				obj.Parent = workspace
5621
			end
5622
		end
5623
	end
5624
end)
5625
5626
addcmd('droptools',{'droptool'},
5627
function(args, speaker)
5628
	if speaker.Character then
5629
		for _,obj in pairs(speaker.Character:GetChildren()) do
5630
			if obj:IsA("Tool") then
5631
				obj.Parent = workspace
5632
			end
5633
		end
5634
	end
5635
	if speaker:FindFirstChild("Backpack") then
5636
		for _,obj in pairs(speaker.Backpack:GetChildren()) do
5637
			if obj:IsA("Tool") then
5638
				obj.Parent = workspace
5639
			end
5640
		end
5641
	end
5642
end)
5643
5644
addcmd('logs',{'chatlogs'},
5645
function(args, speaker)
5646
	logsDrag:TweenPosition(UDim2.new(0, 0, 1, -250), "InOut", "Quart", 0.3, true, nil)
5647
end)
5648
5649
addcmd('fling',{},
5650
function(args, speaker)
5651
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5652
		if child.ClassName == "Part" or child.ClassName == "MeshPart" then
5653
			child.CustomPhysicalProperties = PhysicalProperties.new(2, 0.3, 0.5)
5654
		end
5655
	end
5656
	for i,v in pairs(Players.LocalPlayer.Character:GetChildren()) do
5657
		if v:IsA('Accessory') or v:IsA('Hat') then
5658
			for e,c in pairs(v:GetDescendants()) do
5659
				if c:IsA('Part') or c:IsA('MeshPart') then
5660
					c.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
5661
				end
5662
			end
5663
		end
5664
	end
5665
	execCmd('noclip')
5666
	wait(.1)
5667
	local bambam = Instance.new("BodyAngularVelocity")
5668
	bambam.Parent = Players.LocalPlayer.Character.HumanoidRootPart
5669
	bambam.AngularVelocity = Vector3.new(0,311111,0)
5670
	bambam.MaxTorque = Vector3.new(0,311111,0)
5671
	bambam.P = math.huge
5672
end)
5673
5674
addcmd('unfling',{'nofling'},
5675
function(args, speaker)
5676
	execCmd('clip')
5677
	wait(.1)
5678
	for i,v in pairs(Players.LocalPlayer.Character.HumanoidRootPart:GetChildren()) do
5679
		if v.ClassName == 'BodyAngularVelocity' then
5680
			v:Destroy()
5681
		end
5682
	end
5683
	for _, child in pairs(Players.LocalPlayer.Character:GetDescendants()) do
5684
		if child.ClassName == "Part" or child.ClassName == "MeshPart" then
5685
			child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
5686
		end
5687
	end
5688
end)
5689
5690
addcmd('spin',{},
5691
function(args, speaker)
5692
	local Spin = Instance.new("BodyAngularVelocity", Players.LocalPlayer.Character.HumanoidRootPart)
5693
	Spin.Name = "Spinning"
5694
	Spin.MaxTorque = Vector3.new(0, math.huge, 0)
5695
	Spin.AngularVelocity = Vector3.new(0,20,0)
5696
end)
5697
5698
addcmd('unspin',{},
5699
function(args, speaker)
5700
	for i,v in pairs(Players.LocalPlayer.Character.HumanoidRootPart:GetChildren()) do
5701
		if v.Name == "Spinning" then
5702
			v:Destroy()
5703
		end
5704
	end
5705
end)
5706
5707
transparent = false
5708
function x(v)
5709
	if v then
5710
		for _,i in pairs(workspace:GetDescendants()) do
5711
			if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
5712
				i.LocalTransparencyModifier = 0.5
5713
			end
5714
		end
5715
	else
5716
		for _,i in pairs(workspace:GetDescendants()) do
5717
			if i:IsA("BasePart") and not i.Parent:FindFirstChild("Humanoid") and not i.Parent.Parent:FindFirstChild("Humanoid") then
5718
				i.LocalTransparencyModifier = 0
5719
			end
5720
		end
5721
	end
5722
end
5723
5724
addcmd('xray',{},
5725
function(args, speaker)
5726
	transparent = true
5727
	x(transparent)
5728
end)
5729
5730
addcmd('unxray',{'noxray'},
5731
function(args, speaker)
5732
	transparent = false
5733
	x(transparent)
5734
end)
5735
5736
addcmd('togglexray',{},
5737
function(args, speaker)
5738
	transparent=not transparent
5739
	x(transparent)
5740
end)
5741
5742
if PluginsTable ~= nil or PluginsTable ~= {} then
5743
	FindPlugins(PluginsTable)
5744
end
5745
5746
if pcall(function() loadstring(game:HttpGet(('https://pastebin.com/raw/yKieh77L'),true))() end) then
5747
	if ver ~= Version then
5748
		notify('Outdated','Get a new version at infyield.yolasite.com')
5749
	end
5750
	if Announcement and Announcement ~= '' then
5751
		local AnnGUI = Instance.new("Frame")
5752
		local background = Instance.new("Frame")
5753
		local Dark = Instance.new("Frame")
5754
		local TextBox = Instance.new("TextLabel")
5755
		local shadow = Instance.new("Frame")
5756
		local PopupText = Instance.new("TextLabel")
5757
		local Exit = Instance.new("ImageButton")
5758
		
5759
		AnnGUI.Name = randomString()
5760
		AnnGUI.Parent = PARENT
5761
		AnnGUI.Active = true
5762
		AnnGUI.BackgroundColor3 = Color3.new(1, 1, 1)
5763
		AnnGUI.BackgroundTransparency = 1
5764
		AnnGUI.Position = UDim2.new(0.5, -180, 0, -400)
5765
		AnnGUI.Size = UDim2.new(0, 360, 0, 20)
5766
		AnnGUI.ZIndex = 4
5767
		
5768
		background.Name = "background"
5769
		background.Parent = AnnGUI
5770
		background.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
5771
		background.BorderSizePixel = 0
5772
		background.Position = UDim2.new(0, 0, 0, 20)
5773
		background.Size = UDim2.new(0, 360, 0, 116)
5774
		
5775
		Dark.Name = "Dark"
5776
		Dark.Parent = background
5777
		Dark.Active = true
5778
		Dark.BackgroundColor3 = Color3.new(0.364706, 0.364706, 0.364706)
5779
		Dark.BackgroundTransparency = 0.5
5780
		Dark.BorderSizePixel = 0
5781
		Dark.Size = UDim2.new(0, 360, 0, 5)
5782
		
5783
		TextBox.Parent = background
5784
		TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
5785
		TextBox.BackgroundTransparency = 1
5786
		TextBox.Position = UDim2.new(0.0166666675, 0, 0.103232808, 0)
5787
		TextBox.Size = UDim2.new(0, 348, 0, 98)
5788
		TextBox.Font = Enum.Font.SourceSans
5789
		TextBox.FontSize = Enum.FontSize.Size18
5790
		TextBox.TextWrapped = true
5791
		TextBox.Text = Announcement
5792
		TextBox.TextColor3 = Color3.new(1, 1, 1)
5793
		TextBox.TextXAlignment = Enum.TextXAlignment.Left
5794
		TextBox.TextYAlignment = Enum.TextYAlignment.Top
5795
		
5796
		shadow.Name = "shadow"
5797
		shadow.Parent = AnnGUI
5798
		shadow.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
5799
		shadow.BorderColor3 = Color3.new(0, 0, 0)
5800
		shadow.BorderSizePixel = 0
5801
		shadow.Size = UDim2.new(0, 360, 0, 20)
5802
		shadow.ZIndex = 4
5803
		
5804
		PopupText.Name = "PopupText"
5805
		PopupText.Parent = shadow
5806
		PopupText.BackgroundTransparency = 1
5807
		PopupText.Position = UDim2.new(0, 51, 0, 0)
5808
		PopupText.Size = UDim2.new(0.760355055, -16, 0.949999988, 0)
5809
		PopupText.ZIndex = 4
5810
		PopupText.Font = Enum.Font.SourceSans
5811
		PopupText.TextSize = 20
5812
		PopupText.Text = "Server Announcement"
5813
		PopupText.TextColor3 = Color3.new(1, 1, 1)
5814
		PopupText.TextStrokeTransparency = 0
5815
		PopupText.TextWrapped = true
5816
		
5817
		Exit.Name = "Exit"
5818
		Exit.Parent = shadow
5819
		Exit.BackgroundColor3 = Color3.new(1, 1, 1)
5820
		Exit.BackgroundTransparency = 1
5821
		Exit.Size = UDim2.new(0, 20, 0, 20)
5822
		Exit.ZIndex = 4
5823
		Exit.Image = "rbxassetid://2132544126"
5824
		
5825
		wait(1)
5826
		AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, 150), "InOut", "Quart", 0.5, true, nil)
5827
		
5828
		Exit.MouseButton1Click:Connect(function()
5829
			AnnGUI:TweenPosition(UDim2.new(0.5, -180, 0, -400), "InOut", "Quart", 0.5, true, nil)
5830
			wait(0.6)
5831
			AnnGUI:Destroy()
5832
		end)
5833
	end
5834
end
5835
5836
wait()
5837
Credits:TweenPosition(UDim2.new(0,0,0.9,0), "Out", "Quart", 0.2)
5838
Logo:TweenSizeAndPosition(UDim2.new(0,175,0,175),UDim2.new(0,37,0,45), "Out", "Quart", 0.3)
5839
wait(1)
5840
for i=1,10 do
5841
	Logo.ImageTransparency = Logo.ImageTransparency+0.1
5842
	IntroBackground.BackgroundTransparency = Logo.BackgroundTransparency+0.1
5843
	wait()
5844
end
5845
Credits:TweenPosition(UDim2.new(0,0,0.9,30), "Out", "Quart", 0.2)
5846
wait(0.2)
5847
Logo:Destroy()
5848
Credits:Destroy()
5849
IntroBackground:Destroy()
5850
minimizeHolder()