BankHack

Untitled

Sep 8th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 413.18 KB | None | 0 0
  1. ---------------------------------------------------------------
  2. -- _____ __ _ _ _ __ ___ _ _ --
  3. -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
  4. -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
  5. -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
  6. -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
  7. -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
  8. -- --
  9. ---------------------------------------------------------------
  10. ---------------------------------------------------------------
  11. ------Edge#3467 Moon#6245 bluntboomer#1259 Unlisting#0179------
  12. ---------------------------------------------------------------
  13.  
  14. local Version = '8.4'
  15. loaded = false
  16. HttpService = game:GetService("HttpService")
  17. SAVEFILE = {
  18. colorR = 0.121569;
  19. colorG = 0.121569;
  20. colorB = 0.121569;
  21. cmdprefix = ';';
  22. suggestionstoggle = true;
  23. allowfriends = true;
  24. JLnotify = true;
  25. Mseconds = '7';
  26. Nfriends = true;
  27. cmdbarbind = ';'
  28. }
  29. sitems = HttpService:JSONEncode(SAVEFILE)
  30.  
  31. function run()
  32. savesetting = 0
  33. if Synapse ~= nil then
  34. savesetting = 1
  35. local function synapse()
  36. Synapse:ReadFile("IY.txt") end
  37. local success1, message1 = pcall(synapse)
  38. if success1 then
  39. local json = Synapse:ReadFile("IY.txt")
  40. local LOADFILE = HttpService:JSONDecode(json)
  41. colorR = LOADFILE.colorR
  42. colorG = LOADFILE.colorG
  43. colorB = LOADFILE.colorB
  44. cmdprefix = LOADFILE.cmdprefix
  45. suggestionstoggle = LOADFILE.suggestionstoggle
  46. allowfriends = LOADFILE.allowfriends
  47. JLnotify = LOADFILE.JLnotify
  48. Mseconds = LOADFILE.Mseconds
  49. Nfriends = LOADFILE.Nfriends
  50. cmdbarbind = LOADFILE.cmdbarbind
  51. loaded = true else
  52. Synapse:WriteFile("IY.txt", sitems)
  53. wait(0.2)
  54. local json = Synapse:ReadFile("IY.txt")
  55. local LOADFILE = HttpService:JSONDecode(json)
  56. colorR = LOADFILE.colorR
  57. colorG = LOADFILE.colorG
  58. colorB = LOADFILE.colorB
  59. cmdprefix = LOADFILE.cmdprefix
  60. suggestionstoggle = LOADFILE.suggestionstoggle
  61. allowfriends = LOADFILE.allowfriends
  62. JLnotify = LOADFILE.JLnotify
  63. Mseconds = LOADFILE.Mseconds
  64. Nfriends = LOADFILE.Nfriends
  65. cmdbarbind = LOADFILE.cmdbarbind
  66. loaded = true end
  67. elseif is_protosmasher_caller ~= nil or elysianexecute ~= nil then
  68. savesetting = 2
  69. local function protoely()
  70. local checktxt = readfile("IY.txt")
  71. if checktxt == nil then print('professional amiright?'..reeeeeeeeeee)
  72. else return end end
  73. local success2, message2 = pcall(protoely)
  74. if success2 then
  75. local json = readfile("IY.txt")
  76. local LOADFILE = HttpService:JSONDecode(json)
  77. colorR = LOADFILE.colorR
  78. colorG = LOADFILE.colorG
  79. colorB = LOADFILE.colorB
  80. cmdprefix = LOADFILE.cmdprefix
  81. suggestionstoggle = LOADFILE.suggestionstoggle
  82. allowfriends = LOADFILE.allowfriends
  83. JLnotify = LOADFILE.JLnotify
  84. Mseconds = LOADFILE.Mseconds
  85. Nfriends = LOADFILE.Nfriends
  86. cmdbarbind = LOADFILE.cmdbarbind
  87. loaded = true else
  88. writefile("IY.txt", sitems)
  89. wait(0.2)
  90. local json = readfile("IY.txt")
  91. local LOADFILE = HttpService:JSONDecode(json)
  92. colorR = LOADFILE.colorR
  93. colorG = LOADFILE.colorG
  94. colorB = LOADFILE.colorB
  95. cmdprefix = LOADFILE.cmdprefix
  96. suggestionstoggle = LOADFILE.suggestionstoggle
  97. allowfriends = LOADFILE.allowfriends
  98. JLnotify = LOADFILE.JLnotify
  99. Mseconds = LOADFILE.Mseconds
  100. Nfriends = LOADFILE.Nfriends
  101. cmdbarbind = LOADFILE.cmdbarbind
  102. loaded = true end
  103. else
  104. colorR = 0.121569
  105. colorG = 0.121569
  106. colorB = 0.121569
  107. cmdprefix = ';'
  108. suggestionstoggle = true
  109. allowfriends = true
  110. JLnotify = true
  111. Mseconds = '7'
  112. Nfriends = true
  113. cmdbarbind = ';' loaded = true
  114. end
  115. repeat wait() until loaded == true
  116. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local Player = gPlayers.LocalPlayer
  117. local Mouse = Player:GetMouse() local char = Player.Character local LP = gPlayers.LocalPlayer local gPlayers = game:GetService("Players") local _players = game:GetService('Players') MSGhook = false local services={} local cmds={}
  118. local std={} local loopkillT = {} local rainbowT = {} local disabletoolsT = {} local banT = {} local adminT = {} function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
  119. services.players=gPlayers services.lighting=game:GetService('Lighting') services.workspace=game:GetService('Workspace') services.events = {} local user = gPlayers.LocalPlayer local bringT = {} agelock = nil isagelocked = false
  120. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local scriptprefix='\\'
  121. local split=" " slock = false
  122. function updatefile()
  123. local update = {
  124. colorR = colorR;
  125. colorG = colorG;
  126. colorB = colorB;
  127. cmdprefix = cmdprefix;
  128. suggestionstoggle = suggestionstoggle;
  129. allowfriends = allowfriends;
  130. JLnotify = JLnotify;
  131. Mseconds = Mseconds;
  132. Nfriends = Nfriends;
  133. cmdbarbind = cmdbarbind
  134. }
  135. local updated = HttpService:JSONEncode(update)
  136. wait(0.1)
  137. if savesetting == 1 then
  138. Synapse:WriteFile("IY.txt", updated) elseif savesetting == 2 then
  139. writefile("IY.txt", updated) end end
  140. function isNumber(str)
  141. return tonumber(str) ~= nil end
  142. function msghook()
  143. for _, child in pairs( workspace:GetChildren()) do
  144. if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
  145. child.Name = "IYmessage" child.Text = '' MSGhook = true end end
  146. if workspace:FindFirstChild("IYmessage") then MSGhook = true
  147. else MSGhook = false end end
  148. game:GetService('RunService').Heartbeat:connect(function()
  149. game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
  150. if r15noclip then
  151. if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
  152. if LP.Character and LP.Character:FindFirstChild('Humanoid') then
  153. LP.Character.Humanoid.Died:connect(function() FLYING = false end)
  154. if MSGhook == true and workspace:FindFirstChild("IYmessage") then
  155. if workspace.IYmessage.Text == '' then
  156. for _, child in pairs( LightingService:GetChildren()) do
  157. if child.Name == "IYmblur" then
  158. child:Destroy() end end end
  159. else MSGhook = false end
  160. for i,v in pairs(_players:GetPlayers()) do
  161. if FindTable(loopkillT, v.Name) then
  162. v.Character:BreakJoints() end
  163. if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
  164. v.Backpack:Destroy()
  165. for i,n in pairs(v.Character:GetChildren()) do
  166. if n:IsA('Tool') or n:IsA('HopperBin') then
  167. n:destroy() end end end
  168. if FindTable(rainbowT, v.Name) then
  169. v.Neutral = false
  170. v.TeamColor = BrickColor.random()
  171. end end end end)
  172. LightingService = game:GetService("Lighting")
  173. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  174. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  175. function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
  176. function FindTable(Table, Name)
  177. for i,v in pairs(Table) do
  178. if v == Name then
  179. return true
  180. end end
  181. return false
  182. end
  183. function GetInTable(Table, Name)
  184. for i = 1, #Table do
  185. if Table[i] == Name then
  186. return i
  187. end end
  188. return false end
  189. _players.PlayerRemoving:connect(function(player)
  190. for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end
  191. for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end
  192. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  193. game:FindService('StarterGui'):SetCore('SendNotification', {
  194. Title = player.Name,
  195. Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  196. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  197. Duration = 5,
  198. })
  199. elseif JLnotify == true and Nfriends == false then
  200. game:FindService('StarterGui'):SetCore('SendNotification', {
  201. Title = player.Name,
  202. Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  203. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  204. Duration = 5,
  205. })
  206. end
  207. end)
  208. FLYING = false
  209. iyflyspeed = 1
  210. function sFLY() -- from rocky2u cmdscript
  211. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  212. repeat wait() until Mouse
  213.  
  214. local T = LP.Character.HumanoidRootPart
  215. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  216. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  217. local SPEED = 0
  218.  
  219. local function FLY()
  220. FLYING = true
  221. local BG = Instance.new('BodyGyro', T)
  222. local BV = Instance.new('BodyVelocity', T)
  223. BG.P = 9e4
  224. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  225. BG.cframe = T.CFrame
  226. BV.velocity = Vector3.new(0, 0.1, 0)
  227. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  228. spawn(function()
  229. repeat wait()
  230. LP.Character.Humanoid.PlatformStand = true
  231. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  232. SPEED = 50
  233. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  234. SPEED = 0
  235. end
  236. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  237. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  238. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  239. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  240. BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
  241. else
  242. BV.velocity = Vector3.new(0, 0.1, 0)
  243. end
  244. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  245. until not FLYING
  246. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  247. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  248. SPEED = 0
  249. BG:destroy()
  250. BV:destroy()
  251. LP.Character.Humanoid.PlatformStand = false
  252. end)
  253. end
  254. Mouse.KeyDown:connect(function(KEY)
  255. if KEY:lower() == 'w' then
  256. CONTROL.F = iyflyspeed
  257. elseif KEY:lower() == 's' then
  258. CONTROL.B = -iyflyspeed
  259. elseif KEY:lower() == 'a' then
  260. CONTROL.L = -iyflyspeed
  261. elseif KEY:lower() == 'd' then
  262. CONTROL.R = iyflyspeed
  263. end
  264. end)
  265. Mouse.KeyUp:connect(function(KEY)
  266. if KEY:lower() == 'w' then
  267. CONTROL.F = 0
  268. elseif KEY:lower() == 's' then
  269. CONTROL.B = 0
  270. elseif KEY:lower() == 'a' then
  271. CONTROL.L = 0
  272. elseif KEY:lower() == 'd' then
  273. CONTROL.R = 0
  274. end
  275. end)
  276. FLY()
  277. end
  278. function NOFLY()
  279. FLYING = false
  280. LP.Character.Humanoid.PlatformStand = false
  281. end
  282.  
  283. ------------------
  284. ---CMDS/HOTKEYS---
  285. ------------------
  286. HK = {
  287. '-HOTKEYS-',
  288. 'F4 - Toggle Fly',
  289. 'F5 - Toggle Noclip',
  290. 'HOLD F2 - Click TP',
  291. '-COMMANDS-'
  292. }
  293. CMDs = {
  294. 'ff [plr]',
  295. 'unff [plr]',
  296. 'fire [plr] [R G B]',
  297. 'unfire [plr]',
  298. 'burn [plr]',
  299. 'sparkles / sp [plr] [R G B]',
  300. 'unsparkles / unsp [plr]',
  301. 'smoke [plr]',
  302. 'unsmoke [plr]',
  303. 'btools [plr]',
  304. 'god [plr]',
  305. 'ungod [plr]',
  306. 'smite [plr]',
  307. 'bleach [plr]',
  308. 'crucify [plr]',
  309. 'hang [plr]',
  310. 'heal [plr]',
  311. 'freeze / fr [plr]',
  312. 'thaw / unfr [plr]',
  313. 'kill [plr]',
  314. 'sound / music [ID/Name]',
  315. 'volume / vol [num]',
  316. 'pitch [num]',
  317. 'explode [plr]',
  318. 'invisible / invis [plr]',
  319. 'visible / vis [plr]',
  320. 'goto [plr]',
  321. 'bring [plr]',
  322. 'tp [plr] [plr]',
  323. 'pipetp [plr] [plr]',
  324. 'savepos / spos [name]',
  325. 'loadpos / lpos [plr] [name]',
  326. 'deletepos / dpos [name]',
  327. 'positions / pos',
  328. 'char [plr] [ID]',
  329. 'charplr / cp [plr] [plr]',
  330. 'unchar [plr]',
  331. 'speed / ws [plr] [num]',
  332. 'sgod [plr]',
  333. 'unlockws',
  334. 'lockws',
  335. 'unanchor',
  336. 'anchor',
  337. 'clear',
  338. 'loadm',
  339. 'message / m [msg]',
  340. 'servermessage / sm [msg]',
  341. 'light [plr] [R G B]',
  342. 'unlight [plr]',
  343. 'glowstick [plr] [R G B]',
  344. 'decalspam [ID]',
  345. 'undecalspam',
  346. 'thirdp [plr]',
  347. 'firstp [plr]',
  348. 'name [plr]',
  349. 'unname [plr]',
  350. 'loopname [plr]',
  351. 'unloopname [plr]',
  352. 'stun [plr]',
  353. 'unstun [plr]',
  354. 'copytools / ctools [plr]',
  355. 'keeptools / ktools [plr]',
  356. 'nokeeptools / noktools [plr]',
  357. 'notools [plr]',
  358. 'serverinfo / info',
  359. 'damage [plr]',
  360. 'view [plr]',
  361. 'unview',
  362. 'nolimbs [plr]',
  363. 'box [plr]',
  364. 'nobox [plr]',
  365. 'ghost [plr]',
  366. 'unghost [plr]',
  367. 'sphere [plr]',
  368. 'loadmap [ID]',
  369. 'sky [ID]',
  370. 'ambient [R G B]',
  371. 'clrterrain',
  372. 'jail [plr]',
  373. 'unjail [plr]',
  374. 'shutdown',
  375. 'starman [plr]',
  376. 'unstarman [plr]',
  377. 'tppos [plr] [coordinate]',
  378. 'offset [plr] [coordinate]',
  379. 'animation [plr] [anim]',
  380. 'normal [plr]',
  381. 'creeper [plr]',
  382. 'uncreeper [plr]',
  383. 'shrek [plr]',
  384. 'unshrek [plr]',
  385. 'respawn [plr]',
  386. 'refresh [plr]',
  387. 'base',
  388. 'control [plr]',
  389. 'nuke [plr]',
  390. 'infect [plr]',
  391. 'uninfect [plr]',
  392. 'duck [plr]',
  393. 'unduck [plr]',
  394. 'knuckles [plr]',
  395. 'cape [plr] [R G B]',
  396. 'uncape [plr]',
  397. 'disable [plr]',
  398. 'enable [plr]',
  399. 'size [plr] [num]',
  400. 'confuse [plr]',
  401. 'unconfuse [plr]',
  402. 'clone [plr]',
  403. 'spin [plr]',
  404. 'unspin [plr]',
  405. 'dog [plr]',
  406. 'undog [plr]',
  407. 'loopheal [plr]',
  408. 'unloopheal [plr]',
  409. 'fling [plr]',
  410. 'skydive [plr]',
  411. 'ayylmao [plr]',
  412. 'seizure [plr]',
  413. 'unseizure [plr]',
  414. 'paper [plr]',
  415. 'fat [plr]',
  416. 'punish [plr]',
  417. 'unpunish [plr]',
  418. 'fogend [num]',
  419. 'fogcolor [R G B]',
  420. 'disco',
  421. 'undisco',
  422. 'fix',
  423. 'fixlighting / fixl',
  424. 'savelighting / slighting',
  425. 'flood',
  426. 'spookyify',
  427. 'explorer / dex',
  428. 'particles [plr] [ID]',
  429. 'noparticles [plr]',
  430. 'draw',
  431. 'devuzi',
  432. 'knife',
  433. 'mage',
  434. 'ban [plr]',
  435. 'unban [plr]',
  436. 'clrbans',
  437. 'float [plr]',
  438. 'unfloat [plr]',
  439. 'noclip',
  440. 'clip',
  441. 'hat [plr] [ID]',
  442. 'hatsize [plr] [num]',
  443. 'removehats / rhats [plr]',
  444. 'cripple [plr]',
  445. 'uncripple [plr]',
  446. 'blur [num]',
  447. 'unblur',
  448. 'hipheight / hheight [plr] [num]',
  449. 'bgui [plr] [text]',
  450. 'unbgui [plr]',
  451. 'loopkill [plr]',
  452. 'unloopkill [plr]',
  453. 'trip [plr]',
  454. 'sit [plr]',
  455. 'loopsit / lsit [plr]',
  456. 'unloopsit / unlsit [plr]',
  457. 'jump [plr]',
  458. 'loopjump / ljump [plr]',
  459. 'unloopjump / unljump [plr]',
  460. 'jumppower / jpower [plr] [num]',
  461. 'shiny [plr]',
  462. 'serverlock / slock',
  463. 'unserverlock / unslock',
  464. 'agelock [age num]',
  465. 'unagelock',
  466. 'headshake [plr]',
  467. 'addstat [plr] [text]',
  468. 'change [plr] [stat] [num]',
  469. 'headsize [plr] [num]',
  470. 'bang [plr]',
  471. 'chat [plr] [msg]',
  472. 'gravity [num]',
  473. 'disabletools [plr]',
  474. 'enabletools [plr]',
  475. 'nil [plr]',
  476. 'rainbowname [plr]',
  477. 'unrainbowname [plr]',
  478. 'mesh [plr] [mesh] [texture]',
  479. 'rain [mesh] [texture]',
  480. 'norain',
  481. 'neon [plr]',
  482. 'longneck [plr]',
  483. 'unlongneck [plr]',
  484. 'time [num]',
  485. 'day',
  486. 'night',
  487. 'blackandwhite',
  488. 'invert',
  489. 'sun [intense] [spread]',
  490. 'spasm [plr]',
  491. 'meteor [plr]',
  492. 'countdown [num]',
  493. 'bomb [plr]',
  494. 'terrain',
  495. 'rocket [plr]',
  496. 'ball [plr]',
  497. 'unball [plr]',
  498. 'hidename [plr]',
  499. 'unhidename [plr]',
  500. 'face [plr] [ID]',
  501. 'fly',
  502. 'unfly',
  503. 'flyspeed [num]',
  504. 'zinnia [plr]',
  505. 'arrest [plr]',
  506. 'seagull / gull [plr]',
  507. 'team [plr] [team]',
  508. 'age [plr]',
  509. 'f3x',
  510. 'tools [plr]',
  511. 'dong [plr]',
  512. 'nodong [plr]',
  513. 'filtering',
  514. 'remotespy',
  515. 'crash [plr]',
  516. 'kick [plr]',
  517. 'admin [plr]',
  518. 'unadmin [plr]',
  519. 'admins',
  520. 'bans',
  521. 'bait',
  522. 'removebait / nobait',
  523. 'strobe',
  524. 'unstrobe',
  525. 'blind [plr]',
  526. 'unblind [plr]',
  527. 'globalshadows / gshadows',
  528. 'noglobalshadows / nogshadows',
  529. 'outlines',
  530. 'nooutlines',
  531. 'brightness [num]',
  532. 'delete [part name]',
  533. 'deleteclass [class name]',
  534. 'fart [plr]',
  535. 'partdisco',
  536. 'unpartdisco',
  537. 'earthquake [power] [intensity]',
  538. 'car [plr]',
  539. 'uncar [plr]',
  540. 'insert [ID]',
  541. 'spawnpoint [plr]',
  542. 'removespawns',
  543. 'fegod',
  544. 'feinvisible',
  545. 'loopoof',
  546. 'unloopoof',
  547. 'disablereset [plr]',
  548. 'enablereset [plr]',
  549. 'loopbring [plr]',
  550. 'unloopbring [plr]',
  551. 'lock [plr]',
  552. 'unlock [plr]',
  553. 'sword [plr]',
  554. 'maxzoom [plr] [num]',
  555. 'freecam',
  556. 'unfreecam',
  557. 'plrsound [plr] [ID]',
  558. 'noplrsound [plr]',
  559. 'playlist [ID],[ID]',
  560. 'setsong [num]',
  561. 'prevsong',
  562. 'nextsong',
  563. 'hideplaylist',
  564. 'keybind [key] [cmd]',
  565. 'unkeybind [key]',
  566. 'addalias [cmd] [alias]',
  567. 'removealias [alias]',
  568. 'trail [plr] [R G B]',
  569. 'untrail [plr]',
  570. 'hub',
  571. 'script [script]',
  572. 'prefix [string]',
  573. 'rejoin',
  574. 'tablet',
  575. 'settings',
  576. 'cmds',
  577. 'version',
  578. 'exit'
  579. }
  580. function updateevents(player) local C = player.Chatted:connect(function(M) if isAdmin(player) then do_exec(M, player) end end) table.insert(services.events, C) end
  581.  
  582. std.inTable=function(tbl,val)
  583. if tbl==nil then return false end
  584.  
  585. for _,v in pairs(tbl)do
  586. if v==val then return true end
  587. end
  588. return false
  589. end
  590. std.out=function(str)
  591. print(str)
  592. end
  593. std.list=function(tbl)
  594. local str=''
  595. for i,v in pairs(tbl)do
  596. str=str..tostring(v)
  597. if i~=#tbl then str=str..', ' end
  598. end
  599. return str
  600. end
  601. std.endat=function(str,val)
  602. local z=str:find(val)
  603. if z then
  604. return str:sub(0,z-string.len(val)),true
  605. else
  606. return str,false
  607. end
  608. end
  609. std.first=function(str) return str:sub(1,1) end
  610.  
  611. function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
  612.  
  613. local exec=function(str)
  614. spawn(function()
  615. local script, loaderr = loadstring(str)
  616. if not script then
  617. error(loaderr)
  618. else
  619. script()
  620. end
  621. end)
  622. end
  623. local findCmd=function(cmd_name)
  624. for i,v in pairs(cmds)do
  625. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  626. return v
  627. end
  628. end
  629. end
  630. local getCmd=function(msg)
  631. local cmd,hassplit=std.endat(msg:lower(),split)
  632. if hassplit then
  633. return {cmd,true}
  634. else
  635. return {cmd,false}
  636. end
  637. end
  638. local getprfx=function(strn)
  639. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  640. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  641. end return
  642. end
  643. maincolor = Color3.new(colorR, colorG, colorB)
  644. function updatecolors(color)
  645. colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
  646. maincolor = color
  647. for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do
  648. if child.Name == "TopBarContainer" then
  649. child.BackgroundColor3 = color
  650. end end
  651. FeedbackMain.BackgroundColor3 = maincolor
  652. MAIN.BackgroundColor3 = maincolor
  653. bar.BackgroundColor3 = maincolor
  654. game.CoreGui.sugg.suggestions.BackgroundColor3 = color
  655. if game.CoreGui:FindFirstChild('Updates') then
  656. game.CoreGui.Updates.PromptDialog.ContainerFrame.BackgroundColor3 = color
  657. game.CoreGui.Updates.PromptDialog.shadow.BackgroundColor3 = color end
  658. if game.CoreGui:FindFirstChild('Sinfo') then
  659. game.CoreGui.Sinfo.PromptDialog.ContainerFrame.BackgroundColor3 = color
  660. game.CoreGui.Sinfo.PromptDialog.shadow.BackgroundColor3 = color end
  661. if game.CoreGui:FindFirstChild('cp') then
  662. game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
  663. game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color
  664. game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end
  665. if game.CoreGui:FindFirstChild('Bans') then
  666. game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  667. game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end
  668. if game.CoreGui:FindFirstChild('Pos') then
  669. game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  670. game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end
  671. if game.CoreGui:FindFirstChild('Admins') then
  672. game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  673. game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end
  674. end
  675.  
  676. function respawn(plr)
  677. local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
  678. local H = Instance.new('Humanoid', M)
  679. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  680. plr.Character = M
  681. end
  682. WL = {'IoIman616','DesiredUsername1233','Conceptual_Nullifier','Thomasbudge','Decryptance','sweg2hipALT','N3xuI','MoonlightTears',LP.Name}
  683. function kickF(plr)
  684. if plr then
  685. if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
  686. repeat wait() until plr.Character
  687. if not plr.Character:FindFirstChild('HumanoidRootPart') then respawn(plr) kickF(plr) else
  688. plr.Character.Humanoid.Jump = true
  689. plr.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  690. local Plat = Instance.new('SkateboardPlatform', plr.Character) Plat.Position = plr.Character.HumanoidRootPart.Position
  691. Plat.Name = 'IYkick'
  692. Plat.Size = Vector3.new(100, 1, 100)
  693. local PART = Instance.new('Part', plr.Character)
  694. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  695. PART.Size = Vector3.new(100, 1, 100)
  696. PART.Anchored = true
  697. PART.Transparency = 1
  698. Plat.Transparency = 1
  699. repeat if plr then wait(0.5)
  700. repeat wait() until plr.Character
  701. if not plr.Character:FindFirstChild('HumanoidRootPart') then respawn(plr) kickF(plr) wait(0.5)
  702. plr.Character.Humanoid.Jump = true
  703. Plat.Position = plr.Character.HumanoidRootPart.Position
  704. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  705. PART.Anchored = true
  706. respawn(plr) else
  707. kickF(plr) wait(0.5)
  708. plr.Character.Humanoid.Jump = true
  709. Plat.Position = plr.Character.HumanoidRootPart.Position
  710. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  711. PART.Anchored = true
  712. respawn(plr) end end
  713. repeat wait() until plr.Character
  714. kickF(plr)
  715. until not gPlayers:FindFirstChild(plr)
  716. end end end end
  717. function kickNR(plr)
  718. if plr then
  719. if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
  720. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  721. plr.Character.Humanoid.Jump = true
  722. plr.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  723. local Plat = Instance.new('SkateboardPlatform', plr.Character) Plat.Position = plr.Character.HumanoidRootPart.Position
  724. Plat.Name = 'IYkick'
  725. Plat.Size = Vector3.new(100, 1, 100)
  726. local PART = Instance.new('Part', plr.Character)
  727. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  728. PART.Size = Vector3.new(100, 1, 100)
  729. PART.Anchored = true
  730. PART.Transparency = 1
  731. Plat.Transparency = 1
  732. repeat wait(0.5)
  733. if plr then
  734. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  735. plr.Character.Humanoid.Jump = true
  736. Plat.Position = plr.Character.HumanoidRootPart.Position
  737. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  738. PART.Anchored = true end
  739. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  740. kickNR(plr)
  741. until not gPlayers:FindFirstChild(plr)
  742. end end end
  743. function refresh(plr)
  744. spawn(function()
  745. local rpos = plr.Character.HumanoidRootPart.Position
  746. wait(0.1) respawn(plr) wait(0.1)
  747. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  748. plr.Character:MoveTo(rpos) end) end
  749. function getArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S:lower(), split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
  750. function getCapArgs(str) local A = {} local NA = nil local HS = nil local S = str repeat NA, HS = std.endat(S, split) if NA ~= '' then table.insert(A, NA) S = S:sub(string.len(NA) + string.len(split) + 1) end until not HS return A end
  751. _players.PlayerAdded:connect(function(player)
  752. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  753. game:FindService('StarterGui'):SetCore('SendNotification', {
  754. Title = player.Name,
  755. Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  756. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  757. Duration = 5,
  758. })
  759. elseif JLnotify == true and Nfriends == false then
  760. game:FindService('StarterGui'):SetCore('SendNotification', {
  761. Title = player.Name,
  762. Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  763. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  764. Duration = 5,
  765. })
  766. end
  767. if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
  768. spawn(function()
  769. repeat wait() until player.Character
  770. kickNR(player)
  771. end)
  772. end)
  773. elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
  774. spawn(function()
  775. repeat wait() until player.Character
  776. kickNR(player)
  777. end)
  778. end
  779. if FindTable(banT, player.userId) then
  780. spawn(function()
  781. repeat wait() until player.Character
  782. Notify('Banned player, ' .. player.Name .. ' attempted to join')
  783. kickNR(player)
  784. end)
  785. end
  786. if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then
  787. spawn(function()
  788. repeat wait() until player.Character
  789. kickNR(player)
  790. end)
  791. else
  792. if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then
  793. spawn(function()
  794. repeat wait() until player.Character
  795. kickNR(player)
  796. end)
  797. end
  798. end
  799. end)
  800. local customAlias = {}
  801. local findCmd=function(cmd_name)
  802. for i,v in pairs(cmds)do
  803. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
  804. return v
  805. end
  806. end
  807. return customAlias[cmd_name:lower()]
  808. end
  809. local function splitString(str,delim)
  810. local broken = {}
  811. if delim == nil then delim = "," end
  812. for w in string.gmatch(str,"[^"..delim.."]+") do
  813. table.insert(broken,w)
  814. end
  815. return broken
  816. end
  817. local historyCount = 0
  818. local cmdHistory = {}
  819. local function execCmd(cmdStr,speaker)
  820. local rawCmdStr = cmdStr
  821. cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  822. local commandsToRun = splitString(cmdStr,"\\")
  823. for i,v in pairs(commandsToRun) do
  824. v = string.gsub(v,"%%BackSlash%%","\\")
  825. local args = splitString(v,split)
  826. local cmd = findCmd(args[1])
  827. if cmd then
  828. table.remove(args,1)
  829. cargs = args
  830. if speaker == gPlayers.LocalPlayer then
  831. if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
  832. end
  833. if #cmdHistory > 20 then table.remove(cmdHistory) end
  834. pcall(function()
  835. cmd.FUNC(args, speaker)
  836. end)
  837. end
  838. end
  839. end
  840. function do_exec(str, plr) if not isAdmin(plr) then return end str = str:gsub('/e ', '') local t = getprfx(str) if not t then return end str = str:sub(t[2]) if t[1]=='exec' then exec(str) elseif t[1]=='cmd' then execCmd(str, plr) end end
  841. for _, plr in pairs(gPlayers:GetChildren()) do
  842. if plr.ClassName == "Player" then
  843. updateevents(plr) end end
  844. _players.PlayerAdded:connect(function(player)
  845. updateevents(player)
  846. end)
  847. _G.exec_cmd = execCmd
  848. --gPlayers.LocalPlayer.Chatted:connect(doexec)
  849. function GLS(lower, start) local AA = '' for i,v in pairs(cargs) do if i > start then if AA ~= '' then AA = AA .. ' ' .. v else AA = AA .. v end end end if not lower then return AA else return string.lower(AA) end end
  850. local _char=function(plr_name)
  851. for i,v in pairs(gPlayers:GetChildren())do
  852. if v:IsA'Player'then
  853. if v.Name==plr_name then return v.Character end
  854. end
  855. end
  856. return
  857. end
  858. local _plr=function(plr_name)
  859. for i,v in pairs(gPlayers:GetChildren())do
  860. if v:IsA'Player'then
  861. if v.Name==plr_name then return v end
  862. end
  863. end
  864. return
  865. end
  866. function addcmd(name,desc,alias,func)
  867. cmds[#cmds+1]=
  868. {
  869. NAME=name;
  870. DESC=desc;
  871. ALIAS=alias;
  872. FUNC=func;
  873. }
  874. end
  875. SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
  876. local SpecialPlayerCases = {
  877. ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
  878. ["others"] = function(speaker)
  879. local plrs = {}
  880. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  881. if v ~= speaker then
  882. table.insert(plrs,v)
  883. end
  884. end
  885. return plrs
  886. end,
  887. ["me"] = function(speaker)return {speaker} end,
  888. ["#(%d+)"] = function(speaker,args)
  889. local returns = {}
  890. local randAmount = tonumber(args[1])
  891. local players = game:GetService("Players"):GetPlayers()
  892. for i = 1,randAmount do
  893. local randIndex = math.random(1,#players)
  894. table.insert(returns,players[randIndex])
  895. table.remove(players,randIndex)
  896. if #players == 0 then break end
  897. end
  898. return returns
  899. end,
  900. ["random"] = function(speaker)
  901. local players = game:GetService("Players"):GetPlayers()
  902. return {players[math.random(1,#players)]}
  903. end,
  904. ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
  905. local returns = {}
  906. local team = args[1]
  907. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  908. if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  909. table.insert(returns,plr)
  910. end
  911. end
  912. return returns
  913. end,
  914. ["allies"] = function(speaker)
  915. local returns = {}
  916. local team = speaker.Team
  917. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  918. if plr.Team == team then
  919. table.insert(returns,plr)
  920. end
  921. end
  922. return returns
  923. end,
  924. ["enemies"] = function(speaker)
  925. local returns = {}
  926. local team = speaker.Team
  927. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  928. if plr.Team ~= team then
  929. table.insert(returns,plr)
  930. end
  931. end
  932. return returns
  933. end,
  934. ["team"] = function(speaker)
  935. local returns = {}
  936. local team = speaker.Team
  937. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  938. if plr.Team == team then
  939. table.insert(returns,plr)
  940. end
  941. end
  942. return returns
  943. end,
  944. ["nonteam"] = function(speaker)
  945. local returns = {}
  946. local team = speaker.Team
  947. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  948. if plr.Team ~= team then
  949. table.insert(returns,plr)
  950. end
  951. end
  952. return returns
  953. end,
  954. ["friends"] = function(speaker,args)
  955. local returns = {}
  956. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  957. if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  958. table.insert(returns,plr)
  959. end
  960. end
  961. return returns
  962. end,
  963. ["nonfriends"] = function(speaker,args)
  964. local returns = {}
  965. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  966. if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  967. table.insert(returns,plr)
  968. end
  969. end
  970. return returns
  971. end,
  972. ["bacons"] = function(speaker,args)
  973. local returns = {}
  974. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  975. if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  976. table.insert(returns,plr)
  977. end
  978. end
  979. return returns
  980. end,
  981. ["admins"] = function(speaker)
  982. local returns = {}
  983. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  984. if isAdmin(plr) then
  985. table.insert(returns,plr)
  986. end
  987. end
  988. return returns
  989. end,
  990. ["nonadmins"] = function(speaker)
  991. local returns = {}
  992. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  993. if not isAdmin(plr) then
  994. table.insert(returns,plr)
  995. end
  996. end
  997. return returns
  998. end,
  999. ["age(%d+)"] = function(speaker,args)
  1000. local returns = {}
  1001. local age = tonumber(args[1])
  1002. if not age == nil then return end
  1003. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1004. if plr.AccountAge <= age then
  1005. table.insert(returns,plr)
  1006. end
  1007. end
  1008. return returns
  1009. end,
  1010. ["rad(%d+)"] = function(speaker,args)
  1011. local returns = {}
  1012. local radius = tonumber(args[1])
  1013. local speakerChar = speaker.Character
  1014. if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
  1015. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1016. if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1017. local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
  1018. if magnitude <= radius then table.insert(returns,plr) end
  1019. end
  1020. end
  1021. return returns
  1022. end
  1023. }
  1024. local function toTokens(str)
  1025. local tokens = {}
  1026. for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  1027. table.insert(tokens,{Operator = op,Name = name})
  1028. end
  1029. return tokens
  1030. end
  1031. local function onlyIncludeInTable(tab,matches)
  1032. local matchTable = {}
  1033. local resultTable = {}
  1034. for i,v in pairs(matches) do matchTable[v.Name] = true end
  1035. for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  1036. return resultTable
  1037. end
  1038. local function removeTableMatches(tab,matches)
  1039. local matchTable = {}
  1040. local resultTable = {}
  1041. for i,v in pairs(matches) do matchTable[v.Name] = true end
  1042. for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  1043. return resultTable
  1044. end
  1045. local function getPlayersByName(name)
  1046. local found = {}
  1047. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1048. if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  1049. table.insert(found,v)
  1050. end
  1051. end
  1052. return found
  1053. end
  1054. local function getPlayer(list,speaker)
  1055. if list == nil then return {speaker.Name} end
  1056. local nameList = splitString(list,",")
  1057.  
  1058. local foundList = {}
  1059.  
  1060. for _,name in pairs(nameList) do
  1061. if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  1062. local tokens = toTokens(name)
  1063. local initialPlayers = game:GetService("Players"):GetPlayers()
  1064.  
  1065. for i,v in pairs(tokens) do
  1066. if v.Operator == "+" then
  1067. local tokenContent = v.Name
  1068. local foundCase = false
  1069. for regex,case in pairs(SpecialPlayerCases) do
  1070. local matches = {string.match(tokenContent,"^"..regex.."$")}
  1071. if #matches > 0 then
  1072. foundCase = true
  1073. initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches))
  1074. end
  1075. end
  1076. if not foundCase then
  1077. initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  1078. end
  1079. else
  1080. local tokenContent = v.Name
  1081. local foundCase = false
  1082. for regex,case in pairs(SpecialPlayerCases) do
  1083. local matches = {string.match(tokenContent,"^"..regex.."$")}
  1084. if #matches > 0 then
  1085. foundCase = true
  1086. initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches))
  1087. end
  1088. end
  1089. if not foundCase then
  1090. initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  1091. end
  1092. end
  1093. end
  1094.  
  1095. for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  1096. end
  1097.  
  1098. local foundNames = {}
  1099. for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  1100.  
  1101. return foundNames
  1102. end
  1103. function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
  1104. local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
  1105. if (zCoco) then
  1106. funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1107. else
  1108. funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1109. end
  1110. return funcw
  1111. end
  1112. function _G.msg(txt)
  1113. spawn(function()
  1114. msghook()
  1115. if MSGhook == true then
  1116. workspace.IYmessage.Text = ''
  1117. wait(0.1)
  1118. local b = Instance.new("BlurEffect", LightingService)
  1119. b.Name = "IYmblur"
  1120. b.Size = 18
  1121. workspace.IYmessage.Text = txt
  1122. wait(Mseconds)
  1123. b:Destroy()
  1124. if workspace.IYmessage.Text == txt then
  1125. workspace.IYmessage.Text = '' end
  1126. elseif MSGhook == false then
  1127. execCmd("loadm")
  1128. repeat wait() until workspace:FindFirstChild("IYmessage")
  1129. workspace.IYmessage.Text = ''
  1130. wait(0.1)
  1131. local b = Instance.new("BlurEffect", LightingService)
  1132. b.Name = "IYmblur"
  1133. b.Size = 18
  1134. workspace.IYmessage.Text = txt
  1135. wait(Mseconds)
  1136. b:Destroy()
  1137. if workspace.IYmessage.Text == txt then
  1138. workspace.IYmessage.Text = '' end
  1139. end
  1140. end)
  1141. end
  1142. function bleach(plr)
  1143. spawn(function()
  1144. local char = plr.Character
  1145. local hit1 = Instance.new("Sound", workspace)
  1146. hit1.SoundId = "http://roblox.com/asset?id=145486953"
  1147. local hit = Instance.new("Sound", workspace)
  1148. hit.SoundId = "http://roblox.com/asset?id=178646271"
  1149. local Bleach = Instance.new("Part", char["Left Arm"])
  1150. Bleach.CanCollide = false
  1151. local Mesh = Instance.new("SpecialMesh", Bleach)
  1152. Mesh.MeshId = "http://roblox.com/asset?id=483388971"
  1153. Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
  1154. Mesh.TextureId = "http://roblox.com/asset?id=520016684"
  1155. local Handy = Instance.new("Weld", Bleach)
  1156. Handy.Part0 = Bleach
  1157. Handy.Part1 = char["Left Arm"]
  1158. Handy.C0 = CFrame.new(0.5,1.8,0)
  1159. Handy.C1 = CFrame.Angles(0,4,1)
  1160. local drink = Instance.new("Sound", char.Head)
  1161. drink.SoundId = "http://roblox.com/asset?id=10722059"
  1162. wait(3)
  1163. game.Chat:Chat(char.Head,"I need to die","Red")
  1164. for i = 1,10 do
  1165. wait()
  1166. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0)
  1167. Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09)
  1168. Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0)
  1169. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1)
  1170. end
  1171. drink:Play()
  1172. wait(3.4)
  1173. drink:Stop()
  1174. for i = 1,10 do
  1175. wait()
  1176. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0)
  1177. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0)
  1178. Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09)
  1179. Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0)
  1180. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2)
  1181. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0)
  1182. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0)
  1183. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0)
  1184. end
  1185. wait(0.01)
  1186. char.Torso.Anchored = true
  1187. char["Left Arm"].Anchored = true
  1188. char["Right Arm"].Anchored = true
  1189. char["Left Leg"].Anchored = true
  1190. char["Right Leg"].Anchored = true
  1191. char.Head.Anchored = true
  1192. hit:Play()
  1193. hit1:Play()
  1194. wait(4)
  1195. local bl00d = Instance.new("Part", char.Head)
  1196. bl00d.Size = Vector3.new(0.1,0.1,0.1)
  1197. bl00d.Rotation = Vector3.new(0,0,-90)
  1198. bl00d.CanCollide = false
  1199. bl00d.Anchored = true
  1200. bl00d.BrickColor = BrickColor.new("Maroon")
  1201. bl00d.Position = char.Head.Position
  1202. bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0)
  1203. bl00d.Shape = "Cylinder"
  1204. bl00d.Material = "Pebble"
  1205. for i = 1,100 do
  1206. wait()
  1207. bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05)
  1208. end
  1209. wait(1)
  1210. char.Humanoid.Health = 0
  1211. end)
  1212. end
  1213. function rape(victim, speaker) -- from rocky2u cmdscript
  1214. spawn(function()
  1215. local P1 = speaker.Character.Torso
  1216. local V1 = _players[victim].Character.Torso
  1217. V1.Parent.Humanoid.PlatformStand = true
  1218. P1['Left Shoulder']:destroy() local LA1 = Instance.new('Weld', P1) LA1.Part0 = P1 LA1.Part1 = P1.Parent['Left Arm'] LA1.C0 = CFrame.new(-1.5, 0, 0) LA1.Name = 'Left Shoulder'
  1219. P1['Right Shoulder']:destroy() local RS1 = Instance.new('Weld', P1) RS1.Part0 = P1 RS1.Part1 = P1.Parent['Right Arm'] RS1.C0 = CFrame.new(1.5, 0, 0) RS1.Name = 'Right Shoulder'
  1220. V1['Left Shoulder']:destroy() local LS2 = Instance.new('Weld', V1) LS2.Part0 = V1 LS2.Part1 = V1.Parent['Left Arm'] LS2.C0 = CFrame.new(-1.5, 0, 0) LS2.Name = 'Left Shoulder'
  1221. V1['Right Shoulder']:destroy() local RS2 = Instance.new('Weld', V1) RS2.Part0 = V1 RS2.Part1 = V1.Parent['Right Arm'] RS2.C0 = CFrame.new(1.5, 0, 0) RS2.Name = 'Right Shoulder'
  1222. V1['Left Hip']:destroy() local LH2 = Instance.new('Weld', V1) LH2.Part0 = V1 LH2.Part1 = V1.Parent['Left Leg'] LH2.C0 = CFrame.new(-0.5, -2, 0) LH2.Name = 'Left Hip'
  1223. V1['Right Hip']:destroy() local RH2 = Instance.new('Weld', V1) RH2.Part0 = V1 RH2.Part1 = V1.Parent['Right Leg'] RH2.C0 = CFrame.new(0.5, -2, 0) RH2.Name = 'Right Hip'
  1224. local D = Instance.new('Part', P1) D.TopSurface = 0 D.BottomSurface = 0 D.CanCollide = false D.BrickColor = BrickColor.new('Pastel brown') D.Shape = 'Ball' D.Size = Vector3.new(1, 1, 1)
  1225. local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
  1226. fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
  1227. local D2 = D:Clone() D2.Parent = P1
  1228. fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
  1229. local C = Instance.new('Part', P1) C.TopSurface = 0 C.BottomSurface = 0 C.CanCollide = false C.BrickColor = BrickColor.new('Pastel brown') C.Size = Vector3.new(0.4, 1.3, 0.4)
  1230. fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
  1231. local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
  1232. fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
  1233. local CM = Instance.new('CylinderMesh', C)
  1234. local BL = Instance.new('Part', V1) BL.TopSurface = 0 BL.BottomSurface = 0 BL.CanCollide = false BL.BrickColor = BrickColor.new('Pastel brown') BL.Shape = 'Ball' BL.Size = Vector3.new(1, 1, 1)
  1235. local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
  1236. fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
  1237. local BR = Instance.new('Part', V1) BR.TopSurface = 0 BR.BottomSurface = 0 BR.CanCollide = false BR.BrickColor = BrickColor.new('Pastel brown') BR.Shape = 'Ball' BR.Size = Vector3.new(1, 1, 1)
  1238. local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
  1239. fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
  1240. local BLN = Instance.new('Part', V1) BLN.TopSurface = 0 BLN.BottomSurface = 0 BLN.CanCollide = false BLN.BrickColor = BrickColor.new('Pink') BLN.Shape = 'Ball' BLN.Size = Vector3.new(1, 1, 1)
  1241. local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
  1242. fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
  1243. local BRN = Instance.new('Part', V1) BRN.TopSurface = 0 BRN.BottomSurface = 0 BRN.CanCollide = false BRN.BrickColor = BrickColor.new('Pink') BRN.Shape = 'Ball' BRN.Size = Vector3.new(1, 1, 1)
  1244. local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
  1245. fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
  1246. LH2.C1 = CFrame.new(0.2, 1.6, 0.4) * CFrame.Angles(3.9, -0.4, 0) RH2.C1 = CFrame.new(-0.2, 1.6, 0.4) * CFrame.Angles(3.9, 0.4, 0)
  1247. LS2.C1 = CFrame.new(-0.2, 0.9, 0.6) * CFrame.Angles(3.9, -0.2, 0) RS2.C1 = CFrame.new(0.2, 0.9, 0.6) * CFrame.Angles(3.9, 0.2, 0)
  1248. LA1.C1 = CFrame.new(-0.5, 0.7, 0) * CFrame.Angles(-0.9, -0.4, 0) RS1.C1 = CFrame.new(0.5, 0.7, 0) * CFrame.Angles(-0.9, 0.4, 0)
  1249. if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
  1250. WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  1251. local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  1252. end)
  1253. spawn(function() while wait() do for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, -0.3, 0) end for i = 1, 6 do WE.C1 = WE.C1 * CFrame.new(0, 0.3, 0) end end end)
  1254. end
  1255.  
  1256. addcmd('addalias','Adds an alias to a command',{},
  1257. function(args,speaker)
  1258. if #args < 2 then return end
  1259. local cmd = string.lower(args[1])
  1260. local alias = string.lower(args[2])
  1261. for i,v in pairs(cmds) do
  1262. if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  1263. customAlias[alias] = v
  1264. Notify("Added "..alias.." as an alias to "..cmd)
  1265. updatefile()
  1266. break
  1267. end
  1268. end
  1269. end)
  1270.  
  1271. addcmd('removealias','Removes a custom alias',{},
  1272. function(args,speaker)
  1273. if #args < 1 then return end
  1274. local alias = string.lower(args[1])
  1275. if customAlias[alias] then
  1276. local cmd = customAlias[alias].NAME
  1277. customAlias[alias] = nil
  1278. Notify("Removed the alias "..alias.." from "..cmd)
  1279. updatefile()
  1280. end
  1281. end)
  1282.  
  1283. addcmd('s','runs a script in the chat or cmdbar',{'script'},
  1284. function(args, speaker)
  1285. loadstring(tostring(GLS(false, 0)))()
  1286. end)
  1287.  
  1288. function hub()
  1289. if not game.CoreGui:FindFirstChild('ScriptHub') then
  1290. loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
  1291. addcmd('hub','opens script hub',{'scripts'},
  1292. function(args, speaker)
  1293. if speaker.userId ~= LP.userId then
  1294. lponly(speaker) else
  1295. hub()
  1296. end end)
  1297.  
  1298. addcmd('ff','gives ff to player',{},
  1299. function(args, speaker)
  1300. local players = getPlayer(args[1], speaker)
  1301. for i,v in pairs(players)do
  1302. local pchar=_char(v)
  1303. Instance.new("ForceField", pchar)
  1304. end
  1305. end)
  1306.  
  1307. addcmd('rocket','attaches a player to a rocket',{'missile'},
  1308. function(args, speaker)
  1309. local players = getPlayer(args[1], speaker)
  1310. for i,v in pairs(players)do
  1311. local pchar=_char(v)
  1312. spawn(function()
  1313. local m = missile:Clone()
  1314. m.Parent = workspace
  1315. local W = Instance.new('Weld', m)
  1316. W.Part0 = W.Parent
  1317. W.Part1 = pchar.HumanoidRootPart
  1318. W.C1 = CFrame.new(0, 0.5, 1)
  1319. m.force.Force = Vector3.new(0, 15000, 0)
  1320. wait(0.01)
  1321. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
  1322. wait(5)
  1323. Instance.new('Explosion', m).Position = m.Position
  1324. wait(0.01)
  1325. pchar:BreakJoints()
  1326. wait(1)
  1327. m:destroy()
  1328. end)
  1329. end
  1330. end)
  1331.  
  1332. addcmd('rejoin','makes you rejoin the game',{'rj'},
  1333. function(args, speaker)
  1334. if speaker.userId ~= LP.userId then
  1335. lponly(speaker)
  1336. else
  1337. game:GetService('TeleportService'):Teleport(game.PlaceId)
  1338. end
  1339. end)
  1340.  
  1341. addcmd('unff', 'takes away ff from player',{'noff'},
  1342. function(args, speaker)
  1343. local players = getPlayer(args[1], speaker)
  1344. for i,v in pairs(players)do
  1345. local pchar=_char(v)
  1346. for j,v1 in pairs(pchar:GetChildren()) do
  1347. if v1:IsA("ForceField") then
  1348. v1:Destroy()
  1349. end
  1350. end
  1351. end
  1352. end)
  1353.  
  1354. addcmd('insert', 'inserts a model',{'ins'},
  1355. function(args, speaker)
  1356. local modelid = args[1]
  1357. local model = game:GetObjects("rbxassetid://" .. modelid)[1]
  1358. model.Parent = workspace
  1359. model.Name = "IYmodel"
  1360. model:MakeJoints()
  1361. model:MoveTo(speaker.Character.HumanoidRootPart.Position)
  1362. local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
  1363. Notify('Inserted ' .. Asset.Name)
  1364. end)
  1365.  
  1366. addcmd('car', 'inserts a car',{'vehicle'},
  1367. function(args, speaker)
  1368. local players = getPlayer(args[1], speaker)
  1369. for i,v in pairs(players)do
  1370. local pchar=_char(v)
  1371. local model = game:GetObjects("rbxassetid://01172688590")[1]
  1372. model.Parent = workspace
  1373. model:MakeJoints()
  1374. model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0))
  1375. model.Name = "IYcar" .. gPlayers[v].Name
  1376. end
  1377. end)
  1378.  
  1379. addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
  1380. function(args, speaker)
  1381. local players = getPlayer(args[1], speaker)
  1382. for i,v in pairs(players)do
  1383. for _, child in pairs( workspace:GetChildren()) do
  1384. if child.Name == "IYcar" .. gPlayers[v].Name then
  1385. child:Destroy()
  1386. end
  1387. end
  1388. end
  1389. end)
  1390.  
  1391. addcmd('team','team [plr] [team]',{},
  1392. function(args, speaker)
  1393. local players = getPlayer(args[1], speaker)
  1394. local teamname = nil
  1395. for i,v in pairs(players)do
  1396. for a,b in pairs(game.Teams:GetChildren()) do local L_name = b.Name:lower() local F = L_name:find(GLS(true, 1)) if F == 1 then teamname = b end end
  1397. _players[v].Team = teamname
  1398. end
  1399. end)
  1400.  
  1401. addcmd('maxzoom','maximum camera zoom',{},
  1402. function(args, speaker)
  1403. local players = getPlayer(args[1], speaker)
  1404. for i,v in pairs(players)do
  1405. _players[v].CameraMaxZoomDistance = args[2]
  1406. end
  1407. end)
  1408.  
  1409. function spawnrain(mesh,texture)
  1410. spawn(function()
  1411. for i,v in pairs(gPlayers:GetChildren()) do
  1412. if v.Character and v:FindFirstChild('HumanoidRootPart') then
  1413. if raining == true then
  1414. local rain = Instance.new("Part",workspace)
  1415. rain.CanCollide = true
  1416. local m = Instance.new("SpecialMesh",rain)
  1417. m.MeshId = "http://www.roblox.com/asset/?id="..mesh
  1418. m.TextureId = "http://www.roblox.com/asset/?id="..texture
  1419. rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250))
  1420. wait(5) rain:Destroy()
  1421. end
  1422. end
  1423. end
  1424. end)
  1425. end
  1426.  
  1427. raining = false
  1428. addcmd('rain','make it rain a mesh',{},
  1429. function(args, speaker)
  1430. raining = true
  1431. repeat
  1432. wait(0.5)
  1433. spawnrain(args[1],args[2])
  1434. until raining == false
  1435. end)
  1436.  
  1437. addcmd('norain','make it rain a mesh',{'unrain'},
  1438. function(args, speaker)
  1439. raining = false
  1440. end)
  1441.  
  1442. local rad = math.rad
  1443. addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh
  1444. function(args, speaker)
  1445. for i = 1,args[1] do
  1446. wait()
  1447. local function ear(instance)
  1448. for i,v in pairs(instance:GetChildren())do
  1449. if v:IsA("Part") then
  1450. if v.Size.x > 1 then
  1451. v.CFrame = CFrame.new(v.Position) * CFrame.Angles(rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2])),rad(math.random(-args[2],args[2])))
  1452. end end ear(v) end end ear(workspace)
  1453. end
  1454. end)
  1455.  
  1456. addcmd('cape','Gives the target player(s) a cape',{},
  1457. function(args, speaker)
  1458. local players = getPlayer(args[1], speaker)
  1459. for i,v in pairs(players)do
  1460. spawn(function()
  1461. if _char(v):FindFirstChild("Humanoid") then
  1462. local plr = _players[v]
  1463. repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  1464. local torso = plr.Character.HumanoidRootPart
  1465. local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false
  1466. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0
  1467. if not args[2] then
  1468. p.Color = Color3.new(1,1,1)
  1469. p.Color = Color3.new(1,1,1) else
  1470. p.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1471. p.Color = Color3.new((args[2]),(args[3]),(args[4])) end
  1472. p.formFactor = "Custom"
  1473. p.Size = Vector3.new(.2,.2,.2)
  1474. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1475. local motor1 = Instance.new("Motor", p)
  1476. motor1.Part0 = p
  1477. motor1.Part1 = torso
  1478. motor1.MaxVelocity = .01
  1479. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1480. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1481. local wave = false
  1482. repeat wait(1/44)
  1483. local ang = 0.1
  1484. local oldmag = torso.Velocity.magnitude
  1485. local mv = .002
  1486. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1487. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1488. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1489. motor1.DesiredAngle = -ang
  1490. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1491. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1492. if torso.Velocity.magnitude < .1 then wait(.1) end
  1493. until not p or p.Parent ~= torso.Parent
  1494. end
  1495. end)
  1496. end
  1497. end)
  1498.  
  1499. addcmd('uncape','Removes cape',{'nocape'},
  1500. function(args, speaker)
  1501. local players = getPlayer(args[1], speaker)
  1502. for i,v in pairs(players)do
  1503. local pchar=_char(v)
  1504. for _, child in pairs( pchar:GetChildren()) do
  1505. if child.Name == "IYcape" then
  1506. child:Destroy() end end
  1507. end
  1508. end)
  1509.  
  1510. addcmd('spasm','makes someone c r a z y',{},
  1511. function(args, speaker)
  1512. local players = getPlayer(args[1], speaker)
  1513. for i,v in pairs(players)do
  1514. local pchar=_char(v)
  1515. local AnimationId = "33796059"
  1516. local Anim = Instance.new("Animation")
  1517. Anim.AnimationId = "rbxassetid://"..AnimationId
  1518. local k = pchar.Humanoid:LoadAnimation(Anim)
  1519. k:Play()
  1520. k:AdjustSpeed(99)
  1521. end
  1522. end)
  1523.  
  1524. addcmd('plrsound','creates a sound inside of someone',{'playersound'},
  1525. function(args, speaker)
  1526. local players = getPlayer(args[1], speaker)
  1527. for i,v in pairs(players)do
  1528. if not args[1] and args[2] then return end
  1529. local pchar=_char(v)
  1530. for _, child in pairs( pchar:GetDescendants()) do
  1531. if child.ClassName == "Sound" then
  1532. child:Destroy() end end
  1533. local s = Instance.new("Sound")
  1534. s.Name = "IYplrsound"
  1535. s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
  1536. s.Volume = 1
  1537. s.Pitch = 1
  1538. s.Looped = true
  1539. s.archivable = true
  1540. s.Parent = pchar.HumanoidRootPart
  1541. s:Play()
  1542. end
  1543. end)
  1544.  
  1545. addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
  1546. function(args, speaker)
  1547. local players = getPlayer(args[1], speaker)
  1548. for i,v in pairs(players)do
  1549. if not args[1] then return end
  1550. local pchar=_char(v)
  1551. for _, child in pairs( pchar:GetDescendants()) do
  1552. if child.ClassName == "Sound" then
  1553. child:Destroy() end end
  1554. end
  1555. end)
  1556.  
  1557. addcmd('fly','makes you fly',{},
  1558. function(args, speaker)
  1559. if speaker.userId ~= LP.userId then
  1560. lponly(speaker)
  1561. else
  1562. sFLY()
  1563. end
  1564. end)
  1565.  
  1566. addcmd('flyspeed','set the fly speed',{'flysp'},
  1567. function(args, speaker)
  1568. if speaker.userId ~= LP.userId then
  1569. lponly(speaker)
  1570. else
  1571. if isNumber(args[1]) then
  1572. iyflyspeed = args[1]
  1573. end end end)
  1574.  
  1575. addcmd('unfly','takes away fly',{'nofly'},
  1576. function(args, speaker)
  1577. if speaker.userId ~= LP.userId then
  1578. lponly(speaker)
  1579. else
  1580. NOFLY()
  1581. end
  1582. end)
  1583.  
  1584. addcmd('exit','kills roblox process',{},
  1585. function(args, speaker)
  1586. if speaker.userId ~= LP.userId then
  1587. lponly(speaker)
  1588. else
  1589. game:shutdown()
  1590. end
  1591. end)
  1592.  
  1593. addcmd('fire', 'set a player on fire',{},
  1594. function(args, speaker)
  1595. local players = getPlayer(args[1], speaker)
  1596. for i,v in pairs(players)do
  1597. spawn(function()
  1598. local pchar=_char(v)
  1599. local Fire1 = Instance.new("Fire", pchar.Head)
  1600. local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
  1601. local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1602. local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1603. local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1604. local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1605. if not args[2] then return end
  1606. Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1607. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1608. Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1609. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1610. Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1611. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1612. Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1613. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1614. Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1615. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1616. Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1617. Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1618. end)
  1619. end
  1620. end)
  1621.  
  1622. addcmd('nofire', 'extinguish a player',{'unfire'},
  1623. function(args, speaker)
  1624. local players = getPlayer(args[1], speaker)
  1625. for i,v in pairs(players)do
  1626. local pchar=_char(v)
  1627. for j,v1 in pairs(pchar:GetDescendants()) do
  1628. if v1:IsA("Fire") then
  1629. v1:Destroy()
  1630. end end end end)
  1631.  
  1632. addcmd('shiny', 'makes a player shine',{},
  1633. function(args, speaker)
  1634. local players = getPlayer(args[1], speaker)
  1635. for i,v in pairs(players)do
  1636. spawn(function()
  1637. local pchar=_char(v)
  1638. for i,v in pairs(pchar:GetChildren()) do
  1639. if v.ClassName == "Decal" or v.ClassName == "Texture" then
  1640. v:Remove() end
  1641. if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
  1642. v.Reflectance = 1
  1643. v.Material = "Plastic"
  1644. end
  1645. end
  1646. end)
  1647. end
  1648. end)
  1649.  
  1650. addcmd('light', 'givs em light',{},
  1651. function(args, speaker)
  1652. local players = getPlayer(args[1], speaker)
  1653. for i,v in pairs(players)do
  1654. spawn(function()
  1655. local pchar=_char(v)
  1656. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1657. if v1:IsA("PointLight") then
  1658. v1:Destroy()
  1659. end
  1660. end
  1661. local light = Instance.new("PointLight", pchar.HumanoidRootPart)
  1662. light.Range = 12
  1663. light.Brightness = 3
  1664. if not args[2] then return end
  1665. light.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1666. light.Range = 12
  1667. light.Brightness = 3
  1668. end)
  1669. end
  1670. end)
  1671.  
  1672. addcmd('glowstick', 'givs em glo stik',{},
  1673. function(args, speaker)
  1674. local players = getPlayer(args[1], speaker)
  1675. for i,v in pairs(players)do
  1676. spawn(function()
  1677. System = {}
  1678. System.Create = function(a, c)
  1679. local e = Instance.new(a)
  1680. for d, a in pairs(c) do
  1681. local b, a = ypcall(function()
  1682. return e[d]
  1683. end)
  1684. if b then
  1685. e[d] = c[d]
  1686. end
  1687. end
  1688. return e
  1689. end
  1690. function b(d, b)
  1691. local c = getfenv(d)
  1692. local a = setmetatable({}, {
  1693. __index = function(a, a)
  1694. if a:lower() == 'script' then
  1695. return b
  1696. else
  1697. return c[a]
  1698. end
  1699. end
  1700. })
  1701. setfenv(d, a)
  1702. ypcall(function()
  1703. d()
  1704. end)
  1705. end
  1706. c = {}
  1707. mas = Instance.new("Model",game:GetService("Lighting"))
  1708. mas.Name = "CompiledModel"
  1709. o1 = System.Create("Tool",{
  1710. ["Name"] = "Glow Stick",
  1711. ["Parent"] = mas,
  1712. ["GripPos"] = Vector3.new(0, -0.300000012, 0),
  1713. ["CanBeDropped"] = false,
  1714. })
  1715. o2 = System.Create("Part",{
  1716. ["Name"] = "Handle",
  1717. ["Parent"] = o1,
  1718. ["Transparency"] = 0.10000000149012,
  1719. ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
  1720. ["Rotation"] = Vector3.new(-180, 0, 0),
  1721. ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1722. ["FormFactor"] = Enum.FormFactor.Custom,
  1723. ["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
  1724. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1725. ["TopSurface"] = Enum.SurfaceType.Weld,
  1726. ["Material"] = "Neon",
  1727. })
  1728. o3 = System.Create("PointLight",{
  1729. ["Parent"] = o2,
  1730. ["Brightness"] = 8,
  1731. ["Range"] = 14,
  1732. })
  1733. o4 = System.Create("CylinderMesh",{
  1734. ["Parent"] = o2,
  1735. })
  1736. if not args[2] then
  1737. o2.Color = Color3.new(1,1,1)
  1738. o3.Color = Color3.new(1,1,1) else
  1739. o2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1740. o3.Color = Color3.new((args[2]),(args[3]),(args[4])) end
  1741. mas.Parent = workspace
  1742. mas:MakeJoints()
  1743. local b = mas:GetChildren()
  1744. for a = 1, #b do
  1745. b[a].Parent = gPlayers[v].Backpack
  1746. ypcall(function()
  1747. b[a]:MakeJoints()
  1748. end)
  1749. end
  1750. mas:Destroy()
  1751. for a = 1, #c do
  1752. coroutine.resume(c[a])
  1753. end
  1754. end)
  1755. end
  1756. end)
  1757.  
  1758. addcmd('keybind','Binds a command to a key',{},
  1759. function(args,speaker)
  1760. if speaker.userId ~= LP.userId then
  1761. lponly(speaker) else
  1762. if #args < 2 then return end
  1763. local key = string.lower(args[1])
  1764. if #key > 1 or key == cmdbarbind then return end
  1765. local cmdText = GLS(false,1)
  1766. local cas = game:GetService("ContextActionService")
  1767. cas:BindAction("Keybind"..key,function(action,state,obj)
  1768. if state == Enum.UserInputState.Begin then
  1769. execCmd(cmdText,speaker)
  1770. end
  1771. end,false,key)
  1772. Notify("Binded "..cmdText.." to "..key)
  1773. end
  1774. end)
  1775.  
  1776. addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
  1777. function(args,speaker)
  1778. if speaker.userId ~= LP.userId then
  1779. lponly(speaker) else
  1780. if #args < 1 then return end
  1781. local key = string.lower(args[1])
  1782. game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
  1783. Notify("Unbinded "..key)
  1784. end
  1785. end)
  1786.  
  1787. addcmd('trail', 'spawns a trail behind a player',{},
  1788. function(args, speaker)
  1789. local players = getPlayer(args[1], speaker)
  1790. for i,v in pairs(players)do
  1791. spawn(function()
  1792. local pchar=_char(v)
  1793. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1794. if v1.Name == "TRAIL" then
  1795. v1:Destroy()
  1796. end
  1797. end
  1798. if args[2] then
  1799. color1 = Color3.new(args[2],args[3],args[4])
  1800. color2 = Color3.new(0,0,0) else
  1801. color1 = Color3.new(1,1,1)
  1802. color2 = Color3.new(0,0,0) end
  1803. if pchar:FindFirstChild("Torso") then
  1804. local e = Instance.new("Trail", pchar.Torso)
  1805. e.Name = "TRAIL"
  1806. e.FaceCamera = true
  1807. e.Color = ColorSequence.new(color1,color2)
  1808. e.Attachment0 = pchar.Torso.WaistCenterAttachment
  1809. e.Attachment1 = pchar.Torso.NeckAttachment
  1810. end
  1811. end)
  1812. end
  1813. end)
  1814.  
  1815. addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
  1816. function(args, speaker)
  1817. local players = getPlayer(args[1], speaker)
  1818. for i,v in pairs(players)do
  1819. spawn(function()
  1820. local pchar=_char(v)
  1821. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1822. if v1.Name == "TRAIL" then
  1823. v1:Destroy()
  1824. end
  1825. end
  1826. end)
  1827. end
  1828. end)
  1829.  
  1830. local fa = false
  1831. local cam = workspace.CurrentCamera
  1832. local cam1 = 0
  1833. local cam2 = 0
  1834. local cam3 = 0
  1835. local k1 = false
  1836. local k2 = false
  1837. local k3 = false
  1838. local k4 = false
  1839. local k5 = false
  1840. local k6 = false
  1841. local cs = 0.5
  1842. function movecam()
  1843. local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1844. if fa == false then
  1845. repeat
  1846. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1847. local fp = fc.Position
  1848. fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  1849. fa = true
  1850. end
  1851. game:GetService('RunService').RenderStepped:Wait()
  1852. until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1853. fa = false
  1854. end
  1855. end
  1856. function kp1(inputObject, gameProcessedEvent)
  1857. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1858. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1859. k1 = true
  1860. cam1 = cs end
  1861. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1862. k2 = true
  1863. cam1 = (cs*-1) end
  1864. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1865. k3 = true
  1866. cam2 = cs end
  1867. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1868. k4 = true
  1869. cam2 = (cs*-1) end
  1870. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1871. k5 = true
  1872. cam3 = cs end
  1873. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1874. k6 = true
  1875. cam3 = (cs*-1) end
  1876. end
  1877. end
  1878. game:GetService("UserInputService").InputBegan:connect(kp1)
  1879. function kp2(inputObject, gameProcessedEvent)
  1880. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1881. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1882. k1 = false
  1883. if k2 == false then
  1884. cam1 = 0
  1885. end
  1886. end
  1887. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1888. k2 = false
  1889. if k1 == false then
  1890. cam1 = 0
  1891. end
  1892. end
  1893. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1894. k3= false
  1895. if k4== false then
  1896. cam2 = 0
  1897. end
  1898. end
  1899. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1900. k4 = false
  1901. if k3 == false then
  1902. cam2 = 0
  1903. end
  1904. end
  1905. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1906. k5 = false
  1907. if k6 == false then
  1908. cam3 = 0
  1909. end
  1910. end
  1911. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1912. k6 = false
  1913. if k5 == false then
  1914. cam3 = 0
  1915. end
  1916. end
  1917. end
  1918. end
  1919. game:GetService("UserInputService").InputEnded:connect(kp2)
  1920. function FC()
  1921. if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1922. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  1923. local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  1924. fc.CanCollide = false
  1925. fc.Anchored = true
  1926. fc.Transparency = 1
  1927. fc.Size = Vector3.new(1,1,1)
  1928. fc.Name = 'xFC'
  1929. fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  1930. local cam = workspace.CurrentCamera
  1931. cam.CameraSubject = fc
  1932. cam.CameraType = 'Custom'
  1933. movecam()
  1934. end end
  1935. function UFC()
  1936. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  1937. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1938. game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  1939. local cam = workspace.CurrentCamera
  1940. cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  1941. cam.CameraType = 'Custom'
  1942. end end
  1943.  
  1944. addcmd('freecam','freecam',{'fc'},
  1945. function(args, speaker)
  1946. if speaker.userId ~= LP.userId then
  1947. lponly(speaker)
  1948. else
  1949. FC()
  1950. end
  1951. end)
  1952.  
  1953. addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
  1954. function(args, speaker)
  1955. local players = getPlayer(args[1], speaker)
  1956. for i,v in pairs(players)do
  1957. local pchar=_char(v)
  1958. local char = pchar
  1959. local hum = char.Humanoid
  1960. for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
  1961. hum.HealthDisplayDistance = 0
  1962. --execcmd god
  1963. local stake = Instance.new("Part",char)
  1964. stake.Anchored = true
  1965. stake.BrickColor = BrickColor.new("Reddish brown")
  1966. stake.Material = "Wood"
  1967. stake.Size = Vector3.new(1,7,1)
  1968. stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
  1969. local hay = Instance.new("Part",char)
  1970. hay.Anchored = true
  1971. hay.Material = "Grass"
  1972. hay.BrickColor = BrickColor.new("New Yeller")
  1973. hay.Size = Vector3.new(6,1,5)
  1974. hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
  1975. local hay2 = hay:clone()
  1976. hay2.Parent = char
  1977. hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
  1978. local fire = Instance.new("Fire",hay)
  1979. fire.Enabled = false
  1980. fire.Heat = 25
  1981. fire.Size = 2
  1982. fire.Color = Color3.new(170/255,85/255,0)
  1983. local smoke = Instance.new("Smoke",hay)
  1984. smoke.Enabled = false
  1985. smoke.Opacity = 1
  1986. smoke.RiseVelocity = 25
  1987. smoke.Size = 15
  1988. smoke.Color = Color3.new(0,0,0)
  1989. local light = Instance.new("PointLight",hay)
  1990. light.Color = Color3.new(170/255,85/255,0)
  1991. light.Range = 0
  1992. light.Brightness = 1
  1993. light.Enabled = false
  1994. --[[]]
  1995. local crack = Instance.new("Sound",hay)
  1996. crack.SoundId = "rbxassetid://239443642"
  1997. crack.Looped = true
  1998. crack.Volume = 0
  1999. local scream = Instance.new("Sound",char.Torso)
  2000. scream.SoundId = "rbxassetid://264227115"
  2001. scream.Looped = true
  2002. scream.Volume = 0
  2003. --]]
  2004. wait()
  2005. char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
  2006. char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
  2007.  
  2008. local bods = char['Body Colors']
  2009. local colors = {
  2010. --"Really red";
  2011. "Bright red";
  2012. "Crimson";
  2013. "Maroon";
  2014. "Really black";
  2015. }
  2016.  
  2017. fire.Enabled=true
  2018. smoke.Enabled=true
  2019. light.Enabled=true
  2020. crack:Play()
  2021. scream:Play()
  2022. scream.Pitch = 0.8
  2023. --scream.Volume = 0.5
  2024. for i=1,30 do
  2025. crack.Volume = crack.Volume+(1/30)
  2026. scream.Volume = crack.Volume
  2027. fire.Size=i
  2028. smoke.RiseVelocity=i-5
  2029. smoke.Size=i/2
  2030. light.Range=i*2
  2031. wait(1)
  2032. end
  2033.  
  2034. for i=1,#colors do
  2035. bods.HeadColor=BrickColor.new(colors[i])
  2036. bods.LeftArmColor=BrickColor.new(colors[i])
  2037. bods.LeftLegColor=BrickColor.new(colors[i])
  2038. bods.RightArmColor=BrickColor.new(colors[i])
  2039. bods.RightLegColor=BrickColor.new(colors[i])
  2040. bods.TorsoColor=BrickColor.new(colors[i])
  2041. hay.BrickColor=BrickColor.new(colors[i])
  2042. hay2.BrickColor=BrickColor.new(colors[i])
  2043. stake.BrickColor=BrickColor.new(colors[i])
  2044. wait(5)
  2045. end
  2046. wait(10)
  2047. scream.Volume = 0.5
  2048. wait(1)
  2049. scream:Stop()
  2050. char:BreakJoints()
  2051. end
  2052. end)
  2053.  
  2054. addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
  2055. function(args, speaker)
  2056. if speaker.userId ~= LP.userId then
  2057. lponly(speaker)
  2058. else
  2059. UFC()
  2060. end
  2061. end)
  2062.  
  2063. addcmd('nolight', 'no more light',{'unlight'},
  2064. function(args, speaker)
  2065. local players = getPlayer(args[1], speaker)
  2066. for i,v in pairs(players)do
  2067. local pchar=_char(v)
  2068. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  2069. if v1:IsA("PointLight") then
  2070. v1:Destroy()
  2071. end
  2072. end
  2073. end
  2074. end)
  2075.  
  2076. addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
  2077. function(args, speaker)
  2078. local players = getPlayer(args[1], speaker)
  2079. for i,v in pairs(players)do
  2080. local pchar=_char(v)
  2081. scale = 10
  2082.  
  2083. function weld(tab)
  2084. local last = nil
  2085. for i,v in pairs(tab) do
  2086. if v:IsA("BasePart") then
  2087. if last then
  2088. local w = Instance.new("Weld",last)
  2089. w.Part0 = w.Parent
  2090. w.Part1 = v
  2091. local pos = last.CFrame:toObjectSpace(v.CFrame)
  2092. w.C0 = pos
  2093. end
  2094. last = v
  2095. end
  2096. end
  2097. end
  2098.  
  2099. function makeball(pos)
  2100. local model = Instance.new("Model",workspace)
  2101. model.Name = gPlayers[v].Name .. "ball"
  2102. local rand = BrickColor.Random()
  2103. pchar.Head.Anchored = true
  2104. for i=0,340,20 do
  2105. wait()
  2106. for z=-90,70,20 do
  2107. local p = Instance.new("Part",model)
  2108. p.formFactor = "Custom"
  2109. p.BrickColor = rand
  2110. p.Transparency = 0.5
  2111. p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  2112. p.Anchored = true
  2113. p.TopSurface = 0
  2114. p.BottomSurface = 0
  2115. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  2116. p:breakJoints()
  2117. end
  2118. end
  2119. weld(model:children())
  2120. for i,v in pairs(model:children()) do v.Anchored = false end
  2121. pchar.Head.Anchored = false
  2122. model:MakeJoints()
  2123. end
  2124.  
  2125. if pchar then
  2126. makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
  2127. end
  2128. end
  2129. end)
  2130.  
  2131. addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
  2132. function(args, speaker)
  2133. local players = getPlayer(args[1], speaker)
  2134. for i,v in pairs(players)do
  2135. local pchar=_char(v)
  2136. for _, child in pairs( workspace:GetChildren()) do
  2137. if child.Name == gPlayers[v].Name .. "ball" then
  2138. child:Destroy()
  2139. end
  2140. end
  2141. end
  2142. end)
  2143.  
  2144. local car = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
  2145.  
  2146. local fastwait = function(time)
  2147. local expire = tick()+(time or 0.02999999999999999889)
  2148. while game:GetService("RunService").Heartbeat:wait() do
  2149. if tick() >= expire then return true end
  2150. end
  2151. end
  2152.  
  2153. function arrest(name)
  2154. spawn(function()
  2155. local p = game:GetService("Players"):FindFirstChild(name)
  2156. local char = p.Character
  2157. local torso = p.Character:FindFirstChild("HumanoidRootPart")
  2158. local humanoid = p.Character:FindFirstChild("Humanoid")
  2159. if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
  2160. local van = car:Clone()
  2161. if van then
  2162. local function check()
  2163. if not van or not van.Parent or not p or p.Parent ~= game:GetService("Players") or not torso or not humanoid or not torso.Parent or not humanoid.Parent or not char or not char.Parent then
  2164. return false
  2165. else
  2166. return true
  2167. end
  2168. end
  2169.  
  2170. --local driver = van.Driver
  2171. --local grabber = van.Clown
  2172. local primary = van.Primary
  2173. --local door = van.Door
  2174. local tPos = torso.CFrame
  2175.  
  2176. local sound = Instance.new("Sound",primary)
  2177. sound.SoundId = "rbxassetid://258529216"
  2178. sound.Looped = true
  2179. sound:Play()
  2180.  
  2181. local chuckle = Instance.new("Sound",primary)
  2182. chuckle.SoundId = "rbxassetid://175964948"
  2183. chuckle.Looped = true
  2184. chuckle.Volume = 0.5
  2185. chuckle:Play()
  2186.  
  2187. van.PrimaryPart = van.Primary
  2188. van.Name = "ADONIS_VAN"
  2189. van.Parent = workspace
  2190. humanoid.Name = "NoResetForYou"
  2191. humanoid.WalkSpeed = 0
  2192. sound.Pitch = 1.3
  2193.  
  2194. local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
  2195. music.Name = "COPSONG"
  2196. music.SoundId = "rbxassetid://132007810"
  2197. music.Volume = 1
  2198. music.Looped = true
  2199. if not music.Playing then music:Play() end
  2200.  
  2201. spawn(function()
  2202. while fastwait(0.2) do
  2203. van.Body.Lightbar.Red.PointLight.Enabled = true
  2204. van.Body.Lightbar.Blue.PointLight.Enabled = false
  2205. fastwait(0.2)
  2206. van.Body.Lightbar.Red.PointLight.Enabled = false
  2207. van.Body.Lightbar.Blue.PointLight.Enabled = true
  2208. end
  2209. end)
  2210.  
  2211. for i = 1,200 do
  2212. if not check() then
  2213. break
  2214. else
  2215. van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2216. fastwait(0.001*(i/5))
  2217. end
  2218. end
  2219.  
  2220. sound.Pitch = 0.9
  2221.  
  2222. fastwait(0.5)
  2223. if check() then
  2224. --door.Transparency = 1
  2225. end
  2226.  
  2227. local freeze = Instance.new("Sound",primary)
  2228. freeze.SoundId = "rbxassetid://163732279"
  2229. freeze.Volume = 5
  2230. freeze:Play()
  2231.  
  2232. fastwait(3)
  2233.  
  2234. if check() then
  2235. torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
  2236. end
  2237.  
  2238. fastwait(0.5)
  2239. if check() then
  2240. --door.Transparency = 0
  2241. end
  2242. fastwait(0.5)
  2243.  
  2244. sound.Pitch = 1.3
  2245. local gui = Instance.new("ScreenGui")
  2246. local frame = Instance.new("Frame",gui)
  2247. frame.BackgroundTransparency = 1
  2248. frame.BackgroundColor3 = Color3.new(0,0,0)
  2249. frame.Position = UDim2.new(0,0,0,-36)
  2250. frame.Size = UDim2.new(1,0,1,36)
  2251. spawn(function()
  2252. for i = 1,0,-0.01 do
  2253. frame.BackgroundTransparency = i
  2254. fastwait(0.1)
  2255. end
  2256. frame.BackgroundTransparency = 0
  2257. end)
  2258.  
  2259. p.CameraMaxZoomDistance = 0.5
  2260.  
  2261. torso.Anchored = true
  2262.  
  2263. for i = 1,400 do
  2264. if not check() then
  2265. break
  2266. else
  2267. van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2268. torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
  2269. fastwait(0.1/(i*5))
  2270.  
  2271. if i == 270 then
  2272. music.Volume = 5
  2273. end
  2274. end
  2275. end
  2276.  
  2277. local function KICK(P)
  2278. spawn(function()
  2279. for i = 1,5 do
  2280. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2281. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2282. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2283. spawn(function()
  2284. repeat fastwait()
  2285. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2286. until not game:GetService("Players"):FindFirstChild(P.Name)
  2287. end)
  2288. P.Character.HumanoidRootPart.Anchored = true
  2289. end
  2290. end
  2291. end)
  2292. end
  2293.  
  2294. if p and p.Parent == game:GetService("Players") then
  2295. if p == game:GetService("Players").LocalPlayer then
  2296. fastwait(5)
  2297. end
  2298. torso.Anchored = false
  2299. p.CharacterAdded:Connect(function()
  2300. fastwait()
  2301. KICK(p)
  2302. end)
  2303. KICK(p)
  2304. end
  2305. fastwait(0.5)
  2306. pcall(function() van:Destroy() end)
  2307. pcall(function() gui:Destroy() end)
  2308. if not workspace:FindFirstChild("ADONIS_VAN") then
  2309. music:Destroy()
  2310. end
  2311. end
  2312. end
  2313. end)
  2314. end
  2315.  
  2316. addcmd('arrest', 'arrests player',{},
  2317. function(args, speaker)
  2318. local players = getPlayer(args[1], speaker)
  2319. for i,v in pairs(players)do
  2320. arrest(gPlayers[v].Name)
  2321. end
  2322. end)
  2323.  
  2324. addcmd('loopkill', 'rip person',{'lkill'},
  2325. function(args, speaker)
  2326. local players = getPlayer(args[1], speaker)
  2327. for i,v in pairs(players)do
  2328. if not FindTable(loopkillT, _players[v].Name) then
  2329. table.insert(loopkillT, _players[v].Name)
  2330. if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
  2331. Notify('Loopkilling player(s)') end end end end)
  2332.  
  2333. addcmd('unloopkill', 'un rip person',{'unlkill'},
  2334. function(args, speaker)
  2335. local players = getPlayer(args[1], speaker)
  2336. for i,v in pairs(players)do
  2337. if FindTable(loopkillT, _players[v].Name) then
  2338. table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
  2339. if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
  2340. Notify('No longer loopkilling player(s)') end end end end)
  2341.  
  2342. addcmd('disabletools', 'removes their tools',{'loopremovetools'},
  2343. function(args, speaker)
  2344. local players = getPlayer(args[1], speaker)
  2345. for i,v in pairs(players)do
  2346. if not FindTable(disabletoolsT, _players[v].Name) then
  2347. table.insert(disabletoolsT, _players[v].Name)
  2348. if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
  2349. Notify('Disabled tools for player(s)') end end end end)
  2350.  
  2351. addcmd('enabletools', 'lets them have tools',{},
  2352. function(args, speaker)
  2353. local players = getPlayer(args[1], speaker)
  2354. for i,v in pairs(players)do
  2355. if FindTable(disabletoolsT, _players[v].Name) then
  2356. table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v])
  2357. if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
  2358. Notify('Enabled tools for player(s)') end end end end)
  2359.  
  2360. addcmd('refresh', 'refresh their player model',{},
  2361. function(args, speaker)
  2362. local players = getPlayer(args[1], speaker)
  2363. for i,v in pairs(players)do
  2364. refresh(_players[v])
  2365. end end)
  2366.  
  2367. local fastwait = function(time)
  2368. local expire = tick()+(time or 0.02999999999999999889)
  2369. while game:GetService("RunService").Heartbeat:wait() do
  2370. if tick() >= expire then return true end
  2371. end
  2372. end
  2373.  
  2374. function gull(name)
  2375. spawn(function()
  2376. local char = game:GetService("Players")[name].Character
  2377. char.PrimaryPart = char.HumanoidRootPart
  2378.  
  2379. local tors = game:GetService("Players")[name].Character.HumanoidRootPart
  2380. local initCFrame = tors.CFrame
  2381.  
  2382. if char:FindFirstChild("Torso") then
  2383. char.Torso.Anchored = true
  2384. else
  2385. char.UpperTorso.Anchored = true
  2386. end
  2387. char:FindFirstChildOfClass("Humanoid").Name = "Sad"
  2388.  
  2389. local gull = Instance.new("Part")
  2390. gull.Anchored = true
  2391. gull.CanCollide = false
  2392. gull.Position = Vector3.new(0,100000,0)
  2393. local mesh = Instance.new("SpecialMesh",gull)
  2394. mesh.MeshId = "http://www.roblox.com/asset/?id=272501436"
  2395. mesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2396. mesh.Scale = Vector3.new(10,10,10)
  2397.  
  2398. local leftWing = Instance.new("Part",gull)
  2399. leftWing.CanCollide = false
  2400. local lmesh = Instance.new("SpecialMesh",leftWing)
  2401. lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584"
  2402. lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2403. lmesh.Scale = Vector3.new(10,10,10)
  2404. local leftMotor = Instance.new("Motor6D",gull)
  2405. leftMotor.MaxVelocity = 1
  2406. leftMotor.Part0 = gull
  2407. leftMotor.Part1 = leftWing
  2408. leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001)
  2409.  
  2410. local rightWing = Instance.new("Part",gull)
  2411. rightWing.CanCollide = false
  2412. local rmesh = Instance.new("SpecialMesh",rightWing)
  2413. rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651"
  2414. rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2415. rmesh.Scale = Vector3.new(10,10,10)
  2416. local rightMotor = Instance.new("Motor6D",gull)
  2417. rightMotor.MaxVelocity = 1
  2418. rightMotor.Part0 = gull
  2419. rightMotor.Part1 = rightWing
  2420. rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001)
  2421.  
  2422. local sound = Instance.new("Sound",gull)
  2423. sound.SoundId = "rbxassetid://160877039"
  2424. sound.Volume = 10
  2425. gull.Parent = workspace
  2426.  
  2427. for i = 400,-1000,-2 do
  2428. local der = 0.02*i
  2429. local angle = math.atan(der/1)
  2430. gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0)
  2431. if i == 0 then sound:Play() end
  2432. if i <= 0 then
  2433. char:SetPrimaryPartCFrame(gull.CFrame)
  2434. local nextAngle = -0.2*math.sin(0.05*math.pi*(i))
  2435. leftMotor.DesiredAngle = -nextAngle
  2436. leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001)
  2437. rightMotor.DesiredAngle = nextAngle
  2438. rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001)
  2439. end
  2440. game:GetService("RunService").RenderStepped:wait()
  2441. end
  2442.  
  2443. local function KICK(P)
  2444. spawn(function()
  2445. for i = 1,5 do
  2446. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2447. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2448. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2449. spawn(function()
  2450. repeat wait()
  2451. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2452. until not game:GetService("Players"):FindFirstChild(P.Name)
  2453. end)
  2454. P.Character.HumanoidRootPart.Anchored = true
  2455. end
  2456. end
  2457. end)
  2458. end
  2459.  
  2460. if char:FindFirstChild("Torso") then
  2461. char.Torso.Anchored = false
  2462. else
  2463. char.UpperTorso.Anchored = false
  2464. end
  2465.  
  2466. spawn(function()
  2467. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
  2468. game:GetService("Players")[name].CharacterAdded:Connect(function()
  2469. wait()
  2470. KICK(game:GetService("Players")[name])
  2471. end)
  2472. KICK(game:GetService("Players")[name])
  2473. end)
  2474.  
  2475. local go = Instance.new("BodyVelocity",gull)
  2476. go.Velocity = Vector3.new(0,1000,0)
  2477. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  2478. gull.Anchored = false
  2479. end)
  2480. end
  2481.  
  2482. addcmd('seagull', 'seagulls player',{'gull'},
  2483. function(args, speaker)
  2484. local players = getPlayer(args[1], speaker)
  2485. for i,v in pairs(players)do
  2486. gull(gPlayers[v].Name)
  2487. end
  2488. end)
  2489.  
  2490. local song = nil
  2491. function zinniaKick(name)
  2492. spawn(function()
  2493. if song == nil then
  2494. song = Instance.new("Sound",workspace)
  2495. song.SoundId = "rbxassetid://190423831"
  2496. song.Volume = 1
  2497. song.Looped = true
  2498. song:Play()
  2499. end
  2500. local zin = Instance.new("Part")
  2501. zin.Name = "CuteZinnia"
  2502. zin.Anchored = true
  2503. zin.CanCollide = false
  2504. zin.Locked = true
  2505. local mesh = Instance.new("SpecialMesh")
  2506. mesh.MeshId = "rbxassetid://1175670539"
  2507. mesh.TextureId = "rbxassetid://1175670558"
  2508. mesh.Scale = Vector3.new(0.05,0.05,0.05)
  2509. mesh.Offset = Vector3.new(0,0.88,0)
  2510. mesh.Parent = zin
  2511. local char = game:GetService("Players")[name].Character
  2512. char.PrimaryPart = char.HumanoidRootPart
  2513. if char:FindFirstChild("Torso") then
  2514. char.Torso.Anchored = true
  2515. else
  2516. char.UpperTorso.Anchored = true
  2517. end
  2518. zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*50) * CFrame.Angles(0,math.pi,0) + Vector3.new(0,500,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
  2519. zin.Parent = workspace
  2520. local tween = game:GetService("TweenService"):Create(zin,TweenInfo.new(3,Enum.EasingStyle.Quart,Enum.EasingDirection.Out,0,false,0),{CFrame = zin.CFrame - Vector3.new(0,500,0)})
  2521. tween:Play()
  2522. fastwait(3)
  2523. for i = 50,1,-1 do
  2524. zin.CFrame = (char.HumanoidRootPart.CFrame + char.HumanoidRootPart.CFrame.lookVector*i) * CFrame.Angles(0,math.pi,0) + (char:FindFirstChild("UpperTorso") and Vector3.new(0,0.9,0) or Vector3.new(0,0,0))
  2525. fastwait()
  2526. end
  2527. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2528. fastwait(1)
  2529. local turns = 0
  2530.  
  2531. while turns < 200 do
  2532. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2533. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2534. turns = turns + 1
  2535. fastwait()
  2536. end
  2537. for i = 1,10 do
  2538. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2539. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2540. fastwait()
  2541. end
  2542. local rX,rZ = 0,0
  2543. repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
  2544. repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
  2545. local bv = Instance.new("BodyForce",char.HumanoidRootPart)
  2546. bv.Force = Vector3.new(rX,10000,rZ)
  2547. if char:FindFirstChild("Torso") then
  2548. char.Torso.Anchored = false
  2549. else
  2550. char.UpperTorso.Anchored = false
  2551. end
  2552. function KICK(P)
  2553. spawn(function()
  2554. for i = 1,5 do
  2555. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2556. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2557. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2558. spawn(function()
  2559. repeat fastwait()
  2560. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2561. until not game:GetService("Players"):FindFirstChild(P.Name)
  2562. end)
  2563. P.Character.HumanoidRootPart.Anchored = true
  2564. end
  2565. end
  2566. end)
  2567. end
  2568. spawn(function()
  2569. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
  2570. game:GetService("Players")[name].CharacterAdded:Connect(function()
  2571. fastwait()
  2572. KICK(game:GetService("Players")[name])
  2573. end)
  2574. KICK(game:GetService("Players")[name])
  2575. end)
  2576. for i = 1,20 do
  2577. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2578. fastwait()
  2579. end
  2580. while turns > 0 do
  2581. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2582. turns = turns - 5
  2583. fastwait()
  2584. end
  2585. fastwait(1)
  2586. zin.Name = "GoneZinnia"
  2587. local go = Instance.new("BodyVelocity",zin)
  2588. go.Velocity = zin.CFrame.lookVector * 100
  2589. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  2590. zin.Anchored = false
  2591. fastwait(20)
  2592. if song and not workspace:FindFirstChild("CuteZinnia") then
  2593. song:Destroy()
  2594. song = nil
  2595. end
  2596. end)
  2597. end
  2598.  
  2599. addcmd('zinnia', 'asdf for moon',{},
  2600. function(args, speaker)
  2601. local players = getPlayer(args[1], speaker)
  2602. for i,v in pairs(players)do
  2603. zinniaKick(gPlayers[v].Name)
  2604. end
  2605. end)
  2606.  
  2607. addcmd('rainbowname', 'color spam their name tag',{'rname'},
  2608. function(args, speaker)
  2609. local players = getPlayer(args[1], speaker)
  2610. for i,v in pairs(players)do
  2611. if not FindTable(rainbowT, _players[v].Name) then
  2612. table.insert(rainbowT, _players[v].Name)
  2613. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
  2614. Notify('Gave player(s) rainbow name') end end end end)
  2615.  
  2616. addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
  2617. function(args, speaker)
  2618. local players = getPlayer(args[1], speaker)
  2619. for i,v in pairs(players)do
  2620. if FindTable(rainbowT, _players[v].Name) then
  2621. table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
  2622. _players[v].Neutral = true
  2623. if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
  2624. Notify('Disabled rainbow name for player(s)') end end end end)
  2625.  
  2626. addcmd('terrain', 'gives you terrain tools',{'tt'},
  2627. function(args, speaker)
  2628. if speaker.userId ~= LP.userId then
  2629. lponly(speaker)
  2630. else
  2631. --Terrain Script
  2632. --Edge#3467/IoIman616
  2633.  
  2634. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
  2635. if child.Name == "MaterialGui" then
  2636. child:Destroy()
  2637. end
  2638. end
  2639.  
  2640. function sandbox(var,func)
  2641. local env = getfenv(func)
  2642. local newenv = setmetatable({},{
  2643. __index = function(self,k)
  2644. if k=="script" then
  2645. return var
  2646. else
  2647. return env[k]
  2648. end
  2649. end,
  2650. })
  2651. setfenv(func,newenv)
  2652. return func
  2653. end
  2654. cors = {}
  2655. mas = Instance.new("Model",game:GetService("Lighting"))
  2656. HopperBin0 = Instance.new("HopperBin")
  2657. HopperBin0.Name = "Terrain Build"
  2658. HopperBin0.Parent = mas
  2659. for i,v in pairs(mas:GetChildren()) do
  2660. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2661. pcall(function() v:MakeJoints() end)
  2662. end
  2663. mas:Destroy()
  2664. for i,v in pairs(cors) do
  2665. spawn(function()
  2666. pcall(v)
  2667. end)
  2668. end
  2669.  
  2670. wait(0.01)
  2671.  
  2672. function sandbox(var,func)
  2673. local env = getfenv(func)
  2674. local newenv = setmetatable({},{
  2675. __index = function(self,k)
  2676. if k=="script" then
  2677. return var
  2678. else
  2679. return env[k]
  2680. end
  2681. end,
  2682. })
  2683. setfenv(func,newenv)
  2684. return func
  2685. end
  2686. cors = {}
  2687. mas = Instance.new("Model",game:GetService("Lighting"))
  2688. ScreenGui0 = Instance.new("ScreenGui")
  2689. ImageLabel1 = Instance.new("ImageLabel")
  2690. ImageButton2 = Instance.new("ImageButton")
  2691. Frame3 = Instance.new("Frame")
  2692. NumberValue4 = Instance.new("NumberValue")
  2693. ImageButton5 = Instance.new("ImageButton")
  2694. Frame6 = Instance.new("Frame")
  2695. NumberValue7 = Instance.new("NumberValue")
  2696. ImageButton8 = Instance.new("ImageButton")
  2697. Frame9 = Instance.new("Frame")
  2698. NumberValue10 = Instance.new("NumberValue")
  2699. ImageButton11 = Instance.new("ImageButton")
  2700. Frame12 = Instance.new("Frame")
  2701. NumberValue13 = Instance.new("NumberValue")
  2702. ImageButton14 = Instance.new("ImageButton")
  2703. Frame15 = Instance.new("Frame")
  2704. NumberValue16 = Instance.new("NumberValue")
  2705. ImageButton17 = Instance.new("ImageButton")
  2706. Frame18 = Instance.new("Frame")
  2707. NumberValue19 = Instance.new("NumberValue")
  2708. ImageButton20 = Instance.new("ImageButton")
  2709. Frame21 = Instance.new("Frame")
  2710. NumberValue22 = Instance.new("NumberValue")
  2711. ImageButton23 = Instance.new("ImageButton")
  2712. Frame24 = Instance.new("Frame")
  2713. NumberValue25 = Instance.new("NumberValue")
  2714. ImageButton26 = Instance.new("ImageButton")
  2715. Frame27 = Instance.new("Frame")
  2716. NumberValue28 = Instance.new("NumberValue")
  2717. ImageButton29 = Instance.new("ImageButton")
  2718. Frame30 = Instance.new("Frame")
  2719. NumberValue31 = Instance.new("NumberValue")
  2720. ImageButton32 = Instance.new("ImageButton")
  2721. Frame33 = Instance.new("Frame")
  2722. NumberValue34 = Instance.new("NumberValue")
  2723. ImageButton35 = Instance.new("ImageButton")
  2724. Frame36 = Instance.new("Frame")
  2725. NumberValue37 = Instance.new("NumberValue")
  2726. ImageButton38 = Instance.new("ImageButton")
  2727. Frame39 = Instance.new("Frame")
  2728. NumberValue40 = Instance.new("NumberValue")
  2729. ImageButton41 = Instance.new("ImageButton")
  2730. Frame42 = Instance.new("Frame")
  2731. NumberValue43 = Instance.new("NumberValue")
  2732. ImageButton44 = Instance.new("ImageButton")
  2733. Frame45 = Instance.new("Frame")
  2734. NumberValue46 = Instance.new("NumberValue")
  2735. ImageButton47 = Instance.new("ImageButton")
  2736. Frame48 = Instance.new("Frame")
  2737. NumberValue49 = Instance.new("NumberValue")
  2738. ImageButton50 = Instance.new("ImageButton")
  2739. Frame51 = Instance.new("Frame")
  2740. NumberValue52 = Instance.new("NumberValue")
  2741. ImageButton53 = Instance.new("ImageButton")
  2742. Frame54 = Instance.new("Frame")
  2743. ScreenGui0.Name = "MaterialGui"
  2744. ScreenGui0.Parent = mas
  2745. ImageLabel1.Name = "MaterialMenu"
  2746. ImageLabel1.Parent = ScreenGui0
  2747. ImageLabel1.Transparency = 1
  2748. ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
  2749. ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
  2750. ImageLabel1.BackgroundTransparency = 1
  2751. ImageLabel1.ZIndex = 2
  2752. ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
  2753. ImageButton2.Name = "Grass"
  2754. ImageButton2.Parent = ImageLabel1
  2755. ImageButton2.Transparency = 1
  2756. ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2757. ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
  2758. ImageButton2.BackgroundTransparency = 1
  2759. ImageButton2.ZIndex = 4
  2760. ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
  2761. Frame3.Name = "Selection"
  2762. Frame3.Parent = ImageButton2
  2763. Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2764. Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2765. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  2766. Frame3.BorderSizePixel = 0
  2767. Frame3.ZIndex = 3
  2768. NumberValue4.Name = "num"
  2769. NumberValue4.Parent = ImageButton2
  2770. NumberValue4.Value = 1
  2771. ImageButton5.Name = "Sand"
  2772. ImageButton5.Parent = ImageLabel1
  2773. ImageButton5.Transparency = 1
  2774. ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2775. ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
  2776. ImageButton5.BackgroundTransparency = 1
  2777. ImageButton5.ZIndex = 4
  2778. ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
  2779. Frame6.Name = "Selection"
  2780. Frame6.Parent = ImageButton5
  2781. Frame6.Transparency = 1
  2782. Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2783. Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2784. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  2785. Frame6.BackgroundTransparency = 1
  2786. Frame6.BorderSizePixel = 0
  2787. Frame6.ZIndex = 3
  2788. NumberValue7.Name = "num"
  2789. NumberValue7.Parent = ImageButton5
  2790. NumberValue7.Value = 2
  2791. ImageButton8.Name = "Brick"
  2792. ImageButton8.Parent = ImageLabel1
  2793. ImageButton8.Transparency = 1
  2794. ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2795. ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
  2796. ImageButton8.BackgroundTransparency = 1
  2797. ImageButton8.ZIndex = 4
  2798. ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
  2799. Frame9.Name = "Selection"
  2800. Frame9.Parent = ImageButton8
  2801. Frame9.Transparency = 1
  2802. Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2803. Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2804. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  2805. Frame9.BackgroundTransparency = 1
  2806. Frame9.BorderSizePixel = 0
  2807. Frame9.ZIndex = 3
  2808. NumberValue10.Name = "num"
  2809. NumberValue10.Parent = ImageButton8
  2810. NumberValue10.Value = 3
  2811. ImageButton11.Name = "Granite"
  2812. ImageButton11.Parent = ImageLabel1
  2813. ImageButton11.Transparency = 1
  2814. ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2815. ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
  2816. ImageButton11.BackgroundTransparency = 1
  2817. ImageButton11.ZIndex = 4
  2818. ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
  2819. Frame12.Name = "Selection"
  2820. Frame12.Parent = ImageButton11
  2821. Frame12.Transparency = 1
  2822. Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2823. Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2824. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  2825. Frame12.BackgroundTransparency = 1
  2826. Frame12.BorderSizePixel = 0
  2827. Frame12.ZIndex = 3
  2828. NumberValue13.Name = "num"
  2829. NumberValue13.Parent = ImageButton11
  2830. NumberValue13.Value = 4
  2831. ImageButton14.Name = "Asphalt"
  2832. ImageButton14.Parent = ImageLabel1
  2833. ImageButton14.Transparency = 1
  2834. ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2835. ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
  2836. ImageButton14.BackgroundTransparency = 1
  2837. ImageButton14.ZIndex = 4
  2838. ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
  2839. Frame15.Name = "Selection"
  2840. Frame15.Parent = ImageButton14
  2841. Frame15.Transparency = 1
  2842. Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2843. Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2844. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  2845. Frame15.BackgroundTransparency = 1
  2846. Frame15.BorderSizePixel = 0
  2847. Frame15.ZIndex = 3
  2848. NumberValue16.Name = "num"
  2849. NumberValue16.Parent = ImageButton14
  2850. NumberValue16.Value = 5
  2851. ImageButton17.Name = "Iron"
  2852. ImageButton17.Parent = ImageLabel1
  2853. ImageButton17.Transparency = 1
  2854. ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2855. ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
  2856. ImageButton17.BackgroundTransparency = 1
  2857. ImageButton17.ZIndex = 4
  2858. ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
  2859. Frame18.Name = "Selection"
  2860. Frame18.Parent = ImageButton17
  2861. Frame18.Transparency = 1
  2862. Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2863. Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2864. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  2865. Frame18.BackgroundTransparency = 1
  2866. Frame18.BorderSizePixel = 0
  2867. Frame18.ZIndex = 3
  2868. NumberValue19.Name = "num"
  2869. NumberValue19.Parent = ImageButton17
  2870. NumberValue19.Value = 6
  2871. ImageButton20.Name = "Aluminum"
  2872. ImageButton20.Parent = ImageLabel1
  2873. ImageButton20.Transparency = 1
  2874. ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2875. ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
  2876. ImageButton20.BackgroundTransparency = 1
  2877. ImageButton20.ZIndex = 4
  2878. ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
  2879. Frame21.Name = "Selection"
  2880. Frame21.Parent = ImageButton20
  2881. Frame21.Transparency = 1
  2882. Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2883. Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2884. Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
  2885. Frame21.BackgroundTransparency = 1
  2886. Frame21.BorderSizePixel = 0
  2887. Frame21.ZIndex = 3
  2888. NumberValue22.Name = "num"
  2889. NumberValue22.Parent = ImageButton20
  2890. NumberValue22.Value = 7
  2891. ImageButton23.Name = "Gold"
  2892. ImageButton23.Parent = ImageLabel1
  2893. ImageButton23.Transparency = 1
  2894. ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2895. ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
  2896. ImageButton23.BackgroundTransparency = 1
  2897. ImageButton23.ZIndex = 4
  2898. ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
  2899. Frame24.Name = "Selection"
  2900. Frame24.Parent = ImageButton23
  2901. Frame24.Transparency = 1
  2902. Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2903. Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2904. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  2905. Frame24.BackgroundTransparency = 1
  2906. Frame24.BorderSizePixel = 0
  2907. Frame24.ZIndex = 3
  2908. NumberValue25.Name = "num"
  2909. NumberValue25.Parent = ImageButton23
  2910. NumberValue25.Value = 8
  2911. ImageButton26.Name = "Plank"
  2912. ImageButton26.Parent = ImageLabel1
  2913. ImageButton26.Transparency = 1
  2914. ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2915. ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
  2916. ImageButton26.BackgroundTransparency = 1
  2917. ImageButton26.ZIndex = 4
  2918. ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
  2919. Frame27.Name = "Selection"
  2920. Frame27.Parent = ImageButton26
  2921. Frame27.Transparency = 1
  2922. Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2923. Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2924. Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
  2925. Frame27.BackgroundTransparency = 1
  2926. Frame27.BorderSizePixel = 0
  2927. Frame27.ZIndex = 3
  2928. NumberValue28.Name = "num"
  2929. NumberValue28.Parent = ImageButton26
  2930. NumberValue28.Value = 9
  2931. ImageButton29.Name = "Log"
  2932. ImageButton29.Parent = ImageLabel1
  2933. ImageButton29.Transparency = 1
  2934. ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2935. ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
  2936. ImageButton29.BackgroundTransparency = 1
  2937. ImageButton29.ZIndex = 4
  2938. ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
  2939. Frame30.Name = "Selection"
  2940. Frame30.Parent = ImageButton29
  2941. Frame30.Transparency = 1
  2942. Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2943. Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2944. Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
  2945. Frame30.BackgroundTransparency = 1
  2946. Frame30.BorderSizePixel = 0
  2947. Frame30.ZIndex = 3
  2948. NumberValue31.Name = "num"
  2949. NumberValue31.Parent = ImageButton29
  2950. NumberValue31.Value = 10
  2951. ImageButton32.Name = "Gravel"
  2952. ImageButton32.Parent = ImageLabel1
  2953. ImageButton32.Transparency = 1
  2954. ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2955. ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
  2956. ImageButton32.BackgroundTransparency = 1
  2957. ImageButton32.ZIndex = 4
  2958. ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
  2959. Frame33.Name = "Selection"
  2960. Frame33.Parent = ImageButton32
  2961. Frame33.Transparency = 1
  2962. Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2963. Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2964. Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
  2965. Frame33.BackgroundTransparency = 1
  2966. Frame33.BorderSizePixel = 0
  2967. Frame33.ZIndex = 3
  2968. NumberValue34.Name = "num"
  2969. NumberValue34.Parent = ImageButton32
  2970. NumberValue34.Value = 11
  2971. ImageButton35.Name = "Cinder"
  2972. ImageButton35.Parent = ImageLabel1
  2973. ImageButton35.Transparency = 1
  2974. ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2975. ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
  2976. ImageButton35.BackgroundTransparency = 1
  2977. ImageButton35.ZIndex = 4
  2978. ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
  2979. Frame36.Name = "Selection"
  2980. Frame36.Parent = ImageButton35
  2981. Frame36.Transparency = 1
  2982. Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2983. Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2984. Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
  2985. Frame36.BackgroundTransparency = 1
  2986. Frame36.BorderSizePixel = 0
  2987. Frame36.ZIndex = 3
  2988. NumberValue37.Name = "num"
  2989. NumberValue37.Parent = ImageButton35
  2990. NumberValue37.Value = 12
  2991. ImageButton38.Name = "Stone"
  2992. ImageButton38.Parent = ImageLabel1
  2993. ImageButton38.Transparency = 1
  2994. ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2995. ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
  2996. ImageButton38.BackgroundTransparency = 1
  2997. ImageButton38.ZIndex = 4
  2998. ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
  2999. Frame39.Name = "Selection"
  3000. Frame39.Parent = ImageButton38
  3001. Frame39.Transparency = 1
  3002. Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3003. Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3004. Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
  3005. Frame39.BackgroundTransparency = 1
  3006. Frame39.BorderSizePixel = 0
  3007. Frame39.ZIndex = 3
  3008. NumberValue40.Name = "num"
  3009. NumberValue40.Parent = ImageButton38
  3010. NumberValue40.Value = 13
  3011. ImageButton41.Name = "Cement"
  3012. ImageButton41.Parent = ImageLabel1
  3013. ImageButton41.Transparency = 1
  3014. ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3015. ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
  3016. ImageButton41.BackgroundTransparency = 1
  3017. ImageButton41.ZIndex = 4
  3018. ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
  3019. Frame42.Name = "Selection"
  3020. Frame42.Parent = ImageButton41
  3021. Frame42.Transparency = 1
  3022. Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3023. Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3024. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  3025. Frame42.BackgroundTransparency = 1
  3026. Frame42.BorderSizePixel = 0
  3027. Frame42.ZIndex = 3
  3028. NumberValue43.Name = "num"
  3029. NumberValue43.Parent = ImageButton41
  3030. NumberValue43.Value = 14
  3031. ImageButton44.Name = "Red Plastic"
  3032. ImageButton44.Parent = ImageLabel1
  3033. ImageButton44.Transparency = 1
  3034. ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3035. ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
  3036. ImageButton44.BackgroundTransparency = 1
  3037. ImageButton44.ZIndex = 4
  3038. ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
  3039. Frame45.Name = "Selection"
  3040. Frame45.Parent = ImageButton44
  3041. Frame45.Transparency = 1
  3042. Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3043. Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3044. Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
  3045. Frame45.BackgroundTransparency = 1
  3046. Frame45.BorderSizePixel = 0
  3047. Frame45.ZIndex = 3
  3048. NumberValue46.Name = "num"
  3049. NumberValue46.Parent = ImageButton44
  3050. NumberValue46.Value = 15
  3051. ImageButton47.Name = "Blue Plastic"
  3052. ImageButton47.Parent = ImageLabel1
  3053. ImageButton47.Transparency = 1
  3054. ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3055. ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
  3056. ImageButton47.BackgroundTransparency = 1
  3057. ImageButton47.ZIndex = 4
  3058. ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
  3059. Frame48.Name = "Selection"
  3060. Frame48.Parent = ImageButton47
  3061. Frame48.Transparency = 1
  3062. Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3063. Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3064. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  3065. Frame48.BackgroundTransparency = 1
  3066. Frame48.BorderSizePixel = 0
  3067. Frame48.ZIndex = 3
  3068. NumberValue49.Name = "num"
  3069. NumberValue49.Parent = ImageButton47
  3070. NumberValue49.Value = 16
  3071. ImageButton50.Name = "Water"
  3072. ImageButton50.Parent = ImageLabel1
  3073. ImageButton50.Transparency = 1
  3074. ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3075. ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
  3076. ImageButton50.BackgroundTransparency = 1
  3077. ImageButton50.ZIndex = 4
  3078. ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
  3079. Frame51.Name = "Selection"
  3080. Frame51.Parent = ImageButton50
  3081. Frame51.Transparency = 1
  3082. Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3083. Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3084. Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
  3085. Frame51.BackgroundTransparency = 1
  3086. Frame51.BorderSizePixel = 0
  3087. Frame51.ZIndex = 3
  3088. NumberValue52.Name = "num"
  3089. NumberValue52.Parent = ImageButton50
  3090. NumberValue52.Value = 17
  3091. ImageButton53.Name = "Dig"
  3092. ImageButton53.Parent = ImageLabel1
  3093. ImageButton53.Transparency = 1
  3094. ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3095. ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
  3096. ImageButton53.BackgroundTransparency = 1
  3097. ImageButton53.ZIndex = 4
  3098. ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
  3099. Frame54.Name = "Selection"
  3100. Frame54.Parent = ImageButton53
  3101. Frame54.Transparency = 1
  3102. Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3103. Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3104. Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
  3105. Frame54.BackgroundTransparency = 1
  3106. Frame54.BorderSizePixel = 0
  3107. Frame54.ZIndex = 3
  3108. for i,v in pairs(mas:GetChildren()) do
  3109. v.Parent = gPlayers.LocalPlayer.PlayerGui
  3110. pcall(function() v:MakeJoints() end)
  3111. end
  3112. mas:Destroy()
  3113. for i,v in pairs(cors) do
  3114. spawn(function()
  3115. pcall(v)
  3116. end)
  3117. end
  3118. wait(0.01)
  3119. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3120. material = 1
  3121. local Terrain = workspace.Terrain
  3122. local CC = workspace.CurrentCamera
  3123.  
  3124. local SelB = Instance.new("SelectionBox")
  3125. SelB.Color = BrickColor.new("Bright green")
  3126.  
  3127. local SelP = Instance.new("Part")
  3128. SelP.Anchored = true
  3129. SelP.formFactor = Enum.FormFactor.Custom
  3130.  
  3131. HopperBin0.Selected:connect(function(M)
  3132. SelB.Parent = gPlayers.LocalPlayer.PlayerGui
  3133. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
  3134. SelB.Adornee = nil
  3135.  
  3136. local ClickState = "None"
  3137.  
  3138. local ClickType = 1
  3139.  
  3140. local TerrainClick = 1
  3141.  
  3142. local P1 = nil
  3143.  
  3144. M.KeyDown:connect(function(K)
  3145. if K == "q" then
  3146. ClickType = 1
  3147. elseif K == "e" then
  3148. ClickType = 2
  3149. elseif K == "z" then
  3150. TerrainClick = 0
  3151. elseif K == "x" then
  3152. TerrainClick = 1
  3153. elseif K == "c" then
  3154. TerrainClick = 2
  3155. elseif K == "v" then
  3156. TerrainClick = 3
  3157. elseif K == "b" then
  3158. TerrainClick = 4
  3159. end
  3160. end)
  3161.  
  3162. M.Button1Down:connect(function()
  3163. if not M.Target then return end
  3164. local Hit = M.Hit
  3165. local cellPos
  3166. if ClickType == 1 then
  3167. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3168. else
  3169. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3170. end
  3171. if ClickState == "None" then
  3172. ClickState = "Click1"
  3173. P1 = cellPos
  3174. end
  3175. end)
  3176. M.Button1Up:connect(function()
  3177. if not M.Target then return end
  3178. local Hit = M.Hit
  3179. local cellPos
  3180. if ClickType == 1 then
  3181. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3182. else
  3183. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3184. end
  3185. if ClickState == "Click1" then
  3186. ClickState = "None"
  3187. local MinX = math.min(P1.x,cellPos.x)
  3188. local MaxX = math.max(P1.x,cellPos.x)
  3189. local MinY = math.min(P1.y,cellPos.y)
  3190. local MaxY = math.max(P1.y,cellPos.y)
  3191. local MinZ = math.min(P1.z,cellPos.z)
  3192. local MaxZ = math.max(P1.z,cellPos.z)
  3193. for y=MinY,MaxY do
  3194. for x=MinX,MaxX do
  3195. for z=MinZ,MaxZ do
  3196. Terrain:SetCell(x, y, z, material, 0, 0)
  3197. end
  3198. end
  3199. wait()
  3200. end
  3201. SelB.Adornee = nil
  3202. end
  3203. end)
  3204. M.Move:connect(function()
  3205. if not M.Target then return end
  3206. local Hit = M.Hit
  3207. local cellPos
  3208. if ClickType == 1 then
  3209. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3210. else
  3211. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3212. end
  3213. if ClickState == "Click1" then
  3214. SelB.Adornee = SelP
  3215. local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
  3216. local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
  3217. local Size = W1-W2
  3218. Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
  3219. local Pos = (W1+W2)/2
  3220. SelP.Size = Size
  3221. SelP.CFrame = CFrame.new(Pos)
  3222. end
  3223. end)
  3224. end)
  3225.  
  3226. HopperBin0.Deselected:connect(function()
  3227. SelB.Parent = nil
  3228. SelB.Adornee = nil
  3229. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3230. end)
  3231.  
  3232. game:GetService('RunService').Stepped:connect(function()
  3233. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
  3234. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3235. if child:FindFirstChild("num") and material ~= child.num.Value then
  3236. child.Selection.BackgroundTransparency = 1
  3237. end
  3238. end
  3239. end
  3240. end)
  3241.  
  3242. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3243. local enterCon = child.MouseButton1Click:connect(function()
  3244. if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
  3245. material = child.num.Value
  3246. if child:FindFirstChild("Selection") then
  3247. child.Selection.BackgroundTransparency = 0
  3248. end
  3249. end
  3250. end)
  3251. end
  3252.  
  3253. local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
  3254. workspace.Terrain:Clear()
  3255. end)
  3256.  
  3257. function sandbox(var,func)
  3258. local env = getfenv(func)
  3259. local newenv = setmetatable({},{
  3260. __index = function(self,k)
  3261. if k=="script" then
  3262. return var
  3263. else
  3264. return env[k]
  3265. end
  3266. end,
  3267. })
  3268. setfenv(func,newenv)
  3269. return func
  3270. end
  3271. cors = {}
  3272. mas = Instance.new("Model",game:GetService("Lighting"))
  3273. HopperBin0 = Instance.new("HopperBin")
  3274. HopperBin0.Name = "Terrain Delete"
  3275. HopperBin0.Parent = mas
  3276. for i,v in pairs(mas:GetChildren()) do
  3277. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3278. pcall(function() v:MakeJoints() end)
  3279. end
  3280. mas:Destroy()
  3281. for i,v in pairs(cors) do
  3282. spawn(function()
  3283. pcall(v)
  3284. end)
  3285. end
  3286.  
  3287. function onClick(mouse)
  3288. p = gPlayers.LocalPlayer
  3289. if (p == nil) then return end
  3290. if (p.Character == nil) then return end
  3291.  
  3292. if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
  3293.  
  3294. c = workspace.Terrain
  3295.  
  3296. local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  3297. local x = cellPos.x
  3298. local y = cellPos.y
  3299. local z = cellPos.z
  3300.  
  3301. c:SetCell(x, y, z, 0, 0, 0)
  3302.  
  3303. end
  3304.  
  3305.  
  3306. function onSelect(mouse)
  3307. mouse.Button1Down:connect(function () onClick(mouse) end)
  3308. end
  3309.  
  3310.  
  3311.  
  3312. HopperBin0.Selected:connect(onSelect)
  3313. end
  3314. end)
  3315.  
  3316. addcmd('knife', 'tm knife',{},
  3317. function(args, speaker)
  3318. if speaker.userId ~= LP.userId then
  3319. lponly(speaker) else
  3320. if not game.CoreGui:FindFirstChild('CorePart') then
  3321. local data = game:GetObjects("rbxassetid://01318477872")[1]
  3322. local script = data.LocalScript
  3323.  
  3324. local player = gPlayers.LocalPlayer
  3325.  
  3326. if not player:FindFirstChild("TMDATA") then
  3327. script.Parent.TMDATA:Clone().Parent = player
  3328. end
  3329. if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
  3330. script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
  3331. end
  3332.  
  3333. if game.CoreGui:FindFirstChild("CorePart") then
  3334. game.CoreGui.CorePart:Remove()
  3335. end
  3336.  
  3337.  
  3338. if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
  3339. local knife = script.Parent["Knife"]:Clone()
  3340. local gun = script.Parent["Gun"]:Clone()
  3341. local fastgun = script.Parent["Fast Gun"]:Clone()
  3342. local lasergun = script.Parent["Laser Gun"]:Clone()
  3343. script.Parent.CorePart:Clone().Parent = game.CoreGui
  3344.  
  3345. local newKnife = knife:Clone()
  3346. newKnife.Parent = player.Backpack
  3347. _G.tool = newKnife
  3348.  
  3349. local barActive = false
  3350. local activeOptions = {}
  3351.  
  3352. function createDDown(callback,but,...)
  3353. if barActive then
  3354. for i,v in pairs(activeOptions) do
  3355. v:Destroy()
  3356. end
  3357. activeOptions = {}
  3358. barActive = false
  3359. return
  3360. else
  3361. barActive = true
  3362. end
  3363. local slots = {...}
  3364. local base = but
  3365. for i,v in pairs(slots) do
  3366. local newOption = base:Clone()
  3367. newOption.ZIndex = 5
  3368. newOption.Name = "Option "..tostring(i)
  3369. newOption.Parent = base.Parent
  3370. table.insert(activeOptions,newOption)
  3371. newOption.Position = UDim2.new(but.Position.X.Scale, but.Position.X.Offset, but.Position.Y.Scale, but.Position.Y.Offset + (#activeOptions * but.Size.Y.Offset))
  3372. newOption.Text = slots[i]
  3373. newOption.MouseButton1Down:connect(function()
  3374. but.Text = slots[i]
  3375. callback(slots[i])
  3376. for i,v in pairs(activeOptions) do
  3377. v:Destroy()
  3378. end
  3379. activeOptions = {}
  3380. barActive = false
  3381. end)
  3382. end
  3383. end
  3384.  
  3385. local butA = game.CoreGui.CorePart.Frame.ability
  3386. butA.MouseButton1Down:connect(function()
  3387. createDDown(function(sel)
  3388. gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
  3389. end,butA,"Normal","Laser Knife","Boom Blade","MLG Money","Midas Touch","HOT! Knife","Ghost Knife","Tesla Knife","Quickscoper","Rainbow Laser","Spider Knife","Warp Knife","Brainwasher", "Bolting Knife")
  3390. end)
  3391.  
  3392. local butG = game.CoreGui.CorePart.Frame.gamemode
  3393. butG.MouseButton1Down:connect(function()
  3394. createDDown(function(sel)
  3395. game.ReplicatedStorage.GameInProgress.Mode.Value = sel
  3396. end,butG,"Classic","Cold Killer")
  3397. end)
  3398.  
  3399. local butM = game.CoreGui.CorePart.Frame.mode
  3400. butM.MouseButton1Down:connect(function()
  3401. createDDown(function(sel)
  3402. _G.knifemode = sel
  3403. end,butM,"PlayersOnly","Players+Npcs")
  3404. end)
  3405.  
  3406. _G.Scripters = {}
  3407.  
  3408. function _G.loadScripts(obj,runall)
  3409. for i,v in pairs(obj:GetDescendants()) do
  3410. if v:IsA("LocalScript") and (not v.Disabled or runall) then
  3411. table.insert(_G.Scripters,v)
  3412. local i = #_G.Scripters
  3413. local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
  3414. spawn(loadfunc)
  3415. print("LOADED",v:GetFullName())
  3416. end
  3417. end
  3418. end
  3419.  
  3420. player.CharacterAdded:Connect(function()
  3421. newKnife = knife:Clone()
  3422. newKnife.Parent = player.Backpack
  3423. _G.loadScripts(newKnife)
  3424. end)
  3425.  
  3426. _G.knifemode = "PlayersOnly"
  3427. _G.loadScripts(newKnife)
  3428. --_G.loadScripts(gun)
  3429. --_G.loadScripts(fastgun)
  3430. --_G.loadScripts(lasergun)
  3431. end
  3432. end
  3433. end)
  3434.  
  3435. addcmd('devuzi', 'op af',{'uzi'},
  3436. function(args, speaker)
  3437. if speaker.userId ~= LP.userId then
  3438. lponly(speaker)
  3439. else
  3440. wait(0.25);
  3441.  
  3442.  
  3443. _clear=function()
  3444. local c={char;bag;gui;};
  3445. for i=1,#c do
  3446. local c=c[i]:children();
  3447. for i=1,#c do
  3448. if(c[i].Name==name)then
  3449. c[i].Parent=nil;
  3450. end;
  3451. end;
  3452. end;
  3453. local n=name..user.Name;
  3454. local c=workspace:children();
  3455. for i=1,#c do
  3456. if(c[i].Name==n)then
  3457. c[i].Parent=nil;
  3458. end;
  3459. end;
  3460. end;
  3461.  
  3462. _valid_key=function(object,key)
  3463. return object[key],key;
  3464. end;
  3465.  
  3466. _new=function(class)
  3467. return function(props)
  3468. if(type(list_base_props)=='table')then
  3469. for i,v in next,list_base_props do
  3470. if(props[i]==nil)then
  3471. props[i]=v;
  3472. end;
  3473. end;
  3474. end;
  3475.  
  3476. local object=class;
  3477.  
  3478. if(type(class)=='string')then
  3479. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  3480. end;
  3481.  
  3482. local parent=props[1];
  3483. props[1]=nil;
  3484.  
  3485. for i,v in next,props do
  3486. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  3487. if(not load)then
  3488. load,res,key=pcall(_valid_key,object,i);
  3489. end;
  3490.  
  3491. if(key)then
  3492. t=type(res);
  3493. s=tostring(res);
  3494. if(t=='userdata'and s=='Signal '..key)then
  3495. if(type(v)=='table')then
  3496. for i=1,#v do
  3497. res:connect(v[i]);
  3498. end;
  3499. else
  3500. res:connect(v);
  3501. end;
  3502. else
  3503. object[key]=v;
  3504. end;
  3505. end;
  3506. end;
  3507.  
  3508. if(parent)then
  3509. object.Parent=parent;
  3510. end;
  3511.  
  3512. return object;
  3513. end;
  3514. end;
  3515.  
  3516. _RGB=function(r,g,b)
  3517. return Color3.new(r/255,g/255,b/255);
  3518. end;
  3519.  
  3520. _copy=function(o)
  3521. local def=o.archivable;
  3522. o.archivable=true;
  3523. local c=o:clone();
  3524. o.archivable=def;
  3525. return c;
  3526. end;
  3527.  
  3528. _hum=function(char)
  3529. local hum=char:findFirstChild'Humanoid';
  3530. if(not hum or hum.className~='Humanoid')then
  3531. local c=char:children();
  3532. for i=1,#c do
  3533. if(c[i].className=='Humanoid')then
  3534. return c[i];
  3535. end;
  3536. end;
  3537. else
  3538. return hum;
  3539. end;
  3540. end;
  3541.  
  3542. _hum_tag=function(hum)
  3543. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  3544. c.Name='creator';
  3545. c.Value=user;
  3546. if(hum.Health==0 and not hum:findFirstChild'killed')then
  3547. Instance.new('BoolValue',hum).Name='killed';
  3548. bullets.clip=bullets.clip+10;
  3549. end;
  3550. end;
  3551.  
  3552. _hum_dam=function(hum,dam,percent)
  3553. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  3554. if(hum.Health<=hum.MaxHealth*0.1)then
  3555. _hum_tag(hum);
  3556. end;
  3557. end;
  3558.  
  3559. _ray=function(v0,v1,i)
  3560. local mag=(v0-v1).magnitude;
  3561. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  3562.  
  3563. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  3564. end;
  3565.  
  3566. _must=function(v0,v1,i)
  3567. local hit,pos=_ray(v0,v1,i);
  3568. return not hit and mouse.target or hit,pos;
  3569. end;
  3570.  
  3571. _cframe=function(x,y,z,r0,r1,r2)
  3572. return CFrame.Angles(
  3573. math.rad(r0 or 0),
  3574. math.rad(r1 or 0),
  3575. math.rad(r2 or 0)
  3576. )*CFrame.new(x,y,z);
  3577. end;
  3578.  
  3579. _update=function()
  3580. if(bool_active and not screen.Parent)then
  3581. screen.Parent=gui;
  3582. elseif(not bool_active and screen.Parent)then
  3583. screen.Parent=nil;
  3584. end;
  3585. end;
  3586.  
  3587. _light=function(v0,v1)
  3588. local mag=(v0-v1).magnitude;
  3589. local len=math.random(2,7);
  3590. len=len>mag/2 and mag/2 or len;
  3591.  
  3592. --local light=_new'part'{
  3593. -- cFrame=CFrame.new(v0,v1);
  3594. -- size=Vector3.new(1,1,1);
  3595. -- color=_RGB(255,255,0);
  3596. -- anchored=true;
  3597. -- inv;
  3598. --};
  3599. _new'blockMesh'{
  3600. scale=Vector3.new(0.2,0.2,len);
  3601. offset=Vector3.new(0,0,-len/2);
  3602. light;
  3603. };
  3604.  
  3605. local bb=_new'billboardGui'{
  3606. size=UDim2.new(2,0,2,0);
  3607. adornee=light;
  3608. light;
  3609. };
  3610. _new'imageLabel'{
  3611. image=url:format(109101526);
  3612. backgroundTransparency=1;
  3613. size=UDim2.new(1,0,1,0);
  3614. bb;
  3615. };
  3616.  
  3617. -- _rem(light,0.15);
  3618. end;
  3619.  
  3620. _rem=function(object,del)
  3621. if(del)then
  3622. delay(del,function()
  3623. if(object.Parent)then
  3624. object.Parent=nil;
  3625. end;
  3626. end);
  3627. else
  3628. pcall(function()
  3629. if(object.Parent)then
  3630. object.Parent=nil;
  3631. end;
  3632. end);
  3633. end;
  3634. end;
  3635.  
  3636. _blood=function(pos,count)
  3637. for i=1,count do
  3638. local p=_new'part'{
  3639. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3640. position=pos+Vector3.new(math.random(),math.random(),math.random());
  3641. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3642. size=Vector3.new(math.random(),math.random(),math.random())/3;
  3643. color=_RGB(255,0,0);
  3644. transparency=0.5;
  3645. canCollide=true;
  3646. bottomSurface=0;
  3647. topSurface=0;
  3648. formFactor=3;
  3649. locked=true;
  3650. inv;
  3651. };
  3652. delay(5,function()
  3653. p.Parent=nil;
  3654. end);
  3655. end;
  3656. end;
  3657.  
  3658. _make_hue=function()
  3659. h_hue=_new'part'{
  3660. size=Vector3.new(0.25,1.8,0.35);
  3661. color=_RGB(100,100,100);
  3662. formFactor=3;
  3663. name='hue';
  3664. handle;
  3665. };
  3666. hh_weld=_new'weld'{
  3667. c1=_cframe(0,0.5,0);
  3668. part0=handle;
  3669. part1=h_hue;
  3670. handle;
  3671. };
  3672. end;
  3673.  
  3674. _shot=function(v0,v1)
  3675. if(not time_left)then
  3676. time_left=0;
  3677. end;
  3678. if(time_left>time())then
  3679. return nil;
  3680. else
  3681. time_left=time()+math.random(1,10)/100;
  3682. end;
  3683.  
  3684. if(bullets.current<1)then
  3685. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  3686. soundId='rbxasset://sounds/SWITCH3.wav';
  3687. name='tick_sound';
  3688. volume=0.2;
  3689. pitch=2;
  3690. head;
  3691. };
  3692. tick_sound:play();
  3693. if(bullets.clip>0)then
  3694. time_left=time()+2;
  3695. h_hue:breakJoints();
  3696. h_hue.CanCollide=true;
  3697. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  3698. _rem(h_hue,10);
  3699. delay(1.9,function()
  3700. _make_hue();
  3701. local got=(bullets.clip>bullets.maximum and
  3702. bullets.maximum or
  3703. bullets.clip)-bullets.current;
  3704.  
  3705. bullets.clip=bullets.clip-got;
  3706. bullets.current=bullets.current+got;
  3707. end);
  3708. end;
  3709. return nil;
  3710. else
  3711. bullets.current=bullets.current-1;
  3712.  
  3713. h_weld.C1=_cframe(0,0.75,0,
  3714. -math.random(1000,1100)/10,180,0);
  3715. d_weld.C1=_cframe(0,-0.25,0.3);
  3716.  
  3717. lightstuff.Visible=true;
  3718. delay(0.1,function()
  3719. lightstuff.Visible=false;
  3720. end);
  3721.  
  3722. _rem(_new'part'{
  3723. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  3724. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  3725. size=Vector3.new(0.1,0.1,0.4);
  3726. color=_RGB(200,200,0);
  3727. material='Slate';
  3728. canCollide=true;
  3729. formFactor=3;
  3730. inv;
  3731. },5);
  3732.  
  3733. delay(0.1,function()
  3734. d_weld.C1=_cframe(0,-0.25,0);
  3735. if(bool_active)then
  3736. h_weld.C1=h_weld_cf_active;
  3737. end;
  3738. end)
  3739. end;
  3740.  
  3741. local hit,pos=_must(v0,v1,char);
  3742.  
  3743. shot_sound:play();
  3744.  
  3745.  
  3746. _rem(_new'part'{
  3747. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3748. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3749. color=_RGB(255,255,0);
  3750. transparency=0.6;
  3751. reflectance=0.5;
  3752. canCollide=false;
  3753. bottomSurface=0;
  3754. anchored=true;
  3755. formFactor=3;
  3756. topSurface=0;
  3757. inv;
  3758. },.15);
  3759. _light(v0,v1);
  3760.  
  3761. if(not hit)then return nil;end;
  3762.  
  3763. if(hit.Parent.className=='Hat')then
  3764. hit:breakJoints();
  3765. hit.CanCollide=true;
  3766. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  3767. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  3768. else
  3769. local hum=_hum(hit.Parent);
  3770. if(not hum)then
  3771. if(hit.Anchored==false and hit.Size.magnitude<4)then
  3772. hit:breakJoints();
  3773. hit.CanCollide=true;
  3774. end;
  3775. else
  3776. _hum_dam(hum,math.random(4,6));
  3777. _blood(pos,math.random(3,6));
  3778. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  3779. if(hit.Name=='Head')then
  3780. hum.Health=0;
  3781. _blood(pos,math.random(3,6));
  3782. delay(0.001,function()
  3783. _new(workspace:FindFirstChild'head_shot'or'sound'){
  3784. pitch=math.random(70,100)*0.01;
  3785. soundId=url:format(1876552);
  3786. name='head_shot';
  3787. workspace;
  3788. }:play();
  3789. end);
  3790. _hum_tag(hum);
  3791. _rem(_new'part'{
  3792. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3793. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3794. color=torso.Color;
  3795. transparency=0.5;
  3796. canCollide=false;
  3797. bottomSurface=0;
  3798. anchored=true;
  3799. formFactor=3;
  3800. topSurface=0;
  3801. inv;
  3802. },30);
  3803. hit.Parent=nil;
  3804. for b=0,1 do
  3805. for a=0,1 do
  3806. for i=0,1 do
  3807. _rem(_new'part'{
  3808. velocity=CFrame.new(v0,pos).lookVector*20;
  3809. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  3810. size=Vector3.new(0.5,0.5,0.5);
  3811. color=_RGB(255,255,255);
  3812. bottomSurface=0;
  3813. canCollide=true;
  3814. transparency=0;
  3815. formFactor=3;
  3816. topSurface=0;
  3817. hum;
  3818. },30);
  3819. end;
  3820. end;
  3821. end;
  3822. end;
  3823. end;
  3824. end;
  3825. end;
  3826.  
  3827.  
  3828.  
  3829. _cf_select=function(mouse)
  3830. mouse.Icon=url:format(109111387);--108999296
  3831. bool_active=true;
  3832.  
  3833. local arm=char:findFirstChild'Right Arm';
  3834. local weld=torso:findFirstChild'Right Shoulder';
  3835. if(arm and weld)then
  3836. h_weld.Part0=arm;
  3837. h_weld.C1=h_weld_cf_active;
  3838.  
  3839. weld.Part1=nil;
  3840. weld.Part0=nil;
  3841.  
  3842. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  3843. name='right_arml';
  3844. part0=torso;
  3845. part1=arm;
  3846. torso;
  3847. };
  3848.  
  3849. arml=(arml or 0)+1;
  3850. local alv=arml;
  3851. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  3852. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  3853. gyro.P=30000;
  3854. gyro.D=1000;
  3855. gyro.Name='p_gyro';
  3856. repeat
  3857. local pos=mouse.hit.p;
  3858. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  3859.  
  3860. val=-math.pi*0.5;
  3861. valp=val*-1;
  3862. p0=torso.CFrame;
  3863. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  3864. p1=p0+((p0.p-pos).unit*-2);
  3865. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  3866. hitpos=torso.Position;
  3867. cj=CFrame.new(hitpos);
  3868. c0=torso.CFrame:inverse()*cj;
  3869. c1=p2:inverse()*cj;
  3870. weld.C0=c0;
  3871. weld.C1=c1;
  3872.  
  3873. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  3874.  
  3875. wait(0.001);
  3876. until arml~=alv;
  3877. gyro.Parent=nil;
  3878. end;
  3879. end;
  3880.  
  3881. _cf_deselect=function()
  3882. bool_active=false;
  3883. arml=(arml or 0)+1;
  3884. loop_shot=(loop_shot or 0)+1;
  3885.  
  3886. h_weld.Part0=torso;
  3887. h_weld.C1=h_weld_cf_inactive;
  3888.  
  3889. local weld=torso:findFirstChild'right_arml';
  3890. if(weld)then
  3891. weld.Part1=nil;
  3892. weld.Part0=nil;
  3893. end;
  3894. local arm=char:findFirstChild'Right Arm';
  3895. local weld=torso:findFirstChild'Right Shoulder';
  3896. if(arm and weld)then
  3897. weld.Part0=torso;
  3898. weld.Part1=arm;
  3899. end;
  3900. end;
  3901.  
  3902. _cf_mouse=function(event,fun)
  3903. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  3904. if(bool_active)then
  3905. fun(...);
  3906. end;
  3907. end);
  3908. end;
  3909.  
  3910.  
  3911. do
  3912. local main=getfenv(0);
  3913. local c=game:children();
  3914. local check=function(v)
  3915. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  3916. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  3917. end;
  3918. end;
  3919. for i=1,#c do
  3920. pcall(check,c[i]);
  3921. end;
  3922. end;
  3923.  
  3924.  
  3925. bullets={
  3926. maximum=51111111111111111111111111110;
  3927. current=511111111111111111111111111111110;
  3928. clip=501111111111111111111111111111111*4;
  3929. };
  3930.  
  3931. list_base_props={
  3932. backgroundColor3=_RGB(0,0,0);
  3933. textColor3=_RGB(200,200,200);
  3934. borderSizePixel=0;
  3935. color=_RGB(0,0,0);
  3936. archivable=false;
  3937. canCollide=false;
  3938. bottomSurface=0;
  3939. topSurface=0;
  3940. formFactor=0;
  3941. locked=true;
  3942. };
  3943.  
  3944.  
  3945.  
  3946. user=players.localPlayer;
  3947. mouse=user:getMouse();
  3948. char=user.Character;
  3949. gui=user.PlayerGui;
  3950. bag=user.Backpack;
  3951. torso=char.Torso;
  3952. head=char.Head;
  3953. hum=_hum(char);
  3954.  
  3955. url='rbxassetid://%d';
  3956. name='dev-uzi';
  3957.  
  3958. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  3959. 0,90,-70);
  3960. h_weld_cf_active=_cframe(0,0.75,0,
  3961. -110,180,0);
  3962.  
  3963. assert(hum,'humanoid is not found');
  3964.  
  3965.  
  3966.  
  3967. _clear();
  3968.  
  3969.  
  3970. _cf_mouse('button1Down',function()
  3971. loop_shot=(loop_shot or 0)+1;
  3972. local vers=loop_shot;
  3973. local step=runService.Stepped;
  3974. repeat
  3975. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  3976. step:wait();--wait(0.001);
  3977. until vers~=loop_shot;
  3978. end);
  3979.  
  3980. _cf_mouse('button1Up',function()
  3981. loop_shot=(loop_shot or 0)+1;
  3982. end);
  3983.  
  3984. _cf_mouse('move',function()
  3985. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  3986. end);
  3987.  
  3988. _cf_mouse('keyDown',function(k)
  3989. if(k=='r')then
  3990. if(bullets.clip>0 and time_left<=time())then
  3991. local got=(bullets.clip>bullets.maximum and
  3992. bullets.maximum or
  3993. bullets.clip)-bullets.current;
  3994.  
  3995. bullets.clip=bullets.clip-got;
  3996. bullets.current=bullets.current+got;
  3997. if(got~=0)then
  3998. time_left=time()+2;
  3999. end;
  4000. end;
  4001. end;
  4002. end);
  4003.  
  4004.  
  4005. screen=_new'screenGui'{
  4006. name=name;
  4007. };
  4008.  
  4009. cross_f=_new'frame'{
  4010. size=UDim2.new(0,21,0,21);
  4011. backgroundTransparency=1;
  4012. screen;
  4013. };
  4014.  
  4015. for i=0,1 do
  4016. _new'frame'{
  4017. position=UDim2.new(0,13*i,0,11);
  4018. size=UDim2.new(0,10,0,1);
  4019. cross_f;
  4020. };
  4021. end;
  4022.  
  4023. for i=0,1 do
  4024. _new'frame'{
  4025. position=UDim2.new(0,11,0,13*i);
  4026. size=UDim2.new(0,1,0,10);
  4027. cross_f;
  4028. };
  4029. end;
  4030.  
  4031.  
  4032.  
  4033. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  4034. soundId=url:format(2920959);
  4035. pitch=1.4;
  4036. head;
  4037. };
  4038. if(shot_sound.Name~='2920959')then
  4039. shot_sound.Name='2920959';
  4040. shot_sound:play();
  4041. end;
  4042.  
  4043. bin=_new'hopperBin'{
  4044. deselected=_cf_deselect;
  4045. selected=_cf_select;
  4046. name=name;
  4047. bag;
  4048. };
  4049.  
  4050. inv=_new'model'{
  4051. name=name;
  4052. char;
  4053. };
  4054.  
  4055. handle=_new'part'{
  4056. size=Vector3.new(0.3,1.3,0.4);
  4057. color=_RGB(140,140,140);
  4058. name='handle';
  4059. formFactor=3;
  4060. inv;
  4061. touched=function(hit)
  4062. if(hit.Parent.className=='Model')then
  4063. local hum=_hum(hit.Parent);
  4064. if(hum~=nil)then
  4065. _hum_dam(hum,handle.Velocity.magnitude);
  4066. end;
  4067. end;
  4068. end;
  4069. };
  4070. h_weld=_new'weld'{
  4071. c1=h_weld_cf_inactive;
  4072. part1=handle;
  4073. part0=torso;
  4074. handle;
  4075. };
  4076. _make_hue();
  4077.  
  4078. h_part=_new'part'{
  4079. size=Vector3.new(0.4,0.4,1.4);
  4080. color=_RGB(140,140,140);
  4081. name='handle';
  4082. formFactor=3;
  4083. handle;
  4084. };
  4085. hp_weld=_new'weld'{
  4086. c1=_cframe(0,-1.3/2,-0.3,
  4087. 20,0,0);
  4088. part0=handle;
  4089. part1=h_part;
  4090. handle;
  4091. };
  4092.  
  4093. drag=_new'part'{
  4094. size=Vector3.new(0.5,0.45,1.5);
  4095. color=_RGB(100,100,100);
  4096. name='handle';
  4097. formFactor=3;
  4098. handle;
  4099. };
  4100. d_weld=_new'weld'{
  4101. c1=_cframe(0,-0.25,0);
  4102. part0=h_part;
  4103. part1=drag;
  4104. handle;
  4105. };
  4106.  
  4107. tube=_new'part'{
  4108. size=Vector3.new(0.2,0.2,1.5);
  4109. color=_RGB(0,0,0);
  4110. name='handle';
  4111. formFactor=3;
  4112. handle;
  4113. };
  4114. t_weld=_new'weld'{
  4115. c1=_cframe(0,-0.3,-0.1);
  4116. part0=h_part;
  4117. part1=tube;
  4118. handle;
  4119. };
  4120.  
  4121. bullets_label=_new'textLabel'{
  4122. textStrokeColor3=_RGB(0,0,0);
  4123. textColor3=_RGB(200,200,200);
  4124. textStrokeTransparency=0;
  4125. backgroundTransparency=1;
  4126. fontSize=5;
  4127. screen;
  4128. };
  4129.  
  4130. lightstuff=_new'frame'{
  4131. backgroundColor3=_RGB(255,255,255);
  4132. position=UDim2.new(0,0,0,-1);
  4133. backgroundTransparency=0.5;
  4134. size=UDim2.new(1,0,1,1);
  4135. borderSizePixel=0;
  4136. visible=false;
  4137. screen;
  4138. };
  4139.  
  4140. coroutine.wrap(function()
  4141. local red,white,green;
  4142. repeat
  4143. if(screen.Parent)then
  4144. if(not green and bullets.current==bullets.maximum)then
  4145. green=true;
  4146. bullets_label.TextColor3=_RGB(0,200,0);
  4147. elseif(not red and bullets.current==0)then
  4148. red=true;
  4149. bullets_label.TextColor3=_RGB(200,0,0);
  4150. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  4151. bullets_label.TextColor3=_RGB(200,200,200);
  4152. green=false;
  4153. red=false;
  4154. end;
  4155. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  4156. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  4157. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  4158. end;
  4159. wait(0.001);
  4160. until nil;
  4161. end)();
  4162.  
  4163.  
  4164. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  4165. local vers=_G.dev_pistol_version;
  4166. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  4167. if(hum.Health==0)then
  4168. _clear();
  4169. end;
  4170. end
  4171. end)
  4172.  
  4173. addcmd('nil', 'removes the player',{},
  4174. function(args, speaker)
  4175. local players = getPlayer(args[1], speaker)
  4176. for i,v in pairs(players)do
  4177. pcall(function() gPlayers[v].Character:Remove() end)
  4178. gPlayers[v].Character = nil
  4179. if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
  4180. Notify('Made player(s) nil') end end end)
  4181.  
  4182. addcmd('ban', 'goodbye ;)',{},
  4183. function(args, speaker)
  4184. local players = getPlayer(args[1], speaker)
  4185. for i,v in pairs(players)do
  4186. if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
  4187. Notify('Banned player(s)') end
  4188. spawn(function()
  4189. if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  4190. if not FindTable(banname, gPlayers[v].Name) then
  4191. table.insert(banT, _players[v].userId)
  4192. banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
  4193. updatebans()
  4194. kickF(gPlayers[v])
  4195. end
  4196. end
  4197. end)
  4198. end
  4199. end)
  4200.  
  4201. addcmd('clearbans', 'welcome back!',{'clrbans'},
  4202. function(args, speaker)
  4203. banT = {}
  4204. banname = {}
  4205. Notify('Removed all bans')
  4206. updatebans()
  4207. end)
  4208.  
  4209. addcmd('unban','unbans a player',{},
  4210. function(args, speaker)
  4211. if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
  4212. table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
  4213. for i,v in pairs(banname) do
  4214. if v.NAME == tostring(args[1]) then
  4215. table.remove(banname, i)
  4216. updatebans()
  4217. end end
  4218. Notify('Unbanned ' .. args[1])
  4219. end
  4220. end)
  4221.  
  4222. addcmd('dismiss', 'dismiss',{'verify'},
  4223. function(args, speaker)
  4224. for _, child in pairs( workspace:GetChildren()) do
  4225. if child.Name == speaker.Name .. "TAB" then
  4226. child:Destroy() end end
  4227. for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
  4228. end)
  4229.  
  4230. addcmd('admin', 'ur an admin now ;o',{},
  4231. function(args, speaker)
  4232. if speaker.userId ~= LP.userId then
  4233. lponly(speaker) else
  4234. local players = getPlayer(args[1], speaker)
  4235. for i,v in pairs(players)do
  4236. spawn(function()
  4237. if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
  4238. table.insert(adminT, _players[v].userId)
  4239. adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
  4240. updateadmins()
  4241. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
  4242. Notify('Gave player(s) admin') end
  4243. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
  4244. end end) end end end)
  4245.  
  4246. addcmd('unadmin', 'removes the admin',{'noadmin'},
  4247. function(args, speaker)
  4248. if speaker.userId ~= LP.userId then
  4249. lponly(speaker) else
  4250. local players = getPlayer(args[1], speaker)
  4251. for i,v in pairs(players)do
  4252. local radmin = tostring(_players[v].Name)
  4253. if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
  4254. table.remove(adminT, GetInTable(adminT, _players[v].userId))
  4255. for a,b in pairs(adminname) do
  4256. if b.NAME == radmin then
  4257. table.remove(adminname, a)
  4258. updateadmins()
  4259. end end
  4260. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
  4261. if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
  4262. Notify('Removed admin from player(s)') end
  4263. end
  4264. end
  4265. end
  4266. end)
  4267.  
  4268. addcmd('bang','owo',{'rape'},
  4269. function(args, speaker)
  4270. local players = getPlayer(args[1], speaker)
  4271. for i,v in pairs(players)do
  4272. rape(_players[v].Name, speaker)
  4273. end
  4274. end)
  4275.  
  4276. addcmd('bgui', 'gives player billboard gui presenting text',{},
  4277. function(args, speaker)
  4278. local players = getPlayer(args[1], speaker)
  4279. for i,v in pairs(players)do
  4280. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4281. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  4282. end
  4283.  
  4284. y = Instance.new("BillboardGui")
  4285. y.Size = UDim2.new(0,100,0,150)
  4286. y.StudsOffset = Vector3.new(0,1,0)
  4287. y.Parent = gPlayers[v].Character.Head
  4288. y.Adornee = gPlayers[v].Character.Head
  4289. f = Instance.new("TextLabel")
  4290. f.Parent = y
  4291. f.BackgroundTransparency = 1
  4292. f.Position = UDim2.new(0,0,0,-50)
  4293. f.Size = UDim2.new(0,100,0,100)
  4294. f.Font = "Highway"
  4295. f.FontSize = "Size48"
  4296. f.Text = GLS(false, 1)
  4297. f.TextStrokeColor3 = Color3.new(0,0,0)
  4298. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  4299. f.TextStrokeTransparency = 0
  4300. f.TextYAlignment = "Bottom"
  4301. end
  4302. end)
  4303.  
  4304. addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
  4305. function(args, speaker)
  4306. local players = getPlayer(args[1], speaker)
  4307. for i,v in pairs(players)do
  4308. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4309. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  4310. end
  4311. end
  4312. end)
  4313.  
  4314. function pipeTp(name,target)
  4315. spawn(function()
  4316. local pipe = Instance.new("Part")
  4317. pipe.Name = "Pipe"
  4318. pipe.Color = Color3.new(52/255,142/255,64/255)
  4319. pipe.Size = Vector3.new(8,8,8)
  4320. pipe.Anchored = true
  4321. local mesh = Instance.new("SpecialMesh",pipe)
  4322. mesh.MeshId = "rbxassetid://856736661"
  4323. mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
  4324. local sound = Instance.new("Sound",pipe)
  4325. sound.SoundId = "rbxassetid://864352897"
  4326. sound.Volume = 1
  4327.  
  4328. local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
  4329.  
  4330. local char = game:GetService("Players")[name].Character
  4331. char.PrimaryPart = char.HumanoidRootPart
  4332. if char:FindFirstChild("Torso") then
  4333. char.Torso.Anchored = true
  4334. else
  4335. char.UpperTorso.Anchored = true
  4336. end
  4337.  
  4338. local torso = char.HumanoidRootPart
  4339. local initPos = torso.CFrame
  4340.  
  4341. pipe.Parent = workspace
  4342. pipe.CFrame = initPos - Vector3.new(0,8,0)
  4343.  
  4344. for i = 0,8,0.2 do
  4345. pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4346. if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4347. game:GetService("RunService").RenderStepped:wait()
  4348. end
  4349.  
  4350. sound:Play()
  4351. for i = 7,-8,-0.2 do
  4352. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4353. game:GetService("RunService").RenderStepped:wait()
  4354. end
  4355. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0))
  4356.  
  4357. for i = 8,0,-0.2 do
  4358. pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4359. game:GetService("RunService").RenderStepped:wait()
  4360. end
  4361.  
  4362. pipe.CFrame = targetpos - Vector3.new(0,8,0)
  4363. char:SetPrimaryPartCFrame(pipe.CFrame)
  4364.  
  4365. for i = 0,8,0.2 do
  4366. pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4367. game:GetService("RunService").RenderStepped:wait()
  4368. end
  4369.  
  4370. local played = false
  4371. for i = -8,7,0.2 do
  4372. if i >= 0 and not played then played = true sound:Play() end
  4373. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4374. game:GetService("RunService").RenderStepped:wait()
  4375. end
  4376. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0))
  4377.  
  4378. for i = 8,0,-0.2 do
  4379. pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4380. if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4381. game:GetService("RunService").RenderStepped:wait()
  4382. end
  4383.  
  4384. pipe:Destroy()
  4385.  
  4386. if char:FindFirstChild("Torso") then
  4387. char.Torso.Anchored = false
  4388. else
  4389. char.UpperTorso.Anchored = false
  4390. end
  4391. end)
  4392. end
  4393.  
  4394. addcmd('pipetp', 'uses pipe to tp plr to plr',{},
  4395. function(args, speaker)
  4396. local players = getPlayer(args[1], speaker)
  4397. local target = getPlayer(args[2], speaker)[1]
  4398. for i,v in pairs(players)do
  4399. pipeTp(v,target)
  4400. end
  4401. end)
  4402.  
  4403. addcmd('rhats', 'no more hats',{'removehats'},
  4404. function(args, speaker)
  4405. local players = getPlayer(args[1], speaker)
  4406. for i,v in pairs(players) do
  4407. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  4408. if v:IsA('Accessory') then
  4409. v:destroy()
  4410. end
  4411. end
  4412. end
  4413. end)
  4414.  
  4415. addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
  4416. function(args, speaker)
  4417. local players = getPlayer(args[1], speaker)
  4418. for i,v in pairs(players) do
  4419. for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do
  4420. if v:IsA('Tool') or v:IsA('HopperBin') then
  4421. v:destroy() end
  4422. for i,v in pairs(players) do
  4423. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  4424. if v:IsA('Tool') or v:IsA('HopperBin') then
  4425. v:destroy() end end end
  4426. end
  4427. end
  4428. end)
  4429.  
  4430. addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
  4431. function(args, speaker)
  4432. local players = getPlayer(args[1], speaker)
  4433. for i,v in pairs(players)do
  4434. local function copy(instance)
  4435. for i,c in pairs(instance:GetChildren())do
  4436. if c:IsA('Tool') or c:IsA('HopperBin') then
  4437. c:Clone().Parent = gPlayers[v].StarterGear end
  4438. copy(c)
  4439. end
  4440. end
  4441. copy(gPlayers[v].Backpack)
  4442. end
  4443. for i,v in pairs(players)do
  4444. local function copy(instance)
  4445. for i,c in pairs(instance:GetChildren())do
  4446. if c:IsA('Tool') or c:IsA('HopperBin') then
  4447. c:Clone().Parent = gPlayers[v].StarterGear end
  4448. copy(c)
  4449. end
  4450. end
  4451. copy(gPlayers[v].Character)
  4452. end
  4453. Notify('Copied tools to StarterGear')
  4454. end)
  4455.  
  4456. addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
  4457. function(args, speaker)
  4458. local players = getPlayer(args[1], speaker)
  4459. for i,v in pairs(players)do
  4460. for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
  4461. if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
  4462. end end end
  4463. Notify('Cleared tools from StarterGear')
  4464. end)
  4465.  
  4466. addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
  4467. function(args, speaker)
  4468. local players = getPlayer(args[1], speaker)
  4469. for i,v in pairs(players)do
  4470. local function copy(instance)
  4471. for i,c in pairs(instance:GetChildren())do
  4472. if c:IsA('Tool') or c:IsA('HopperBin') then
  4473. c:Clone().Parent = gPlayers[v].Backpack end
  4474. copy(c)
  4475. end
  4476. end
  4477. copy(LightingService)
  4478. end
  4479. for i,v in pairs(players)do
  4480. local function copy(instance)
  4481. for i,c in pairs(instance:GetChildren())do
  4482. if c:IsA('Tool') or c:IsA('HopperBin') then
  4483. c:Clone().Parent = gPlayers[v].Backpack end
  4484. copy(c)
  4485. end
  4486. end
  4487. copy(game.ReplicatedStorage)
  4488. end
  4489. end)
  4490.  
  4491. wdisco = false
  4492. addcmd('partdisco', 'color spams the workspace',{'pdisco'},
  4493. function(args, speaker)
  4494. if wdisco == false then
  4495. wdisco = true
  4496. presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  4497. repeat wait(1)
  4498. if wdisco == true then
  4499. local function color(instance)
  4500. for i,v in pairs(instance:GetChildren())do
  4501. if v.className == "Part" then
  4502. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
  4503. color(v)
  4504. end
  4505. end
  4506. color(workspace)
  4507. end
  4508. until wdisco == false
  4509. end
  4510. end)
  4511.  
  4512. addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
  4513. function(args, speaker)
  4514. wdisco = false
  4515. end)
  4516.  
  4517. addcmd('gravity', 'workspace gravity',{''},
  4518. function(args, speaker)
  4519. workspace.Gravity = args[1]
  4520. Notify('Gravity set to ' .. args[1])
  4521. end)
  4522.  
  4523. SINFOGUIopen = false
  4524. function serverinfogui()
  4525. if SINFOGUIopen == false then
  4526. local Sinfo = Instance.new("ScreenGui")
  4527. local PromptDialog = Instance.new("Frame")
  4528. local ContainerFrame = Instance.new("Frame")
  4529. local TextLabel = Instance.new("TextLabel")
  4530. local TextLabel2 = Instance.new("TextLabel")
  4531. local TextLabel3 = Instance.new("TextLabel")
  4532. local Time = Instance.new("TextLabel")
  4533. local appearance = Instance.new("TextLabel")
  4534. local fe = Instance.new("TextLabel")
  4535. local maxplayers = Instance.new("TextLabel")
  4536. local name = Instance.new("TextLabel")
  4537. local placeid = Instance.new("TextLabel")
  4538. local playerid = Instance.new("TextLabel")
  4539. local players = Instance.new("TextLabel")
  4540. local shadow = Instance.new("Frame")
  4541. local PopupText = Instance.new("TextLabel")
  4542. local Exit = Instance.new("TextButton")
  4543. Sinfo.Name = "Sinfo"
  4544. Sinfo.Parent = game.CoreGui
  4545. PromptDialog.Name = "PromptDialog"
  4546. PromptDialog.Parent = Sinfo
  4547. PromptDialog.Active = true
  4548. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  4549. PromptDialog.BackgroundTransparency = 1
  4550. PromptDialog.BorderSizePixel = 0
  4551. PromptDialog.Draggable = true
  4552. PromptDialog.Position = UDim2.new(0.5, -160, 0, -400)
  4553. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  4554. PromptDialog.ZIndex = 8
  4555. ContainerFrame.Name = "ContainerFrame"
  4556. ContainerFrame.Parent = PromptDialog
  4557. ContainerFrame.BackgroundColor3 = maincolor
  4558. ContainerFrame.BackgroundTransparency = 0.5
  4559. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  4560. ContainerFrame.BorderSizePixel = 0
  4561. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  4562. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  4563. ContainerFrame.ZIndex = 8
  4564. TextLabel.Name = "Text Label"
  4565. TextLabel.Parent = ContainerFrame
  4566. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4567. TextLabel.BackgroundTransparency = 1
  4568. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  4569. TextLabel.Position = UDim2.new(0, 10, 0, 70)
  4570. TextLabel.Size = UDim2.new(0, 100, 0, 20)
  4571. TextLabel.ZIndex = 10
  4572. TextLabel.Font = Enum.Font.SourceSans
  4573. TextLabel.FontSize = Enum.FontSize.Size24
  4574. TextLabel.Text = "Run Time:"
  4575. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  4576. TextLabel.TextStrokeTransparency = 0
  4577. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  4578. TextLabel2.Name = "Text Label2"
  4579. TextLabel2.Parent = ContainerFrame
  4580. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  4581. TextLabel2.BackgroundTransparency = 1
  4582. TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
  4583. TextLabel2.Position = UDim2.new(0, 10, 0, 120)
  4584. TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  4585. TextLabel2.ZIndex = 10
  4586. TextLabel2.Font = Enum.Font.SourceSans
  4587. TextLabel2.FontSize = Enum.FontSize.Size24
  4588. TextLabel2.Text = "Statistics:"
  4589. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  4590. TextLabel2.TextStrokeTransparency = 0
  4591. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  4592. TextLabel3.Name = "Text Label3"
  4593. TextLabel3.Parent = ContainerFrame
  4594. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  4595. TextLabel3.BackgroundTransparency = 1
  4596. TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
  4597. TextLabel3.Position = UDim2.new(0, 10, 0, 0)
  4598. TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  4599. TextLabel3.ZIndex = 10
  4600. TextLabel3.Font = Enum.Font.SourceSans
  4601. TextLabel3.FontSize = Enum.FontSize.Size24
  4602. TextLabel3.Text = "Local Player:"
  4603. TextLabel3.TextColor3 = Color3.new(1, 1, 1)
  4604. TextLabel3.TextStrokeTransparency = 0
  4605. TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  4606. Time.Name = "Time"
  4607. Time.Parent = ContainerFrame
  4608. Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4609. Time.BackgroundTransparency = 1
  4610. Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4611. Time.Position = UDim2.new(0, 10, 0, 90)
  4612. Time.Size = UDim2.new(0, 100, 0, 20)
  4613. Time.ZIndex = 100
  4614. Time.Font = Enum.Font.ArialBold
  4615. Time.FontSize = Enum.FontSize.Size14
  4616. Time.Text = "1 Minute(s), 52 Second(s)"
  4617. Time.TextColor3 = Color3.new(1, 1, 1)
  4618. Time.TextStrokeTransparency = 0
  4619. Time.TextXAlignment = Enum.TextXAlignment.Left
  4620. appearance.Name = "appearance"
  4621. appearance.Parent = ContainerFrame
  4622. appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4623. appearance.BackgroundTransparency = 1
  4624. appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4625. appearance.Position = UDim2.new(0, 10, 0, 40)
  4626. appearance.Size = UDim2.new(0, 100, 0, 20)
  4627. appearance.ZIndex = 10
  4628. appearance.Font = Enum.Font.ArialBold
  4629. appearance.FontSize = Enum.FontSize.Size14
  4630. appearance.Text = "Appearance: 0"
  4631. appearance.TextColor3 = Color3.new(1, 1, 1)
  4632. appearance.TextStrokeTransparency = 0
  4633. appearance.TextXAlignment = Enum.TextXAlignment.Left
  4634. fe.Name = "fe"
  4635. fe.Parent = ContainerFrame
  4636. fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4637. fe.BackgroundTransparency = 1
  4638. fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4639. fe.Position = UDim2.new(0, 10, 0, 200)
  4640. fe.Size = UDim2.new(0, 100, 0, 20)
  4641. fe.ZIndex = 10
  4642. fe.Font = Enum.Font.ArialBold
  4643. fe.FontSize = Enum.FontSize.Size14
  4644. fe.Text = "Filtering Disabled"
  4645. fe.TextColor3 = Color3.new(1, 1, 1)
  4646. fe.TextStrokeTransparency = 0
  4647. fe.TextXAlignment = Enum.TextXAlignment.Left
  4648. maxplayers.Name = "maxplayers"
  4649. maxplayers.Parent = ContainerFrame
  4650. maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4651. maxplayers.BackgroundTransparency = 1
  4652. maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4653. maxplayers.Position = UDim2.new(0, 10, 0, 160)
  4654. maxplayers.Size = UDim2.new(0, 100, 0, 20)
  4655. maxplayers.ZIndex = 10
  4656. maxplayers.Font = Enum.Font.ArialBold
  4657. maxplayers.FontSize = Enum.FontSize.Size14
  4658. maxplayers.Text = "12 Players Max"
  4659. maxplayers.TextColor3 = Color3.new(1, 1, 1)
  4660. maxplayers.TextStrokeTransparency = 0
  4661. maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  4662. name.Name = "name"
  4663. name.Parent = ContainerFrame
  4664. name.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4665. name.BackgroundTransparency = 1
  4666. name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4667. name.Position = UDim2.new(0, 10, 0, 180)
  4668. name.Size = UDim2.new(0, 100, 0, 20)
  4669. name.ZIndex = 10
  4670. name.Font = Enum.Font.ArialBold
  4671. name.FontSize = Enum.FontSize.Size14
  4672. name.Text = "Place: Baseplate"
  4673. name.TextColor3 = Color3.new(1, 1, 1)
  4674. name.TextStrokeTransparency = 0
  4675. name.TextXAlignment = Enum.TextXAlignment.Left
  4676. placeid.Name = "placeid"
  4677. placeid.Parent = ContainerFrame
  4678. placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4679. placeid.BackgroundTransparency = 1
  4680. placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4681. placeid.Position = UDim2.new(0, 10, 0, 220)
  4682. placeid.Size = UDim2.new(0, 100, 0, 20)
  4683. placeid.ZIndex = 10
  4684. placeid.Font = Enum.Font.ArialBold
  4685. placeid.FontSize = Enum.FontSize.Size14
  4686. placeid.Text = "Place ID: 95206881"
  4687. placeid.TextColor3 = Color3.new(1, 1, 1)
  4688. placeid.TextStrokeTransparency = 0
  4689. placeid.TextXAlignment = Enum.TextXAlignment.Left
  4690. playerid.Name = "playerid"
  4691. playerid.Parent = ContainerFrame
  4692. playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4693. playerid.BackgroundTransparency = 1
  4694. playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4695. playerid.Position = UDim2.new(0, 10, 0, 20)
  4696. playerid.Size = UDim2.new(0, 100, 0, 20)
  4697. playerid.ZIndex = 10
  4698. playerid.Font = Enum.Font.ArialBold
  4699. playerid.FontSize = Enum.FontSize.Size14
  4700. playerid.Text = "Player ID: 86835535"
  4701. playerid.TextColor3 = Color3.new(1, 1, 1)
  4702. playerid.TextStrokeTransparency = 0
  4703. playerid.TextXAlignment = Enum.TextXAlignment.Left
  4704. players.Name = "players"
  4705. players.Parent = ContainerFrame
  4706. players.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4707. players.BackgroundTransparency = 1
  4708. players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4709. players.Position = UDim2.new(0, 10, 0, 140)
  4710. players.Size = UDim2.new(0, 100, 0, 20)
  4711. players.ZIndex = 100
  4712. players.Font = Enum.Font.ArialBold
  4713. players.FontSize = Enum.FontSize.Size14
  4714. players.Text = "1 Player(s)"
  4715. players.TextColor3 = Color3.new(1, 1, 1)
  4716. players.TextStrokeTransparency = 0
  4717. players.TextXAlignment = Enum.TextXAlignment.Left
  4718. shadow.Name = "shadow"
  4719. shadow.Parent = PromptDialog
  4720. shadow.BackgroundColor3 = maincolor
  4721. shadow.BackgroundTransparency = 0.30000001192093
  4722. shadow.BorderColor3 = Color3.new(0, 0, 0)
  4723. shadow.BorderSizePixel = 0
  4724. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  4725. shadow.Size = UDim2.new(0, 290, 0, 26)
  4726. PopupText.Name = "PopupText"
  4727. PopupText.Parent = shadow
  4728. PopupText.BackgroundTransparency = 1
  4729. PopupText.Position = UDim2.new(0, 8, 0, -3)
  4730. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  4731. PopupText.ZIndex = 110
  4732. PopupText.Font = Enum.Font.SourceSansBold
  4733. PopupText.FontSize = Enum.FontSize.Size28
  4734. PopupText.Text = "Server"
  4735. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  4736. PopupText.TextStrokeTransparency = 0
  4737. PopupText.TextWrapped = true
  4738. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  4739. Exit.Name = "Exit"
  4740. Exit.Parent = shadow
  4741. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  4742. Exit.BackgroundTransparency = 0.30000001192093
  4743. Exit.BorderColor3 = Color3.new(1, 0, 0)
  4744. Exit.BorderSizePixel = 0
  4745. Exit.Position = UDim2.new(0, 267, 0, 3)
  4746. Exit.Size = UDim2.new(0, 20, 0, 20)
  4747. Exit.FontSize = Enum.FontSize.Size14 Exit.Text = ""
  4748. local SINFOGUI = game.CoreGui.Sinfo.PromptDialog.ContainerFrame
  4749. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, 100), "InOut", "Quart", 0.5, true, nil)
  4750. SINFOGUIopen = true wait(0.5)
  4751. local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  4752. SINFOGUI.name.Text = "Place: " .. Asset.Name
  4753. game.CoreGui.Sinfo.PromptDialog.shadow.Exit.MouseButton1Click:Connect(function()
  4754. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, -400), "InOut", "Quart", 0.5, true, nil)
  4755. wait(0.6) SINFOGUIopen = false SINFOGUI.Parent.Parent:Destroy() end)
  4756. SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
  4757. if workspace.FilteringEnabled == true then
  4758. SINFOGUI.fe.Text = "Filtering Enabled"
  4759. elseif workspace.FilteringEnabled == false then
  4760. SINFOGUI.fe.Text = "Filtering Disabled" end
  4761. SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
  4762. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
  4763. players = gPlayers:getPlayers()
  4764. SINFOGUI.players.Text = #players.. " Player(s)"
  4765. SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
  4766. local seconds = math.floor(workspace.DistributedGameTime)
  4767. local minutes = math.floor(workspace.DistributedGameTime / 60)
  4768. local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  4769. local seconds = seconds - (minutes * 60)
  4770. local minutes = minutes - (hours * 60)
  4771. if hours < 1 then if minutes < 1 then
  4772. SINFOGUI.Time.Text = seconds .. " Second(s)" else
  4773. SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
  4774. SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  4775. end wait(1) until SINFOGUIopen == false end end
  4776. addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
  4777. function(args, speaker)
  4778. if speaker.userId ~= LP.userId then
  4779. lponly(speaker)
  4780. else
  4781. serverinfogui()
  4782. end
  4783. end)
  4784.  
  4785. addcmd('sparkles', 'give a player sparkles',{'sp'},
  4786. function(args, speaker)
  4787. local players = getPlayer(args[1], speaker)
  4788. for i,v in pairs(players)do
  4789. spawn(function()
  4790. local pchar=_char(v)
  4791. local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  4792. local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
  4793. local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  4794. local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  4795. local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  4796. local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  4797. if not args[2] then return end
  4798. Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4799. Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4800. Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4801. Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4802. Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4803. Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4804. end)
  4805. end
  4806. end)
  4807.  
  4808. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
  4809. function(args, speaker)
  4810. local players = getPlayer(args[1], speaker)
  4811. for i,v in pairs(players)do
  4812. local pchar=_char(v)
  4813. for j,v1 in pairs(pchar:GetDescendants()) do
  4814. if v1:IsA("Sparkles") then
  4815. v1:Destroy()
  4816. end end end
  4817. end)
  4818.  
  4819. addcmd('smoke', 'give a player smoke',{},
  4820. function(args, speaker)
  4821. local players = getPlayer(args[1], speaker)
  4822. for i,v in pairs(players)do
  4823. local pchar=_char(v)
  4824. Instance.new("Smoke", pchar.HumanoidRootPart)
  4825. end
  4826. end)
  4827.  
  4828. addcmd('addstat', 'give a player a stat',{},
  4829. function(args, speaker)
  4830. local players = getPlayer(args[1], speaker)
  4831. for i,v in pairs(players)do
  4832. spawn(function()
  4833. if gPlayers[v]:FindFirstChild("leaderstats") then
  4834. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  4835. if child.Name == "STAT" then
  4836. child:Destroy()
  4837. end
  4838. end
  4839. local score = Instance.new("StringValue")
  4840. score.Name = "STAT"
  4841. score.Value = GLS(false, 1)
  4842. score.Parent = gPlayers[v].leaderstats
  4843. else
  4844. local stats = Instance.new("IntValue")
  4845. stats.Name = "leaderstats"
  4846. stats.Parent = gPlayers[v]
  4847. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  4848. if child.Name == "STAT" then
  4849. child:Destroy()
  4850. end
  4851. end
  4852. local score = Instance.new("StringValue")
  4853. score.Name = "STAT"
  4854. score.Value = GLS(false, 1)
  4855. score.Parent = gPlayers[v].leaderstats
  4856. end
  4857. end)
  4858. end
  4859. end)
  4860.  
  4861. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  4862. function(args, speaker)
  4863. local players = getPlayer(args[1], speaker)
  4864. for i,v in pairs(players)do
  4865. local pchar=_char(v)
  4866. for j,v1 in pairs(pchar:GetDescendants()) do
  4867. if v1:IsA("Smoke") then
  4868. v1:Destroy()
  4869. end
  4870. end
  4871. end
  4872. end)
  4873.  
  4874. addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
  4875. function(args, speaker)
  4876. local players = getPlayer(args[1], speaker)
  4877. for i,v in pairs(players)do
  4878. local pchar=_char(v)
  4879. for i,v in pairs(pchar:GetChildren()) do
  4880. if pchar.Torso:FindFirstChild("Neck") then
  4881. pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4882. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4883. Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
  4884. Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
  4885. local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  4886. local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
  4887. end
  4888. end
  4889. end
  4890. end)
  4891.  
  4892. addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
  4893. function(args, speaker)
  4894. local players = getPlayer(args[1], speaker)
  4895. for i,v in pairs(players)do
  4896. local pchar=_char(v)
  4897. for i,v in pairs(pchar:GetChildren()) do
  4898. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4899. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4900. end
  4901. end
  4902. end)
  4903.  
  4904. addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
  4905. function(args, speaker)
  4906. workspace.Terrain:Clear()
  4907. end)
  4908.  
  4909. addcmd('smite','get hit by lightning',{},
  4910. function(args, speaker)
  4911. local players = getPlayer(args[1], speaker)
  4912. for i,v in pairs(players)do
  4913. local pchar=_char(v)
  4914. spawn(function()
  4915. local char = pchar
  4916. local zeus = Instance.new("Model",char)
  4917. local cloud = Instance.new("Part",zeus)
  4918. cloud.Anchored = true
  4919. cloud.CanCollide = false
  4920. cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
  4921. local sound = Instance.new("Sound",cloud)
  4922. sound.SoundId = "rbxassetid://133426162"
  4923. local mesh = Instance.new("SpecialMesh",cloud)
  4924. mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  4925. mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
  4926. mesh.Scale = Vector3.new(30,30,40)
  4927. mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
  4928. local light = Instance.new("PointLight",cloud)
  4929. light.Color = Color3.new(0,85/255,1)
  4930. light.Brightness = 10
  4931. light.Range = 30
  4932. light.Enabled = false
  4933. wait(0.2)
  4934. sound.Volume = 0.5
  4935. sound.Pitch = 0.8
  4936. sound:Play()
  4937. light.Enabled = true
  4938. wait(1/100)
  4939. light.Enabled = false
  4940. wait(0.2)
  4941. light.Enabled = true
  4942. light.Brightness = 1
  4943. wait(0.05)
  4944. light.Brightness = 3
  4945. wait(0.02)
  4946. light.Brightness = 1
  4947. wait(0.07)
  4948. light.Brightness = 10
  4949. wait(0.09)
  4950. light.Brightness = 0
  4951. wait(0.01)
  4952. light.Brightness = 7
  4953. light.Enabled = false
  4954. wait(1.5)
  4955. local part1 = Instance.new("Part",zeus)
  4956. part1.Anchored = true
  4957. part1.CanCollide = false
  4958. part1.Size = Vector3.new(2, 9.2, 1)
  4959. part1.BrickColor = BrickColor.new("New Yeller")
  4960. part1.Transparency = 0.6
  4961. part1.BottomSurface = "Smooth"
  4962. part1.TopSurface = "Smooth"
  4963. part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
  4964. part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
  4965. wait()
  4966. local part2 = part1:clone()
  4967. part2.Parent = zeus
  4968. part2.Size = Vector3.new(1, 7.48, 2)
  4969. part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
  4970. part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
  4971. wait()
  4972. local part3 = part1:clone()
  4973. part3.Parent = zeus
  4974. part3.Size = Vector3.new(1.86, 7.56, 1)
  4975. part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  4976. part3.Rotation = Vector3.new(0, 0, -11.128)
  4977. sound.SoundId = "rbxassetid://130818250"
  4978. sound.Volume = 1
  4979. sound.Pitch = 1
  4980. sound:Play()
  4981. wait()
  4982. part1.Transparency = 1
  4983. part2.Transparency = 1
  4984. part3.Transparency = 1
  4985. Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
  4986. char:BreakJoints()
  4987. end)
  4988. end
  4989. end)
  4990.  
  4991. addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
  4992. function(args, speaker)
  4993. local players = getPlayer(args[1], speaker)
  4994. for i,v in pairs(players)do
  4995. spawn(function()
  4996. local pchar=_char(v)
  4997. local Ast = Instance.new("Part", workspace) Ast.Name = "Asteroid" Ast.Position = pchar.HumanoidRootPart.Position + Vector3.new(0,500,0) Ast.Size = Vector3.new(12,12,12)
  4998. local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
  4999. local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
  5000. local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
  5001. local f = Instance.new("Sound")
  5002. f.Name = "fly"
  5003. f.SoundId = "rbxassetid://179438534"
  5004. f.Volume = 3
  5005. f.Pitch = 1
  5006. f.Looped = true
  5007. f.archivable = true
  5008. f.Parent = Ast
  5009. f:play()
  5010. local Touched = false
  5011. coroutine.wrap(function()
  5012. repeat wait(0.1)
  5013. Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
  5014. until not Ast or Ast.Parent == nil or Touched == true
  5015. end)()
  5016. Ast.Touched:connect(function(Part)
  5017. if Touched == false then
  5018. Touched = true
  5019. Part:BreakJoints()
  5020. local Boom = Instance.new("Explosion", workspace)
  5021. Boom.Position = Ast.Position
  5022. Boom.BlastPressure = 1000000
  5023. Boom.BlastRadius = 30
  5024. Fire.Heat = 0
  5025. Smoke.RiseVelocity = 0
  5026. f:Destroy()
  5027. local s = Instance.new("Sound")
  5028. s.Name = "boom"
  5029. s.SoundId = "rbxassetid://188590169"
  5030. s.Volume = 3
  5031. s.Pitch = 1
  5032. s.Looped = true
  5033. s.archivable = true
  5034. s.Parent = Ast
  5035. s:play()
  5036. coroutine.wrap(function()
  5037. wait(10)
  5038. s:Destroy()
  5039. if Ast and Ast.Parent ~= nil then
  5040. Ast:Destroy()
  5041. end
  5042. end)()
  5043. end
  5044. end)
  5045. end)
  5046. end
  5047. end)
  5048.  
  5049. addcmd('bomb','gives you a bomb vest',{'terrorist'},
  5050. function(args, speaker)
  5051. local players = getPlayer(args[1], speaker)
  5052. for i,v in pairs(players)do
  5053. spawn(function()
  5054. local Char=_char(v)
  5055. local HumanoidRootPart = Char.HumanoidRootPart
  5056. local TickWait = 1
  5057. local Dead = false
  5058.  
  5059. local Position = Vector3.new(0,100,0)
  5060. function NewPart(Parent)
  5061. local Part = Instance.new("Part", Parent)
  5062. Part.CanCollide = false
  5063. Part.Position = Position
  5064. Part.TopSurface = "Smooth"
  5065. Part.BottomSurface = "Smooth"
  5066. Position = Position + Vector3.new(0,10,0)
  5067. return Part
  5068. end
  5069.  
  5070. local Model = Char:FindFirstChild("Bomb")
  5071. if Model then Model:Destroy() end
  5072.  
  5073. local Model = Instance.new("Model", Char)
  5074. Model.Name = "Bomb"
  5075.  
  5076. local Belt = NewPart(Model)
  5077. Belt.Size = Vector3.new(2.2,0.5,1.2)
  5078. local Weld = Instance.new("Weld", Belt)
  5079. Weld.Part0 = Belt
  5080. Weld.Part1 = HumanoidRootPart
  5081. Weld.C0 = CFrame.new(0,1.1,0)
  5082. local Light = Instance.new("PointLight", Belt)
  5083. Light.Range = 15
  5084. Light.Brightness = 5
  5085. Light.Color = Color3.new(1,0,0)
  5086. local Beep = Instance.new("Sound", Belt)
  5087. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  5088. local ExplodeSound = Instance.new("Sound", Belt)
  5089. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
  5090. ExplodeSound.Pitch = 2.8
  5091. ExplodeSound.Volume = 3
  5092.  
  5093. local Back = NewPart(Model)
  5094. Back.Size = Vector3.new(1.5,1.5,0.5)
  5095. local Weld = Instance.new("Weld", Back)
  5096. Weld.Part0 = Back
  5097. Weld.Part1 = HumanoidRootPart
  5098. Weld.C0 = CFrame.new(0,0.1,-0.75)
  5099.  
  5100. local StrapLeft = NewPart(Model)
  5101. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  5102. local Weld = Instance.new("Weld", StrapLeft)
  5103. Weld.Part0 = StrapLeft
  5104. Weld.Part1 = HumanoidRootPart
  5105. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  5106.  
  5107. local BuckleLeft = NewPart(Model)
  5108. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  5109. local Weld = Instance.new("Weld", BuckleLeft)
  5110. Weld.Part0 = BuckleLeft
  5111. Weld.Part1 = HumanoidRootPart
  5112. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  5113.  
  5114. local StrapRight = NewPart(Model)
  5115. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  5116. local Weld = Instance.new("Weld", StrapRight)
  5117. Weld.Part0 = StrapRight
  5118. Weld.Part1 = HumanoidRootPart
  5119. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  5120.  
  5121. local BuckleRight = NewPart(Model)
  5122. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  5123. local Weld = Instance.new("Weld", BuckleRight)
  5124. Weld.Part0 = BuckleRight
  5125. Weld.Part1 = HumanoidRootPart
  5126. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  5127.  
  5128. LightEnabled = true
  5129. coroutine.wrap(function()
  5130. repeat
  5131. wait(TickWait)
  5132. LightEnabled = not LightEnabled
  5133. Light.Enabled = LightEnabled
  5134. Beep:Play()
  5135. until Dead == true or Char:FindFirstChild("Bomb") == nil
  5136. end)()
  5137.  
  5138. wait(10)
  5139. if Dead == false then
  5140. Dead = true
  5141. ExplodeSound:Play(); wait(1.4)
  5142. local Explosion = Instance.new("Explosion")
  5143. Explosion.Position = Belt.Position
  5144. Explosion.BlastPressure = 100000
  5145. Explosion.DestroyJointRadiusPercent = 0.7
  5146. Explosion.ExplosionType = "CratersAndDebris"
  5147. Explosion.BlastRadius = 50
  5148. Explosion.Parent = workspace
  5149. end
  5150. end)
  5151. end
  5152. end)
  5153.  
  5154. addcmd('btools', 'gives a player btools',{},
  5155. function(args, speaker)
  5156. local players = getPlayer(args[1], speaker)
  5157. if players ~= nil then
  5158. for i, v in pairs(players) do
  5159. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
  5160. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
  5161. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
  5162. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
  5163. if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
  5164. Notify('Gave btools to player(s)') end end end end)
  5165.  
  5166. addcmd('sword', 'gives a player a sword',{},
  5167. function(args, speaker)
  5168. local players = getPlayer(args[1], speaker)
  5169. if players ~= nil then
  5170. for i, v in pairs(players) do
  5171. coroutine.resume(coroutine.create(function()
  5172. if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
  5173. local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  5174. sword.GripForward = Vector3.new(-1,0,0)
  5175. sword.GripPos = Vector3.new(0,0,-1.5)
  5176. sword.GripRight = Vector3.new(0,1,0)
  5177. sword.GripUp = Vector3.new(0,0,1)
  5178. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  5179. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  5180. repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
  5181. local Damage = 15
  5182. local SlashSound = Instance.new("Sound", handle)
  5183. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5184. SlashSound.Volume = 1
  5185. local LungeSound = Instance.new("Sound", handle)
  5186. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  5187. LungeSound.Volume = 1
  5188. local UnsheathSound = Instance.new("Sound", handle)
  5189. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5190. UnsheathSound.Volume = 1
  5191. handle.Touched:connect(function(hit)
  5192. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and gPlayers[v].Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= gPlayers[v].Character.Humanoid then
  5193. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  5194. hit.Parent.Humanoid:TakeDamage(Damage)
  5195. if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end
  5196. sword.Enabled = false
  5197. SlashSound:play()
  5198. local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
  5199. wait(0.5)
  5200. sword.Enabled = true
  5201. end
  5202. end)
  5203. sword.Equipped:connect(function(hit)
  5204. UnsheathSound:play()
  5205. sword.Enabled = true
  5206. end)
  5207. end
  5208. end))
  5209. end
  5210. end
  5211. end)
  5212.  
  5213. addcmd('hatsize', 'changes players hat size',{''},
  5214. function(args, speaker)
  5215. local players = getPlayer(args[1], speaker)
  5216. for i,v in pairs(players) do
  5217. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5218. if v:IsA('Accessory') then
  5219. for a,b in pairs(v.Handle:GetChildren()) do
  5220. if b:IsA('SpecialMesh') then
  5221. b.Scale = args[2] * Vector3.new(1, 1, 1)
  5222. end
  5223. end
  5224. end
  5225. end
  5226. end
  5227. end)
  5228.  
  5229. addcmd('headsize', 'changes players head size',{''},
  5230. function(args, speaker)
  5231. local players = getPlayer(args[1], speaker)
  5232. for i,v in pairs(players) do
  5233. local plrchar = _players[v].Character
  5234. if args[2] == 1 then
  5235. plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  5236. plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
  5237. else
  5238. plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
  5239. end
  5240. end
  5241. end)
  5242.  
  5243. addcmd('change', 'changes a players stat',{'stat'},
  5244. function(args, speaker)
  5245. local players = getPlayer(args[1], speaker)
  5246. for i,v in pairs(players) do
  5247. if _players[v]:FindFirstChild('leaderstats') then
  5248. for i,v in pairs(_players[v].leaderstats:GetChildren()) do
  5249. if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
  5250. if args[3] then v.Value = tonumber(args[3]) end
  5251. elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
  5252. v.Value = GLS(false, 2)
  5253. end
  5254. end
  5255. end
  5256. end
  5257. end)
  5258.  
  5259. addcmd('draw', 'drawing tool',{},
  5260. function(args, speaker)
  5261. if speaker.userId ~= LP.userId then
  5262. lponly(speaker)
  5263. else
  5264. for i,v in next,game:children()do
  5265. pcall(function()
  5266. local c=v.className;
  5267. rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  5268. end);
  5269. end;
  5270.  
  5271.  
  5272. user=players.LocalPlayer;
  5273. uname=user.Name;
  5274. guis=user.PlayerGui;
  5275. pack=user.Backpack;
  5276.  
  5277. keyDowns={};
  5278. freeKeys={};
  5279. shortcuts={};
  5280.  
  5281. _G.mine=_G.mine or{};
  5282.  
  5283. name='Draw3D';
  5284. url='http://www.roblox.com/asset/?id=%d';
  5285.  
  5286. iconNormal=url:format(96578285);
  5287. iconOnDown=url:format(96584484);
  5288.  
  5289. ver=0;
  5290. drawPixel=0.10;
  5291. _G.drawLimit=_G.drawLimit or 1000;
  5292.  
  5293. _G.drawColor=_G.drawColor or Color3.new();
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299. destroy=game.remove;
  5300. find=game.findFirstChild;
  5301. new=Instance.new;
  5302. with=function(c)
  5303. return function(p)
  5304. local o=type(c)=='string'and new(c)or c;
  5305. local x=p.Parent;p.Parent=nil;
  5306. for i,v in next,p do
  5307. o[i]=v;
  5308. end;
  5309. if(x)then
  5310. o.Parent=x;
  5311. end;
  5312. return o;
  5313. end;
  5314. end;
  5315. getPlace=function()
  5316. if(find(workspace,'draw')==nil)then
  5317. new('Model',workspace).Name='draw';
  5318. end;
  5319. if(find(workspace.draw,uname)==nil)then
  5320. new('Model',workspace.draw).Name=uname;
  5321. end;
  5322. return workspace.draw[uname];
  5323. end;
  5324. drawLine=function(start,target)
  5325. local gui=with'BlockMesh'{
  5326. Parent=with'Part'{
  5327. CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  5328. Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  5329. Parent=getPlace();
  5330. Color=_G.drawColor;
  5331. BottomSurface=0;
  5332. Anchored=true;
  5333. TopSurface=0;
  5334. formFactor=3;
  5335. Name=name;
  5336. }}.Parent;
  5337. table.insert(_G.mine,gui);
  5338. return gui;
  5339. end;
  5340. onDown=function()
  5341. if(drawing)then
  5342. return nil;
  5343. end;
  5344. if(selectGui.Adornee)then
  5345. destroy(selectGui.Adornee);
  5346. end;
  5347.  
  5348. drawing=true;
  5349.  
  5350. mouse.Icon=iconOnDown;
  5351. ver=ver+1;
  5352.  
  5353.  
  5354. local cVer,start,target=ver,mouse.hit.p;
  5355.  
  5356. local group={};
  5357. repeat
  5358. Wait(0.02);
  5359.  
  5360. if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  5361.  
  5362. target=mouse.hit.p;
  5363.  
  5364. table.insert(group,drawLine(start,target));
  5365.  
  5366. start=target;
  5367. end;
  5368. until ver~=cVer;
  5369. drawing=false;
  5370.  
  5371. local groupM=new('Model',getPlace());
  5372. for i,v in next,group do
  5373. if(v:IsDescendantOf(Workspace))then
  5374. v.Parent=groupM;
  5375. end;
  5376. end;
  5377. if(next(groupM:children())==nil)then
  5378. destroy(groupM);
  5379. end;
  5380. end;
  5381. onUp=function()
  5382. mouse.Icon=iconNormal;
  5383. ver=ver+1;
  5384. end;
  5385. onKeyDown=function(k)
  5386. if(freeKeys[k]==false)then
  5387. return false;
  5388. end;
  5389. freeKeys[k]=false;
  5390. Wait(0.01);
  5391. if(keyDowns[k])then
  5392. keyDowns[k]();
  5393. elseif(shortcuts[k])then
  5394. shortcuts[k]();
  5395. end;
  5396. end;
  5397. onKeyUp=function(k)
  5398. freeKeys[k]=true;
  5399. end;
  5400. onMove=function()
  5401.  
  5402. end;
  5403. onSelect=function(lmouse)
  5404. frame.Visible=true;
  5405.  
  5406. mouse=lmouse;
  5407.  
  5408. mouse.Icon=iconNormal;
  5409.  
  5410. mouse.Button1Down:connect(onDown);
  5411. mouse.KeyDown:connect(onKeyDown);
  5412. mouse.Button1Up:connect(onUp);
  5413. mouse.KeyUp:connect(onKeyUp);
  5414. mouse.Move:connect(onMove);
  5415. end;
  5416. onDeselect=function()
  5417. ver=ver+1;
  5418. frame.Visible=false;
  5419. selectGui.Adornee=nil;
  5420. mouse.Icon=iconNormal;
  5421. for i,v in next,freeKeys do
  5422. freeKeys[i]=true;
  5423. end;
  5424. end;
  5425. addButton=function(title,shortcut,fun)
  5426. with'TextButton'{
  5427. Text=string.format(' %s (%s)',title,shortcut);
  5428. TextXAlignment=0;
  5429. Parent=frame;
  5430. }.MouseButton1Up:connect(fun);
  5431.  
  5432. shortcuts[shortcut]=fun;
  5433.  
  5434. local c=#frame:children();
  5435. for i,v in next,frame:children()do
  5436. v.Position=UDim2.new(0,0,0,20*(i-1));
  5437. v.Size=UDim2.new(1,0,0,20);
  5438. end;
  5439.  
  5440. frame.Position=UDim2.new(1,-152,.5,-c*10);
  5441. frame.Size=UDim2.new(0,150,0,c*20);
  5442. end;
  5443.  
  5444.  
  5445.  
  5446.  
  5447.  
  5448.  
  5449.  
  5450.  
  5451. for i,v in next,{guis;pack;}do
  5452. pcall(function()
  5453. repeat until destroy(v[name]);
  5454. end);
  5455. end;
  5456.  
  5457.  
  5458.  
  5459. tool=with'HopperBin'{
  5460. Parent=pack;
  5461. Name=name;
  5462. };
  5463. tool.Deselected:connect(onDeselect);
  5464. tool.Selected:connect(onSelect);
  5465.  
  5466.  
  5467.  
  5468.  
  5469. screen=with'ScreenGui'{
  5470. Parent=guis;
  5471. Name=name;
  5472. };
  5473. frame=with'Frame'{
  5474. Parent=screen;
  5475. Visible=false;
  5476. };
  5477. clframe=with'Frame'{
  5478. Position=UDim2.new(.5,-50,.5,-50);
  5479. Size=UDim2.new(0,100,0,100);
  5480. Visible=false;
  5481. Parent=screen;
  5482. };
  5483. selectGui=with'SelectionBox'{
  5484. Parent=screen;
  5485. };
  5486.  
  5487. local c=0;
  5488. for y=0,7 do
  5489. for x=0,7 do
  5490. local color=BrickColor.palette(c).Color;
  5491.  
  5492. with'ImageButton'{
  5493. Position=UDim2.new(.125*x,0,.125*y);
  5494. Size=UDim2.new(.125,0,.125);
  5495. BackgroundColor3=color;
  5496. Parent=clframe;
  5497. }.MouseButton1Up:connect(function()
  5498. clframe.Visible=false;
  5499. _G.drawColor=color;
  5500. end);
  5501.  
  5502. c=c+1;
  5503. end;
  5504. end;
  5505.  
  5506. addButton('Color','c',function()
  5507. clframe.Visible=true;
  5508. end);
  5509. addButton('Remove your draws','r',function()
  5510. repeat
  5511. destroy(_G.mine[1]);
  5512. table.remove(_G.mine,1);
  5513. Wait(0.01);
  5514. until nil;
  5515. end);
  5516. addButton('Remove global draws','k',function()
  5517. destroy(workspace.draw);
  5518. while(_G.mine[1])do
  5519. destroy(_G.mine[1]);
  5520. table.remove(_G.mine,1);
  5521. end;
  5522. end);
  5523. addButton('Remove selected','x',function()
  5524. repeat
  5525. if(find(workspace,'draw'))then
  5526. local dt=mouse.target;
  5527. if(dt and dt:IsDescendantOf(workspace.draw))then
  5528. selectGui.Adornee=dt.Parent;
  5529. else
  5530. selectGui.Adornee=nil;
  5531. end;
  5532. else
  5533. selectGui.Adornee=nil;
  5534. end;
  5535. Wait(0.01);
  5536. until freeKeys.x;
  5537. selectGui.Adornee=nil;
  5538. end);
  5539.  
  5540.  
  5541.  
  5542.  
  5543. repeat
  5544. Wait(0.01);
  5545. if(next(_G.mine)and _G.mine[_G.drawLimit])then
  5546. destroy(_G.mine[1]);
  5547. table.remove(_G.mine,1);
  5548. end;
  5549. until script.Parent==nil or tool.Parent==nil;
  5550. script.Disabled=true;
  5551. destroy(screen);
  5552. end
  5553. end)
  5554.  
  5555. addcmd('god', 'gods player',{},
  5556. function(args, speaker)
  5557. local players = getPlayer(args[1], speaker)
  5558. for i,v in pairs(players)do
  5559. local pchar=_char(v)
  5560. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  5561. end
  5562. end)
  5563.  
  5564. addcmd('sgod', 'silently gods player',{},
  5565. function(args, speaker)
  5566. local players = getPlayer(args[1], speaker)
  5567. for i,v in pairs(players)do
  5568. local pchar=_char(v)
  5569. spawn(function()
  5570. pchar.Humanoid.MaxHealth = 10000000
  5571. wait()
  5572. pchar.Humanoid.Health = 10000000
  5573. if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
  5574. Notify('Silent godded player(s)') end
  5575. end)
  5576. end
  5577. end)
  5578.  
  5579. addcmd('ungod', 'removes god from a player',{},
  5580. function(args, speaker)
  5581. local players = getPlayer(args[1], speaker)
  5582. for i,v in pairs(players)do
  5583. local pchar=_char(v)
  5584. if pchar then
  5585. pchar.Humanoid.MaxHealth=100
  5586. pchar.Humanoid.Health=100
  5587. end
  5588. end
  5589. end)
  5590.  
  5591. addcmd('heal', 'resets a players health',{},
  5592. function(args, speaker)
  5593. local players = getPlayer(args[1], speaker)
  5594. for i,v in pairs(players)do spawn(function()
  5595. local pchar=_char(v)
  5596. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end)
  5597.  
  5598. addcmd('fart', 'makes u fart',{},
  5599. function(args, speaker)
  5600. local players = getPlayer(args[1], speaker)
  5601. for i,v in pairs(players)do
  5602. spawn(function()
  5603. local pchar=_char(v)
  5604. fart = Instance.new("Smoke")
  5605. fart.Parent = pchar.HumanoidRootPart
  5606. fart.Color = Color3.new(255/255, 255/255, 0)
  5607. fart.Opacity = 0.4
  5608. fart.Size = 1.0
  5609. fart.RiseVelocity = 8
  5610. fartsound = Instance.new("Sound", workspace)
  5611. fsound = "http://www.roblox.com/asset?id=251309043"
  5612. fartsound.SoundId = fsound
  5613. fartsound.Volume = 1.0
  5614. fartsound:Play()
  5615. wait(9.0)
  5616. fartsound:Destroy()
  5617. pchar.HumanoidRootPart.Smoke:Destroy()
  5618. end)
  5619. end
  5620. end)
  5621.  
  5622. addcmd('decalspam', 'you can already guess...',{},
  5623. function(args, speaker)
  5624. Notify('Decal Spammed ID: ' ..args[1])
  5625. wait(4)
  5626. decalID = args[1]
  5627. function exPro(root)
  5628. for _, v in pairs(root:GetChildren()) do
  5629. if v:IsA("BasePart") then
  5630. local One = Instance.new("Decal", v)
  5631. local Two = Instance.new("Decal", v)
  5632. local Three = Instance.new("Decal", v)
  5633. local Four = Instance.new("Decal", v)
  5634. local Five = Instance.new("Decal", v)
  5635. local Six = Instance.new("Decal", v)
  5636. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  5637. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  5638. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  5639. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  5640. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  5641. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  5642. One.Face = "Front"
  5643. Two.Face = "Back"
  5644. Three.Face = "Right"
  5645. Four.Face = "Left"
  5646. Five.Face = "Top"
  5647. Six.Face = "Bottom"
  5648. One.Name = "IYdecal"
  5649. Two.Name = "IYdecal"
  5650. Three.Name = "IYdecal"
  5651. Four.Name = "IYdecal"
  5652. Five.Name = "IYdecal"
  5653. Six.Name = "IYdecal"
  5654. end
  5655. exPro(v)
  5656. end
  5657. end
  5658. function asdf(root)
  5659. for _, v in pairs(root:GetChildren()) do
  5660. asdf(v)
  5661. end
  5662. end
  5663. exPro(workspace)
  5664. asdf(workspace)
  5665. end)
  5666.  
  5667. addcmd('undecalspam', 'removes the mess',{},
  5668. function(args, speaker)
  5669. Notify('Removing Decal Spam...')
  5670. wait(4)
  5671. function exPro(root)
  5672. for _, v in pairs(root:GetChildren()) do
  5673. if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
  5674. v.Parent = nil
  5675. end
  5676. exPro(v)
  5677. end
  5678. end
  5679. function asdf(root)
  5680. for _, v in pairs(root:GetChildren()) do
  5681. asdf(v)
  5682. end
  5683. end
  5684. exPro(workspace)
  5685. asdf(workspace)
  5686. end)
  5687.  
  5688. addcmd('sky', 'sets the sky',{'skybox'},
  5689. function(args, speaker)
  5690. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
  5691. s = Instance.new("Sky")
  5692. s.Name = "Sky"
  5693. s.Parent = LightingService
  5694. local skyboxID = args[1]
  5695. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  5696. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  5697. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  5698. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  5699. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  5700. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  5701. LightingService.TimeOfDay = 12
  5702. end)
  5703.  
  5704. addcmd('freeze', 'freezes a player',{'fr'},
  5705. function(args, speaker)
  5706. local players = getPlayer(args[1], speaker)
  5707. if players ~= nil then
  5708. for i, v in pairs(players) do
  5709. spawn(function()
  5710. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
  5711. end
  5712. end)
  5713. end
  5714. end
  5715. end)
  5716.  
  5717. addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
  5718. function(args, speaker)
  5719. local players = getPlayer(args[1], speaker)
  5720. if players ~= nil then
  5721. for i, v in pairs(players) do
  5722. spawn(function()
  5723. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
  5724. end
  5725. end)
  5726. end
  5727. end
  5728. end)
  5729.  
  5730. addcmd('spawn', 'places a spawn',{'spawnpoint'},
  5731. function(args, speaker)
  5732. local players = getPlayer(args[1], speaker)
  5733. if players ~= nil then
  5734. for i, v in pairs(players) do
  5735. local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
  5736. M.CFrame = _char(v).HumanoidRootPart.CFrame
  5737. M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
  5738. M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
  5739. M.Anchored = true
  5740. end
  5741. end
  5742. end)
  5743.  
  5744. addcmd('deletespawns', 'places a spawn',{'removespawns'},
  5745. function(args, speaker)
  5746. for i,v in pairs(workspace:GetDescendants()) do
  5747. if v:IsA("SpawnLocation") then
  5748. v:Destroy()
  5749. end
  5750. end
  5751. end)
  5752.  
  5753. addcmd('neon', 'makes a player neon',{},
  5754. function(args, speaker)
  5755. local players = getPlayer(args[1], speaker)
  5756. if players ~= nil then
  5757. for i, v in pairs(players) do
  5758. for _, child in pairs( _char(v):GetChildren()) do
  5759. if child.ClassName == "CharacterMesh" then
  5760. child:Destroy()
  5761. end
  5762. end
  5763. for _, child in pairs( _char(v):GetChildren()) do
  5764. if child.ClassName == "Shirt" then
  5765. child:Destroy()
  5766. end
  5767. end
  5768. for _, child in pairs( _char(v):GetChildren()) do
  5769. if child.ClassName == "Pants" then
  5770. child:Destroy()
  5771. end
  5772. end
  5773. for _, child in pairs( _char(v):GetChildren()) do
  5774. if child.ClassName == "Part" then
  5775. child.Material = "Neon"
  5776. end
  5777. end
  5778. end
  5779. end
  5780. end)
  5781.  
  5782. addcmd('kill', 'kills a player',{},
  5783. function(args, speaker)
  5784. local players = getPlayer(args[1], speaker)
  5785. for i,v in pairs(players)do
  5786. local pchar=_char(v)
  5787. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  5788. end
  5789. end)
  5790.  
  5791. addcmd('knuckles', 'kills a player',{'ugandaknuckles'},
  5792. function(args, speaker)
  5793. local players = getPlayer(args[1], speaker)
  5794. for i,v in pairs(players)do
  5795. spawn(function()
  5796. local plr = gPlayers[v]
  5797. local char = plr.Character
  5798. local mouse = plr:GetMouse()
  5799. char.Humanoid.WalkSpeed = 100
  5800. char.Humanoid.JumpPower = 70
  5801. spawn(function()
  5802. for i,v in pairs(char:GetChildren()) do
  5803. if v:IsA("BasePart") then
  5804. coroutine.wrap(function()
  5805. for i=0,1,.1 do
  5806. wait()
  5807. v.Transparency = v.Transparency +i
  5808. end
  5809. end)()
  5810. end
  5811. end
  5812. for i,v in pairs(char:GetChildren()) do
  5813. if v:IsA("Accessory") then
  5814. coroutine.wrap(function()
  5815. for i=0,1,.1 do
  5816. wait()
  5817. v.Handle.Transparency = v.Handle.Transparency +i
  5818. end
  5819. end)()
  5820. end
  5821. end
  5822. end)
  5823. char.Head.face:Destroy()
  5824. wait(1)
  5825. local s = Instance.new("Sound")
  5826. s.Name = "wae"
  5827. s.SoundId = "http://www.roblox.com/asset/?id=1308281913"
  5828. s.Volume = 1
  5829. s.Pitch = 1
  5830. s.Looped = true
  5831. s.archivable = true
  5832. s.Parent = gPlayers.LocalPlayer.Character.Head
  5833. s:play()
  5834. local daqueen = Instance.new("Part",char)
  5835. daqueen.Name = "asd"
  5836. daqueen.CanCollide = false
  5837. local mesh = Instance.new("SpecialMesh",daqueen)
  5838. mesh.Scale = Vector3.new(0.1,0.1,0.1)
  5839. mesh.MeshId = "rbxassetid://1300136843"
  5840. local text = Instance.new("Decal",daqueen)
  5841. text.Name = "asd"
  5842. text.Texture = "rbxassetid://1300137893"
  5843. local knowdawey = Instance.new("Weld",char)
  5844. knowdawey.Part0 = char.HumanoidRootPart
  5845. knowdawey.Part1 = daqueen
  5846. local eye1 = Instance.new("Part")
  5847. eye1.CanCollide = false
  5848. eye1.Parent = char
  5849. local mesh1 = Instance.new("SpecialMesh",eye1)
  5850. mesh1.MeshId = "rbxassetid://1300138314"
  5851. mesh1.Scale = Vector3.new(0.1,0.1,0.2)
  5852. local eyetext = Instance.new("Decal",eye1)
  5853. eyetext.Texture = "rbxassetid://1300129774"
  5854. local eye1w = Instance.new("Weld",char)
  5855. eye1w.Part0 = char.HumanoidRootPart
  5856. eye1w.Part1 = eye1
  5857. eye1w.C1 = CFrame.new(0,-1.3,0.7)
  5858. end)
  5859. end
  5860. end)
  5861.  
  5862. addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
  5863. function(args, speaker)
  5864. part = GLS(false, 0)
  5865. local function dels(instance)
  5866. for i,v in pairs(instance:GetChildren())do
  5867. if v.Name:lower() == part:lower() then v:Destroy() end
  5868. dels(v)
  5869. end
  5870. end
  5871. dels(workspace)
  5872. Notify('Deleted ' ..GLS(false, 0))
  5873. end)
  5874.  
  5875. addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname'},
  5876. function(args, speaker)
  5877. part = GLS(false, 0)
  5878. local function dels(instance)
  5879. for i,v in pairs(instance:GetChildren())do
  5880. if v.ClassName:lower() == part:lower() then v:Destroy() end
  5881. dels(v)
  5882. end
  5883. end
  5884. dels(workspace)
  5885. Notify('Deleted items with ClassName ' ..GLS(false, 0))
  5886. end)
  5887.  
  5888. addcmd('blur', 'adjusts blur',{},
  5889. function(args, speaker)
  5890. local function dels(instance)
  5891. for i,v in pairs(instance:GetChildren())do
  5892. if v:IsA'BlurEffect'then v:Destroy()end
  5893. dels(v)
  5894. end
  5895. end
  5896. dels(LightingService)
  5897.  
  5898. local b = Instance.new("BlurEffect", LightingService)
  5899. b.Name = "IYblur"
  5900. b.Size = args[1]
  5901. end)
  5902.  
  5903.  
  5904. addcmd('volume','changes volume of sound',{'vol'},
  5905. function(args, speaker)
  5906. for i,v in pairs(workspace:GetChildren())do
  5907. if v:IsA("Sound") and v.Name == "IYsound" then
  5908. v.Volume = args[1]
  5909. Notify('Changed volume to ' .. args[1])
  5910. end
  5911. end
  5912. end)
  5913.  
  5914. addcmd('pitch','changes pitch of sound',{},
  5915. function(args, speaker)
  5916. for i,v in pairs(workspace:GetChildren())do
  5917. if v:IsA("Sound") and v.Name == "IYsound" then
  5918. v.Pitch = args[1]
  5919. Notify('Changed pitch to ' .. args[1])
  5920. end
  5921. end
  5922. end)
  5923.  
  5924. addcmd('loadmap', 'spawns a map',{},
  5925. function(args, speaker)
  5926. local m = args[1]
  5927. for _,v in pairs(workspace:GetChildren()) do
  5928. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  5929. v:Remove() elseif v:IsA("Terrain") then v:Clear() end end
  5930. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
  5931. wait(1)
  5932. game:GetObjects("rbxassetid://" .. m)[1].Parent = workspace
  5933. end)
  5934.  
  5935. addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION
  5936. function(args, speaker)
  5937. msghook()
  5938. if MSGhook == false then
  5939. wait(0.1)
  5940. local localp = game:GetService'Players'.LocalPlayer
  5941. localp.CharacterAppearanceId = 20018
  5942. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  5943. wait(3)
  5944. gPlayers.LocalPlayer.Character:WaitForChild("Humanoid")
  5945. wait(0.5)
  5946. repeat wait() until gPlayers.LocalPlayer.Character.Humanoid.Health > 0
  5947. Instance.new("ForceField", gPlayers.LocalPlayer.Character)
  5948. repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
  5949. _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
  5950. localp.CharacterAppearanceId = 0
  5951. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  5952. if _G.mainhat ~= nil then
  5953. local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
  5954. local localp = game:GetService'Players'.LocalPlayer
  5955. local part = Instance.new('Part')
  5956. part.Anchored = true
  5957. part.Transparency = 1
  5958. main.Disabled = false
  5959. main.Parent = part
  5960. _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
  5961. Instance.new('ForceField', localp.Character)
  5962. localp.Character.HumanoidRootPart.Anchored = true
  5963. part.Parent = localp.Character
  5964. part.CFrame = localp.Character.HumanoidRootPart.CFrame
  5965. wait(0.5)
  5966. localp.Character.HumanoidRootPart.Anchored = false
  5967. repeat wait() until localp:FindFirstChild'ChessMsg'
  5968. part:Remove()
  5969. local message = localp:FindFirstChild'ChessMsg'
  5970. message.Text = ''
  5971. message.Parent = workspace
  5972. message.Name = "IYmessage"
  5973. if part ~= nil then part:Remove() end
  5974. localp.Character.HumanoidRootPart.Anchored = false
  5975. for _, child in pairs( workspace:GetChildren()) do
  5976. if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
  5977. child:Destroy()
  5978. end
  5979. end
  5980. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  5981. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  5982. if _G.msg ~= nil then
  5983. Notify('Loaded global message bypass')
  5984. else
  5985. warn'failed sadly'
  5986. end
  5987. end
  5988. elseif MSGhook == true then
  5989. Notify('Messages already loaded!')
  5990. end
  5991. end)
  5992.  
  5993. addcmd('countdown', 'makes a countdown', {},
  5994. function(args, speaker)
  5995. local players = getPlayer(args[1], speaker)
  5996. if args[1] ~= string then
  5997. local time = args[1]
  5998. msghook()
  5999. if MSGhook == true then
  6000. local h = workspace.IYmessage
  6001. for i = time, 1, -1 do
  6002. wait(1)
  6003. h.Text = "Countdown: "..i..""
  6004. end
  6005. wait(1)
  6006. h.Text = "Times Up!"
  6007. wait(2)
  6008. h.Text = ''
  6009. elseif MSGhook == false then
  6010. execCmd("loadm")
  6011. repeat wait() until workspace:FindFirstChild("IYmessage")
  6012. local h = workspace.IYmessage
  6013. for i = time, 1, -1 do
  6014. wait(1)
  6015. h.Text = "Countdown: "..i..""
  6016. end
  6017. wait(1)
  6018. h.Text = "Times Up!"
  6019. wait(2)
  6020. h.Text = ''
  6021. end
  6022. end
  6023. end)
  6024.  
  6025. addcmd('explode', 'explode a player', {},
  6026. function(args, speaker)
  6027. local players = getPlayer(args[1], speaker)
  6028. for i, v in pairs(players) do
  6029. local char = _char(v)
  6030. if char:FindFirstChild("HumanoidRootPart") then
  6031. Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
  6032. end
  6033. end
  6034. end)
  6035.  
  6036. addcmd('flood', 'makes a flood e.e', {},
  6037. function(args, speaker)
  6038. workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  6039. end)
  6040.  
  6041. addcmd('spookyify', 'makes it sp00ky', {},
  6042. function(args, speaker)
  6043. local music = Instance.new("Sound", workspace)
  6044. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  6045. music.Volume = 20
  6046. music.Looped = true
  6047. music:Play()
  6048.  
  6049. tex1 = "http://www.roblox.com/asset/?id=185495987"
  6050. tex2 = "http://www.roblox.com/asset/?id=260858020"
  6051. tex3 = "http://www.roblox.com/asset/?id=149213919"
  6052. tex4 = "http://www.roblox.com/asset/?id=171905673"
  6053.  
  6054. local w = workspace:GetChildren()
  6055.  
  6056. for i= 1,#w do
  6057. if w[i]:isA("BasePart") then
  6058. pe = Instance.new("ParticleEmitter", w[i])
  6059. pe.Texture = tex4
  6060. pe.VelocitySpread = 5
  6061. end
  6062. end
  6063.  
  6064. local playerLeaderstats = {}
  6065. for i, v in pairs(gPlayers:GetChildren()) do
  6066. table.insert(playerLeaderstats, v)
  6067. end
  6068. for i, v in pairs(playerLeaderstats) do
  6069. pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
  6070. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  6071. pe.VelocitySpread = 50
  6072. end
  6073.  
  6074. texture = "http://www.roblox.com/asset/?id=185495987"
  6075.  
  6076. local A = workspace:GetChildren()
  6077. local B = workspace:GetChildren()
  6078. local C = workspace:GetChildren()
  6079. local D = workspace:GetChildren()
  6080. local E = workspace:GetChildren()
  6081. local F = workspace:GetChildren()
  6082. for i,v in pairs(A) do
  6083. if v:IsA("Part") then
  6084. local d = Instance.new("Decal",v)
  6085. v.Decal.Face = "Top"
  6086. v.Decal.Texture = texture
  6087. v.Anchored = true
  6088. end
  6089. end
  6090.  
  6091. for i,v in pairs(B) do
  6092. if v:IsA("Part") then
  6093. local s = Instance.new("Decal",v)
  6094. s.Face = "Front"
  6095. s.Texture = texture
  6096. end
  6097. end
  6098.  
  6099. for i,v in pairs(C) do
  6100. if v:IsA("Part") then
  6101. local h = Instance.new("Decal",v)
  6102. h.Face = "Back"
  6103. h.Texture = texture
  6104. end
  6105. end
  6106.  
  6107. for i,v in pairs(D) do
  6108. if v:IsA("Part") then
  6109. local j = Instance.new("Decal",v)
  6110. j.Face = "Left"
  6111. j.Texture = texture
  6112. end
  6113. end
  6114.  
  6115. for i,v in pairs(E) do
  6116. if v:IsA("Part") then
  6117. local k = Instance.new("Decal",v)
  6118. k.Face = "Right"
  6119. k.Texture = texture
  6120. end
  6121. end
  6122.  
  6123. for i,v in pairs(F) do
  6124. if v:IsA("Part") then
  6125. local l = Instance.new("Decal",v)
  6126. l.Face = "Bottom"
  6127. l.Texture = texture
  6128. end
  6129.  
  6130. imageOne = "http://www.roblox.com/asset/?id=169585459"
  6131. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  6132. imageThree = "http://www.roblox.com/asset/?id=169585485"
  6133. imageFour = "http://www.roblox.com/asset/?id=169585502"
  6134. imageFive = "http://www.roblox.com/asset/?id=169585515"
  6135. imageSix = "http://www.roblox.com/asset/?id=169585502"
  6136. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  6137. imageEight = "http://www.roblox.com/asset/?id=169585475"
  6138.  
  6139. Spooky = Instance.new("Sound", workspace)
  6140. Spooky.Name = "Spooky"
  6141. Spooky.SoundId = "rbxassetid://174270407"
  6142. Spooky.Volume = 15
  6143. Spooky.Looped = true
  6144. Spooky:Play()
  6145.  
  6146. Sky = Instance.new("Sky", LightingService)
  6147. Sky.SkyboxBk = imageOne
  6148. Sky.SkyboxDn = imageOne
  6149. Sky.SkyboxFt = imageOne
  6150. Sky.SkyboxLf = imageOne
  6151. Sky.SkyboxRt = imageOne
  6152. Sky.SkyboxUp = imageOne
  6153.  
  6154.  
  6155. while true do
  6156. Sky.SkyboxBk = imageOne
  6157. Sky.SkyboxDn = imageOne
  6158. Sky.SkyboxFt = imageOne
  6159. Sky.SkyboxLf = imageOne
  6160. Sky.SkyboxRt = imageOne
  6161. Sky.SkyboxUp = imageOne
  6162. wait(0.15)
  6163. Sky.SkyboxBk = imageTwo
  6164. Sky.SkyboxDn = imageTwo
  6165. Sky.SkyboxFt = imageTwo
  6166. Sky.SkyboxLf = imageTwo
  6167. Sky.SkyboxRt = imageTwo
  6168. Sky.SkyboxUp = imageTwo
  6169. wait(0.15)
  6170. Sky.SkyboxBk = imageThree
  6171. Sky.SkyboxDn = imageThree
  6172. Sky.SkyboxFt = imageThree
  6173. Sky.SkyboxLf = imageThree
  6174. Sky.SkyboxRt = imageThree
  6175. Sky.SkyboxUp = imageThree
  6176. wait(0.15)
  6177. Sky.SkyboxBk = imageFour
  6178. Sky.SkyboxDn = imageFour
  6179. Sky.SkyboxFt = imageFour
  6180. Sky.SkyboxLf = imageFour
  6181. Sky.SkyboxRt = imageFour
  6182. Sky.SkyboxUp = imageFour
  6183. wait(0.15)
  6184. Sky.SkyboxBk = imageFive
  6185. Sky.SkyboxDn = imageFive
  6186. Sky.SkyboxFt = imageFive
  6187. Sky.SkyboxLf = imageFive
  6188. Sky.SkyboxRt = imageFive
  6189. Sky.SkyboxUp = imageFive
  6190. wait(0.15)
  6191. Sky.SkyboxBk = imageSix
  6192. Sky.SkyboxDn = imageSix
  6193. Sky.SkyboxFt = imageSix
  6194. Sky.SkyboxLf = imageSix
  6195. Sky.SkyboxRt = imageSix
  6196. Sky.SkyboxUp = imageSix
  6197. wait(0.15)
  6198. Sky.SkyboxBk = imageSeven
  6199. Sky.SkyboxDn = imageSeven
  6200. Sky.SkyboxFt = imageSeven
  6201. Sky.SkyboxLf = imageSeven
  6202. Sky.SkyboxRt = imageSeven
  6203. Sky.SkyboxUp = imageSeven
  6204. wait(0.15)
  6205. Sky.SkyboxBk = imageEight
  6206. Sky.SkyboxDn = imageEight
  6207. Sky.SkyboxFt = imageEight
  6208. Sky.SkyboxLf = imageEight
  6209. Sky.SkyboxRt = imageEight
  6210. Sky.SkyboxUp = imageEight
  6211. wait(0.15)
  6212.  
  6213. end
  6214. end
  6215. end)
  6216.  
  6217. addcmd('invisible', 'make a player invisible',{'invis'},
  6218. function(args, speaker)
  6219. local players = getPlayer(args[1], speaker)
  6220. for i, v in pairs(players) do
  6221. for k, v2 in pairs(_char(v):GetChildren()) do
  6222. if v2.className == "Part" then
  6223. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  6224. elseif v2.className == "Accessory" then
  6225. if v2:FindFirstChild("Handle") then
  6226. v2.Handle.Transparency = 1
  6227. end
  6228. end
  6229. if v2:FindFirstChild("face") then
  6230. v2.face.Transparency = 1
  6231. end
  6232. end
  6233. end
  6234. end)
  6235.  
  6236. addcmd('visible', 'make a player visible',{'vis'},
  6237. function(args, speaker)
  6238. local players = getPlayer(args[1], speaker)
  6239. for i, v in pairs(players) do
  6240. for k, v2 in pairs(_char(v):GetChildren()) do
  6241. if v2.className == "Part" then
  6242. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
  6243. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  6244. end
  6245. if v2:FindFirstChild("face") then
  6246. v2.face.Transparency = 0
  6247. end
  6248. end
  6249. end
  6250. end)
  6251.  
  6252. addcmd('goto', 'go to a player',{},
  6253. function(args, speaker)
  6254. local players = getPlayer(args[1], speaker)
  6255. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  6256. speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  6257. end
  6258. end)
  6259.  
  6260. addcmd('bring', 'bring a player to you',{},
  6261. function(args, speaker)
  6262. local players = getPlayer(args[1], speaker)
  6263. for i,v in pairs(players) do
  6264. if _char(v):FindFirstChild("HumanoidRootPart") then
  6265. _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
  6266. end
  6267. end
  6268. end)
  6269.  
  6270. local WayPoints = {}
  6271.  
  6272. addcmd("savepos","sets a waypoint at the speaker's position",{'spos'},
  6273. function(args, speaker)
  6274. local WPName = tostring(GLS(false, 0))
  6275. if speaker.Character:findFirstChild("HumanoidRootPart") then
  6276. Notify("Created waypoint: "..GLS(false, 0))
  6277. local torso = speaker.Character:findFirstChild("HumanoidRootPart")
  6278. WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
  6279. updatepositions()
  6280. end
  6281. end)
  6282.  
  6283. addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'},
  6284. function(args, speaker)
  6285. for i,v in pairs(WayPoints) do
  6286. if v.NAME == tostring(GLS(false, 0)) then
  6287. Notify("Deleted waypoint: " .. v.NAME)
  6288. table.remove(WayPoints, i)
  6289. updatepositions()
  6290. end end
  6291. end)
  6292.  
  6293.  
  6294. addcmd("loadpos","teleports a player to a waypoint",{'lpos'},
  6295. function(args, speaker)
  6296. local players = getPlayer(args[1], speaker)
  6297. local WPName = tostring(GLS(false, 1))
  6298. for i,v in pairs(players) do
  6299. if gPlayers[v] and gPlayers[v].Character then
  6300. for i,_ in pairs(WayPoints) do
  6301. local x = WayPoints[i].COORD[1]
  6302. local y = WayPoints[i].COORD[2]
  6303. local z = WayPoints[i].COORD[3]
  6304. if tostring(WayPoints[i].NAME) == tostring(WPName) then
  6305. gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
  6306. end
  6307. end
  6308. end
  6309. end
  6310. end)
  6311.  
  6312. addcmd('tp', 'teleport player 1 to player 2',{},
  6313. function(args, speaker)
  6314. local players1=getPlayer(args[1], speaker)
  6315. local players2=getPlayer(args[2], speaker)
  6316. if not players2[1] then return end
  6317. for i,v in pairs(players1) do
  6318. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  6319. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  6320. wait(0.1)
  6321. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  6322. end
  6323. end
  6324. end)
  6325.  
  6326. addcmd('charplr','charplr [plr] [plr]',{'cp'},
  6327. function(args, speaker)
  6328. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  6329. for i,v in pairs(players1) do for a,b in pairs(players2) do
  6330. if _players[v].Character and _players[b].Character then
  6331. _players[v].CharacterAppearanceId = _players[b].userId
  6332. refresh(_players[v])
  6333. end
  6334. end
  6335. end
  6336. end)
  6337.  
  6338. addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
  6339. function(args, speaker)
  6340. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  6341. for i,v in pairs(players1) do for a,b in pairs(players2) do
  6342. spawn(function()
  6343. for i,v in pairs(_players[v].Backpack:GetChildren()) do
  6344. if v:IsA('Tool') or v:IsA('HopperBin') then
  6345. if not _players[b] then
  6346. v:Clone().Parent = speaker.Backpack
  6347. else v:Clone().Parent = _players[b].Backpack
  6348. end
  6349. end
  6350. end
  6351. end)
  6352. end
  6353. end
  6354. end)
  6355.  
  6356. addcmd('char', 'change a players appearance',{},
  6357. function(args, speaker)
  6358. local players = getPlayer(args[1], speaker)
  6359. if not args[1]or not args[2]then return end
  6360. local id=args[2]
  6361. if players ~= nil then
  6362. for i,v in pairs(players) do
  6363. gPlayers[v].CharacterAppearanceId = id
  6364. refresh(gPlayers[v])
  6365. end
  6366. end
  6367. end)
  6368.  
  6369. addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
  6370. function(args, speaker)
  6371. local players = getPlayer(args[1], speaker)
  6372. if players ~= nil then
  6373. for i,v in pairs(players) do
  6374. gPlayers[v].CharacterAppearanceId = 0
  6375. refresh(gPlayers[v])
  6376. end
  6377. end
  6378. end)
  6379.  
  6380. addcmd('speed', 'change a players walkspeed',{'ws'},
  6381. function(args, speaker)
  6382. local players = getPlayer(args[1], speaker)
  6383. if not args[1]or not args[2]then return end
  6384. local num=args[2]
  6385. for i,v in pairs(players) do
  6386. if _char(v):FindFirstChild("Humanoid") then
  6387. _char(v).Humanoid.WalkSpeed=tonumber(num)
  6388. end
  6389. end
  6390. end)
  6391.  
  6392. addcmd('jump', 'forces a player to jump',{},
  6393. function(args, speaker)
  6394. local players = getPlayer(args[1], speaker)
  6395. for i,v in pairs(players) do
  6396. if _char(v):FindFirstChild("Humanoid") then
  6397. _char(v).Humanoid.Jump = true
  6398. end
  6399. end
  6400. end)
  6401.  
  6402. jumping = {}
  6403. addcmd('loopjump','like a bunny :)',{'ljump'},
  6404. function(args, speaker)
  6405. local players = getPlayer(args[1], speaker)
  6406. for i,v in pairs(players)do
  6407. spawn(function()
  6408. if FindTable(jumping, _players[v].Name) then return end
  6409. table.insert(jumping, _players[v].Name)
  6410. repeat wait(0.01)
  6411. if _players[v].Character.Humanoid.Jump ~= true then
  6412. _players[v].Character.Humanoid.Jump = true end
  6413. until not FindTable(jumping, _players[v].Name)
  6414. end)
  6415. end
  6416. end)
  6417.  
  6418. addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'},
  6419. function(args, speaker)
  6420. local players = getPlayer(args[1], speaker)
  6421. for i,v in pairs(players)do
  6422. spawn(function()
  6423. for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end
  6424. end)
  6425. end
  6426. end)
  6427.  
  6428. addcmd('sit', 'sit a player',{},
  6429. function(args, speaker)
  6430. local players = getPlayer(args[1], speaker)
  6431. for i,v in pairs(players) do
  6432. if _char(v):FindFirstChild("Humanoid") then
  6433. _char(v).Humanoid.Sit = true
  6434. end
  6435. end
  6436. end)
  6437.  
  6438. sitting = {}
  6439. addcmd('loopsit','very annoying',{'lsit'},
  6440. function(args, speaker)
  6441. local players = getPlayer(args[1], speaker)
  6442. for i,v in pairs(players)do
  6443. spawn(function()
  6444. if FindTable(sitting, _players[v].Name) then return end
  6445. table.insert(sitting, _players[v].Name)
  6446. repeat wait(0.01)
  6447. if _players[v].Character.Humanoid.Sit ~= true then
  6448. _players[v].Character.Humanoid.Sit = true end
  6449. until not FindTable(sitting, _players[v].Name)
  6450. end)
  6451. end
  6452. end)
  6453.  
  6454. addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'},
  6455. function(args, speaker)
  6456. local players = getPlayer(args[1], speaker)
  6457. for i,v in pairs(players)do
  6458. spawn(function()
  6459. for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end
  6460. end)
  6461. end
  6462. end)
  6463.  
  6464. addcmd('trip','makes a player trip',{},
  6465. function(args, speaker)
  6466. local players = getPlayer(args[1], speaker)
  6467. for i,v in pairs(players)do
  6468. spawn(function()
  6469. if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762
  6470. local dir = _players[v].Character:findFirstChild("Right Leg")
  6471. dir.Anchored = true
  6472. if dir.Anchored == true then
  6473. wait(.5)
  6474. _players[v].Character.Humanoid.Sit = true
  6475. wait(1)
  6476. _players[v].Character.Humanoid.Sit = false
  6477. dir.Anchored = false
  6478. end
  6479. end
  6480. end)
  6481. end
  6482. end)
  6483.  
  6484. oofing = false
  6485. addcmd('loopoof','very VERY annoying',{},
  6486. function(args, speaker)
  6487. oofing = true
  6488. repeat wait(0.01)
  6489. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  6490. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  6491. for _,x in pairs(v.Character.Head:GetChildren()) do
  6492. if x:IsA'Sound' then x.Playing = true end
  6493. end
  6494. end
  6495. end
  6496. until oofing == false
  6497. end)
  6498.  
  6499. addcmd('unloopoof','stops the oof chaos',{},
  6500. function(args, speaker)
  6501. oofing = false
  6502. end)
  6503.  
  6504. addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
  6505. function(args, speaker)
  6506. local players = getPlayer(args[1], speaker)
  6507. if not args[1]or not args[2]then return end
  6508. local num=args[2]
  6509. for i,v in pairs(players) do
  6510. if _char(v):FindFirstChild("Humanoid") then
  6511. _char(v).Humanoid.JumpPower=tonumber(num)
  6512. end
  6513. end
  6514. end)
  6515.  
  6516. addcmd('confuse', 'confusing...',{},
  6517. function(args, speaker)
  6518. local players = getPlayer(args[1], speaker)
  6519. for i,v in pairs(players) do
  6520. spawn(function()
  6521. if _char(v):FindFirstChild("Humanoid") then
  6522. _char(v).Humanoid.Name = "ConfusedNigga"
  6523. while true do
  6524. _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
  6525. _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
  6526. wait(0.1)
  6527. end
  6528.  
  6529. end
  6530. end)
  6531. end
  6532. end)
  6533.  
  6534. addcmd('unconfuse', 'not confusing...',{},
  6535. function(args, speaker)
  6536. local players = getPlayer(args[1], speaker)
  6537. for i,v in pairs(players) do
  6538. spawn(function()
  6539. if _char(v):FindFirstChild("ConfusedNigga") then
  6540. _char(v).ConfusedNigga.Name = "Humanoid"
  6541. wait(0.3)
  6542. _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  6543.  
  6544. end
  6545. end)
  6546. end
  6547. end)
  6548.  
  6549. addcmd('cripple', 'cripples a player xddd',{'stun'},
  6550. function(args, speaker)
  6551. local players = getPlayer(args[1], speaker)
  6552. for i,v in pairs(players) do
  6553. if _char(v):FindFirstChild("Humanoid") then
  6554. _char(v).Humanoid.PlatformStand = true
  6555. end
  6556. end
  6557. end)
  6558.  
  6559. addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
  6560. function(args, speaker)
  6561. local players = getPlayer(args[1], speaker)
  6562. for i,v in pairs(players) do
  6563. if _char(v):FindFirstChild("Humanoid") then
  6564. _char(v).Humanoid.PlatformStand = false
  6565. end
  6566. end
  6567. end)
  6568.  
  6569. addcmd('hipheight', 'adjusts hip height',{'hheight'},
  6570. function(args, speaker)
  6571. local players = getPlayer(args[1], speaker)
  6572. for i,v in pairs(players) do
  6573. if _char(v):FindFirstChild("Humanoid") then
  6574. _char(v).Humanoid.HipHeight = args[2]
  6575. end
  6576. end
  6577. end)
  6578.  
  6579. addcmd('face', 'change a players face',{},
  6580. function(args, speaker)
  6581. local players = getPlayer(args[1], speaker)
  6582. for i,v in pairs(players) do
  6583. if _char(v).Head:FindFirstChild("face") then
  6584. _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
  6585. end
  6586. end
  6587. end)
  6588.  
  6589. addcmd('time', 'change the time of day',{},
  6590. function(args, speaker)
  6591. if not args[1]then return end
  6592. Notify('Time set to ' .. args[1])
  6593. LightingService.ClockTime = args[1]
  6594. end)
  6595.  
  6596. addcmd('day', 'change the time to day',{},
  6597. function(args, speaker)
  6598. LightingService.ClockTime = 15
  6599. end)
  6600.  
  6601. addcmd('night', 'change the time of night',{},
  6602. function(args, speaker)
  6603. LightingService.ClockTime = 0
  6604. end)
  6605.  
  6606. addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
  6607. function(args, speaker)
  6608. Notify('Turned on global shadows')
  6609. LightingService.GlobalShadows = true
  6610. end)
  6611.  
  6612. addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
  6613. function(args, speaker)
  6614. Notify('Turned off global shadows')
  6615. LightingService.GlobalShadows = false
  6616. end)
  6617.  
  6618. addcmd('outlines', 'changes the lighting property',{},
  6619. function(args, speaker)
  6620. Notify('Turned on outlines')
  6621. LightingService.Outlines = true
  6622. end)
  6623.  
  6624. addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
  6625. function(args, speaker)
  6626. Notify('Turned off outlines')
  6627. LightingService.Outlines = false
  6628. end)
  6629.  
  6630. addcmd('brightness', 'changes the lighting property',{},
  6631. function(args, speaker)
  6632. Notify('Set brightness to ' .. args[1])
  6633. LightingService.Brightness = args[1]
  6634. end)
  6635.  
  6636. addcmd('age','tells you the age of a player',{},
  6637. function(args, speaker)
  6638. local players = getPlayer(args[1], speaker)
  6639. if speaker.userId ~= LP.userId then
  6640. lponly(speaker)
  6641. else
  6642. for i,v in pairs(players) do
  6643. game:FindService('StarterGui'):SetCore('SendNotification', {
  6644. Title = _players[v].Name,
  6645. Text = 'Age: '.._players[v].AccountAge,
  6646. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000),
  6647. Duration = 5,
  6648. })
  6649. end
  6650. end
  6651. end)
  6652.  
  6653. addcmd('remotespy', 'prints remotes',{'remotes'},
  6654. function(args, speaker)
  6655. if speaker.userId ~= LP.userId then
  6656. lponly(speaker)
  6657. else
  6658. Notify('Printing remotes')
  6659. function getem(o)
  6660. for i,v in pairs(o:children())do
  6661. if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then
  6662. print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
  6663. end
  6664. getem(v)
  6665. end
  6666. end
  6667. pcall(getem,game)
  6668. end
  6669. end)
  6670.  
  6671. addcmd('f3x', 'loads f3x tools',{'fex'},
  6672. function(args, speaker)
  6673. if speaker.userId ~= LP.userId then
  6674. lponly(speaker)
  6675. else
  6676. loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
  6677. end
  6678. end)
  6679.  
  6680. addcmd('kick', 'kick a player',{},
  6681. function(args, speaker)
  6682. local players = getPlayer(args[1], speaker)
  6683. for i,v in pairs(players) do
  6684. spawn(function()
  6685. if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
  6686. Notify('Kicked player(s)') end
  6687. kickF(gPlayers[v])
  6688. end) end end)
  6689.  
  6690. addcmd('serverlock', 'lock teh server',{'slock'},
  6691. function(args, speaker)
  6692. slock = true
  6693. Notify('Locked Server')
  6694. end)
  6695.  
  6696. addcmd('unserverlock', 'unlock teh server',{'unslock'},
  6697. function(args, speaker)
  6698. slock = false
  6699. Notify('Unlocked Server')
  6700. end)
  6701.  
  6702. addcmd('agelock', 'lock teh server for a certain age',{'alock'},
  6703. function(args, speaker)
  6704. if isNumber(args[1]) then
  6705. Notify('Set the age lock to age ' .. args[1])
  6706. isagelocked = true
  6707. agelock = tonumber(args[1])
  6708. end
  6709. end)
  6710.  
  6711. addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
  6712. function(args, speaker)
  6713. Notify('Disabled age lock')
  6714. isagelocked = false
  6715. end)
  6716.  
  6717. addcmd('unlockws', 'unlock the whole workspace',{},
  6718. function(args, speaker)
  6719. Notify('Workspace unlocked')
  6720. wait(1)
  6721. local function unlock(instance)
  6722. for i,v in pairs(instance:GetChildren()) do
  6723. if v:IsA("BasePart") then
  6724. v.Locked = false
  6725. end
  6726. unlock(v)
  6727. end
  6728. end
  6729. unlock(workspace)
  6730. end)
  6731.  
  6732. addcmd('lockws', 'lock the whole workspace',{},
  6733. function(args, speaker)
  6734. Notify('Workspace locked')
  6735. wait(1)
  6736. local function lock(instance)
  6737. for i,v in pairs(instance:GetChildren()) do
  6738. if v:IsA("BasePart") then
  6739. v.Locked = true
  6740. end
  6741. lock(v)
  6742. end
  6743. end
  6744. lock(workspace)
  6745. end)
  6746.  
  6747. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  6748. function(args, speaker)
  6749. local function unanchor(instance)
  6750. for i,v in pairs(instance:GetChildren()) do
  6751. if v:IsA("BasePart") then
  6752. v.Anchored=false
  6753. end
  6754. unanchor(v)
  6755. end
  6756. end
  6757. unanchor(workspace)
  6758. end)
  6759.  
  6760. addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
  6761. function(args, speaker)
  6762. local function anchor(instance)
  6763. for i,v in pairs(instance:GetChildren()) do
  6764. if v:IsA("BasePart") then
  6765. v.Anchored=true
  6766. end
  6767. anchor(v)
  6768. end
  6769. end
  6770. anchor(workspace)
  6771. end)
  6772.  
  6773. addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
  6774. function()
  6775. for _,v in pairs(workspace:GetChildren()) do
  6776. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  6777. v:Remove()
  6778. elseif v:IsA("Terrain") then
  6779. v:Clear()
  6780. end
  6781. end
  6782. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
  6783. local p = Instance.new("Part", workspace)
  6784. p.Anchored = true
  6785. p.FormFactor = "Symmetric"
  6786. p.Size = Vector3.new(1000,1,1000)
  6787. p.Position = Vector3.new(0,0,0)
  6788. p.BrickColor = BrickColor.new("Bright green")
  6789. p.Material = "Grass"
  6790. p.Locked = true
  6791. end)
  6792.  
  6793. addcmd('headshake', 'shakes a players head',{},
  6794. function(args, speaker)
  6795. local players = getPlayer(args[1], speaker)
  6796. for i,v in pairs(players) do
  6797. spawn(function()
  6798. local shaken = gPlayers[v].Character
  6799. for X = 1, math.huge, 0.2 do
  6800. wait()
  6801. shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  6802. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  6803. end
  6804. for X = 1, math.huge, 0.1 do
  6805. wait()
  6806. shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  6807. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  6808. end
  6809. for _,c in pairs(gPlayers:GetChildren()) do
  6810. c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  6811. end
  6812. for _,c in pairs(gPlayers:GetChildren()) do
  6813. c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  6814. end
  6815. end)
  6816. end
  6817. end)
  6818.  
  6819. addcmd('explorer', 'opens DEX',{'dex'},
  6820. function(args, speaker)
  6821. if speaker.userId ~= LP.userId then
  6822. lponly(speaker)
  6823. else
  6824. loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  6825. end
  6826. end)
  6827.  
  6828. addcmd('firstp', 'forces player to go into first person',{},
  6829. function(args, speaker)
  6830. local players = getPlayer(args[1], speaker)
  6831. for i,v in pairs(players)do
  6832. gPlayers[v].CameraMode = "LockFirstPerson"
  6833. end
  6834. end)
  6835.  
  6836. addcmd('lock', 'locks a players body parts',{},
  6837. function(args, speaker)
  6838. local players = getPlayer(args[1], speaker)
  6839. for i,v in pairs(players)do
  6840. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  6841. if v:IsA("Part") then
  6842. v.Locked = true
  6843. end end end
  6844. end)
  6845.  
  6846. addcmd('unlock', 'locks a players body parts',{},
  6847. function(args, speaker)
  6848. local players = getPlayer(args[1], speaker)
  6849. for i,v in pairs(players)do
  6850. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  6851. if v:IsA("Part") then
  6852. v.Locked = false
  6853. end end end
  6854. end)
  6855.  
  6856. addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
  6857. function(args, speaker)
  6858. local players = getPlayer(args[1], speaker)
  6859. for i,v in pairs(players)do
  6860. spawn(function()
  6861. gPlayers[v].Character.Humanoid.Name = "HumanoidIY"
  6862. if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
  6863. Notify('Disabled reset for player(s)') end
  6864. end)
  6865. end
  6866. end)
  6867.  
  6868. addcmd('enablereset', 'makes a player unable to reset',{'reset'},
  6869. function(args, speaker)
  6870. local players = getPlayer(args[1], speaker)
  6871. for i,v in pairs(players)do
  6872. spawn(function()
  6873. gPlayers[v].Character.HumanoidIY.Name = "Humanoid"
  6874. if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
  6875. Notify('Enabled reset for player(s)') end
  6876. end)
  6877. end
  6878. end)
  6879.  
  6880. addcmd("fixlighting","Removes effects from lighting",{'fixl'},
  6881. function(args,speaker)
  6882. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  6883. if v:IsA("PostEffect") then
  6884. v:Destroy()
  6885. end
  6886. end
  6887. LightingService.Ambient = origsettings.abt
  6888. LightingService.OutdoorAmbient = origsettings.oabt
  6889. LightingService.Brightness = origsettings.brt
  6890. LightingService.TimeOfDay = origsettings.time
  6891. LightingService.FogColor = origsettings.fclr
  6892. LightingService.FogEnd = origsettings.fe
  6893. LightingService.FogStart = origsettings.fs
  6894. end)
  6895.  
  6896. addcmd("savelighting","Removes effects from lighting",{'slighting'},
  6897. function(args,speaker)
  6898. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  6899. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  6900. Notify('Saved lighting settings')
  6901. end)
  6902.  
  6903. addcmd("blackandwhite","Makes the game black and white",{},
  6904. function(args,speaker)
  6905. local lighting = game:GetService("Lighting")
  6906. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6907. effect.Saturation = -1
  6908. end)
  6909.  
  6910. addcmd("invert","Makes the game inverted",{},
  6911. function(args,speaker)
  6912. local lighting = game:GetService("Lighting")
  6913. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6914. effect.Saturation = -1
  6915. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6916. effect.Saturation = -1
  6917. end)
  6918.  
  6919. addcmd("sun","Intensifys the sun",{},
  6920. function(args,speaker)
  6921. local intense = args[1] or 0.25
  6922. local spread = args[2] or 1
  6923. local lighting = game:GetService("Lighting")
  6924. local effect = Instance.new("SunRaysEffect",lighting)
  6925. effect.Name = "IYsun"
  6926. effect.Intensity = tonumber(intense)
  6927. effect.Spread = tonumber(spread)
  6928. end)
  6929.  
  6930. addcmd('base', 'spawns a base',{},
  6931. function(args, speaker)
  6932. local pt = Instance.new("Part")
  6933. pt.BrickColor = BrickColor.new("Silver")
  6934. pt.Anchored = true
  6935. pt.CanCollide = true
  6936. pt.BottomSurface = "Weld"
  6937. pt.Parent = workspace
  6938. pt.Name = (math.random(1,1000000))
  6939. pt.Size = Vector3.new(1000, 1, 1000)
  6940. pt.Locked = true
  6941. Notify('Created new base')
  6942. end)
  6943.  
  6944. addcmd('unblur', 'removes all blur instances',{'noblur'},
  6945. function(args, speaker)
  6946. for i,v in pairs(LightingService:GetChildren()) do
  6947. if v:IsA('BlurEffect') then
  6948. v:Remove()
  6949. end
  6950. end
  6951. end)
  6952.  
  6953. addcmd('thirdp', 'allows player to go into third person',{},
  6954. function(args, speaker)
  6955. local players = getPlayer(args[1], speaker)
  6956. for i,v in pairs(players)do
  6957. gPlayers[v].CameraMode = "Classic"
  6958. end
  6959. end)
  6960.  
  6961. addcmd('chat', 'forces player to chat what you input',{},
  6962. function(args, speaker)
  6963. local players = getPlayer(args[1], speaker)
  6964. for i,v in pairs(players)do
  6965. game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
  6966. end
  6967. end)
  6968.  
  6969. addcmd('name', 'names player',{},
  6970. function(args, speaker)
  6971. local players = getPlayer(args[1], speaker)
  6972. if not args[1] then return end
  6973. for i,v in pairs(players) do
  6974. for a, mod in pairs(gPlayers[v].Character:children()) do
  6975. if mod:FindFirstChild("TAG") then
  6976. gPlayers[v].Character.Head.Transparency = 0
  6977. mod:Destroy()
  6978. end
  6979. end
  6980.  
  6981. local char = gPlayers[v].Character
  6982. local model = Instance.new("Model", char)
  6983. local clone = char.Head:Clone()
  6984. local hum = Instance.new("Humanoid", model)
  6985. local weld = Instance.new("Weld", clone)
  6986. model.Name = GLS(false, 1)
  6987. clone.Parent = model
  6988. hum.Name = "TAG"
  6989. hum.MaxHealth = 100
  6990. hum.Health = 100
  6991. weld.Part0 = clone
  6992. weld.Part1 = char.Head
  6993. char.Head.Transparency = 1
  6994. end
  6995. end)
  6996.  
  6997. addcmd('unname', 'unnames player',{'unhidename'},
  6998. function(args, speaker)
  6999. local players = getPlayer(args[1], speaker)
  7000. local name = (args[2])
  7001. for i,v in pairs(players) do
  7002. for a, mod in pairs(gPlayers[v].Character:children()) do
  7003. if mod:FindFirstChild("TAG") then
  7004. gPlayers[v].Character.Head.Transparency = 0
  7005. mod:Destroy()
  7006. end
  7007. end
  7008. end
  7009. end)
  7010.  
  7011. addcmd('noname', 'hides the players name',{'hidename'},
  7012. function(args, speaker)
  7013. local players = getPlayer(args[1], speaker)
  7014. for i,v in pairs(players) do
  7015. for a, mod in pairs(gPlayers[v].Character:children()) do
  7016. if mod:FindFirstChild("TAG") then
  7017. gPlayers[v].Character.Head.Transparency = 0
  7018. mod:Destroy()
  7019. end
  7020. end
  7021.  
  7022. local char = gPlayers[v].Character
  7023. local model = Instance.new("Model", char)
  7024. local clone = char.Head:Clone()
  7025. local hum = Instance.new("Humanoid", model)
  7026. local weld = Instance.new("Weld", clone)
  7027. model.Name = ""
  7028. clone.Parent = model
  7029. hum.Name = "TAG"
  7030. hum.MaxHealth = 100
  7031. hum.Health = 100
  7032. weld.Part0 = clone
  7033. weld.Part1 = char.Head
  7034. char.Head.Transparency = 1
  7035. end
  7036. end)
  7037.  
  7038. addcmd('damage', 'damages a player',{},
  7039. function(args, speaker)
  7040. local players = getPlayer(args[1], speaker)
  7041. for i,v in pairs(players) do
  7042. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  7043. end
  7044. end)
  7045.  
  7046. addcmd('view', 'views player',{},
  7047. function(args, speaker)
  7048. local players = getPlayer(args[1], speaker)
  7049. for i,v in pairs(players) do
  7050. workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  7051. Notify('Viewing ' .. gPlayers[v].Name)
  7052. end
  7053. end)
  7054.  
  7055. addcmd('unview', 'stops viewing player',{},
  7056. function()
  7057. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  7058. Notify('View turned off')
  7059. end)
  7060.  
  7061. addcmd('nolimbs', 'removes limbs from player',{},
  7062. function(args, speaker)
  7063. local players = getPlayer(args[1], speaker)
  7064. for i,v in pairs(players) do
  7065. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7066. if v:IsA("BasePart") and
  7067. v.Name == "Right Leg" or
  7068. v.Name == "Left Leg" or
  7069. v.Name == "Right Arm" or
  7070. v.Name == "Left Arm" then
  7071. v:Remove()
  7072. end
  7073. end
  7074. end
  7075. end)
  7076.  
  7077. addcmd('box', 'creates a box around player',{},
  7078. function(args, speaker)
  7079. local players = getPlayer(args[1], speaker)
  7080. for i,v in pairs(players)do
  7081. local pchar=_char(v)
  7082. local SB = Instance.new("SelectionBox", pchar)
  7083. SB.Adornee = SB.Parent
  7084. end
  7085. end)
  7086.  
  7087. addcmd('nobox', 'takes away box from player',{'unbox'},
  7088. function(args, speaker)
  7089. local players = getPlayer(args[1], speaker)
  7090. for i,v in pairs(players)do
  7091. local pchar=_char(v)
  7092. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7093. if v:IsA("SelectionBox") then
  7094. v:Destroy()
  7095. end
  7096. end
  7097. end
  7098. end)
  7099.  
  7100. addcmd('ghost', 'ghostifys player',{},
  7101. function(args, speaker)
  7102. local players = getPlayer(args[1], speaker)
  7103. for i,v in pairs(players)do
  7104. local pchar=gPlayers[v].Character
  7105. pchar.Head.Transparency = 0.5
  7106. pchar.Torso.Transparency = 0.5
  7107. pchar["Left Arm"].Transparency = 0.5
  7108. pchar["Right Arm"].Transparency = 0.5
  7109. pchar["Left Leg"].Transparency = 0.5
  7110. pchar["Right Leg"].Transparency = 0.5
  7111. pchar.Head.face.Transparency = 0.5
  7112. end
  7113. end)
  7114.  
  7115. addcmd('unghost', 'unghostifys player',{'noghost'},
  7116. function(args, speaker)
  7117. local players = getPlayer(args[1], speaker)
  7118. for i,v in pairs(players)do
  7119. local pchar=gPlayers[v].Character
  7120. pchar.Head.Transparency = 0
  7121. pchar.Torso.Transparency = 0
  7122. pchar["Left Arm"].Transparency = 0
  7123. pchar["Right Arm"].Transparency = 0
  7124. pchar["Left Leg"].Transparency = 0
  7125. pchar["Right Leg"].Transparency = 0
  7126. pchar.Head.face.Transparency = 0
  7127. end
  7128. end)
  7129.  
  7130. addcmd('sphere', 'puts sphere around player',{},
  7131. function(args, speaker)
  7132. local players = getPlayer(args[1], speaker)
  7133. for i,v in pairs(players)do
  7134. local pchar=gPlayers[v].Character
  7135. local SS = Instance.new("SelectionSphere", pchar)
  7136. SS.Adornee = SS.Parent
  7137. end
  7138. end)
  7139.  
  7140. addcmd('sphere', 'puts sphere around player',{},
  7141. function(args, speaker)
  7142. local players = getPlayer(args[1], speaker)
  7143. for i,v in pairs(players)do
  7144. local pchar=gPlayers[v].Character
  7145. local SS = Instance.new("SelectionSphere", pchar)
  7146. SS.Adornee = SS.Parent
  7147. end
  7148. end)
  7149.  
  7150. addcmd('unsphere', 'removes sphere around player',{},
  7151. function(args, speaker)
  7152. local players = getPlayer(args[1], speaker)
  7153. for i,v in pairs(players)do
  7154. local pchar=_char(v)
  7155. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7156. if v:IsA("SelectionSphere") then
  7157. v:Destroy()
  7158. end
  7159. end
  7160. end
  7161. end)
  7162.  
  7163. addcmd('ambient','changes ambient',{},
  7164. function(args, speaker)
  7165. LightingService.Ambient = Color3.new(args[1],args[2],args[3])
  7166. LightingService.OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  7167. end)
  7168.  
  7169. addcmd('fogend','changes the fogend',{},
  7170. function(args, speaker)
  7171. LightingService.FogEnd = args[1]
  7172. end)
  7173.  
  7174. addcmd('fogcolor','changes the fogs color',{},
  7175. function(args, speaker)
  7176. LightingService.FogColor = Color3.new(args[1],args[2],args[3])
  7177. end)
  7178.  
  7179. injail = {}
  7180. addcmd('jail','jails player',{},
  7181. function(args, speaker)
  7182. local players = getPlayer(args[1], speaker)
  7183. for i,v in pairs(players)do
  7184. spawn(function()
  7185. if FindTable(injail, _players[v].Name) then return end
  7186. table.insert(injail, _players[v].Name)
  7187. local pchar=gPlayers[v].Character
  7188. local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
  7189. repeat wait(0.5)
  7190. pchar = _players[v].Character if pchar and pchar:FindFirstChild('HumanoidRootPart') and J:FindFirstChild('MAIN') then pchar.HumanoidRootPart.CFrame = J.MAIN.CFrame + Vector3.new(0, 1, 0) end
  7191. until not FindTable(injail, _players[v].Name)
  7192. end)
  7193. end
  7194. end)
  7195.  
  7196. addcmd('unjail','unjails player',{},
  7197. function(args, speaker)
  7198. local players = getPlayer(args[1], speaker)
  7199. for i,v in pairs(players)do
  7200. spawn(function()
  7201. for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
  7202. workspace["JAIL_" .. _players[v].Name]:Destroy()
  7203. end)
  7204. end
  7205. end)
  7206.  
  7207. loopn = {}
  7208. addcmd('loopname','loops a players name',{},
  7209. function(args, speaker)
  7210. local players = getPlayer(args[1], speaker)
  7211. for i,v in pairs(players)do
  7212. spawn(function()
  7213. if FindTable(loopn, _players[v].Name) then return end
  7214. table.insert(loopn, _players[v].Name)
  7215. local Lname = args[2]
  7216. local pchar=gPlayers[v].Character
  7217. pchar.Name = Lname
  7218. if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else
  7219. Notify('Looping name for player(s) (only visible to others)') end
  7220. repeat wait(0.01)
  7221. repeat wait() until _players[v].Character
  7222. gPlayers[v].Character.Name = Lname
  7223. until not FindTable(loopn, _players[v].Name)
  7224. end)
  7225. end
  7226. end)
  7227.  
  7228. addcmd('unloopname','unjails player',{'noloopname'},
  7229. function(args, speaker)
  7230. local players = getPlayer(args[1], speaker)
  7231. for i,v in pairs(players)do
  7232. spawn(function()
  7233. local pchar=gPlayers[v].Character
  7234. for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end
  7235. wait(0.5)
  7236. if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else
  7237. Notify('Stopped looping name for player(s)') end
  7238. pchar.Name = gPlayers[v].Name
  7239. end)
  7240. end
  7241. end)
  7242.  
  7243. addcmd('loopbring','loop brings a player lol',{},
  7244. function(args, speaker)
  7245. local players = getPlayer(args[1], speaker)
  7246. for i,v in pairs(players)do
  7247. spawn(function()
  7248. if FindTable(bringT, _players[v].Name) then return end
  7249. table.insert(bringT, _players[v].Name)
  7250. local pchar=gPlayers[v].Character
  7251. repeat wait(0.5)
  7252. pchar = _players[v].Character
  7253. for i,c in pairs(players) do
  7254. if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") then
  7255. pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
  7256. end
  7257. end
  7258. until not FindTable(bringT, _players[v].Name)
  7259. end)
  7260. end
  7261. end)
  7262.  
  7263. addcmd('feinvisible','fe invisible',{},
  7264. function(args, speaker)
  7265. -- Elite1337#9377 & Timeless#4044
  7266. Local = game:GetService('Players').LocalPlayer
  7267. Char = Local.Character
  7268. touched,tpdback = false, false
  7269. Local.CharacterAdded:connect(function(char)
  7270. if script.Disabled ~= true then
  7271. wait(.25)
  7272. loc = Char.HumanoidRootPart.Position
  7273. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  7274. end
  7275. end)
  7276. game:GetService('UserInputService').InputBegan:connect(function(key)
  7277. if key.KeyCode == Enum.KeyCode.Equals then
  7278. if script.Disabled ~= true then
  7279. script.Disabled = true
  7280. print'you may re-execute'
  7281. end
  7282. end
  7283. end)
  7284. box = Instance.new('Part',workspace)
  7285. box.Anchored = true
  7286. box.CanCollide = true
  7287. box.Size = Vector3.new(10,1,10)
  7288. box.Position = Vector3.new(0,10000,0)
  7289. box.Touched:connect(function(part)
  7290. if (part.Parent.Name == Local.Name) then
  7291. if touched == false then
  7292. touched = true
  7293. function apply()
  7294. if script.Disabled ~= true then
  7295. no = Char.HumanoidRootPart:Clone()
  7296. wait(.25)
  7297. Char.HumanoidRootPart:Destroy()
  7298. no.Parent = Char
  7299. Char:MoveTo(loc)
  7300. touched = false
  7301. end end
  7302. if Char then
  7303. apply()
  7304. end
  7305. end
  7306. end
  7307. end)
  7308. repeat wait() until Char
  7309. loc = Char.HumanoidRootPart.Position
  7310. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  7311. end)
  7312.  
  7313. addcmd('unloopbring','unjails player',{'noloopbring'},
  7314. function(args, speaker)
  7315. local players = getPlayer(args[1], speaker)
  7316. for i,v in pairs(players)do
  7317. spawn(function()
  7318. for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
  7319. end)
  7320. end
  7321. end)
  7322.  
  7323. strobe = false
  7324. addcmd('strobe','makes the server flash',{'flash'},
  7325. function(args, speaker)
  7326. if strobe == false then
  7327. strobep = Instance.new("ColorCorrectionEffect")
  7328. strobep.Brightness = 1
  7329. strobep.Parent = LightingService
  7330. strobe = true
  7331. repeat wait(0.01)
  7332. strobep.Enabled = true
  7333. wait(0.01)
  7334. strobep.Enabled = false
  7335. until strobe == false
  7336. end
  7337. end)
  7338.  
  7339. addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
  7340. function(args, speaker)
  7341. strobe = false
  7342. strobep:Destroy()
  7343. end)
  7344.  
  7345. addcmd('shutdown', 'shuts the server down',{},
  7346. function(args, speaker)
  7347. Notify('Shutting Down...')
  7348. wait(1)
  7349. workspace.Gravity = 1/0*0
  7350. end)
  7351.  
  7352. addcmd('animation','makes player animate',{'anim'},
  7353. function(args, speaker)
  7354. local players = getPlayer(args[1], speaker)
  7355. for i,v in pairs(players)do
  7356. local pchar = gPlayers[v].Character
  7357. local ID = args[2]
  7358.  
  7359. if args[2] == "climb" then
  7360. ID = "180436334"
  7361. end
  7362. if args[2] == "fall" then
  7363. ID = "180436148"
  7364. end
  7365. if args[2] == "jump" then
  7366. ID = "125750702"
  7367. end
  7368. if args[2] == "sit" then
  7369. ID = "178130996"
  7370. end
  7371. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  7372. if x:IsA("StringValue") then
  7373. for _,c in pairs(x:GetChildren()) do
  7374. if c:IsA("Animation") then
  7375. c.AnimationId = "rbxassetid://" .. ID
  7376. end
  7377. end
  7378. end
  7379. end
  7380. end
  7381. end)
  7382.  
  7383. addcmd('creeper','make the player a creeper',{'crpr'},
  7384. function(args, speaker)
  7385. local players = getPlayer(args[1], speaker)
  7386. for i,v in pairs(players)do
  7387. local pchar = gPlayers[v].Character
  7388. if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  7389. if pchar:FindFirstChild("Shirt") then
  7390. pchar.Shirt.Parent = pchar.Torso
  7391. end
  7392. if pchar:FindFirstChild("Pants") then
  7393. pchar.Pants.Parent = pchar.Torso
  7394. end
  7395. if pchar:FindFirstChild("Shirt Graphic") then
  7396. pchar["Shirt Graphic"].Graphic = ""
  7397. end
  7398. for i,v in pairs(pchar:GetChildren()) do
  7399. if v:IsA("Accessory") then
  7400. v:Destroy()
  7401. end
  7402. end
  7403. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  7404. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  7405. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  7406. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  7407. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  7408. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  7409. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  7410. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  7411. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  7412. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  7413. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  7414. end
  7415. end
  7416. end)
  7417.  
  7418. addcmd('uncreeper','makes player back to normal',{},
  7419. function(args, speaker)
  7420. local players = getPlayer(args[1], speaker)
  7421. for i,v in pairs(players)do
  7422. refresh(gPlayers[v])
  7423. end
  7424. end)
  7425.  
  7426. addcmd('crash','crashes a player',{},
  7427. function(args, speaker)
  7428. local players = getPlayer(args[1], speaker)
  7429. for i,v in pairs(players)do
  7430. if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  7431. if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
  7432. Notify('Crashed player(s)') end
  7433. wait(4)
  7434. if gPlayers[v] ~= nil then
  7435. for i=1,3600 do
  7436. Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nig"
  7437. end
  7438. wait()
  7439. for i=1,3600 do
  7440. Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nog"
  7441. end
  7442. wait()
  7443. end
  7444. end
  7445. end
  7446. end)
  7447.  
  7448. addcmd('shrek', 'makes player shrek',{},
  7449. function(args, speaker)
  7450. local players = getPlayer(args[1], speaker)
  7451. for i,v in pairs(players) do
  7452. local pchar = gPlayers[v].Character
  7453. for i,v in pairs(pchar:GetChildren()) do
  7454. if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
  7455. then
  7456. v:Destroy()
  7457. end
  7458. end
  7459. for i,v in pairs(pchar.Head:GetChildren()) do
  7460. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  7461. v:Destroy()
  7462. end
  7463. end
  7464.  
  7465. local mesh = Instance.new("SpecialMesh", pchar.Head)
  7466. mesh.MeshType = "FileMesh"
  7467. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  7468. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  7469. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  7470.  
  7471. local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  7472. local Pants = Instance.new("Pants", gPlayers[v].Character)
  7473.  
  7474. Shirt.ShirtTemplate = "rbxassetid://133078194"
  7475. Pants.PantsTemplate = "rbxassetid://133078204"
  7476. end
  7477. end)
  7478.  
  7479. addcmd('unshrek','makes player back to normal',{},
  7480. function(args, speaker)
  7481. local players = getPlayer(args[1], speaker)
  7482. for i,v in pairs(players)do
  7483. refresh(gPlayers[v])
  7484. end
  7485. end)
  7486.  
  7487. addcmd('oof','good things happen',{},
  7488. function(args, speaker)
  7489. local players = getPlayer(args[1], speaker)
  7490. for i,v in pairs(players)do
  7491. spawn(function()
  7492. if gPlayers[v].Character.Head:FindFirstChild("Died") then gPlayers[v].Character.Head.Died.Looped = true wait(0.1) gPlayers[v].Character.Head.Died.Playing = true
  7493. gPlayers[v].Character.Head.Died.Volume = 10
  7494. gPlayers[v].Character.Head.Died.Pitch = 0.5
  7495. end
  7496. execCmd("size " .. gPlayers[v].Name .. ' -1')
  7497. execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
  7498. wait(5)
  7499. execCmd("explode " .. gPlayers[v].Name)
  7500. wait(0.1)
  7501. gPlayers[v].Character.Humanoid.Health = 0
  7502. end)
  7503. end
  7504. end)
  7505.  
  7506. addcmd('control','controls player',{},
  7507. function(args, speaker)
  7508. local players = getPlayer(args[1], speaker)
  7509. for i,v in pairs(players)do
  7510. spawn(function()
  7511. local pchar = gPlayers[v].Character
  7512. if gPlayers[v] and pchar then
  7513. execCmd("invisible " .. speaker.Name)
  7514. pchar.Humanoid.PlatformStand = true
  7515. local w = Instance.new("Weld", speaker.Character.Torso)
  7516. w.Part0 = speaker.Character.Torso
  7517. w.Part1 = pchar.Torso
  7518. local w2 = Instance.new("Weld", speaker.Character.Head)
  7519. w2.Part0 = speaker.Character.Head
  7520. w2.Part1 = pchar.Head
  7521. local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
  7522. w3.Part0 = speaker.Character:findFirstChild("Right Arm")
  7523. w3.Part1 = pchar:findFirstChild("Right Arm")
  7524. local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
  7525. w4.Part0 = speaker.Character:findFirstChild("Left Arm")
  7526. w4.Part1 = pchar:findFirstChild("Left Arm")
  7527. local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
  7528. w5.Part0 = speaker.Character:findFirstChild("Right Leg")
  7529. w5.Part1 = pchar:findFirstChild("Right Leg")
  7530. local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
  7531. w6.Part0 = speaker.Character:findFirstChild("Left Leg")
  7532. w6.Part1 = pchar:findFirstChild("Left Leg")
  7533. char.Head.face:Destroy()
  7534. for i,v in pairs(pchar:GetChildren()) do
  7535. if v:IsA("BasePart") then
  7536. v.CanCollide = false
  7537. end
  7538. end
  7539. for i,v in pairs(char:GetChildren()) do
  7540. if v:IsA("BasePart") then
  7541. v.Transparency = 1
  7542. elseif v:IsA("Accessory") then
  7543. v:Destroy()
  7544. end
  7545. end
  7546. pchar.Parent = char
  7547. pchar.Humanoid.Changed:connect(function()
  7548. pchar.Humanoid.PlatformStand = true
  7549. end)
  7550. end
  7551. end)
  7552. end
  7553. end)
  7554.  
  7555. addcmd('nuke','nukes player',{},
  7556. function(args, speaker)
  7557. local players = getPlayer(args[1], speaker)
  7558. for i,v in pairs(players)do
  7559. local pchar = gPlayers[v].Character
  7560. if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
  7561. local nuke = Instance.new("Part", workspace)
  7562. nuke.Anchored = true
  7563. nuke.CanCollide = false
  7564. nuke.FormFactor = "Symmetric"
  7565. nuke.Shape = "Ball"
  7566. nuke.Size = Vector3.new(1,1,1)
  7567. nuke.BrickColor = BrickColor.new("New Yeller")
  7568. nuke.Transparency = 0.5
  7569. nuke.Reflectance = 0.2
  7570. nuke.TopSurface = 0
  7571. nuke.BottomSurface = 0
  7572. nuke.Touched:connect(function (hit)
  7573. if hit and hit.Parent then
  7574. local boom = Instance.new("Explosion", workspace)
  7575. boom.Position = hit.Position
  7576. boom.BlastRadius = 11
  7577. boom.BlastPressure = math.huge
  7578. end
  7579. end)
  7580. local CF = pchar.HumanoidRootPart.CFrame
  7581. nuke.CFrame = CF
  7582. for i = 1,333 do
  7583. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  7584. nuke.CFrame = CF
  7585. wait(1/44)
  7586. end
  7587. nuke:Destroy()
  7588. end
  7589. end
  7590. end)
  7591.  
  7592. addcmd('dong','gives a player a penis',{'penis'},
  7593. function(args, speaker)
  7594. local players = getPlayer(args[1], speaker)
  7595. for i,v in pairs(players)do
  7596. spawn(function()
  7597. if gPlayers[v].Character:FindFirstChild('wang') then
  7598. gPlayers[v].Character.wang:destroy()
  7599. end
  7600. local D = Instance.new('Model', gPlayers[v].Character)
  7601. D.Name = 'DONG'
  7602. local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
  7603. local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
  7604. local M1 = Instance.new('CylinderMesh', MAIN)
  7605. local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
  7606. local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  7607. local M2 = Instance.new('SpecialMesh', P1)
  7608. local W2 = Instance.new('Weld', P1)
  7609. local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  7610. local M3 = Instance.new('SpecialMesh', B1)
  7611. local W3 = Instance.new('Weld', B1)
  7612. local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
  7613. local M4 = Instance.new('SpecialMesh', B2)
  7614. local W4 = Instance.new('Weld', B2)
  7615. MAIN.TopSurface = 0 MAIN.BottomSurface = 0 MAIN.Name = 'Main' MAIN.Size = Vector3.new(0.6, 2.5, 0.6) MAIN.BrickColor = BrickColor.new('Pastel brown') MAIN.Position = gPlayers[v].Character.Head.Position MAIN.CanCollide = false
  7616. W1.Part0 = MAIN W1.Part1 = gPlayers[v].Character.Head W1.C0 = CFrame.new(0, 0.25, 2.1) * CFrame.Angles(math.rad(45), 0, 0)
  7617. P1.Name = 'Mush' P1.BottomSurface = 0 P1.TopSurface = 0 P1.Size = Vector3.new(0.6, 0.6, 0.6) P1.CFrame = CFrame.new(MAIN.Position) P1.BrickColor = BrickColor.new('Pink') P1.CanCollide = false
  7618. M2.MeshType = 'Sphere'
  7619. W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
  7620. B1.Name = 'Left Ball' B1.BottomSurface = 0 B1.TopSurface = 0 B1.CanCollide = false B1.Size = Vector3.new(1, 1, 1) B1.CFrame = CFrame.new(gPlayers[v].Character['Left Leg'].Position) B1.BrickColor = BrickColor.new('Pastel brown')
  7621. M3.Parent = B1 M3.MeshType = 'Sphere'
  7622. W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
  7623. B2.Name = 'Right Ball' B2.BottomSurface = 0 B2.CanCollide = false B2.TopSurface = 0 B2.Size = Vector3.new(1, 1, 1) B2.CFrame = CFrame.new(gPlayers[v].Character['Right Leg'].Position) B2.BrickColor = BrickColor.new('Pastel brown')
  7624. M4.MeshType = 'Sphere'
  7625. W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
  7626. end)
  7627. end
  7628. end)
  7629.  
  7630. addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
  7631. function(args, speaker)
  7632. local players = getPlayer(args[1], speaker)
  7633. for i,v in pairs(players)do
  7634. if gPlayers[v].Character:FindFirstChild('DONG') then
  7635. gPlayers[v].Character.DONG:destroy()
  7636. end end
  7637. end)
  7638.  
  7639. addcmd('infect','infects player',{},
  7640. function(args, speaker)
  7641. local players = getPlayer(args[1], speaker)
  7642. for i,v in pairs(players)do
  7643. function infect(rip)
  7644. local pchar = gPlayers[v].Character
  7645. for i,v in pairs(pchar:GetChildren()) do
  7646. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  7647. v:Destroy()
  7648. end
  7649. end
  7650. if pchar.Torso:FindFirstChild("roblox") then
  7651. pchar.Torso.roblox:Destroy()
  7652. end
  7653. if pchar.Head:FindFirstChild("face") then
  7654. pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  7655. end
  7656. if pchar:FindFirstChild("Body Colors") then
  7657. local Colors = pchar["Body Colors"]
  7658. local Skin = BrickColor.new("Pastel green")
  7659. local Clothes = BrickColor.new("Reddish brown")
  7660. Colors.HeadColor = Skin
  7661. Colors.LeftArmColor = Skin
  7662. Colors.RightArmColor = Skin
  7663. Colors.LeftLegColor = Clothes
  7664. Colors.RightLegColor = Clothes
  7665. Colors.TorsoColor = Clothes
  7666. end
  7667. local w1 = Instance.new("Weld", pchar)
  7668. w1.Part0 = pchar["Right Arm"]
  7669. w1.Part1 = pchar.Torso
  7670. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  7671. local w2 = Instance.new("Weld", pchar)
  7672. w2.Part0 = pchar["Left Arm"]
  7673. w2.Part1 = pchar.Torso
  7674. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  7675. local rip = false
  7676. local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  7677. if connect1 == false then
  7678. connect1 = true
  7679. if gPlayers:FindFirstChild(hit.Parent.Name) then
  7680. infect(gPlayers[hit.Parent.Name])
  7681. end
  7682. wait(0.5)
  7683. connect1 = true
  7684. end
  7685. end)
  7686. local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  7687. if connect2 == false then
  7688. connect2 = true
  7689. if gPlayers:FindFirstChild(hit.Parent.Name) then
  7690. infect(gPlayers[hit.Parent.Name])
  7691. end
  7692. wait(0.5)
  7693. connect2 = true
  7694. end
  7695. end)
  7696. local IV = Instance.new("IntValue", pchar)
  7697. IV.Name = "Infected"
  7698. IV.Value = 0
  7699. IV.Changed:connect(function()
  7700. connect1:disconnect()
  7701. connect2:disconnect()
  7702. end)
  7703. end
  7704. infect(v)
  7705. end
  7706. end)
  7707.  
  7708. addcmd('uninfect','makes player back to normal',{},
  7709. function(args, speaker)
  7710. local players = getPlayer(args[1], speaker)
  7711. for i,v in pairs(players)do
  7712. refresh(gPlayers[v])
  7713. end
  7714. end)
  7715.  
  7716. addcmd('duck','makes players head a duck',{},
  7717. function(args, speaker)
  7718. local players = getPlayer(args[1], speaker)
  7719. for i,v in pairs(players)do
  7720. local pchar = gPlayers[v].Character
  7721. for i,v in pairs(pchar.Torso:GetChildren()) do
  7722. if v:IsA("Decal") then
  7723. v:Destroy()
  7724. end
  7725. end
  7726. for i,v in pairs(pchar:GetChildren()) do
  7727. if v:IsA("Accessory") then
  7728. v:Destroy()
  7729. end
  7730. end
  7731. local duck = Instance.new("SpecialMesh", pchar.Torso)
  7732. duck.MeshType = "FileMesh"
  7733. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  7734. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  7735. duck.Scale = Vector3.new(5, 5, 5)
  7736. pchar.Head.Transparency = 1
  7737. pchar["Left Arm"].Transparency = 1
  7738. pchar["Right Arm"].Transparency = 1
  7739. pchar["Left Leg"].Transparency = 1
  7740. pchar["Right Leg"].Transparency = 1
  7741. pchar.Head.face.Transparency = 1
  7742. end
  7743. end)
  7744.  
  7745. addcmd('mage', 'mage',{},
  7746. function(args, speaker)
  7747. if speaker.userId ~= LP.userId then
  7748. lponly(speaker) else
  7749. if not LP.PlayerGui:FindFirstChild('ChangeArc') then
  7750. local arcPackage = game:GetObjects("rbxassetid://01337781430")[1]
  7751. local fakeLighting = arcPackage.Lighting
  7752.  
  7753. local oldgame = game
  7754. local oldlighting = oldgame:GetService("Lighting")
  7755.  
  7756. local proLighting = newproxy(true)
  7757. local mtL = getmetatable(proLighting)
  7758. mtL.__index = function(self,ind)
  7759. if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end
  7760. return oldlighting[ind]
  7761. end
  7762. mtL.__newindex = function(self,ind,val)
  7763. oldlighting[ind] = val
  7764. end
  7765. mtL.__namecall = function(self,...)
  7766. local args = {...}
  7767. local method = table.remove(args)
  7768. return oldlighting(method,unpack(args))
  7769. end
  7770.  
  7771. local proGame = newproxy(true)
  7772. local mt = getmetatable(proGame)
  7773. mt.__index = function(self,ind)
  7774. if ind == "Lighting" then return proLighting end
  7775. return oldgame[ind]
  7776. end
  7777. mt.__namecall = function(self,...)
  7778. local args = {...}
  7779. local method = table.remove(args)
  7780. if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end
  7781. return oldgame(method,unpack(args))
  7782. end
  7783.  
  7784. wait()
  7785. local destructAnchored = false
  7786. local maxMass = 1000
  7787.  
  7788. function newCESS(scr)
  7789. local newFunc = loadstring(scr.Source)
  7790. if type(newFunc) ~= "function" then return end
  7791. setfenv(newFunc,setmetatable({script = scr},{
  7792. __index = function(self,ind)
  7793. if ind == "game" then return proGame end
  7794. return getfenv()[ind]
  7795. end,
  7796. __newindex = function(self,ind,val)
  7797. rawset(self,ind,val)
  7798. end
  7799. }))
  7800. pcall(function()spawn(newFunc)end)
  7801. end
  7802.  
  7803. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
  7804. game.Players.LocalPlayer.Character.Humanoid.Health = 999999999
  7805.  
  7806. function destroyHook(obj,replacement,par)
  7807. obj:GetPropertyChangedSignal("Parent"):Connect(function()
  7808. local newObj = replacement:Clone()
  7809. if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  7810. newObj.Parent = par
  7811. destroyHook(newObj,replacement,par)
  7812. end)
  7813. end
  7814.  
  7815. for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do
  7816. local newObj = v:Clone()
  7817. if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  7818. newObj.Parent = game.Players.LocalPlayer.PlayerGui
  7819. destroyHook(newObj,v,game.Players.LocalPlayer.PlayerGui)
  7820. end
  7821.  
  7822. function replaceScripts(root)
  7823. for i,v in pairs(root:GetChildren()) do
  7824. if v:IsA("Script") and not v:IsA("LocalScript") then
  7825. local tempStore = {}
  7826. for i2,v2 in pairs(v:GetChildren()) do
  7827. table.insert(tempStore,v2:Clone())
  7828. end
  7829. local newScript = Instance.new("LocalScript",v.Parent)
  7830. newScript.Name = v.Name
  7831. for i2,v2 in pairs(tempStore) do
  7832. v2.Parent = newScript
  7833. end
  7834. v:Destroy()
  7835. end
  7836. replaceScripts(v)
  7837. end
  7838. end
  7839.  
  7840. local player = game.Players.LocalPlayer
  7841.  
  7842. if not game.Players.LocalPlayer:FindFirstChild("leaderstats1") then
  7843. game.Players.LocalPlayer.PlayerGui.leaderstats1.Parent = game.Players.LocalPlayer
  7844. end
  7845.  
  7846. if not game.ReplicatedStorage:FindFirstChild("RankScript") then
  7847. game.Players.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage
  7848. end
  7849.  
  7850. if not game.ReplicatedStorage:FindFirstChild(game.Players.LocalPlayer.Name.."Element") then
  7851. local eTemplate = game.Players.LocalPlayer.PlayerGui.Player1Element
  7852. eTemplate.Name = game.Players.LocalPlayer.Name.."Element"
  7853. eTemplate.Parent = game.ReplicatedStorage
  7854. end
  7855.  
  7856. if not game.ReplicatedStorage:FindFirstChild(game.Players.LocalPlayer.Name.."FakeName") then
  7857. local fTemplate = game.Players.LocalPlayer.PlayerGui.Player1FakeName
  7858. fTemplate.Name = game.Players.LocalPlayer.Name.."FakeName"
  7859. fTemplate.Parent = game.ReplicatedStorage
  7860. end
  7861.  
  7862. if not game.ReplicatedStorage:FindFirstChild(game.Players.LocalPlayer.Name.."Level") then
  7863. local lTemplate = game.Players.LocalPlayer.PlayerGui.Player1Level
  7864. lTemplate.Name = game.Players.LocalPlayer.Name.."Level"
  7865. lTemplate.Parent = game.ReplicatedStorage
  7866. end
  7867.  
  7868. if not game.ReplicatedStorage:FindFirstChild(game.Players.LocalPlayer.Name.."Membership") then
  7869. local mTemplate = game.Players.LocalPlayer.PlayerGui.Player1Membership
  7870. mTemplate.Name = game.Players.LocalPlayer.Name.."Membership"
  7871. mTemplate.Parent = game.ReplicatedStorage
  7872. end
  7873.  
  7874. function getMyPlayerArea()
  7875. for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do
  7876. if v.Player.Value == player.Name then
  7877. return v.PlayerArea
  7878. end
  7879. end
  7880. end
  7881.  
  7882. local whitelistedParts = {
  7883. ["DamagePart"] = true,
  7884. ["Explosion"] = true,
  7885. ["Explosion2"] = true,
  7886. ["SuperExplosion"] = true,
  7887. }
  7888.  
  7889. workspace.DescendantAdded:connect(function(desc)
  7890. if desc:IsA("Script") and desc:IsDescendantOf(game.Players.LocalPlayer.Character) then
  7891. newCESS(desc)
  7892. elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then
  7893. newCESS(desc)
  7894. elseif desc:IsA("BodyGyro") then
  7895. desc:GetPropertyChangedSignal("MaxTorque"):Connect(function()
  7896. desc.MaxTorque = Vector3.new(100000,100000,100000)
  7897. end)
  7898. --elseif desc:IsA("BodyPosition") then
  7899. -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function()
  7900. -- desc.MaxForce = Vector3.new(10000,10000,10000)
  7901. -- end)
  7902. end
  7903. end)
  7904.  
  7905. player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25))
  7906. player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth
  7907. player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25))
  7908. player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50)
  7909. player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value
  7910.  
  7911. wait(1)
  7912.  
  7913. local player = game.Players.LocalPlayer
  7914.  
  7915. local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame
  7916. local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate
  7917.  
  7918. local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle
  7919. local arcMoves = player.PlayerGui.ChangeArc.ArcMoves
  7920. local arcMovesList = arcMoves.ScrollingFrame
  7921. local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate
  7922.  
  7923. local arcs = {}
  7924.  
  7925. local currentArc = ""
  7926.  
  7927. function getMove(root)
  7928. for i,v in pairs(root:GetChildren()) do
  7929. if v.Name ~= "Requirement" then
  7930. return v
  7931. end
  7932. end
  7933. return nil
  7934. end
  7935.  
  7936. for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do
  7937. table.insert(arcs,v)
  7938. end
  7939.  
  7940. for i,v in pairs(fakeLighting.Customs:GetChildren()) do
  7941. table.insert(arcs,v)
  7942. end
  7943.  
  7944. for i,v in pairs(arcs) do
  7945. local newTemplate = arcTemplate:Clone()
  7946. newTemplate.ArcName.Text = v.Name
  7947. newTemplate.Change.MouseButton1Down:connect(function()
  7948. currentArc = v.Name
  7949. arcToggler.Parent.Visible = true
  7950. if fakeLighting.SkillFrames:FindFirstChild(currentArc) then
  7951. arcMovesList:ClearAllChildren()
  7952. arcToggler.Text = currentArc
  7953. arcMoves.Title.Text = currentArc .. " Arc"
  7954. for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  7955. local myMove = getMove(v5.Learn)
  7956. if myMove ~= nil then
  7957. local newTemplate = moveTemplate:Clone()
  7958. newTemplate.Attack.Text = v5.Name
  7959. newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  7960. newTemplate.Parent = arcMovesList
  7961. arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  7962. newTemplate.Learn.MouseButton1Down:connect(function()
  7963. local learnMove = myMove:Clone()
  7964. learnMove.Parent = player.Backpack
  7965. if learnMove:IsA("LocalScript") then
  7966. learnMove.Disabled = false
  7967. newTemplate.Learn.Text = "Activated"
  7968. newCESS(learnMove)
  7969. else
  7970. newTemplate.Learn.Text = "Learned"
  7971. newCESS(learnMove.LocalScript)
  7972. end
  7973. wait(5)
  7974. newTemplate.Learn.Text = "Learn"
  7975. end)
  7976. newTemplate.Visible = true
  7977. end
  7978. end
  7979. end
  7980. if fakeLighting.Customs:FindFirstChild(currentArc) then
  7981. arcMovesList:ClearAllChildren()
  7982. arcToggler.Text = currentArc
  7983. arcMoves.Title.Text = currentArc .. " Arc"
  7984. for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  7985. local myMove = getMove(v.Learn)
  7986. if myMove ~= nil then
  7987. local newTemplate = moveTemplate:Clone()
  7988. newTemplate.Attack.Text = v.Name
  7989. newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  7990. newTemplate.Parent = arcMovesList
  7991. arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  7992. newTemplate.Learn.MouseButton1Down:connect(function()
  7993. local learnMove = myMove:Clone()
  7994. learnMove.Parent = player.Backpack
  7995. if learnMove:IsA("LocalScript") then
  7996. learnMove.Disabled = false
  7997. newTemplate.Learn.Text = "Activated"
  7998. newCESS(learnMove)
  7999. else
  8000. newTemplate.Learn.Text = "Learned"
  8001. newCESS(learnMove.LocalScript)
  8002. end
  8003. wait(5)
  8004. newTemplate.Learn.Text = "Learn"
  8005. end)
  8006. newTemplate.Visible = true
  8007. end
  8008. end
  8009. end
  8010. end)
  8011. newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8012. newTemplate.Visible = true
  8013. newTemplate.Parent = arcList
  8014. arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8015. end
  8016.  
  8017. Open = false
  8018. MouseClick = function()
  8019. if Open == false then
  8020. Open = true
  8021. player.PlayerGui.ChangeArc.Stuff.Visible = true
  8022. else
  8023. if Open == true then
  8024. Open = false
  8025. player.PlayerGui.ChangeArc.Stuff.Visible = false
  8026. end
  8027. end
  8028. end
  8029.  
  8030. player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick)
  8031.  
  8032. Open2 = false
  8033. MouseClick2 = function()
  8034. if Open2 == false then
  8035. Open2 = true
  8036. arcMoves.Visible = true
  8037. else
  8038. if Open2 == true then
  8039. Open2 = false
  8040. arcMoves.Visible = false
  8041. end
  8042. end
  8043. end
  8044.  
  8045. arcToggler.MouseButton1Down:connect(MouseClick2)
  8046.  
  8047. newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"])
  8048.  
  8049. for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do
  8050. if v:IsA("Script") then
  8051. newCESS(v)
  8052. end
  8053. end
  8054. end
  8055. end
  8056. end)
  8057.  
  8058. addcmd('unduck','makes player back to normal',{},
  8059. function(args, speaker)
  8060. local players = getPlayer(args[1], speaker)
  8061. for i,v in pairs(players)do
  8062. refresh(gPlayers[v])
  8063. end
  8064. end)
  8065.  
  8066. addcmd('mesh','makes a player into a mesh',{},
  8067. function(args, speaker)
  8068. local players = getPlayer(args[1], speaker)
  8069. for i,v in pairs(players)do
  8070. local pchar = gPlayers[v].Character
  8071. for i,v in pairs(pchar.Torso:GetChildren()) do
  8072. if v:IsA("Decal") then
  8073. v:Destroy()
  8074. end
  8075. end
  8076. for i,v in pairs(pchar:GetChildren()) do
  8077. if v:IsA("Accessory") then
  8078. v:Destroy()
  8079. end
  8080. end
  8081. pchar.Head.Transparency = 1
  8082. pchar["Left Arm"].Transparency = 1
  8083. pchar["Right Arm"].Transparency = 1
  8084. pchar["Left Leg"].Transparency = 1
  8085. pchar["Right Leg"].Transparency = 1
  8086. pchar.Head.face.Transparency = 1
  8087. local msh = Instance.new("SpecialMesh", pchar.Torso)
  8088. msh.MeshType = "FileMesh"
  8089. msh.Scale = Vector3.new(3, 3, 3)
  8090. msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
  8091. msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
  8092. msh.Scale = Vector3.new(3, 3, 3)
  8093. end
  8094. end)
  8095.  
  8096. addcmd('disable','removes players humanoid',{},
  8097. function(args, speaker)
  8098. local players = getPlayer(args[1], speaker)
  8099. for i,v in pairs(players)do
  8100. local pchar = gPlayers[v].Character
  8101. if pchar:FindFirstChild("Humanoid") then
  8102. pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  8103. local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  8104. humanoid.Parent = game.ContextActionService
  8105. if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
  8106. Notify('Disabled player(s)') end
  8107. end end end)
  8108.  
  8109. addcmd('enable','gives player humanoid',{},
  8110. function(args, speaker)
  8111. local players = getPlayer(args[1], speaker)
  8112. for i,v in pairs(players)do
  8113. local pchar = gPlayers[v].Character
  8114. if pchar:FindFirstChild("Humanoid") then
  8115. return
  8116. else
  8117. local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  8118. humanoid.Parent = pchar
  8119. humanoid.Name = "Humanoid"
  8120. if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
  8121. Notify('Enabled player(s)') end
  8122. end end end)
  8123.  
  8124. addcmd('size','changes size of player',{},
  8125. function(args, speaker)
  8126. local players = getPlayer(args[1], speaker)
  8127. for i,v in pairs(players)do
  8128. local pchar = gPlayers[v].Character
  8129. local function scale(chr,scl)
  8130. for _,v in pairs(pchar:GetChildren()) do
  8131. if v:IsA("Accessory") then
  8132. v:Clone()
  8133. v.Parent = LightingService
  8134. end end
  8135. local Head = chr['Head']
  8136. local Torso = chr['Torso']
  8137. local LA = chr['Left Arm']
  8138. local RA = chr['Right Arm']
  8139. local LL = chr['Left Leg']
  8140. local RL = chr['Right Leg']
  8141. local HRP = chr['HumanoidRootPart']
  8142. wait(0.1)
  8143. Head.formFactor = 3
  8144. Torso.formFactor = 3
  8145. LA.formFactor = 3
  8146. RA.formFactor = 3
  8147. LL.formFactor = 3
  8148. RL.formFactor = 3
  8149. HRP.formFactor = 3
  8150. Head.Size = Vector3.new(scl * 2, scl, scl)
  8151. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  8152. LA.Size = Vector3.new(scl, scl * 2, scl)
  8153. RA.Size = Vector3.new(scl, scl * 2, scl)
  8154. LL.Size = Vector3.new(scl, scl * 2, scl)
  8155. RL.Size = Vector3.new(scl, scl * 2, scl)
  8156. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  8157. local Motor1 = Instance.new('Motor6D', Torso)
  8158. Motor1.Part0 = Torso
  8159. Motor1.Part1 = Head
  8160. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  8161. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  8162. Motor1.Name = "Neck"
  8163. local Motor2 = Instance.new('Motor6D', Torso)
  8164. Motor2.Part0 = Torso
  8165. Motor2.Part1 = LA
  8166. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8167. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8168. Motor2.Name = "Left Shoulder"
  8169. local Motor3 = Instance.new('Motor6D', Torso)
  8170. Motor3.Part0 = Torso
  8171. Motor3.Part1 = RA
  8172. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8173. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8174. Motor3.Name = "Right Shoulder"
  8175. local Motor4 = Instance.new('Motor6D', Torso)
  8176. Motor4.Part0 = Torso
  8177. Motor4.Part1 = LL
  8178. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8179. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8180. Motor4.Name = "Left Hip"
  8181. local Motor5 = Instance.new('Motor6D', Torso)
  8182. Motor5.Part0 = Torso
  8183. Motor5.Part1 = RL
  8184. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8185. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8186. Motor5.Name = "Right Hip"
  8187. local Motor6 = Instance.new('Motor6D', HRP)
  8188. Motor6.Part0 = HRP
  8189. Motor6.Part1 = Torso
  8190. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  8191. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end
  8192. scale(pchar, args[2])
  8193. for _,v in pairs(LightingService:GetChildren()) do
  8194. if v:IsA("Accessory") then
  8195. v.Parent = pchar
  8196. end end end end)
  8197.  
  8198. addcmd('clone','clones player',{},
  8199. function(args, speaker)
  8200. local players = getPlayer(args[1], speaker)
  8201. for i,v in pairs(players)do
  8202. local pchar = gPlayers[v].Character
  8203. pchar.Archivable = true
  8204. local clone = pchar:Clone()
  8205. clone.Parent = workspace
  8206. clone:MoveTo(pchar:GetModelCFrame().p)
  8207. clone:MakeJoints()
  8208. pchar.Archivable = false
  8209. end
  8210. end)
  8211.  
  8212. addcmd('spin','spins player',{},
  8213. function(args, speaker)
  8214. local players = getPlayer(args[1], speaker)
  8215. for i,v in pairs(players)do
  8216. spawn(function()
  8217. local pchar = gPlayers[v].Character
  8218. for i,v in pairs(pchar.Torso:GetChildren()) do
  8219. if v.Name == "Spinning" then
  8220. v:Destroy()
  8221. end
  8222. end
  8223. local Torso = pchar.Torso
  8224. local BG = Instance.new("BodyGyro", Torso)
  8225. BG.Name = "Spinning"
  8226. BG.maxTorque = Vector3.new(0, math.huge, 0)
  8227. BG.P = 11111
  8228. BG.cframe = Torso.CFrame
  8229. repeat wait(1/44)
  8230. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  8231. until not BG or BG.Parent ~= Torso
  8232. end)
  8233. end
  8234. end)
  8235.  
  8236. addcmd('unspin','stops spinning player',{},
  8237. function(args, speaker)
  8238. local players = getPlayer(args[1], speaker)
  8239. for i,v in pairs(players)do
  8240. local pchar = gPlayers[v].Character
  8241. for i,v in pairs(pchar.Torso:GetChildren()) do
  8242. if v.Name == "Spinning" then
  8243. v:Destroy()
  8244. end
  8245. end
  8246. end
  8247. end)
  8248.  
  8249. addcmd('dog','makes player a dog',{},
  8250. function(args, speaker)
  8251. local players = getPlayer(args[1], speaker)
  8252. for i,v in pairs(players)do
  8253. local pchar = gPlayers[v].Character
  8254. if pchar:FindFirstChild("Shirt") then
  8255. pchar.Shirt:Destroy()
  8256. end
  8257. if pchar:FindFirstChild("Pants") then
  8258. pchar.Pants:Destroy()
  8259. end
  8260. if pchar:FindFirstChild("Shirt Graphic") then
  8261. pchar["Shirt Graphic"].Graphic = ""
  8262. end
  8263. pchar.Torso.Transparency = 1
  8264. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8265. pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  8266. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  8267. pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  8268. pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  8269. local FakeTorso = Instance.new("Seat", pchar)
  8270. FakeTorso.Name = "FakeTorso"
  8271. FakeTorso.FormFactor = "Symmetric"
  8272. FakeTorso.TopSurface = 0
  8273. FakeTorso.BottomSurface = 0
  8274. FakeTorso.Size = Vector3.new(3,1,4)
  8275. FakeTorso.BrickColor = BrickColor.new("Brown")
  8276. FakeTorso.CFrame = pchar.Torso.CFrame
  8277. local BF = Instance.new("BodyForce", FakeTorso)
  8278. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  8279. local W = Instance.new("Weld", pchar.Torso)
  8280. W.Part0 = pchar.Torso
  8281. W.Part1 = FakeTorso
  8282. W.C0 = CFrame.new(0,-.5,0)
  8283. local BC = pchar["Body Colors"]
  8284. BC.HeadColor = BrickColor.new("Brown")
  8285. BC.LeftArmColor = BrickColor.new("Brown")
  8286. BC.LeftLegColor = BrickColor.new("Brown")
  8287. BC.RightArmColor = BrickColor.new("Brown")
  8288. BC.RightLegColor = BrickColor.new("Brown")
  8289. BC.TorsoColor = BrickColor.new("Brown")
  8290. end
  8291. end)
  8292.  
  8293. addcmd('undog','makes player back to normal',{},
  8294. function(args, speaker)
  8295. local players = getPlayer(args[1], speaker)
  8296. for i,v in pairs(players)do
  8297. refresh(gPlayers[v])
  8298. end
  8299. end)
  8300.  
  8301. addcmd('loopheal','loop heals player',{},
  8302. function(args, speaker)
  8303. local players = getPlayer(args[1], speaker)
  8304. for i,v in pairs(players)do
  8305. spawn(function()
  8306. local pchar = gPlayers[v].Character
  8307. if pchar:FindFirstChild("LoopHeal") then
  8308. pchar.LoopHeal.Name = "NotLoopHeal"
  8309. wait(0.1)
  8310. pchar.NotLoopHeal:Destroy()
  8311. end
  8312. local LoopHeal = Instance.new("StringValue", pchar)
  8313. LoopHeal.Name = "LoopHeal"
  8314. repeat wait(0.1)
  8315. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  8316. until LoopHeal.Name == "NotLoopHeal"
  8317. end)
  8318. end
  8319. end)
  8320.  
  8321. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  8322. function(args, speaker)
  8323. local players = getPlayer(args[1], speaker)
  8324. for i,v in pairs(players)do
  8325. local pchar = gPlayers[v].Character
  8326. if pchar:FindFirstChild("LoopHeal") then
  8327. pchar.LoopHeal.Name = "NotLoopHeal"
  8328. wait(0.1)
  8329. pchar.NotLoopHeal:Destroy()
  8330. end
  8331. end
  8332. end)
  8333.  
  8334. addcmd('fling','flings player',{},
  8335. function(args, speaker)
  8336. local players = getPlayer(args[1], speaker)
  8337. for i,v in pairs(players)do
  8338. local pchar = gPlayers[v].Character
  8339. if pchar:FindFirstChild("Humanoid") then
  8340. local xran
  8341. local zran
  8342. repeat
  8343. xran = math.random(-9999,9999)
  8344. until math.abs(xran) >= 5555
  8345. repeat
  8346. zran = math.random(-9999,9999)
  8347. until math.abs(zran) >= 5555
  8348. pchar.Humanoid.Sit = true
  8349. pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  8350. local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
  8351. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  8352. end
  8353. end
  8354. end)
  8355.  
  8356. addcmd('skydive','self explanatory',{},
  8357. function(args, speaker)
  8358. local players = getPlayer(args[1], speaker)
  8359. for i,v in pairs(players)do
  8360. local pchar = gPlayers[v].Character
  8361. if pchar:FindFirstChild("HumanoidRootPart") then
  8362. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0)
  8363. end
  8364. end
  8365. end)
  8366.  
  8367. addcmd('sparta','this is sparta',{},
  8368. function(args, speaker)
  8369. --credit adonis i just edited ;)
  8370. local user = getPlayer(args[1], speaker)
  8371. for i,player in pairs(user) do
  8372. local torso = player.Character:FindFirstChild('HumanoidRootPart')
  8373. if torso then
  8374. local hole = Instance.new("Part",player.Character)
  8375. hole.Anchored = true
  8376. hole.CanCollide = false
  8377. hole.formFactor = Enum.FormFactor.Custom
  8378. hole.Size = Vector3.new(10,1,10)
  8379. hole.CFrame = torso.CFrame * CFrame.new(0,-3.3,-3)
  8380. hole.BrickColor = BrickColor.new("Really black")
  8381. local holeM = Instance.new("CylinderMesh",hole)
  8382. torso.Anchored = true
  8383. local sound = Instance.new("Sound", hole)
  8384. sound.SoundId = "rbxassetid://130781067"
  8385. sound.Volume = 3
  8386. sound:Play()
  8387. local foot = torso.CFrame * CFrame.new(0,-3,0)
  8388. for i=1,10 do
  8389. torso.CFrame = foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
  8390. wait(0.1)
  8391. end
  8392. for i=1,5,0.2 do
  8393. torso.CFrame = foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
  8394. wait()
  8395. end
  8396. player.Character:BreakJoints()
  8397. wait(2)
  8398. sound:Destroy()
  8399. end
  8400. end
  8401. end)
  8402.  
  8403. addcmd('bleach','drink bleach',{''},
  8404. function(args, speaker)
  8405. local players = getPlayer(args[1], speaker)
  8406. for i,v in pairs(players)do
  8407. bleach(gPlayers[v])
  8408. end
  8409. end)
  8410.  
  8411. addcmd('seizure','makes player have a seizure',{''},
  8412. function(args, speaker)
  8413. local players = getPlayer(args[1], speaker)
  8414. for i,v in pairs(players)do
  8415. local pchar = gPlayers[v].Character
  8416. if pchar:FindFirstChild("Seizure") then
  8417.  
  8418. end
  8419. local Seizure = Instance.new("StringValue", pchar)
  8420. Seizure.Name = "Seizure"
  8421. pchar.Humanoid.PlatformStand = true
  8422. repeat wait()
  8423. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  8424. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8425. until Seizure.Name == "NotSeizure"
  8426. end
  8427. end)
  8428.  
  8429. addcmd('fegod','gods you in fe games',{''},
  8430. function(args, speaker)
  8431. if speaker.userId ~= LP.userId then
  8432. lponly(speaker)
  8433. else
  8434. gPlayers.LocalPlayer.Character.Humanoid.Name = 1
  8435. local l = gPlayers.LocalPlayer.Character["1"]:Clone()
  8436. l.Parent = gPlayers.LocalPlayer.Character
  8437. l.Name = "Humanoid"
  8438. wait(0.1)
  8439. gPlayers.LocalPlayer.Character["1"]:Destroy()
  8440. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  8441. gPlayers.LocalPlayer.Character.Animate.Disabled = true
  8442. wait(0.1)
  8443. gPlayers.LocalPlayer.Character.Animate.Disabled = false
  8444. gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  8445. end
  8446. end)
  8447.  
  8448. addcmd('unseizure','makes player stop having a seizure',{''},
  8449. function(args, speaker)
  8450. local players = getPlayer(args[1], speaker)
  8451. for i,v in pairs(players)do
  8452. local pchar = gPlayers[v].Character
  8453. if pchar:FindFirstChild("Seizure") then
  8454. pchar.Humanoid.PlatformStand = false
  8455. pchar.Seizure.Name = "NotSeizure"
  8456. wait(0.1)
  8457. pchar.NotSeizure:Destroy()
  8458. end
  8459. end
  8460. end)
  8461.  
  8462. addcmd('m','makes a global message',{'message'},
  8463. function(args, speaker)
  8464. local MSG = '['..speaker.Name..']: '..GLS(false, 0)
  8465. local newMSG = '['..speaker.Name..']: '..GLS(false, 0)
  8466. _G.msg(MSG)
  8467. end)
  8468.  
  8469. addcmd('sm','makes a global message',{'servermessage'},
  8470. function(args, speaker)
  8471. local MSG = GLS(false, 0)
  8472. local newMSG = GLS(false, 0)
  8473. _G.msg(MSG)
  8474. end)
  8475.  
  8476. addcmd('fe','checks filtering status',{'filtering'},
  8477. function(args, speaker)
  8478. if workspace.FilteringEnabled == true then
  8479. Notify('Filtering ENABLED')
  8480. elseif workspace.FilteringEnabled == false then
  8481. Notify('Filtering Disabled')
  8482. end
  8483. end)
  8484.  
  8485. addcmd('paper','makes player thin as paper',{''},
  8486. function(args, speaker)
  8487. local players = getPlayer(args[1], speaker)
  8488. for i,v in pairs(players)do
  8489. local pchar = gPlayers[v].Character
  8490. for _, child in pairs( pchar:GetChildren()) do
  8491. if child.ClassName == "CharacterMesh" then
  8492. child:Destroy()
  8493. end
  8494. end
  8495. local LA = DATA.Paper:Clone()
  8496. LA.Parent = pchar["Left Arm"]
  8497. local RA = DATA.Paper:Clone()
  8498. RA.Parent = pchar["Right Arm"]
  8499. local LL = DATA.Paper:Clone()
  8500. LL.Parent = pchar["Left Leg"]
  8501. local RL = DATA.Paper:Clone()
  8502. RL.Parent = pchar["Right Leg"]
  8503. local T = DATA.Paper:Clone()
  8504. T.Parent = pchar.Torso
  8505. local H = DATA.Paper:Clone()
  8506. H.Parent = pchar.Head
  8507. pchar.Head.face:Destroy()
  8508. end
  8509. end)
  8510.  
  8511. addcmd('particles','gives a player particles',{''},
  8512. function(args, speaker)
  8513. local players = getPlayer(args[1], speaker)
  8514. for i,v in pairs(players)do
  8515. local char = gPlayers[v].Character
  8516. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  8517. if v:IsA('ParticleEmitter') then
  8518. v:destroy()
  8519. end
  8520. end
  8521. local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
  8522. prt.Texture = 'rbxassetid://' .. args[2]
  8523. prt.Rate = 10
  8524. prt.SpreadAngle = Vector2.new(50, 50)
  8525. end
  8526. end)
  8527.  
  8528. addcmd('unparticles','gives a player particles',{'noparticles'},
  8529. function(args, speaker)
  8530. local players = getPlayer(args[1], speaker)
  8531. for i,v in pairs(players)do
  8532. local char = gPlayers[v].Character
  8533. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  8534. if v:IsA('ParticleEmitter') then
  8535. v:destroy()
  8536. end
  8537. end
  8538. end
  8539. end)
  8540.  
  8541. blindT = {}
  8542. addcmd('blind','blinds a player',{},
  8543. function(args, speaker)
  8544. local players = getPlayer(args[1], speaker)
  8545. for i,v in pairs(players)do
  8546. spawn(function()
  8547. if FindTable(blindT, _players[v].Name) then return end
  8548. local blind = gPlayers[v].Name
  8549. local victim = gPlayers:FindFirstChild(blind)
  8550. if victim ~= nil then
  8551. victim.CameraMaxZoomDistance = 0.5
  8552. blnd = Instance.new("Part",workspace)
  8553. blnd.Name = "IYblind" .. gPlayers[v].Name
  8554. blnd.Size = Vector3.new(1,1,1)
  8555. blnd.CanCollide = false
  8556. blnd.BrickColor = BrickColor.new("Really black")
  8557. blnd.Material = "Neon"
  8558. local m = Instance.new("SpecialMesh",blnd)
  8559. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  8560. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  8561. local w = Instance.new("Weld",blnd)
  8562. w.Part0 = blnd
  8563. w.Part1 = victim.Character.Head
  8564. if FindTable(blindT, _players[v].Name) then return end
  8565. table.insert(blindT, _players[v].Name)
  8566. repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then
  8567. local blind = gPlayers[v].Name
  8568. local victim = gPlayers:FindFirstChild(blind)
  8569. if victim ~= nil then
  8570. victim.CameraMaxZoomDistance = 0.5
  8571. blnd = Instance.new("Part",workspace)
  8572. blnd.Name = "IYblind" .. gPlayers[v].Name
  8573. blnd.Size = Vector3.new(1,1,1)
  8574. blnd.CanCollide = false
  8575. blnd.BrickColor = BrickColor.new("Really black")
  8576. blnd.Material = "Neon"
  8577. local m = Instance.new("SpecialMesh",blnd)
  8578. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  8579. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  8580. local w = Instance.new("Weld",blnd)
  8581. w.Part0 = blnd
  8582. w.Part1 = victim.Character.Head
  8583. end end wait(1)
  8584. until not FindTable(blindT, _players[v].Name)
  8585. end end) end end)
  8586.  
  8587. addcmd('unblind','blinds a player',{'noblind'},
  8588. function(args, speaker)
  8589. local players = getPlayer(args[1], speaker)
  8590. for i,v in pairs(players)do
  8591. spawn(function()
  8592. for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end
  8593. local blind = gPlayers[v].Name
  8594. local victim = gPlayers:FindFirstChild(blind)
  8595. if victim ~= nil then
  8596. victim.CameraMaxZoomDistance = 400 wait(0.5)
  8597. for _, child in pairs( workspace:GetChildren()) do
  8598. if child.Name == "IYblind" .. gPlayers[v].Name then
  8599. child:Destroy()
  8600. end end end end) end end)
  8601.  
  8602. addcmd('punish','punishs player',{''},
  8603. function(args, speaker)
  8604. local players = getPlayer(args[1], speaker)
  8605. for i,v in pairs(players)do
  8606. local pchar = gPlayers[v].Character
  8607. pchar.Parent = LightingService
  8608. end
  8609. end)
  8610.  
  8611. addcmd('unpunish','unpunishs player',{''},
  8612. function(args, speaker)
  8613. local players = getPlayer(args[1], speaker)
  8614. for i,v in pairs(players)do
  8615. if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
  8616. LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
  8617. end
  8618. end
  8619. end)
  8620.  
  8621. local starmanPlayers = {}
  8622. local starmanLastColor = nil
  8623. local starmanEvents = {}
  8624.  
  8625. addcmd("starman","Turns [plr] into starman",{},
  8626. function(args,speaker)
  8627. local function starman(plr)
  8628. local char = plr.Character
  8629. local lastColor = ""
  8630. local newColor = ""
  8631.  
  8632. local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
  8633. powerupSound.Name = "PowerUp"
  8634. powerupSound.Volume = 10
  8635. powerupSound.SoundId = "rbxassetid://182755256"
  8636. wait()
  8637. powerupSound:Play()
  8638.  
  8639. game:GetService("Debris"):AddItem(powerupSound,2)
  8640.  
  8641. while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
  8642.  
  8643. local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
  8644. starmanMusic.Name = "Starman"
  8645. starmanMusic.Volume = 1
  8646. starmanMusic.Looped = true
  8647. starmanMusic.SoundId = "rbxassetid://530596723"
  8648. wait()
  8649. starmanMusic:Play()
  8650.  
  8651. if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
  8652. if char:FindFirstChild("Pants") then char.Pants:Destroy() end
  8653.  
  8654. char.Humanoid.WalkSpeed = 32
  8655. char.Humanoid.MaxHealth = math.huge
  8656. char.Humanoid.Health = math.huge
  8657.  
  8658. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
  8659.  
  8660. local light = Instance.new("PointLight",char.HumanoidRootPart)
  8661. light.Name = "StarmanFlash"
  8662. light.Brightness = 100
  8663. light.Range = 20
  8664. light.Shadows = true
  8665.  
  8666. local function stardestroy(part)
  8667. if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then
  8668. for i,v in pairs(part.Parent:GetChildren()) do
  8669. if v:IsA("BasePart") then
  8670. local force = Instance.new("BodyForce",v)
  8671. force.Force = char.HumanoidRootPart.CFrame.lookVector * 50
  8672. v:BreakJoints()
  8673. end
  8674. end
  8675.  
  8676. local tadaas = {}
  8677.  
  8678. for i = 1,1 do
  8679. local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
  8680. tadaa.Volume = 10
  8681. tadaa.SoundId = "rbxassetid://551195499"
  8682. table.insert(tadaas,tadaa)
  8683. end
  8684.  
  8685. wait()
  8686.  
  8687. for i,v in pairs(tadaas) do
  8688. v:Play()
  8689. end
  8690. end
  8691. end
  8692.  
  8693. local events = {}
  8694. for i,v in pairs(char:GetChildren()) do
  8695. if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
  8696. end
  8697. if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end
  8698. starmanEvents[plr.Name] = events
  8699. starmanPlayers[plr.Name] = char
  8700. end
  8701.  
  8702. for _,plr in pairs(getPlayer(args[1], speaker)) do
  8703. spawn(function()starman(gPlayers[plr])end)
  8704. end
  8705. end)
  8706.  
  8707. addcmd("unstarman","Removes starman from [plr]",{},
  8708. function(args,speaker)
  8709. for _,plr in pairs(getPlayer(args[1], speaker)) do
  8710. pcall(function()
  8711. if starmanPlayers[plr] then starmanPlayers[plr] = nil end
  8712. if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end
  8713. local char = gPlayers[plr].Character
  8714. while char.HumanoidRootPart:FindFirstChild("Starman") do
  8715. char.HumanoidRootPart.Starman:Destroy()
  8716. end
  8717. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
  8718. char.HumanoidRootPart.StarmanFlash:Destroy()
  8719. end
  8720. end)
  8721. end
  8722. end)
  8723.  
  8724. local Timers = {}
  8725. function checkTimer(n,t,res)
  8726. if not Timers[n] then Timers[n] = 0 end
  8727.  
  8728. if tick() >= Timers[n] + t then
  8729. if res then Timers[n] = tick() end
  8730. return true
  8731. else
  8732. return false
  8733. end
  8734. end
  8735.  
  8736. function nonEmpty(t)
  8737. for i,v in pairs(t) do
  8738. return true
  8739. end
  8740. return false
  8741. end
  8742.  
  8743. game:GetService("RunService").RenderStepped:Connect(function()
  8744. if nonEmpty(starmanPlayers) then
  8745. if checkTimer("Starman",0.05,true) then
  8746. for name,plrchar in pairs(starmanPlayers) do
  8747. ypcall(function()
  8748. local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
  8749. if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end
  8750.  
  8751. local plr = gPlayers:FindFirstChild(name)
  8752.  
  8753. if plr then
  8754. local char = plrchar
  8755. local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
  8756.  
  8757. local meshMap = {}
  8758.  
  8759. for i,v in pairs(char:GetChildren()) do
  8760. if v:IsA("CharacterMesh") then
  8761. if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end
  8762. if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end
  8763. if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end
  8764. if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end
  8765. if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end
  8766. end
  8767. end
  8768.  
  8769. if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
  8770.  
  8771. if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end
  8772. local newColor = BrickColor.new(colors[math.random(1,#colors)])
  8773. while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end
  8774. starmanLastColor = newColor
  8775. for i,v in pairs(char:GetChildren()) do
  8776. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  8777. v.BrickColor = newColor
  8778. local fade = v:Clone()
  8779. if meshMap[v.Name] then
  8780. local newMesh = Instance.new("SpecialMesh",fade)
  8781. newMesh.MeshId = meshMap[v.Name]
  8782. end
  8783. fade.Name = "StarFade"
  8784. fade.Anchored = true
  8785. fade.CanCollide = false
  8786. for n,c in pairs(fade:GetChildren()) do if c:IsA("Attachment") or c:IsA("Motor6D") or c:IsA("PointLight") or c:IsA("Sound") or c:IsA("Weld") then c:Destroy() end end
  8787. fade.Parent = workspace.Terrain
  8788. game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
  8789. game:GetService("Debris"):AddItem(fade,0.5)
  8790. end
  8791. end
  8792. light.Color = newColor.Color
  8793. end
  8794. end)
  8795. end
  8796. end
  8797. end
  8798. end)
  8799.  
  8800. addcmd("tppos","Teleports a player to a coordinate",{},
  8801. function(args,speaker)
  8802. if #args < 4 then return end
  8803. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  8804. for _,plr in pairs(getPlayer(args[1], speaker)) do
  8805. local char = gPlayers[plr].Character
  8806. if char and char:FindFirstChild("HumanoidRootPart") then
  8807. char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
  8808. end
  8809. end
  8810. end)
  8811.  
  8812. addcmd("offset","Offsets a player by a coordinate",{},
  8813. function(args,speaker)
  8814. if #args < 4 then return end
  8815. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  8816. for _,plr in pairs(getPlayer(args[1], speaker)) do
  8817. local char = gPlayers[plr].Character
  8818. if char and char:FindFirstChild("HumanoidRootPart") then
  8819. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
  8820. end
  8821. end
  8822. end)
  8823.  
  8824. addcmd('bait',';)',{'troll'},
  8825. function(args, speaker)
  8826. spawn(function()
  8827. local M = Instance.new('Model', workspace) M.Name = 'IYbait'
  8828. local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.Color = maincolor P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
  8829. y = Instance.new("BillboardGui")
  8830. y.Size = UDim2.new(0,100,0,150)
  8831. y.StudsOffset = Vector3.new(0,1,0)
  8832. y.Parent = P
  8833. y.Adornee = P
  8834. f = Instance.new("TextLabel")
  8835. f.Parent = y
  8836. f.BackgroundTransparency = 1
  8837. f.Position = UDim2.new(0,0,0,-50)
  8838. f.Size = UDim2.new(0,100,0,100)
  8839. f.Font = "Highway"
  8840. f.FontSize = "Size48"
  8841. f.Text = "Touch for admin!"
  8842. f.TextStrokeColor3 = Color3.new(0,0,0)
  8843. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  8844. f.TextStrokeTransparency = 0
  8845. f.TextYAlignment = "Bottom"
  8846. P.Touched:connect(function(oof) if oof.Parent.Name ~= speaker.Name or oof.Parent.Name ~= LP.Name then if oof.Parent:FindFirstChild('Humanoid') then execCmd("oof " .. oof.Parent.Name, Player) end end end)
  8847. end)
  8848. end)
  8849.  
  8850. addcmd('removebait','clears bait parts',{'nobait'},
  8851. function(args, speaker)
  8852. local function dels(instance)
  8853. for i,v in pairs(instance:GetChildren())do
  8854. if v.name == "IYbait"then v:Destroy()end
  8855. dels(v)
  8856. end
  8857. end
  8858. dels(workspace)
  8859. end)
  8860.  
  8861. function CreateInstance(cls,props)
  8862. local inst = Instance.new(cls)
  8863. for i,v in pairs(props) do
  8864. inst[i] = v
  8865. end
  8866. return inst end
  8867. local function createSoundFrame()
  8868. local soundFrame = Instance.new("Frame") soundFrame.Name = "Sound" soundFrame.BackgroundColor3 = Color3.new(0, 0, 0) soundFrame.BackgroundTransparency = 1 soundFrame.BorderSizePixel = 0 soundFrame.Position = UDim2.new(0.5, -350, 0, -100) soundFrame.Size = UDim2.new(0, 700, 0, 35)
  8869. local soundFrame4 = Instance.new("TextLabel") soundFrame4.Name = "SName" soundFrame4.Parent = soundFrame soundFrame4.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame4.BackgroundTransparency = 1 soundFrame4.Position = UDim2.new(0, 3, 0, 2) soundFrame4.Size = UDim2.new(1, -6, 0, 15) soundFrame4.Font = Enum.Font.SourceSansBold soundFrame4.FontSize = Enum.FontSize.Size14 soundFrame4.Text = "Audio" soundFrame4.TextColor3 = Color3.new(1, 1, 1) soundFrame4.TextWrapped = true soundFrame4.TextYAlignment = Enum.TextYAlignment.Top
  8870. local soundFrame6 = Instance.new("TextButton") soundFrame6.Name = "Pause" soundFrame6.Parent = soundFrame soundFrame6.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame6.BackgroundTransparency = 1 soundFrame6.Position = UDim2.new(0, 170, 1, -18) soundFrame6.Size = UDim2.new(0, 15, 0, 15) soundFrame6.Font = Enum.Font.SourceSans soundFrame6.FontSize = Enum.FontSize.Size14 soundFrame6.Text = "" soundFrame6.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  8871. local soundFrame7 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,3,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6})
  8872. local soundFrame8 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-5,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame6})
  8873. local soundFrame9 = Instance.new("Frame") soundFrame9.Name = "Pos" soundFrame9.Parent = soundFrame soundFrame9.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame9.BackgroundTransparency = 1 soundFrame9.BorderSizePixel = 0 soundFrame9.Position = UDim2.new(0, 260, 1, -16) soundFrame9.Size = UDim2.new(1, -300, 0, 11)
  8874. local soundFrame10 = Instance.new("Frame") soundFrame10.Name = "Touch" soundFrame10.Parent = soundFrame9 soundFrame10.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame10.BorderSizePixel = 0 soundFrame10.Size = UDim2.new(0, 5, 0, 11)
  8875. local soundFrame11 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,5),Rotation=0,Selectable=false,Size=UDim2.new(1,0,0,1),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame9})
  8876. local soundFrame12 = Instance.new("TextLabel") soundFrame12.Name = "TimeEnd" soundFrame12.Parent = soundFrame soundFrame12.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame12.BackgroundTransparency = 1 soundFrame12.Position = UDim2.new(1, -35, 1, -18) soundFrame12.Size = UDim2.new(0, 30, 0, 15) soundFrame12.Font = Enum.Font.SourceSans soundFrame12.FontSize = Enum.FontSize.Size14 soundFrame12.Text = "1:52" soundFrame12.TextColor3 = Color3.new(1, 1, 1) soundFrame12.TextYAlignment = Enum.TextYAlignment.Top
  8877. local soundFrame13 = Instance.new("TextLabel") soundFrame13.Name = "TimeStart" soundFrame13.Parent = soundFrame soundFrame13.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame13.BackgroundTransparency = 1 soundFrame13.Position = UDim2.new(0, 225, 1, -18) soundFrame13.Size = UDim2.new(0, 30, 0, 15) soundFrame13.Font = Enum.Font.SourceSans soundFrame13.FontSize = Enum.FontSize.Size14 soundFrame13.Text = "0:00" soundFrame13.TextColor3 = Color3.new(1, 1, 1) soundFrame13.TextYAlignment = Enum.TextYAlignment.Top
  8878. local soundFrame15 = Instance.new("TextButton") soundFrame15.Name = "NextSong" soundFrame15.Parent = soundFrame soundFrame15.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame15.BackgroundTransparency = 1 soundFrame15.Position = UDim2.new(0, 80, 1, -18) soundFrame15.Size = UDim2.new(0, 15, 0, 15) soundFrame15.Font = Enum.Font.SourceSans soundFrame15.FontSize = Enum.FontSize.Size14 soundFrame15.Text = "" soundFrame15.TextColor3 = Color3.new(1, 1, 1)
  8879. local soundFrame16 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(1,-2,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame15})
  8880. local soundFrame17 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,2),Rotation=90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame15})
  8881. local soundFrame18 = Instance.new("TextButton") soundFrame18.Name = "PrevSong" soundFrame18.Parent = soundFrame soundFrame18.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame18.BackgroundTransparency = 1 soundFrame18.Position = UDim2.new(0, 20, 1, -18) soundFrame18.Size = UDim2.new(0, 15, 0, 15) soundFrame18.Font = Enum.Font.SourceSans soundFrame18.FontSize = Enum.FontSize.Size14 soundFrame18.Text = "" soundFrame18.TextColor3 = Color3.new(1, 1, 1)
  8882. local soundFrame19 = CreateInstance("Frame",{Style=0,Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),BackgroundTransparency=0,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=0,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,0,0,0),Rotation=0,Selectable=false,Size=UDim2.new(0,2,1,0),SizeConstraint=0,Visible=true,ZIndex=1,Name="Line",Parent = soundFrame18})
  8883. local soundFrame20 = CreateInstance("ImageLabel",{Image="rbxassetid://304846479",ImageColor3=Color3.new(0.90196084976196,0.90196084976196,0.90196084976196),ImageRectOffset=Vector2.new(0,0),ImageRectSize=Vector2.new(0,0),ImageTransparency=0,ScaleType=0,SliceCenter=Rect.new(0,0,0,0),Active=false,AnchorPoint=Vector2.new(0,0),BackgroundColor3=Color3.new(1,1,1),BackgroundTransparency=1,BorderColor3=Color3.new(0.10588236153126,0.16470588743687,0.20784315466881),BorderSizePixel=1,ClipsDescendants=false,Draggable=false,Position=UDim2.new(0,5,0,2),Rotation=-90,Selectable=false,Size=UDim2.new(0,10,0,11),SizeConstraint=0,Visible=true,ZIndex=1,Name="ImageLabel",Parent = soundFrame18})
  8884. local soundFrame21 = Instance.new("TextLabel") soundFrame21.Name = "PlaylistCount" soundFrame21.Parent = soundFrame soundFrame21.BackgroundColor3 = Color3.new(1, 1, 1) soundFrame21.BackgroundTransparency = 1 soundFrame21.Position = UDim2.new(0, 40, 1, -18) soundFrame21.Size = UDim2.new(0, 35, 0, 15) soundFrame21.Font = Enum.Font.SourceSans soundFrame21.FontSize = Enum.FontSize.Size14 soundFrame21.Text = "1/1" soundFrame21.TextColor3 = Color3.new(1, 1, 1) soundFrame21.TextYAlignment = Enum.TextYAlignment.Top
  8885. local soundFrame22 = Instance.new("ImageButton") soundFrame22.Name = "PlayStop" soundFrame22.Parent = soundFrame soundFrame22.BackgroundColor3 = Color3.new(0.901961, 0.901961, 0.901961) soundFrame22.BackgroundTransparency = 1 soundFrame22.BorderSizePixel = 0 soundFrame22.Position = UDim2.new(0, 145, 1, -18) soundFrame22.Rotation = 90 soundFrame22.Size = UDim2.new(0, 15, 0, 15) soundFrame22.AutoButtonColor = false soundFrame22.Image = "rbxassetid://304846479" soundFrame22.ImageColor3 = Color3.new(0.901961, 0.901961, 0.901961)
  8886. return soundFrame end
  8887. local soundFrame = createSoundFrame()
  8888. soundFrame.Visible = true
  8889. local MusicPlayer do
  8890. MusicPlayer = {}
  8891. local playlist = {}
  8892. local currentSong = 1
  8893. local playlistHook = nil
  8894. --local soundFrame = script.Parent:WaitForChild("Sound")
  8895. local soundLine = soundFrame:WaitForChild("Pos")
  8896. local soundTouch = soundLine:WaitForChild("Touch")
  8897. local soundPlayStop = soundFrame:WaitForChild("PlayStop")
  8898. local soundPause = soundFrame:WaitForChild("Pause")
  8899. local soundNext = soundFrame:WaitForChild("NextSong")
  8900. local soundPrev = soundFrame:WaitForChild("PrevSong")
  8901. local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
  8902. local mouseDrag = false
  8903. local mouse = gPlayers.LocalPlayer:GetMouse()
  8904. local lineBar = soundFrame:WaitForChild("Pos")
  8905. adminSound = Instance.new("Sound",workspace)
  8906. adminSound.Name = "IYsound"
  8907. adminSound.Looped = true
  8908. local function timeConvert(num)
  8909. local mins = math.floor(num/60)
  8910. local secs = math.floor(num % 60)
  8911. return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
  8912. end
  8913. local function updateSongLine()
  8914. local linePos = mouse.X - soundLine.AbsolutePosition.X
  8915. if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
  8916. local movePos = linePos/soundLine.AbsoluteSize.X
  8917. soundTouch.Position = UDim2.new(movePos,0,0,0)
  8918. elseif linePos < 0 then
  8919. soundTouch.Position = UDim2.new(0,0,0,0)
  8920. else
  8921. soundTouch.Position = UDim2.new(1,0,0,0)
  8922. end
  8923. local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
  8924. adminSound.TimePosition = newTimePos
  8925. soundFrame.TimeStart.Text = timeConvert(newTimePos)
  8926. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  8927. end
  8928. local function updateDetails(id)
  8929. local info = game:GetService("MarketplaceService"):GetProductInfo(id)
  8930. soundFrame.SName.Text = info.Name
  8931. end
  8932. local function setPlaylistHook()
  8933. if playlistHook then playlistHook:Disconnect() playlistHook = nil end
  8934. if #playlist == 0 then return end
  8935. playlistHook = adminSound.DidLoop:connect(function()
  8936. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  8937. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  8938. MusicPlayer:Play(playlist[currentSong],true)
  8939. end)
  8940. end
  8941. local function disconnectPlaylistHook()
  8942. if playlistHook then playlistHook:disconnect() playlistHook = nil end
  8943. end
  8944. game:GetService("RunService").RenderStepped:Connect(function()
  8945. if adminSound.Playing then
  8946. soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
  8947. soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
  8948. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  8949. end
  8950. end)
  8951. lineBar.InputBegan:connect(function(input)
  8952. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  8953. mouseDrag = true
  8954. updateSongLine()
  8955. end
  8956. end)
  8957. lineBar.InputEnded:connect(function(input)
  8958. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  8959. mouseDrag = false
  8960. end
  8961. end)
  8962. mouse.Move:connect(function(prop)
  8963. if mouseDrag then
  8964. updateSongLine()
  8965. end
  8966. end)
  8967. function MusicPlayer:Play(id,plist)
  8968. if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
  8969. adminSound:Stop()
  8970. if adminSound.Parent == nil then
  8971. adminSound = Instance.new("Sound",workspace)
  8972. adminSound.Name = "IYsound"
  8973. adminSound.Looped = true
  8974. if plist then setPlaylistHook() end
  8975. end
  8976. adminSound.SoundId = "rbxassetid://"..tostring(id)
  8977. adminSound.TimePosition = 0
  8978. --repeat wait() until adminSound.IsLoaded
  8979. adminSound:Play()
  8980. soundPlayStop.BackgroundTransparency = 0
  8981. soundPlayStop.ImageTransparency = 1
  8982. updateDetails(id)
  8983. end
  8984. function MusicPlayer:Playlist(list)
  8985. playlist = list
  8986. soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
  8987. currentSong = 1
  8988. if adminSound.Parent == nil then
  8989. adminSound = Instance.new("Sound",workspace)
  8990. adminSound.Name = "IYsound"
  8991. adminSound.Looped = true
  8992. end
  8993. soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
  8994. MusicPlayer:Play(playlist[1],true)
  8995. setPlaylistHook()
  8996. end
  8997. function MusicPlayer:Stop()
  8998. adminSound:Stop()
  8999. adminSound.TimePosition = 0
  9000. soundTouch.Position = UDim2.new(0,0,0,0)
  9001. soundFrame.TimeStart.Text = "0:00"
  9002. soundPlayStop.BackgroundTransparency = 1
  9003. soundPlayStop.ImageTransparency = 0
  9004. end
  9005. function MusicPlayer:Pause()
  9006. adminSound:Pause()
  9007. soundPlayStop.BackgroundTransparency = 1
  9008. soundPlayStop.ImageTransparency = 0
  9009. end
  9010. function MusicPlayer:Resume()
  9011. adminSound:Resume()
  9012. soundPlayStop.BackgroundTransparency = 0
  9013. soundPlayStop.ImageTransparency = 1
  9014. setPlaylistHook()
  9015. end
  9016. function MusicPlayer:NextSong()
  9017. if #playlist == 0 then return end
  9018. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  9019. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9020. MusicPlayer:Play(playlist[currentSong],true)
  9021. end
  9022. function MusicPlayer:PrevSong()
  9023. if #playlist == 0 then return end
  9024. if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
  9025. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9026. MusicPlayer:Play(playlist[currentSong],true)
  9027. end
  9028. function MusicPlayer:SetSong(ind)
  9029. if ind > #playlist or ind <= 0 then return end
  9030. soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
  9031. MusicPlayer:Play(playlist[ind],true)
  9032. end
  9033. playerenabled = false
  9034. function MusicPlayer:Show()
  9035. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  9036. end
  9037. function MusicPlayer:Hide()
  9038. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  9039. end
  9040. function colorFrames(obj,col)
  9041. for i,v in pairs(obj:GetChildren()) do
  9042. if v:IsA("ImageLabel") then
  9043. v.ImageColor3 = col
  9044. end
  9045. v.BackgroundColor3 = col
  9046. end
  9047. end
  9048. for i,v in pairs(soundButtons) do
  9049. v.MouseEnter:connect(function()
  9050. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
  9051. if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
  9052. v.BackgroundColor3 = Color3.new(1,1,1)
  9053. colorFrames(v,Color3.new(1,1,1))
  9054. end)
  9055. v.MouseLeave:connect(function()
  9056. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
  9057. if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
  9058. v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
  9059. colorFrames(v,Color3.new(230/255, 230/255, 230/255))
  9060. end)
  9061. end
  9062. soundPlayStop.MouseButton1Click:connect(function()
  9063. if adminSound.Playing then
  9064. MusicPlayer:Stop()
  9065. else
  9066. MusicPlayer:Resume()
  9067. end
  9068. end)
  9069. soundPause.MouseButton1Click:connect(function()
  9070. MusicPlayer:Pause()
  9071. end)
  9072. soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
  9073. soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
  9074. end
  9075. local testgui = Instance.new("ScreenGui",game.CoreGui)
  9076. soundFrame.Parent = testgui
  9077. addcmd('playlist','makes a noice playlist',{'ids'},
  9078. function(args, speaker)
  9079. playerenabled = true
  9080. if #args > 0 then
  9081. local function dels(instance)
  9082. for i,v in pairs(instance:GetChildren())do
  9083. if v:IsA'Sound'then v:Destroy()end
  9084. dels(v)
  9085. end
  9086. end
  9087. dels(workspace) wait(0.1)
  9088. if adminSound.Parent == nil then
  9089. adminSound = Instance.new("Sound",workspace)
  9090. adminSound.Name = "IYsound"
  9091. adminSound.Looped = true
  9092. end
  9093. local idlist = splitString(args[1])
  9094. local workingIds = {}
  9095. for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
  9096. if #workingIds > 0 then
  9097. playerenabled = true
  9098. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9099. MusicPlayer:Playlist(workingIds)
  9100. MusicPlayer:Show() if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9101. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9102. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9103. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9104. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end
  9105. else MusicPlayer:Show() NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil) if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9106. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9107. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true
  9108. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9109. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end)
  9110. addcmd('sound', 'plays a sound',{'music','play'},
  9111. function(args, speaker)
  9112. if isNumber(args[1]) then
  9113. local function dels(instance)
  9114. for i,v in pairs(instance:GetChildren())do
  9115. if v:IsA'Sound'then v:Destroy()end
  9116. dels(v)
  9117. end
  9118. end
  9119. dels(workspace)
  9120. local c = args[1] or 'stop'
  9121. if std.inTable({'stop'}, c:lower()) then return end
  9122. local s = Instance.new("Sound", workspace)
  9123. s.Name = "IYsound"
  9124. s.Looped = true
  9125. s.SoundId = "rbxassetid://" .. c
  9126. s.Volume = 1
  9127. s:Play()
  9128. local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
  9129. playerenabled = false
  9130. Notify('Playing: ' .. Asset.Name)
  9131. else
  9132. local name = GLS(false, 0)
  9133. playerenabled = false
  9134. Notify('Stopped audio')
  9135. local function dels(instance)
  9136. for i,v in pairs(instance:GetChildren())do
  9137. if v:IsA'Sound'then v:Destroy()end
  9138. dels(v)
  9139. end
  9140. end
  9141. dels(workspace)
  9142. if args[1] ~= "stop" and args[1] ~= "off" then
  9143. local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
  9144. if song ~= "[]" then
  9145. local Sound = Instance.new("Sound", workspace)
  9146. Sound.Name = "IYsound"
  9147. song = song:sub(13)
  9148. song = song:sub(1, song:find(",") - 1)
  9149. Sound.SoundId = "rbxassetid://" .. song
  9150. Sound.Looped = true
  9151. Sound:Play()
  9152. local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
  9153. Notify('Playing: ' .. Asset.Name) end
  9154. end end end)
  9155. addcmd('setsong','goto a song',{'tosong'},
  9156. function(args, speaker)
  9157. MusicPlayer:SetSong(tonumber(args[1]))
  9158. end)
  9159. addcmd('nextsong','forward a song',{'nxtsong'},
  9160. function(args, speaker)
  9161. MusicPlayer:NextSong()
  9162. end)
  9163. addcmd('prevsong','back a song',{'previoussong'},
  9164. function(args, speaker)
  9165. MusicPlayer:PrevSong()
  9166. end)
  9167. addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
  9168. function(args, speaker)
  9169. playerenabled = false
  9170. MusicPlayer:Hide()
  9171. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  9172. end)
  9173.  
  9174. addcmd('disco','disco party',{''},
  9175. function(args, speaker)
  9176. _G.nodisco = nil
  9177. coroutine.resume(coroutine.create(function()
  9178. repeat
  9179. game:GetService('Lighting').GlobalShadows = true
  9180. game:GetService('Lighting').FogEnd = 200
  9181. game:GetService('Lighting').TimeOfDay = 0
  9182. local r = 255
  9183. local g = 0
  9184. local b = 0
  9185. for i = 0,255,5 do
  9186. if _G.nodisco ~=nil then return end
  9187. r = r - 5
  9188. b = b + 5
  9189. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9190. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9191. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9192. wait()
  9193. end
  9194. for i = 0,255,5 do
  9195. if _G.nodisco ~=nil then return end
  9196. g = g + 5
  9197. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9198. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9199. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9200. wait()
  9201. end
  9202. for i = 0,255,5 do
  9203. if _G.nodisco ~=nil then return end
  9204. b = b - 5
  9205. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9206. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9207. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9208. wait()
  9209. end
  9210. for i = 0,255,5 do
  9211. if _G.nodisco ~=nil then return end
  9212. r = r + 5
  9213. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9214. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9215. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9216. wait()
  9217. end
  9218. for i = 0,255,5 do
  9219. if _G.nodisco ~=nil then return end
  9220. g = g - 5
  9221. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9222. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9223. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9224. wait()
  9225. end
  9226. until _G.nodisco
  9227. end))
  9228. end)
  9229.  
  9230. addcmd('undisco','rip disco party',{''},
  9231. function(args, speaker)
  9232. _G.nodisco = true
  9233. execCmd('fixl')
  9234. end)
  9235.  
  9236. addcmd('hat','give a hat to a player',{''},
  9237. function(args, speaker)
  9238. local players = getPlayer(args[1], speaker)
  9239. for i,v in pairs(players)do
  9240. local char = gPlayers[v].Character
  9241. local Hat = game:GetObjects("rbxassetid://" .. args[2])[1]
  9242. Hat.Parent = char
  9243. end end)
  9244.  
  9245. fm = Instance.new('BlockMesh', DATA)
  9246. fm.Scale = Vector3.new(1, 1, 2)
  9247. fm.Name = "FAT"
  9248. addcmd('fat','makes a plr fat',{''},
  9249. function(args, speaker)
  9250. local players = getPlayer(args[1], speaker)
  9251. for i,v in pairs(players)do
  9252. local char = gPlayers[v].Character
  9253. for _, child in pairs( char:GetChildren()) do
  9254. if child.ClassName == "CharacterMesh" then
  9255. child:Destroy() end end
  9256. for i,v in pairs(char:GetChildren()) do
  9257. if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
  9258. fm:Clone().Parent = v
  9259. end end end end)
  9260.  
  9261. addcmd('crucify','crucifies a player',{'cruci'},
  9262. function(args, speaker)
  9263. local players = getPlayer(args[1], speaker)
  9264. for i,v in pairs(players)do
  9265. local char = gPlayers[v].Character
  9266. local torso=char['Torso']
  9267. local larm=char['Left Arm']
  9268. local rarm=char['Right Arm']
  9269. local lleg=char['Left Leg']
  9270. local rleg=char['Right Leg']
  9271. local head=char['Head']
  9272. if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then
  9273. local cru=Instance.new('Model',char)
  9274. cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;)
  9275. local c1=Instance.new('Part',cru)
  9276. c1.BrickColor=BrickColor.new('Reddish brown')
  9277. c1.Material='Wood'
  9278. c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  9279. c1.Size=Vector3.new(2,18.4,1)
  9280. c1.Anchored=true
  9281. local c2=c1:Clone()
  9282. c2.Parent=cru
  9283. c2.Size=Vector3.new(11,1.6,1)
  9284. c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  9285. torso.Anchored=true;wait(0.5)
  9286. torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5)
  9287. larm.Anchored=true
  9288. rarm.Anchored=true
  9289. lleg.Anchored=true
  9290. rleg.Anchored=true
  9291. head.Anchored=true;wait()
  9292. larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  9293. rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  9294. lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  9295. rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  9296. larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  9297. rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  9298. lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  9299. rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  9300. --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  9301. local n1=Instance.new('Part',cru)
  9302. n1.BrickColor=BrickColor.new('Dark stone grey')
  9303. n1.Material='DiamondPlate'
  9304. n1.Size=Vector3.new(0.2,0.2,2)
  9305. n1.Anchored=true
  9306. local m=Instance.new('BlockMesh',n1)
  9307. m.Scale=Vector3.new(0.2,0.2,0.7)
  9308. local n2=n1:Clone()
  9309. n2.Parent=cru
  9310. local n3=n1:Clone()
  9311. n3.Parent=cru
  9312. n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  9313. n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  9314. n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  9315. spawn(function()
  9316. repeat
  9317. wait(0.1)
  9318. char.Humanoid.Health=char.Humanoid.Health-0.6
  9319. until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
  9320. char:BreakJoints()
  9321. end)
  9322. end
  9323. end
  9324. end)
  9325.  
  9326. addcmd('hang','hangs a player',{},
  9327. function(args, speaker)
  9328. local players = getPlayer(args[1], speaker)
  9329. for i,v in pairs(players)do
  9330. local plr = gPlayers[v].Character
  9331. plr.HumanoidRootPart.Anchored = true
  9332. hang = game:GetObjects("rbxassetid://01355025338")[1]
  9333. hang.Parent = plr
  9334. hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5))
  9335. pcall(function()
  9336. plr.HumanoidRootPart.CFrame = hang.main.CFrame
  9337. function weld(p, cf)
  9338. local weld1 = Instance.new("Weld")
  9339. weld1.Part0 = p
  9340. weld1.Part1 = plr.Torso
  9341. weld1.C0 = CFrame.new()
  9342. weld1.C1 = cf
  9343. weld1.Parent = p
  9344. end
  9345. weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4))
  9346. weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4))
  9347. spawn(function()
  9348. repeat
  9349. wait(0.1)
  9350. plr.Humanoid.Health=plr.Humanoid.Health-0.6
  9351. until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0
  9352. plr:BreakJoints()
  9353. end)
  9354. end)
  9355. end
  9356. end)
  9357.  
  9358. addcmd('fix', 'restores lighting and what not',{},
  9359. function(args, speaker)
  9360. LightingService.Ambient = origsettings.abt
  9361. LightingService.OutdoorAmbient = origsettings.oabt
  9362. LightingService.Brightness = origsettings.brt
  9363. LightingService.TimeOfDay = origsettings.time
  9364. LightingService.FogColor = origsettings.fclr
  9365. LightingService.FogEnd = origsettings.fe
  9366. LightingService.FogStart = origsettings.fs
  9367. workspace.Gravity = 200
  9368. local function dels(instance) for i,v in pairs(instance:GetChildren())do if v:IsA'Sound'then v:Destroy()end dels(v) end end dels(workspace)
  9369. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
  9370. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  9371. if v:IsA("PostEffect") then v:Destroy() end end
  9372. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() Notify('Reset') end end)
  9373.  
  9374. Floating = false
  9375.  
  9376. addcmd('float', 'makes player float',{},
  9377. function(args,speaker)
  9378. Floating = true
  9379. local players = getPlayer(args[1], speaker)
  9380. for _,v in pairs(players) do
  9381. local pchar = gPlayers[v].Character
  9382. if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  9383. spawn(function()
  9384. local float = DATA.Float:Clone()
  9385. float.Parent = pchar
  9386. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  9387. spawn(function()
  9388. while wait(0.1) do
  9389. if pchar:FindFirstChild("Float") then
  9390. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  9391. else
  9392. break
  9393. end
  9394. end
  9395. end)
  9396. end)
  9397. end
  9398. end
  9399. end)
  9400.  
  9401. addcmd('unfloat','disables floating',{},
  9402. function(args, speaker)
  9403. Floating = false
  9404. local players = getPlayer(args[1], speaker)
  9405. for i,v in pairs(players)do
  9406. local pchar = gPlayers[v].Character
  9407. if pchar:FindFirstChild("Float") then
  9408. pchar.Float:Destroy()
  9409. end
  9410. end
  9411. end)
  9412.  
  9413. Clip = true
  9414. addcmd('noclip','noclip',{},
  9415. function(args, speaker)
  9416. if speaker.userId ~= LP.userId then
  9417. lponly(speaker)
  9418. else
  9419. Notify('Noclip enabled')
  9420. Clip = false
  9421. if LP.Character:FindFirstChild('Torso') then
  9422. wait(0.1)
  9423. Name = LP.Name
  9424. game:GetService('RunService').Stepped:connect(function ()
  9425. workspace[Name].Torso.CanCollide = Clip
  9426. workspace[Name].Head.CanCollide = Clip
  9427. end)
  9428. workspace[Name].Torso.Changed:connect(function()
  9429. workspace[Name].Torso.CanCollide = Clip
  9430. workspace[Name].Head.CanCollide = Clip
  9431. end)
  9432. else
  9433. r15noclip = true
  9434. end
  9435. end
  9436. end)
  9437.  
  9438. addcmd('clip','clip',{},
  9439. function(args, speaker)
  9440. Notify('Noclip disabled')
  9441. Clip = true
  9442. r15noclip = false
  9443. end)
  9444.  
  9445. addcmd('prefix','changes prefix',{},
  9446. function(args, speaker)
  9447. cmdprefix = args[1]
  9448. Notify('Set prefix to "' .. args[1] .. '"')
  9449. updatefile()
  9450. end)
  9451.  
  9452. addcmd('respawn','respawns',{},
  9453. function(args, speaker)
  9454. local players = getPlayer(args[1], speaker)
  9455. for i,v in pairs(players) do
  9456. respawn(gPlayers[v])
  9457. end
  9458. end)
  9459.  
  9460. addcmd('version','shows version',{''},
  9461. function(args, speaker)
  9462. if speaker.userId ~= LP.userId then
  9463. lponly(speaker)
  9464. else
  9465. Notify("Version is " .. Version)
  9466. end
  9467. end)
  9468. local CTPenabled = false
  9469. Mouse.KeyDown:connect(function (Key)
  9470. if Key:byte() == 29 then
  9471. if FLYING == false then
  9472. execCmd("fly me", Player)
  9473. elseif FLYING == true then
  9474. execCmd("unfly me", Player)
  9475. end
  9476. end
  9477. if Key:byte() == 30 then
  9478. if Clip == true then
  9479. execCmd("noclip", Player)
  9480. elseif Clip == false then
  9481. execCmd("clip", Player)
  9482. end
  9483. end
  9484. Key = Key:lower()
  9485. if Key:byte() == 27 then
  9486. CTPenabled = true
  9487. end
  9488. end)
  9489. Mouse.KeyUp:connect(function(Key)
  9490. Key = Key:lower()
  9491. if Key:byte() == 27 then
  9492. CTPenabled = false
  9493. end
  9494. end)
  9495. Mouse.Button1Down:connect(function()
  9496. local charx = gPlayers.LocalPlayer.Character
  9497. if charx and CTPenabled == true then
  9498. charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
  9499. end
  9500. end)
  9501. -------------------
  9502. ----Command bar----
  9503. -------------------
  9504. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  9505. CMDbar.Name = 'GUI'
  9506. CMDbar.DisplayOrder = 2
  9507. cont = Instance.new("Frame")
  9508. cmdBAR = Instance.new('TextBox', cont)
  9509. cont.Name = "cont"
  9510. cont.BackgroundTransparency = 1
  9511. cont.Position = UDim2.new(1, -265, 0, -75)
  9512. cont.Size = UDim2.new(0, 270, 0, 45)
  9513. cont.Parent = CMDbar
  9514. cont.ZIndex = 5
  9515. cont.Active = true cont.Draggable = true
  9516. cmdBAR.Name = "CMDbar"
  9517. cmdBAR.Parent = cont
  9518. cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9519. cmdBAR.BackgroundTransparency = 0.7
  9520. cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  9521. cmdBAR.BorderSizePixel = 0
  9522. cmdBAR.Position = UDim2.new(0, 10, 1, -35)
  9523. cmdBAR.Size = UDim2.new(0, 250, 0, 25)
  9524. cmdBAR.Font = Enum.Font.SourceSans
  9525. cmdBAR.FontSize = Enum.FontSize.Size18
  9526. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  9527. cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  9528. cmdBAR.ZIndex = 5
  9529. -------------------
  9530. ----Data Folder----
  9531. -------------------
  9532. DATA = Instance.new('Folder', game.ContextActionService)
  9533. DATA.Name = 'Data'
  9534. Paper = Instance.new('BlockMesh', DATA)
  9535. Paper.Name = 'Paper'
  9536. Paper.Scale = Vector3.new(1,1,0.1)
  9537. ayylmao = Instance.new('Hat', DATA)
  9538. ayylmao.Name = 'ayylmao'
  9539. ayyHandle = Instance.new('Part', ayylmao)
  9540. ayyHandle.Name = 'Handle'
  9541. ayyHandle.Size = Vector3.new(2,2.4,2)
  9542. ayyHandle.FormFactor = 'Plate'
  9543. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  9544. ayyMesh.Scale = Vector3.new(1,1.02,1)
  9545. ayyMesh.MeshType = 'FileMesh'
  9546. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  9547. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  9548. Float = Instance.new('Part', DATA)
  9549. Float.Name = 'Float'
  9550. Float.Transparency = 1
  9551. Float.Size = Vector3.new(6,1,6)
  9552. Float.Anchored = true
  9553. function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
  9554. missile = Instance.new('Part', DATA)
  9555. missile.Name = 'IY_missile'
  9556. missile.CanCollide = false
  9557. missile.Size = Vector3.new(2, 5, 2)
  9558. Instance.new('CylinderMesh', missile)
  9559. local F = Instance.new('Part', missile)
  9560. F.BrickColor = BrickColor.new('Black')
  9561. F.CanCollide = false
  9562. F.Size = Vector3.new(2, 0.2, 2)
  9563. Instance.new('CylinderMesh', F)
  9564. local fire = Instance.new('Fire', F)
  9565. fire.Size = "15"
  9566. fire.Heat = "25"
  9567. local head = Instance.new('Part', missile)
  9568. head.CanCollide = false
  9569. head.Shape = 'Ball'
  9570. head.Size = Vector3.new(2, 2, 2)
  9571. head.TopSurface = 'Smooth'
  9572. head.BottomSurface = 'Smooth'
  9573. local BF = Instance.new('BodyForce', missile)
  9574. BF.Name = 'force'
  9575. BF.Force = Vector3.new(0, 0, 0)
  9576. local W1 = Instance.new('Weld', missile)
  9577. W1.Part0 = missile
  9578. W1.Part1 = F
  9579. W1.C1 = CFrame.new(0, 2.6, 0)
  9580. local W2 = Instance.new('Weld', missile)
  9581. W2.Part0 = missile
  9582. W2.Part1 = head
  9583. W2.C1 = CFrame.new(0, -2.6, 0)
  9584. jail = Instance.new('Model', DATA)
  9585. jail.Name = 'JAIL'
  9586. local B = Instance.new('Part', jail)
  9587. B.Name = 'BUTTOM'
  9588. B.BrickColor = BrickColor.new('Black')
  9589. B.Transparency = 0.5
  9590. B.Anchored = true
  9591. B.Locked = true
  9592. B.Size = Vector3.new(6, 1, 6)
  9593. B.TopSurface = 'Smooth'
  9594. B.BottomSurface = 'Smooth'
  9595. local M = Instance.new('Part', jail)
  9596. M.Name = 'MAIN'
  9597. M.BrickColor = BrickColor.new('Black')
  9598. M.Transparency = 1
  9599. M.Anchored = true
  9600. M.CanCollide = false
  9601. M.Locked = true
  9602. M.Position = B.Position + Vector3.new(0, 3, 0)
  9603. M.Size = Vector3.new(1, 1, 1)
  9604. local P1 = Instance.new('Part', jail)
  9605. P1.BrickColor = BrickColor.new('Black')
  9606. P1.Transparency = 0.5
  9607. P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
  9608. P1.Rotation = Vector3.new(0, 90, 0)
  9609. P1.Anchored = true
  9610. P1.Locked = true
  9611. P1.Size = Vector3.new(1, 6, 6)
  9612. local P2 = Instance.new('Part', jail)
  9613. P2.BrickColor = BrickColor.new('Black')
  9614. P2.Transparency = 0.5
  9615. P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
  9616. P2.Rotation = Vector3.new(-180, 0, -180)
  9617. P2.Anchored = true
  9618. P2.Locked = true
  9619. P2.Size = Vector3.new(1, 6, 4)
  9620. local P3 = Instance.new('Part', jail)
  9621. P3.BrickColor = BrickColor.new('Black')
  9622. P3.Transparency = 0.5
  9623. P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
  9624. P3.Rotation = Vector3.new(0, 0, 0)
  9625. P3.Anchored = true
  9626. P3.Locked = true
  9627. P3.Size = Vector3.new(1, 6, 4)
  9628. local P4 = Instance.new('Part', jail)
  9629. P4.BrickColor = BrickColor.new('Black')
  9630. P4.Transparency = 0.5
  9631. P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
  9632. P4.Rotation = Vector3.new(0, 90, 0)
  9633. P4.Anchored = true
  9634. P4.Locked = true
  9635. P4.Size = Vector3.new(1, 6, 6)
  9636. local TOP = Instance.new('Part', jail)
  9637. TOP.BrickColor = BrickColor.new('Black')
  9638. TOP.Transparency = 0.5
  9639. TOP.Position = B.Position + Vector3.new(0, 7, 0)
  9640. TOP.Rotation = Vector3.new(0, 0, 0)
  9641. TOP.Anchored = true
  9642. TOP.Locked = true
  9643. TOP.Size = Vector3.new(6, 1, 6)
  9644. TOP.TopSurface = 'Smooth'
  9645. TOP.BottomSurface = 'Smooth'
  9646. ------------------------------
  9647. ---Commands/Settings Window---
  9648. ------------------------------
  9649. cp = Instance.new("ScreenGui")
  9650. local Frame = Instance.new("Frame")
  9651. local holder = Instance.new("Frame")
  9652. bar = Instance.new("Frame")
  9653. local cmds = Instance.new("TextButton")
  9654. local settings = Instance.new("TextButton")
  9655. local Hide = Instance.new("TextButton")
  9656. local Exit = Instance.new("TextButton")
  9657. FeedbackMain = Instance.new("Frame")
  9658. local Title = Instance.new("TextLabel")
  9659. local checkboxText = Instance.new("TextLabel")
  9660. local CheckBox = Instance.new("ImageButton")
  9661. local bindInput = Instance.new("TextButton")
  9662. Input = Instance.new("TextBox")
  9663. local preText = Instance.new("TextLabel")
  9664. local setpre = Instance.new("TextButton")
  9665. local everyone = Instance.new("TextButton")
  9666. local JLtext = Instance.new("TextLabel")
  9667. local CheckBoxJL = Instance.new("ImageButton")
  9668. local friends = Instance.new("TextButton")
  9669. local InputBox = Instance.new("TextButton")
  9670. Input_2 = Instance.new("TextBox")
  9671. local MTText = Instance.new("TextLabel")
  9672. local setMT = Instance.new("TextButton")
  9673. local CheckBoxS = Instance.new("ImageButton")
  9674. local slocktext = Instance.new("TextLabel")
  9675. local barBind = Instance.new("TextLabel")
  9676. local setBind = Instance.new("TextButton")
  9677. local MtimeInput = Instance.new("TextButton")
  9678. Input_3 = Instance.new("TextBox")
  9679. local size = Instance.new("Frame")
  9680. MAIN = Instance.new("Frame")
  9681. local Title_2 = Instance.new("TextLabel")
  9682. local Example = Instance.new("TextLabel")
  9683. local Search = Instance.new("TextBox")
  9684. local CMDss = Instance.new("ScrollingFrame")
  9685. cp.Name = "cp"
  9686. cp.Parent = DATA
  9687. Frame.Parent = cp
  9688. Frame.Active = true
  9689. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  9690. Frame.BackgroundTransparency = 1
  9691. Frame.Draggable = true
  9692. Frame.Position = UDim2.new(1, -300, 1, -330)
  9693. Frame.Size = UDim2.new(0, 300, 0, 40)
  9694. holder.Name = "holder"
  9695. holder.Parent = Frame
  9696. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  9697. holder.BackgroundTransparency = 1
  9698. holder.BorderSizePixel = 2
  9699. holder.ClipsDescendants = true
  9700. holder.Size = UDim2.new(0, 300, 0, 330)
  9701. holder.ZIndex = 2
  9702. bar.Name = "bar"
  9703. bar.Parent = holder
  9704. bar.BackgroundColor3 = maincolor
  9705. bar.BackgroundTransparency = 0.30000001192093
  9706. bar.BorderColor3 = Color3.new(0, 0, 0)
  9707. bar.BorderSizePixel = 0
  9708. bar.Position = UDim2.new(1, -295, 1, -330)
  9709. bar.Size = UDim2.new(0, 290, 0, 26)
  9710. cmds.Name = "cmds"
  9711. cmds.Parent = bar
  9712. cmds.BackgroundColor3 = Color3.new(0, 0, 0)
  9713. cmds.BackgroundTransparency = 0.80000001192093
  9714. cmds.BorderColor3 = Color3.new(1, 1, 1)
  9715. cmds.Position = UDim2.new(0, 3, 0, 3)
  9716. cmds.Size = UDim2.new(0, 70, 0, 20)
  9717. cmds.Font = Enum.Font.SourceSans
  9718. cmds.FontSize = Enum.FontSize.Size14
  9719. cmds.Text = "Commands"
  9720. cmds.TextColor3 = Color3.new(1, 1, 1)
  9721. settings.Name = "settings"
  9722. settings.Parent = bar
  9723. settings.BackgroundColor3 = Color3.new(0, 0, 0)
  9724. settings.BackgroundTransparency = 0.80000001192093
  9725. settings.BorderColor3 = Color3.new(1, 1, 1)
  9726. settings.Position = UDim2.new(0, 77, 0, 3)
  9727. settings.Size = UDim2.new(0, 70, 0, 20)
  9728. settings.Font = Enum.Font.SourceSans
  9729. settings.FontSize = Enum.FontSize.Size14
  9730. settings.Text = "Settings"
  9731. settings.TextColor3 = Color3.new(1, 1, 1)
  9732. Hide.Name = "Hide"
  9733. Hide.Parent = bar
  9734. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  9735. Hide.BackgroundTransparency = 0.30000001192093
  9736. Hide.BorderColor3 = Color3.new(1, 1, 1)
  9737. Hide.BorderSizePixel = 0
  9738. Hide.Position = UDim2.new(0, 243, 0, 3)
  9739. Hide.Size = UDim2.new(0, 20, 0, 20)
  9740. Hide.FontSize = Enum.FontSize.Size14
  9741. Hide.Text = ""
  9742. Exit.Name = "Exit"
  9743. Exit.Parent = bar
  9744. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  9745. Exit.BackgroundTransparency = 0.30000001192093
  9746. Exit.BorderColor3 = Color3.new(1, 0, 0)
  9747. Exit.BorderSizePixel = 0
  9748. Exit.Position = UDim2.new(0, 267, 0, 3)
  9749. Exit.Size = UDim2.new(0, 20, 0, 20)
  9750. Exit.FontSize = Enum.FontSize.Size14
  9751. Exit.Text = ""
  9752. FeedbackMain.Name = "FeedbackMain"
  9753. FeedbackMain.Parent = holder
  9754. FeedbackMain.BackgroundColor3 = maincolor
  9755. FeedbackMain.BackgroundTransparency = 0.5
  9756. FeedbackMain.BorderColor3 = Color3.new(0, 0, 0)
  9757. FeedbackMain.BorderSizePixel = 0
  9758. FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.0181818, -310)
  9759. FeedbackMain.Size = UDim2.new(0, 290, 0, 300)
  9760. Title.Name = "Title"
  9761. Title.Parent = FeedbackMain
  9762. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  9763. Title.BackgroundTransparency = 1
  9764. Title.Size = UDim2.new(1, 0, 0, 30)
  9765. Title.Font = Enum.Font.SourceSansBold
  9766. Title.FontSize = Enum.FontSize.Size24
  9767. Title.Text = "Settings"
  9768. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9769. checkboxText.Name = "checkboxText"
  9770. checkboxText.Parent = FeedbackMain
  9771. checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
  9772. checkboxText.BackgroundTransparency = 1
  9773. checkboxText.Position = UDim2.new(0, 0, 0, 40)
  9774. checkboxText.Size = UDim2.new(1, 0, 0, 30)
  9775. checkboxText.Font = Enum.Font.SourceSansBold
  9776. checkboxText.FontSize = Enum.FontSize.Size18
  9777. checkboxText.Text = "Suggestions"
  9778. checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9779. CheckBox.Name = "CheckBox"
  9780. CheckBox.Parent = FeedbackMain
  9781. CheckBox.BackgroundTransparency = 1
  9782. CheckBox.Position = UDim2.new(0, 10, 0, 40)
  9783. CheckBox.Size = UDim2.new(0, 30, 0, 30)
  9784. CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
  9785. bindInput.Name = "bindInput"
  9786. bindInput.Parent = FeedbackMain
  9787. bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
  9788. bindInput.Position = UDim2.new(0, 8, 0, 241)
  9789. bindInput.Size = UDim2.new(0, 30, 0, 30)
  9790. bindInput.AutoButtonColor = false
  9791. bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9792. bindInput.Font = Enum.Font.SourceSans
  9793. bindInput.FontSize = Enum.FontSize.Size14
  9794. bindInput.Text = ""
  9795. Input.Name = "Input"
  9796. Input.Parent = bindInput
  9797. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  9798. Input.BackgroundTransparency = 1
  9799. Input.Position = UDim2.new(0, -8, 0, -8)
  9800. Input.Size = UDim2.new(0, 20, 0, 20)
  9801. Input.Font = Enum.Font.SourceSansBold
  9802. Input.FontSize = Enum.FontSize.Size18
  9803. Input.MultiLine = true
  9804. Input.Text = ";"
  9805. Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  9806. Input.TextWrapped = true
  9807. Input.TextYAlignment = Enum.TextYAlignment.Top
  9808. preText.Name = "preText"
  9809. preText.Parent = FeedbackMain
  9810. preText.BackgroundColor3 = Color3.new(1, 1, 1)
  9811. preText.BackgroundTransparency = 1
  9812. preText.Position = UDim2.new(0, 0, 0, 118)
  9813. preText.Size = UDim2.new(1, 0, 0, 30)
  9814. preText.Font = Enum.Font.SourceSansBold
  9815. preText.FontSize = Enum.FontSize.Size18
  9816. preText.Text = "Prefix"
  9817. preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9818. setpre.Name = "setpre"
  9819. setpre.Parent = FeedbackMain
  9820. setpre.BackgroundColor3 = Color3.new(1, 1, 1)
  9821. setpre.BorderSizePixel = 5
  9822. setpre.Position = UDim2.new(0, 235, 0, 120)
  9823. setpre.Size = UDim2.new(0, 40, 0, 25)
  9824. setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9825. setpre.Font = Enum.Font.ArialBold
  9826. setpre.FontSize = Enum.FontSize.Size18
  9827. setpre.Text = "Set"
  9828. everyone.Name = "everyone"
  9829. everyone.Parent = FeedbackMain
  9830. everyone.BackgroundColor3 = Color3.new(0, 0, 0)
  9831. everyone.BackgroundTransparency = 0.80000001192093
  9832. everyone.BorderColor3 = Color3.new(0, 0, 0)
  9833. everyone.Position = UDim2.new(0, 230, 0, 217)
  9834. everyone.Size = UDim2.new(0, 50, 0, 20)
  9835. everyone.Font = Enum.Font.SourceSans
  9836. everyone.FontSize = Enum.FontSize.Size14
  9837. everyone.Text = "Everyone"
  9838. everyone.TextColor3 = Color3.new(1, 1, 1)
  9839. JLtext.Name = "JLtext"
  9840. JLtext.Parent = FeedbackMain
  9841. JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
  9842. JLtext.BackgroundTransparency = 1
  9843. JLtext.Position = UDim2.new(0, 0, 0, 197)
  9844. JLtext.Size = UDim2.new(1, 0, 0, 30)
  9845. JLtext.Font = Enum.Font.SourceSansBold
  9846. JLtext.FontSize = Enum.FontSize.Size14
  9847. JLtext.Text = "Joined / Left Notifications"
  9848. JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9849. CheckBoxJL.Name = "CheckBoxJL"
  9850. CheckBoxJL.Parent = FeedbackMain
  9851. CheckBoxJL.BackgroundTransparency = 1
  9852. CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
  9853. CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
  9854. CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
  9855. friends.Name = "friends"
  9856. friends.Parent = FeedbackMain
  9857. friends.BackgroundColor3 = Color3.new(0, 0, 0)
  9858. friends.BackgroundTransparency = 0.80000001192093
  9859. friends.BorderColor3 = Color3.new(1, 1, 1)
  9860. friends.Position = UDim2.new(0, 230, 0, 192)
  9861. friends.Size = UDim2.new(0, 50, 0, 20)
  9862. friends.Font = Enum.Font.SourceSans
  9863. friends.FontSize = Enum.FontSize.Size14
  9864. friends.Text = "Friends"
  9865. friends.TextColor3 = Color3.new(1, 1, 1)
  9866. InputBox.Name = "InputBox"
  9867. InputBox.Parent = FeedbackMain
  9868. InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
  9869. InputBox.Position = UDim2.new(0, 8, 0, 120)
  9870. InputBox.Size = UDim2.new(0, 30, 0, 30)
  9871. InputBox.AutoButtonColor = false
  9872. InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9873. InputBox.Font = Enum.Font.SourceSans
  9874. InputBox.FontSize = Enum.FontSize.Size14
  9875. InputBox.Text = ""
  9876. Input_2.Name = "Input"
  9877. Input_2.Parent = InputBox
  9878. Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
  9879. Input_2.BackgroundTransparency = 1
  9880. Input_2.Position = UDim2.new(0, -8, 0, -8)
  9881. Input_2.Size = UDim2.new(0, 20, 0, 20)
  9882. Input_2.Font = Enum.Font.SourceSansBold
  9883. Input_2.FontSize = Enum.FontSize.Size18
  9884. Input_2.MultiLine = true
  9885. Input_2.Text = ";"
  9886. Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  9887. Input_2.TextWrapped = true
  9888. Input_2.TextYAlignment = Enum.TextYAlignment.Top
  9889. MTText.Name = "MTText"
  9890. MTText.Parent = FeedbackMain
  9891. MTText.BackgroundColor3 = Color3.new(1, 1, 1)
  9892. MTText.BackgroundTransparency = 1
  9893. MTText.Position = UDim2.new(0, 0, 0, 158)
  9894. MTText.Size = UDim2.new(1, 0, 0, 30)
  9895. MTText.Font = Enum.Font.SourceSansBold
  9896. MTText.FontSize = Enum.FontSize.Size18
  9897. MTText.Text = "Message Seconds"
  9898. MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9899. setMT.Name = "setMT"
  9900. setMT.Parent = FeedbackMain
  9901. setMT.BackgroundColor3 = Color3.new(1, 1, 1)
  9902. setMT.BorderSizePixel = 5
  9903. setMT.Position = UDim2.new(0, 235, 0, 159)
  9904. setMT.Size = UDim2.new(0, 40, 0, 25)
  9905. setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9906. setMT.Font = Enum.Font.ArialBold
  9907. setMT.FontSize = Enum.FontSize.Size18
  9908. setMT.Text = "Set"
  9909. CheckBoxS.Name = "CheckBoxS"
  9910. CheckBoxS.Parent = FeedbackMain
  9911. CheckBoxS.BackgroundTransparency = 1
  9912. CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
  9913. CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
  9914. CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
  9915. slocktext.Name = "slocktext"
  9916. slocktext.Parent = FeedbackMain
  9917. slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
  9918. slocktext.BackgroundTransparency = 1
  9919. slocktext.Position = UDim2.new(0, 0, 0, 79)
  9920. slocktext.Size = UDim2.new(1, 0, 0, 30)
  9921. slocktext.Font = Enum.Font.SourceSansBold
  9922. slocktext.FontSize = Enum.FontSize.Size14
  9923. slocktext.Text = "Allow Friends On Serverlock"
  9924. slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9925. barBind.Name = "barBind"
  9926. barBind.Parent = FeedbackMain
  9927. barBind.BackgroundColor3 = Color3.new(1, 1, 1)
  9928. barBind.BackgroundTransparency = 1
  9929. barBind.Position = UDim2.new(0, 0, 0, 242)
  9930. barBind.Size = UDim2.new(1, 0, 0, 30)
  9931. barBind.Font = Enum.Font.SourceSansBold
  9932. barBind.FontSize = Enum.FontSize.Size18
  9933. barBind.Text = "Command Bar Keybind"
  9934. barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9935. setBind.Name = "setBind"
  9936. setBind.Parent = FeedbackMain
  9937. setBind.BackgroundColor3 = Color3.new(1, 1, 1)
  9938. setBind.BorderSizePixel = 5
  9939. setBind.Position = UDim2.new(0, 235, 0, 245)
  9940. setBind.Size = UDim2.new(0, 40, 0, 25)
  9941. setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9942. setBind.Font = Enum.Font.ArialBold
  9943. setBind.FontSize = Enum.FontSize.Size18
  9944. setBind.Text = "Set"
  9945. MtimeInput.Name = "MtimeInput"
  9946. MtimeInput.Parent = FeedbackMain
  9947. MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
  9948. MtimeInput.Position = UDim2.new(0, 8, 0, 159)
  9949. MtimeInput.Size = UDim2.new(0, 30, 0, 30)
  9950. MtimeInput.AutoButtonColor = false
  9951. MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  9952. MtimeInput.Font = Enum.Font.SourceSans
  9953. MtimeInput.FontSize = Enum.FontSize.Size14
  9954. MtimeInput.Text = ""
  9955. Input_3.Name = "Input"
  9956. Input_3.Parent = MtimeInput
  9957. Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
  9958. Input_3.BackgroundTransparency = 1
  9959. Input_3.Position = UDim2.new(0, -8, 0, -8)
  9960. Input_3.Size = UDim2.new(0, 20, 0, 20)
  9961. Input_3.Font = Enum.Font.SourceSansBold
  9962. Input_3.FontSize = Enum.FontSize.Size18
  9963. Input_3.MultiLine = true
  9964. Input_3.Text = "7"
  9965. Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  9966. Input_3.TextWrapped = true
  9967. Input_3.TextYAlignment = Enum.TextYAlignment.Top
  9968. size.Name = "size"
  9969. size.Parent = holder
  9970. size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9971. size.BackgroundTransparency = 1
  9972. size.Position = UDim2.new(1, -301, 1, -300)
  9973. size.Size = UDim2.new(0, 275, 0, 300)
  9974. size.ZIndex = 2
  9975. MAIN.Name = "MAIN"
  9976. MAIN.Parent = size
  9977. MAIN.BackgroundColor3 = maincolor
  9978. MAIN.BackgroundTransparency = 0.5
  9979. MAIN.BorderColor3 = Color3.new(0, 0, 0)
  9980. MAIN.BorderSizePixel = 0
  9981. MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305)
  9982. MAIN.Size = UDim2.new(0, 290, 0, 300)
  9983. Title_2.Name = "Title"
  9984. Title_2.Parent = MAIN
  9985. Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9986. Title_2.BackgroundTransparency = 1
  9987. Title_2.Size = UDim2.new(1, 0, 0, 30)
  9988. Title_2.Font = Enum.Font.SourceSansBold
  9989. Title_2.FontSize = Enum.FontSize.Size24
  9990. Title_2.Text = "Commands"
  9991. Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9992. Example.Name = "Example"
  9993. Example.Parent = MAIN
  9994. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9995. Example.BackgroundTransparency = 1
  9996. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9997. Example.BorderSizePixel = 0
  9998. Example.Size = UDim2.new(0, 190, 0, 20)
  9999. Example.Visible = false
  10000. Example.Font = Enum.Font.SourceSansBold
  10001. Example.TextSize = 20
  10002. Example.Text = "txt"
  10003. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10004. Example.TextStrokeTransparency = 0
  10005. Example.TextXAlignment = Enum.TextXAlignment.Left
  10006. Example.ZIndex = 6
  10007. Search.Name = "Search"
  10008. Search.Parent = MAIN
  10009. Search.BackgroundColor3 = Color3.new(0, 0, 0)
  10010. Search.BackgroundTransparency = 0.69999998807907
  10011. Search.BorderColor3 = Color3.new(1, 1, 1)
  10012. Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
  10013. Search.Size = UDim2.new(0, 250, 0, 20)
  10014. Search.ClearTextOnFocus = false
  10015. Search.Font = Enum.Font.SourceSansBold
  10016. Search.FontSize = Enum.FontSize.Size18
  10017. Search.Text = "Search"
  10018. Search.TextColor3 = Color3.new(1, 1, 1)
  10019. Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  10020. Search.TextStrokeTransparency = 0
  10021. CMDss.Name = "CMDs"
  10022. CMDss.Parent = MAIN
  10023. CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10024. CMDss.BackgroundTransparency = 1
  10025. CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10026. CMDss.BorderSizePixel = 0
  10027. CMDss.Position = UDim2.new(0, 10, 0, 65)
  10028. CMDss.Size = UDim2.new(0, 280, 0, 230)
  10029. CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10030. CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260)
  10031. CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
  10032. CMDss.ScrollBarThickness = 8
  10033. CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
  10034. ------------
  10035. ---Notify---
  10036. ------------
  10037. notifyMAIN = Instance.new('ScreenGui', DATA)
  10038. notifyMAIN.Name = 'Notification'
  10039. notifyNOT = Instance.new('Frame', notifyMAIN)
  10040. notifyNOT.Name = 'NOTIFY'
  10041. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  10042. notifyNOT.BackgroundTransparency = 1
  10043. notifyNOT.BorderColor = BrickColor.new(0,0,0)
  10044. notifyNOT.BorderSizePixel = 2
  10045. notifyNOT.Position = UDim2.new(0,0,-0.06,0)
  10046. notifyNOT.Size = UDim2.new(1,0,0,-40)
  10047. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  10048. notifyNOTE.Name = 'NOTE'
  10049. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  10050. notifyNOTE.BackgroundTransparency = 1
  10051. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  10052. notifyNOTE.BorderSizePixel = 0
  10053. notifyNOTE.Size = UDim2.new(1,0,1,0)
  10054. notifyNOTE.ZIndex = 4
  10055. notifyNOTE.FontSize = 'Size18'
  10056. notifyNOTE.Font = 'SourceSansBold'
  10057. notifyNOTE.Text = 'NOTIFY'
  10058. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  10059. notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
  10060. notifyNOTE.TextStrokeTransparency = 0.8
  10061.  
  10062. addcmd('ayylmao','ayy lmao',{'alien'},
  10063. function(args, speaker)
  10064. local players = getPlayer(args[1], speaker)
  10065. for i,v in pairs(players)do
  10066. local pchar = gPlayers[v].Character
  10067. if pchar:FindFirstChild("Shirt") then
  10068. pchar.Shirt:Destroy()
  10069. end
  10070. if pchar:FindFirstChild("Pants") then
  10071. pchar.Pants:Destroy()
  10072. end
  10073. if pchar:FindFirstChild("Shirt Graphic") then
  10074. pchar["Shirt Graphic"].Graphic = ""
  10075. end
  10076. for i,v in pairs(pchar:GetChildren()) do
  10077. if v:IsA("Accessory") then
  10078. v:Destroy()
  10079. end
  10080. end
  10081. local ayylmao = DATA.ayylmao:Clone()
  10082. ayylmao.Parent = pchar
  10083. local BC = pchar["Body Colors"]
  10084. BC.HeadColor = BrickColor.new("Fossil")
  10085. BC.LeftArmColor = BrickColor.new("Fossil")
  10086. BC.LeftLegColor = BrickColor.new("Fossil")
  10087. BC.RightArmColor = BrickColor.new("Fossil")
  10088. BC.RightLegColor = BrickColor.new("Fossil")
  10089. BC.TorsoColor = BrickColor.new("Fossil")
  10090. end
  10091. end)
  10092. -----------------------------------
  10093. ----Commands/Settings Functions----
  10094. -----------------------------------
  10095. HKFolder = Instance.new("Folder", game.CoreGui)
  10096. for i,v in pairs(HK) do
  10097. HKValue = Instance.new("StringValue", HKFolder)
  10098. HKValue.Value = v
  10099. HKValue.RobloxLocked = true
  10100. end
  10101. CMDsFolder = Instance.new("Folder", game.CoreGui)
  10102. for i,v in pairs(CMDs) do
  10103. CMDsValue = Instance.new("StringValue", CMDsFolder)
  10104. CMDsValue.Value = v
  10105. CMDsValue.RobloxLocked = true
  10106. end
  10107. cmdOpen = false
  10108. local function commands()
  10109. if cmdOpen == false then
  10110. cmdOpen = true
  10111. local cmds = cp:Clone()
  10112. cmds.Parent = game.CoreGui
  10113. local HKV = HKFolder:GetChildren()
  10114. local CMDsV = CMDsFolder:GetChildren()
  10115. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01)
  10116. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10117. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true)
  10118. SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then
  10119. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10120. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then
  10121. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  10122. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  10123. end
  10124. --joined/left friend option
  10125. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function()
  10126. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10127. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  10128. Nfriends = true updatefile()
  10129. end)
  10130. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function()
  10131. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  10132. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  10133. Nfriends = false updatefile()
  10134. end)
  10135. --Message time
  10136. SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
  10137. wait()
  10138. Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
  10139. Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
  10140. updatefile()
  10141. end)
  10142. --CMDBAR keybind
  10143. SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
  10144. wait()
  10145. cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
  10146. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  10147. Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
  10148. updatefile()
  10149. end)
  10150. --Change prefix
  10151. SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
  10152. wait()
  10153. cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
  10154. Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
  10155. updatefile()
  10156. end)
  10157. --Check Box for notify
  10158. checked = "http://www.roblox.com/asset/?id=65492641"
  10159. unchecked = "http://www.roblox.com/asset/?id=65492651"
  10160. if suggestionstoggle == true then
  10161. SettingsGUI.FeedbackMain.CheckBox.Image = checked else
  10162. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
  10163. SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
  10164. if suggestionstoggle == true then suggestionstoggle = false updatefile()
  10165. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
  10166. suggestionstoggle = true
  10167. updatefile()
  10168. SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
  10169. --Check Box for allow friends on serverlock
  10170. checked2 = "http://www.roblox.com/asset/?id=65492641"
  10171. unchecked2 = "http://www.roblox.com/asset/?id=65492651"
  10172. if allowfriends == true then
  10173. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
  10174. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
  10175. SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
  10176. if allowfriends == true then allowfriends = false updatefile()
  10177. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
  10178. allowfriends = true updatefile()
  10179. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
  10180. --Check Box for JoinedLeft notifications
  10181. checked3 = "http://www.roblox.com/asset/?id=65492641"
  10182. unchecked3 = "http://www.roblox.com/asset/?id=65492651"
  10183. if JLnotify == true then
  10184. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
  10185. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
  10186. SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
  10187. if JLnotify == true then JLnotify = false updatefile()
  10188. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true
  10189. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile()
  10190. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10191. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) closed = false
  10192. cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() closed = false
  10193. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10194. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  10195. cmds.Frame.holder.bar.Hide.Visible = true
  10196. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  10197. cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() closed = false
  10198. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1)
  10199. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2)
  10200. cmds.Frame.holder.bar.Hide.Visible = true
  10201. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  10202. cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
  10203. if closed == false then closed = true
  10204. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true)
  10205. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2)
  10206. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2)
  10207. cmds.Frame.holder.bar.Hide.Visible = false end end)
  10208. cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() closed = false
  10209. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10210. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3)
  10211. cmds:Destroy() cmdOpen = false end)
  10212. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true)
  10213. searchbar()
  10214. for i = 1, #HKV do
  10215. local YSize = 25
  10216. local Position = ((i * YSize) - YSize)
  10217. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  10218. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  10219. newcmd.Visible = true
  10220. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10221. newcmd.Text = "" .. HKV[i].Value
  10222. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10223. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10224. end
  10225. for i = 1, #CMDsV do
  10226. local YSize = 25
  10227. local Position = ((i * YSize) - YSize)
  10228. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  10229. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  10230. newcmd.Visible = true
  10231. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10232. newcmd.Text = "" .. CMDsV[i].Value
  10233. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10234. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10235. end
  10236. else closed = false
  10237. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10238. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  10239. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  10240. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end
  10241. function searchbar()
  10242. local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
  10243. local main = CSP
  10244. local frame = CSP:WaitForChild('CMDs')
  10245. local gui = CSP:WaitForChild('Search')
  10246. local focused = false
  10247. Match = function(name,str)
  10248. return name:lower():find(str:lower()) and true
  10249. end
  10250. gui.FocusLost:connect(function(enterpressed)
  10251. gui.Text = "Search"
  10252. end)
  10253. IndexContents = function(str,bool)
  10254. local Index,SizeY = 0,0
  10255. for i,v in next, frame:GetChildren() do
  10256. if bool then
  10257. if Match(v.Text,str) then
  10258. Index = Index + 1
  10259. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  10260. v.Visible = true
  10261. SizeY = SizeY + v.AbsoluteSize.Y
  10262. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  10263. else
  10264. v.Visible = false
  10265. end
  10266. else
  10267. v.Visible = true
  10268. SizeY = SizeY + v.AbsoluteSize.Y
  10269. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  10270. end
  10271. end
  10272. end
  10273. game:GetService('RunService').Stepped:connect(function()
  10274. if gui:IsFocused() and gui.Text == "Search" then
  10275. gui.Text = ''
  10276. end
  10277. end)
  10278. gui.Changed:connect(function()
  10279. if gui:IsFocused() then IndexContents(gui.Text,true) end
  10280. end)
  10281.  
  10282. IndexContents('',true)
  10283. end
  10284.  
  10285. addcmd('settings','opens settings window',{'toggles'},
  10286. function(args, speaker)
  10287. if speaker.userId ~= LP.userId then
  10288. lponly(speaker)
  10289. else
  10290. commands()
  10291. searchbar()
  10292. wait(0.1)
  10293. closed = false
  10294. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true)
  10295. wait(0.1)
  10296. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true)
  10297. wait(0.1)
  10298. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  10299. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true)
  10300. end
  10301. end)
  10302.  
  10303. function movetab(speaker,PART)
  10304. game:GetService('RunService').Stepped:connect(function()
  10305. if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then
  10306. PART.Locked = true
  10307. local cf = speaker.Character.HumanoidRootPart.CFrame
  10308. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  10309. PART.CFrame = newcf end end) end
  10310.  
  10311. hastab = {}
  10312. addcmd('tablet','opens tablet gui',{},
  10313. function(args, speaker)
  10314. for _, child in pairs( workspace:GetChildren()) do
  10315. if child.Name == speaker.Name .. "TAB" then
  10316. child:Destroy() end end
  10317. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  10318. local GUI = Instance.new("SurfaceGui")
  10319. local holder = Instance.new("Frame")
  10320. local bar = Instance.new("Frame")
  10321. local Title = Instance.new("TextLabel")
  10322. local MAIN = Instance.new("Frame")
  10323. local Example = Instance.new("TextLabel")
  10324. local CMDs = Instance.new("ScrollingFrame")
  10325. local PART = Instance.new("Part")
  10326. PART.Name = speaker.Name .. 'TAB'
  10327. PART.Color = maincolor
  10328. PART.Size = Vector3.new(7, 7.8, 0.2)
  10329. PART.Transparency = 0
  10330. PART.Locked = true
  10331. PART.CanCollide = false
  10332. PART.Parent = workspace
  10333. PART.Anchored = true
  10334. PART.Material = "Neon"
  10335. local GUI = Instance.new("SurfaceGui")
  10336. local holder = Instance.new("Frame")
  10337. local bar = Instance.new("Frame")
  10338. local Title = Instance.new("TextLabel")
  10339. local MAIN = Instance.new("Frame")
  10340. local Example = Instance.new("TextLabel")
  10341. local CMDs = Instance.new("ScrollingFrame")
  10342. GUI.Name = "GUI"
  10343. GUI.Parent = PART
  10344. GUI.CanvasSize = Vector2.new(500, 600)
  10345. GUI.Face = Enum.NormalId.Back
  10346. holder.Name = "holder"
  10347. holder.Parent = GUI
  10348. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  10349. holder.BackgroundTransparency = 1
  10350. holder.BorderSizePixel = 2
  10351. holder.Position = UDim2.new(0, 0, 0, 10)
  10352. holder.Size = UDim2.new(0, 300, 0, 330)
  10353. holder.ZIndex = 2
  10354. bar.Name = "bar"
  10355. bar.Parent = holder
  10356. bar.BackgroundColor3 = Color3.new(0, 0, 0)
  10357. bar.BackgroundTransparency = 0.89999997615814
  10358. bar.BorderSizePixel = 0
  10359. bar.Position = UDim2.new(0, 10, 1, -330)
  10360. bar.Size = UDim2.new(0, 480, 0, 33)
  10361. Title.Name = "Title"
  10362. Title.Parent = bar
  10363. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  10364. Title.BackgroundTransparency = 1
  10365. Title.Size = UDim2.new(1, 0, 0, 30)
  10366. Title.Font = Enum.Font.SourceSansBold
  10367. Title.FontSize = Enum.FontSize.Size24
  10368. Title.Text = "[Infinite Yield] Command List"
  10369. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10370. MAIN.Name = "MAIN"
  10371. MAIN.Parent = holder
  10372. MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
  10373. MAIN.BackgroundTransparency = 0.89999997615814
  10374. MAIN.BorderSizePixel = 0
  10375. MAIN.Position = UDim2.new(0, 10, 1, -300)
  10376. MAIN.Size = UDim2.new(0, 480, 0, 550)
  10377. Example.Name = "Example"
  10378. Example.Parent = MAIN
  10379. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10380. Example.BackgroundTransparency = 1
  10381. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10382. Example.BorderSizePixel = 0
  10383. Example.Size = UDim2.new(0, 190, 0, 40)
  10384. Example.Visible = false
  10385. Example.Font = Enum.Font.SourceSansBold
  10386. Example.FontSize = Enum.FontSize.Size36
  10387. Example.Text = "txt"
  10388. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10389. Example.TextStrokeTransparency = 0
  10390. Example.TextXAlignment = Enum.TextXAlignment.Left
  10391. Example.ZIndex = 6
  10392. CMDs.Name = "CMDs"
  10393. CMDs.Parent = MAIN
  10394. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10395. CMDs.BackgroundTransparency = 1
  10396. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10397. CMDs.BorderSizePixel = 0
  10398. CMDs.Size = UDim2.new(0, 480, 0, 550)
  10399. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10400. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  10401. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  10402. CMDs.ScrollBarThickness = 15
  10403. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  10404. local CMDsV = CMDsFolder:GetChildren()
  10405. for i = 1, #CMDsV do
  10406. local YSize = 35
  10407. local Position = ((i * YSize) - YSize)
  10408. local newcmd = Example:Clone()
  10409. newcmd.Parent = CMDs
  10410. newcmd.Visible = true
  10411. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  10412. newcmd.Text = "" .. CMDsV[i].Value
  10413. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  10414. local cf = speaker.Character.HumanoidRootPart.CFrame
  10415. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  10416. PART.CFrame = newcf
  10417. speaker.Character.Humanoid.Died:connect(function()
  10418. PART:Destroy() end)
  10419. wait(1)
  10420. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  10421. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  10422. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  10423. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  10424. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  10425. end)
  10426.  
  10427. function updatepositions()
  10428. if PList then
  10429. PList:ClearAllChildren()
  10430. PList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10431. for i = 1, #WayPoints do
  10432. local YSize = 25
  10433. local Position = ((i * YSize) - YSize)
  10434. local newcmd = Example:Clone()
  10435. newcmd.Parent = PList
  10436. newcmd.Visible = true
  10437. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10438. newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3]
  10439. PList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10440. local goto = Instance.new("TextButton")
  10441. goto.Name = "goto"
  10442. goto.Parent = PList
  10443. goto.BackgroundColor3 = Color3.new(255, 255, 255)
  10444. goto.BackgroundTransparency = 0.30000001192093
  10445. goto.BorderColor3 = Color3.new(1, 0, 0)
  10446. goto.BorderSizePixel = 0
  10447. goto.Position = UDim2.new(0,-10,0, Position + 5)
  10448. goto.Size = UDim2.new(0, 20, 0, 20)
  10449. goto.FontSize = Enum.FontSize.Size14
  10450. goto.Text = ""
  10451. goto.ZIndex = 6
  10452. goto.MouseButton1Click:Connect(function()
  10453. execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME)
  10454. end)
  10455. end
  10456. end
  10457. end
  10458.  
  10459. posopen = false
  10460. addcmd("positions","lists waypoints",{'pos'},
  10461. function(args, speaker)
  10462. if posopen == false then
  10463. posopen = true
  10464. local Pos = Instance.new("ScreenGui")
  10465. local drag = Instance.new("Frame")
  10466. local PromptDialog = Instance.new("Frame")
  10467. local shadow = Instance.new("Frame")
  10468. local PopupText = Instance.new("TextLabel")
  10469. local Exit = Instance.new("TextButton")
  10470. local ContainerFrame = Instance.new("Frame")
  10471. PList = Instance.new("ScrollingFrame")
  10472. Pos.Name = "Pos"
  10473. Pos.Parent = game.CoreGui
  10474. drag.Name = "drag"
  10475. drag.Parent = Pos
  10476. drag.Active = true
  10477. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  10478. drag.BackgroundTransparency = 1
  10479. drag.Draggable = true
  10480. drag.Position = UDim2.new(0.5, -150, 0, -400)
  10481. drag.Size = UDim2.new(0, 290, 0, 30)
  10482. PromptDialog.Name = "PromptDialog"
  10483. PromptDialog.Parent = drag
  10484. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  10485. PromptDialog.BackgroundTransparency = 1
  10486. PromptDialog.BorderSizePixel = 0
  10487. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  10488. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  10489. PromptDialog.ZIndex = 8
  10490. shadow.Name = "shadow"
  10491. shadow.Parent = PromptDialog
  10492. shadow.BackgroundColor3 = maincolor
  10493. shadow.BackgroundTransparency = 0.30000001192093
  10494. shadow.BorderColor3 = Color3.new(0, 0, 0)
  10495. shadow.BorderSizePixel = 0
  10496. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  10497. shadow.Size = UDim2.new(0, 290, 0, 26)
  10498. PopupText.Name = "PopupText"
  10499. PopupText.Parent = shadow
  10500. PopupText.BackgroundTransparency = 1
  10501. PopupText.Position = UDim2.new(0, 8, 0, -3)
  10502. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  10503. PopupText.ZIndex = 110
  10504. PopupText.Font = Enum.Font.SourceSansBold
  10505. PopupText.FontSize = Enum.FontSize.Size28
  10506. PopupText.Text = "Positions"
  10507. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  10508. PopupText.TextStrokeTransparency = 0
  10509. PopupText.TextWrapped = true
  10510. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  10511. Exit.Name = "Exit"
  10512. Exit.Parent = shadow
  10513. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  10514. Exit.BackgroundTransparency = 0.30000001192093
  10515. Exit.BorderColor3 = Color3.new(1, 0, 0)
  10516. Exit.BorderSizePixel = 0
  10517. Exit.Position = UDim2.new(0, 267, 0, 3)
  10518. Exit.Size = UDim2.new(0, 20, 0, 20)
  10519. Exit.FontSize = Enum.FontSize.Size14
  10520. Exit.Text = ""
  10521. ContainerFrame.Name = "ContainerFrame"
  10522. ContainerFrame.Parent = PromptDialog
  10523. ContainerFrame.BackgroundColor3 = maincolor
  10524. ContainerFrame.BackgroundTransparency = 0.5
  10525. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  10526. ContainerFrame.BorderSizePixel = 0
  10527. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  10528. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  10529. ContainerFrame.ZIndex = 5
  10530. PList.Name = "List"
  10531. PList.Parent = ContainerFrame
  10532. PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10533. PList.BackgroundTransparency = 1
  10534. PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10535. PList.BorderSizePixel = 0
  10536. PList.Position = UDim2.new(0, 10, 0, 5)
  10537. PList.Size = UDim2.new(0, 280, 0, 230)
  10538. PList.ZIndex = 6
  10539. PList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10540. PList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10541. PList.MidImage = "rbxasset://textures/blackBkg_square.png"
  10542. PList.ScrollBarThickness = 8
  10543. PList.TopImage = "rbxasset://textures/blackBkg_square.png"
  10544. updatepositions()
  10545. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  10546. Exit.MouseButton1Click:Connect(function()
  10547. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  10548. wait(0.6) posopen = false Pos:Destroy() end) end
  10549. end)
  10550.  
  10551. function updateadmins()
  10552. if AList then
  10553. AList:ClearAllChildren()
  10554. AList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10555. for i = 1, #adminname do
  10556. local YSize = 25
  10557. local Position = ((i * YSize) - YSize)
  10558. local newcmd = Example:Clone()
  10559. newcmd.Parent = AList
  10560. newcmd.Visible = true
  10561. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10562. newcmd.Text = adminname[i].NAME
  10563. AList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10564. end
  10565. end
  10566. end
  10567.  
  10568. adminsopen = false
  10569. adminname = {}
  10570. addcmd('admins','displays admins',{'adminlist'},
  10571. function(args, speaker)
  10572. if speaker.userId ~= LP.userId then
  10573. lponly(speaker) else
  10574. if adminsopen == false then
  10575. adminsopen = true
  10576. local admins = Instance.new("ScreenGui")
  10577. local drag = Instance.new("Frame")
  10578. local PromptDialog = Instance.new("Frame")
  10579. local shadow = Instance.new("Frame")
  10580. local PopupText = Instance.new("TextLabel")
  10581. local Exit = Instance.new("TextButton")
  10582. local ContainerFrame = Instance.new("Frame")
  10583. AList = Instance.new("ScrollingFrame")
  10584. admins.Name = "Admins"
  10585. admins.Parent = game.CoreGui
  10586. drag.Name = "drag"
  10587. drag.Parent = admins
  10588. drag.Active = true
  10589. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  10590. drag.BackgroundTransparency = 1
  10591. drag.Draggable = true
  10592. drag.Position = UDim2.new(0.5, -150, 0, -400)
  10593. drag.Size = UDim2.new(0, 290, 0, 30)
  10594. PromptDialog.Name = "PromptDialog"
  10595. PromptDialog.Parent = drag
  10596. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  10597. PromptDialog.BackgroundTransparency = 1
  10598. PromptDialog.BorderSizePixel = 0
  10599. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  10600. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  10601. PromptDialog.ZIndex = 8
  10602. shadow.Name = "shadow"
  10603. shadow.Parent = PromptDialog
  10604. shadow.BackgroundColor3 = maincolor
  10605. shadow.BackgroundTransparency = 0.30000001192093
  10606. shadow.BorderColor3 = Color3.new(0, 0, 0)
  10607. shadow.BorderSizePixel = 0
  10608. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  10609. shadow.Size = UDim2.new(0, 290, 0, 26)
  10610. PopupText.Name = "PopupText"
  10611. PopupText.Parent = shadow
  10612. PopupText.BackgroundTransparency = 1
  10613. PopupText.Position = UDim2.new(0, 8, 0, -3)
  10614. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  10615. PopupText.ZIndex = 110
  10616. PopupText.Font = Enum.Font.SourceSansBold
  10617. PopupText.FontSize = Enum.FontSize.Size28
  10618. PopupText.Text = "Admins"
  10619. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  10620. PopupText.TextStrokeTransparency = 0
  10621. PopupText.TextWrapped = true
  10622. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  10623. Exit.Name = "Exit"
  10624. Exit.Parent = shadow
  10625. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  10626. Exit.BackgroundTransparency = 0.30000001192093
  10627. Exit.BorderColor3 = Color3.new(1, 0, 0)
  10628. Exit.BorderSizePixel = 0
  10629. Exit.Position = UDim2.new(0, 267, 0, 3)
  10630. Exit.Size = UDim2.new(0, 20, 0, 20)
  10631. Exit.FontSize = Enum.FontSize.Size14
  10632. Exit.Text = ""
  10633. ContainerFrame.Name = "ContainerFrame"
  10634. ContainerFrame.Parent = PromptDialog
  10635. ContainerFrame.BackgroundColor3 = maincolor
  10636. ContainerFrame.BackgroundTransparency = 0.5
  10637. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  10638. ContainerFrame.BorderSizePixel = 0
  10639. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  10640. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  10641. ContainerFrame.ZIndex = 5
  10642. AList.Name = "List"
  10643. AList.Parent = ContainerFrame
  10644. AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10645. AList.BackgroundTransparency = 1
  10646. AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10647. AList.BorderSizePixel = 0
  10648. AList.Position = UDim2.new(0, 10, 0, 5)
  10649. AList.Size = UDim2.new(0, 280, 0, 230)
  10650. AList.ZIndex = 6
  10651. AList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10652. AList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10653. AList.MidImage = "rbxasset://textures/blackBkg_square.png"
  10654. AList.ScrollBarThickness = 8
  10655. AList.TopImage = "rbxasset://textures/blackBkg_square.png"
  10656. updateadmins()
  10657. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  10658. Exit.MouseButton1Click:Connect(function()
  10659. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  10660. wait(0.6) adminsopen = false admins:Destroy() end) end end
  10661. end)
  10662.  
  10663. function updatebans()
  10664. if BList then
  10665. BList:ClearAllChildren()
  10666. BList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10667. for i = 1, #banname do
  10668. local YSize = 25
  10669. local Position = ((i * YSize) - YSize)
  10670. local newcmd = Example:Clone()
  10671. newcmd.Parent = BList
  10672. newcmd.Visible = true
  10673. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10674. newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE
  10675. newcmd.TextSize = '20'
  10676. BList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10677. local delet = Instance.new("TextButton")
  10678. delet.Name = "delet"
  10679. delet.Parent = BList
  10680. delet.BackgroundColor3 = Color3.new(1, 0, 0)
  10681. delet.BackgroundTransparency = 0.30000001192093
  10682. delet.BorderColor3 = Color3.new(1, 0, 0)
  10683. delet.BorderSizePixel = 0
  10684. delet.Position = UDim2.new(0,-10,0, Position + 5)
  10685. delet.Size = UDim2.new(0, 20, 0, 20)
  10686. delet.FontSize = Enum.FontSize.Size14
  10687. delet.Text = ""
  10688. delet.ZIndex = 6
  10689. delet.MouseButton1Click:Connect(function()
  10690. updatebans()
  10691. execCmd("unban "..banname[i].NAME)
  10692. end)
  10693. end
  10694. end
  10695. end
  10696.  
  10697. banname = {}
  10698. bansopen = false
  10699. addcmd('bans','displays bans',{'banlist'},
  10700. function(args, speaker)
  10701. if speaker.userId ~= LP.userId then
  10702. lponly(speaker) else
  10703. if bansopen == false then
  10704. bansopen = true
  10705. local Bans = Instance.new("ScreenGui")
  10706. local drag = Instance.new("Frame")
  10707. local PromptDialog = Instance.new("Frame")
  10708. local ContainerFrame = Instance.new("Frame")
  10709. BList = Instance.new("ScrollingFrame")
  10710. local shadow = Instance.new("Frame")
  10711. local Exit = Instance.new("TextButton")
  10712. local PopupText = Instance.new("TextLabel")
  10713. Bans.Name = "Bans"
  10714. Bans.Parent = game.CoreGui
  10715. drag.Name = "drag"
  10716. drag.Parent = Bans
  10717. drag.Active = true
  10718. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  10719. drag.BackgroundTransparency = 1
  10720. drag.Draggable = true
  10721. drag.Position = UDim2.new(0.5, -225, 0, -400)
  10722. drag.Size = UDim2.new(0, 438, 0, 26)
  10723. PromptDialog.Name = "PromptDialog"
  10724. PromptDialog.Parent = drag
  10725. PromptDialog.Active = true
  10726. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  10727. PromptDialog.BackgroundTransparency = 1
  10728. PromptDialog.BorderSizePixel = 0
  10729. PromptDialog.Position = UDim2.new(0, 0, 0, -2)
  10730. PromptDialog.Size = UDim2.new(0, 438, 0, 300)
  10731. PromptDialog.ZIndex = 5
  10732. ContainerFrame.Name = "ContainerFrame"
  10733. ContainerFrame.Parent = PromptDialog
  10734. ContainerFrame.BackgroundColor3 = maincolor
  10735. ContainerFrame.BackgroundTransparency = 0.5
  10736. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  10737. ContainerFrame.BorderSizePixel = 0
  10738. ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
  10739. ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
  10740. ContainerFrame.ZIndex = 5
  10741. BList.Name = "List"
  10742. BList.Parent = ContainerFrame
  10743. BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10744. BList.BackgroundTransparency = 1
  10745. BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10746. BList.BorderSizePixel = 0
  10747. BList.Position = UDim2.new(0, 10, 0, 9)
  10748. BList.Size = UDim2.new(0, 428, 0, 230)
  10749. BList.ZIndex = 5
  10750. BList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10751. BList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10752. BList.MidImage = "rbxasset://textures/blackBkg_square.png"
  10753. BList.ScrollBarThickness = 8
  10754. BList.TopImage = "rbxasset://textures/blackBkg_square.png"
  10755. shadow.Name = "shadow"
  10756. shadow.Parent = PromptDialog
  10757. shadow.BackgroundColor3 = maincolor
  10758. shadow.BackgroundTransparency = 0.30000001192093
  10759. shadow.BorderColor3 = Color3.new(0, 0, 0)
  10760. shadow.BorderSizePixel = 0
  10761. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  10762. shadow.Size = UDim2.new(0, 438, 0, 26)
  10763. Exit.Name = "Exit"
  10764. Exit.Parent = shadow
  10765. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  10766. Exit.BackgroundTransparency = 0.30000001192093
  10767. Exit.BorderColor3 = Color3.new(1, 0, 0)
  10768. Exit.BorderSizePixel = 0
  10769. Exit.Position = UDim2.new(0, 415, 0, 3)
  10770. Exit.Size = UDim2.new(0, 20, 0, 20)
  10771. Exit.FontSize = Enum.FontSize.Size14
  10772. Exit.Text = ""
  10773. PopupText.Name = "PopupText"
  10774. PopupText.Parent = shadow
  10775. PopupText.BackgroundTransparency = 1
  10776. PopupText.Position = UDim2.new(0, 61, 0, -4)
  10777. PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
  10778. PopupText.ZIndex = 6
  10779. PopupText.Font = Enum.Font.SourceSansBold
  10780. PopupText.FontSize = Enum.FontSize.Size32
  10781. PopupText.Text = "Bans"
  10782. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  10783. PopupText.TextStrokeTransparency = 0
  10784. PopupText.TextWrapped = true
  10785. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  10786. updatebans()
  10787. drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
  10788. Exit.MouseButton1Click:Connect(function()
  10789. drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil)
  10790. wait(0.6) bansopen = false Bans:Destroy() end) end end
  10791. end)
  10792.  
  10793. addcmd('cmds','opens cmds window',{'commands'},
  10794. function(args, speaker)
  10795. if speaker.userId ~= LP.userId then
  10796. for _, child in pairs( workspace:GetChildren()) do
  10797. if child.Name == speaker.Name .. "TAB" then
  10798. child:Destroy() end end
  10799. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  10800. local GUI = Instance.new("SurfaceGui")
  10801. local holder = Instance.new("Frame")
  10802. local bar = Instance.new("Frame")
  10803. local Title = Instance.new("TextLabel")
  10804. local MAIN = Instance.new("Frame")
  10805. local Example = Instance.new("TextLabel")
  10806. local CMDs = Instance.new("ScrollingFrame")
  10807. local PART = Instance.new("Part")
  10808. PART.Name = speaker.Name .. 'TAB'
  10809. PART.Color = maincolor
  10810. PART.Size = Vector3.new(7, 7.8, 0.2)
  10811. PART.Transparency = 0
  10812. PART.Locked = true
  10813. PART.CanCollide = false
  10814. PART.Parent = workspace
  10815. PART.Anchored = true
  10816. PART.Material = "Neon"
  10817. local GUI = Instance.new("SurfaceGui")
  10818. local holder = Instance.new("Frame")
  10819. local bar = Instance.new("Frame")
  10820. local Title = Instance.new("TextLabel")
  10821. local MAIN = Instance.new("Frame")
  10822. local Example = Instance.new("TextLabel")
  10823. local CMDs = Instance.new("ScrollingFrame")
  10824. GUI.Name = "GUI"
  10825. GUI.Parent = PART
  10826. GUI.CanvasSize = Vector2.new(500, 600)
  10827. GUI.Face = Enum.NormalId.Back
  10828. holder.Name = "holder"
  10829. holder.Parent = GUI
  10830. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  10831. holder.BackgroundTransparency = 1
  10832. holder.BorderSizePixel = 2
  10833. holder.Position = UDim2.new(0, 0, 0, 10)
  10834. holder.Size = UDim2.new(0, 300, 0, 330)
  10835. holder.ZIndex = 2
  10836. bar.Name = "bar"
  10837. bar.Parent = holder
  10838. bar.BackgroundColor3 = Color3.new(0, 0, 0)
  10839. bar.BackgroundTransparency = 0.89999997615814
  10840. bar.BorderSizePixel = 0
  10841. bar.Position = UDim2.new(0, 10, 1, -330)
  10842. bar.Size = UDim2.new(0, 480, 0, 33)
  10843. Title.Name = "Title"
  10844. Title.Parent = bar
  10845. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  10846. Title.BackgroundTransparency = 1
  10847. Title.Size = UDim2.new(1, 0, 0, 30)
  10848. Title.Font = Enum.Font.SourceSansBold
  10849. Title.FontSize = Enum.FontSize.Size24
  10850. Title.Text = "[Infinite Yield] Command List"
  10851. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10852. MAIN.Name = "MAIN"
  10853. MAIN.Parent = holder
  10854. MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
  10855. MAIN.BackgroundTransparency = 0.89999997615814
  10856. MAIN.BorderSizePixel = 0
  10857. MAIN.Position = UDim2.new(0, 10, 1, -300)
  10858. MAIN.Size = UDim2.new(0, 480, 0, 550)
  10859. Example.Name = "Example"
  10860. Example.Parent = MAIN
  10861. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10862. Example.BackgroundTransparency = 1
  10863. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10864. Example.BorderSizePixel = 0
  10865. Example.Size = UDim2.new(0, 190, 0, 40)
  10866. Example.Visible = false
  10867. Example.Font = Enum.Font.SourceSansBold
  10868. Example.FontSize = Enum.FontSize.Size36
  10869. Example.Text = "txt"
  10870. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10871. Example.TextStrokeTransparency = 0
  10872. Example.TextXAlignment = Enum.TextXAlignment.Left
  10873. Example.ZIndex = 6
  10874. CMDs.Name = "CMDs"
  10875. CMDs.Parent = MAIN
  10876. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10877. CMDs.BackgroundTransparency = 1
  10878. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10879. CMDs.BorderSizePixel = 0
  10880. CMDs.Size = UDim2.new(0, 480, 0, 550)
  10881. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10882. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  10883. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  10884. CMDs.ScrollBarThickness = 15
  10885. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  10886. local CMDsV = CMDsFolder:GetChildren()
  10887. for i = 1, #CMDsV do
  10888. local YSize = 35
  10889. local Position = ((i * YSize) - YSize)
  10890. local newcmd = Example:Clone()
  10891. newcmd.Parent = CMDs
  10892. newcmd.Visible = true
  10893. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  10894. newcmd.Text = "" .. CMDsV[i].Value
  10895. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  10896. local cf = speaker.Character.HumanoidRootPart.CFrame
  10897. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  10898. PART.CFrame = newcf
  10899. speaker.Character.Humanoid.Died:connect(function()
  10900. PART:Destroy() end)
  10901. wait(1)
  10902. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  10903. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  10904. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  10905. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  10906. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  10907. else
  10908. commands()
  10909. wait(0.2)
  10910. searchbar()
  10911. end
  10912. end)
  10913. cmdBAR.FocusLost:connect(function(enterpressed)
  10914. if enterpressed and cmdBAR.Text ~= "" then
  10915. spawn(function ()
  10916. execCmd(cmdBAR.Text, Player)
  10917. end)
  10918. end
  10919. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  10920. cmdBAR.BorderSizePixel = 1
  10921. wait(0.1)
  10922. cmdBAR.BorderSizePixel = 0
  10923. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  10924. end)
  10925. Mouse.KeyDown:connect(function(Key)
  10926. if (Key==cmdbarbind) then
  10927. cmdBAR:CaptureFocus()
  10928. cmdBAR.BorderSizePixel = 1
  10929. wait(0.1)
  10930. cmdBAR.BorderSizePixel = 2
  10931. end
  10932. end)
  10933. cmdBAR.Changed:connect(function (property)
  10934. if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end
  10935. end)
  10936. cmdBAR:GetPropertyChangedSignal("Text"):Connect(function()
  10937. local diff = cmdBAR.TextBounds.X-250
  10938. cmdBAR:TweenSizeAndPosition(UDim2.new(0,250+math.floor(math.max(0,diff)),0,25),UDim2.new(0,10-math.floor(math.max(0,diff)),1,-35),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  10939. end)
  10940. cmdBAR.Focused:Connect(function() historyCount = 0 end)
  10941. game:GetService("UserInputService").InputBegan:Connect(function(input)
  10942. if not cmdBAR:IsFocused() then return end
  10943. if input.KeyCode == Enum.KeyCode.Up then
  10944. historyCount = historyCount + 1
  10945. if historyCount > #cmdHistory then historyCount = #cmdHistory end
  10946. cmdBAR.Text = cmdHistory[historyCount] or ""
  10947. elseif input.KeyCode == Enum.KeyCode.Down then
  10948. historyCount = historyCount - 1
  10949. if historyCount < 1 then historyCount = 1 end
  10950. cmdBAR.Text = cmdHistory[historyCount] or ""
  10951. end
  10952. end)
  10953. NOTIFY = DATA.Notification
  10954. NOTIFY.Parent = game.CoreGui
  10955. local usingNOTE = false
  10956. function Notify(msg)
  10957. spawn(function()
  10958. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  10959. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  10960. wait(0.5)
  10961. MusicPlayer:Hide()
  10962. if qopen == true then
  10963. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10964. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10965. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10966. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  10967. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false
  10968. NOTIFY.NOTIFY.NOTE.Text = msg
  10969. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  10970. if playerenabled == true then
  10971. wait(4)
  10972. if playerenabled == true then
  10973. MusicPlayer:Show()
  10974. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  10975. end
  10976. end
  10977. else
  10978. NOTIFY.NOTIFY.NOTE.Text = msg
  10979. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  10980. if playerenabled == true then
  10981. wait(4)
  10982. if playerenabled == true then
  10983. MusicPlayer:Show()
  10984. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  10985. end
  10986. end
  10987. end end end) end
  10988. local loadbar = Instance.new("ScreenGui") local Loading = Instance.new("TextLabel") local fr = Instance.new("Frame") local ba = Instance.new("Frame") loadbar.Name = "loadbar" loadbar.Parent = game.CoreGui
  10989. Loading.Name = "Loading" Loading.Parent = loadbar Loading.BackgroundColor3 = Color3.new(1, 1, 1) Loading.BackgroundTransparency = 1 Loading.Position = UDim2.new(0.25, 0, 0.875, 0) Loading.Size = UDim2.new(0.5, 0, 0, 50)
  10990. Loading.ZIndex = 101 Loading.Font = Enum.Font.ArialBold Loading.FontSize = Enum.FontSize.Size24 Loading.Text = "Loading..." Loading.TextColor3 = Color3.new(0, 0, 0) Loading.TextStrokeColor3 = Color3.new(1, 1, 1) Loading.TextStrokeTransparency = 0.5
  10991. Loading.TextTransparency = 0.10000000149012 Loading.TextWrapped = true fr.Name = "fr" fr.Parent = Loading fr.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BackgroundTransparency = 0.30000001192093
  10992. fr.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078) fr.BorderSizePixel = 2 fr.Size = UDim2.new(1, 0, 1, 0) ba.ZIndex = 100 fr.ZIndex = 99 ba.Name = "ba" ba.Parent = Loading ba.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392) ba.BorderColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  10993. ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) wait(0.1)
  10994. Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) wait(0.2)
  10995. commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
  10996. local intro = Instance.new("ScreenGui")
  10997. local Frame = Instance.new("Frame")
  10998. local Circle = Instance.new("ImageLabel")
  10999. local ImageLabel = Instance.new("ImageLabel")
  11000. intro.Name = "intro"
  11001. intro.Parent = game.CoreGui
  11002. Frame.Parent = intro
  11003. Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11004. Frame.BackgroundTransparency = 1
  11005. Frame.BorderSizePixel = 0
  11006. Frame.ClipsDescendants = true
  11007. Frame.Position = UDim2.new(0.5, -125, 0.5, -125)
  11008. Frame.Size = UDim2.new(0, 250, 0, 250)
  11009. Circle.Name = "Circle"
  11010. Circle.Parent = Frame
  11011. Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  11012. Circle.BackgroundTransparency = 1
  11013. Circle.BorderSizePixel = 0
  11014. Circle.Position = UDim2.new(0.5, 0, 0.5, 0)
  11015. Circle.Image = "rbxassetid://631172870"
  11016. Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11017. ImageLabel.Parent = Frame
  11018. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  11019. ImageLabel.BackgroundTransparency = 1
  11020. ImageLabel.BorderSizePixel = 0
  11021. ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  11022. ImageLabel.Image = "rbxassetid://1352543873"
  11023. Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.2)
  11024. local g = intro
  11025. local f = Frame
  11026. local imagef = Circle
  11027. local logof = ImageLabel
  11028. imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.5)
  11029. logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.5)
  11030. repeat wait() until imagef.Size == UDim2.new(3,0,3,0) and logof.Size == UDim2.new(1,0,1,0)
  11031. f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.5)
  11032. repeat wait() until f.Size == UDim2.new(0,300,0,300)
  11033. f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.5)
  11034. repeat wait() until f.Size == UDim2.new(0,250,0,250)
  11035. if workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
  11036. elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
  11037. local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
  11038. local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
  11039. local info = Instance.new("ImageButton") local info_2 = Instance.new("TextLabel") local mix = Instance.new("ImageButton") local mix_2 = Instance.new("TextLabel") local MAIN = Instance.new("TextLabel") iy.Name = "iy" iy.Parent = game.CoreGui.RobloxGui.TopBarContainer
  11040. iy.BackgroundTransparency = 1 iy.Position = UDim2.new(0, 2, 0, -38) iy.Size = UDim2.new(0, 50, 0, 36) iy.AutoButtonColor = false sheild.Name = "sheild" sheild.Parent = iy sheild.BackgroundColor3 = Color3.new(1, 1, 1)
  11041. sheild.BackgroundTransparency = 1 sheild.Size = UDim2.new(0, 320, 0, 35) cmds.Name = "cmds" cmds.Parent = sheild cmds.BackgroundTransparency = 1 cmds.Position = UDim2.new(0, 50, 0, 0) cmds.Size = UDim2.new(0, 80, 0, 36)
  11042. cmds.AutoButtonColor = false cmds_2.Name = "cmds" cmds_2.Parent = cmds cmds_2.BackgroundColor3 = Color3.new(1, 1, 1) cmds_2.BackgroundTransparency = 1 cmds_2.Position = UDim2.new(0, 0, 0, -2)
  11043. cmds_2.Size = UDim2.new(0, 80, 0, 40) cmds_2.Font = Enum.Font.Arial cmds_2.FontSize = Enum.FontSize.Size14 cmds_2.Text = "Commands" cmds_2.TextColor3 = Color3.new(1, 1, 1) cmds_2.TextStrokeTransparency = 0.69999998807907
  11044. settings.Name = "settings" settings.Parent = sheild settings.BackgroundTransparency = 1 settings.Position = UDim2.new(0, 146, 0, 0) settings.Size = UDim2.new(0, 60, 0, 36) settings.AutoButtonColor = false
  11045. settings_2.Name = "settings" settings_2.Parent = settings settings_2.BackgroundColor3 = Color3.new(1, 1, 1) settings_2.BackgroundTransparency = 1 settings_2.Position = UDim2.new(0, 0, 0, -2)
  11046. settings_2.Size = UDim2.new(0, 60, 0, 40) settings_2.Font = Enum.Font.Arial settings_2.FontSize = Enum.FontSize.Size14 settings_2.Text = "Script Hub" settings_2.TextColor3 = Color3.new(1, 1, 1)
  11047. settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0)
  11048. updates.Size = UDim2.new(0, 60, 0, 36) updates.AutoButtonColor = false updates_2.Name = "updates" updates_2.Parent = updates updates_2.BackgroundColor3 = Color3.new(1, 1, 1) updates_2.BackgroundTransparency = 1
  11049. updates_2.Position = UDim2.new(0, 0, 0, -2) updates_2.Size = UDim2.new(0, 60, 0, 40) updates_2.Font = Enum.Font.Arial updates_2.FontSize = Enum.FontSize.Size14
  11050. updates_2.Text = "Server" updates_2.TextColor3 = Color3.new(1, 1, 1) updates_2.TextStrokeTransparency = 0.69999998807907 info.Name = "info" info.Parent = sheild info.BackgroundTransparency = 1 info.Position = UDim2.new(0, 290, 0, 0)
  11051. info.Size = UDim2.new(0, 35, 0, 36) info.AutoButtonColor = false info_2.Name = "info" info_2.Parent = info info_2.BackgroundColor3 = Color3.new(1, 1, 1) info_2.BackgroundTransparency = 1 info_2.Position = UDim2.new(0, 0, 0, -2)
  11052. info_2.Size = UDim2.new(0, 30, 0, 40) info_2.Font = Enum.Font.Arial info_2.FontSize = Enum.FontSize.Size14 info_2.Text = "Info" info_2.TextColor3 = Color3.new(1, 1, 1)
  11053. mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0)
  11054. mix.Size = UDim2.new(0, 35, 0, 36) mix.AutoButtonColor = false mix_2.Name = "mix" mix_2.Parent = mix mix_2.BackgroundColor3 = Color3.new(1, 1, 1) mix_2.BackgroundTransparency = 1 mix_2.Position = UDim2.new(0, 0, 0, -2)
  11055. mix_2.Size = UDim2.new(0, 30, 0, 40) mix_2.Font = Enum.Font.Arial mix_2.FontSize = Enum.FontSize.Size14 mix_2.Text = "Color" mix_2.TextColor3 = Color3.new(1, 1, 1) mix_2.TextStrokeTransparency = 0.7
  11056. info_2.TextStrokeTransparency = 0.69999998807907 MAIN.Name = "MAIN" MAIN.Parent = iy MAIN.BackgroundColor3 = Color3.new(1, 1, 1) MAIN.BackgroundTransparency = 1 MAIN.Position = UDim2.new(0, 2, 0, -2)
  11057. MAIN.Size = UDim2.new(0, 40, 0, 40) MAIN.Font = Enum.Font.ArialBold MAIN.FontSize = Enum.FontSize.Size24 MAIN.Text = "IY" MAIN.TextColor3 = Color3.new(1, 1, 1) MAIN.TextStrokeTransparency = 0.69999998807907
  11058. Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.2) wait(0.3) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy
  11059. local TopBarContainer = Instance.new("Frame") TopBarContainer.Name = "TopBarContainer" TopBarContainer.Parent = game.CoreGui.RobloxGui TopBarContainer.Active = true TopBarContainer.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11060. TopBarContainer.BackgroundTransparency = 0.5 TopBarContainer.BorderSizePixel = 0 TopBarContainer.Position = UDim2.new(0, 0, 0, -72) TopBarContainer.Size = UDim2.new(1, 0, 0, 36) TopBarContainer.ZIndex = 0
  11061. picker = game:GetObjects("rbxassetid://01333392047")[1] picker.Parent = game.CoreGui picker.ColorPicker.Visible = false picker.ColorPicker.Position = UDim2.new(0.5, -219, 0, -500)
  11062. quickmenu.sheild.mix.MouseButton1Click:connect(function() picker.ColorPicker.Visible = true wait(0.2) picker.ColorPicker:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) end)
  11063. PKR = picker.ColorPicker
  11064. local ColorPicker do
  11065. ColorPicker = {}
  11066.  
  11067. ColorPicker.new = function()
  11068. local newMt = setmetatable({},{})
  11069.  
  11070. local pickerGui = picker.ColorPicker
  11071. local pickerTopBar = pickerGui.TopBar
  11072. local pickerFrame = pickerGui.Content
  11073. local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  11074. local colorStrip = pickerFrame.ColorStrip
  11075. local previewFrame = pickerFrame.Preview
  11076. local basicColorsFrame = pickerFrame.BasicColors
  11077. local customColorsFrame = pickerFrame.CustomColors
  11078. local okButton = pickerFrame.Ok
  11079. local cancelButton = pickerFrame.Cancel
  11080. local defaultButton = pickerFrame.Default
  11081.  
  11082. local colorScope = colorSpace.Scope
  11083. local colorArrow = pickerFrame.ArrowFrame.Arrow
  11084.  
  11085. local hueInput = pickerFrame.Hue.Input
  11086. local satInput = pickerFrame.Sat.Input
  11087. local valInput = pickerFrame.Val.Input
  11088.  
  11089. local redInput = pickerFrame.Red.Input
  11090. local greenInput = pickerFrame.Green.Input
  11091. local blueInput = pickerFrame.Blue.Input
  11092.  
  11093. local user = game:GetService("UserInputService")
  11094. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  11095.  
  11096. local hue,sat,val = 0,0,1
  11097. local red,green,blue = 1,1,1
  11098. local chosenColor = Color3.new(0,0,0)
  11099.  
  11100. local basicColors = {Color3.new(0,0,0),Color3.new(0.66666668653488,0,0),Color3.new(0,0.33333334326744,0),Color3.new(0.66666668653488,0.33333334326744,0),Color3.new(0,0.66666668653488,0),Color3.new(0.66666668653488,0.66666668653488,0),Color3.new(0,1,0),Color3.new(0.66666668653488,1,0),Color3.new(0,0,0.49803924560547),Color3.new(0.66666668653488,0,0.49803924560547),Color3.new(0,0.33333334326744,0.49803924560547),Color3.new(0.66666668653488,0.33333334326744,0.49803924560547),Color3.new(0,0.66666668653488,0.49803924560547),Color3.new(0.66666668653488,0.66666668653488,0.49803924560547),Color3.new(0,1,0.49803924560547),Color3.new(0.66666668653488,1,0.49803924560547),Color3.new(0,0,1),Color3.new(0.66666668653488,0,1),Color3.new(0,0.33333334326744,1),Color3.new(0.66666668653488,0.33333334326744,1),Color3.new(0,0.66666668653488,1),Color3.new(0.66666668653488,0.66666668653488,1),Color3.new(0,1,1),Color3.new(0.66666668653488,1,1),Color3.new(0.33333334326744,0,0),Color3.new(1,0,0),Color3.new(0.33333334326744,0.33333334326744,0),Color3.new(1,0.33333334326744,0),Color3.new(0.33333334326744,0.66666668653488,0),Color3.new(1,0.66666668653488,0),Color3.new(0.33333334326744,1,0),Color3.new(1,1,0),Color3.new(0.33333334326744,0,0.49803924560547),Color3.new(1,0,0.49803924560547),Color3.new(0.33333334326744,0.33333334326744,0.49803924560547),Color3.new(1,0.33333334326744,0.49803924560547),Color3.new(0.33333334326744,0.66666668653488,0.49803924560547),Color3.new(1,0.66666668653488,0.49803924560547),Color3.new(0.33333334326744,1,0.49803924560547),Color3.new(1,1,0.49803924560547),Color3.new(0.33333334326744,0,1),Color3.new(1,0,1),Color3.new(0.33333334326744,0.33333334326744,1),Color3.new(1,0.33333334326744,1),Color3.new(0.33333334326744,0.66666668653488,1),Color3.new(1,0.66666668653488,1),Color3.new(0.33333334326744,1,1),Color3.new(1,1,1)}
  11101. local customColors = {}
  11102.  
  11103. local function updateColor(noupdate)
  11104. local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  11105. local hsvColor = Color3.fromHSV(hue,sat,val)
  11106.  
  11107. if noupdate == 2 or not noupdate then
  11108. hueInput.Text = tostring(math.ceil(359*hue))
  11109. satInput.Text = tostring(math.ceil(255*sat))
  11110. valInput.Text = tostring(math.floor(255*val))
  11111. end
  11112. if noupdate == 1 or not noupdate then
  11113. redInput.Text = tostring(math.floor(255*red))
  11114. greenInput.Text = tostring(math.floor(255*green))
  11115. blueInput.Text = tostring(math.floor(255*blue))
  11116. end
  11117.  
  11118. chosenColor = Color3.new(red,green,blue)
  11119.  
  11120. colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  11121. colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  11122. colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  11123. previewFrame.BackgroundColor3 = chosenColor
  11124.  
  11125. newMt.Color = chosenColor
  11126. if newMt.Changed then newMt:Changed(chosenColor) end
  11127. end
  11128.  
  11129. local function colorSpaceInput()
  11130. local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  11131. local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  11132.  
  11133. if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  11134. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  11135.  
  11136. hue = (219 - relativeX)/219
  11137. sat = (199 - relativeY)/199
  11138.  
  11139. local hsvColor = Color3.fromHSV(hue,sat,val)
  11140. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  11141.  
  11142. updateColor()
  11143. end
  11144.  
  11145. local function colorStripInput()
  11146. local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  11147.  
  11148. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  11149.  
  11150. val = (199 - relativeY)/199
  11151.  
  11152. local hsvColor = Color3.fromHSV(hue,sat,val)
  11153. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  11154.  
  11155. updateColor()
  11156. end
  11157.  
  11158. local function hookButtons(frame,func)
  11159. frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  11160. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11161. frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  11162. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  11163. local releaseEvent,runEvent
  11164.  
  11165. local startTime = tick()
  11166. local pressing = true
  11167. local startNum = tonumber(frame.Text)
  11168.  
  11169. if not startNum then return end
  11170.  
  11171. releaseEvent = user.InputEnded:Connect(function(input)
  11172. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  11173. releaseEvent:Disconnect()
  11174. pressing = false
  11175. end)
  11176.  
  11177. startNum = startNum + 1
  11178. func(startNum)
  11179. while pressing do
  11180. if tick()-startTime > 0.3 then
  11181. startNum = startNum + 1
  11182. func(startNum)
  11183. end
  11184. wait(0.1)
  11185. end
  11186. end
  11187. end)
  11188.  
  11189. frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  11190. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11191. frame.ArrowFrame.Up.BackgroundTransparency = 1
  11192. end
  11193. end)
  11194.  
  11195. frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  11196. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11197. frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  11198. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  11199. local releaseEvent,runEvent
  11200.  
  11201. local startTime = tick()
  11202. local pressing = true
  11203. local startNum = tonumber(frame.Text)
  11204.  
  11205. if not startNum then return end
  11206.  
  11207. releaseEvent = user.InputEnded:Connect(function(input)
  11208. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  11209. releaseEvent:Disconnect()
  11210. pressing = false
  11211. end)
  11212.  
  11213. startNum = startNum - 1
  11214. func(startNum)
  11215. while pressing do
  11216. if tick()-startTime > 0.3 then
  11217. startNum = startNum - 1
  11218. func(startNum)
  11219. end
  11220. wait(0.1)
  11221. end
  11222. end
  11223. end)
  11224.  
  11225. frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  11226. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11227. frame.ArrowFrame.Down.BackgroundTransparency = 1
  11228. end
  11229. end)
  11230. end
  11231.  
  11232. colorSpace.InputBegan:Connect(function(input)
  11233. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  11234. local releaseEvent,mouseEvent
  11235.  
  11236. releaseEvent = user.InputEnded:Connect(function(input)
  11237. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  11238. releaseEvent:Disconnect()
  11239. mouseEvent:Disconnect()
  11240. end)
  11241.  
  11242. mouseEvent = user.InputChanged:Connect(function(input)
  11243. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11244. colorSpaceInput()
  11245. end
  11246. end)
  11247.  
  11248. colorSpaceInput()
  11249. end
  11250. end)
  11251.  
  11252. colorStrip.InputBegan:Connect(function(input)
  11253. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  11254. local releaseEvent,mouseEvent
  11255.  
  11256. releaseEvent = user.InputEnded:Connect(function(input)
  11257. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  11258. releaseEvent:Disconnect()
  11259. mouseEvent:Disconnect()
  11260. end)
  11261.  
  11262. mouseEvent = user.InputChanged:Connect(function(input)
  11263. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11264. colorStripInput()
  11265. end
  11266. end)
  11267.  
  11268. colorStripInput()
  11269. end
  11270. end)
  11271.  
  11272. local function updateHue(str)
  11273. local num = tonumber(str)
  11274. if num then
  11275. hue = math.clamp(math.floor(num),0,359)/359
  11276. local hsvColor = Color3.fromHSV(hue,sat,val)
  11277. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  11278. hueInput.Text = tostring(hue*359)
  11279. updateColor(1)
  11280. end
  11281. end
  11282. hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  11283.  
  11284. local function updateSat(str)
  11285. local num = tonumber(str)
  11286. if num then
  11287. sat = math.clamp(math.floor(num),0,255)/255
  11288. local hsvColor = Color3.fromHSV(hue,sat,val)
  11289. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  11290. satInput.Text = tostring(sat*255)
  11291. updateColor(1)
  11292. end
  11293. end
  11294. satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  11295.  
  11296. local function updateVal(str)
  11297. local num = tonumber(str)
  11298. if num then
  11299. val = math.clamp(math.floor(num),0,255)/255
  11300. local hsvColor = Color3.fromHSV(hue,sat,val)
  11301. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  11302. valInput.Text = tostring(val*255)
  11303. updateColor(1)
  11304. end
  11305. end
  11306. valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  11307.  
  11308. local function updateRed(str)
  11309. local num = tonumber(str)
  11310. if num then
  11311. red = math.clamp(math.floor(num),0,255)/255
  11312. local newColor = Color3.new(red,green,blue)
  11313. hue,sat,val = Color3.toHSV(newColor)
  11314. redInput.Text = tostring(red*255)
  11315. updateColor(2)
  11316. end
  11317. end
  11318. redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  11319.  
  11320. local function updateGreen(str)
  11321. local num = tonumber(str)
  11322. if num then
  11323. green = math.clamp(math.floor(num),0,255)/255
  11324. local newColor = Color3.new(red,green,blue)
  11325. hue,sat,val = Color3.toHSV(newColor)
  11326. greenInput.Text = tostring(green*255)
  11327. updateColor(2)
  11328. end
  11329. end
  11330. greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  11331.  
  11332. local function updateBlue(str)
  11333. local num = tonumber(str)
  11334. if num then
  11335. blue = math.clamp(math.floor(num),0,255)/255
  11336. local newColor = Color3.new(red,green,blue)
  11337. hue,sat,val = Color3.toHSV(newColor)
  11338. blueInput.Text = tostring(blue*255)
  11339. updateColor(2)
  11340. end
  11341. end
  11342. blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  11343.  
  11344. local colorChoice = Instance.new("TextButton")
  11345. colorChoice.Name = "Choice"
  11346. colorChoice.Size = UDim2.new(0,25,0,18)
  11347. colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  11348. colorChoice.Text = ""
  11349. colorChoice.AutoButtonColor = false
  11350.  
  11351. local row = 0
  11352. local column = 0
  11353. for i,v in pairs(basicColors) do
  11354. local newColor = colorChoice:Clone()
  11355. newColor.BackgroundColor3 = v
  11356. newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  11357.  
  11358. newColor.MouseButton1Click:Connect(function()
  11359. red,green,blue = v.r,v.g,v.b
  11360. local newColor = Color3.new(red,green,blue)
  11361. hue,sat,val = Color3.toHSV(newColor)
  11362. updateColor()
  11363. end)
  11364.  
  11365. newColor.Parent = basicColorsFrame
  11366. column = column + 1
  11367. if column == 6 then row = row + 1 column = 0 end
  11368. end
  11369.  
  11370. row = 0
  11371. column = 0
  11372. for i = 1,12 do
  11373. local color = customColors[i] or Color3.new(0,0,0)
  11374. local newColor = colorChoice:Clone()
  11375. newColor.BackgroundColor3 = color
  11376. newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  11377.  
  11378. newColor.MouseButton1Click:Connect(function()
  11379. local curColor = customColors[i] or Color3.new(0,0,0)
  11380. red,green,blue = curColor.r,curColor.g,curColor.b
  11381. hue,sat,val = Color3.toHSV(curColor)
  11382. updateColor()
  11383. end)
  11384.  
  11385. newColor.MouseButton2Click:Connect(function()
  11386. customColors[i] = chosenColor
  11387. newColor.BackgroundColor3 = chosenColor
  11388. end)
  11389.  
  11390. newColor.Parent = customColorsFrame
  11391. column = column + 1
  11392. if column == 6 then row = row + 1 column = 0 end
  11393. end
  11394.  
  11395. pickerTopBar.InputBegan:Connect(function(input)
  11396. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  11397. local releaseEvent,mouseEvent
  11398. local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y
  11399.  
  11400. releaseEvent = user.InputEnded:Connect(function(input)
  11401. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  11402. releaseEvent:Disconnect()
  11403. mouseEvent:Disconnect()
  11404. end)
  11405.  
  11406. mouseEvent = user.InputChanged:Connect(function(input)
  11407. if input.UserInputType == Enum.UserInputType.MouseMovement then
  11408. pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY)
  11409. end
  11410. end)
  11411. end
  11412. end)
  11413.  
  11414. okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end)
  11415. okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end)
  11416. okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end)
  11417.  
  11418. cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end)
  11419. cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  11420. cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  11421.  
  11422. defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end)
  11423. defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  11424. defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  11425.  
  11426. updateColor()
  11427.  
  11428. newMt.SetColor = function(self,color)
  11429. red,green,blue = color.r,color.g,color.b
  11430. hue,sat,val = Color3.toHSV(color)
  11431. updateColor()
  11432. end
  11433.  
  11434. return newMt
  11435. end
  11436. end
  11437. local picker = ColorPicker.new()
  11438. picker.Confirm = function(self,color) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) SAVEDCOLOR = color updatecolors(color) updatefile() end
  11439. picker.Changed = function(self,color) updatecolors(color) end
  11440. picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end
  11441. picker.Default = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(Color3.new(0.121569, 0.121569, 0.121569))
  11442. colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end
  11443. SAVEDCOLOR = Color3.new(colorR, colorG, colorB)
  11444. local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel")
  11445. local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
  11446. suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11447. suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0
  11448. suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182)
  11449. Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1
  11450. Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions"
  11451. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions
  11452. SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11453. SUG.BorderSizePixel = 0 SUG.Position = UDim2.new(0, 7, 0, 40) SUG.Size = UDim2.new(0, 293, 0, 130) SUG.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11454. SUG.CanvasSize = UDim2.new(0, 0, 0, 5160) SUG.MidImage = "rbxasset://textures/blackBkg_square.png" SUG.ScrollBarThickness = 8 SUG.TopImage = "rbxasset://textures/blackBkg_square.png"
  11455. local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG
  11456. newcmd.Visible = true newcmd.Position = UDim2.new(0,5,0, Position + 5) newcmd.Text = "" .. CMDsV[i].Value SUG.CanvasSize = UDim2.new(0,0,0, Position + 30) end
  11457. local CSP2 = game.CoreGui.sugg.suggestions
  11458. local main2 = CSP2
  11459. local frame2 = CSP2:WaitForChild('SUG')
  11460. Match2 = function(name,str) return name:lower():find(str:lower()) and true end
  11461. IndexContents2 = function(str,bool)
  11462. if suggestionstoggle == true then
  11463. if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else
  11464. local Index,SizeY = 0,0
  11465. for i,v in next, frame2:GetChildren() do
  11466. if bool then
  11467. if Match2(v.Text,str) then
  11468. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true)
  11469. Index = Index + 1
  11470. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  11471. v.Visible = true
  11472. SizeY = SizeY + v.AbsoluteSize.Y
  11473. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else
  11474. v.Visible = true
  11475. SizeY = SizeY + v.AbsoluteSize.Y
  11476. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end
  11477. IndexContents2('',true)
  11478. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  11479. Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.3) wait(0.1)
  11480. logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1)
  11481. repeat wait() until logof.Size == UDim2.new(0,0,0,0)
  11482. f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2)
  11483. repeat wait() until f.Size == UDim2.new(0,0,0,0) g:Destroy() updatecolors(Color3.new(colorR, colorG, colorB))
  11484. wait(0.5) Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quart", 0.5, true, nil) wait(0.7) Loading.Parent:Destroy()
  11485. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
  11486. gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
  11487. chatbox = gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
  11488. if gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == cmdprefix then IndexContents2(gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true)
  11489. else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end)
  11490. coroutine.resume(coroutine.create(function()
  11491. if script.ClassName == "LocalScript" then
  11492. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  11493. Text = "The prefix is '" .. cmdprefix .. "'";
  11494. Color = Color3.new(255,255,255);
  11495. Font = Enum.Font.SourceSans;
  11496. FontSize = Enum.FontSize.Size24;
  11497. }) wait(2)
  11498. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  11499. Text = "Click IY on the top left to see more options";
  11500. Color = Color3.new(255,255,255);
  11501. Font = Enum.Font.SourceSans;
  11502. FontSize = Enum.FontSize.Size24;
  11503. }) end end))
  11504. else print('Custom chat detected. Will not provide suggestions for the chat.') end
  11505. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11506. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11507. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11508. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11509. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11510. qopen = false quickmenu.MouseButton1Click:connect(function()
  11511. if qopen == false then NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  11512. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11513. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11514. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11515. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide()
  11516. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11517. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else
  11518. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11519. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11520. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11521. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11522. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) end end end)
  11523. quickmenu.sheild.cmds.MouseButton1Click:connect(function() commands() wait(0.2) searchbar() closed = false end)
  11524. quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end)
  11525. infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
  11526. Updates = Instance.new("ScreenGui")
  11527. PromptDialog = Instance.new("Frame")
  11528. local ContainerFrame = Instance.new("Frame")
  11529. local PopupText5 = Instance.new("TextLabel")
  11530. local PopupText3 = Instance.new("TextLabel")
  11531. local PopupText4 = Instance.new("TextLabel")
  11532. local UTDV = Instance.new("TextLabel")
  11533. local LOG = Instance.new("TextLabel")
  11534. local shadow = Instance.new("Frame")
  11535. Exit = Instance.new("TextButton")
  11536. local vers = Instance.new("TextLabel")
  11537. local PopupText = Instance.new("TextLabel")
  11538. Updates.Name = "Updates"
  11539. Updates.Parent = game.CoreGui
  11540. PromptDialog.Name = "PromptDialog"
  11541. PromptDialog.Parent = Updates
  11542. PromptDialog.Active = true
  11543. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  11544. PromptDialog.BackgroundTransparency = 1
  11545. PromptDialog.BorderSizePixel = 0
  11546. PromptDialog.Position = UDim2.new(0.5, -219, 0, -400)
  11547. PromptDialog.Size = UDim2.new(0, 438, 0, 300)
  11548. PromptDialog.ZIndex = 8
  11549. ContainerFrame.Name = "ContainerFrame"
  11550. ContainerFrame.Parent = PromptDialog
  11551. ContainerFrame.BackgroundColor3 = maincolor
  11552. ContainerFrame.BackgroundTransparency = 0.5
  11553. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  11554. ContainerFrame.BorderSizePixel = 0
  11555. ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
  11556. ContainerFrame.Size = UDim2.new(1, 0, 0.78, 0) --size
  11557. ContainerFrame.ZIndex = 8
  11558. PopupText5.Name = "PopupText5"
  11559. PopupText5.Parent = ContainerFrame
  11560. PopupText5.BackgroundTransparency = 1
  11561. PopupText5.Position = UDim2.new(0, 8, 0, 70)
  11562. PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0)
  11563. PopupText5.ZIndex = 10
  11564. PopupText5.Font = Enum.Font.SourceSansBold
  11565. PopupText5.FontSize = Enum.FontSize.Size28
  11566. PopupText5.Text = "Update Log:"
  11567. PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11568. PopupText5.TextStrokeTransparency = 0
  11569. PopupText5.TextWrapped = true
  11570. PopupText5.TextYAlignment = Enum.TextYAlignment.Top
  11571. PopupText3.Name = "PopupText3"
  11572. PopupText3.Parent = ContainerFrame
  11573. PopupText3.BackgroundTransparency = 1
  11574. PopupText3.Position = UDim2.new(0, 8, 0, 35)
  11575. PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0)
  11576. PopupText3.ZIndex = 10
  11577. PopupText3.Font = Enum.Font.SourceSansBold
  11578. PopupText3.FontSize = Enum.FontSize.Size18
  11579. PopupText3.Text = "Edge#3467 - Moon#6245 - Unlisting#0179 - bluntboomer#1259"
  11580. PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11581. PopupText3.TextScaled = true
  11582. PopupText3.TextStrokeTransparency = 0
  11583. PopupText3.TextWrapped = true
  11584. PopupText3.TextYAlignment = Enum.TextYAlignment.Top
  11585. PopupText4.Name = "PopupText4"
  11586. PopupText4.Parent = ContainerFrame
  11587. PopupText4.BackgroundTransparency = 1
  11588. PopupText4.Position = UDim2.new(0, 8, 0, 50)
  11589. PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0)
  11590. PopupText4.ZIndex = 10
  11591. PopupText4.Font = Enum.Font.SourceSansBold
  11592. PopupText4.FontSize = Enum.FontSize.Size18
  11593. PopupText4.Text = "infyield.weebly.com - discord.gg/9MByKtG"
  11594. PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11595. PopupText4.TextStrokeTransparency = 0
  11596. PopupText4.TextWrapped = true
  11597. PopupText4.TextYAlignment = Enum.TextYAlignment.Top
  11598. UTDV.Name = "UTDV"
  11599. UTDV.Parent = ContainerFrame
  11600. UTDV.BackgroundTransparency = 1
  11601. UTDV.Position = UDim2.new(0, 8, 0, 5)
  11602. UTDV.Size = UDim2.new(1, -16, 0.100000001, 0)
  11603. UTDV.ZIndex = 10
  11604. UTDV.Font = Enum.Font.SourceSansBold
  11605. UTDV.FontSize = Enum.FontSize.Size28
  11606. UTDV.Text = "Up to date version: Yes"
  11607. UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11608. UTDV.TextStrokeTransparency = 0
  11609. UTDV.TextWrapped = true
  11610. UTDV.TextYAlignment = Enum.TextYAlignment.Top
  11611. LOG.Name = "LOG"
  11612. LOG.Parent = ContainerFrame
  11613. LOG.BackgroundTransparency = 1
  11614. LOG.Position = UDim2.new(0, 8, 0, 100)
  11615. LOG.Size = UDim2.new(1, -16, 1, 0)
  11616. LOG.ZIndex = 10
  11617. LOG.Font = Enum.Font.SourceSansBold
  11618. LOG.TextSize = '20'
  11619. LOG.Text = "Added bleach [plr], skydive [plr], seagull [plr], pipetp [plr] [plr], rain [mesh] [texture], norain, savepos [name], loadpos [plr] [name], deletepos [name], and a positions GUI. New GUIs for admins, bans, and age. Fixed partdisco/unpartdisco and copytools is now [plr] [plr]."
  11620. LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11621. LOG.TextStrokeTransparency = 0
  11622. LOG.TextWrapped = true
  11623. LOG.TextYAlignment = Enum.TextYAlignment.Top
  11624. shadow.Name = "shadow"
  11625. shadow.Parent = PromptDialog
  11626. shadow.BackgroundColor3 = maincolor
  11627. shadow.BackgroundTransparency = 0.30000001192093
  11628. shadow.BorderColor3 = Color3.new(0, 0, 0)
  11629. shadow.BorderSizePixel = 0
  11630. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  11631. shadow.Size = UDim2.new(0, 438, 0, 26)
  11632. Exit.Name = "Exit"
  11633. Exit.Parent = shadow
  11634. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  11635. Exit.BackgroundTransparency = 0.30000001192093
  11636. Exit.BorderColor3 = Color3.new(1, 0, 0)
  11637. Exit.BorderSizePixel = 0
  11638. Exit.Position = UDim2.new(0, 415, 0, 3)
  11639. Exit.Size = UDim2.new(0, 20, 0, 20)
  11640. Exit.FontSize = Enum.FontSize.Size14
  11641. Exit.Text = ""
  11642. vers.Name = "vers"
  11643. vers.Parent = shadow
  11644. vers.BackgroundTransparency = 1
  11645. vers.Position = UDim2.new(0, 8, 0, -1)
  11646. vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0)
  11647. vers.ZIndex = 110
  11648. vers.Font = Enum.Font.SourceSansBold
  11649. vers.FontSize = Enum.FontSize.Size24
  11650. vers.Text = "v" .. Version
  11651. vers.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11652. vers.TextStrokeTransparency = 0
  11653. vers.TextWrapped = true
  11654. vers.TextXAlignment = Enum.TextXAlignment.Left
  11655. vers.TextYAlignment = Enum.TextYAlignment.Top
  11656. PopupText.Name = "PopupText"
  11657. PopupText.Parent = shadow
  11658. PopupText.BackgroundTransparency = 1
  11659. PopupText.Position = UDim2.new(0, 61, 0, -2)
  11660. PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
  11661. PopupText.ZIndex = 110
  11662. PopupText.Font = Enum.Font.SourceSansBold
  11663. PopupText.TextSize = "30"
  11664. PopupText.Text = "Information"
  11665. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11666. PopupText.TextStrokeTransparency = 0
  11667. PopupText.TextWrapped = true
  11668. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  11669. vers.Text = "v" .. Version vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) vers.TextStrokeTransparency = 0 vers.TextWrapped = true vers.TextXAlignment = Enum.TextXAlignment.Left vers.TextYAlignment = Enum.TextYAlignment.Top
  11670. if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
  11671. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) Exit.MouseButton1Click:connect(function()
  11672. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
  11673. quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end
  11674.  
  11675. local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
  11676. if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else
  11677. UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton")
  11678. local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel")
  11679. local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame")
  11680. Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true
  11681. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
  11682. PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow"
  11683. shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.129999995, 0) shadow.ZIndex = 100
  11684. shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093
  11685. Exit.BorderColor3 = Color3.new(1, 0, 0) Exit.Position = UDim2.new(0, 401, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110 Exit.FontSize = Enum.FontSize.Size14
  11686. Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4)
  11687. title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30
  11688. title.Text = Asset.Name .. " is available" title.TextColor3 = Color3.new(0.97, 0.97, 0.97) title.TextStrokeTransparency = 0 title.TextWrapped = true title.TextYAlignment = Enum.TextYAlignment.Top
  11689. ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31)
  11690. ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame
  11691. a.BackgroundTransparency = 1 a.Position = UDim2.new(0, 8, 0, 50) a.Size = UDim2.new(1, -16, 0.100000001, 0) a.ZIndex = 10 a.Font = Enum.Font.SourceSansBold
  11692. a.FontSize = Enum.FontSize.Size18 a.Text = "infyield.weebly.com - discord.gg/9MByKtG" a.TextColor3 = Color3.new(0.97, 0.97, 0.97) a.TextStrokeTransparency = 0
  11693. a.TextWrapped = true a.TextYAlignment = Enum.TextYAlignment.Top a2.Name = "a2" a2.Parent = ContainerFrame a2.BackgroundTransparency = 1 a2.Position = UDim2.new(0, 8, 0, 5)
  11694. a2.Size = UDim2.new(1, -16, 0.300000012, 0) a2.ZIndex = 10 a2.Font = Enum.Font.SourceSansBold a2.TextSize = 20 a2.Text = "The version of Infinite Yield you are using is outdated."
  11695. a2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2.TextStrokeTransparency = 0 a2.TextWrapped = true a2.TextYAlignment = Enum.TextYAlignment.Top a3.Name = "a3" a3.Parent = ContainerFrame
  11696. a3.BackgroundTransparency = 1 a3.Position = UDim2.new(0, 8, 0, 25) a3.Size = UDim2.new(1, -16, 0.300000012, 0) a3.ZIndex = 10 a3.Font = Enum.Font.SourceSansBold
  11697. a3.TextSize = 20 a3.Text = "You can get a new version at one of these 2 sources." a3.TextColor3 = Color3.new(0.97, 0.97, 0.97) a3.TextStrokeTransparency = 0
  11698. a3.TextWrapped = true a3.TextYAlignment = Enum.TextYAlignment.Top a2_2.Name = "a2" a2_2.Parent = ContainerFrame a2_2.BackgroundTransparency = 1 a2_2.Position = UDim2.new(0, 8, 0, 92)
  11699. a2_2.Size = UDim2.new(1, -16, 0.300000012, 0) a2_2.ZIndex = 10 a2_2.Font = Enum.Font.SourceSansBold a2_2.FontSize = Enum.FontSize.Size24 a2_2.Text = "If your exploit supports httpget, you can update now by clicking 'Update'"
  11700. a2_2.TextColor3 = Color3.new(0.97, 0.97, 0.97) a2_2.TextStrokeTransparency = 0 a2_2.TextWrapped = true a2_2.TextYAlignment = Enum.TextYAlignment.Top UPDATE.Name = "UPDATE"
  11701. UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1)
  11702. UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans
  11703. UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog
  11704. Line.BackgroundColor3 = Color3.new(0, 0, 0) Line.BackgroundTransparency = 0.5 Line.BorderColor3 = Color3.new(0, 0, 0) Line.Position = UDim2.new(0, 16, 0, 121)
  11705. Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse)
  11706. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  11707. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  11708. Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse)
  11709. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  11710. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  11711. Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end
Add Comment
Please, Sign In to add comment