copra50

hax

Jul 2nd, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.00 KB | None | 0 0
  1. -- // Valiant ENV
  2. loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Stefanuk12/ROBLOX/master/Universal/ValiantENV.lua"))()
  3.  
  4. -- // Main Script
  5. if getgenv().KAHHaxLoaded then warn("oofkohls v2 already loaded!") return end
  6. warn("Loading oofkohls v2 - Made By Stefanuk12#5820 | Stefanuk12")
  7.  
  8. -- // Initialise
  9. if not getgenv()["KAHHax"] then getgenv()["KAHHax"] = {} end
  10. if not getgenv()["KAHHax"]["InitialisedModules"] then getgenv()["KAHHax"]["InitialisedModules"] = {} end
  11.  
  12. -- // Vars
  13. local Players = game:GetService("Players")
  14. local Workspace = game:GetService("Workspace")
  15. local LocalPlayer = Players.LocalPlayer
  16. local GameFolder = Workspace:WaitForChild("Terrain"):WaitForChild("_Game")
  17. local AdminFolder = GameFolder:WaitForChild("Admin")
  18. local Pads = AdminFolder:WaitForChild("Pads")
  19. local WorkspaceFolder = GameFolder:WaitForChild("Workspace")
  20. local HolderFolder = GameFolder:WaitForChild("Folder")
  21. local NotificationHandler = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Stefanuk12/ROBLOX/master/Universal/Notifications/Script.lua"))()
  22. NotificationHandler["StorageLocation"] = game:GetService("CoreGui")
  23.  
  24. KAHHax["vars"] = {
  25. PlayerManager = {--[[
  26. PlayerUID = {
  27. Lagging = true,
  28. SpamList = {},
  29. BlacklistedPhrases = {},
  30. BlacklistConnection = {},
  31. },
  32. ]]},
  33. RainbowColor = Color3.fromRGB(0, 0, 0),
  34. WhitelistedUsers = {73596402, 23294806},
  35. largeText = game:HttpGetAsync("https://raw.githubusercontent.com/Stefanuk12/ROBLOX/master/Games/Kohls%20Admin%20House/LongText.txt"),
  36. MusicAPI = loadstring(game:HttpGetAsync("https://raw.githubusercontent.com/Stefanuk12/ROBLOX/master/Universal/Music%20API/Controller.lua"))(),
  37. gearList = {
  38. PaintBucket = 18474459,
  39. Hyperlaser = 130113146,
  40. RainbowCarpet = 225921000,
  41. Airstrike = 88885539,
  42. SuperRLauncher = 190094159,
  43. RLauncher = 32356064,
  44. SSTripmine = 11999247,
  45. ASSentry = 68603151,
  46. RPOSword = 159229806,
  47. IceStaff = 19704064,
  48. Transmorph = 29099749,
  49. ShiftingPolarity = 61459706,
  50. },
  51. SpamList = {},
  52. Prefix = ":",
  53. }
  54. vars = KAHHax.vars
  55.  
  56. vars.Alert = function(...)
  57. local text = tostring(...)
  58. NotificationHandler.newNotification("ALERT", text, "Alert")
  59. end
  60.  
  61. vars.Notify = function(...)
  62. local text = tostring(...)
  63. NotificationHandler.newNotification("SUCCESS", text, "Success")
  64. end
  65.  
  66. function KAHHax.vars.getPlayer(String)
  67. local Found = {}
  68. local Target = string.lower(String)
  69. if Target == "all" then
  70. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  71. table.insert(Found, v)
  72. end
  73. elseif Target == "others" then
  74. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  75. if v ~= game:GetService("Players").LocalPlayer then
  76. table.insert(Found, v)
  77. end
  78. end
  79. elseif Target == "me" then
  80. table.insert(Found, game:GetService("Players").LocalPlayer)
  81. else
  82. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  83. if v.Name:lower():sub(1, #String) == String:lower() then
  84. table.insert(Found, v)
  85. end
  86. end
  87. end
  88. return Found
  89. end
  90.  
  91. function KAHHax.vars.checkWhitelisted(UserId)
  92. for _,v in pairs(vars.WhitelistedUsers) do
  93. if UserId == v then
  94. return true
  95. end
  96. end
  97. return false
  98. end
  99.  
  100. function KAHHax.vars.checkAllWhitelisted()
  101. for _,v in pairs(Players:GetPlayers()) do
  102. for _,x in pairs(vars.WhitelistedUsers) do
  103. if v ~= LocalPlayer and v.UserId == x then
  104. return true
  105. end
  106. end
  107. end
  108. return false
  109. end
  110.  
  111. function KAHHax.vars.addPlayerToManager(Player)
  112. if typeof(Player) == 'Instance' and Player.Parent == Players then
  113. vars.PlayerManager[Player.Name] = {
  114. ["Lagging"] = false,
  115. ["BlacklistedPhrases"] = {},
  116. ["BlacklistConnection"] = {},
  117. }
  118. for i,v in pairs(vars.WhitelistedUsers) do
  119. if Player.UserId == v then
  120. vars.PlayerManager[Player.Name]["Whitelisted"] = true
  121. else
  122. vars.PlayerManager[Player.Name]["Whitelisted"] = false
  123. end
  124. end
  125. vars.PlayerManager[Player.Name].BlacklistConnection.A = Player.Chatted:Connect(function(message)
  126. for i,v in pairs(vars.PlayerManager[Player.Name].BlacklistedPhrases) do
  127. if string.match(message, v.Phrase) then
  128. Players:Chat(v.Punishment)
  129. end
  130. end
  131. end)
  132. vars.Notify(Player.Name.. " has joined and added to the PlayerManager.")
  133. end
  134. end
  135.  
  136. function KAHHax.vars.removePlayerFromManager(Player)
  137. if typeof(Player) == 'Instance' and Player.Parent == Players and vars.PlayerManager[Player.Name] then
  138. for i,v in pairs(vars.PlayerManager) do
  139. if i == Player.Name then
  140. for a,x in pairs(v.BlacklistConnection) do
  141. if typeof(x) == "RBXScriptConnection" then
  142. x:Disconnect()
  143. end
  144. end
  145. vars.PlayerManager[i] = nil
  146. vars.Notify(Player.Name.. " has left and been removed from the PlayerManager.")
  147. break
  148. end
  149. end
  150. end
  151. end
  152. wait(0.5)
  153.  
  154. -- // Player Manager
  155. for i,v in pairs(Players:GetPlayers()) do
  156. vars.addPlayerToManager(v)
  157. end
  158.  
  159. Players.PlayerAdded:Connect(function(player)
  160. vars.addPlayerToManager(player)
  161. end)
  162.  
  163. Players.PlayerRemoving:Connect(function(player)
  164. vars.removePlayerFromManager(player)
  165. end)
  166.  
  167. -- // Rainbow Color
  168. coroutine.wrap(function()
  169. while wait() do
  170. vars.RainbowColor = Color3.fromHSV(tick() % 5 / 5, 1, 1)
  171. end
  172. end)()
  173.  
  174. -- // Script
  175. KAHHax.CMDs = {--[[
  176. {
  177. CommandName = v,
  178. ModuleName = w,
  179. Example = x,
  180. Description = y,
  181. Function = z,
  182. }
  183. ]]}
  184.  
  185. -- // Controller Vars
  186. KAHHax.ControllerSettings = {
  187. RE = false,
  188. PS = false,
  189. lagServer = false,
  190. EarRape = false,
  191. PersistantAdmin = false,
  192. Epilepsy = false,
  193. LaggerRunning = false,
  194. SpammerRunning = false,
  195. antiPunish = false,
  196. antiBlind = false,
  197. antiKill = false,
  198. antiJail = false,
  199. PSCan = game:GetService("MarketplaceService"):UserOwnsGamePassAsync(LocalPlayer.UserId, 35748),
  200. }
  201.  
  202. KAHHax.ServerOOFController = {}
  203. KAHHax.SoundAbuseController = {}
  204. KAHHax.AdminController = {}
  205.  
  206. -- // Script
  207. function verifyGameIntegrity()
  208. local _Game = game:GetService("Workspace").Terrain["_Game"]
  209. local _Workspace = _Game.Workspace
  210. local Admin = _Game.Admin
  211. local CheckList = {
  212. Total = true,
  213. AdminPads = true,
  214. HouseFloor = true,
  215. RegenPad = true,
  216. Baseplate = true,
  217. }
  218. pcall(function()
  219. local count = 0
  220. if not _Workspace:FindFirstChild("Baseplate") or _Workspace.Baseplate.Position ~= Vector3.new(-41, 0.0999999, -25.59) then
  221. CheckList["Baseplate"] = false
  222. CheckList["Total"] = false
  223. end
  224. if not _Workspace:FindFirstChild("Baseplate") or _Workspace["Basic House"]["SmoothBlockModel112"].Position ~= Vector3.new(-30.065, 4.63, 72.243) then
  225. CheckList["HouseFloor"] = false
  226. CheckList["Total"] = false
  227. end
  228. if not Admin:FindFirstChild("Regen") or Admin.Regen.Position ~= Vector3.new(-7.165, 5.42999, 94.743) then
  229. CheckList["RegenPad"] = false
  230. CheckList["Total"] = false
  231. end
  232. for i,v in pairs(Admin.Pads:GetChildren()) do
  233. count = count + 1
  234. if v.Transparency == 1 then
  235. CheckList["AdminPads"] = false
  236. CheckList["Total"] = false
  237. end
  238. end
  239. if count < 9 or count < 10 then
  240. CheckList["AdminPads"] = false
  241. CheckList["Total"] = false
  242. end
  243. end)
  244. return CheckList
  245. end
  246.  
  247. function fireCommand(command, message)
  248. if KAHHax.CMDs[command] then
  249. if not message then message = "" end
  250. KAHHax.CMDs[command].Function(vars.Prefix..command.." "..message)
  251. end
  252. end
  253.  
  254. function checkLagging()
  255. local LaggingCount = 0
  256. for i,v in pairs(vars.PlayerManager) do
  257. if v.Lagging then
  258. LaggingCount = LaggingCount + 1
  259. end
  260. end
  261. if LaggingCount <= 0 then
  262. KAHHax.ControllerSettings.LaggerRunning = false
  263. elseif LaggingCount >= 1 then
  264. KAHHax.ControllerSettings.LaggerRunning = true
  265. end
  266. end
  267.  
  268. -- // Anti
  269. KAHHax.ControllerSettings.antiPunish = false
  270. KAHHax.ControllerSettings.antiBlind = false
  271. KAHHax.ControllerSettings.antiKill = false
  272. KAHHax.ControllerSettings.antiJail = false
  273. game:GetService("Lighting").ChildAdded:Connect(function(child) -- // Anti Punish
  274. if KAHHax.ControllerSettings.antiPunish and child.Name == LocalPlayer.Name then
  275. Players:Chat(":reset me")
  276. end
  277. end)
  278.  
  279. LocalPlayer.PlayerGui.ChildAdded:Connect(function(child) -- // Anti Blind
  280. if KAHHax.ControllerSettings.antiBlind and child.Name == "EFFECTGUIBLIND" then
  281. wait(0.1)
  282. child:Destroy()
  283. end
  284. end)
  285.  
  286. LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function() -- // Anti Kill
  287. if KAHHax.ControllerSettings.antiKill then Players:Chat(":reset me") end
  288. end)
  289.  
  290. LocalPlayer.CharacterAdded:Connect(function(Character)
  291. Character:WaitForChild("Humanoid").Died:Connect(function() -- // Anti Kill
  292. if KAHHax.ControllerSettings.antiKill then Players:Chat(":reset me") end
  293. end)
  294. end)
  295.  
  296. HolderFolder.ChildAdded:Connect(function(child) -- // Anti Jail
  297. if KAHHax.ControllerSettings.antiJail and child.Name == LocalPlayer.Name.."'s jail" then
  298. Players:Chat(":removejails")
  299. end
  300. end)
  301.  
  302. -- // Identifier ;)
  303. for _,v in pairs(game:GetService("Players"):GetPlayers()) do
  304. for _,x in pairs(vars.WhitelistedUsers) do
  305. if v == LocalPlayer and v.UserId == x then
  306. elseif v.UserId == x then
  307. wait(0.5)
  308. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("h Hi Epic Gamers! v2", "All")
  309. end
  310. end
  311. end
  312.  
  313. game:GetService("Players").PlayerAdded:Connect(function(plr)
  314. if vars.checkWhitelisted(plr.UserId) and not vars.checkWhitelisted(LocalPlayer) then
  315. wait(0.5)
  316. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("h Hi Epic Gamers! v2", "All")
  317. end
  318. end)
  319.  
  320. for _,v in pairs(vars.WhitelistedUsers) do
  321. local Player = Players:GetNameFromUserIdAsync(v)
  322. if Players:FindFirstChild(Player) then
  323. local Player = Players:FindFirstChild(Player)
  324. Player.Chatted:Connect(function(chat)
  325. if string.lower(chat) == "hi gamers" then
  326. wait(0.5)
  327. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer("h Hi Epic Gamers! v2", "All")
  328. end
  329. end)
  330. end
  331. end
  332.  
  333. -- // All of the Coroutines
  334. KAHHax.ControllerSettings.RECoroutine = coroutine.wrap(function() -- // Respawn Explode Spam
  335. while wait() do
  336. if KAHHax.ControllerSettings.RE then
  337. for i,v in pairs(vars.getPlayer("others")) do
  338. if not vars.checkWhitelisted(v.UserId) then
  339. Players:Chat(":respawn others")
  340. wait(0.1)
  341. Players:Chat(":explode others")
  342. end
  343. end
  344. end
  345. end
  346. end)()
  347.  
  348. KAHHax.ServerOOFController.PartCoroutine = coroutine.wrap(function() -- // Part Spam
  349. while wait() do
  350. if not KAHHax.ControllerSettings.PSCan then break end
  351. if KAHHax.ControllerSettings.PS then
  352. Players:Chat("part/10/10/10")
  353. end
  354. end
  355. end)()
  356. if not game:GetService("MarketplaceService"):UserOwnsGamePassAsync(LocalPlayer.UserId, 35748) then vars.Alert("You do not have Person299's Admin, cannot part spam!") end
  357.  
  358. KAHHax.ServerOOFController.EpilepsyCoroutine = coroutine.wrap(function() -- // Epilepsy
  359. while wait() do
  360. if KAHHax.ControllerSettings.Epilepsy then
  361. Players:Chat("colorshifttop 10000 0 0"); wait()
  362. Players:Chat("colorshiftbottom 10000 0 0"); wait()
  363. Players:Chat("colorshifttop 0 10000 0"); wait()
  364. Players:Chat("colorshiftbottom 0 10000 0"); wait()
  365. Players:Chat("colorshifttop 0 0 10000"); wait()
  366. Players:Chat("colorshiftbottom 0 0 10000"); wait()
  367. end
  368. end
  369. end)()
  370.  
  371. KAHHax.ServerOOFController.PMCoroutine = coroutine.wrap(function() -- // PM Lag Spammer
  372. while wait() do
  373. for i,v in pairs(vars.PlayerManager) do
  374. if v and v.Lagging then
  375. Players:Chat(":pm "..i.." "..vars.largeText)
  376. end
  377. end
  378. end
  379. end)()
  380.  
  381. KAHHax.ServerOOFController.SVRLagCoroutine = coroutine.wrap(function() -- // Server Lag
  382. while wait() do
  383. if KAHHax.ControllerSettings.lagServer and not vars.checkAllWhitelisted() then
  384. Players:Chat(":pm others "..vars.largeText)
  385. end
  386. end
  387. end)()
  388.  
  389. KAHHax.SoundAbuseController.mainCoroutine = coroutine.wrap(function()
  390. while wait(0.25) do
  391. if KAHHax.ControllerSettings.EarRape then
  392. for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  393. if v:IsA("Sound") then
  394. v:Play()
  395. end
  396. end
  397. end
  398. end
  399. end)()
  400.  
  401. SpamListCoroutine = coroutine.wrap(function()
  402. while wait() do
  403. if vars.SpamList[1] then
  404. for _,v in pairs(vars.SpamList) do
  405. Players:Chat(v.Phrase)
  406. end
  407. end
  408. end
  409. end)()
  410.  
  411. KAHHax.AdminController.PAdminCoroutine = coroutine.wrap(function()
  412. fireCommand("regen")
  413.  
  414. local Pad = Pads:FindFirstChildWhichIsA("Model")
  415. local PadClone = Pad:Clone()
  416.  
  417. PadClone.Parent = Pads
  418. PadClone.Name = "ClonedPad"
  419. if Pad:FindFirstChildWhichIsA("Humanoid") then Pad:FindFirstChildWhichIsA("Humanoid"):Destroy() end
  420. if PadClone:FindFirstChildWhichIsA("Humanoid") then PadClone:FindFirstChildWhichIsA("Humanoid"):Destroy() end
  421.  
  422. while wait() do
  423. if KAHHax.ControllerSettings.PersistantAdmin and LocalPlayer.Character:FindFirstChildWhichIsA("BasePart") then
  424. if string.match(Pad.Name, "admin") and Pad.Head.BrickColor == BrickColor.new("Really red") then
  425. fireCommand("regen")
  426. end
  427. Pad.Head.Size = Vector3.new(0.1, 0.1, 0.1)
  428. Pad.Head.CanCollide = false
  429. Pad.Head.Transparency = 1
  430. Pad.Head.CFrame = LocalPlayer.Character["Left Leg"].CFrame
  431.  
  432. PadClone.Head.BrickColor = BrickColor.new("Really red")
  433. end
  434. end
  435. end)()
  436.  
  437. -- // Anti Lava Blocks
  438. for _,v in pairs(WorkspaceFolder.Obby:GetDescendants()) do
  439. if v:IsA("TouchTransmitter") then
  440. v:Destroy()
  441. end
  442. end
  443.  
  444. -- // CMD Handler
  445. function addCMD(CommandName, ModuleName, Example, Description, Function)
  446. if not CommandName or not ModuleName or not Example or not Description or not Function then
  447. vars.Alert("addCMDs invalid! ".. CommandName)
  448. return
  449. end
  450. local CMDs = KAHHax.CMDs
  451. CMDs[CommandName] = {
  452. ModuleName = ModuleName,
  453. Example = Example,
  454. Description = Description,
  455. Function = Function,
  456. }
  457. end
  458.  
  459. LocalPlayer.Chatted:Connect(function(message)
  460. for i,v in pairs(KAHHax.CMDs) do
  461. local Command = vars.Prefix..i
  462. if not message then message = "" end
  463. if v.Function and string.sub(message, 1, #Command) == Command then
  464. v.Function(message)
  465. end
  466. end
  467. end)
  468.  
  469. local Prefix = vars.Prefix
  470. -- // CMDs: Admin Module
  471. addCMD("regen", "Admin", Prefix.."regen", "Regens the admin.", function(message)
  472. local verbrose = string.split(message, " ")[2]
  473. local RegenPad = AdminFolder.Regen
  474. fireclickdetector(AdminFolder.Regen.ClickDetector, 0)
  475. if verbrose then print('Regened Admin.') end
  476. end)
  477.  
  478. addCMD("getadmin", "Admin", Prefix.."getadmin", "Gets admin.", function(message)
  479. local verbrose = string.split(message, " ")[2]
  480. fireCommand("regen")
  481. wait(0.25)
  482. if firetouchinterest then
  483. firetouchinterest(LocalPlayer.Character.PrimaryPart, Pads:FindFirstChild("Touch to get admin").Head, 0)
  484. else
  485. local savedPos = LocalPlayer.Character.PrimaryPart.CFrame
  486. LocalPlayer.Character.PrimaryPart.CFrame = Pads:FindFirstChild("Touch to get admin").Head.CFrame
  487. wait(1)
  488. LocalPlayer.Character.PrimaryPart.CFrame = savedPos
  489. end
  490. if verbrose then print('Got Admin.') end
  491. end)
  492.  
  493. addCMD("peradmin", "Admin", Prefix.."peradmin", "Toggles Persistant Admin.", function(message)
  494. KAHHax.ControllerSettings.PersistantAdmin = not KAHHax.ControllerSettings.PersistantAdmin
  495. vars.Notify('Persistant Admin Toggle: '.. (not KAHHax.ControllerSettings.PersistantAdmin and "Disabled." or "Enabled."))
  496. end)
  497.  
  498. -- // CMDs: Extra (Anti) Module
  499. addCMD("antipunish", "Anti", Prefix.."antiPunish", "Toggles Anti Punish.", function(message)
  500. KAHHax.ControllerSettings.antiPunish = not KAHHax.ControllerSettings.antiPunish
  501. vars.Notify('Anti Punish Toggle: '.. (not KAHHax.ControllerSettings.antiPunish and "Disabled." or "Enabled."))
  502. end)
  503.  
  504. addCMD("antiblind", "Anti", Prefix.."antiBlind", "Toggles Anti Blind.", function(message)
  505. KAHHax.ControllerSettings.antiBlind = not KAHHax.ControllerSettings.antiBlind
  506. vars.Notify('Anti Blind Toggle: '.. (not KAHHax.ControllerSettings.antiBlind and "Disabled." or "Enabled."))
  507. end)
  508.  
  509. addCMD("antikill", "Anti", Prefix.."antiKill", "Toggles Anti Kill.", function(message)
  510. KAHHax.ControllerSettings.antiKill = not KAHHax.ControllerSettings.antiKill
  511. vars.Notify('Anti Kill Toggle: '.. (not KAHHax.ControllerSettings.antiKill and "Disabled." or "Enabled."))
  512. end)
  513.  
  514. addCMD("antijail", "Anti", Prefix.."antiJail", "Toggles Anti Jail.", function(message)
  515. KAHHax.ControllerSettings.antiJail = not KAHHax.ControllerSettings.antiJail
  516. vars.Notify('Anti Jail Toggle: '.. (not KAHHax.ControllerSettings.antiJail and "Disabled." or "Enabled."))
  517. end)
  518.  
  519. -- // CMDs: Gear Giver Module
  520. addCMD("give", "Gear Giver", Prefix.."give me SuperRLauncher", "Give yourself and others gears!", function(message)
  521. local splitString = string.split(message, " ")
  522. if splitString[2] and splitString[3] and vars.gearList[splitString[3]] then
  523. Players:Chat(":gear "..splitString[2].." "..vars.gearList[splitString[3]])
  524. elseif not splitString[2] or not splitString[3] then
  525. vars.Alert("Invalid Arguments!")
  526. end
  527. end)
  528.  
  529. addCMD("givehelp", "Gear Giver", Prefix.."givehelp", "Returns all of the givable gears.", function(message)
  530. print('Welcome to Gear Giver - for Kohls Admin House. Prefix is :give - You need admin! All of the available gears will be listed below.')
  531. for i,v in pairs(vars.gearList) do
  532. local itemName = game:GetService("MarketplaceService"):GetProductInfo(v).Name
  533. print("> "..itemName.." = "..i)
  534. end
  535. print('Example - :give all SSTripmine')
  536. end)
  537.  
  538. -- // CMDs: Sound Abuse Module
  539. addCMD("pasounds", "Sound Abuse", Prefix.."pasounds", "Plays all of the sounds in the game.", function(message)
  540. for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  541. if v:IsA("Sound") then
  542. v:Play()
  543. end
  544. end
  545. vars.Notify('Played All Sounds.')
  546. end)
  547.  
  548. addCMD("sallsounds", "Sound Abuse", Prefix.."sallsounds", "Stops all of the sounds in the game.", function(message)
  549. for i,v in pairs(game:GetService("Workspace"):GetDescendants()) do
  550. if v:IsA("Sound") then
  551. v:Stop()
  552. end
  553. end
  554. vars.Notify('Stopped All Sounds.')
  555. end)
  556.  
  557. addCMD("pmusic", "Sound Abuse", Prefix.."pmusic", "Plays the 'Music' Sound.", function(message)
  558. if HolderFolder:FindFirstChildWhichIsA("Sound") then
  559. HolderFolder:FindFirstChildWhichIsA("Sound"):Play()
  560. end
  561. vars.Notify('Played Music.')
  562. end)
  563.  
  564. addCMD("smusic", "Sound Abuse", Prefix.."smusic", "Stops the 'Music' Sound.", function(message)
  565. if HolderFolder:FindFirstChildWhichIsA("Sound") then
  566. HolderFolder:FindFirstChildWhichIsA("Sound"):Stop()
  567. end
  568. vars.Notify('Stopped Music.')
  569. end)
  570.  
  571. addCMD("earrape", "Sound Abuse", Prefix.."earrape", "Toggles EarRape.", function(message)
  572. KAHHax.ControllerSettings.EarRape = not KAHHax.ControllerSettings.EarRape
  573. vars.Notify('EarRape Toggle: '.. (not KAHHax.ControllerSettings.EarRape and "Disabled." or "Enabled."))
  574. end)
  575.  
  576. -- // CMDs: Server OOF Module
  577. addCMD("movebaseplate", "Server OOF", Prefix.."movebaseplate", "Makes you able to move the baseplate.", function(message)
  578. local Spawn = WorkspaceFolder.Spawn3
  579. local Baseplate = WorkspaceFolder.Baseplate
  580. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Spawn.Position.X, Baseplate.Position.Y + 1, Spawn.Position.Z)
  581. wait(1.5)
  582. Players:Chat(":stun me")
  583. vars.Notify("Done!")
  584. end)
  585.  
  586. addCMD("partspam", "Server OOF", Prefix.."partspam", "Toggles Spam Parts (Persons299's Admin Needed!).", function(message)
  587. KAHHax.ControllerSettings.PS = not KAHHax.ControllerSettings.PS
  588. getgenv().chatSpyEnabled = not KAHHax.ControllerSettings.PS
  589. vars.Notify('Part Spam Toggle: '.. (not KAHHax.ControllerSettings.PS and "Disabled." or "Enabled."))
  590. end)
  591.  
  592. addCMD("respam", "Server OOF", Prefix.."respam", "Toggles Server Respawn-Explode Spam.", function(message)
  593. KAHHax.ControllerSettings.RE = not KAHHax.ControllerSettings.RE
  594. getgenv().chatSpyEnabled = not KAHHax.ControllerSettings.RE
  595. vars.Notify('Respawn-Explode Spam Toggle: '.. (not KAHHax.ControllerSettings.RE and "Disabled." or "Enabled."))
  596. end)
  597.  
  598. addCMD("makepbaseplate", "Server OOF", Prefix.."makepbaseplate", "Makes a 'fake' baseplate.", function(message)
  599. local Baseplate = Instance.new("Part", WorkspaceFolder)
  600. Baseplate.Name = "PhantomBaseplate"
  601. Baseplate.BrickColor = BrickColor.new("Bright green")
  602. Baseplate.Size = Vector3.new(1000, 1.2, 1000)
  603. Baseplate.TopSurface = "Studs"
  604. Baseplate.Anchored = true
  605. vars.Notify("Made Fake Baseplate.")
  606. end)
  607.  
  608. addCMD("removepbaseplates", "Server OOF", Prefix.."removepbaseplates", "Removes all 'fake' baseplates.", function(message)
  609. for i,v in pairs(WorkspaceFolder:GetChildren()) do
  610. if v.Name == "PhantomBaseplate" then
  611. v:Destroy()
  612. end
  613. end
  614. vars.Notify("Removed Fake Baseplates.")
  615. end)
  616.  
  617. addCMD("paintarea", "Server OOF", Prefix.."paintarea | 255 0 0 (RGB or 'random') | Obby Box", "Paints the specified section as the specified colour.", function(message)
  618. local splitString = string.split(message, " | ")
  619. if splitString[1] and splitString[2] and splitString[3] then
  620. SelectedColor = Color3.new(0, 0, 0)
  621. Color = string.lower(splitString[2])
  622. local Section = string.lower(splitString[3])
  623. vars.Notify("Painting: Section - ".. Section.." ".. "Color - ".. (string.lower(splitString[2]) == "random" and "Random Color" or Color))
  624.  
  625. if string.gmatch(Color, "[%d%s]+") then
  626. R, G, B = 0, 0, 0
  627. local colorSplit = string.split(splitString[2], " ")
  628. if colorSplit[1] and tonumber(colorSplit[1]) then R = tonumber(colorSplit[1]) end
  629. if colorSplit[2] and tonumber(colorSplit[2]) then G = tonumber(colorSplit[2]) end
  630. if colorSplit[3] and tonumber(colorSplit[3]) then B = tonumber(colorSplit[3]) end
  631. SelectedColor = Color3.fromRGB(R, G, B)
  632. end
  633.  
  634. -- // Check if you already have a Paint Bucket
  635. if not (LocalPlayer.Backpack:FindFirstChild("PaintBucket") or LocalPlayer.Character:FindFirstChild("PaintBucket")) then
  636. Players:Chat(":gear me 18474459")
  637. end
  638. LocalPlayer.Backpack:WaitForChild("PaintBucket")
  639. LocalPlayer.Character.Humanoid:EquipTool(LocalPlayer.Backpack.PaintBucket)
  640. LocalPlayer.Character:WaitForChild("PaintBucket")
  641.  
  642. -- // The Actual Painting Part
  643. local Remote = LocalPlayer.Character:WaitForChild("PaintBucket"):WaitForChild("Remotes"):WaitForChild("ServerControls")
  644.  
  645. if Section == "all" then
  646. for _, part in pairs(WorkspaceFolder:GetDescendants()) do
  647. coroutine.wrap(function()
  648. if part:IsA("BasePart") then
  649. Remote:InvokeServer("PaintPart", {["Part"] = part, ["Color"] = (Color == "random" and vars.RainbowColor or SelectedColor) })
  650. end
  651. end)()
  652. end
  653. else
  654. for i,v in pairs(WorkspaceFolder:GetChildren()) do
  655. if string.match(string.lower(v.Name), Section) then
  656. for _, part in pairs(v:GetDescendants()) do
  657. coroutine.wrap(function()
  658. if part:IsA("BasePart") then
  659. Remote:InvokeServer("PaintPart", {["Part"] = part, ["Color"] = (Color == "random" and vars.RainbowColor or SelectedColor) })
  660. end
  661. end)()
  662. end
  663. end
  664. end
  665. end
  666. LocalPlayer.Character.PaintBucket.Parent = LocalPlayer.Backpack
  667. vars.Notify("Painted: Section - ".. Section.." ".. "Color -".. (string.lower(splitString[2]) == "random" and "Random Color" or SelectedColor))
  668. else
  669. vars.Alert("Invalid Arguments!")
  670. end
  671. end)
  672.  
  673. addCMD("tlag", "Server OOF", Prefix.."tlag EpicGamer69", "Toggles lagging player.", function(message)
  674. local splitString = string.split(message, " ")
  675. if splitString[1] and splitString[2] then
  676. local targetUser = splitString[2]
  677. for i,v in pairs(vars.getPlayer(targetUser)) do
  678. if not vars.checkWhitelisted(v.UserId) then
  679. vars.PlayerManager[v.Name].Lagging = not vars.PlayerManager[v.Name].Lagging
  680. getgenv().chatSpyEnabled = not vars.PlayerManager[v.Name].Lagging
  681. vars.Notify(vars.PlayerManager[v.Name].Lagging and v.Name.." is being lagged." or v.Name.." has stopped being lagged.")
  682. end
  683. end
  684. else
  685. vars.Alert("Invalid Arguments!")
  686. end
  687. checkLagging()
  688. end)
  689.  
  690. addCMD("svrlag", "Server OOF", Prefix.."svrlag", "Toggles lagging the whole server.", function(message)
  691. getgenv().chatSpyEnabled = KAHHax.ControllerSettings.lagServer
  692. KAHHax.ControllerSettings.lagServer = not KAHHax.ControllerSettings.lagServer
  693. vars.Notify('Lag Server Toggle: '.. (not KAHHax.ControllerSettings.lagServer and "Disabled." or "Enabled."))
  694. end)
  695.  
  696. addCMD("spam", "Server OOF", Prefix.."spam kill all", "Spams a message.", function(message)
  697. local Str = Prefix.."spam "
  698. local givenPhrase = string.sub(message, #Str, -1)
  699. if not givenPhrase then
  700. vars.Alert("Invalid Arguments!")
  701. return
  702. end
  703. getgenv().chatSpyEnabled = false
  704. if not vars.SpamList[1] then
  705. table.insert(vars.SpamList, {Phrase = givenPhrase})
  706. vars.Notify('Successfully added to Spam List, Message: '.. givenPhrase)
  707. else
  708. for i,v in pairs(vars.SpamList) do
  709. if v.Phrase ~= givenPhrase then
  710. table.insert(vars.SpamList, {Phrase = givenPhrase})
  711. vars.Notify('Successfully added to Spam List, Message: '.. givenPhrase)
  712. else
  713. vars.Alert("Already spamming this message: ".. givenPhrase)
  714. end
  715. end
  716. end
  717. end)
  718.  
  719. addCMD("rspam", "Server OOF", Prefix.."rspam kill all", "Removes a spam message.", function(message)
  720. local Str = Prefix.."rspam "
  721. local givenPhrase = string.sub(message, #Str, -1)
  722. if #vars.SpamList < 1 then getgenv().chatSpyEnabled = true end
  723. for i,v in pairs(vars.SpamList) do
  724. if v.Phrase == givenPhrase then
  725. table.remove(vars.SpamList, i)
  726. vars.Notify('Successfully removed to Spam List, Message: '.. givenPhrase)
  727. end
  728. end
  729. end)
  730.  
  731. addCMD("blphrase", "Server OOF", Prefix.."blphrase | EpicGamer69 | kill all | reset all", "When Player says Phrase, Punishment is said.", function(message)
  732. local splitString = string.split(message, " | ")
  733. if splitString[1] and splitString[2] and splitString[3] and splitString[4] then
  734. local targetPlayer = vars.getPlayer(splitString[2])
  735. for _,v in pairs(targetPlayer) do
  736. if v and not vars.checkWhitelisted(v.UserId) then
  737. local bLTBL = vars.PlayerManager[v.Name].BlacklistedPhrases
  738. table.insert(bLTBL, {Phrase = splitString[3], Punishment = splitString[4]})
  739. vars.Notify('Blacklisted Phrase: Player - '.. v.Name.." ".. "Phrase -".. splitString[3].." ".. "Punishment -".. splitString[4])
  740. else
  741. vars.Alert(targetPlayer.. " - unable to blacklist phrases")
  742. end
  743. end
  744. else
  745. vars.Alert("Invalid Arguments!")
  746. end
  747. end)
  748.  
  749. addCMD("rblphrase", "Server OOF", Prefix.."rblphrase | EpicGamer69 | kill all", "Remove Blacklisted Phrase.", function(message)
  750. local splitString = string.split(message, " | ")
  751. if splitString[1] and splitString[2] and splitString[3]then
  752. local targetPlayer = vars.getPlayer(splitString[2])
  753. for _,v in pairs(targetPlayer) do
  754. if v and not vars.checkWhitelisted(v.UserId) then
  755. for a,x in pairs(vars.PlayerManager[v.Name].BlacklistedPhrases) do
  756. if x.Phrase == splitString[3] then
  757. table.remove(vars.PlayerManager[v.Name].BlacklistedPhrases, a)
  758. vars.Notify('Removed Blacklisted Phrase: Player - '.. v.Name, "Phrase - ".. splitString[3])
  759. end
  760. end
  761. end
  762. end
  763. else
  764. vars.Alert("Invalid Arguments!")
  765. end
  766. end)
  767.  
  768. addCMD("crash", "Server OOF", Prefix.."crash", "Crashes Server. Only for Whitelisted Users.", function(message)
  769. if vars.checkWhitelisted(LocalPlayer.UserId) then
  770. Players:Chat(":char me 489163522")
  771. wait(1)
  772. Players:Chat(":gear me 94794847")
  773. LocalPlayer.Backpack:WaitForChild("VampireVanquisher")
  774. LocalPlayer.Character.Humanoid:EquipTool(LocalPlayer.Backpack.VampireVanquisher)
  775. LocalPlayer.Character:WaitForChild("VampireVanquisher")
  776. Players:Chat(":size me .3")
  777. Players:Chat(":size me .3")
  778. Players:Chat(":size me .3")
  779. end
  780. end)
  781.  
  782. addCMD("epilepsy", "Server OOF", Prefix.."epilepsy", "Spams Colours.", function(message)
  783. KAHHax.ControllerSettings.Epilepsy = not KAHHax.ControllerSettings.Epilepsy
  784. vars.Notify("Toggle - Epilepsy: ".. (KAHHax.ControllerSettings.Epilepsy and "Enabled." or "Disabled."))
  785. end)
  786.  
  787. addCMD("tturret", "Server OOF", Prefix.."tturret others", "Gives you the Teapot Turret!", function(message)
  788. local Str = Prefix.."tturret "
  789. if string.sub(message, #Str, -1) then
  790. Players:Chat(":hat "..string.sub(message, #Str, -1).." 1055299")
  791. else
  792. Players:Chat(":hat me 1055299")
  793. end
  794. vars.Notify("Given Teapot Turret"..(string.sub(message, #Str, -1) and " to "..string.sub(message, #Str, -1).."!" or " self!"))
  795. end)
  796.  
  797. -- // CMDs: Music Commands
  798. addCMD("getmusic", "Music Commands", Prefix.."getmusic", "Prints all of the playable music.", function(message)
  799. vars.MusicAPI.returnMusic(false)
  800. end)
  801.  
  802. addCMD("refreshmusic", "Music Commands", Prefix.."refreshmusic", "Refreshes the music table.", function(message)
  803. vars.MusicAPI.refreshSounds()
  804. end)
  805.  
  806. addCMD("play", "Music Commands", Prefix.."play 53", "Plays the sound indexed at the number.", function(message)
  807. local SoundId
  808. local splitString = string.split(message, " ")
  809. if splitString[1] and splitString[2] and tonumber(splitString[2]) then
  810. if not vars.MusicAPI.musicTable[tonumber(splitString[2])] then vars.Alert("This sound does not exist!") return end
  811. Players:Chat(":music "..vars.MusicAPI.getSound(tonumber(splitString[2])))
  812. vars.Notify("Now Playing: "..vars.MusicAPI.getSoundName(tonumber(splitString[2])))
  813. else
  814. vars.Alert("Invalid Arguments!")
  815. end
  816. end)
  817.  
  818. -- // CMDs: Misc. Commands
  819. addCMD("rj", "Misc", Prefix.."rj", "Rejoins the game.", function(message)
  820. game:GetService('TeleportService'):Teleport(game.PlaceId)
  821. end)
  822.  
  823. addCMD("execute", "Misc", Prefix.."execute print('hi'))", "Executes whatever you want.", function(message)
  824. local Str = Prefix.."execute "
  825. loadstring(string.sub(message, #Str, -1))()
  826. end)
  827.  
  828. addCMD("country", "Misc", Prefix.."country EpicGamer69", "Shows Country of Player in Game and Notificaiton", function(message)
  829. local Str = Prefix.."execute "
  830. local Target = string.sub(message, #Str, -1)
  831. if Target and vars.getPlayer(Target) and vars.getPlayer(Target)[1] then
  832. if not gethiddenproperty then vars.Alert("Your exploit does not support this!") return end
  833. local targetPlayer = vars.getPlayer(Target)
  834. for _, plr in pairs(targetPlayer) do
  835. local targetPlayerCountryCode = gethiddenproperty(plr, "CountryRegionCodeReplicate")
  836. local targetPlayerCountryName = game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://restcountries.eu/rest/v2/alpha/"..targetPlayerCountryCode)).name
  837. local Chat = plr.Name.." is located in "..targetPlayerCountryName.." ("..targetPlayerCountryCode..")."
  838. game:GetService("Players"):Chat(":h "..Chat)
  839. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(Chat, "All")
  840. vars.Notify(Chat)
  841. wait(1.5)
  842. end
  843. else
  844. vars.Alert("Invalid Arguments!")
  845. end
  846. end)
  847.  
  848. addCMD("copycmds", "Misc", Prefix.."copycmds", "Copies all of the commands to your clipboard.", function(message)
  849. local CommandCount = 0
  850. for i,v in pairs(KAHHax.CMDs) do
  851. CommandCount = CommandCount + 1
  852. end
  853. local Holder = "oofkohls v2 Command List | Total Commands: "..CommandCount.." | Prefix - "..Prefix.."\n"
  854. Holder = Holder.."--~~-- Admin Module --~~--\n"
  855. for i,v in pairs(KAHHax.CMDs) do
  856. if v.ModuleName == "Admin" then
  857. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  858. end
  859. end
  860. Holder = Holder.."--~~-- Server OOF Module --~~--\n"
  861. for i,v in pairs(KAHHax.CMDs) do
  862. if v.ModuleName == "Server OOF" then
  863. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  864. end
  865. end
  866. Holder = Holder.."--~~-- Sound Abuse Module --~~--\n"
  867. for i,v in pairs(KAHHax.CMDs) do
  868. if v.ModuleName == "Sound Abuse" then
  869. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  870. end
  871. end
  872. Holder = Holder.."--~~-- Music Commands Module --~~--\n"
  873. for i,v in pairs(KAHHax.CMDs) do
  874. if v.ModuleName == "Music Commands" then
  875. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  876. end
  877. end
  878. Holder = Holder.."--~~-- Gear Giver Module --~~--\n"
  879. for i,v in pairs(KAHHax.CMDs) do
  880. if v.ModuleName == "Gear Giver" then
  881. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  882. end
  883. end
  884. Holder = Holder.."--~~-- Anti Module --~~--\n"
  885. for i,v in pairs(KAHHax.CMDs) do
  886. if v.ModuleName == "Anti" then
  887. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  888. end
  889. end
  890. Holder = Holder.."--~~-- Misc Module --~~--\n"
  891. for i,v in pairs(KAHHax.CMDs) do
  892. if v.ModuleName == "Misc" then
  893. Holder = Holder.."> "..i.." - Description: "..v.Description.." - Example: "..v.Example.."\n"
  894. end
  895. end
  896. setclipboard(Holder)
  897. vars.Notify("Copied all Commands to clipboard!")
  898. end)
  899.  
  900. -- // CMDs: Misc. Commands - CMD GUI
  901. addCMD("xcmds", "Misc", Prefix.."xcmds", "Shows all of the CMDs.", function(message)
  902. local ScriptCMDs = Instance.new("ScreenGui")
  903. local Container = Instance.new("Frame")
  904. local Header = Instance.new("Frame")
  905. local Title = Instance.new("TextButton")
  906. local Close = Instance.new("TextButton")
  907. local Body = Instance.new("Frame")
  908. local CMDFrame = Instance.new("ScrollingFrame")
  909. local UIListLayout = Instance.new("UIListLayout")
  910. local example = Instance.new("TextButton")
  911. local ExamplePrompt = Instance.new("TextButton")
  912. ScriptCMDs.Name = "ScriptCMDs"
  913. ScriptCMDs.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  914. ScriptCMDs.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  915. Container.Name = "Container"
  916. Container.Parent = ScriptCMDs
  917. Container.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  918. Container.BackgroundTransparency = 1.000
  919. Container.BorderSizePixel = 0
  920. Container.Position = UDim2.new(0.399999976, 0, 0.200000033, 0)
  921. Container.Size = UDim2.new(0, 400, 0, 50)
  922. Header.Name = "Header"
  923. Header.Parent = Container
  924. Header.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  925. Header.BorderSizePixel = 0
  926. Header.Size = UDim2.new(0, 400, 0, 50)
  927. Title.Name = "Title"
  928. Title.Parent = Header
  929. Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  930. Title.BackgroundTransparency = 1.000
  931. Title.BorderSizePixel = 0
  932. Title.Size = UDim2.new(0, 0, 0, 50)
  933. Title.AutoButtonColor = false
  934. Title.Font = Enum.Font.GothamBlack
  935. Title.Text = " | Epic Script CMDs"
  936. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  937. Title.TextSize = 14.000
  938. Title.TextStrokeColor3 = Color3.fromRGB(200, 200, 200)
  939. Title.TextXAlignment = Enum.TextXAlignment.Left
  940. Close.Name = "Close"
  941. Close.Parent = Header
  942. Close.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  943. Close.BorderSizePixel = 0
  944. Close.Position = UDim2.new(0.88500005, 0, 0, 0)
  945. Close.Size = UDim2.new(0, 45, 0, 50)
  946. Close.AutoButtonColor = false
  947. Close.Font = Enum.Font.GothamBold
  948. Close.Text = "X"
  949. Close.TextColor3 = Color3.fromRGB(255, 105, 97)
  950. Close.TextSize = 14.000
  951. Close.TextStrokeColor3 = Color3.fromRGB(200, 200, 200)
  952. Body.Name = "Body"
  953. Body.Parent = Header
  954. Body.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  955. Body.BackgroundTransparency = 1.000
  956. Body.BorderSizePixel = 0
  957. Body.Position = UDim2.new(0, 0, 0.985000014, 0)
  958. Body.Size = UDim2.new(0, 400, 0, 350)
  959. CMDFrame.Name = "CMDFrame"
  960. CMDFrame.Parent = Body
  961. CMDFrame.Active = true
  962. CMDFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  963. CMDFrame.BorderSizePixel = 0
  964. CMDFrame.Size = UDim2.new(0, 400, 0, 350)
  965. CMDFrame.CanvasSize = UDim2.new(0, 0, 5, 0)
  966. UIListLayout.Parent = CMDFrame
  967. example.Name = ":example"
  968. example.Parent = CMDFrame
  969. example.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  970. example.BackgroundTransparency = 1.000
  971. example.BorderSizePixel = 0
  972. example.Position = UDim2.new(0, 0, -0.0114285713, 0)
  973. example.Size = UDim2.new(0, 400, 0, 50)
  974. example.Visible = false
  975. example.AutoButtonColor = false
  976. example.Font = Enum.Font.Gotham
  977. example.Text = " > :example - example description"
  978. example.TextColor3 = Color3.fromRGB(255, 255, 255)
  979. example.TextSize = 14.000
  980. example.TextStrokeColor3 = Color3.fromRGB(200, 200, 200)
  981. example.TextXAlignment = Enum.TextXAlignment.Left
  982. ExamplePrompt.Name = "Example Prompt"
  983. ExamplePrompt.Parent = Header
  984. ExamplePrompt.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  985. ExamplePrompt.BackgroundTransparency = 1.000
  986. ExamplePrompt.BorderSizePixel = 0
  987. ExamplePrompt.Position = UDim2.new(0.38499999, 0, 0, 0)
  988. ExamplePrompt.Size = UDim2.new(0, 200, 0, 50)
  989. ExamplePrompt.AutoButtonColor = false
  990. ExamplePrompt.Font = Enum.Font.Gotham
  991. ExamplePrompt.Text = " click cmds 4 example print"
  992. ExamplePrompt.TextColor3 = Color3.fromRGB(255, 255, 255)
  993. ExamplePrompt.TextSize = 14.000
  994.  
  995. for i,v in pairs(KAHHax.CMDs) do
  996. local Clone = example:Clone()
  997. wait()
  998. Clone.Name = v.Example
  999. Clone.Text = " > "..Prefix..i.." - "..v.Description
  1000. Clone.Parent = CMDFrame
  1001. Clone.Visible = true
  1002. end
  1003. example = nil
  1004.  
  1005. -- // Script
  1006. local Dragger = {}; do
  1007. local Mouse = game:GetService("Players").LocalPlayer:GetMouse()
  1008. local UIS = game:GetService("UserInputService")
  1009. local Heartbeat = game:GetService("RunService").Heartbeat
  1010. function Dragger.new(Frame)
  1011. local success, response = pcall(function()
  1012. return Frame.MouseEnter
  1013. end)
  1014. if success then
  1015. Frame.Active = true
  1016. response:Connect(function()
  1017. local Input = Frame.InputBegan:Connect(function(Key)
  1018. if Key.UserInputType == Enum.UserInputType.MouseButton1 then
  1019. local objectPosition = Vector2.new(Mouse.X - Frame.AbsolutePosition.X, Mouse.Y - Frame.AbsolutePosition.Y)
  1020. while Heartbeat:Wait() and UIS:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  1021. pcall(function()
  1022. Frame:TweenPosition(UDim2.new(0, Mouse.X - objectPosition.X + (Frame.Size.X.Offset * Frame.AnchorPoint.X), 0, Mouse.Y - objectPosition.Y + (Frame.Size.Y.Offset * Frame.AnchorPoint.Y)), 'Out', 'Linear', 0.1, true)
  1023. end)
  1024. end
  1025. end
  1026. end)
  1027.  
  1028. local Leave
  1029. Leave = Frame.MouseLeave:Connect(function()
  1030. Input:Disconnect()
  1031. Leave:Disconnect()
  1032. end)
  1033. end)
  1034. end
  1035. end
  1036. end
  1037. Dragger.new(Container)
  1038.  
  1039. local Connections = {}
  1040. function hoverGlow(hoverPart, affectedPart)
  1041. local TweenService = game:GetService("TweenService")
  1042. local hPartMouseEnter = hoverPart.MouseEnter:Connect(function()
  1043. TweenService:Create(affectedPart, TweenInfo.new(0.2), {TextStrokeTransparency = 0.8}):Play()
  1044. end)
  1045. local hPartMouseLeave = hoverPart.MouseLeave:Connect(function()
  1046. TweenService:Create(affectedPart, TweenInfo.new(0.2), {TextStrokeTransparency = 1}):Play()
  1047. end)
  1048. local hPartMouseDown = hoverPart.MouseButton1Down:Connect(function()
  1049. TweenService:Create(affectedPart, TweenInfo.new(0.2), {TextStrokeTransparency = 0.5}):Play()
  1050. end)
  1051. local hPartMouseUp = hoverPart.MouseButton1Up:Connect(function()
  1052. TweenService:Create(affectedPart, TweenInfo.new(0.2), {TextStrokeTransparency = 1}):Play()
  1053. end)
  1054. table.insert(Connections, {Connection = hPartMouseEnter})
  1055. table.insert(Connections, {Connection = hPartMouseLeave})
  1056. table.insert(Connections, {Connection = hPartMouseDown})
  1057. table.insert(Connections, {Connection = hPartMouseUp})
  1058. end
  1059.  
  1060. hoverGlow(Close, Close)
  1061. local CloseConnection = Close.MouseButton1Click:Connect(function()
  1062. for i,v in pairs(Connections) do
  1063. v.Connection:Disconnect()
  1064. end
  1065. for i,v in pairs(ScriptCMDs:GetDescendants()) do
  1066. if string.match(v.ClassName, "Frame") then
  1067. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {BackgroundTransparency = 1}):Play()
  1068. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {BackgroundTransparency = 1}):Play()
  1069. end
  1070. if string.match(v.ClassName, "Text") then
  1071. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {BackgroundTransparency = 1}):Play()
  1072. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {TextTransparency = 1}):Play()
  1073. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {TextTransparency = 1}):Play()
  1074. v.TextStrokeTransparency = 1
  1075. end
  1076. if string.match(v.ClassName, "ScrollingFrame") then
  1077. game:GetService("TweenService"):Create(v, TweenInfo.new(1), {ScrollBarImageTransparency = 1}):Play()
  1078. end
  1079. end
  1080. wait(2)
  1081. ScriptCMDs:Destroy()
  1082. end)
  1083.  
  1084. hoverGlow(Title, Title)
  1085. local TitleClickConnection = Title.MouseButton1Click:Connect(function()
  1086. print("hi epic scirpt comandsa")
  1087. end)
  1088.  
  1089. for i,v in pairs(CMDFrame:GetChildren()) do
  1090. if v:IsA("TextButton") then
  1091. hoverGlow(v, v)
  1092. local ButtonClickConnection = v.MouseButton1Click:Connect(function()
  1093. print('Command Example - '..v.Name)
  1094. end)
  1095. table.insert(Connections, {Connection = ButtonClickConnection})
  1096. end
  1097. end
  1098. table.insert(Connections, {Connection = CloseConnection})
  1099. table.insert(Connections, {Connection = TitleClickConnection})
  1100. end)
  1101. getgenv().KAHHaxLoaded = true
  1102. warn("Loaded oofkohls v2 - Made by Stefanuk12#5820 | Stefanuk12")
Add Comment
Please, Sign In to add comment