· 4 years ago · Jul 06, 2021, 02:42 AM
1if not _G.CustomUI then _G.CustomUI = false end
2VERSION = "1.0.3"
3
4if AlreadyLoaded then
5 return
6end
7getgenv().AlreadyLoaded = true -- So that you can't execute the script twice
8
9if not game:IsLoaded() then
10 print("Homebrew Admin is waiting for the game to load..")
11end
12prefix = "." -- After running hb admin for the first time changing this won't do anything.
13
14function _G.getPlayer(shortcut)
15local player
16local g = game.Players:getPlayers()
17for i = 1, #g do
18 if string.lower(string.sub(g[i].Name, 1, string.len(shortcut))) == string.lower(shortcut) then
19 player = g[i]
20 break
21 elseif string.lower(string.sub(g[i].DisplayName, 1, string.len(shortcut))) == string.lower(shortcut) then
22 player = g[i]
23 break
24 end
25end
26return player
27end
28
29getPlayer = _G.getPlayer
30
31-- Destroys UI for Custom UI's
32function ToCustomUI()
33 if game.CoreGui.HBADMIN then
34 game.CoreGui.HBADMIN:Destroy()
35 end
36end
37
38plr = game.Players.LocalPlayer
39char = plr.Character
40Character = char
41local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("UpperTorso")
42Humanoid = char.Humanoid
43
44plr.CharacterAdded:Connect(
45function(char)
46 char:WaitForChild("Humanoid").Died:Connect(
47 function()
48 _G.spawn = char.HumanoidRootPart.CFrame -- For the dpos command.
49 end
50 )
51end
52)
53
54
55function _G.notify(text) -- Notification system with args as text
56 coroutine.wrap(
57 function()
58 local ScreenGui = Instance.new("ScreenGui")
59 ScreenGui.Parent = game.CoreGui
60 local Frame = Instance.new("Frame")
61 local TextLabel = Instance.new("TextLabel")
62 local PenumbraShadow = Instance.new("ImageLabel")
63 local TextLabel_2 = Instance.new("TextLabel")
64 local TextLabel_3 = Instance.new("TextLabel")
65 local ImageLabel = Instance.new("ImageLabel")
66 local ImageLabel_2 = Instance.new("ImageLabel")
67 Frame.Parent = ScreenGui
68 Frame.AnchorPoint = Vector2.new(0.5, 0.5)
69 Frame.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
70 Frame.Position = UDim2.new(-0.039212832, 0, 0.906705499, 0)
71 Frame.Size = UDim2.new(0, 356, 0, 106)
72 Frame.ZIndex = 2
73 TextLabel.Parent = Frame
74 TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
75 TextLabel.BackgroundTransparency = 1.000
76 TextLabel.Position = UDim2.new(0.0646068305, 0, 0.0693927407, 0)
77 TextLabel.Size = UDim2.new(0, 131, 0, 36)
78 TextLabel.ZIndex = 2
79 TextLabel.Font = Enum.Font.GothamBlack
80 TextLabel.Text = "HOMEBREW ADMIN"
81 TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
82 TextLabel.TextSize = 16.000
83 PenumbraShadow.Name = "PenumbraShadow"
84 PenumbraShadow.Parent = Frame
85 PenumbraShadow.Active = true
86 PenumbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
87 PenumbraShadow.BackgroundTransparency = 1.000
88 PenumbraShadow.BorderSizePixel = 0
89 PenumbraShadow.Position = UDim2.new(0.5, 0, 0.5, 1)
90 PenumbraShadow.Size = UDim2.new(1, 18, 1, 18)
91 PenumbraShadow.Image = "rbxassetid://1316045217"
92 PenumbraShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
93 PenumbraShadow.ImageTransparency = 0.880
94 PenumbraShadow.ScaleType = Enum.ScaleType.Slice
95 PenumbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
96 TextLabel_2.Parent = Frame
97 TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
98 TextLabel_2.BackgroundTransparency = 1.000
99 TextLabel_2.Position = UDim2.new(0.0646068305, 0, 0.406026393, 0)
100 TextLabel_2.Size = UDim2.new(0, 56, 0, 9)
101 TextLabel_2.ZIndex = 2
102 TextLabel_2.Font = Enum.Font.Gotham
103 TextLabel_2.Text = "Notification"
104 TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
105 TextLabel_2.TextSize = 14.000
106 TextLabel_2.TextTransparency = 0.100
107 TextLabel_3.Parent = Frame
108 TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
109 TextLabel_3.BackgroundTransparency = 1.000
110 TextLabel_3.Position = UDim2.new(0.418539405, 0, 0.632441521, 0)
111 TextLabel_3.Size = UDim2.new(0, 56, 0, 9)
112 TextLabel_3.ZIndex = 2
113 TextLabel_3.Font = Enum.Font.Gotham
114 TextLabel_3.Text = text
115 TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
116 TextLabel_3.TextSize = 14.000
117 ImageLabel.Parent = Frame
118 ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
119 ImageLabel.BackgroundTransparency = 1.000
120 ImageLabel.Position = UDim2.new(0, 0, 0.6324417, 0)
121 ImageLabel.Size = UDim2.new(0, 101, 0, 48)
122 ImageLabel.ZIndex = 2
123 ImageLabel.Image = "http://www.roblox.com/asset/?id=217370037"
124 ImageLabel.ImageTransparency = 0.600
125 ImageLabel_2.Parent = Frame
126 ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
127 ImageLabel_2.BackgroundTransparency = 1.000
128 ImageLabel_2.Position = UDim2.new(0.716292143, 0, -0.0468035638, 0)
129 ImageLabel_2.Rotation = 180.000
130 ImageLabel_2.Size = UDim2.new(0, 101, 0, 48)
131 ImageLabel_2.ZIndex = 2
132 ImageLabel_2.Image = "http://www.roblox.com/asset/?id=217370037"
133 ImageLabel_2.ImageTransparency = 0.600
134 Frame:TweenPosition(UDim2.new(0.139212832, 0, 0.906705499, 0), "Out", "Back", "1")
135 wait(3)
136 Frame:TweenPosition(UDim2.new(-1.039212832, 0, 0.906705499, 0), "Out", "Back", "1")
137 wait(10)
138 ScreenGui:Destroy()
139 end
140 )()
141end
142notify = _G.notify
143
144function changelog() -- Changelog everytime a new script is executed.
145local ScreenGui = Instance.new("ScreenGui")
146local Changelog = Instance.new("Frame")
147local Penumbra = Instance.new("ImageLabel")
148local ImageLabel = Instance.new("ImageLabel")
149local CMDTITLE = Instance.new("TextLabel")
150local ImageLabel_2 = Instance.new("ImageLabel")
151local MAOWQ = Instance.new("TextLabel")
152local ImageLabel_3 = Instance.new("ImageLabel")
153local Chanelog = Instance.new("TextLabel")
154
155--Properties:
156
157ScreenGui.Parent = game.CoreGui
158ScreenGui.Name = "HBLOG"
159
160Changelog.Name = "Changelog"
161Changelog.Parent = ScreenGui
162Changelog.AnchorPoint = Vector2.new(0.5, 0.5)
163Changelog.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
164Changelog.Position = UDim2.new(0.499635637, 0, 1.499820173, 0)
165Changelog.Size = UDim2.new(0, 479, 0, 288)
166Changelog.ZIndex = 2
167Changelog.Visible = true
168
169Penumbra.Name = "Penumbra"
170Penumbra.Parent = Changelog
171Penumbra.Active = true
172Penumbra.AnchorPoint = Vector2.new(0.5, 0.5)
173Penumbra.BackgroundTransparency = 1.000
174Penumbra.BorderSizePixel = 0
175Penumbra.Position = UDim2.new(0.45726496, 0, 0.584302306, 1)
176Penumbra.Size = UDim2.new(1, 18, 1, 18)
177Penumbra.Image = "rbxassetid://1316045217"
178Penumbra.ImageColor3 = Color3.fromRGB(0, 0, 0)
179Penumbra.ImageTransparency = 0.880
180Penumbra.ScaleType = Enum.ScaleType.Slice
181Penumbra.SliceCenter = Rect.new(10, 10, 118, 118)
182
183ImageLabel.Parent = Changelog
184ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
185ImageLabel.BackgroundTransparency = 1.000
186ImageLabel.Position = UDim2.new(-0.0132315634, 0, 0.770409405, 0)
187ImageLabel.Size = UDim2.new(0, 101, 0, 83)
188ImageLabel.ZIndex = 2
189ImageLabel.Image = "http://www.roblox.com/asset/?id=217370037"
190ImageLabel.ImageTransparency = 0.600
191
192CMDTITLE.Name = "CMDTITLE"
193CMDTITLE.Parent = Changelog
194CMDTITLE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
195CMDTITLE.BackgroundTransparency = 1.000
196CMDTITLE.Position = UDim2.new(0.362217844, 0, 0.074537456, 0)
197CMDTITLE.Size = UDim2.new(0, 131, 0, 36)
198CMDTITLE.ZIndex = 2
199CMDTITLE.Font = Enum.Font.GothamBlack
200CMDTITLE.Text = "HOMEBREW ADMIN"
201CMDTITLE.TextColor3 = Color3.fromRGB(255, 255, 255)
202CMDTITLE.TextSize = 20.000
203
204ImageLabel_2.Parent = Changelog
205ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
206ImageLabel_2.BackgroundTransparency = 1.000
207ImageLabel_2.Position = UDim2.new(0.16108036, 0, 0.810999811, 0)
208ImageLabel_2.Size = UDim2.new(0, 88, 0, 61)
209ImageLabel_2.ZIndex = 2
210ImageLabel_2.Image = "http://www.roblox.com/asset/?id=217370037"
211ImageLabel_2.ImageTransparency = 0.800
212
213MAOWQ.Name = "MAOWQ"
214MAOWQ.Parent = Changelog
215MAOWQ.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
216MAOWQ.BackgroundTransparency = 1.000
217MAOWQ.Position = UDim2.new(0.440408856, 0, 0.197908744, 0)
218MAOWQ.Size = UDim2.new(0, 56, 0, 23)
219MAOWQ.ZIndex = 2
220MAOWQ.Font = Enum.Font.Gotham
221MAOWQ.Text = "CHANGELOG // "..VERSION
222MAOWQ.TextColor3 = Color3.fromRGB(255, 255, 255)
223MAOWQ.TextSize = 12.000
224
225ImageLabel_3.Parent = Changelog
226ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
227ImageLabel_3.BackgroundTransparency = 1.000
228ImageLabel_3.Position = UDim2.new(0.20083572, 0, 0.89956069, 0)
229ImageLabel_3.Size = UDim2.new(0, 105, 0, 37)
230ImageLabel_3.ZIndex = 2
231ImageLabel_3.Image = "http://www.roblox.com/asset/?id=217370037"
232ImageLabel_3.ImageTransparency = 0.800
233
234Chanelog.Name = "Chanelog"
235Chanelog.Parent = Changelog
236Chanelog.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
237Chanelog.BackgroundTransparency = 1.000
238Chanelog.Position = UDim2.new(0.0921858922, 0, 0.276124328, 0)
239Chanelog.Size = UDim2.new(0, 391, 0, 194)
240Chanelog.ZIndex = 2
241Chanelog.Font = Enum.Font.Gotham
242Chanelog.Text = loadstring(game:HttpGet(('https://raw.githubusercontent.com/mgamingpro/HomebrewAdmin/master/scripts/changelog.lua'),true))()
243Chanelog.TextColor3 = Color3.fromRGB(255, 255, 255)
244Chanelog.TextScaled = true
245Chanelog.TextSize = 12.000
246Chanelog.TextWrapped = true
247
248local Close = Instance.new("TextButton")
249Close.Name = "Close"
250Close.Parent = Changelog
251Close.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
252Close.BorderSizePixel = 0
253Close.Position = UDim2.new(0.93, 0, 0, 0)
254Close.Size = UDim2.new(0, 32, 0, 28)
255Close.Font = Enum.Font.SourceSansLight
256Close.Text = "X"
257Close.TextColor3 = Color3.fromRGB(255, 255, 255)
258Close.TextSize = 23.000
259Close.TextWrapped = true
260Close.ZIndex = 2
261-- Scripts:
262-- Close Button Function
263local function JRNGOD_fake_script() -- Close.hover
264 local script = Instance.new('LocalScript', Close)
265
266 script.Parent.MouseEnter:Connect(function()
267 game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.25), {
268 ['BackgroundColor3'] = Color3.fromRGB(255, 0, 0)
269 }):Play()
270 game:GetService("TweenService"):Create(script.Parent.Parent.Close, TweenInfo.new(0.25), {
271 ['BackgroundColor3'] = Color3.fromRGB(255, 0, 0)
272 }):Play()
273 end)
274
275 script.Parent.MouseLeave:Connect(function()
276 game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.25), {
277 ['BackgroundColor3'] = Color3.fromRGB(5, 11, 24)
278 }):Play()
279 game:GetService("TweenService"):Create(script.Parent.Parent.Close, TweenInfo.new(0.25), {
280 ['BackgroundColor3'] = Color3.fromRGB(5, 11, 24)
281 }):Play()
282 end)
283end
284coroutine.wrap(JRNGOD_fake_script)()
285local function HHNIX_fake_script() -- Close.LocalScript
286 local script = Instance.new('LocalScript', Close)
287
288 script.Parent.MouseButton1Click:Connect(function()
289 wait()
290 Changelog:TweenPosition(UDim2.new(0.499635637, 0, 1.499820173, 0), "Out", "Back", "1")
291 wait(3)
292 ScreenGui:Destroy()
293 end)
294end
295
296coroutine.wrap(HHNIX_fake_script)()
297
298Changelog:TweenPosition(UDim2.new(0.499635637, 0, 0.499820173, 0), "Out", "Back", "1")
299end
300-- Calls for changelog if new version is executed for the first time.
301local valid = isfile("Admin/VERSION.hb")
302if valid then
303 contents = readfile("Admin/VERSION.hb")
304 if contents == VERSION then
305 else
306 changelog()
307 end
308else
309 changelog()
310end
311
312writefile("Admin/VERSION.hb", VERSION) -- Writes the version of the script used.
313
314
315function whisper(player, text)
316 wait()
317 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(
318 "/w " .. player.Name .. " " .. text,
319 "All"
320 )
321end
322
323local plr = game.Players.LocalPlayer
324
325local admins = {}
326
327_G.commands = {
328 a = {
329 name = "reset",
330 args = 0,
331 aliases = {"re","refresh"},
332 description = "resets you",
333 command = function()
334 game.Players.LocalPlayer.Character.Humanoid.Health = 0
335 end
336}
337}
338
339function addcommand(named, desc, Args, Aliases, command)
340cmd = {
341 name = named,
342 args = Args,
343 description = desc,
344 aliases = Aliases,
345 command = command
346}
347table.insert(commands, cmd)
348end
349
350local created = false
351if isfolder("Admin") then
352created = true
353for _,pluginz in pairs(listfiles("Admin/plugins")) do
354 local succ,err = pcall(function()
355 local plug = loadfile(pluginz)()
356 for index, data in pairs(plug.commands) do
357 table.insert(_G.commands,data)
358 end
359end)
360end
361end
362
363local Plugin = {
364 author = "Mizt",
365 name = "Who is net",
366 commands = {
367 whoisnet = {
368 name = "whoisnet",
369 args = 0,
370 description = "notify you who have net.",
371 aliases = {'win'},
372 command = function()
373 local plrChild = game.Players:GetChildren()
374 local finalTab = {}
375 for i=1,#plrChild do
376 local semiC = plrChild[i]
377 if gethiddenproperty(semiC,"SimulationRadius") > 1000 then
378 table.insert(finalTab,semiC.Name)
379 end
380 end
381 if #finalTab == 0 then
382 _G.notify('Net Player',"None")
383 else
384 _G.notify('Net Players',table.concat(finalTab,","))
385 end
386 end
387 },
388 whoisnetchat = {
389 name = "whoisnetchat",
390 args = 0,
391 description = "Chat who have net.",
392 aliases = {'winchat'},
393 command = function()
394 local plrChild = game.Players:GetChildren()
395 local finalTab = {}
396 for i=1,#plrChild do
397 local semiC = plrChild[i]
398 if gethiddenproperty(semiC,"SimulationRadius") > 1000 then
399 table.insert(finalTab,semiC.Name)
400 end
401 end
402 if #finalTab == 0 then
403 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Net Player: None","All")
404 else
405 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("Net Players: "..table.concat(finalTab,","),"All")
406 end
407 end
408 },
409 whoisbiggestnet = {
410 name = "whoisbiggestnet",
411 args = 0,
412 description = "notify you who have the biggest net.",
413 aliases = {'winbig'},
414 command = function()
415 local plrChild = game.Players:GetChildren()
416 local finalNum = 0
417 local finalPlr = 0
418 for i=1,#plrChild do
419 local semiC = plrChild[i]
420 local semiN = gethiddenproperty(semiC,"SimulationRadius")
421 if semiN > finalNum then
422 finalPlr = i
423 finalNum = semiN
424 end
425 end
426 if finalPlr ~= 0 then
427 _G.notify('Biggest player net',plrChild[finalPlr].Name.." :"..finalNum)
428 else
429 _G.notify('Biggest player net',"None")
430 end
431 end
432 },
433 whoissmallestnet = {
434 name = "whoissmallestnet",
435 args = 0,
436 description = "notify you who have the smallest net.",
437 aliases = {'winsmall'},
438 command = function()
439 local plrChild = game.Players:GetChildren()
440 local finalNum = 100000000
441 local finalPlr = 0
442 for i=1,#plrChild do
443 local semiC = plrChild[i]
444 local semiN = gethiddenproperty(semiC,"SimulationRadius")
445 if semiN < finalNum then
446 finalPlr = i
447 finalNum = semiN
448 end
449 end
450 if finalPlr ~= 0 then
451 _G.notify('Smallest player net',plrChild[finalPlr].Name.." :"..finalNum)
452 else
453 _G.notify('Smallest player net',"None")
454 end
455 end
456 },
457 howmuchnet = {
458 name = "howmuchnet",
459 args = 1,
460 description = "notify you other ppl net.",
461 aliases = {'nt'},
462 command = function(target)
463 local succ,err = pcall(function()
464 local plr = _G.getPlayer(target)
465 local user = plr.Name
466 print(user)
467 _G.notify('Player net '..user.." : "..gethiddenproperty(plr,"SimulationRadius"))
468 end)
469 if err then
470 _G.notify('Player net ',err)
471 end
472 end
473 }
474 }
475}
476for index, data in pairs(Plugin.commands) do
477 table.insert(_G.commands,data)
478end
479-- Inserting plugin into commands
480_G.utils = {}
481
482commands = _G.commands
483utils = _G.utils
484
485
486if created == false then
487makefolder("Admin")
488writefile("Admin/Settings.hb", "Settings: Default.")
489writefile("Admin/Prefix.hb", prefix)
490end
491function preffire()
492writefile("Admin/Prefix.hb", prefix)
493end
494function keyfire(keyf)
495getgenv().apikey = keyf
496writefile("Admin/SpotifyAPI.hb",keyf)
497end
498function readk()
499local suc,err = pcall(function()
500textb = readfile("/Admin/SpotifyAPI.hb")
501end)
502if suc then
503 getgenv().apikey = textb
504else
505 getgenv().apikey = nil
506end
507end
508readk()
509local defsetting = false
510local text = readfile("/Admin/Settings.hb")
511if text == "Settings: Default." then
512defsetting = true
513end
514function update()
515local text = readfile("/Admin/Prefix.hb")
516prefix = text
517end
518update()
519
520
521
522
523
524
525function addutil(named, command)
526util = {
527 name = named,
528 command = command
529}
530table.insert(commands, cmd)
531end
532
533local created = false
534if isfolder("Admin") and isfolder("Admin/plugins") then
535created = true
536end
537
538if created == false then
539makefolder("Admin")
540makefolder("Admin/plugins")
541writefile("Admin/Settings.hb", "Settings: Default.")
542end
543
544local defsetting = false
545local text = readfile("/Admin/Settings.hb")
546if text == "Settings: Default." then
547defsetting = true
548end
549
550addcommand(
551"tfling",
552"makes your tool fling (dont equip)",
5530,
554{"toolfling"},
555function()
556notify("Equip your tool.")
557Tool = game.Players.LocalPlayer.Backpack:FindFirstChildWhichIsA("Tool")
558Tool.Handle.Massless = true
559Tool.GripPos = Vector3.new(0, -10000, 0)
560end
561)
562
563addcommand(
564"noarms",
565"removes your arms",
5660,
567{},
568function()
569notify("Removing arms..")
570local succ, err =
571pcall(
572function()
573 if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
574 game.Players.LocalPlayer.Character["Left Arm"]:Destroy()
575 game.Players.LocalPlayer.Character["Right Arm"]:Destroy()
576 elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
577 game.Players.LocalPlayer.Character["LeftUpperArm"]:Destroy()
578 game.Players.LocalPlayer.Character["RightUpperArm"]:Destroy()
579 end
580end
581)
582if err then
583 notify("Uh oh, something went wrong.")
584end
585end
586)
587
588addcommand(
589"creeper",
590"makes you a creeper",
5910,
592{},
593function()
594notify("Making you a creeper..")
595local succ, err =
596pcall(
597function()
598 if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
599 game.Players.LocalPlayer.Character["Left Arm"]:Destroy()
600 game.Players.LocalPlayer.Character["Right Arm"]:Destroy()
601 elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
602 game.Players.LocalPlayer.Character["LeftUpperArm"]:Destroy()
603 game.Players.LocalPlayer.Character["RightUpperArm"]:Destroy()
604 end
605 game.Players.LocalPlayer.Character.Head.Mesh:Destroy()
606end
607)
608if err then
609 notify("Uh oh, something went wrong.")
610end
611end
612)
613
614addcommand(
615"blockhead",
616"removes your heads mesh",
6170,
618{"nomeshhead"},
619function()
620local succ, err =
621pcall(
622function()
623 game.Players.LocalPlayer.Character.Head.Mesh:Destroy()
624end
625)
626if succ then
627 notify("Destroyed mesh.")
628else
629 notify("Something went wrong..")
630end
631end
632)
633
634addcommand(
635"nohats",
636"removes your hats",
6370,
638{"removehats"},
639function()
640for _, hat in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
641 if hat:IsA("Accessory") then
642 hat.Handle.AccessoryWeld:Destroy()
643 hat.Handle.Velocity = Vector3.new(math.huge,math.huge,math.huge)
644 end
645end
646end
647)
648
649-- fencing only
650if game.PlaceId == 12109643 then
651addcommand(
652"killall",
653"Kills everyone.",
6540,
655{"spraykillall"},
656function()
657local Players = game:GetService("Players")
658local Player = Players.LocalPlayer
659local Character = Player.Character
660local Humanoid = Character:FindFirstChildOfClass("Humanoid")
661local RootPart = Humanoid.RootPart
662local Handle = workspace:FindFirstChild("Handle")
663
664if not Character or not Humanoid or not RootPart or not Handle or not Character:FindFirstChild("Right Arm") then return end
665
666local Old = RootPart.CFrame
667
668RootPart.CFrame = CFrame.new(0,8e9,0)
669
670for i = 1,#Players:GetPlayers() - 1 do
671 firetouchinterest(RootPart,Handle,0)
672 firetouchinterest(RootPart,Handle,1)
673 Character:WaitForChild("Spray").Parent = workspace
674 game:GetService("RunService").Heartbeat:wait()
675end
676for _,x in next, workspace:GetChildren() do
677 if x:IsA("Tool") and x.Name == "Spray" then
678 firetouchinterest(RootPart,x.Handle,0)
679 end
680end
681
682RootPart.Velocity = Vector3.new()
683RootPart.CFrame = Old
684repeat game:GetService("RunService").Heartbeat:wait() until Character:FindFirstChild("Spray")
685wait(.25)
686local NewHumanoid = Humanoid:Clone()
687Humanoid:Destroy()
688NewHumanoid.Parent = Character
689
690NewHumanoid:UnequipTools()
691repeat game:GetService("RunService").Heartbeat:wait() until not Character:FindFirstChild("Spray")
692wait(.25)
693for _,x in next, Player.Backpack:GetChildren() do
694 if x:IsA("Tool") and x.Name == "Spray" then
695 x.Parent = Character
696 if Players:GetPlayers()[_] and Players:GetPlayers()[_].Character and Players:GetPlayers()[_].Character:FindFirstChildOfClass("Humanoid") and not Players:GetPlayers()[_].Character:FindFirstChildOfClass("Humanoid").Sit and Players:GetPlayers()[_].Character:FindFirstChildOfClass("Humanoid").Health > 0 and Players:GetPlayers()[_].Character:FindFirstChild("Right Arm") then
697 firetouchinterest(x.Handle,Players:GetPlayers()[_].Character.PrimaryPart,0)
698 firetouchinterest(x.Handle,Players:GetPlayers()[_].Character.PrimaryPart,1)
699 game:GetService("RunService").Stepped:wait()
700 end
701 end
702end
703Player.Character = nil
704NewHumanoid.Health = 0
705end
706)
707end
708
709addcommand(
710"spotify",
711"unlocks the spotify api",
7120,
713{"spoti"},
714function()
715if getgenv().apikey == nil then
716 notify("No api key! Please apply one with spotikey.")
717else
718 notify("Unlocking api..")
719end
720_G.requests = {
721 ["CurrentlyPlaying"] = {
722 Url = "https://api.spotify.com/v1/me/player/currently-playing",
723 Method = "GET",
724 Headers = {
725 ["Accept"] = "application/json",
726 ["Authorization"] = "Bearer " .. apikey,
727 ["Content-Type"] = "application/json"
728 }
729 },
730 ["NextSong"] = {
731 Url = "https://api.spotify.com/v1/me/player/next",
732 Method = "POST",
733 Headers = {
734 ["Accept"] = "application/json",
735 ["Authorization"] = "Bearer " .. apikey,
736 ["Content-Type"] = "application/json"
737 }
738 },
739 ["LastSong"] = {
740 Url = "https://api.spotify.com/v1/me/player/previous",
741 Method = "POST",
742 Headers = {
743 ["Accept"] = "application/json",
744 ["Authorization"] = "Bearer " .. apikey,
745 ["Content-Type"] = "application/json"
746 }
747 },
748 ["Pause"] = {
749 Url = "https://api.spotify.com/v1/me/player/pause",
750 Method = "PUT",
751 Headers = {
752 ["Accept"] = "application/json",
753 ["Authorization"] = "Bearer " .. apikey,
754 ["Content-Type"] = "application/json"
755 }
756 },
757 ["Play"] = {
758 Url = "https://api.spotify.com/v1/me/player/play",
759 Method = "PUT",
760 Headers = {
761 ["Accept"] = "application/json",
762 ["Authorization"] = "Bearer " .. apikey,
763 ["Content-Type"] = "application/json"
764 }
765 },
766}
767
768end
769)
770
771addcommand(
772"spotinext",
773"goes to the next song on spotify",
7740,
775{"spotifynext"},
776function()
777local succ,err = pcall(function()
778syn.request(_G.requests["NextSong"])
779end)
780if err then
781 notify("Spotify api not unlocked..")
782end
783end
784)
785
786
787addcommand(
788"spotipause",
789"pauses the song on spotify",
7900,
791{"spotifypause"},
792function()
793local succ,err = pcall(function()
794syn.request(_G.requests["Pause"])
795end)
796if err then
797 notify("Spotify api not unlocked..")
798end
799end
800)
801
802addcommand(
803"spotiplay",
804"plays/unpauses the song on spotify",
8050,
806{"spotifyplay"},
807function()
808local succ,err = pcall(function()
809syn.request(_G.requests["Play"])
810end)
811if err then
812 notify("Spotify api not unlocked..")
813end
814end
815)
816
817
818addcommand(
819"spotilast",
820"goes to the last song on spotify",
8210,
822{"spoti"},
823function()
824local succ,err = pcall(function()
825syn.request(_G.requests["LastSong"])
826end)
827if err then
828 notify("Spotify api not unlocked..")
829end
830end
831)
832
833
834
835addcommand(
836"amongus",
837"susifies you",
8380,
839{"susify", "amogus"},
840function()
841function weldit(part0, part1, offset)
842 a0 = Instance.new("Attachment", part0)
843 if offset then
844 a0.Position = offset
845 end
846 a1 = Instance.new("Attachment", part1)
847 a2 = Instance.new("Attachment", part0)
848 part0.AlignPosition.Attachment0 = a0
849 part0.AlignPosition.Attachment1 = a1
850 part0.AlignOrientation.Attachment0 = a2
851 part0.AlignOrientation.Attachment1 = a1
852end
853function align(part)
854 alignPosition = Instance.new("AlignPosition", part)
855 alignPosition.RigidityEnabled = false
856 alignPosition.ApplyAtCenterOfMass = false
857 alignPosition.MaxForce = 9e35
858 alignPosition.MaxVelocity = 9e99
859 alignPosition.ReactionForceEnabled = false
860 alignPosition.Responsiveness = 9e99
861 alignOr = Instance.new("AlignOrientation", part)
862 alignOr.MaxTorque = 9e99
863 alignOr.MaxAngularVelocity = 9e99
864 alignOr.PrimaryAxisOnly = false
865 alignOr.ReactionTorqueEnabled = false
866 alignOr.Responsiveness = 200
867 alignOr.RigidityEnabled = false
868end
869notify("Susifying you..")
870local succ, err =
871pcall(
872function()
873 for i, v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
874 if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
875 game:GetService("RunService").Heartbeat:connect(
876 function()
877 game.Players.LocalPlayer.Character["Left Arm"].Velocity = Vector3.new(0, 45.005, 0)
878 game.Players.LocalPlayer.Character["Right Arm"].Velocity = Vector3.new(0, 45.005, 0)
879 end
880 )
881 end
882 end
883 if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
884 align(game.Players.LocalPlayer.Character["Left Arm"])
885 align(game.Players.LocalPlayer.Character["Right Arm"])
886 game.Players.LocalPlayer.Character["Torso"]["Right Shoulder"]:Destroy()
887 weldit(
888 game.Players.LocalPlayer.Character["Right Arm"],
889 game.Players.LocalPlayer.Character.Torso,
890 Vector3.new(0.3, 0, -1)
891 )
892 game.Players.LocalPlayer.Character["Torso"]["Left Shoulder"]:Destroy()
893 weldit(
894 game.Players.LocalPlayer.Character["Left Arm"],
895 game.Players.LocalPlayer.Character.Torso,
896 Vector3.new(-0.3, 0, -1)
897 )
898 elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
899 notify("R15 only!")
900 end
901 game.Players.LocalPlayer.Character.Head.Mesh:Destroy()
902end
903)
904if err then
905 notify("Uh oh, something went wrong.")
906end
907end
908)
909
910addcommand(
911"nolegs",
912"removes your legs",
9130,
914{},
915function()
916notify("Removing legs..")
917local succ, err =
918pcall(
919function()
920 if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
921 game.Players.LocalPlayer.Character["Left Leg"]:Destroy()
922 game.Players.LocalPlayer.Character["Right Leg"]:Destroy()
923 elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
924 game.Players.LocalPlayer.Character["LeftUpperLeg"]:Destroy()
925 game.Players.LocalPlayer.Character["RightUpperLeg"]:Destroy()
926 end
927end
928)
929if err then
930 notify("Uh oh, something went wrong.")
931end
932end
933)
934
935addcommand(
936"nolimbs",
937"removes your limbs",
9380,
939{},
940function()
941notify("Removing limbs..")
942local succ, err =
943pcall(
944function()
945 if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
946 game.Players.LocalPlayer.Character["Left Arm"]:Destroy()
947 game.Players.LocalPlayer.Character["Right Arm"]:Destroy()
948 game.Players.LocalPlayer.Character["Left Leg"]:Destroy()
949 game.Players.LocalPlayer.Character["Right Leg"]:Destroy()
950 elseif game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
951 game.Players.LocalPlayer.Character["LeftUpperArm"]:Destroy()
952 game.Players.LocalPlayer.Character["RightUpperArm"]:Destroy()
953 game.Players.LocalPlayer.Character["LeftUpperLeg"]:Destroy()
954 game.Players.LocalPlayer.Character["RightUpperLeg"]:Destroy()
955 end
956end
957)
958if err then
959 notify("Uh oh, something went wrong.")
960end
961end
962)
963
964addcommand(
965"freezeanims",
966"freezes animations",
9670,
968{"freezeanim"},
969function()
970notify("Freezing animations..")
971local ActiveTracks = game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()
972for _, v in pairs(ActiveTracks) do
973 v:AdjustSpeed(0)
974end
975end
976)
977
978addcommand(
979"unfreezeanims",
980"freezes animations",
9810,
982{"unfreezeanim"},
983function()
984notify("Unfreezing animations..")
985local ActiveTracks = game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()
986for _, v in pairs(ActiveTracks) do
987 v:AdjustSpeed(1)
988end
989end
990)
991
992addcommand(
993"fakechat",
994"fake chats as a user with specified message (you need to chat too)",
9953,
996{"falsechat"},
997function(user,chat,ychat)
998notify("Faking chat..")
999local A_1 = ychat.." ".."["..user.."]"..":".."".. " "..chat
1000local A_2 = "All"
1001local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
1002Event:FireServer(A_1, A_2)
1003end
1004)
1005
1006
1007-- Changelog
1008
1009local ScreenGui = Instance.new("ScreenGui")
1010local Changelog = Instance.new("Frame")
1011local Penumbra = Instance.new("ImageLabel")
1012local ImageLabel = Instance.new("ImageLabel")
1013local CMDTITLE = Instance.new("TextLabel")
1014local ImageLabel_2 = Instance.new("ImageLabel")
1015local MAOWQ = Instance.new("TextLabel")
1016local ImageLabel_3 = Instance.new("ImageLabel")
1017local Chanelog = Instance.new("TextLabel")
1018
1019--Properties:
1020
1021ScreenGui.Parent = game.CoreGui
1022ScreenGui.Name = "HBLOG"
1023
1024Changelog.Name = "Changelog"
1025Changelog.Parent = ScreenGui
1026Changelog.AnchorPoint = Vector2.new(0.5, 0.5)
1027Changelog.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
1028Changelog.Position = UDim2.new(0.499635637, 0, 0.499820173, 0)
1029Changelog.Size = UDim2.new(0, 479, 0, 288)
1030Changelog.ZIndex = 2
1031Changelog.Visible = false
1032
1033Penumbra.Name = "Penumbra"
1034Penumbra.Parent = Changelog
1035Penumbra.Active = true
1036Penumbra.AnchorPoint = Vector2.new(0.5, 0.5)
1037Penumbra.BackgroundTransparency = 1.000
1038Penumbra.BorderSizePixel = 0
1039Penumbra.Position = UDim2.new(0.45726496, 0, 0.584302306, 1)
1040Penumbra.Size = UDim2.new(1, 18, 1, 18)
1041Penumbra.Image = "rbxassetid://1316045217"
1042Penumbra.ImageColor3 = Color3.fromRGB(0, 0, 0)
1043Penumbra.ImageTransparency = 0.880
1044Penumbra.ScaleType = Enum.ScaleType.Slice
1045Penumbra.SliceCenter = Rect.new(10, 10, 118, 118)
1046
1047ImageLabel.Parent = Changelog
1048ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1049ImageLabel.BackgroundTransparency = 1.000
1050ImageLabel.Position = UDim2.new(-0.0132315634, 0, 0.770409405, 0)
1051ImageLabel.Size = UDim2.new(0, 101, 0, 83)
1052ImageLabel.ZIndex = 2
1053ImageLabel.Image = "http://www.roblox.com/asset/?id=217370037"
1054ImageLabel.ImageTransparency = 0.600
1055
1056CMDTITLE.Name = "CMDTITLE"
1057CMDTITLE.Parent = Changelog
1058CMDTITLE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1059CMDTITLE.BackgroundTransparency = 1.000
1060CMDTITLE.Position = UDim2.new(0.362217844, 0, 0.074537456, 0)
1061CMDTITLE.Size = UDim2.new(0, 131, 0, 36)
1062CMDTITLE.ZIndex = 2
1063CMDTITLE.Font = Enum.Font.GothamBlack
1064CMDTITLE.Text = "HOMEBREW ADMIN"
1065CMDTITLE.TextColor3 = Color3.fromRGB(255, 255, 255)
1066CMDTITLE.TextSize = 20.000
1067
1068ImageLabel_2.Parent = Changelog
1069ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1070ImageLabel_2.BackgroundTransparency = 1.000
1071ImageLabel_2.Position = UDim2.new(0.16108036, 0, 0.810999811, 0)
1072ImageLabel_2.Size = UDim2.new(0, 88, 0, 61)
1073ImageLabel_2.ZIndex = 2
1074ImageLabel_2.Image = "http://www.roblox.com/asset/?id=217370037"
1075ImageLabel_2.ImageTransparency = 0.800
1076
1077MAOWQ.Name = "MAOWQ"
1078MAOWQ.Parent = Changelog
1079MAOWQ.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1080MAOWQ.BackgroundTransparency = 1.000
1081MAOWQ.Position = UDim2.new(0.440408856, 0, 0.197908744, 0)
1082MAOWQ.Size = UDim2.new(0, 56, 0, 23)
1083MAOWQ.ZIndex = 2
1084MAOWQ.Font = Enum.Font.Gotham
1085MAOWQ.Text = "CHANGELOG //"
1086MAOWQ.TextColor3 = Color3.fromRGB(255, 255, 255)
1087MAOWQ.TextSize = 12.000
1088
1089ImageLabel_3.Parent = Changelog
1090ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1091ImageLabel_3.BackgroundTransparency = 1.000
1092ImageLabel_3.Position = UDim2.new(0.20083572, 0, 0.89956069, 0)
1093ImageLabel_3.Size = UDim2.new(0, 105, 0, 37)
1094ImageLabel_3.ZIndex = 2
1095ImageLabel_3.Image = "http://www.roblox.com/asset/?id=217370037"
1096ImageLabel_3.ImageTransparency = 0.800
1097
1098Chanelog.Name = "Chanelog"
1099Chanelog.Parent = Changelog
1100Chanelog.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
1101Chanelog.BackgroundTransparency = 1.000
1102Chanelog.Position = UDim2.new(0.0921858922, 0, 0.276124328, 0)
1103Chanelog.Size = UDim2.new(0, 391, 0, 194)
1104Chanelog.ZIndex = 2
1105Chanelog.Font = Enum.Font.Gotham
1106Chanelog.Text = ""
1107Chanelog.TextColor3 = Color3.fromRGB(255, 255, 255)
1108Chanelog.TextScaled = true
1109Chanelog.TextSize = 12.000
1110Chanelog.TextWrapped = true
1111
1112addcommand(
1113"2007anims",
1114"changes your characters animations to 2007 animations",
11150,
1116{"2007anim"},
1117function()
1118loadstring(game:HttpGet(('https://raw.githubusercontent.com/mgamingpro/HomebrewAdmin/master/scripts/2007anims.lua'),true))()
1119end
1120)
1121
1122
1123addcommand(
1124"r15v2",
1125"gives you v2 r15 animations from 2016",
11260,
1127{},
1128function()
1129if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
1130 notify("Loading V2 R15 Animations..")
1131 game.Players.LocalPlayer.Character.Animate:Destroy()
1132 local a = game:GetObjects("rbxassetid://6816103163")[1]
1133 local function b()
1134 local c = Instance.new("LocalScript", Close)
1135 c.Name = "Animate"
1136 c.Parent = game.Players.LocalPlayer.Character
1137 for d, e in next, a:GetDescendants() do
1138 if e:IsA("StringValue") then
1139 e.Parent = c
1140 end
1141 end
1142 function waitForChild(f, g)
1143 local h = nil
1144 local i = f:findFirstChild(g)
1145 if i then
1146 return i
1147 end
1148 while true do
1149 h = f.ChildAdded:wait()
1150 if h.Name == g then
1151 break
1152 end
1153 end
1154 return h
1155 end
1156 local j = c.Parent
1157 local k = waitForChild(j, "Humanoid")
1158 k.CameraOffset = Vector3.new(0, 0.5, 0)
1159 math.randomseed(tick())
1160 local l = {}
1161 function configureAnimationSet(m, n)
1162 if l[m] ~= nil then
1163 local o, p, q = pairs(l[m].connections)
1164 while true do
1165 local r, s = o(p, q)
1166 if r then
1167 else
1168 break
1169 end
1170 q = r
1171 s:disconnect()
1172 end
1173 end
1174 l[m] = {}
1175 l[m].count = 0
1176 l[m].totalWeight = 0
1177 l[m].connections = {}
1178 local t = c:FindFirstChild(m)
1179 if t ~= nil then
1180 table.insert(
1181 l[m].connections,
1182 t.ChildAdded:connect(
1183 function(u)
1184 configureAnimationSet(m, n)
1185 end
1186 )
1187 )
1188 table.insert(
1189 l[m].connections,
1190 t.ChildRemoved:connect(
1191 function(v)
1192 configureAnimationSet(m, n)
1193 end
1194 )
1195 )
1196 local w = 1
1197 local x, y, z = pairs(t:GetChildren())
1198 while true do
1199 local A, B = x(y, z)
1200 if A then
1201 else
1202 break
1203 end
1204 z = A
1205 if B:IsA("Animation") then
1206 table.insert(
1207 l[m].connections,
1208 B.Changed:connect(
1209 function(C)
1210 configureAnimationSet(m, n)
1211 end
1212 )
1213 )
1214 l[m][w] = {}
1215 l[m][w].anim = B
1216 local D = B:FindFirstChild("Weight")
1217 if D == nil then
1218 l[m][w].weight = 1
1219 else
1220 l[m][w].weight = D.Value
1221 end
1222 l[m].count = l[m].count + 1
1223 l[m].totalWeight = l[m].totalWeight + l[m][w].weight
1224 w = w + 1
1225 end
1226 end
1227 end
1228 if l[m].count <= 0 then
1229 local E, F, G = pairs(n)
1230 while true do
1231 local H, I = E(F, G)
1232 if H then
1233 else
1234 break
1235 end
1236 G = H
1237 l[m][H] = {}
1238 l[m][H].anim = Instance.new("Animation")
1239 l[m][H].anim.Name = m
1240 l[m][H].anim.AnimationId = I.id
1241 l[m][H].weight = I.weight
1242 l[m].count = l[m].count + 1
1243 l[m].totalWeight = l[m].totalWeight + I.weight
1244 end
1245 end
1246 end
1247 local J = {
1248 idle = {
1249 {id = "rbxasset://R15021216/idle_stretch.xml", weight = 1},
1250 {id = "rbxasset://R15021216/idle_look.xml", weight = 1},
1251 {id = "rbxasset://R15021216/idle.xml", weight = 9}
1252 },
1253 walk = {{id = "rbxasset://R15021216/run.xml", weight = 10}},
1254 run = {{id = "rbxasset://R15021216/run.xml", weight = 10}},
1255 jump = {{id = "rbxasset://R15021216/jump.xml", weight = 10}},
1256 fall = {{id = "rbxasset://R15021216/falling.xml", weight = 10}},
1257 climb = {{id = "rbxasset://R15021216/climb.xml", weight = 10}},
1258 sit = {{id = "http://www.roblox.com/asset/?id=393915321", weight = 10}},
1259 toolnone = {{id = "http://www.roblox.com/asset/?id=393915542", weight = 10}},
1260 toolslash = {{id = "http://www.roblox.com/asset/?id=393915542", weight = 10}},
1261 toollunge = {{id = "http://www.roblox.com/asset/?id=393915542", weight = 10}},
1262 wave = {{id = "http://www.roblox.com/asset/?id=393915710", weight = 10}},
1263 point = {{id = "http://www.roblox.com/asset/?id=393915866", weight = 10}},
1264 dance = {
1265 {id = "http://www.roblox.com/asset/?id=393916260", weight = 10},
1266 {id = "http://www.roblox.com/asset/?id=393916456", weight = 10},
1267 {id = "http://www.roblox.com/asset/?id=393916635", weight = 10}
1268 },
1269 dance2 = {
1270 {id = "http://www.roblox.com/asset/?id=393916791", weight = 10},
1271 {id = "http://www.roblox.com/asset/?id=393916989", weight = 10},
1272 {id = "http://www.roblox.com/asset/?id=393917195", weight = 10}
1273 },
1274 dance3 = {
1275 {id = "http://www.roblox.com/asset/?id=393917375", weight = 10},
1276 {id = "http://www.roblox.com/asset/?id=393917556", weight = 10},
1277 {id = "http://www.roblox.com/asset/?id=393917721", weight = 10}
1278 },
1279 laugh = {{id = "http://www.roblox.com/asset/?id=393916166", weight = 10}},
1280 cheer = {{id = "http://www.roblox.com/asset/?id=393916016", weight = 10}}
1281 }
1282 function scriptChildModified(K)
1283 local L = J[K.Name]
1284 if L ~= nil then
1285 configureAnimationSet(K.Name, L)
1286 end
1287 end
1288 c.ChildAdded:connect(scriptChildModified)
1289 c.ChildRemoved:connect(scriptChildModified)
1290 for M, N in pairs(J) do
1291 configureAnimationSet(M, N)
1292 end
1293 local O = ""
1294 local P = {
1295 wave = false,
1296 point = false,
1297 dance = true,
1298 dance2 = true,
1299 dance3 = true,
1300 laugh = false,
1301 cheer = false
1302 }
1303 local Q = nil
1304 local R = nil
1305 local S = nil
1306 function stopAllAnimations()
1307 local T = O
1308 if P[T] ~= nil then
1309 if P[T] == false then
1310 T = "idle"
1311 end
1312 end
1313 O = ""
1314 Q = nil
1315 if R ~= nil then
1316 R:disconnect()
1317 end
1318 if S ~= nil then
1319 S:Stop()
1320 S:Destroy()
1321 S = nil
1322 end
1323 return T
1324 end
1325 local U = 1
1326 function setAnimationSpeed(V)
1327 if V ~= U then
1328 U = V
1329 S:AdjustSpeed(U)
1330 end
1331 end
1332 function keyFrameReachedFunc(W)
1333 if W == "End" then
1334 local X = O
1335 if P[X] ~= nil then
1336 if P[X] == false then
1337 X = "idle"
1338 end
1339 end
1340 playAnimation(X, 0.15, k)
1341 setAnimationSpeed(U)
1342 end
1343 end
1344 function playAnimation(Y, Z, _)
1345 local a0 = math.random(1, l[Y].totalWeight)
1346 local a1 = 1
1347 while true do
1348 if l[Y][a1].weight < a0 then
1349 else
1350 break
1351 end
1352 a0 = a0 - l[Y][a1].weight
1353 a1 = a1 + 1
1354 end
1355 local a2 = l[Y][a1].anim
1356 if a2 ~= Q then
1357 if S ~= nil then
1358 S:Stop(Z)
1359 S:Destroy()
1360 end
1361 U = 1
1362 S = _:LoadAnimation(a2)
1363 S:Play(Z)
1364 O = Y
1365 Q = a2
1366 if R ~= nil then
1367 R:disconnect()
1368 end
1369 R = S.KeyframeReached:connect(keyFrameReachedFunc)
1370 end
1371 end
1372 local a3 = ""
1373 function toolKeyFrameReachedFunc(a4)
1374 if a4 == "End" then
1375 playToolAnimation(a3, 0, k)
1376 end
1377 end
1378 local a5 = nil
1379 local a6 = nil
1380 local a7 = nil
1381 function playToolAnimation(a8, a9, aa)
1382 local ab = math.random(1, l[a8].totalWeight)
1383 local ac = 1
1384 while true do
1385 if l[a8][ac].weight < ab then
1386 else
1387 break
1388 end
1389 ab = ab - l[a8][ac].weight
1390 ac = ac + 1
1391 end
1392 local ad = l[a8][ac].anim
1393 if a5 ~= ad then
1394 if a6 ~= nil then
1395 a6:Stop()
1396 a6:Destroy()
1397 a9 = 0
1398 end
1399 a6 = aa:LoadAnimation(ad)
1400 a6:Play(a9)
1401 a3 = a8
1402 a5 = ad
1403 a7 = a6.KeyframeReached:connect(toolKeyFrameReachedFunc)
1404 end
1405 end
1406 function stopToolAnimations()
1407 if a7 ~= nil then
1408 a7:disconnect()
1409 end
1410 a3 = ""
1411 a5 = nil
1412 if a6 ~= nil then
1413 a6:Stop()
1414 a6:Destroy()
1415 a6 = nil
1416 end
1417 return a3
1418 end
1419 local ae = "Standing"
1420 function onRunning(af)
1421 if 0.01 < af then
1422 else
1423 playAnimation("idle", 0.1, k)
1424 ae = "Standing"
1425 return
1426 end
1427 playAnimation("walk", 0.1, k)
1428 setAnimationSpeed(af / 15)
1429 ae = "Running"
1430 end
1431 function onDied()
1432 ae = "Dead"
1433 end
1434 local ag = 0
1435 function onJumping()
1436 playAnimation("jump", 0.1, k)
1437 ag = 0.31
1438 ae = "Jumping"
1439 end
1440 function onClimbing(ah)
1441 playAnimation("climb", 0.1, k)
1442 setAnimationSpeed(ah / 2)
1443 ae = "Climbing"
1444 end
1445 function onGettingUp()
1446 ae = "GettingUp"
1447 end
1448 function onFreeFall()
1449 if ag <= 0 then
1450 playAnimation("fall", 0.2, k)
1451 end
1452 ae = "FreeFall"
1453 end
1454 function onFallingDown()
1455 ae = "FallingDown"
1456 end
1457 function onSeated()
1458 ae = "Seated"
1459 end
1460 function onPlatformStanding()
1461 ae = "PlatformStanding"
1462 end
1463 function onSwimming(ai)
1464 if 0 < ai then
1465 ae = "Running"
1466 return
1467 end
1468 ae = "Standing"
1469 end
1470 function getTool()
1471 local aj, ak, al = ipairs(j:GetChildren())
1472 while true do
1473 local am, an = aj(ak, al)
1474 if am then
1475 else
1476 break
1477 end
1478 al = am
1479 if an.className == "Tool" then
1480 return an
1481 end
1482 end
1483 return nil
1484 end
1485 function getToolAnim(ao)
1486 local ap, aq, ar = ipairs(ao:GetChildren())
1487 while true do
1488 local as, at = ap(aq, ar)
1489 if as then
1490 else
1491 break
1492 end
1493 ar = as
1494 if at.Name == "toolanim" then
1495 if at.className == "StringValue" then
1496 return at
1497 end
1498 end
1499 end
1500 return nil
1501 end
1502 local au = "None"
1503 function animateTool()
1504 if au == "None" then
1505 playToolAnimation("toolnone", 0.1, k)
1506 return
1507 end
1508 if au == "Slash" then
1509 playToolAnimation("toolslash", 0, k)
1510 return
1511 end
1512 if au == "Lunge" then
1513 else
1514 return
1515 end
1516 playToolAnimation("toollunge", 0, k)
1517 end
1518 function moveSit()
1519 RightShoulder.MaxVelocity = 0.15
1520 LeftShoulder.MaxVelocity = 0.15
1521 RightShoulder:SetDesiredAngle(1.57)
1522 LeftShoulder:SetDesiredAngle(-1.57)
1523 RightHip:SetDesiredAngle(1.57)
1524 LeftHip:SetDesiredAngle(-1.57)
1525 end
1526 local av = 0
1527 local aw = 0
1528 function move(ax)
1529 av = ax
1530 if 0 < ag then
1531 ag = ag - (ax - av)
1532 end
1533 if ae == "FreeFall" then
1534 if ag <= 0 then
1535 playAnimation("fall", 0.2, k)
1536 else
1537 if ae == "Seated" then
1538 playAnimation("sit", 0.5, k)
1539 return
1540 end
1541 if ae == "Running" then
1542 playAnimation("walk", 0.1, k)
1543 elseif ae ~= "Dead" then
1544 if ae ~= "GettingUp" then
1545 if ae ~= "FallingDown" then
1546 if ae ~= "Seated" then
1547 if ae == "PlatformStanding" then
1548 stopAllAnimations()
1549 end
1550 else
1551 stopAllAnimations()
1552 end
1553 else
1554 stopAllAnimations()
1555 end
1556 else
1557 stopAllAnimations()
1558 end
1559 else
1560 stopAllAnimations()
1561 end
1562 end
1563 else
1564 if ae == "Seated" then
1565 playAnimation("sit", 0.5, k)
1566 return
1567 end
1568 if ae == "Running" then
1569 playAnimation("walk", 0.1, k)
1570 elseif ae ~= "Dead" then
1571 if ae ~= "GettingUp" then
1572 if ae ~= "FallingDown" then
1573 if ae ~= "Seated" then
1574 if ae == "PlatformStanding" then
1575 stopAllAnimations()
1576 end
1577 else
1578 stopAllAnimations()
1579 end
1580 else
1581 stopAllAnimations()
1582 end
1583 else
1584 stopAllAnimations()
1585 end
1586 else
1587 stopAllAnimations()
1588 end
1589 end
1590 local ay = getTool()
1591 if ay then
1592 else
1593 stopToolAnimations()
1594 au = "None"
1595 a5 = nil
1596 aw = 0
1597 return
1598 end
1599 animStringValueObject = getToolAnim(ay)
1600 if animStringValueObject then
1601 au = animStringValueObject.Value
1602 animStringValueObject.Parent = nil
1603 aw = ax + 0.3
1604 end
1605 if aw < ax then
1606 aw = 0
1607 au = "None"
1608 end
1609 animateTool()
1610 end
1611 k.Died:connect(onDied)
1612 k.Running:connect(onRunning)
1613 k.Jumping:connect(onJumping)
1614 k.Climbing:connect(onClimbing)
1615 k.GettingUp:connect(onGettingUp)
1616 k.FreeFalling:connect(onFreeFall)
1617 k.FallingDown:connect(onFallingDown)
1618 k.Seated:connect(onSeated)
1619 k.PlatformStanding:connect(onPlatformStanding)
1620 k.Swimming:connect(onSwimming)
1621 Game.Players.LocalPlayer.Chatted:connect(
1622 function(az)
1623 local aA = ""
1624 if string.sub(az, 1, 3) == "/e " then
1625 aA = string.sub(az, 4)
1626 elseif string.sub(az, 1, 7) == "/emote " then
1627 aA = string.sub(az, 8)
1628 end
1629 if ae == "Standing" and P[aA] ~= nil then
1630 playAnimation(aA, 0.1, k)
1631 end
1632 end
1633 )
1634 local aB = game:service("RunService")
1635 playAnimation("idle", 0.1, k)
1636 ae = "Standing"
1637 while j.Parent ~= nil do
1638 local aC, aD = wait(0.1)
1639 move(aD)
1640 end
1641 end
1642 coroutine.wrap(b)()
1643else
1644 notify("Must be R15.")
1645end
1646end
1647)
1648addcommand(
1649"whisper",
1650"sends a pm to specified player with specified text",
16512,
1652{},
1653function(player, text)
1654user = getPlayer(player)
1655plr = user.Name
1656notify("Whispering to " .. plr .. ", " .. text .. ".")
1657whisper(user, text)
1658end
1659)
1660
1661addcommand(
1662"tornado",
1663"Tornadoes specified player [TOOL REQUIRED]",
16641,
1665{"cuff"},
1666function(player)
1667Target = player
1668local function Message(MTitle, MText, Time)
1669 -- game:GetService("StarterGui"):SetCore("SendNotification",{Title = MTitle;Text = MText;Duration = Time;})
1670 notify(MText)
1671end
1672
1673if not getPlayer(Target) then
1674 return Message("Error", "> Player does not exist.", 5)
1675end
1676
1677repeat
1678 game:GetService("RunService").Heartbeat:wait()
1679until getPlayer(Target).Character and getPlayer(Target).Character:FindFirstChildOfClass("Humanoid").Health > 0 or
1680not getPlayer(Target)
1681
1682local Player = game:GetService("Players").LocalPlayer
1683local Character = Player.Character
1684local Humanoid
1685local HumanoidRootPart
1686local Torso
1687local Tool
1688local Handle
1689
1690local TPlayer = getPlayer(Target)
1691local TCharacter = TPlayer.Character
1692local THumanoid
1693local THumanoidRootPart
1694local TTorso
1695
1696if Character:FindFirstChild("HumanoidRootPart") then
1697 HumanoidRootPart = Character.HumanoidRootPart
1698end
1699if Character:FindFirstChild("Torso") then
1700 Torso = Character.Torso
1701end
1702if Character:FindFirstChildOfClass("Humanoid") then
1703 Humanoid = Character:FindFirstChildOfClass("Humanoid")
1704end
1705if Character:FindFirstChildOfClass("Tool") then
1706 Tool = Character:FindFirstChildOfClass("Tool")
1707elseif Player.Backpack:FindFirstChildOfClass("Tool") and Humanoid then
1708 Tool = Player.Backpack:FindFirstChildOfClass("Tool")
1709 Humanoid:EquipTool(Player.Backpack:FindFirstChildOfClass("Tool"))
1710end
1711if Tool and Tool:FindFirstChild("Handle") then
1712 Handle = Tool.Handle
1713end
1714if TCharacter:FindFirstChild("HumanoidRootPart") then
1715 THumanoidRootPart = TCharacter.HumanoidRootPart
1716end
1717if TCharacter:FindFirstChild("Torso") then
1718 TTorso = TCharacter.Torso
1719elseif TCharacter:FindFirstChild("UpperTorso") then
1720 TTorso = TCharacter.UpperTorso
1721end
1722if TCharacter:FindFirstChildOfClass("Humanoid") then
1723 THumanoid = Character:FindFirstChildOfClass("Humanoid")
1724end
1725if not HumanoidRootPart then
1726 Message("Error", "> Missing HumanoidRootPart, Trying Torso.", 5)
1727 wait(1)
1728 if Torso then
1729 Message("Succes", "> Torso found.", 5)
1730 wait(1)
1731 else
1732 Message("Error", "> Missing Torso")
1733 return
1734 end
1735end
1736if Humanoid.RigType == Enum.HumanoidRigType.R15 then
1737 Message("Error", "> This command doesn't work on R15.", 5)
1738 wait(1)
1739 return
1740end
1741if not Tool then
1742 Message("Error", "> You have no tools.", 5)
1743 wait(1)
1744 return
1745end
1746if not Handle then
1747 Message("Error", "> Tool doesn't have handle.", 5)
1748 wait(1)
1749 return
1750end
1751if not THumanoidRootPart then
1752 Message("Error", "> Missing HumanoidRootPart on Target, Trying Torso.", 5)
1753 wait(1)
1754 if Torso then
1755 Message("Succes", "> Torso found on Target.", 5)
1756 wait(1)
1757 else
1758 Message("Error", "> Missing Torso on Target", 5)
1759 return
1760 end
1761end
1762
1763Humanoid:Destroy()
1764local NewHumanoid = Instance.new("Humanoid", Character)
1765NewHumanoid:UnequipTools()
1766NewHumanoid:EquipTool(Tool)
1767Tool.Parent = workspace
1768
1769repeat
1770 Tool.Grip = CFrame.new()
1771 Tool.Grip = Handle.CFrame:ToObjectSpace(TTorso.CFrame):Inverse()
1772 firetouchinterest(Handle, TTorso, 0)
1773 firetouchinterest(Handle, TTorso, 1)
1774 game:GetService("RunService").Heartbeat:wait()
1775until Tool.Parent ~= Character
1776NewHumanoid.WalkSpeed = 30
1777end
1778)
1779
1780addcommand(
1781"tkill",
1782"kills specified player [TOOL REQUIRED]",
17831,
1784{"kill"},
1785function(player)
1786Target = player
1787local function Message(MTitle, MText, Time)
1788 -- game:GetService("StarterGui"):SetCore("SendNotification",{Title = MTitle;Text = MText;Duration = Time;})
1789 notify(MText)
1790end
1791
1792if not getPlayer(Target) then
1793 return Message("Error", "> Player does not exist.", 5)
1794end
1795
1796repeat
1797 game:GetService("RunService").Heartbeat:wait()
1798until getPlayer(Target).Character and getPlayer(Target).Character:FindFirstChildOfClass("Humanoid").Health > 0 or
1799not getPlayer(Target)
1800
1801local Player = game:GetService("Players").LocalPlayer
1802local Character = Player.Character
1803local Humanoid
1804local HumanoidRootPart
1805local Torso
1806local Tool
1807local Handle
1808
1809local TPlayer = getPlayer(Target)
1810local TCharacter = TPlayer.Character
1811local THumanoid
1812local THumanoidRootPart
1813local TTorso
1814
1815if Character:FindFirstChild("HumanoidRootPart") then
1816 HumanoidRootPart = Character.HumanoidRootPart
1817end
1818if Character:FindFirstChild("Torso") then
1819 Torso = Character.Torso
1820end
1821if Character:FindFirstChildOfClass("Humanoid") then
1822 Humanoid = Character:FindFirstChildOfClass("Humanoid")
1823end
1824if Character:FindFirstChildOfClass("Tool") then
1825 Tool = Character:FindFirstChildOfClass("Tool")
1826elseif Player.Backpack:FindFirstChildOfClass("Tool") and Humanoid then
1827 Tool = Player.Backpack:FindFirstChildOfClass("Tool")
1828 Humanoid:EquipTool(Player.Backpack:FindFirstChildOfClass("Tool"))
1829end
1830if Tool and Tool:FindFirstChild("Handle") then
1831 Handle = Tool.Handle
1832end
1833if TCharacter:FindFirstChild("HumanoidRootPart") then
1834 THumanoidRootPart = TCharacter.HumanoidRootPart
1835end
1836if TCharacter:FindFirstChild("Torso") then
1837 TTorso = TCharacter.Torso
1838elseif TCharacter:FindFirstChild("UpperTorso") then
1839 TTorso = TCharacter.UpperTorso
1840end
1841if TCharacter:FindFirstChildOfClass("Humanoid") then
1842 THumanoid = Character:FindFirstChildOfClass("Humanoid")
1843end
1844if not HumanoidRootPart then
1845 Message("Error", "> Missing HumanoidRootPart, Trying Torso.", 5)
1846 wait(1)
1847 if Torso then
1848 Message("Succes", "> Torso found.", 5)
1849 wait(1)
1850 else
1851 Message("Error", "> Missing Torso")
1852 return
1853 end
1854end
1855if Humanoid.RigType == Enum.HumanoidRigType.R15 then
1856 Message("Error", "> Please use kill2 on r15.", 5)
1857 local cmd = getCommand("kill2") cmd.command(unpack(TPlayer))
1858 wait(1)
1859 return
1860end
1861if not Tool then
1862 Message("Error", "> You have no tools.", 5)
1863 wait(1)
1864 return
1865end
1866if not Handle then
1867 Message("Error", "> Tool doesn't have handle.", 5)
1868 wait(1)
1869 return
1870end
1871if not THumanoidRootPart then
1872 Message("Error", "> Missing HumanoidRootPart on Target, Trying Torso.", 5)
1873 wait(1)
1874 if Torso then
1875 Message("Succes", "> Torso found on Target.", 5)
1876 wait(1)
1877 else
1878 Message("Error", "> Missing Torso on Target", 5)
1879 return
1880 end
1881end
1882
1883Humanoid:Destroy()
1884local NewHumanoid = Instance.new("Humanoid", Character)
1885NewHumanoid:UnequipTools()
1886NewHumanoid:EquipTool(Tool)
1887Tool.Parent = workspace
1888
1889repeat
1890 Tool.Grip = CFrame.new()
1891 Tool.Grip = Handle.CFrame:ToObjectSpace(TTorso.CFrame):Inverse()
1892 firetouchinterest(Handle, TTorso, 0)
1893 firetouchinterest(Handle, TTorso, 1)
1894 game:GetService("RunService").Heartbeat:wait()
1895until Tool.Parent ~= Character
1896Player.Character = nil
1897NewHumanoid.Health = 0
1898end
1899)
1900
1901addcommand(
1902"antifling",
1903"prevents people from flinging you but you keep collisions with objects",
19040,
1905{},
1906function()
1907notify("Changing collisions..")
1908plrs = game.Players
1909function nocollision(prt, plr)
1910 for i, v in pairs(plr:GetDescendants()) do
1911 if v:IsA("BasePart") then
1912 e = Instance.new("NoCollisionConstraint", v)
1913 e.Part0 = v
1914 e.Part1 = prt
1915 end
1916 end
1917end
1918for i, yes in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
1919 if yes:IsA("BasePart") then
1920 if yes:IsA("BasePart") then
1921 for i, v in pairs(plrs:GetDescendants()) do
1922 if v:IsA("Player") then
1923 nocollision(yes, v.Character)
1924 end
1925 end
1926 end
1927 end
1928end
1929end
1930)
1931
1932addcommand(
1933"unantifling",
1934"gain back normal collisions",
19350,
1936{},
1937function()
1938notify("Giving back normal collisions..")
1939for i, v in pairs(workspace:GetDescendants()) do
1940 if v:IsA("NoCollisionConstraint") then
1941 v:Destroy()
1942 end
1943end
1944end
1945)
1946addcommand(
1947"anim",
1948"plays an animation",
19491,
1950{"loadanim"},
1951function(animid)
1952Animate = game.Players.LocalPlayer.Character.Animate
1953Anim = Instance.new("Animation")
1954rbxasset = true
1955local suc, err =
1956pcall(
1957function()
1958 animid = Animate:FindFirstChild(animid):FindFirstChildOfClass("Animation").AnimationId
1959end
1960)
1961if suc then
1962 rbxasset = false
1963end
1964print(animid)
1965if rbxasset == true then
1966 notify("Playing animation id " .. animid .. "!")
1967 Anim.AnimationId = ("rbxassetid://" .. animid)
1968else
1969 notify("Playing animation id" .. animid .. "!")
1970 Anim.AnimationId = (animid)
1971end
1972Hi = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
1973Hi:Play()
1974Hi:AdjustSpeed(1)
1975end
1976)
1977addcommand(
1978"dance",
1979"plays a dance animation",
19800,
1981{},
1982function()
1983local humanoid = game:GetService("Players").LocalPlayer.Character.Humanoid
1984Anim = Instance.new("Animation")
1985if humanoid.RigType == Enum.HumanoidRigType.R15 then
1986 r15dances = {4555808220, 4555782893, 3333432454, 4049037604}
1987 local value = math.random(1, #r15dances)
1988 picked_value = r15dances[value]
1989else
1990 r6dances = {33796059, 429730430, 429730430, 45834924}
1991 local value = math.random(1, #r6dances)
1992 picked_value = r6dances[value]
1993end
1994notify("Playing dance animation! ID: " .. picked_value)
1995Anim.AnimationId = ("rbxassetid://" .. picked_value)
1996Hi = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
1997Hi:Play()
1998Hi:AdjustSpeed(1)
1999end
2000)
2001
2002addcommand(
2003"undance",
2004"stops the dance animation",
20050,
2006{},
2007function()
2008notify("Undancing..")
2009local ActiveTracks = game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()
2010for _, v in pairs(ActiveTracks) do
2011 v:Stop()
2012end
2013end
2014)
2015
2016addcommand(
2017"ui",
2018"changes ui to one of options",
20191,
2020{"changeui"},
2021function(name)
2022if name == "v4" then
2023 ToCustomUI()
2024 loadstring(
2025 game:HttpGetAsync("https://raw.githubusercontent.com/mgamingpro/HomebrewAdmin/master/uis/v4hbadmin.lua")
2026 )()
2027elseif name == "normal" then
2028 ToCustomUI()
2029 createui()
2030 elseif name == "destroy" then
2031 ToCustomUI()
2032 elseif name == "custom" then
2033 ToCustomUI()
2034end
2035end
2036)
2037
2038addcommand(
2039"stopanims",
2040"stops the current playing anim tracks",
20410,
2042{"stoptracks"},
2043function()
2044notify("Stopping animations..")
2045local ActiveTracks = game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()
2046for _, v in pairs(ActiveTracks) do
2047 v:Stop()
2048end
2049end
2050)
2051
2052addcommand(
2053"chat",
2054"chats specified message",
20551,
2056{},
2057function(msg)
2058notify("Chatting " .. msg .. "!")
2059wait()
2060game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("" .. msg, "All")
2061end
2062)
2063
2064addcommand(
2065"loopchat",
2066"loop chats specified message",
20671,
2068{},
2069function(msg)
2070notify("Loop chatting " .. msg .. "!")
2071wait()
2072_G.chattin = true
2073chattin =
2074game:GetService("RunService").Heartbeat:connect(
2075function()
2076 if _G.chattin == true then
2077 game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(
2078 "" .. msg,
2079 "All"
2080 )
2081 else
2082 chattin:Disconnect()
2083 end
2084end
2085)
2086end
2087)
2088
2089addcommand(
2090"unloopchat",
2091"unloop chats the previous message",
20920,
2093{},
2094function()
2095notify("Unloop chatting!")
2096_G.chattin = false
2097end
2098)
2099addcommand(
2100"animspeed",
2101"adjusts the current animation's speed",
21021,
2103{"anispeed"},
2104function(Speed)
2105notify("Adjusting speed..")
2106local ActiveTracks = game.Players.LocalPlayer.Character.Humanoid:GetPlayingAnimationTracks()
2107for _, v in pairs(ActiveTracks) do
2108 v:AdjustSpeed(Speed)
2109end
2110end
2111)
2112
2113addcommand(
2114"music",
2115"players music [clientsided]",
21161,
2117{},
2118function(id)
2119notify("Playing " .. id)
2120music = Instance.new("Sound", game.Players.LocalPlayer.Character.HumanoidRootPart)
2121music.Volume = 100
2122music.TimePosition = 0
2123music.PlaybackSpeed = 1
2124music.Pitch = 1
2125music.SoundId = ("rbxassetid://" .. id)
2126music.Name = "wrecked"
2127music.Looped = true
2128music:Play()
2129end
2130)
2131
2132addcommand(
2133"nomusic",
2134"stops playing music",
21350,
2136{"unmusic"},
2137function()
2138local succ, err =
2139pcall(
2140function()
2141 game.Players.LocalPlayer.Character.HumanoidRootPart.wrecked:Destroy()
2142end
2143)
2144if succ then
2145 notify("Stoped playing music.")
2146else
2147 notify("You aren't playing music!")
2148end
2149end
2150)
2151
2152addcommand(
2153"changeprefix",
2154"changes your prefix to specified key",
21551,
2156{"newprefix", "prefixchange","prefix"},
2157function(symbol)
2158if (symbol:match("%A")) then
2159 notify("Prefix set to: " .. symbol)
2160 prefix = symbol
2161 fireui()
2162 preffire()
2163else
2164 notify("Must be a symbol!")
2165end
2166end
2167)
2168
2169addcommand(
2170"spotikey",
2171"changes your spotify api key to specified text",
21721,
2173{"spotifykey", "spotifyapikey"},
2174function(k)
2175notify("Updating key.. (renew after an hour)")
2176keyfire(k)
2177end
2178)
2179
2180addcommand(
2181"rj",
2182"rejoins your game",
21830,
2184{"rejoin"},
2185function()
2186count = #game.Players:getPlayers()
2187if count <= 1 then
2188 game:GetService("TeleportService"):Teleport(game.PlaceId, game.Players.LocalPlayer)
2189else
2190 game:GetService("TeleportService"):TeleportToPlaceInstance(
2191 game.PlaceId,
2192 game.JobId,
2193 game.Players.LocalPlayer
2194 )
2195end
2196end
2197)
2198
2199addcommand(
2200"banish",
2201"banishes player [needs tool]",
22021,
2203{"punish", "stuckvoid"},
2204function(name)
2205user = getPlayer(name)
2206plr = user.name
2207notify("Banishing " .. plr .. "!")
2208Target = plr
2209game.Players.LocalPlayer.Character.Humanoid.Name = 1
2210local l = game.Players.LocalPlayer.Character["1"]:Clone()
2211l.Parent = game.Players.LocalPlayer.Character
2212l.Name = "Humanoid"
2213wait()
2214game.Players.LocalPlayer.Character["1"]:Destroy()
2215game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
2216game.Players.LocalPlayer.Character.Animate.Disabled = true
2217wait()
2218game.Players.LocalPlayer.Character.Animate.Disabled = false
2219game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2220for i, v in pairs(game:GetService "Players".LocalPlayer.Backpack:GetChildren()) do
2221 game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
2222end
2223wait()
2224game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2225game.Players[Target].Character.HumanoidRootPart.CFrame
2226wait()
2227game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2228game.Players[Target].Character.HumanoidRootPart.CFrame
2229wait()
2230game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2231CFrame.new(Vector3.new(-100000, 1000000000000000000000, -100000))
2232wait()
2233local prt = Instance.new("Model", workspace)
2234Instance.new("Part", prt).Name = "Torso"
2235Instance.new("Part", prt).Name = "Head"
2236Instance.new("Humanoid", prt).Name = "Humanoid"
2237game.Players.LocalPlayer.Character = prt
2238end
2239)
2240
2241addcommand(
2242"void",
2243"voids player [needs tool]",
22441,
2245{"kill2"},
2246function(name)
2247user = getPlayer(name)
2248plr = user.name
2249notify("Voiding " .. plr .. "!")
2250Target = plr
2251game.Players.LocalPlayer.Character.Humanoid.Name = 1
2252local l = game.Players.LocalPlayer.Character["1"]:Clone()
2253l.Parent = game.Players.LocalPlayer.Character
2254l.Name = "Humanoid"
2255wait()
2256game.Players.LocalPlayer.Character["1"]:Destroy()
2257game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
2258game.Players.LocalPlayer.Character.Animate.Disabled = true
2259wait()
2260game.Players.LocalPlayer.Character.Animate.Disabled = false
2261game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2262for i, v in pairs(game:GetService "Players".LocalPlayer.Backpack:GetChildren()) do
2263 game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
2264end
2265wait()
2266game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2267game.Players[Target].Character.HumanoidRootPart.CFrame
2268wait()
2269game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2270game.Players[Target].Character.HumanoidRootPart.CFrame
2271wait()
2272game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-100000, -100, -100000))
2273wait()
2274local prt = Instance.new("Model", workspace)
2275Instance.new("Part", prt).Name = "Torso"
2276Instance.new("Part", prt).Name = "Head"
2277Instance.new("Humanoid", prt).Name = "Humanoid"
2278game.Players.LocalPlayer.Character = prt
2279end
2280)
2281
2282addcommand(
2283"unbanish",
2284"unbanishes player [needs tool]",
22851,
2286{"unpunish", "unstuckvoid"},
2287function(name)
2288user = getPlayer(name)
2289plr = user.name
2290notify("Unbanishing " .. plr .. "!")
2291Target = plr
2292game.Players.LocalPlayer.Character.Humanoid.Name = 1
2293local l = game.Players.LocalPlayer.Character["1"]:Clone()
2294l.Parent = game.Players.LocalPlayer.Character
2295l.Name = "Humanoid"
2296wait()
2297game.Players.LocalPlayer.Character["1"]:Destroy()
2298game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
2299game.Players.LocalPlayer.Character.Animate.Disabled = true
2300wait()
2301game.Players.LocalPlayer.Character.Animate.Disabled = false
2302game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2303for i, v in pairs(game:GetService "Players".LocalPlayer.Backpack:GetChildren()) do
2304 game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
2305end
2306wait()
2307game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2308game.Players[Target].Character.HumanoidRootPart.CFrame
2309wait()
2310game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2311game.Players[Target].Character.HumanoidRootPart.CFrame
2312wait()
2313game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0, 0, 0))
2314wait()
2315local prt = Instance.new("Model", workspace)
2316Instance.new("Part", prt).Name = "Torso"
2317Instance.new("Part", prt).Name = "Head"
2318Instance.new("Humanoid", prt).Name = "Humanoid"
2319game.Players.LocalPlayer.Character = prt
2320end
2321)
2322
2323addcommand(
2324"freefall",
2325"freefalls player [needs tool]",
23261,
2327{"skydive"},
2328function(name)
2329user = getPlayer(name)
2330plr = user.name
2331notify("Freefalling " .. plr .. "!")
2332Target = plr
2333game.Players.LocalPlayer.Character.Humanoid.Name = 1
2334local l = game.Players.LocalPlayer.Character["1"]:Clone()
2335l.Parent = game.Players.LocalPlayer.Character
2336l.Name = "Humanoid"
2337wait()
2338game.Players.LocalPlayer.Character["1"]:Destroy()
2339game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
2340game.Players.LocalPlayer.Character.Animate.Disabled = true
2341wait()
2342game.Players.LocalPlayer.Character.Animate.Disabled = false
2343game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
2344for i, v in pairs(game:GetService "Players".LocalPlayer.Backpack:GetChildren()) do
2345 game.Players.LocalPlayer.Character.Humanoid:EquipTool(v)
2346end
2347wait()
2348game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2349game.Players[Target].Character.HumanoidRootPart.CFrame
2350wait()
2351game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
2352game.Players[Target].Character.HumanoidRootPart.CFrame
2353wait()
2354game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0, 5000, 0))
2355wait()
2356local prt = Instance.new("Model", workspace)
2357Instance.new("Part", prt).Name = "Torso"
2358Instance.new("Part", prt).Name = "Head"
2359Instance.new("Humanoid", prt).Name = "Humanoid"
2360game.Players.LocalPlayer.Character = prt
2361end
2362)
2363
2364addcommand(
2365"fly",
2366"makes your character fly",
23670,
2368{},
2369function()
2370notify("Flying character..")
2371getgenv().Flying = true
2372
2373local function Fly()
2374 Flying = true
2375 local Speed = 0
2376 local keys = {a = false, d = false, w = false, s = false}
2377 local Part = Instance.new("Part")
2378 local Weld = Instance.new("Weld", Part)
2379 Weld.Part0 = Part
2380 local Player = game:GetService("Players").LocalPlayer
2381 local Character = Player.Character
2382 repeat
2383 game:GetService("RunService").Heartbeat:wait()
2384 until Character:FindFirstChildOfClass("Humanoid")
2385 local HumanoidRootPart = Character.Humanoid.RootPart
2386 Part.Parent = workspace
2387 Weld.Parent = Part
2388 Part.Size = HumanoidRootPart.Size
2389 Part.CanCollide = false
2390 Part.Transparency = 1
2391 Weld.Part1 = HumanoidRootPart
2392
2393 local pos = Instance.new("BodyPosition", Part)
2394 local gyro = Instance.new("BodyGyro", Part)
2395
2396 pos.Name = "homebrew admin"
2397 gyro.Name = "winning"
2398 pos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
2399 pos.Position = HumanoidRootPart.Position
2400 gyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
2401 gyro.CFrame = HumanoidRootPart.CFrame
2402
2403 local UserInputService = game:GetService("UserInputService")
2404
2405 local ConnectA =
2406 UserInputService.InputBegan:Connect(
2407 function(Input, GameProcess)
2408 if not GameProcess then
2409 if Input.KeyCode == Enum.KeyCode.W then
2410 keys.w = true
2411 elseif Input.KeyCode == Enum.KeyCode.S then
2412 keys.s = true
2413 elseif Input.KeyCode == Enum.KeyCode.A then
2414 keys.a = true
2415 elseif Input.KeyCode == Enum.KeyCode.D then
2416 keys.d = true
2417 end
2418 end
2419 end
2420 )
2421
2422 local ConnectB =
2423 UserInputService.InputEnded:Connect(
2424 function(Input, GameProcess)
2425 if not GameProcess then
2426 if Input.KeyCode == Enum.KeyCode.W then
2427 keys.w = false
2428 elseif Input.KeyCode == Enum.KeyCode.S then
2429 keys.s = false
2430 elseif Input.KeyCode == Enum.KeyCode.A then
2431 keys.a = false
2432 elseif Input.KeyCode == Enum.KeyCode.D then
2433 keys.d = false
2434 end
2435 end
2436 end
2437 )
2438
2439 repeat
2440 game:GetService("RunService").Heartbeat:wait()
2441 Character:FindFirstChildOfClass("Humanoid").PlatformStand = true
2442 local new = gyro.cframe - gyro.cframe.p + pos.position
2443 if not keys.w and not keys.s and not keys.a and not keys.d then
2444 Speed = 1
2445 end
2446
2447 if keys.w then
2448 new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * Speed
2449 Speed = Speed + 0.01
2450 end
2451
2452 if keys.s then
2453 new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * Speed
2454 Speed = Speed + 0.01
2455 end
2456
2457 if keys.d then
2458 new = new * CFrame.new(Speed, 0, 0)
2459 Speed = Speed + 0.01
2460 end
2461
2462 if keys.a then
2463 new = new * CFrame.new(-Speed, 0, 0)
2464 Speed = Speed + 0.01
2465 end
2466
2467 if Speed > 5 then
2468 Speed = 5
2469 end
2470
2471 pos.position = new.p
2472
2473 if keys.w then
2474 gyro.cframe = workspace.CurrentCamera.CoordinateFrame
2475 elseif keys.s then
2476 gyro.cframe = workspace.CurrentCamera.CoordinateFrame
2477 else
2478 gyro.cframe = workspace.CurrentCamera.CoordinateFrame
2479 end
2480 until not Flying
2481
2482 if gyro then
2483 gyro:Destroy()
2484 end
2485 if pos then
2486 pos:Destroy()
2487 end
2488 Part:Destroy()
2489 Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
2490 Speed = 0
2491 ConnectA:Disconnect()
2492 ConnectB:Disconnect()
2493end
2494Fly()
2495end
2496)
2497
2498addcommand(
2499"unfly",
2500"makes your character unfly",
25010,
2502{},
2503function()
2504Flying = false
2505notify("Unflying character..")
2506end
2507)
2508
2509addcommand(
2510"speed",
2511"manipulates your humanoids speed",
25121,
2513{"ws"},
2514function(speed)
2515notify("Changing humanoid speed to " .. speed .. "!")
2516game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
2517end
2518)
2519
2520addcommand(
2521"jp",
2522"manipulates your humanoids jump power",
25231,
2524{"jumppower"},
2525function(power)
2526notify("Changing humanoid jump power to " .. power .. "!")
2527game.Players.LocalPlayer.Character.Humanoid.UseJumpPower = true
2528game.Players.LocalPlayer.Character.Humanoid.JumpPower = power
2529end
2530)
2531
2532
2533addcommand(
2534"totalcmds",
2535"notifies total cmds",
25360,
2537{},
2538function()
2539notify("Total of: " .. #commands .. " commands in version " .. '"' .. VERSION .. '"' .. "!")
2540end
2541)
2542
2543addcommand(
2544"currentver",
2545"notifies current version",
25460,
2547{"version"},
2548function()
2549notify("Current Version is " .. '"' .. VERSION .. '"' .. "!")
2550end
2551)
2552
2553addcommand(
2554"admin",
2555"admins specified user",
25561,
2557{"op", "whitelist"},
2558function(user)
2559local suc, err =
2560pcall(
2561function()
2562 user = getPlayer(user)
2563end
2564)
2565if err then
2566 notify("That player doesn't exist!")
2567else
2568end
2569_G.addadmin(user.Name)
2570end
2571)
2572addcommand(
2573"unadmin",
2574"removes admin from specified user",
25751,
2576{"deop", "unwhitelist"},
2577function(user)
2578user = getPlayer(user)
2579_G.removeadmin(user.Name)
2580pcall(
2581function()
2582 whisper(user, "[HA] Your access to homebrew admin has been removed.")
2583end
2584)
2585end
2586)
2587
2588addcommand(
2589"goto",
2590"teleports to specified user",
25911,
2592{"tpto"},
2593function(user)
2594user = getPlayer(user)
2595plr = user.Name
2596notify("Going to " .. plr .. "!")
2597targ = workspace:FindFirstChild(plr)
2598game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(targ:FindFirstChildOfClass("Part").CFrame)
2599end
2600)
2601
2602addcommand(
2603"realname",
2604"gets the real username of target",
26051,
2606{"rname","getname"},
2607function(user)
2608pl = getPlayer(user)
2609notify(user.."'s real name is "..pl.."!")
2610end
2611)
2612
2613
2614addcommand(
2615"dpos",
2616"Teleports to the last place you died",
26170,
2618{"deathpoint", "oldpos"},
2619function()
2620dpos = _G.spawn
2621local suc, err =
2622pcall(
2623function()
2624 dp = _G.spawn.X .. " " .. _G.spawn.Y, " " .. _G.spawn.Z
2625end
2626)
2627if suc then
2628 notify("Teleporting to " .. dp .. "!")
2629 game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(dpos)
2630else
2631 notify("You have not died yet!")
2632end
2633end
2634)
2635addcommand(
2636"loopgoto",
2637"loop teleports to specified user",
26381,
2639{"looptpto"},
2640function(user)
2641user = getPlayer(user)
2642plr = user.Name
2643notify("Loop-going to " .. plr .. "!")
2644targ = workspace:FindFirstChild(plr)
2645_G.looping = true
2646loopin =
2647game:GetService("RunService").Heartbeat:connect(
2648function()
2649 if _G.looping == true then
2650 game.Players.LocalPlayer.Character:SetPrimaryPartCFrame(targ.HumanoidRootPart.CFrame)
2651 else
2652 loopin:Disconnect()
2653 end
2654end
2655)
2656end
2657)
2658
2659addcommand(
2660"noclip",
2661"turns off collisions for your bodyparts",
26620,
2663{"nocol"},
2664function(user)
2665if game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide == false then
2666 notify("You are already noclipped!")
2667else
2668 notify("Noclipping..")
2669end
2670local function nocl()
2671 for _, part in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
2672 if part:IsA("BasePart") and part.CanCollide == true then
2673 part.CanCollide = false
2674 end
2675 end
2676end
2677connectcl = game:GetService("RunService").Stepped:Connect(nocl)
2678end
2679)
2680addcommand(
2681"clip",
2682"turns on collisions for your bodyparts",
26830,
2684{"col"},
2685function(user)
2686if connectcl then
2687 notify("Clipping..")
2688 connectcl:Disconnect()
2689else
2690 notify("You are already clipped!")
2691end
2692end
2693)
2694addcommand(
2695"unloopgoto",
2696"unloop teleports to specified user",
26970,
2698{"unlooptpto"},
2699function()
2700notify("Unlooping " .. "!")
2701_G.looping = false
2702end
2703)
2704
2705local function getCommand(name)
2706for _, command in pairs(commands) do
2707 if command.name == name then
2708 return command
2709 end
2710 for _, aliase in pairs(command.aliases) do
2711 if aliase == name then
2712 return command
2713 end
2714 end
2715end
2716end
2717
2718function _G.addadmin(name)
2719user = getPlayer(name)
2720admined = false
2721if table.find(admins, game.Players[name].UserId) then
2722 notify(name .. " is already an admin!")
2723 admined = true
2724else
2725 local suc, err =
2726 pcall(
2727 function()
2728 table.insert(admins, game.Players[name].UserId)
2729 end
2730 )
2731 pcall(
2732 function()
2733 if suc then
2734 if not name == game.Players.LocalPlayer.Name then
2735 notify("Successfully whitelisted " .. name .. "!")
2736 end
2737 whisper(user, "[HA] You have been given access to homebrew admin commands.")
2738 else
2739 notify("Couldn't whitelist " .. name .. "!")
2740 end
2741 end
2742 )
2743end
2744connection =
2745game.Players[name].Chatted:Connect(
2746function(Message)
2747 if not table.find(admins, game.Players[name].UserId) then
2748 connection:Disconnect()
2749 else
2750 fl = string.sub(Message, 1, 1)
2751 if fl == prefix then
2752 NewMessage = Message:sub(2)
2753 args = NewMessage:split(" ")
2754 end
2755 if not args then
2756 return
2757 end
2758 if getCommand(args[1]) then
2759 local cmd = getCommand(args[1])
2760 table.remove(args, 1)
2761 pcall(function()
2762 cmd.command(unpack(args))
2763 end)
2764 end
2765 end
2766end
2767)
2768end
2769
2770function _G.removeadmin(name)
2771local suc, err =
2772pcall(
2773function()
2774 table.remove(admins, table.find(admins, game.Players[name].UserId))
2775end
2776)
2777if suc then
2778 notify("Removed whitelist from " .. name .. "!")
2779else
2780 notify("There was an error while trying to remove admin from " .. name .. ".")
2781end
2782end
2783
2784_G.addadmin(game.Players.LocalPlayer.Name)
2785
2786_G.enterframe = function(meme)
2787meme.FocusLost:connect(
2788function(enterPressed)
2789if enterPressed then
2790 args = meme.Text:split(" ")
2791 if getCommand(args[1]) then
2792 local cmd = getCommand(args[1])
2793 table.remove(args, 1)
2794 pcall(function()
2795 cmd.command(unpack(args))
2796 end)
2797 end
2798end
2799end
2800)
2801end
2802
2803if _G.CustomUI == false then
2804function createui()
2805
2806
2807
2808-- Gui to Lua
2809-- Version: 3.2
2810
2811-- Instances:
2812
2813local ScreenGui = Instance.new("ScreenGui")
2814local Frame = Instance.new("Frame")
2815local Frame_2 = Instance.new("Frame")
2816local UIGradient = Instance.new("UIGradient")
2817local TextLabel = Instance.new("TextLabel")
2818local Frame_3 = Instance.new("ImageLabel")
2819local TextLabel_2 = Instance.new("TextLabel")
2820local Frame_4 = Instance.new("ImageLabel")
2821local TextBox = Instance.new("TextBox")
2822local PenumbraShadow = Instance.new("ImageLabel")
2823local Frame_5 = Instance.new("Frame")
2824local TextLabel_3 = Instance.new("TextLabel")
2825local PenumbraShadow_2 = Instance.new("ImageLabel")
2826local TextLabel_4 = Instance.new("TextLabel")
2827local TextLabel_5 = Instance.new("TextLabel")
2828local ImageLabel = Instance.new("ImageLabel")
2829local ImageLabel_2 = Instance.new("ImageLabel")
2830
2831--Properties:
2832
2833ScreenGui.Parent = game.CoreGui
2834ScreenGui.Name = "HBADMIN"
2835Frame.AnchorPoint = Vector2.new(.5, .5)
2836Frame.Parent = ScreenGui
2837Frame.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
2838Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
2839Frame.Position = UDim2.new(.5, 0, .875, 0)
2840Frame.Size = UDim2.new(0, 740, 0, 41)
2841
2842Frame_2.Parent = Frame
2843Frame_2.BackgroundColor3 = Color3.fromRGB(177, 19, 229)
2844Frame_2.BorderColor3 = Color3.fromRGB(49, 6, 63)
2845Frame_2.BorderSizePixel = 0
2846Frame_2.Position = UDim2.new(0, 0, 0.996148825, 0)
2847Frame_2.Size = UDim2.new(0, 740, 0, 2)
2848
2849UIGradient.Color =
2850ColorSequence.new {
2851 ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)),
2852 ColorSequenceKeypoint.new(1.00, Color3.fromRGB(255, 42, 216))
2853}
2854UIGradient.Parent = Frame_2
2855
2856TextLabel.Parent = Frame
2857TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2858TextLabel.BackgroundTransparency = 1.000
2859TextLabel.Position = UDim2.new(0, 0, 0.024390243, 0)
2860TextLabel.Size = UDim2.new(0, 34, 0, 38)
2861TextLabel.Font = Enum.Font.GothamBlack
2862TextLabel.Text = prefix
2863TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
2864TextLabel.TextSize = 14.000
2865TextLabel.TextTransparency = 0.400
2866
2867function fireui()
2868 TextLabel.Text = prefix
2869 TextBox.PlaceholderText = "Type " .. '"' .. prefix .. '"' .. " to start Homebrew Admin"
2870end
2871Frame_3.Name = "Frame"
2872Frame_3.Parent = Frame
2873Frame_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2874Frame_3.BackgroundTransparency = 1.000
2875Frame_3.Position = UDim2.new(0.0459459461, 0, -1.63414633, 0)
2876Frame_3.Size = UDim2.new(0, 500, 0, 67)
2877Frame_3.Image = "rbxassetid://3570695787"
2878Frame_3.ImageColor3 = Color3.fromRGB(5, 11, 24)
2879Frame_3.ScaleType = Enum.ScaleType.Slice
2880Frame_3.SliceCenter = Rect.new(100, 100, 100, 100)
2881Frame_3.SliceScale = 0.040
2882Frame_3.Visible = false
2883TextLabel_2.Parent = Frame_3
2884TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2885TextLabel_2.BackgroundTransparency = 1.000
2886TextLabel_2.Position = UDim2.new(0.435074389, 0, 0.209683388, 0)
2887TextLabel_2.Size = UDim2.new(0, 34, 0, 38)
2888TextLabel_2.Font = Enum.Font.Gotham
2889TextLabel_2.Text = "Makes a character morph to R15 rig"
2890TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
2891TextLabel_2.TextSize = 14.000
2892
2893Frame_4.Name = "Frame"
2894Frame_4.Parent = Frame_3
2895Frame_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2896Frame_4.BackgroundTransparency = 1.000
2897Frame_4.Size = UDim2.new(0, 500, 0, 5)
2898Frame_4.Image = "rbxassetid://3570695787"
2899Frame_4.ImageColor3 = Color3.fromRGB(177, 19, 229)
2900Frame_4.ImageTransparency = 0.800
2901Frame_4.ScaleType = Enum.ScaleType.Slice
2902Frame_4.SliceCenter = Rect.new(100, 100, 100, 100)
2903Frame_4.SliceScale = 0.040
2904
2905TextBox.Parent = Frame
2906TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2907TextBox.BackgroundTransparency = 1.000
2908TextBox.Position = UDim2.new(0.0378378369, 0, 0, 0)
2909TextBox.Size = UDim2.new(0, 712, 0, 39)
2910TextBox.Font = Enum.Font.SourceSans
2911TextBox.PlaceholderText = "Type " .. '"' .. prefix .. '"' .. " to start Homebrew Admin"
2912TextBox.Text = ""
2913TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
2914TextBox.TextSize = 14.000
2915TextBox.TextXAlignment = Enum.TextXAlignment.Left
2916
2917PenumbraShadow.Name = "PenumbraShadow"
2918PenumbraShadow.Parent = Frame
2919PenumbraShadow.Active = true
2920PenumbraShadow.AnchorPoint = Vector2.new(0.5, 0.5)
2921PenumbraShadow.BackgroundTransparency = 1.000
2922PenumbraShadow.BorderSizePixel = 0
2923PenumbraShadow.Position = UDim2.new(0.5, 0, 0.5, 1)
2924PenumbraShadow.Size = UDim2.new(1, 18, 1, 18)
2925PenumbraShadow.ZIndex = 0
2926PenumbraShadow.Image = "rbxassetid://1316045217"
2927PenumbraShadow.ImageColor3 = Color3.fromRGB(0, 0, 0)
2928PenumbraShadow.ImageTransparency = 0.880
2929PenumbraShadow.ScaleType = Enum.ScaleType.Slice
2930PenumbraShadow.SliceCenter = Rect.new(10, 10, 118, 118)
2931
2932Frame_5.Parent = ScreenGui
2933Frame_5.AnchorPoint = Vector2.new(0.5, 0.5)
2934Frame_5.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
2935Frame_5.Position = UDim2.new(0.139212832, 0, 0.906705499, 0)
2936Frame_5.Size = UDim2.new(0, 356, 0, 106)
2937Frame_5.Visible = false
2938Frame_5.ZIndex = 2
2939
2940TextLabel_3.Parent = Frame_5
2941TextLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2942TextLabel_3.BackgroundTransparency = 1.000
2943TextLabel_3.Position = UDim2.new(0.0646068305, 0, 0.0693927407, 0)
2944TextLabel_3.Size = UDim2.new(0, 131, 0, 36)
2945TextLabel_3.ZIndex = 2
2946TextLabel_3.Font = Enum.Font.GothamBlack
2947TextLabel_3.Text = "HOMEBREW ADMIN"
2948TextLabel_3.TextColor3 = Color3.fromRGB(255, 255, 255)
2949TextLabel_3.TextSize = 16.000
2950
2951PenumbraShadow_2.Name = "PenumbraShadow"
2952PenumbraShadow_2.Parent = Frame_5
2953PenumbraShadow_2.Active = true
2954PenumbraShadow_2.AnchorPoint = Vector2.new(0.5, 0.5)
2955PenumbraShadow_2.BackgroundTransparency = 1.000
2956PenumbraShadow_2.BorderSizePixel = 0
2957PenumbraShadow_2.Position = UDim2.new(0.5, 0, 0.5, 1)
2958PenumbraShadow_2.Size = UDim2.new(1, 18, 1, 18)
2959PenumbraShadow_2.Image = "rbxassetid://1316045217"
2960PenumbraShadow_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
2961PenumbraShadow_2.ImageTransparency = 0.880
2962PenumbraShadow_2.ScaleType = Enum.ScaleType.Slice
2963PenumbraShadow_2.SliceCenter = Rect.new(10, 10, 118, 118)
2964
2965TextLabel_4.Parent = Frame_5
2966TextLabel_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2967TextLabel_4.BackgroundTransparency = 1.000
2968TextLabel_4.Position = UDim2.new(0.0646068305, 0, 0.406026393, 0)
2969TextLabel_4.Size = UDim2.new(0, 56, 0, 9)
2970TextLabel_4.ZIndex = 2
2971TextLabel_4.Font = Enum.Font.Gotham
2972TextLabel_4.Text = "Notification"
2973TextLabel_4.TextColor3 = Color3.fromRGB(255, 255, 255)
2974TextLabel_4.TextSize = 14.000
2975TextLabel_4.TextTransparency = 0.100
2976
2977TextLabel_5.Parent = Frame_5
2978TextLabel_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2979TextLabel_5.BackgroundTransparency = 1.000
2980TextLabel_5.Position = UDim2.new(0.418539405, 0, 0.632441521, 0)
2981TextLabel_5.Size = UDim2.new(0, 56, 0, 9)
2982TextLabel_5.ZIndex = 2
2983TextLabel_5.Font = Enum.Font.Gotham
2984TextLabel_5.Text = "Welcome to HB Admin"
2985TextLabel_5.TextColor3 = Color3.fromRGB(255, 255, 255)
2986TextLabel_5.TextSize = 14.000
2987
2988ImageLabel.Parent = Frame_5
2989ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2990ImageLabel.BackgroundTransparency = 1.000
2991ImageLabel.Position = UDim2.new(0, 0, 0.6324417, 0)
2992ImageLabel.Size = UDim2.new(0, 101, 0, 48)
2993ImageLabel.ZIndex = 2
2994ImageLabel.Image = "http://www.roblox.com/asset/?id=217370037"
2995ImageLabel.ImageTransparency = 0.600
2996
2997ImageLabel_2.Parent = Frame_5
2998ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
2999ImageLabel_2.BackgroundTransparency = 1.000
3000ImageLabel_2.Position = UDim2.new(0.716292143, 0, -0.0468035638, 0)
3001ImageLabel_2.Rotation = 180.000
3002ImageLabel_2.Size = UDim2.new(0, 101, 0, 48)
3003ImageLabel_2.ZIndex = 2
3004ImageLabel_2.Image = "http://www.roblox.com/asset/?id=217370037"
3005ImageLabel_2.ImageTransparency = 0.600
3006
3007local function gui() -- Commands.ExoIiner.custom toggle
3008 local script = Instance.new("LocalScript", Frame)
3009
3010 framed = script.Parent
3011 local UIS = game:GetService("UserInputService")
3012 local open = true
3013 local mouse = game.Players.LocalPlayer:GetMouse()
3014
3015 mouse.KeyDown:connect(
3016 function(key)
3017 if key == prefix then
3018 if not open then
3019 open = true
3020 game:GetService("TweenService"):Create(
3021 framed,
3022 TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut),
3023 {Position = UDim2.new(.5, 0, 0.875, 0)}
3024 ):Play()
3025 game:GetService("RunService").Heartbeat:Wait()
3026 Frame.TextBox:CaptureFocus()
3027 elseif open then
3028 open = false
3029 game:GetService("TweenService"):Create(
3030 framed,
3031 TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut),
3032 {Position = UDim2.new(.5, 0, 1.25, 0)}
3033 ):Play()
3034 Frame.TextBox.Text = ""
3035 end
3036 end
3037 end
3038 )
3039end
3040
3041local meme = Frame.TextBox
3042local sug = TextLabel_2
3043-- description thing
3044
3045cmdbarchange =
3046meme:GetPropertyChangedSignal("Text"):Connect(
3047function()
3048 args = meme.Text:split(" ")
3049 local cmd = getCommand(args[1])
3050 if not getCommand(args[1]) then
3051 Frame_3.Visible = false
3052 Frame_3.Size = UDim2.new(0, 0, 0, 0)
3053 Frame_4.Size = UDim2.new(0, 0, 0, 0)
3054 end
3055 table.remove(args, 1)
3056 pcall(
3057 function()
3058 if cmd.args == #args then
3059 Frame_3.Visible = true
3060 TextLabel_2.Visible = false
3061 Frame_3:TweenSize(UDim2.new(0, 500, 0, 67), "Out", "Quad", 0.2, false)
3062 Frame_4:TweenSize(UDim2.new(0, 500, 0, 5), "Out", "Quad", 0.2, false)
3063 sug.Text = cmd.description
3064 TextLabel_2.Visible = true
3065 end
3066 end
3067 )
3068end
3069)
3070meme.FocusLost:connect(
3071function(enterPressed)
3072 if enterPressed then
3073 args = meme.Text:split(" ")
3074 if getCommand(args[1]) then
3075 local cmd = getCommand(args[1])
3076 table.remove(args, 1)
3077 if cmd then
3078 pcall(function()
3079 open = false
3080 game:GetService("TweenService"):Create(
3081 Frame,
3082 TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut),
3083 {Position = UDim2.new(.5, 0, 1.25, 0)}
3084 ):Play()
3085 cmd.command(unpack(args))
3086 end)
3087 end
3088 end
3089 end
3090end
3091)
3092coroutine.wrap(gui)()
3093fireui()
3094open = false
3095game:GetService("TweenService"):Create(
3096Frame,
3097TweenInfo.new(1, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut),
3098{Position = UDim2.new(.5, 0, 1.25, 0)}
3099):Play()
3100end
3101end
3102createui()
3103
3104
3105-- Gui to Lua
3106-- Version: 3.2
3107
3108-- Instances:
3109
3110local ScreenGui = Instance.new("ScreenGui")
3111ScreenGui.Name = "CMDS"
3112local CmdList = Instance.new("Frame")
3113CmdList.Visible = false
3114function a()
3115 CmdList.Visible = true
3116end
3117local Penumbra = Instance.new("ImageLabel")
3118local Close = Instance.new("TextButton")
3119local ImageLabel = Instance.new("ImageLabel")
3120local CMDTITLE = Instance.new("TextLabel")
3121local TopHangar = Instance.new("Frame")
3122local ImageLabel_2 = Instance.new("ImageLabel")
3123local MAOWQ = Instance.new("TextLabel")
3124local ImageLabel_3 = Instance.new("ImageLabel")
3125local Cmds = Instance.new("Folder")
3126local ScrollingFrame = Instance.new("ScrollingFrame")
3127local UIGridLayout = Instance.new("UIGridLayout")
3128local Cmd = Instance.new("TextLabel")
3129local Cmd_2 = Instance.new("TextLabel")
3130local CMDDESC = Instance.new("Frame")
3131CMDDESC.Visible = false
3132local Penumbra_2 = Instance.new("ImageLabel")
3133local MAOWQ_2 = Instance.new("TextLabel")
3134local val = Instance.new("StringValue")
3135val.Parent = Cmd
3136val.Value = "hi"
3137local val = Instance.new("StringValue")
3138val.Parent = Cmd_2
3139val.Value = "joe mama!"
3140--Properties:
3141
3142ScreenGui.Parent = game.CoreGui
3143
3144CmdList.Name = "CmdList"
3145CmdList.Parent = ScreenGui
3146CmdList.AnchorPoint = Vector2.new(0.5, 0.5)
3147CmdList.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
3148CmdList.Position = UDim2.new(0.511701941, 0, 0.472287148, 0)
3149CmdList.Size = UDim2.new(0,0,0,0)
3150CmdList.ZIndex = 2
3151
3152Penumbra.Name = "Penumbra"
3153Penumbra.Parent = CmdList
3154Penumbra.Active = true
3155Penumbra.AnchorPoint = Vector2.new(0.5, 0.5)
3156Penumbra.BackgroundTransparency = 1.000
3157Penumbra.BorderSizePixel = 0
3158Penumbra.Position = UDim2.new(0.5, 0, 0.5, 1)
3159Penumbra.Size = UDim2.new(1, 18, 1, 18)
3160Penumbra.Image = "rbxassetid://1316045217"
3161Penumbra.ImageColor3 = Color3.fromRGB(0, 0, 0)
3162Penumbra.ImageTransparency = 0.880
3163Penumbra.ScaleType = Enum.ScaleType.Slice
3164Penumbra.SliceCenter = Rect.new(10, 10, 118, 118)
3165
3166ImageLabel.Parent = CmdList
3167ImageLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3168ImageLabel.BackgroundTransparency = 1.000
3169ImageLabel.Position = UDim2.new(-0.0132315634, 0, 0.770409405, 0)
3170ImageLabel.Size = UDim2.new(0, 101, 0, 83)
3171ImageLabel.ZIndex = 2
3172ImageLabel.Image = "http://www.roblox.com/asset/?id=217370037"
3173ImageLabel.ImageTransparency = 0.600
3174
3175CMDTITLE.Name = "CMDTITLE"
3176CMDTITLE.Parent = CmdList
3177CMDTITLE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3178CMDTITLE.BackgroundTransparency = 1.000
3179CMDTITLE.Position = UDim2.new(0.296868026, 0, 0.104656965, 0)
3180CMDTITLE.Size = UDim2.new(0, 131, 0, 36)
3181CMDTITLE.ZIndex = 2
3182CMDTITLE.Font = Enum.Font.GothamBlack
3183CMDTITLE.Text = "HOMEBREW ADMIN"
3184CMDTITLE.TextColor3 = Color3.fromRGB(255, 255, 255)
3185CMDTITLE.TextSize = 20.000
3186
3187TopHangar.Name = "TopHangar"
3188TopHangar.Parent = CmdList
3189TopHangar.BackgroundColor3 = Color3.fromRGB(0, 0, 2)
3190TopHangar.BackgroundTransparency = 0.800
3191TopHangar.BorderSizePixel = 0
3192TopHangar.Size = UDim2.new(0, 327, 0, 21)
3193TopHangar.ZIndex = 2
3194
3195ImageLabel_2.Parent = CmdList
3196ImageLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3197ImageLabel_2.BackgroundTransparency = 1.000
3198ImageLabel_2.Position = UDim2.new(0.16108036, 0, 0.810999811, 0)
3199ImageLabel_2.Size = UDim2.new(0, 88, 0, 61)
3200ImageLabel_2.ZIndex = 2
3201ImageLabel_2.Image = "http://www.roblox.com/asset/?id=217370037"
3202ImageLabel_2.ImageTransparency = 0.800
3203
3204MAOWQ.Name = "MAOWQ"
3205MAOWQ.Parent = CmdList
3206MAOWQ.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3207MAOWQ.BackgroundTransparency = 1.000
3208MAOWQ.Position = UDim2.new(0.410017908, 0, 0.204287946, 0)
3209MAOWQ.Size = UDim2.new(0, 56, 0, 23)
3210MAOWQ.ZIndex = 2
3211MAOWQ.Font = Enum.Font.Gotham
3212MAOWQ.Text = "COMMAND LIST"
3213MAOWQ.TextColor3 = Color3.fromRGB(255, 255, 255)
3214MAOWQ.TextSize = 12.000
3215
3216ImageLabel_3.Parent = CmdList
3217ImageLabel_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3218ImageLabel_3.BackgroundTransparency = 1.000
3219ImageLabel_3.Position = UDim2.new(0.20083572, 0, 0.89956069, 0)
3220ImageLabel_3.Size = UDim2.new(0, 105, 0, 37)
3221ImageLabel_3.ZIndex = 2
3222ImageLabel_3.Image = "http://www.roblox.com/asset/?id=217370037"
3223ImageLabel_3.ImageTransparency = 0.800
3224
3225Cmds.Name = "Cmds"
3226Cmds.Parent = CmdList
3227
3228ScrollingFrame.Parent = Cmds
3229ScrollingFrame.Active = true
3230ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3231ScrollingFrame.BackgroundTransparency = 1.000
3232ScrollingFrame.BorderSizePixel = 0
3233ScrollingFrame.Position = UDim2.new(0.0672782883, 0, 0.343173444, 0)
3234ScrollingFrame.Size = UDim2.new(0, 288, 0, 150)
3235ScrollingFrame.ZIndex = 2
3236ScrollingFrame.ScrollBarThickness = 4
3237
3238UIGridLayout.Parent = ScrollingFrame
3239UIGridLayout.FillDirection = Enum.FillDirection.Vertical
3240UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
3241UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
3242UIGridLayout.CellSize = UDim2.new(0, 90, 0, 20)
3243
3244Cmd.Name = "Cmd"
3245Cmd.Parent = ScrollingFrame
3246Cmd.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3247Cmd.BackgroundTransparency = 1.000
3248Cmd.LayoutOrder = 1
3249Cmd.Position = UDim2.new(0.200000003, 0, 0, 0)
3250Cmd.Size = UDim2.new(0, 101, 0, 30)
3251Cmd.ZIndex = 2
3252Cmd.Font = Enum.Font.GothamBlack
3253Cmd.Text = "test"
3254Cmd.TextColor3 = Color3.fromRGB(255, 255, 255)
3255Cmd.TextSize = 20.000
3256
3257Cmd_2.Name = "Cmd"
3258Cmd_2.Parent = ScrollingFrame
3259Cmd_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3260Cmd_2.BackgroundTransparency = 1.000
3261Cmd_2.LayoutOrder = 1
3262Cmd_2.Position = UDim2.new(0.200000003, 0, 0, 0)
3263Cmd_2.Size = UDim2.new(0, 101, 0, 30)
3264Cmd_2.ZIndex = 2
3265Cmd_2.Font = Enum.Font.GothamBlack
3266Cmd_2.Text = "sit"
3267Cmd_2.TextColor3 = Color3.fromRGB(255, 255, 255)
3268Cmd_2.TextSize = 20.000
3269
3270CMDDESC.Name = "CMDDESC"
3271CMDDESC.Parent = CmdList
3272CMDDESC.AnchorPoint = Vector2.new(0.5, 0.5)
3273CMDDESC.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
3274CMDDESC.Position = UDim2.new(0.500731409, 0, -0.0825261474, 0)
3275CMDDESC.Size = UDim2.new(0, 327, 0, 40)
3276CMDDESC.ZIndex = 2
3277
3278Penumbra_2.Name = "Penumbra"
3279Penumbra_2.Parent = CMDDESC
3280Penumbra_2.Active = true
3281Penumbra_2.AnchorPoint = Vector2.new(0.5, 0.5)
3282Penumbra_2.BackgroundTransparency = 1.000
3283Penumbra_2.BorderSizePixel = 0
3284Penumbra_2.Position = UDim2.new(0.5, 0, 0.5, 1)
3285Penumbra_2.Size = UDim2.new(1, 18, 1, 18)
3286Penumbra_2.Image = "rbxassetid://1316045217"
3287Penumbra_2.ImageColor3 = Color3.fromRGB(0, 0, 0)
3288Penumbra_2.ImageTransparency = 0.880
3289Penumbra_2.ScaleType = Enum.ScaleType.Slice
3290Penumbra_2.SliceCenter = Rect.new(10, 10, 118, 118)
3291
3292MAOWQ_2.Name = "MAOWQ"
3293MAOWQ_2.Parent = CMDDESC
3294MAOWQ_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
3295MAOWQ_2.BackgroundTransparency = 1.000
3296MAOWQ_2.Position = UDim2.new(0.410017908, 0, 0.204287946, 0)
3297MAOWQ_2.Size = UDim2.new(0, 56, 0, 23)
3298MAOWQ_2.ZIndex = 2
3299MAOWQ_2.Font = Enum.Font.Gotham
3300MAOWQ_2.Text = "COMMAND DESC"
3301MAOWQ_2.TextColor3 = Color3.fromRGB(255, 255, 255)
3302MAOWQ_2.TextSize = 12.000
3303Close.Name = "Close"
3304Close.Parent = CmdList
3305Close.BackgroundColor3 = Color3.fromRGB(5, 11, 24)
3306Close.BorderSizePixel = 0
3307Close.Position = UDim2.new(0.9, 0, 0, 0)
3308Close.Size = UDim2.new(0, 32, 0, 28)
3309Close.Font = Enum.Font.SourceSansLight
3310Close.Text = "X"
3311Close.TextColor3 = Color3.fromRGB(255, 255, 255)
3312Close.TextSize = 23.000
3313Close.TextWrapped = true
3314Close.ZIndex = 2
3315-- Scripts:
3316
3317local function JRNGOD_fake_script() -- Close.hover
3318 local script = Instance.new('LocalScript', Close)
3319
3320 script.Parent.MouseEnter:Connect(function()
3321 game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.25), {
3322 ['BackgroundColor3'] = Color3.fromRGB(255, 0, 0)
3323 }):Play()
3324 game:GetService("TweenService"):Create(script.Parent.Parent.Close, TweenInfo.new(0.25), {
3325 ['BackgroundColor3'] = Color3.fromRGB(255, 0, 0)
3326 }):Play()
3327 end)
3328
3329 script.Parent.MouseLeave:Connect(function()
3330 game:GetService("TweenService"):Create(script.Parent, TweenInfo.new(0.25), {
3331 ['BackgroundColor3'] = Color3.fromRGB(5, 11, 24)
3332 }):Play()
3333 game:GetService("TweenService"):Create(script.Parent.Parent.Close, TweenInfo.new(0.25), {
3334 ['BackgroundColor3'] = Color3.fromRGB(5, 11, 24)
3335 }):Play()
3336 end)
3337end
3338coroutine.wrap(JRNGOD_fake_script)()
3339local function HHNIX_fake_script() -- Close.LocalScript
3340 local script = Instance.new('LocalScript', Close)
3341
3342 script.Parent.MouseButton1Click:Connect(function()
3343 game.CoreGui.CMDS.CmdList:TweenSize(UDim2.new(0, 0, 0, 0), "Out", "Quad", 0.3, false)
3344 wait()
3345 game.CoreGui.CMDS.CmdList.Visible = false
3346 end)
3347end
3348coroutine.wrap(HHNIX_fake_script)()
3349
3350local function VFKB_fake_script() -- Cmd.LocalScript
3351 local script = Instance.new('LocalScript', Cmd)
3352
3353 local Button = script.Parent
3354
3355 function MouseEnter()
3356 Button.Parent.Parent.Parent.CMDDESC.MAOWQ.Text = Button.Value.Value
3357 Button.Parent.Parent.Parent.CMDDESC.Visible = true
3358 end
3359
3360 function MouseLeave()
3361 Button.Parent.Parent.Parent.CMDDESC.Visible = false
3362 end
3363
3364 Button.MouseEnter:connect(MouseEnter)
3365 Button.MouseLeave:connect(MouseLeave)
3366end
3367coroutine.wrap(VFKB_fake_script)()
3368local function YHSXMAK_fake_script() -- Cmd_2.LocalScript
3369 local script = Instance.new('LocalScript', Cmd_2)
3370
3371 local Button = script.Parent
3372
3373 function MouseEnter()
3374 Button.Parent.Parent.Parent.CMDDESC.MAOWQ.Text = Button.Value.Value
3375 Button.Parent.Parent.Parent.CMDDESC.Visible = true
3376 end
3377
3378 function MouseLeave()
3379 Button.Parent.Parent.Parent.CMDDESC.Visible = false
3380 end
3381
3382 Button.MouseEnter:connect(MouseEnter)
3383 Button.MouseLeave:connect(MouseLeave)
3384end
3385coroutine.wrap(YHSXMAK_fake_script)()
3386for _,command in pairs(commands) do
3387 local function VFKB_fake_script()
3388 local newcmd = Cmd_2:Clone()
3389 newcmd:FindFirstChildOfClass("StringValue"):Destroy()
3390 local val = Instance.new("StringValue")
3391 val.Value = command.description
3392 val.Parent = newcmd
3393 newcmd.Parent = ScrollingFrame
3394 local script = Instance.new('LocalScript', newcmd)
3395 newcmd.Text = command.name
3396 script.Parent = newcmd
3397 local Button = script.Parent
3398
3399 function MouseEnter()
3400 Button.Parent.Parent.Parent.CMDDESC.MAOWQ.Text = Button.Value.Value
3401 Button.Parent.Parent.Parent.CMDDESC.Visible = true
3402 end
3403
3404 function MouseLeave()
3405 Button.Parent.Parent.Parent.CMDDESC.Visible = false
3406 end
3407
3408 Button.MouseEnter:connect(MouseEnter)
3409 Button.MouseLeave:connect(MouseLeave)
3410end
3411coroutine.wrap(VFKB_fake_script)()
3412end
3413UIGridLayout.Changed:Connect(function()
3414 ScrollingFrame.CanvasSize = UDim2.new(0.5, 0, UIGridLayout.AbsoluteContentSize.X, 0)
3415end)
3416Cmd:Destroy()
3417Cmd_2:Destroy()
3418addcommand(
3419"cmds",
3420"shows the cmds gui",
34210,
3422{},
3423function()
3424game.CoreGui.CMDS.CmdList.Visible = true
3425game.CoreGui.CMDS.CmdList:TweenSize(UDim2.new(0, 327, 0, 271), "Out", "Quad", 0.3, false)
3426end
3427)
3428notify("Homebrew Admin has loaded! " .. #commands .. " commands.")