ryannudwiser

Admin hack roblox

Mar 19th, 2018
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 444.83 KB | None | 0 0
  1. ---------------------------------------------------------------
  2. -- _____ __ _ _ _ __ ___ _ _ --
  3. -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
  4. -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
  5. -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
  6. -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
  7. -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
  8. -- --
  9. ---------------------------------------------------------------
  10. ---------------------------------------------------------------
  11. ------Edge#0001 Moon#6245 bluntboomer#1259 Unlisting#0179------
  12. ---------------------------------------------------------------
  13.  
  14. local Version = '8.6.7'
  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. chatsV = false;
  29. whispersV = false;
  30. commandsV = false;
  31. }
  32. sitems = HttpService:JSONEncode(SAVEFILE)
  33.  
  34. function run()
  35. savesetting = 0
  36. if Synapse ~= nil then
  37. savesetting = 1
  38. local function synapse()
  39. Synapse:ReadFile("IY.txt") end
  40. local success1, message1 = pcall(synapse)
  41. if success1 then
  42. local json = Synapse:ReadFile("IY.txt")
  43. local LOADFILE = HttpService:JSONDecode(json)
  44. colorR = LOADFILE.colorR
  45. colorG = LOADFILE.colorG
  46. colorB = LOADFILE.colorB
  47. cmdprefix = LOADFILE.cmdprefix
  48. suggestionstoggle = LOADFILE.suggestionstoggle
  49. allowfriends = LOADFILE.allowfriends
  50. JLnotify = LOADFILE.JLnotify
  51. Mseconds = LOADFILE.Mseconds
  52. Nfriends = LOADFILE.Nfriends
  53. cmdbarbind = LOADFILE.cmdbarbind
  54. chatsV = LOADFILE.chatsV
  55. whispersV = LOADFILE.whispersV
  56. commandsV = LOADFILE.commandsV
  57. loaded = true else
  58. Synapse:WriteFile("IY.txt", sitems)
  59. wait(0.2)
  60. local json = Synapse:ReadFile("IY.txt")
  61. local LOADFILE = HttpService:JSONDecode(json)
  62. colorR = LOADFILE.colorR
  63. colorG = LOADFILE.colorG
  64. colorB = LOADFILE.colorB
  65. cmdprefix = LOADFILE.cmdprefix
  66. suggestionstoggle = LOADFILE.suggestionstoggle
  67. allowfriends = LOADFILE.allowfriends
  68. JLnotify = LOADFILE.JLnotify
  69. Mseconds = LOADFILE.Mseconds
  70. Nfriends = LOADFILE.Nfriends
  71. cmdbarbind = LOADFILE.cmdbarbind
  72. chatsV = LOADFILE.chatsV
  73. whispersV = LOADFILE.whispersV
  74. commandsV = LOADFILE.commandsV
  75. loaded = true end
  76. elseif is_protosmasher_caller ~= nil or elysianexecute ~= nil then
  77. savesetting = 2
  78. local function protoely()
  79. local checktxt = readfile("IY.txt")
  80. if checktxt == nil then print('professional amiright?'..reeeeeeeeeee)
  81. else return end end
  82. local success2, message2 = pcall(protoely)
  83. if success2 then
  84. local json = readfile("IY.txt")
  85. local LOADFILE = HttpService:JSONDecode(json)
  86. colorR = LOADFILE.colorR
  87. colorG = LOADFILE.colorG
  88. colorB = LOADFILE.colorB
  89. cmdprefix = LOADFILE.cmdprefix
  90. suggestionstoggle = LOADFILE.suggestionstoggle
  91. allowfriends = LOADFILE.allowfriends
  92. JLnotify = LOADFILE.JLnotify
  93. Mseconds = LOADFILE.Mseconds
  94. Nfriends = LOADFILE.Nfriends
  95. cmdbarbind = LOADFILE.cmdbarbind
  96. chatsV = LOADFILE.chatsV
  97. whispersV = LOADFILE.whispersV
  98. commandsV = LOADFILE.commandsV
  99. loaded = true else
  100. writefile("IY.txt", sitems)
  101. wait(0.2)
  102. local json = readfile("IY.txt")
  103. local LOADFILE = HttpService:JSONDecode(json)
  104. colorR = LOADFILE.colorR
  105. colorG = LOADFILE.colorG
  106. colorB = LOADFILE.colorB
  107. cmdprefix = LOADFILE.cmdprefix
  108. suggestionstoggle = LOADFILE.suggestionstoggle
  109. allowfriends = LOADFILE.allowfriends
  110. JLnotify = LOADFILE.JLnotify
  111. Mseconds = LOADFILE.Mseconds
  112. Nfriends = LOADFILE.Nfriends
  113. cmdbarbind = LOADFILE.cmdbarbind
  114. chatsV = LOADFILE.chatsV
  115. whispersV = LOADFILE.whispersV
  116. commandsV = LOADFILE.commandsV
  117. loaded = true end
  118. else
  119. colorR = 0.121569
  120. colorG = 0.121569
  121. colorB = 0.121569
  122. cmdprefix = ';'
  123. suggestionstoggle = true
  124. allowfriends = true
  125. JLnotify = true
  126. Mseconds = '7'
  127. Nfriends = true
  128. cmdbarbind = ';'
  129. chatsV = false
  130. whispersV = false
  131. commandsV = false
  132. loaded = true
  133. end
  134. repeat wait() until loaded == true
  135. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local Player = gPlayers.LocalPlayer
  136. 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={}
  137. 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
  138. 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
  139. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local scriptprefix='\\'
  140. local split=" " slock = false
  141. function updatefile()
  142. local update = {
  143. colorR = colorR;
  144. colorG = colorG;
  145. colorB = colorB;
  146. cmdprefix = cmdprefix;
  147. suggestionstoggle = suggestionstoggle;
  148. allowfriends = allowfriends;
  149. JLnotify = JLnotify;
  150. Mseconds = Mseconds;
  151. Nfriends = Nfriends;
  152. cmdbarbind = cmdbarbind;
  153. chatsV = chatsV;
  154. whispersV = whispersV;
  155. commandsV = commandsV
  156. }
  157. local updated = HttpService:JSONEncode(update)
  158. wait(0.1)
  159. if savesetting == 1 then
  160. Synapse:WriteFile("IY.txt", updated) elseif savesetting == 2 then
  161. writefile("IY.txt", updated) end end
  162. function isNumber(str)
  163. return tonumber(str) ~= nil end
  164. function msghook()
  165. for _, child in pairs( workspace:GetChildren()) do
  166. if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
  167. child.Name = "IYmessage" child.Text = '' MSGhook = true end end
  168. if workspace:FindFirstChild("IYmessage") then MSGhook = true
  169. else MSGhook = false end end
  170. game:GetService("RunService").RenderStepped:Connect(function()
  171. game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
  172. if r15noclip then
  173. if LP.Character:FindFirstChild('Humanoid') then LP.Character.Humanoid:ChangeState(11) end end
  174. if LP.Character and LP.Character:FindFirstChild('Humanoid') then
  175. LP.Character.Humanoid.Died:connect(function() FLYING = false end)
  176. if MSGhook == true and workspace:FindFirstChild("IYmessage") then
  177. if workspace.IYmessage.Text == '' then
  178. for _, child in pairs( LightingService:GetChildren()) do
  179. if child.Name == "IYmblur" then
  180. child:Destroy() end end end
  181. else MSGhook = false end
  182. for i,v in pairs(_players:GetPlayers()) do
  183. if FindTable(loopkillT, v.Name) then
  184. v.Character:BreakJoints() end
  185. if FindTable(disabletoolsT, v.Name) and v:FindFirstChild('Backpack') then
  186. v.Backpack:Destroy()
  187. for i,n in pairs(v.Character:GetChildren()) do
  188. if n:IsA('Tool') or n:IsA('HopperBin') then
  189. n:destroy() end end end
  190. if FindTable(rainbowT, v.Name) then
  191. v.Neutral = false
  192. v.TeamColor = BrickColor.random()
  193. end end end end)
  194. LightingService = game:GetService("Lighting")
  195. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  196. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  197. function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
  198. function FindTable(Table, Name)
  199. for i,v in pairs(Table) do
  200. if v == Name then
  201. return true
  202. end end
  203. return false
  204. end
  205. function GetInTable(Table, Name)
  206. for i = 1, #Table do
  207. if Table[i] == Name then
  208. return i
  209. end end
  210. return false end
  211. _players.PlayerRemoving:connect(function(player)
  212. for a,b in pairs(injail) do if b == player.Name then table.remove(injail, a) workspace["JAIL_" .. player.Name]:Destroy() end end
  213. for a,b in pairs(hastab) do if b == player.Name then table.remove(hastab, a) workspace[player.Name .. "TAB"]:Destroy() end end
  214. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  215. game:FindService('StarterGui'):SetCore('SendNotification', {
  216. Title = player.Name,
  217. Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  218. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  219. Duration = 5,
  220. })
  221. elseif JLnotify == true and Nfriends == false then
  222. game:FindService('StarterGui'):SetCore('SendNotification', {
  223. Title = player.Name,
  224. Text = 'has left the server.\n[AGE: ' ..player.AccountAge.. ']',
  225. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  226. Duration = 5,
  227. })
  228. end
  229. end)
  230. FLYING = false
  231. iyflyspeed = 1
  232. function sFLY() -- from rocky2u cmdscript
  233. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  234. repeat wait() until Mouse
  235.  
  236. local T = LP.Character.HumanoidRootPart
  237. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  238. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  239. local SPEED = 0
  240.  
  241. local function FLY()
  242. FLYING = true
  243. local BG = Instance.new('BodyGyro', T)
  244. local BV = Instance.new('BodyVelocity', T)
  245. BG.P = 9e4
  246. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  247. BG.cframe = T.CFrame
  248. BV.velocity = Vector3.new(0, 0.1, 0)
  249. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  250. spawn(function()
  251. repeat wait()
  252. LP.Character.Humanoid.PlatformStand = true
  253. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  254. SPEED = 50
  255. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  256. SPEED = 0
  257. end
  258. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  259. 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
  260. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  261. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  262. 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
  263. else
  264. BV.velocity = Vector3.new(0, 0.1, 0)
  265. end
  266. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  267. until not FLYING
  268. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  269. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  270. SPEED = 0
  271. BG:destroy()
  272. BV:destroy()
  273. LP.Character.Humanoid.PlatformStand = false
  274. end)
  275. end
  276. Mouse.KeyDown:connect(function(KEY)
  277. if KEY:lower() == 'w' then
  278. CONTROL.F = iyflyspeed
  279. elseif KEY:lower() == 's' then
  280. CONTROL.B = -iyflyspeed
  281. elseif KEY:lower() == 'a' then
  282. CONTROL.L = -iyflyspeed
  283. elseif KEY:lower() == 'd' then
  284. CONTROL.R = iyflyspeed
  285. end
  286. end)
  287. Mouse.KeyUp:connect(function(KEY)
  288. if KEY:lower() == 'w' then
  289. CONTROL.F = 0
  290. elseif KEY:lower() == 's' then
  291. CONTROL.B = 0
  292. elseif KEY:lower() == 'a' then
  293. CONTROL.L = 0
  294. elseif KEY:lower() == 'd' then
  295. CONTROL.R = 0
  296. end
  297. end)
  298. FLY()
  299. end
  300. function NOFLY()
  301. FLYING = false
  302. LP.Character.Humanoid.PlatformStand = false
  303. end
  304.  
  305. ------------------
  306. ---CMDS/HOTKEYS---
  307. ------------------
  308. HK = {
  309. '-HOTKEYS-',
  310. 'F4 - Toggle Fly',
  311. 'F5 - Toggle Noclip',
  312. 'HOLD F2 - Click TP',
  313. '-COMMANDS-'
  314. }
  315. CMDs = {
  316. 'ff [plr]',
  317. 'invisibleff / invisff [plr]',
  318. 'unff [plr]',
  319. 'fire [plr] [R G B]',
  320. 'unfire [plr]',
  321. 'burn [plr]',
  322. 'sparkles / sp [plr] [R G B]',
  323. 'unsparkles / unsp [plr]',
  324. 'smoke [plr]',
  325. 'unsmoke [plr]',
  326. 'btools [plr]',
  327. 'god [plr]',
  328. 'ungod [plr]',
  329. 'smite [plr]',
  330. 'bleach [plr]',
  331. 'begone / thot [plr]',
  332. 'crucify [plr]',
  333. 'hang [plr]',
  334. 'heal [plr]',
  335. 'freeze / fr [plr]',
  336. 'thaw / unfr [plr]',
  337. 'kill [plr]',
  338. 'sound / music [ID/Name]',
  339. 'volume / vol [num]',
  340. 'pitch [num]',
  341. 'explode [plr]',
  342. 'invisible / invis [plr]',
  343. 'visible / vis [plr]',
  344. 'goto [plr]',
  345. 'bring [plr]',
  346. 'tp [plr] [plr]',
  347. 'pipetp [plr] [plr]',
  348. 'savepos / spos [name]',
  349. 'loadpos / lpos [plr] [name]',
  350. 'deletepos / dpos [name]',
  351. 'positions / pos',
  352. 'char [plr] [ID]',
  353. 'charplr / cp [plr] [plr]',
  354. 'unchar [plr]',
  355. 'speed / ws [plr] [num]',
  356. 'sgod [plr]',
  357. 'unlockws',
  358. 'lockws',
  359. 'unanchor',
  360. 'anchor',
  361. 'clear',
  362. 'loadm',
  363. 'message / m [msg]',
  364. 'servermessage / sm [msg]',
  365. 'light [plr] [R G B]',
  366. 'unlight [plr]',
  367. 'glowstick [plr] [R G B]',
  368. 'decalspam [ID]',
  369. 'undecalspam',
  370. 'thirdp [plr]',
  371. 'firstp [plr]',
  372. 'name [plr]',
  373. 'unname [plr]',
  374. 'loopname / lname [plr]',
  375. 'unloopname / unlname [plr]',
  376. 'stun [plr]',
  377. 'unstun [plr]',
  378. 'copytools / ctools [plr]',
  379. 'keeptools / ktools [plr]',
  380. 'nokeeptools / noktools [plr]',
  381. 'notools [plr]',
  382. 'serverinfo / info',
  383. 'damage [plr]',
  384. 'spectate / view [plr]',
  385. 'unspectate / unview',
  386. 'esp [plr]',
  387. 'noesp [plr]',
  388. 'nolimbs [plr]',
  389. 'torso [plr]',
  390. 'box [plr]',
  391. 'nobox [plr]',
  392. 'ghost [plr]',
  393. 'unghost [plr]',
  394. 'sphere [plr]',
  395. 'loadmap [ID]',
  396. 'savemap / smap',
  397. 'restoremap / rmap',
  398. 'sky [ID]',
  399. 'ambient [R G B]',
  400. 'clrterrain',
  401. 'jail [plr]',
  402. 'unjail [plr]',
  403. 'shutdown',
  404. 'starman [plr]',
  405. 'unstarman [plr]',
  406. 'tppos [plr] [coordinate]',
  407. 'offset [plr] [coordinate]',
  408. 'animation [plr] [anim]',
  409. 'normal [plr]',
  410. 'creeper [plr]',
  411. 'uncreeper [plr]',
  412. 'shrek [plr]',
  413. 'unshrek [plr]',
  414. 'respawn [plr]',
  415. 'refresh / re [plr]',
  416. 'base',
  417. 'control [plr]',
  418. 'nuke [plr]',
  419. 'infect [plr]',
  420. 'uninfect [plr]',
  421. 'duck [plr]',
  422. 'unduck [plr]',
  423. 'knuckles [plr]',
  424. 'cape [plr] [R G B]',
  425. 'uncape [plr]',
  426. 'disable [plr]',
  427. 'enable [plr]',
  428. 'size [plr] [num]',
  429. 'confuse [plr]',
  430. 'unconfuse [plr]',
  431. 'clone [plr]',
  432. 'dummy [name]',
  433. 'nodummies',
  434. 'spin [plr]',
  435. 'unspin [plr]',
  436. 'dog [plr]',
  437. 'undog [plr]',
  438. 'loopheal [plr]',
  439. 'unloopheal [plr]',
  440. 'fling [plr]',
  441. 'skydive [plr]',
  442. 'ayylmao [plr]',
  443. 'seizure [plr]',
  444. 'unseizure [plr]',
  445. 'paper [plr]',
  446. 'fat [plr]',
  447. 'punish [plr]',
  448. 'unpunish [plr]',
  449. 'fogend [num]',
  450. 'fogcolor [R G B]',
  451. 'disco',
  452. 'undisco',
  453. 'fix',
  454. 'fixlighting / fixl',
  455. 'savelighting / slighting',
  456. 'flood',
  457. 'spookyify',
  458. 'explorer / dex',
  459. 'particles [plr] [ID]',
  460. 'noparticles [plr]',
  461. 'draw',
  462. 'devuzi',
  463. 'knife',
  464. 'mage',
  465. 'ban [plr]',
  466. 'unban [plr]',
  467. 'clrbans',
  468. 'float [plr]',
  469. 'unfloat [plr]',
  470. 'noclip',
  471. 'clip',
  472. 'hat [plr] [ID]',
  473. 'hatsize [plr] [num]',
  474. 'removehats / rhats [plr]',
  475. 'cripple [plr]',
  476. 'uncripple [plr]',
  477. 'blur [num]',
  478. 'unblur',
  479. 'hipheight / hheight [plr] [num]',
  480. 'bgui [plr] [text]',
  481. 'unbgui [plr]',
  482. 'loopkill [plr]',
  483. 'unloopkill [plr]',
  484. 'trip [plr]',
  485. 'sit [plr]',
  486. 'loopsit / lsit [plr]',
  487. 'unloopsit / unlsit [plr]',
  488. 'jump [plr]',
  489. 'loopjump / ljump [plr]',
  490. 'unloopjump / unljump [plr]',
  491. 'jumppower / jpower [plr] [num]',
  492. 'strength [plr]',
  493. 'unstrength [plr]',
  494. 'weaken [plr]',
  495. 'unweaken [plr]',
  496. 'shiny [plr]',
  497. 'serverlock / slock',
  498. 'unserverlock / unslock',
  499. 'agelock [age num]',
  500. 'unagelock',
  501. 'headshake [plr]',
  502. 'addstat [plr] [text]',
  503. 'change [plr] [stat] [num]',
  504. 'headsize [plr] [num]',
  505. 'bang [plr]',
  506. 'chat [plr] [msg]',
  507. 'gravity [num]',
  508. 'disabletools [plr]',
  509. 'enabletools [plr]',
  510. 'nil [plr]',
  511. 'rainbowname [plr]',
  512. 'unrainbowname [plr]',
  513. 'mesh [plr] [mesh] [texture]',
  514. 'rain [mesh] [texture]',
  515. 'norain',
  516. 'neon [plr]',
  517. 'longneck [plr]',
  518. 'unlongneck [plr]',
  519. 'time [num]',
  520. 'day',
  521. 'night',
  522. 'blackandwhite',
  523. 'invert',
  524. 'sun [intense] [spread]',
  525. 'spasm [plr]',
  526. 'meteor [plr]',
  527. 'countdown [num]',
  528. 'bomb [plr]',
  529. 'terrain',
  530. 'rocket [plr]',
  531. 'ball [plr]',
  532. 'unball [plr]',
  533. 'hidename [plr]',
  534. 'unhidename [plr]',
  535. 'face [plr] [ID]',
  536. 'fly',
  537. 'unfly',
  538. 'flyspeed [num]',
  539. 'zinnia [plr]',
  540. 'arrest [plr]',
  541. 'seagull / gull [plr]',
  542. 'team [plr] [team]',
  543. 'age [plr]',
  544. 'f3x',
  545. 'tools [plr]',
  546. 'dong [plr]',
  547. 'nodong [plr]',
  548. 'filtering',
  549. 'remotespy',
  550. 'crash [plr]',
  551. 'kick [plr]',
  552. 'admin [plr]',
  553. 'unadmin [plr]',
  554. 'admins',
  555. 'bans',
  556. 'bait',
  557. 'removebait / nobait',
  558. 'strobe',
  559. 'unstrobe',
  560. 'blind [plr]',
  561. 'unblind [plr]',
  562. 'globalshadows / gshadows',
  563. 'noglobalshadows / nogshadows',
  564. 'outlines',
  565. 'nooutlines',
  566. 'brightness [num]',
  567. 'delete [part name]',
  568. 'deleteclass / dc [class name]',
  569. 'fart [plr]',
  570. 'partdisco',
  571. 'unpartdisco',
  572. 'earthquake [power] [intensity]',
  573. 'car [plr]',
  574. 'uncar [plr]',
  575. 'insert [ID]',
  576. 'spawnpoint [plr]',
  577. 'removespawns',
  578. 'fegod',
  579. 'feinvisible',
  580. 'fekill [plr] (need a tool)',
  581. 'loopoof',
  582. 'unloopoof',
  583. 'disablereset [plr]',
  584. 'enablereset [plr]',
  585. 'loopbring [plr]',
  586. 'unloopbring [plr]',
  587. 'lock [plr]',
  588. 'unlock [plr]',
  589. 'sword [plr]',
  590. 'maxzoom [plr] [num]',
  591. 'fixcam',
  592. 'freecam / fc',
  593. 'unfreecam / unfc',
  594. 'plrsound [plr] [ID]',
  595. 'noplrsound [plr]',
  596. 'playlist / player [ID],[ID]',
  597. 'setsong [num]',
  598. 'prevsong',
  599. 'nextsong',
  600. 'hideplaylist / hideplayer',
  601. 'keybind [key] [cmd]',
  602. 'unkeybind [key]',
  603. 'addalias [cmd] [alias]',
  604. 'removealias [alias]',
  605. 'trail [plr] [R G B]',
  606. 'untrail [plr]',
  607. 'hub',
  608. 'script [script]',
  609. 'prefix [string]',
  610. 'rejoin',
  611. 'tablet',
  612. 'settings',
  613. 'cmds',
  614. 'logs',
  615. 'version',
  616. 'exit'
  617. }
  618. 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
  619.  
  620. std.inTable=function(tbl,val)
  621. if tbl==nil then return false end
  622.  
  623. for _,v in pairs(tbl)do
  624. if v==val then return true end
  625. end
  626. return false
  627. end
  628. std.out=function(str)
  629. print(str)
  630. end
  631. std.list=function(tbl)
  632. local str=''
  633. for i,v in pairs(tbl)do
  634. str=str..tostring(v)
  635. if i~=#tbl then str=str..', ' end
  636. end
  637. return str
  638. end
  639. std.endat=function(str,val)
  640. local z=str:find(val)
  641. if z then
  642. return str:sub(0,z-string.len(val)),true
  643. else
  644. return str,false
  645. end
  646. end
  647. std.first=function(str) return str:sub(1,1) end
  648.  
  649. function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
  650.  
  651. local exec=function(str)
  652. spawn(function()
  653. local script, loaderr = loadstring(str)
  654. if not script then
  655. error(loaderr)
  656. else
  657. script()
  658. end
  659. end)
  660. end
  661. local findCmd=function(cmd_name)
  662. for i,v in pairs(cmds)do
  663. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  664. return v
  665. end
  666. end
  667. end
  668. local getCmd=function(msg)
  669. local cmd,hassplit=std.endat(msg:lower(),split)
  670. if hassplit then
  671. return {cmd,true}
  672. else
  673. return {cmd,false}
  674. end
  675. end
  676. local getprfx=function(strn)
  677. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  678. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  679. end return
  680. end
  681. maincolor = Color3.new(colorR, colorG, colorB)
  682. function updatecolors(color)
  683. colorR = maincolor.r colorG = maincolor.g colorB = maincolor.b
  684. maincolor = color
  685. for _, child in pairs( game.CoreGui.RobloxGui:GetChildren()) do
  686. if child.Name == "TopBarContainer" then
  687. child.BackgroundColor3 = color
  688. end end
  689. FeedbackMain.BackgroundColor3 = maincolor
  690. MAIN.BackgroundColor3 = maincolor
  691. bar.BackgroundColor3 = maincolor
  692. game.CoreGui.sugg.suggestions.BackgroundColor3 = color
  693. if game.CoreGui:FindFirstChild('Updates') then
  694. game.CoreGui.Updates.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  695. game.CoreGui.Updates.drag.PromptDialog.shadow.BackgroundColor3 = color end
  696. if game.CoreGui:FindFirstChild('Sinfo') then
  697. game.CoreGui.Sinfo.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  698. game.CoreGui.Sinfo.drag.PromptDialog.shadow.BackgroundColor3 = color end
  699. if game.CoreGui:FindFirstChild('cp') then
  700. game.CoreGui.cp.Frame.holder.bar.BackgroundColor3 = color
  701. game.CoreGui.cp.Frame.holder.FeedbackMain.BackgroundColor3 = color
  702. game.CoreGui.cp.Frame.holder.size.MAIN.BackgroundColor3 = color end
  703. if game.CoreGui:FindFirstChild('Bans') then
  704. game.CoreGui.Bans.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  705. game.CoreGui.Bans.drag.PromptDialog.shadow.BackgroundColor3 = color end
  706. if game.CoreGui:FindFirstChild('Pos') then
  707. game.CoreGui.Pos.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  708. game.CoreGui.Pos.drag.PromptDialog.shadow.BackgroundColor3 = color end
  709. if game.CoreGui:FindFirstChild('Admins') then
  710. game.CoreGui.Admins.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  711. game.CoreGui.Admins.drag.PromptDialog.shadow.BackgroundColor3 = color end
  712. if game.CoreGui:FindFirstChild('Logs') then
  713. game.CoreGui.Logs.drag.PromptDialog.ContainerFrame.BackgroundColor3 = color
  714. game.CoreGui.Logs.drag.PromptDialog.shadow.BackgroundColor3 = color end
  715. end
  716.  
  717. function respawn(plr)
  718. local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
  719. local H = Instance.new('Humanoid', M)
  720. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  721. plr.Character = M end
  722.  
  723. local dummy = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1498924930")
  724.  
  725. WL = {'IoIman616','DesiredUsername1233','Conceptual_Nullifier','Thomasbudge','Decryptance','sweg2hipALT','N3xuI','MoonlightTears','0xRose',LP.Name}
  726. function kickF(plr)
  727. spawn(function()
  728. if plr.Parent ~= nil then
  729. if FindTable(WL, plr.Name) then Notify('Error: '..plr.Name..' is whitelisted') else
  730. local newChar = dummy:Clone() newChar.Parent = workspace
  731. newChar.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  732. for i = 1,4 do
  733. local Plat = Instance.new('SkateboardPlatform', newChar)
  734. Plat.Position = newChar.HumanoidRootPart.Position
  735. Plat.Name = 'IYplat'
  736. Plat.Size = Vector3.new(10, 1.2, 10)
  737. Plat.Transparency = 1 end
  738. plr.Character = newChar
  739. local PART = Instance.new('Part', newChar)
  740. PART.CFrame = newChar.HumanoidRootPart.CFrame - Vector3.new(0, 3, 0)
  741. PART.Size = Vector3.new(10, 1.2, 10)
  742. PART.Anchored = true
  743. PART.Transparency = 1
  744. if newChar:FindFirstChild("SkateboardPlatform") then
  745. newChar.SkateboardPlatform.CFrame = newChar.HumanoidRootPart.CFrame end
  746. wait(0.4)
  747. if newChar then newChar:Destroy() end
  748. kickF(plr) end
  749. end end) end
  750.  
  751. function refresh(plr)
  752. spawn(function()
  753. local rpos = plr.Character.HumanoidRootPart.Position
  754. wait(0.1) respawn(plr) wait(0.1)
  755. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  756. plr.Character:MoveTo(rpos) end) end
  757.  
  758. 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
  759. 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
  760. _players.PlayerAdded:connect(function(player)
  761. if JLnotify == true and Nfriends == true and player:IsFriendsWith(user.userId) then
  762. game:FindService('StarterGui'):SetCore('SendNotification', {
  763. Title = player.Name,
  764. Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  765. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  766. Duration = 5,
  767. })
  768. elseif JLnotify == true and Nfriends == false then
  769. game:FindService('StarterGui'):SetCore('SendNotification', {
  770. Title = player.Name,
  771. Text = 'has joined the server.\n[AGE: ' ..player.AccountAge.. ']',
  772. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..player.Name..[[&RAND]] .. math.random(1,100000000),
  773. Duration = 5,
  774. })
  775. end
  776. if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
  777. spawn(function()
  778. repeat wait() until player.Character
  779. kickF(player)
  780. end)
  781. end)
  782. elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
  783. spawn(function()
  784. repeat wait() until player.Character
  785. kickF(player)
  786. end)
  787. end
  788. if FindTable(banT, player.userId) then
  789. spawn(function()
  790. repeat wait() until player.Character
  791. Notify('Banned player, ' .. player.Name .. ' attempted to join')
  792. kickF(player)
  793. end)
  794. end
  795. if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then
  796. spawn(function()
  797. repeat wait() until player.Character
  798. kickF(player)
  799. end)
  800. else
  801. if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then
  802. spawn(function()
  803. repeat wait() until player.Character
  804. kickF(player)
  805. end)
  806. end
  807. end
  808. end)
  809. local customAlias = {}
  810. local findCmd=function(cmd_name)
  811. for i,v in pairs(cmds)do
  812. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
  813. return v
  814. end
  815. end
  816. return customAlias[cmd_name:lower()]
  817. end
  818. local function splitString(str,delim)
  819. local broken = {}
  820. if delim == nil then delim = "," end
  821. for w in string.gmatch(str,"[^"..delim.."]+") do
  822. table.insert(broken,w)
  823. end
  824. return broken
  825. end
  826. local historyCount = 0
  827. local cmdHistory = {}
  828. local function execCmd(cmdStr,speaker)
  829. local rawCmdStr = cmdStr
  830. cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  831. local commandsToRun = splitString(cmdStr,"\\")
  832. for i,v in pairs(commandsToRun) do
  833. v = string.gsub(v,"%%BackSlash%%","\\")
  834. local args = splitString(v,split)
  835. local cmd = findCmd(args[1])
  836. if cmd then
  837. table.remove(args,1)
  838. cargs = args
  839. if speaker == gPlayers.LocalPlayer then
  840. if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
  841. end
  842. if #cmdHistory > 20 then table.remove(cmdHistory) end
  843. pcall(function()
  844. cmd.FUNC(args, speaker)
  845. end)
  846. end
  847. end
  848. end
  849. logsloaded = false
  850. ChatLog = function(plr)
  851. plr.Chatted:Connect(function(Message)
  852. if logsloaded == true then
  853. if whispersV == true and Message:lower():sub(1,2) == '/w' then
  854. CreateLabel(plr.Name,Message)
  855. elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,1) == cmdprefix then
  856. CreateLabel(plr.Name,Message)
  857. elseif commandsV == true and isAdmin(plr) and Message:lower():sub(1,4) == '/e '..cmdprefix then
  858. CreateLabel(plr.Name,Message)
  859. elseif chatsV == true and Message:lower():sub(1,2) ~= '/e' and Message:lower():sub(1,2) ~= '/w' and Message:lower():sub(1,1) ~= cmdprefix then
  860. CreateLabel(plr.Name,Message)
  861. end end end) end
  862. 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
  863. for _, plr in pairs(gPlayers:GetChildren()) do
  864. if plr.ClassName == "Player" then
  865. updateevents(plr) ChatLog(plr) end end
  866. _players.PlayerAdded:connect(function(player)
  867. updateevents(player) ChatLog(player)
  868. end)
  869. _G.exec_cmd = execCmd
  870. --gPlayers.LocalPlayer.Chatted:connect(doexec)
  871. 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
  872. local _char=function(plr_name)
  873. for i,v in pairs(gPlayers:GetChildren())do
  874. if v:IsA'Player'then
  875. if v.Name==plr_name then return v.Character end
  876. end
  877. end
  878. return
  879. end
  880. local _plr=function(plr_name)
  881. for i,v in pairs(gPlayers:GetChildren())do
  882. if v:IsA'Player'then
  883. if v.Name==plr_name then return v end
  884. end
  885. end
  886. return
  887. end
  888. function addcmd(name,desc,alias,func)
  889. cmds[#cmds+1]=
  890. {
  891. NAME=name;
  892. DESC=desc;
  893. ALIAS=alias;
  894. FUNC=func;
  895. }
  896. end
  897. SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins','bacons'}
  898. local SpecialPlayerCases = {
  899. ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
  900. ["others"] = function(speaker)
  901. local plrs = {}
  902. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  903. if v ~= speaker then
  904. table.insert(plrs,v)
  905. end
  906. end
  907. return plrs
  908. end,
  909. ["me"] = function(speaker)return {speaker} end,
  910. ["#(%d+)"] = function(speaker,args)
  911. local returns = {}
  912. local randAmount = tonumber(args[1])
  913. local players = game:GetService("Players"):GetPlayers()
  914. for i = 1,randAmount do
  915. local randIndex = math.random(1,#players)
  916. table.insert(returns,players[randIndex])
  917. table.remove(players,randIndex)
  918. if #players == 0 then break end
  919. end
  920. return returns
  921. end,
  922. ["random"] = function(speaker)
  923. local players = game:GetService("Players"):GetPlayers()
  924. return {players[math.random(1,#players)]}
  925. end,
  926. ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
  927. local returns = {}
  928. local team = args[1]
  929. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  930. if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  931. table.insert(returns,plr)
  932. end
  933. end
  934. return returns
  935. end,
  936. ["allies"] = function(speaker)
  937. local returns = {}
  938. local team = speaker.Team
  939. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  940. if plr.Team == team then
  941. table.insert(returns,plr)
  942. end
  943. end
  944. return returns
  945. end,
  946. ["enemies"] = function(speaker)
  947. local returns = {}
  948. local team = speaker.Team
  949. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  950. if plr.Team ~= team then
  951. table.insert(returns,plr)
  952. end
  953. end
  954. return returns
  955. end,
  956. ["team"] = function(speaker)
  957. local returns = {}
  958. local team = speaker.Team
  959. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  960. if plr.Team == team then
  961. table.insert(returns,plr)
  962. end
  963. end
  964. return returns
  965. end,
  966. ["nonteam"] = function(speaker)
  967. local returns = {}
  968. local team = speaker.Team
  969. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  970. if plr.Team ~= team then
  971. table.insert(returns,plr)
  972. end
  973. end
  974. return returns
  975. end,
  976. ["friends"] = function(speaker,args)
  977. local returns = {}
  978. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  979. if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  980. table.insert(returns,plr)
  981. end
  982. end
  983. return returns
  984. end,
  985. ["nonfriends"] = function(speaker,args)
  986. local returns = {}
  987. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  988. if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  989. table.insert(returns,plr)
  990. end
  991. end
  992. return returns
  993. end,
  994. ["bacons"] = function(speaker,args)
  995. local returns = {}
  996. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  997. if plr.Character:FindFirstChild('Pal Hair') or plr.Character:FindFirstChild('Kate Hair') then
  998. table.insert(returns,plr)
  999. end
  1000. end
  1001. return returns
  1002. end,
  1003. ["admins"] = function(speaker)
  1004. local returns = {}
  1005. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1006. if isAdmin(plr) then
  1007. table.insert(returns,plr)
  1008. end
  1009. end
  1010. return returns
  1011. end,
  1012. ["nonadmins"] = function(speaker)
  1013. local returns = {}
  1014. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1015. if not isAdmin(plr) then
  1016. table.insert(returns,plr)
  1017. end
  1018. end
  1019. return returns
  1020. end,
  1021. ["age(%d+)"] = function(speaker,args)
  1022. local returns = {}
  1023. local age = tonumber(args[1])
  1024. if not age == nil then return end
  1025. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1026. if plr.AccountAge <= age then
  1027. table.insert(returns,plr)
  1028. end
  1029. end
  1030. return returns
  1031. end,
  1032. ["rad(%d+)"] = function(speaker,args)
  1033. local returns = {}
  1034. local radius = tonumber(args[1])
  1035. local speakerChar = speaker.Character
  1036. if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
  1037. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  1038. if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  1039. local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
  1040. if magnitude <= radius then table.insert(returns,plr) end
  1041. end
  1042. end
  1043. return returns
  1044. end
  1045. }
  1046. local function toTokens(str)
  1047. local tokens = {}
  1048. for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  1049. table.insert(tokens,{Operator = op,Name = name})
  1050. end
  1051. return tokens
  1052. end
  1053. local function onlyIncludeInTable(tab,matches)
  1054. local matchTable = {}
  1055. local resultTable = {}
  1056. for i,v in pairs(matches) do matchTable[v.Name] = true end
  1057. for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  1058. return resultTable
  1059. end
  1060. local function removeTableMatches(tab,matches)
  1061. local matchTable = {}
  1062. local resultTable = {}
  1063. for i,v in pairs(matches) do matchTable[v.Name] = true end
  1064. for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  1065. return resultTable
  1066. end
  1067. local function getPlayersByName(name)
  1068. local found = {}
  1069. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  1070. if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  1071. table.insert(found,v)
  1072. end
  1073. end
  1074. return found
  1075. end
  1076. local function getPlayer(list,speaker)
  1077. if list == nil then return {speaker.Name} end
  1078. local nameList = splitString(list,",")
  1079.  
  1080. local foundList = {}
  1081.  
  1082. for _,name in pairs(nameList) do
  1083. if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  1084. local tokens = toTokens(name)
  1085. local initialPlayers = game:GetService("Players"):GetPlayers()
  1086.  
  1087. for i,v in pairs(tokens) do
  1088. if v.Operator == "+" then
  1089. local tokenContent = v.Name
  1090. local foundCase = false
  1091. for regex,case in pairs(SpecialPlayerCases) do
  1092. local matches = {string.match(tokenContent,"^"..regex.."$")}
  1093. if #matches > 0 then
  1094. foundCase = true
  1095. initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches))
  1096. end
  1097. end
  1098. if not foundCase then
  1099. initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  1100. end
  1101. else
  1102. local tokenContent = v.Name
  1103. local foundCase = false
  1104. for regex,case in pairs(SpecialPlayerCases) do
  1105. local matches = {string.match(tokenContent,"^"..regex.."$")}
  1106. if #matches > 0 then
  1107. foundCase = true
  1108. initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches))
  1109. end
  1110. end
  1111. if not foundCase then
  1112. initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  1113. end
  1114. end
  1115. end
  1116.  
  1117. for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  1118. end
  1119.  
  1120. local foundNames = {}
  1121. for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  1122.  
  1123. return foundNames
  1124. end
  1125. function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
  1126. local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
  1127. if (zCoco) then
  1128. funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1129. else
  1130. funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  1131. end
  1132. return funcw
  1133. end
  1134. function _G.msg(txt)
  1135. spawn(function()
  1136. msghook()
  1137. if MSGhook == true then
  1138. workspace.IYmessage.Text = ''
  1139. wait(0.1)
  1140. local b = Instance.new("BlurEffect", LightingService)
  1141. b.Name = "IYmblur"
  1142. b.Size = 18
  1143. workspace.IYmessage.Text = txt
  1144. wait(Mseconds)
  1145. b:Destroy()
  1146. if workspace.IYmessage.Text == txt then
  1147. workspace.IYmessage.Text = '' end
  1148. elseif MSGhook == false then
  1149. execCmd("loadm")
  1150. repeat wait() until workspace:FindFirstChild("IYmessage")
  1151. workspace.IYmessage.Text = ''
  1152. wait(0.1)
  1153. local b = Instance.new("BlurEffect", LightingService)
  1154. b.Name = "IYmblur"
  1155. b.Size = 18
  1156. workspace.IYmessage.Text = txt
  1157. wait(Mseconds)
  1158. b:Destroy()
  1159. if workspace.IYmessage.Text == txt then
  1160. workspace.IYmessage.Text = '' end
  1161. end
  1162. end)
  1163. end
  1164. function bleach(plr)
  1165. spawn(function()
  1166. local char = plr.Character
  1167. local hit1 = Instance.new("Sound", workspace)
  1168. hit1.SoundId = "http://roblox.com/asset?id=145486953"
  1169. local hit = Instance.new("Sound", workspace)
  1170. hit.SoundId = "http://roblox.com/asset?id=178646271"
  1171. local Bleach = Instance.new("Part", char["Left Arm"])
  1172. Bleach.CanCollide = false
  1173. local Mesh = Instance.new("SpecialMesh", Bleach)
  1174. Mesh.MeshId = "http://roblox.com/asset?id=483388971"
  1175. Mesh.Scale = Vector3.new(0.005, 0.005, 0.005)
  1176. Mesh.TextureId = "http://roblox.com/asset?id=520016684"
  1177. local Handy = Instance.new("Weld", Bleach)
  1178. Handy.Part0 = Bleach
  1179. Handy.Part1 = char["Left Arm"]
  1180. Handy.C0 = CFrame.new(0.5,1.8,0)
  1181. Handy.C1 = CFrame.Angles(0,4,1)
  1182. local drink = Instance.new("Sound", char.Head)
  1183. drink.SoundId = "http://roblox.com/asset?id=10722059"
  1184. wait(3)
  1185. game.Chat:Chat(char.Head,"I need to die","Red")
  1186. for i = 1,10 do
  1187. wait()
  1188. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.018,0,0)
  1189. Handy.C0 = Handy.C0 * CFrame.new(-0.05,-0.07,0.09)
  1190. Handy.C0 = Handy.C0 * CFrame.Angles(0.12,0,0)
  1191. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(0.2,0,-0.1)
  1192. end
  1193. drink:Play()
  1194. wait(3.4)
  1195. drink:Stop()
  1196. for i = 1,10 do
  1197. wait()
  1198. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.new(0,-0.50,0)
  1199. char.HumanoidRootPart.RootJoint.C0 = char.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.175,0,0)
  1200. Handy.C0 = Handy.C0 * CFrame.new(0.05,0.07,-0.09)
  1201. Handy.C0 = Handy.C0 * CFrame.Angles(-0.1,0,0)
  1202. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.Angles(-0.15,-0.04,0.2)
  1203. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.05,0.03,0)
  1204. char.Torso["Right Hip"].C0 = char.Torso["Right Hip"].C0 * CFrame.Angles(-0.02,0,0)
  1205. char.Torso["Left Hip"].C0 = char.Torso["Left Hip"].C0 * CFrame.Angles(-0.01,0,0)
  1206. end
  1207. wait(0.01)
  1208. char.Torso.Anchored = true
  1209. char["Left Arm"].Anchored = true
  1210. char["Right Arm"].Anchored = true
  1211. char["Left Leg"].Anchored = true
  1212. char["Right Leg"].Anchored = true
  1213. char.Head.Anchored = true
  1214. hit:Play()
  1215. hit1:Play()
  1216. wait(4)
  1217. local bl00d = Instance.new("Part", char.Head)
  1218. bl00d.Size = Vector3.new(0.1,0.1,0.1)
  1219. bl00d.Rotation = Vector3.new(0,0,-90)
  1220. bl00d.CanCollide = false
  1221. bl00d.Anchored = true
  1222. bl00d.BrickColor = BrickColor.new("Maroon")
  1223. bl00d.Position = char.Head.Position
  1224. bl00d.CFrame = bl00d.CFrame * CFrame.new(0.43,-0.65,0)
  1225. bl00d.Shape = "Cylinder"
  1226. bl00d.Material = "Pebble"
  1227. for i = 1,100 do
  1228. wait()
  1229. bl00d.Size = bl00d.Size + Vector3.new(0,0.05,0.05)
  1230. end
  1231. wait(1)
  1232. char.Humanoid.Health = 0
  1233. end)
  1234. end
  1235. function rape(victim, speaker) -- from rocky2u cmdscript
  1236. spawn(function()
  1237. local P1 = speaker.Character.Torso
  1238. local V1 = _players[victim].Character.Torso
  1239. V1.Parent.Humanoid.PlatformStand = true
  1240. 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'
  1241. 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'
  1242. 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'
  1243. 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'
  1244. 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'
  1245. 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'
  1246. 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)
  1247. local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
  1248. fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
  1249. local D2 = D:Clone() D2.Parent = P1
  1250. fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
  1251. 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)
  1252. fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
  1253. local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
  1254. fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
  1255. local CM = Instance.new('CylinderMesh', C)
  1256. 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)
  1257. local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
  1258. fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
  1259. 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)
  1260. local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
  1261. fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
  1262. 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)
  1263. local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
  1264. fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
  1265. 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)
  1266. local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
  1267. fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
  1268. 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)
  1269. 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)
  1270. 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)
  1271. if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
  1272. WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  1273. local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  1274. end)
  1275. 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)
  1276. end
  1277.  
  1278. addcmd('addalias','Adds an alias to a command',{},
  1279. function(args,speaker)
  1280. if #args < 2 then return end
  1281. local cmd = string.lower(args[1])
  1282. local alias = string.lower(args[2])
  1283. for i,v in pairs(cmds) do
  1284. if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  1285. customAlias[alias] = v
  1286. Notify("Added "..alias.." as an alias to "..cmd)
  1287. updatefile()
  1288. break
  1289. end
  1290. end
  1291. end)
  1292.  
  1293. addcmd('removealias','Removes a custom alias',{},
  1294. function(args,speaker)
  1295. if #args < 1 then return end
  1296. local alias = string.lower(args[1])
  1297. if customAlias[alias] then
  1298. local cmd = customAlias[alias].NAME
  1299. customAlias[alias] = nil
  1300. Notify("Removed the alias "..alias.." from "..cmd)
  1301. updatefile()
  1302. end
  1303. end)
  1304.  
  1305. addcmd('s','runs a script in the chat or cmdbar',{'script'},
  1306. function(args, speaker)
  1307. loadstring(tostring(GLS(false, 0)))()
  1308. end)
  1309.  
  1310. function hub()
  1311. if not game.CoreGui:FindFirstChild('ScriptHub') then
  1312. loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
  1313. addcmd('hub','opens script hub',{'scripts'},
  1314. function(args, speaker)
  1315. if speaker.userId ~= LP.userId then
  1316. lponly(speaker) else
  1317. hub()
  1318. end end)
  1319.  
  1320. addcmd('ff','gives ff to player',{},
  1321. function(args, speaker)
  1322. local players = getPlayer(args[1], speaker)
  1323. for i,v in pairs(players)do
  1324. local pchar=_char(v)
  1325. Instance.new("ForceField", pchar)
  1326. end
  1327. end)
  1328.  
  1329.  
  1330. addcmd('invisibleff','gives invisible ff to player',{'invisff'},
  1331. function(args, speaker)
  1332. local players = getPlayer(args[1], speaker)
  1333. for i,v in pairs(players)do
  1334. local pchar=_char(v)
  1335. local invisff = Instance.new("ForceField", pchar)
  1336. invisff.Visible = false
  1337. end
  1338. end)
  1339.  
  1340. addcmd('rocket','attaches a player to a rocket',{'missile'},
  1341. function(args, speaker)
  1342. local players = getPlayer(args[1], speaker)
  1343. for i,v in pairs(players)do
  1344. local pchar=_char(v)
  1345. spawn(function()
  1346. local m = missile:Clone()
  1347. m.Parent = workspace
  1348. local W = Instance.new('Weld', m)
  1349. W.Part0 = W.Parent
  1350. W.Part1 = pchar.HumanoidRootPart
  1351. W.C1 = CFrame.new(0, 0.5, 1)
  1352. m.force.Force = Vector3.new(0, 15000, 0)
  1353. wait(0.01)
  1354. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
  1355. wait(5)
  1356. Instance.new('Explosion', m).Position = m.Position
  1357. wait(0.01)
  1358. pchar:BreakJoints()
  1359. wait(1)
  1360. m:destroy()
  1361. end)
  1362. end
  1363. end)
  1364.  
  1365. addcmd('rejoin','makes you rejoin the game',{'rj'},
  1366. function(args, speaker)
  1367. if speaker.userId ~= LP.userId then
  1368. lponly(speaker)
  1369. else
  1370. game:GetService('TeleportService'):Teleport(game.PlaceId)
  1371. end
  1372. end)
  1373.  
  1374. addcmd('unff', 'takes away ff from player',{'noff'},
  1375. function(args, speaker)
  1376. local players = getPlayer(args[1], speaker)
  1377. for i,v in pairs(players)do
  1378. local pchar=_char(v)
  1379. for j,v1 in pairs(pchar:GetChildren()) do
  1380. if v1:IsA("ForceField") then
  1381. v1:Destroy()
  1382. end
  1383. end
  1384. end
  1385. end)
  1386.  
  1387. addcmd('insert', 'inserts a model',{'ins'},
  1388. function(args, speaker)
  1389. local modelid = args[1]
  1390. local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. modelid)
  1391. model.Parent = workspace
  1392. model.Name = "IYmodel"
  1393. model:MakeJoints()
  1394. model:MoveTo(speaker.Character.HumanoidRootPart.Position)
  1395. local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
  1396. Notify('Inserted ' .. Asset.Name)
  1397. end)
  1398.  
  1399. addcmd('car', 'inserts a car',{'vehicle'},
  1400. function(args, speaker)
  1401. local players = getPlayer(args[1], speaker)
  1402. for i,v in pairs(players)do
  1403. spawn(function()
  1404. local pchar=_char(v)
  1405. local model = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01172688590")
  1406. model.Parent = workspace
  1407. model:MakeJoints()
  1408. model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0))
  1409. model.Name = "IYcar" .. gPlayers[v].Name wait(0.2)
  1410. for _, child in pairs( model:GetChildren()) do
  1411. if child.ClassName == "Part" then
  1412. child.Anchored = true
  1413. wait(1)
  1414. child.Anchored = false
  1415. end end end) end end)
  1416.  
  1417. addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
  1418. function(args, speaker)
  1419. local players = getPlayer(args[1], speaker)
  1420. for i,v in pairs(players)do
  1421. for _, child in pairs( workspace:GetChildren()) do
  1422. if child.Name == "IYcar" .. gPlayers[v].Name then
  1423. child:Destroy()
  1424. end
  1425. end
  1426. end
  1427. end)
  1428.  
  1429. addcmd('team','team [plr] [team]',{},
  1430. function(args, speaker)
  1431. local players = getPlayer(args[1], speaker)
  1432. local teamname = nil
  1433. for i,v in pairs(players)do
  1434. 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
  1435. _players[v].Team = teamname
  1436. end
  1437. end)
  1438.  
  1439. addcmd('maxzoom','maximum camera zoom',{},
  1440. function(args, speaker)
  1441. local players = getPlayer(args[1], speaker)
  1442. for i,v in pairs(players)do
  1443. _players[v].CameraMaxZoomDistance = args[2]
  1444. end
  1445. end)
  1446.  
  1447. function spawnrain(mesh,texture)
  1448. spawn(function()
  1449. for i,v in pairs(gPlayers:GetChildren()) do
  1450. if v.Character ~= nil and v.Character:FindFirstChild('HumanoidRootPart') then
  1451. if raining == true then
  1452. local rain = Instance.new("Part",workspace)
  1453. rain.CanCollide = true
  1454. local m = Instance.new("SpecialMesh",rain)
  1455. m.MeshId = "http://www.roblox.com/asset/?id="..mesh
  1456. m.TextureId = "http://www.roblox.com/asset/?id="..texture
  1457. rain.CFrame = v.Character.HumanoidRootPart.CFrame + Vector3.new(math.random(-250,250),100,math.random(-250,250))
  1458. wait(5) rain:Destroy()
  1459. end
  1460. end
  1461. end
  1462. end)
  1463. end
  1464.  
  1465. raining = false
  1466. addcmd('rain','make it rain a mesh',{},
  1467. function(args, speaker)
  1468. raining = true
  1469. repeat
  1470. wait(0.5)
  1471. spawnrain(args[1],args[2])
  1472. until raining == false
  1473. end)
  1474.  
  1475. addcmd('norain','make it rain a mesh',{'unrain'},
  1476. function(args, speaker)
  1477. raining = false
  1478. end)
  1479.  
  1480. local rad = math.rad
  1481. addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh
  1482. function(args, speaker)
  1483. for i = 1,args[1] do
  1484. wait()
  1485. local function ear(instance)
  1486. for i,v in pairs(instance:GetChildren())do
  1487. if v:IsA("Part") then
  1488. if v.Size.x > 1 then
  1489. 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])))
  1490. end end ear(v) end end ear(workspace)
  1491. end
  1492. end)
  1493.  
  1494. addcmd('cape','Gives the target player(s) a cape',{},
  1495. function(args, speaker)
  1496. local players = getPlayer(args[1], speaker)
  1497. for i,v in pairs(players)do
  1498. spawn(function()
  1499. if _char(v):FindFirstChild("Humanoid") then
  1500. local plr = _players[v]
  1501. repeat wait() until plr and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")
  1502. local torso = plr.Character.HumanoidRootPart
  1503. local p = Instance.new("Part", torso.Parent) p.Name = "IYcape" p.Anchored = false
  1504. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0
  1505. if not args[2] then
  1506. p.Color = Color3.new(0,0,0)
  1507. p.Color = Color3.new(0,0,0) else
  1508. p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1509. p.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
  1510. p.formFactor = "Custom"
  1511. p.Size = Vector3.new(.2,.2,.2)
  1512. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1513. local motor1 = Instance.new("Motor", p)
  1514. motor1.Part0 = p
  1515. motor1.Part1 = torso
  1516. motor1.MaxVelocity = .01
  1517. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1518. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1519. local wave = false
  1520. repeat wait(1/44)
  1521. local ang = 0.1
  1522. local oldmag = torso.Velocity.magnitude
  1523. local mv = .002
  1524. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1525. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1526. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1527. motor1.DesiredAngle = -ang
  1528. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1529. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1530. if torso.Velocity.magnitude < .1 then wait(.1) end
  1531. until not p or p.Parent ~= torso.Parent
  1532. end
  1533. end)
  1534. end
  1535. end)
  1536.  
  1537. addcmd('uncape','Removes cape',{'nocape'},
  1538. function(args, speaker)
  1539. local players = getPlayer(args[1], speaker)
  1540. for i,v in pairs(players)do
  1541. local pchar=_char(v)
  1542. for _, child in pairs( pchar:GetChildren()) do
  1543. if child.Name == "IYcape" then
  1544. child:Destroy() end end
  1545. end
  1546. end)
  1547.  
  1548. addcmd('spasm','makes someone c r a z y',{},
  1549. function(args, speaker)
  1550. local players = getPlayer(args[1], speaker)
  1551. for i,v in pairs(players)do
  1552. local pchar=_char(v)
  1553. local AnimationId = "33796059"
  1554. local Anim = Instance.new("Animation")
  1555. Anim.AnimationId = "rbxassetid://"..AnimationId
  1556. local k = pchar.Humanoid:LoadAnimation(Anim)
  1557. k:Play()
  1558. k:AdjustSpeed(99)
  1559. end
  1560. end)
  1561.  
  1562. addcmd('plrsound','creates a sound inside of someone',{'playersound'},
  1563. function(args, speaker)
  1564. local players = getPlayer(args[1], speaker)
  1565. for i,v in pairs(players)do
  1566. if not args[1] and args[2] then return end
  1567. local pchar=_char(v)
  1568. for _, child in pairs( pchar:GetDescendants()) do
  1569. if child.ClassName == "Sound" then
  1570. child:Destroy() end end
  1571. local s = Instance.new("Sound")
  1572. s.Name = "IYplrsound"
  1573. s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
  1574. s.Volume = 1
  1575. s.Pitch = 1
  1576. s.Looped = true
  1577. s.archivable = true
  1578. s.Parent = pchar.HumanoidRootPart
  1579. s:Play()
  1580. end
  1581. end)
  1582.  
  1583. addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
  1584. function(args, speaker)
  1585. local players = getPlayer(args[1], speaker)
  1586. for i,v in pairs(players)do
  1587. if not args[1] then return end
  1588. local pchar=_char(v)
  1589. for _, child in pairs( pchar:GetDescendants()) do
  1590. if child.ClassName == "Sound" then
  1591. child:Destroy() end end
  1592. end
  1593. end)
  1594.  
  1595. addcmd('fly','makes you fly',{},
  1596. function(args, speaker)
  1597. if speaker.userId ~= LP.userId then
  1598. lponly(speaker)
  1599. else
  1600. sFLY()
  1601. end
  1602. end)
  1603.  
  1604. addcmd('flyspeed','set the fly speed',{'flysp'},
  1605. function(args, speaker)
  1606. if speaker.userId ~= LP.userId then
  1607. lponly(speaker)
  1608. else
  1609. if isNumber(args[1]) then
  1610. iyflyspeed = args[1]
  1611. end end end)
  1612.  
  1613. addcmd('unfly','takes away fly',{'nofly'},
  1614. function(args, speaker)
  1615. if speaker.userId ~= LP.userId then
  1616. lponly(speaker)
  1617. else
  1618. NOFLY()
  1619. end
  1620. end)
  1621.  
  1622. addcmd('exit','kills roblox process',{},
  1623. function(args, speaker)
  1624. if speaker.userId ~= LP.userId then
  1625. lponly(speaker)
  1626. else
  1627. game:shutdown()
  1628. end
  1629. end)
  1630.  
  1631. addcmd('fire', 'set a player on fire',{},
  1632. function(args, speaker)
  1633. local players = getPlayer(args[1], speaker)
  1634. for i,v in pairs(players)do
  1635. spawn(function()
  1636. local pchar=_char(v)
  1637. local Fire1 = Instance.new("Fire", pchar.Head)
  1638. local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
  1639. local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1640. local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1641. local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1642. local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1643. if not args[2] then return end
  1644. Fire1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1645. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1646. Fire2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1647. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1648. Fire3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1649. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1650. Fire4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1651. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1652. Fire5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1653. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1654. Fire6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1655. Fire6.SecondaryColor = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1656. end)
  1657. end
  1658. end)
  1659.  
  1660. addcmd('esp', 'view a player and a players status',{},
  1661. function(args, speaker)
  1662. if speaker.userId ~= LP.userId then
  1663. lponly(speaker)
  1664. else
  1665. local players = getPlayer(args[1], speaker)
  1666. for i,v in pairs(players)do
  1667. spawn(function()
  1668. for _, child in pairs( game["CoreGui"]:GetChildren()) do
  1669. if child.Name == gPlayers[v].Name then
  1670. child:Destroy()
  1671. end end wait(0.5)
  1672. local m = game["Players"].LocalPlayer:GetMouse()
  1673. local rs = game:GetService("RunService").RenderStepped
  1674. local espplr = gPlayers[v]
  1675. if espplr.Character and espplr.Name ~= _players.LocalPlayer.Name then
  1676. for b,n in pairs (espplr.Character:GetChildren()) do
  1677. if (n:IsA("BasePart")) then
  1678. local a = Instance.new("BoxHandleAdornment", game.CoreGui)
  1679. a.Name = espplr.Name
  1680. a.Adornee = n
  1681. a.AlwaysOnTop = true
  1682. a.ZIndex = 0
  1683. a.Size = n.Size
  1684. a.Transparency = 0.7
  1685. if espplr.TeamColor == _players.LocalPlayer.TeamColor then
  1686. a.Color = BrickColor.new("Lime green")
  1687. else
  1688. a.Color = BrickColor.new("Really red")
  1689. end
  1690. if espplr.Character and espplr.Character:FindFirstChild('Head') then
  1691. local BillboardGui = Instance.new("BillboardGui", game.CoreGui)
  1692. local TextLabel = Instance.new("TextLabel")
  1693. BillboardGui.Adornee = espplr.Character.Head
  1694. BillboardGui.Name = espplr.Name
  1695. BillboardGui.Size = UDim2.new(0, 100, 0, 150)
  1696. BillboardGui.StudsOffset = Vector3.new(0, 1, 0)
  1697. BillboardGui.AlwaysOnTop = true
  1698. TextLabel.Parent = BillboardGui
  1699. TextLabel.BackgroundTransparency = 1
  1700. TextLabel.Position = UDim2.new(0, 0, 0, -50)
  1701. TextLabel.Size = UDim2.new(0, 100, 0, 100)
  1702. TextLabel.Font = Enum.Font.SourceSansSemibold
  1703. TextLabel.TextSize = 20
  1704. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  1705. TextLabel.TextStrokeTransparency = 0
  1706. TextLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  1707. espplr.Character.Humanoid.Died:connect(function()
  1708. BillboardGui:Destroy() a:Destroy() end)
  1709. _players.PlayerRemoving:connect(function(player)
  1710. if player.Name == espplr.Name then
  1711. BillboardGui:Destroy() a:Destroy()
  1712. end end)
  1713. game:GetService("RunService").RenderStepped:Connect(function()
  1714. if espplr.Character and espplr.Character:FindFirstChild('HumanoidRootPart') and espplr.Character:FindFirstChild('Humanoid') and game.CoreGui:FindFirstChild(espplr.Name) then
  1715. local pos = math.floor((_players.LocalPlayer.Character.HumanoidRootPart.Position - espplr.Character.HumanoidRootPart.Position).magnitude)
  1716. TextLabel.Text = 'Name: '..espplr.Name..' | Health: '..espplr.Character.Humanoid.Health..' | Studs: '..pos end end)
  1717. end
  1718. end
  1719. end
  1720. end
  1721. end)
  1722. end
  1723. end
  1724. end)
  1725.  
  1726. addcmd('noesp', 'removes esp',{'unesp'},
  1727. function(args, speaker)
  1728. if speaker.userId ~= LP.userId then
  1729. lponly(speaker)
  1730. else
  1731. local players = getPlayer(args[1], speaker)
  1732. for i,v in pairs(players)do
  1733. spawn(function()
  1734. for _, child in pairs( game["CoreGui"]:GetChildren()) do
  1735. if child.Name == gPlayers[v].Name then
  1736. child:Destroy()
  1737. end
  1738. end end) end end end)
  1739.  
  1740. addcmd('nofire', 'extinguish a player',{'unfire'},
  1741. function(args, speaker)
  1742. local players = getPlayer(args[1], speaker)
  1743. for i,v in pairs(players)do
  1744. local pchar=_char(v)
  1745. for j,v1 in pairs(pchar:GetDescendants()) do
  1746. if v1:IsA("Fire") then
  1747. v1:Destroy()
  1748. end end end end)
  1749.  
  1750. addcmd('shiny', 'makes a player shine',{},
  1751. function(args, speaker)
  1752. local players = getPlayer(args[1], speaker)
  1753. for i,v in pairs(players)do
  1754. spawn(function()
  1755. local pchar=_char(v)
  1756. for i,v in pairs(pchar:GetChildren()) do
  1757. if v.ClassName == "Decal" or v.ClassName == "Texture" then
  1758. v:Destroy() end
  1759. if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
  1760. v.Reflectance = 1
  1761. v.Material = "Plastic"
  1762. end
  1763. end
  1764. end)
  1765. end
  1766. end)
  1767.  
  1768. addcmd('light', 'givs em light',{},
  1769. function(args, speaker)
  1770. local players = getPlayer(args[1], speaker)
  1771. for i,v in pairs(players)do
  1772. spawn(function()
  1773. local pchar=_char(v)
  1774. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1775. if v1:IsA("PointLight") then
  1776. v1:Destroy()
  1777. end
  1778. end
  1779. local light = Instance.new("PointLight", pchar.HumanoidRootPart)
  1780. light.Range = 12
  1781. light.Brightness = 3
  1782. if not args[2] then return end
  1783. light.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1784. light.Range = 12
  1785. light.Brightness = 3
  1786. end)
  1787. end
  1788. end)
  1789.  
  1790. bottle = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01422895508")
  1791. addcmd('begone', 'BEGONE THOT',{'thot'},
  1792. function(args, speaker)
  1793. local players = getPlayer(args[1], speaker)
  1794. for i,v in pairs(players)do
  1795. spawn(function()
  1796. local thotbottle = bottle:Clone()
  1797. local pchar=_char(v)
  1798. thotbottle.Name = 'THOT BEGONE'
  1799. thotbottle.Handle:Destroy()
  1800. execCmd('freeze '..gPlayers[v].Name)
  1801. execCmd('name '..gPlayers[v].Name..' THOT')
  1802. execCmd('spasm '..gPlayers[v].Name)
  1803. thotbottle.Parent = pchar
  1804. thotbottle:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(0, 0, 7))
  1805. local cf = pchar.HumanoidRootPart.CFrame
  1806. local newcf = cf + cf.lookVector * 6
  1807. thotbottle.Head.CFrame = newcf
  1808. local s = Instance.new("Sound")
  1809. s.Name = "BEGONE"
  1810. s.SoundId = "http://www.roblox.com/asset/?id=1095911222"
  1811. s.Volume = 10
  1812. s.Parent = thotbottle
  1813. s:play()
  1814. local d = Instance.new("Sound")
  1815. d.Name = "WuOOOH"
  1816. d.SoundId = "http://www.roblox.com/asset/?id=253143032"
  1817. d.Volume = 5
  1818. d.Parent = pchar
  1819. wait(4)
  1820. if gPlayers[v] then
  1821. execCmd('thaw '..gPlayers[v].Name)
  1822. execCmd('fling '..gPlayers[v].Name)
  1823. thotbottle:Destroy()
  1824. d:play()
  1825. end if gPlayers[v] then
  1826. wait(3)
  1827. execCmd('explode '..gPlayers[v].Name)
  1828. pchar:BreakJoints() end
  1829. end)
  1830. end
  1831. end)
  1832.  
  1833. addcmd('glowstick', 'givs em glo stik',{},
  1834. function(args, speaker)
  1835. local players = getPlayer(args[1], speaker)
  1836. for i,v in pairs(players)do
  1837. spawn(function()
  1838. System = {}
  1839. System.Create = function(a, c)
  1840. local e = Instance.new(a)
  1841. for d, a in pairs(c) do
  1842. local b, a = ypcall(function()
  1843. return e[d]
  1844. end)
  1845. if b then
  1846. e[d] = c[d]
  1847. end
  1848. end
  1849. return e
  1850. end
  1851. function b(d, b)
  1852. local c = getfenv(d)
  1853. local a = setmetatable({}, {
  1854. __index = function(a, a)
  1855. if a:lower() == 'script' then
  1856. return b
  1857. else
  1858. return c[a]
  1859. end
  1860. end
  1861. })
  1862. setfenv(d, a)
  1863. ypcall(function()
  1864. d()
  1865. end)
  1866. end
  1867. c = {}
  1868. mas = Instance.new("Model",game:GetService("Lighting"))
  1869. mas.Name = "CompiledModel"
  1870. o1 = System.Create("Tool",{
  1871. ["Name"] = "Glow Stick",
  1872. ["Parent"] = mas,
  1873. ["GripPos"] = Vector3.new(0, -0.300000012, 0),
  1874. ["CanBeDropped"] = false,
  1875. })
  1876. o2 = System.Create("Part",{
  1877. ["Name"] = "Handle",
  1878. ["Parent"] = o1,
  1879. ["Transparency"] = 0.10000000149012,
  1880. ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
  1881. ["Rotation"] = Vector3.new(-180, 0, 0),
  1882. ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1883. ["FormFactor"] = Enum.FormFactor.Custom,
  1884. ["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
  1885. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1886. ["TopSurface"] = Enum.SurfaceType.Weld,
  1887. ["Material"] = "Neon",
  1888. })
  1889. o3 = System.Create("PointLight",{
  1890. ["Parent"] = o2,
  1891. ["Brightness"] = 8,
  1892. ["Range"] = 14,
  1893. })
  1894. o4 = System.Create("CylinderMesh",{
  1895. ["Parent"] = o2,
  1896. })
  1897. if not args[2] then
  1898. o2.Color = Color3.new(1,1,1)
  1899. o3.Color = Color3.new(1,1,1) else
  1900. o2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  1901. o3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4])) end
  1902. mas.Parent = workspace
  1903. mas:MakeJoints()
  1904. local b = mas:GetChildren()
  1905. for a = 1, #b do
  1906. b[a].Parent = gPlayers[v].Backpack
  1907. ypcall(function()
  1908. b[a]:MakeJoints()
  1909. end)
  1910. end
  1911. mas:Destroy()
  1912. for a = 1, #c do
  1913. coroutine.resume(c[a])
  1914. end
  1915. end)
  1916. end
  1917. end)
  1918.  
  1919. addcmd('keybind','Binds a command to a key',{},
  1920. function(args,speaker)
  1921. if speaker.userId ~= LP.userId then
  1922. lponly(speaker) else
  1923. if #args < 2 then return end
  1924. local key = string.lower(args[1])
  1925. if #key > 1 or key == cmdbarbind then return end
  1926. local cmdText = GLS(false,1)
  1927. local cas = game:GetService("ContextActionService")
  1928. cas:BindAction("Keybind"..key,function(action,state,obj)
  1929. if state == Enum.UserInputState.Begin then
  1930. execCmd(cmdText,speaker)
  1931. end
  1932. end,false,key)
  1933. Notify("Binded "..cmdText.." to "..key)
  1934. end
  1935. end)
  1936.  
  1937. addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
  1938. function(args,speaker)
  1939. if speaker.userId ~= LP.userId then
  1940. lponly(speaker) else
  1941. if #args < 1 then return end
  1942. local key = string.lower(args[1])
  1943. game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
  1944. Notify("Unbinded "..key)
  1945. end
  1946. end)
  1947.  
  1948. addcmd('trail', 'spawns a trail behind a player',{},
  1949. function(args, speaker)
  1950. local players = getPlayer(args[1], speaker)
  1951. for i,v in pairs(players)do
  1952. spawn(function()
  1953. local pchar=_char(v)
  1954. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1955. if v1.Name == "TRAIL" then
  1956. v1:Destroy()
  1957. end
  1958. end
  1959. if args[2] then
  1960. color1 = Color3.fromRGB(args[2],args[3],args[4])
  1961. color2 = Color3.new(0,0,0) else
  1962. color1 = Color3.new(1,1,1)
  1963. color2 = Color3.new(0,0,0) end
  1964. if pchar:FindFirstChild("Torso") then
  1965. local e = Instance.new("Trail", pchar.Torso)
  1966. e.Name = "TRAIL"
  1967. e.FaceCamera = true
  1968. e.Color = ColorSequence.new(color1,color2)
  1969. e.Attachment0 = pchar.Torso.WaistCenterAttachment
  1970. e.Attachment1 = pchar.Torso.NeckAttachment
  1971. end
  1972. end)
  1973. end
  1974. end)
  1975.  
  1976. addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
  1977. function(args, speaker)
  1978. local players = getPlayer(args[1], speaker)
  1979. for i,v in pairs(players)do
  1980. spawn(function()
  1981. local pchar=_char(v)
  1982. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1983. if v1.Name == "TRAIL" then
  1984. v1:Destroy()
  1985. end
  1986. end
  1987. end)
  1988. end
  1989. end)
  1990.  
  1991. local fa = false
  1992. local cam = workspace.CurrentCamera
  1993. local cam1 = 0
  1994. local cam2 = 0
  1995. local cam3 = 0
  1996. local k1 = false
  1997. local k2 = false
  1998. local k3 = false
  1999. local k4 = false
  2000. local k5 = false
  2001. local k6 = false
  2002. local cs = 0.5
  2003. function movecam()
  2004. local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  2005. if fa == false then
  2006. repeat
  2007. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2008. local fp = fc.Position
  2009. fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  2010. fa = true
  2011. end
  2012. game:GetService('RunService').RenderStepped:Wait()
  2013. until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  2014. fa = false
  2015. end
  2016. end
  2017. function kp1(inputObject, gameProcessedEvent)
  2018. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2019. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  2020. k1 = true
  2021. cam1 = cs end
  2022. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  2023. k2 = true
  2024. cam1 = (cs*-1) end
  2025. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  2026. k3 = true
  2027. cam2 = cs end
  2028. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  2029. k4 = true
  2030. cam2 = (cs*-1) end
  2031. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  2032. k5 = true
  2033. cam3 = cs end
  2034. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  2035. k6 = true
  2036. cam3 = (cs*-1) end
  2037. end
  2038. end
  2039. game:GetService("UserInputService").InputBegan:connect(kp1)
  2040. function kp2(inputObject, gameProcessedEvent)
  2041. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2042. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  2043. k1 = false
  2044. if k2 == false then
  2045. cam1 = 0
  2046. end
  2047. end
  2048. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  2049. k2 = false
  2050. if k1 == false then
  2051. cam1 = 0
  2052. end
  2053. end
  2054. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  2055. k3= false
  2056. if k4== false then
  2057. cam2 = 0
  2058. end
  2059. end
  2060. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  2061. k4 = false
  2062. if k3 == false then
  2063. cam2 = 0
  2064. end
  2065. end
  2066. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  2067. k5 = false
  2068. if k6 == false then
  2069. cam3 = 0
  2070. end
  2071. end
  2072. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  2073. k6 = false
  2074. if k5 == false then
  2075. cam3 = 0
  2076. end
  2077. end
  2078. end
  2079. end
  2080. game:GetService("UserInputService").InputEnded:connect(kp2)
  2081. function FC()
  2082. if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2083. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  2084. local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  2085. fc.CanCollide = false
  2086. fc.Anchored = true
  2087. fc.Transparency = 1
  2088. fc.Size = Vector3.new(1,1,1)
  2089. fc.Name = 'xFC'
  2090. fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  2091. local cam = workspace.CurrentCamera
  2092. cam.CameraSubject = fc
  2093. cam.CameraType = 'Custom'
  2094. movecam()
  2095. end end
  2096. function UFC()
  2097. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  2098. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  2099. game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  2100. local cam = workspace.CurrentCamera
  2101. cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  2102. cam.CameraType = 'Custom'
  2103. end end
  2104.  
  2105. addcmd('freecam','freecam',{'fc'},
  2106. function(args, speaker)
  2107. if speaker.userId ~= LP.userId then
  2108. lponly(speaker)
  2109. else
  2110. FC()
  2111. end
  2112. end)
  2113.  
  2114. addcmd('fixcam','fixes camera',{},
  2115. function(args, speaker)
  2116. if speaker.userId ~= LP.userId then
  2117. lponly(speaker)
  2118. else
  2119. workspace.CurrentCamera:remove()
  2120. wait(.1)
  2121. workspace.CurrentCamera.CameraSubject = LP.Character.Humanoid
  2122. workspace.CurrentCamera.CameraType = "Custom"
  2123. LP.CameraMinZoomDistance = 0.5
  2124. LP.CameraMaxZoomDistance = 400
  2125. LP.CameraMode = "Classic"
  2126. end
  2127. end)
  2128.  
  2129. addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
  2130. function(args, speaker)
  2131. local players = getPlayer(args[1], speaker)
  2132. for i,v in pairs(players)do
  2133. local pchar=_char(v)
  2134. local char = pchar
  2135. local hum = char.Humanoid
  2136. for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
  2137. hum.HealthDisplayDistance = 0
  2138. --execcmd god
  2139. local stake = Instance.new("Part",char)
  2140. stake.Anchored = true
  2141. stake.BrickColor = BrickColor.new("Reddish brown")
  2142. stake.Material = "Wood"
  2143. stake.Size = Vector3.new(1,7,1)
  2144. stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
  2145. local hay = Instance.new("Part",char)
  2146. hay.Anchored = true
  2147. hay.Material = "Grass"
  2148. hay.BrickColor = BrickColor.new("New Yeller")
  2149. hay.Size = Vector3.new(6,1,5)
  2150. hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
  2151. local hay2 = hay:clone()
  2152. hay2.Parent = char
  2153. hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
  2154. local fire = Instance.new("Fire",hay)
  2155. fire.Enabled = false
  2156. fire.Heat = 25
  2157. fire.Size = 2
  2158. fire.Color = Color3.new(170/255,85/255,0)
  2159. local smoke = Instance.new("Smoke",hay)
  2160. smoke.Enabled = false
  2161. smoke.Opacity = 1
  2162. smoke.RiseVelocity = 25
  2163. smoke.Size = 15
  2164. smoke.Color = Color3.new(0,0,0)
  2165. local light = Instance.new("PointLight",hay)
  2166. light.Color = Color3.new(170/255,85/255,0)
  2167. light.Range = 0
  2168. light.Brightness = 1
  2169. light.Enabled = false
  2170. --[[]]
  2171. local crack = Instance.new("Sound",hay)
  2172. crack.SoundId = "rbxassetid://239443642"
  2173. crack.Looped = true
  2174. crack.Volume = 0
  2175. local scream = Instance.new("Sound",char.Torso)
  2176. scream.SoundId = "rbxassetid://264227115"
  2177. scream.Looped = true
  2178. scream.Volume = 0
  2179. --]]
  2180. wait()
  2181. char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
  2182. char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
  2183.  
  2184. local bods = char['Body Colors']
  2185. local colors = {
  2186. --"Really red";
  2187. "Bright red";
  2188. "Crimson";
  2189. "Maroon";
  2190. "Really black";
  2191. }
  2192.  
  2193. fire.Enabled=true
  2194. smoke.Enabled=true
  2195. light.Enabled=true
  2196. crack:Play()
  2197. scream:Play()
  2198. scream.Pitch = 0.8
  2199. --scream.Volume = 0.5
  2200. for i=1,30 do
  2201. crack.Volume = crack.Volume+(1/30)
  2202. scream.Volume = crack.Volume
  2203. fire.Size=i
  2204. smoke.RiseVelocity=i-5
  2205. smoke.Size=i/2
  2206. light.Range=i*2
  2207. wait(1)
  2208. end
  2209.  
  2210. for i=1,#colors do
  2211. bods.HeadColor=BrickColor.new(colors[i])
  2212. bods.LeftArmColor=BrickColor.new(colors[i])
  2213. bods.LeftLegColor=BrickColor.new(colors[i])
  2214. bods.RightArmColor=BrickColor.new(colors[i])
  2215. bods.RightLegColor=BrickColor.new(colors[i])
  2216. bods.TorsoColor=BrickColor.new(colors[i])
  2217. hay.BrickColor=BrickColor.new(colors[i])
  2218. hay2.BrickColor=BrickColor.new(colors[i])
  2219. stake.BrickColor=BrickColor.new(colors[i])
  2220. wait(5)
  2221. end
  2222. wait(10)
  2223. scream.Volume = 0.5
  2224. wait(1)
  2225. scream:Stop()
  2226. char:BreakJoints()
  2227. end
  2228. end)
  2229.  
  2230. addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
  2231. function(args, speaker)
  2232. if speaker.userId ~= LP.userId then
  2233. lponly(speaker)
  2234. else
  2235. UFC()
  2236. end
  2237. end)
  2238.  
  2239. addcmd('nolight', 'no more light',{'unlight'},
  2240. function(args, speaker)
  2241. local players = getPlayer(args[1], speaker)
  2242. for i,v in pairs(players)do
  2243. local pchar=_char(v)
  2244. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  2245. if v1:IsA("PointLight") then
  2246. v1:Destroy()
  2247. end
  2248. end
  2249. end
  2250. end)
  2251.  
  2252. addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
  2253. function(args, speaker)
  2254. local players = getPlayer(args[1], speaker)
  2255. for i,v in pairs(players)do
  2256. local pchar=_char(v)
  2257. scale = 10
  2258.  
  2259. function weld(tab)
  2260. local last = nil
  2261. for i,v in pairs(tab) do
  2262. if v:IsA("BasePart") then
  2263. if last then
  2264. local w = Instance.new("Weld",last)
  2265. w.Part0 = w.Parent
  2266. w.Part1 = v
  2267. local pos = last.CFrame:toObjectSpace(v.CFrame)
  2268. w.C0 = pos
  2269. end
  2270. last = v
  2271. end
  2272. end
  2273. end
  2274.  
  2275. function makeball(pos)
  2276. local model = Instance.new("Model",workspace)
  2277. model.Name = gPlayers[v].Name .. "ball"
  2278. local rand = BrickColor.Random()
  2279. pchar.Head.Anchored = true
  2280. for i=0,340,20 do
  2281. wait()
  2282. for z=-90,70,20 do
  2283. local p = Instance.new("Part",model)
  2284. p.formFactor = "Custom"
  2285. p.BrickColor = rand
  2286. p.Transparency = 0.5
  2287. p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  2288. p.Anchored = true
  2289. p.TopSurface = 0
  2290. p.BottomSurface = 0
  2291. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  2292. p:breakJoints()
  2293. end
  2294. end
  2295. weld(model:children())
  2296. for i,v in pairs(model:children()) do v.Anchored = false end
  2297. pchar.Head.Anchored = false
  2298. model:MakeJoints()
  2299. end
  2300.  
  2301. if pchar then
  2302. makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
  2303. end
  2304. end
  2305. end)
  2306.  
  2307. addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
  2308. function(args, speaker)
  2309. local players = getPlayer(args[1], speaker)
  2310. for i,v in pairs(players)do
  2311. local pchar=_char(v)
  2312. for _, child in pairs( workspace:GetChildren()) do
  2313. if child.Name == gPlayers[v].Name .. "ball" then
  2314. child:Destroy()
  2315. end
  2316. end
  2317. end
  2318. end)
  2319.  
  2320. local car = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
  2321.  
  2322. local fastwait = function(time)
  2323. local expire = tick()+(time or 0.02999999999999999889)
  2324. while game:GetService("RunService").Heartbeat:wait() do
  2325. if tick() >= expire then return true end
  2326. end
  2327. end
  2328.  
  2329. function arrest(name)
  2330. spawn(function()
  2331. local p = game:GetService("Players"):FindFirstChild(name)
  2332. local char = p.Character
  2333. local torso = p.Character:FindFirstChild("HumanoidRootPart")
  2334. local humanoid = p.Character:FindFirstChild("Humanoid")
  2335. if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
  2336. local van = car:Clone()
  2337. if van then
  2338. local function check()
  2339. 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
  2340. return false
  2341. else
  2342. return true
  2343. end
  2344. end
  2345.  
  2346. --local driver = van.Driver
  2347. --local grabber = van.Clown
  2348. local primary = van.Primary
  2349. --local door = van.Door
  2350. local tPos = torso.CFrame
  2351.  
  2352. local sound = Instance.new("Sound",primary)
  2353. sound.SoundId = "rbxassetid://258529216"
  2354. sound.Looped = true
  2355. sound:Play()
  2356.  
  2357. local chuckle = Instance.new("Sound",primary)
  2358. chuckle.SoundId = "rbxassetid://175964948"
  2359. chuckle.Looped = true
  2360. chuckle.Volume = 0.5
  2361. chuckle:Play()
  2362.  
  2363. van.PrimaryPart = van.Primary
  2364. van.Name = "ADONIS_VAN"
  2365. van.Parent = workspace
  2366. humanoid.Name = "NoResetForYou"
  2367. humanoid.WalkSpeed = 0
  2368. sound.Pitch = 1.3
  2369.  
  2370. local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
  2371. music.Name = "COPSONG"
  2372. music.SoundId = "rbxassetid://132007810"
  2373. music.Volume = 1
  2374. music.Looped = true
  2375. if not music.Playing then music:Play() end
  2376.  
  2377. spawn(function()
  2378. while fastwait(0.2) do
  2379. van.Body.Lightbar.Red.PointLight.Enabled = true
  2380. van.Body.Lightbar.Blue.PointLight.Enabled = false
  2381. fastwait(0.2)
  2382. van.Body.Lightbar.Red.PointLight.Enabled = false
  2383. van.Body.Lightbar.Blue.PointLight.Enabled = true
  2384. end
  2385. end)
  2386.  
  2387. for i = 1,200 do
  2388. if not check() then
  2389. break
  2390. else
  2391. van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2392. fastwait(0.001*(i/5))
  2393. end
  2394. end
  2395.  
  2396. sound.Pitch = 0.9
  2397.  
  2398. fastwait(0.5)
  2399. if check() then
  2400. --door.Transparency = 1
  2401. end
  2402.  
  2403. local freeze = Instance.new("Sound",primary)
  2404. freeze.SoundId = "rbxassetid://163732279"
  2405. freeze.Volume = 5
  2406. freeze:Play()
  2407.  
  2408. fastwait(3)
  2409.  
  2410. if check() then
  2411. torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
  2412. end
  2413.  
  2414. fastwait(0.5)
  2415. if check() then
  2416. --door.Transparency = 0
  2417. end
  2418. fastwait(0.5)
  2419.  
  2420. sound.Pitch = 1.3
  2421. local gui = Instance.new("ScreenGui")
  2422. local frame = Instance.new("Frame",gui)
  2423. frame.BackgroundTransparency = 1
  2424. frame.BackgroundColor3 = Color3.new(0,0,0)
  2425. frame.Position = UDim2.new(0,0,0,-36)
  2426. frame.Size = UDim2.new(1,0,1,36)
  2427. spawn(function()
  2428. for i = 1,0,-0.01 do
  2429. frame.BackgroundTransparency = i
  2430. fastwait(0.1)
  2431. end
  2432. frame.BackgroundTransparency = 0
  2433. end)
  2434.  
  2435. p.CameraMaxZoomDistance = 0.5
  2436.  
  2437. torso.Anchored = true
  2438.  
  2439. for i = 1,400 do
  2440. if not check() then
  2441. break
  2442. else
  2443. van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  2444. torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
  2445. fastwait(0.1/(i*5))
  2446.  
  2447. if i == 270 then
  2448. music.Volume = 5
  2449. end
  2450. end
  2451. end
  2452.  
  2453. local function KICK(P)
  2454. spawn(function()
  2455. if not FindTable(WL, P.Name) then
  2456. for i = 1,5 do
  2457. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2458. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2459. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2460. spawn(function()
  2461. repeat fastwait()
  2462. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2463. until not game:GetService("Players"):FindFirstChild(P.Name)
  2464. end)
  2465. P.Character.HumanoidRootPart.Anchored = true
  2466. end
  2467. end
  2468. end
  2469. end)
  2470. end
  2471.  
  2472. if p and p.Parent == game:GetService("Players") then
  2473. if p == game:GetService("Players").LocalPlayer then
  2474. fastwait(5)
  2475. end
  2476. torso.Anchored = false
  2477. p.CharacterAdded:Connect(function()
  2478. fastwait()
  2479. KICK(p)
  2480. end)
  2481. KICK(p)
  2482. end
  2483. fastwait(0.5)
  2484. pcall(function() van:Destroy() end)
  2485. pcall(function() gui:Destroy() end)
  2486. if not workspace:FindFirstChild("ADONIS_VAN") then
  2487. music:Destroy()
  2488. end
  2489. end
  2490. end
  2491. end)
  2492. end
  2493.  
  2494. addcmd('arrest', 'arrests player',{},
  2495. function(args, speaker)
  2496. local players = getPlayer(args[1], speaker)
  2497. for i,v in pairs(players)do
  2498. arrest(gPlayers[v].Name)
  2499. end
  2500. end)
  2501.  
  2502. addcmd('nodummies', 'clears dummies',{},
  2503. function(args, speaker)
  2504. for _, child in pairs( workspace:GetChildren()) do
  2505. if child:FindFirstChild('isdummy') then
  2506. child:Destroy()
  2507. end
  2508. end
  2509. end)
  2510.  
  2511. addcmd('dummy','Make a dummy(usage: ;dummy name)',{},
  2512. function(args, speaker)
  2513. local name = GLS(false, 0)
  2514. local lchar = game:GetService('Players').LocalPlayer
  2515. local Model0 = Instance.new("Model")
  2516. local Part1 = Instance.new("Part")
  2517. local SpecialMesh2 = Instance.new("SpecialMesh")
  2518. local Decal3 = Instance.new("Decal")
  2519. local Part4 = Instance.new("Part")
  2520. local Motor5 = Instance.new("Motor")
  2521. local Motor6 = Instance.new("Motor")
  2522. local Motor7 = Instance.new("Motor")
  2523. local Motor8 = Instance.new("Motor")
  2524. local Motor9 = Instance.new("Motor")
  2525. local Part10 = Instance.new("Part")
  2526. local Part11 = Instance.new("Part")
  2527. local Part12 = Instance.new("Part")
  2528. local Part13 = Instance.new("Part")
  2529. local dum = Instance.new("BoolValue")
  2530. dum.Name = "isdummy"
  2531. dum.Parent = Model0
  2532. local Humanoid14 = Instance.new("Humanoid")
  2533. Model0.Name = name
  2534. Model0.Parent = workspace
  2535. Model0.PrimaryPart = Part1
  2536. Part1.Name = "Head"
  2537. Part1.Parent = Model0
  2538. Part1.BrickColor = BrickColor.new("Bright yellow")
  2539. Part1.CanCollide = false
  2540. Part1.FormFactor = Enum.FormFactor.Symmetric
  2541. Part1.Friction = 0
  2542. Part1.Size = Vector3.new(2, 1, 1)
  2543. Part1.CFrame = CFrame.new(3.49000192, 4.49999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2544. Part1.TopSurface = Enum.SurfaceType.Smooth
  2545. Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2546. Part1.Position = Vector3.new(3.49000192, 4.49999905, 7.75)
  2547. Part1.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2548. SpecialMesh2.Parent = Part1
  2549. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2550. SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2551. Decal3.Name = "face"
  2552. Decal3.Parent = Part1
  2553. Decal3.Texture = "rbxasset://textures/face.png"
  2554. Part4.Name = "Torso"
  2555. Part4.Parent = Model0
  2556. Part4.BrickColor = BrickColor.new("Bright blue")
  2557. Part4.CanCollide = false
  2558. Part4.FormFactor = Enum.FormFactor.Symmetric
  2559. Part4.Friction = 0
  2560. Part4.Size = Vector3.new(2, 2, 1)
  2561. Part4.CFrame = CFrame.new(3.49000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2562. Part4.LeftSurface = Enum.SurfaceType.Weld
  2563. Part4.RightSurface = Enum.SurfaceType.Weld
  2564. Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  2565. Part4.Position = Vector3.new(3.49000192, 2.99999905, 7.75)
  2566. Part4.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  2567. Motor5.Name = "Right Shoulder"
  2568. Motor5.Parent = Part4
  2569. Motor5.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2570. Motor5.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2571. Motor5.Part0 = Part4
  2572. Motor5.Part1 = Part11
  2573. Motor5.DesiredAngle = 0.083800852298737
  2574. Motor5.MaxVelocity = 0.15000000596046
  2575. Motor6.Name = "Left Shoulder"
  2576. Motor6.Parent = Part4
  2577. Motor6.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2578. Motor6.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2579. Motor6.Part0 = Part4
  2580. Motor6.Part1 = Part10
  2581. Motor6.DesiredAngle = 0.083800852298737
  2582. Motor6.MaxVelocity = 0.15000000596046
  2583. Motor7.Name = "Left Hip"
  2584. Motor7.Parent = Part4
  2585. Motor7.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2586. Motor7.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2587. Motor7.Part0 = Part4
  2588. Motor7.Part1 = Part12
  2589. Motor7.DesiredAngle = -0.083800852298737
  2590. Motor7.MaxVelocity = 0.10000000149012
  2591. Motor8.Name = "Neck"
  2592. Motor8.Parent = Part4
  2593. Motor8.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2594. Motor8.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2595. Motor8.Part0 = Part4
  2596. Motor8.Part1 = Part1
  2597. Motor8.MaxVelocity = 0.10000000149012
  2598. Motor9.Name = "Right Hip"
  2599. Motor9.Parent = Part4
  2600. Motor9.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2601. Motor9.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2602. Motor9.Part0 = Part4
  2603. Motor9.Part1 = Part13
  2604. Motor9.DesiredAngle = -0.083800852298737
  2605. Motor9.MaxVelocity = 0.10000000149012
  2606. Part10.Name = "Left Arm"
  2607. Part10.Parent = Model0
  2608. Part10.BrickColor = BrickColor.new("Bright yellow")
  2609. Part10.CanCollide = false
  2610. Part10.FormFactor = Enum.FormFactor.Symmetric
  2611. Part10.Size = Vector3.new(1, 2, 1)
  2612. Part10.CFrame = CFrame.new(1.99000192, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2613. Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2614. Part10.Position = Vector3.new(1.99000192, 2.99999905, 7.75)
  2615. Part10.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2616. Part11.Name = "Right Arm"
  2617. Part11.Parent = Model0
  2618. Part11.BrickColor = BrickColor.new("Bright yellow")
  2619. Part11.CanCollide = false
  2620. Part11.FormFactor = Enum.FormFactor.Symmetric
  2621. Part11.Size = Vector3.new(1, 2, 1)
  2622. Part11.CFrame = CFrame.new(4.99000168, 2.99999905, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2623. Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2624. Part11.Position = Vector3.new(4.99000168, 2.99999905, 7.75)
  2625. Part11.Color = Color3.new(0.960784, 0.803922, 0.188235)
  2626. Part12.Name = "Left Leg"
  2627. Part12.Parent = Model0
  2628. Part12.BrickColor = BrickColor.new("Br. yellowish green")
  2629. Part12.CanCollide = false
  2630. Part12.FormFactor = Enum.FormFactor.Symmetric
  2631. Part12.Size = Vector3.new(1, 2, 1)
  2632. Part12.CFrame = CFrame.new(2.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2633. Part12.BottomSurface = Enum.SurfaceType.Smooth
  2634. Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2635. Part12.Position = Vector3.new(2.99000192, 0.999999046, 7.75)
  2636. Part12.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2637. Part13.Name = "Right Leg"
  2638. Part13.Parent = Model0
  2639. Part13.BrickColor = BrickColor.new("Br. yellowish green")
  2640. Part13.CanCollide = false
  2641. Part13.FormFactor = Enum.FormFactor.Symmetric
  2642. Part13.Size = Vector3.new(1, 2, 1)
  2643. Part13.CFrame = CFrame.new(3.99000192, 0.999999046, 7.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  2644. Part13.BottomSurface = Enum.SurfaceType.Smooth
  2645. Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2646. Part13.Position = Vector3.new(3.99000192, 0.999999046, 7.75)
  2647. Part13.Color = Color3.new(0.643137, 0.741176, 0.278431)
  2648. Humanoid14.Parent = Model0
  2649. Humanoid14.RightLeg = Part13
  2650. Humanoid14.LeftLeg = Part12
  2651. Humanoid14.Torso = Part4
  2652. Model0:MoveTo(game:GetService('Players').LocalPlayer.Character:GetModelCFrame().p)
  2653. Model0.Parent = game:GetService('Workspace')
  2654. end)
  2655.  
  2656. addcmd('loopkill', 'rip person',{'lkill'},
  2657. function(args, speaker)
  2658. local players = getPlayer(args[1], speaker)
  2659. for i,v in pairs(players)do
  2660. if not FindTable(loopkillT, _players[v].Name) then
  2661. table.insert(loopkillT, _players[v].Name)
  2662. if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
  2663. Notify('Loopkilling player(s)') end end end end)
  2664.  
  2665. addcmd('unloopkill', 'un rip person',{'unlkill'},
  2666. function(args, speaker)
  2667. local players = getPlayer(args[1], speaker)
  2668. for i,v in pairs(players)do
  2669. if FindTable(loopkillT, _players[v].Name) then
  2670. table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
  2671. if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
  2672. Notify('No longer loopkilling player(s)') end end end end)
  2673.  
  2674. addcmd('disabletools', 'removes their tools',{'loopremovetools'},
  2675. function(args, speaker)
  2676. local players = getPlayer(args[1], speaker)
  2677. for i,v in pairs(players)do
  2678. if not FindTable(disabletoolsT, _players[v].Name) then
  2679. table.insert(disabletoolsT, _players[v].Name)
  2680. if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
  2681. Notify('Disabled tools for player(s)') end end end end)
  2682.  
  2683. addcmd('enabletools', 'lets them have tools',{},
  2684. function(args, speaker)
  2685. local players = getPlayer(args[1], speaker)
  2686. for i,v in pairs(players)do
  2687. if FindTable(disabletoolsT, _players[v].Name) then
  2688. table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name)) wait(0.1) refresh(_players[v])
  2689. if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
  2690. Notify('Enabled tools for player(s)') end end end end)
  2691.  
  2692. addcmd('refresh', 'refresh their player model',{'re'},
  2693. function(args, speaker)
  2694. local players = getPlayer(args[1], speaker)
  2695. for i,v in pairs(players)do
  2696. refresh(_players[v])
  2697. end end)
  2698.  
  2699. local fastwait = function(time)
  2700. local expire = tick()+(time or 0.02999999999999999889)
  2701. while game:GetService("RunService").Heartbeat:wait() do
  2702. if tick() >= expire then return true end
  2703. end
  2704. end
  2705.  
  2706. function gull(name)
  2707. spawn(function()
  2708. local char = game:GetService("Players")[name].Character
  2709. char.PrimaryPart = char.HumanoidRootPart
  2710.  
  2711. local tors = game:GetService("Players")[name].Character.HumanoidRootPart
  2712. local initCFrame = tors.CFrame
  2713.  
  2714. if char:FindFirstChild("Torso") then
  2715. char.Torso.Anchored = true
  2716. else
  2717. char.UpperTorso.Anchored = true
  2718. end
  2719. char:FindFirstChildOfClass("Humanoid").Name = "Sad"
  2720.  
  2721. local gull = Instance.new("Part")
  2722. gull.Anchored = true
  2723. gull.CanCollide = false
  2724. gull.Position = Vector3.new(0,100000,0)
  2725. local mesh = Instance.new("SpecialMesh",gull)
  2726. mesh.MeshId = "http://www.roblox.com/asset/?id=272501436"
  2727. mesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2728. mesh.Scale = Vector3.new(10,10,10)
  2729.  
  2730. local leftWing = Instance.new("Part",gull)
  2731. leftWing.CanCollide = false
  2732. local lmesh = Instance.new("SpecialMesh",leftWing)
  2733. lmesh.MeshId = "http://www.roblox.com/asset/?id=267684584"
  2734. lmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2735. lmesh.Scale = Vector3.new(10,10,10)
  2736. local leftMotor = Instance.new("Motor6D",gull)
  2737. leftMotor.MaxVelocity = 1
  2738. leftMotor.Part0 = gull
  2739. leftMotor.Part1 = leftWing
  2740. leftMotor.C0 = CFrame.new(-50.2919998, -0.0920021087, 0.280000001)
  2741.  
  2742. local rightWing = Instance.new("Part",gull)
  2743. rightWing.CanCollide = false
  2744. local rmesh = Instance.new("SpecialMesh",rightWing)
  2745. rmesh.MeshId = "http://www.roblox.com/asset/?id=267684651"
  2746. rmesh.TextureId = "http://www.roblox.com/asset/?id=267684509"
  2747. rmesh.Scale = Vector3.new(10,10,10)
  2748. local rightMotor = Instance.new("Motor6D",gull)
  2749. rightMotor.MaxVelocity = 1
  2750. rightMotor.Part0 = gull
  2751. rightMotor.Part1 = rightWing
  2752. rightMotor.C0 = CFrame.new(47.1930008, -0.0670021027, 0.280000001)
  2753.  
  2754. local sound = Instance.new("Sound",gull)
  2755. sound.SoundId = "rbxassetid://160877039"
  2756. sound.Volume = 10
  2757. gull.Parent = workspace
  2758.  
  2759. for i = 400,-1000,-2 do
  2760. local der = 0.02*i
  2761. local angle = math.atan(der/1)
  2762. gull.CFrame = initCFrame*CFrame.Angles(angle,math.pi,0) + initCFrame.lookVector * (i+5) + Vector3.new(0,0.01*i^2+7,0)
  2763. if i == 0 then sound:Play() end
  2764. if i <= 0 then
  2765. char:SetPrimaryPartCFrame(gull.CFrame)
  2766. local nextAngle = -0.2*math.sin(0.05*math.pi*(i))
  2767. leftMotor.DesiredAngle = -nextAngle
  2768. leftMotor.C0 = CFrame.new(-50.2919998, 47.193*math.tan(nextAngle), 0.280000001)
  2769. rightMotor.DesiredAngle = nextAngle
  2770. rightMotor.C0 = CFrame.new(47.1930008, 47.193*math.tan(nextAngle), 0.280000001)
  2771. end
  2772. game:GetService("RunService").RenderStepped:wait()
  2773. end
  2774.  
  2775. local function KICK(P)
  2776. spawn(function()
  2777. if not FindTable(WL, P.Name) then
  2778. for i = 1,5 do
  2779. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2780. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2781. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2782. spawn(function()
  2783. repeat wait()
  2784. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2785. until not game:GetService("Players"):FindFirstChild(P.Name)
  2786. end)
  2787. P.Character.HumanoidRootPart.Anchored = true
  2788. end
  2789. end
  2790. end
  2791. end)
  2792. end
  2793.  
  2794. if char:FindFirstChild("Torso") then
  2795. char.Torso.Anchored = false
  2796. else
  2797. char.UpperTorso.Anchored = false
  2798. end
  2799.  
  2800. spawn(function()
  2801. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(5) end
  2802. game:GetService("Players")[name].CharacterAdded:Connect(function()
  2803. wait()
  2804. KICK(game:GetService("Players")[name])
  2805. end)
  2806. KICK(game:GetService("Players")[name])
  2807. end)
  2808.  
  2809. local go = Instance.new("BodyVelocity",gull)
  2810. go.Velocity = Vector3.new(0,1000,0)
  2811. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  2812. gull.Anchored = false
  2813. end)
  2814. end
  2815.  
  2816. addcmd('seagull', 'seagulls player',{'gull'},
  2817. function(args, speaker)
  2818. local players = getPlayer(args[1], speaker)
  2819. for i,v in pairs(players)do
  2820. gull(gPlayers[v].Name)
  2821. end
  2822. end)
  2823.  
  2824. local song = nil
  2825. function zinniaKick(name)
  2826. spawn(function()
  2827. if song == nil then
  2828. song = Instance.new("Sound",workspace)
  2829. song.SoundId = "rbxassetid://190423831"
  2830. song.Volume = 1
  2831. song.Looped = true
  2832. song:Play()
  2833. end
  2834. local zin = Instance.new("Part")
  2835. zin.Name = "CuteZinnia"
  2836. zin.Anchored = true
  2837. zin.CanCollide = false
  2838. zin.Locked = true
  2839. local mesh = Instance.new("SpecialMesh")
  2840. mesh.MeshId = "rbxassetid://1175670539"
  2841. mesh.TextureId = "rbxassetid://1175670558"
  2842. mesh.Scale = Vector3.new(0.05,0.05,0.05)
  2843. mesh.Offset = Vector3.new(0,0.88,0)
  2844. mesh.Parent = zin
  2845. local char = game:GetService("Players")[name].Character
  2846. char.PrimaryPart = char.HumanoidRootPart
  2847. if char:FindFirstChild("Torso") then
  2848. char.Torso.Anchored = true
  2849. else
  2850. char.UpperTorso.Anchored = true
  2851. end
  2852. 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))
  2853. zin.Parent = workspace
  2854. 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)})
  2855. tween:Play()
  2856. fastwait(3)
  2857. for i = 50,1,-1 do
  2858. 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))
  2859. fastwait()
  2860. end
  2861. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2862. fastwait(1)
  2863. local turns = 0
  2864.  
  2865. while turns < 200 do
  2866. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2867. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2868. turns = turns + 1
  2869. fastwait()
  2870. end
  2871. for i = 1,10 do
  2872. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2873. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2874. fastwait()
  2875. end
  2876. local rX,rZ = 0,0
  2877. repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
  2878. repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
  2879. local bv = Instance.new("BodyForce",char.HumanoidRootPart)
  2880. bv.Force = Vector3.new(rX,10000,rZ)
  2881. if char:FindFirstChild("Torso") then
  2882. char.Torso.Anchored = false
  2883. else
  2884. char.UpperTorso.Anchored = false
  2885. end
  2886. function KICK(P)
  2887. spawn(function()
  2888. if not FindTable(WL, P.Name) then
  2889. for i = 1,5 do
  2890. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2891. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2892. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2893. spawn(function()
  2894. repeat fastwait()
  2895. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2896. until not game:GetService("Players"):FindFirstChild(P.Name)
  2897. end)
  2898. P.Character.HumanoidRootPart.Anchored = true
  2899. end
  2900. end
  2901. end
  2902. end)
  2903. end
  2904. spawn(function()
  2905. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
  2906. game:GetService("Players")[name].CharacterAdded:Connect(function()
  2907. fastwait()
  2908. KICK(game:GetService("Players")[name])
  2909. end)
  2910. KICK(game:GetService("Players")[name])
  2911. end)
  2912. for i = 1,20 do
  2913. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2914. fastwait()
  2915. end
  2916. while turns > 0 do
  2917. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2918. turns = turns - 5
  2919. fastwait()
  2920. end
  2921. fastwait(1)
  2922. zin.Name = "GoneZinnia"
  2923. local go = Instance.new("BodyVelocity",zin)
  2924. go.Velocity = zin.CFrame.lookVector * 100
  2925. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  2926. zin.Anchored = false
  2927. fastwait(20)
  2928. if song and not workspace:FindFirstChild("CuteZinnia") then
  2929. song:Destroy()
  2930. song = nil
  2931. end
  2932. end)
  2933. end
  2934.  
  2935. addcmd('zinnia', 'asdf for moon',{},
  2936. function(args, speaker)
  2937. local players = getPlayer(args[1], speaker)
  2938. for i,v in pairs(players)do
  2939. zinniaKick(gPlayers[v].Name)
  2940. end
  2941. end)
  2942.  
  2943. addcmd('rainbowname', 'color spam their name tag',{'rname'},
  2944. function(args, speaker)
  2945. local players = getPlayer(args[1], speaker)
  2946. for i,v in pairs(players)do
  2947. if not FindTable(rainbowT, _players[v].Name) then
  2948. table.insert(rainbowT, _players[v].Name)
  2949. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
  2950. Notify('Gave player(s) rainbow name') end end end end)
  2951.  
  2952. addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
  2953. function(args, speaker)
  2954. local players = getPlayer(args[1], speaker)
  2955. for i,v in pairs(players)do
  2956. if FindTable(rainbowT, _players[v].Name) then
  2957. table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
  2958. _players[v].Neutral = true
  2959. if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
  2960. Notify('Disabled rainbow name for player(s)') end end end end)
  2961.  
  2962. addcmd('terrain', 'gives you terrain tools',{'tt'},
  2963. function(args, speaker)
  2964. if speaker.userId ~= LP.userId then
  2965. lponly(speaker)
  2966. else
  2967. --Terrain Script
  2968. --Edge#0001/IoIman616
  2969.  
  2970. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
  2971. if child.Name == "MaterialGui" then
  2972. child:Destroy()
  2973. end
  2974. end
  2975.  
  2976. function sandbox(var,func)
  2977. local env = getfenv(func)
  2978. local newenv = setmetatable({},{
  2979. __index = function(self,k)
  2980. if k=="script" then
  2981. return var
  2982. else
  2983. return env[k]
  2984. end
  2985. end,
  2986. })
  2987. setfenv(func,newenv)
  2988. return func
  2989. end
  2990. cors = {}
  2991. mas = Instance.new("Model",game:GetService("Lighting"))
  2992. HopperBin0 = Instance.new("HopperBin")
  2993. HopperBin0.Name = "Terrain Build"
  2994. HopperBin0.Parent = mas
  2995. for i,v in pairs(mas:GetChildren()) do
  2996. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2997. pcall(function() v:MakeJoints() end)
  2998. end
  2999. mas:Destroy()
  3000. for i,v in pairs(cors) do
  3001. spawn(function()
  3002. pcall(v)
  3003. end)
  3004. end
  3005.  
  3006. wait(0.01)
  3007.  
  3008. function sandbox(var,func)
  3009. local env = getfenv(func)
  3010. local newenv = setmetatable({},{
  3011. __index = function(self,k)
  3012. if k=="script" then
  3013. return var
  3014. else
  3015. return env[k]
  3016. end
  3017. end,
  3018. })
  3019. setfenv(func,newenv)
  3020. return func
  3021. end
  3022. cors = {}
  3023. mas = Instance.new("Model",game:GetService("Lighting"))
  3024. ScreenGui0 = Instance.new("ScreenGui")
  3025. ImageLabel1 = Instance.new("ImageLabel")
  3026. ImageButton2 = Instance.new("ImageButton")
  3027. Frame3 = Instance.new("Frame")
  3028. NumberValue4 = Instance.new("NumberValue")
  3029. ImageButton5 = Instance.new("ImageButton")
  3030. Frame6 = Instance.new("Frame")
  3031. NumberValue7 = Instance.new("NumberValue")
  3032. ImageButton8 = Instance.new("ImageButton")
  3033. Frame9 = Instance.new("Frame")
  3034. NumberValue10 = Instance.new("NumberValue")
  3035. ImageButton11 = Instance.new("ImageButton")
  3036. Frame12 = Instance.new("Frame")
  3037. NumberValue13 = Instance.new("NumberValue")
  3038. ImageButton14 = Instance.new("ImageButton")
  3039. Frame15 = Instance.new("Frame")
  3040. NumberValue16 = Instance.new("NumberValue")
  3041. ImageButton17 = Instance.new("ImageButton")
  3042. Frame18 = Instance.new("Frame")
  3043. NumberValue19 = Instance.new("NumberValue")
  3044. ImageButton20 = Instance.new("ImageButton")
  3045. Frame21 = Instance.new("Frame")
  3046. NumberValue22 = Instance.new("NumberValue")
  3047. ImageButton23 = Instance.new("ImageButton")
  3048. Frame24 = Instance.new("Frame")
  3049. NumberValue25 = Instance.new("NumberValue")
  3050. ImageButton26 = Instance.new("ImageButton")
  3051. Frame27 = Instance.new("Frame")
  3052. NumberValue28 = Instance.new("NumberValue")
  3053. ImageButton29 = Instance.new("ImageButton")
  3054. Frame30 = Instance.new("Frame")
  3055. NumberValue31 = Instance.new("NumberValue")
  3056. ImageButton32 = Instance.new("ImageButton")
  3057. Frame33 = Instance.new("Frame")
  3058. NumberValue34 = Instance.new("NumberValue")
  3059. ImageButton35 = Instance.new("ImageButton")
  3060. Frame36 = Instance.new("Frame")
  3061. NumberValue37 = Instance.new("NumberValue")
  3062. ImageButton38 = Instance.new("ImageButton")
  3063. Frame39 = Instance.new("Frame")
  3064. NumberValue40 = Instance.new("NumberValue")
  3065. ImageButton41 = Instance.new("ImageButton")
  3066. Frame42 = Instance.new("Frame")
  3067. NumberValue43 = Instance.new("NumberValue")
  3068. ImageButton44 = Instance.new("ImageButton")
  3069. Frame45 = Instance.new("Frame")
  3070. NumberValue46 = Instance.new("NumberValue")
  3071. ImageButton47 = Instance.new("ImageButton")
  3072. Frame48 = Instance.new("Frame")
  3073. NumberValue49 = Instance.new("NumberValue")
  3074. ImageButton50 = Instance.new("ImageButton")
  3075. Frame51 = Instance.new("Frame")
  3076. NumberValue52 = Instance.new("NumberValue")
  3077. ImageButton53 = Instance.new("ImageButton")
  3078. Frame54 = Instance.new("Frame")
  3079. ScreenGui0.Name = "MaterialGui"
  3080. ScreenGui0.Parent = mas
  3081. ImageLabel1.Name = "MaterialMenu"
  3082. ImageLabel1.Parent = ScreenGui0
  3083. ImageLabel1.Transparency = 1
  3084. ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
  3085. ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
  3086. ImageLabel1.BackgroundTransparency = 1
  3087. ImageLabel1.ZIndex = 2
  3088. ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
  3089. ImageButton2.Name = "Grass"
  3090. ImageButton2.Parent = ImageLabel1
  3091. ImageButton2.Transparency = 1
  3092. ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3093. ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
  3094. ImageButton2.BackgroundTransparency = 1
  3095. ImageButton2.ZIndex = 4
  3096. ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
  3097. Frame3.Name = "Selection"
  3098. Frame3.Parent = ImageButton2
  3099. Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3100. Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3101. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  3102. Frame3.BorderSizePixel = 0
  3103. Frame3.ZIndex = 3
  3104. NumberValue4.Name = "num"
  3105. NumberValue4.Parent = ImageButton2
  3106. NumberValue4.Value = 1
  3107. ImageButton5.Name = "Sand"
  3108. ImageButton5.Parent = ImageLabel1
  3109. ImageButton5.Transparency = 1
  3110. ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3111. ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
  3112. ImageButton5.BackgroundTransparency = 1
  3113. ImageButton5.ZIndex = 4
  3114. ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
  3115. Frame6.Name = "Selection"
  3116. Frame6.Parent = ImageButton5
  3117. Frame6.Transparency = 1
  3118. Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3119. Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3120. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  3121. Frame6.BackgroundTransparency = 1
  3122. Frame6.BorderSizePixel = 0
  3123. Frame6.ZIndex = 3
  3124. NumberValue7.Name = "num"
  3125. NumberValue7.Parent = ImageButton5
  3126. NumberValue7.Value = 2
  3127. ImageButton8.Name = "Brick"
  3128. ImageButton8.Parent = ImageLabel1
  3129. ImageButton8.Transparency = 1
  3130. ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3131. ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
  3132. ImageButton8.BackgroundTransparency = 1
  3133. ImageButton8.ZIndex = 4
  3134. ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
  3135. Frame9.Name = "Selection"
  3136. Frame9.Parent = ImageButton8
  3137. Frame9.Transparency = 1
  3138. Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3139. Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3140. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  3141. Frame9.BackgroundTransparency = 1
  3142. Frame9.BorderSizePixel = 0
  3143. Frame9.ZIndex = 3
  3144. NumberValue10.Name = "num"
  3145. NumberValue10.Parent = ImageButton8
  3146. NumberValue10.Value = 3
  3147. ImageButton11.Name = "Granite"
  3148. ImageButton11.Parent = ImageLabel1
  3149. ImageButton11.Transparency = 1
  3150. ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3151. ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
  3152. ImageButton11.BackgroundTransparency = 1
  3153. ImageButton11.ZIndex = 4
  3154. ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
  3155. Frame12.Name = "Selection"
  3156. Frame12.Parent = ImageButton11
  3157. Frame12.Transparency = 1
  3158. Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3159. Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3160. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  3161. Frame12.BackgroundTransparency = 1
  3162. Frame12.BorderSizePixel = 0
  3163. Frame12.ZIndex = 3
  3164. NumberValue13.Name = "num"
  3165. NumberValue13.Parent = ImageButton11
  3166. NumberValue13.Value = 4
  3167. ImageButton14.Name = "Asphalt"
  3168. ImageButton14.Parent = ImageLabel1
  3169. ImageButton14.Transparency = 1
  3170. ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3171. ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
  3172. ImageButton14.BackgroundTransparency = 1
  3173. ImageButton14.ZIndex = 4
  3174. ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
  3175. Frame15.Name = "Selection"
  3176. Frame15.Parent = ImageButton14
  3177. Frame15.Transparency = 1
  3178. Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3179. Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3180. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  3181. Frame15.BackgroundTransparency = 1
  3182. Frame15.BorderSizePixel = 0
  3183. Frame15.ZIndex = 3
  3184. NumberValue16.Name = "num"
  3185. NumberValue16.Parent = ImageButton14
  3186. NumberValue16.Value = 5
  3187. ImageButton17.Name = "Iron"
  3188. ImageButton17.Parent = ImageLabel1
  3189. ImageButton17.Transparency = 1
  3190. ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3191. ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
  3192. ImageButton17.BackgroundTransparency = 1
  3193. ImageButton17.ZIndex = 4
  3194. ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
  3195. Frame18.Name = "Selection"
  3196. Frame18.Parent = ImageButton17
  3197. Frame18.Transparency = 1
  3198. Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3199. Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3200. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  3201. Frame18.BackgroundTransparency = 1
  3202. Frame18.BorderSizePixel = 0
  3203. Frame18.ZIndex = 3
  3204. NumberValue19.Name = "num"
  3205. NumberValue19.Parent = ImageButton17
  3206. NumberValue19.Value = 6
  3207. ImageButton20.Name = "Aluminum"
  3208. ImageButton20.Parent = ImageLabel1
  3209. ImageButton20.Transparency = 1
  3210. ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3211. ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
  3212. ImageButton20.BackgroundTransparency = 1
  3213. ImageButton20.ZIndex = 4
  3214. ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
  3215. Frame21.Name = "Selection"
  3216. Frame21.Parent = ImageButton20
  3217. Frame21.Transparency = 1
  3218. Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3219. Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3220. Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
  3221. Frame21.BackgroundTransparency = 1
  3222. Frame21.BorderSizePixel = 0
  3223. Frame21.ZIndex = 3
  3224. NumberValue22.Name = "num"
  3225. NumberValue22.Parent = ImageButton20
  3226. NumberValue22.Value = 7
  3227. ImageButton23.Name = "Gold"
  3228. ImageButton23.Parent = ImageLabel1
  3229. ImageButton23.Transparency = 1
  3230. ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3231. ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
  3232. ImageButton23.BackgroundTransparency = 1
  3233. ImageButton23.ZIndex = 4
  3234. ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
  3235. Frame24.Name = "Selection"
  3236. Frame24.Parent = ImageButton23
  3237. Frame24.Transparency = 1
  3238. Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3239. Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3240. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  3241. Frame24.BackgroundTransparency = 1
  3242. Frame24.BorderSizePixel = 0
  3243. Frame24.ZIndex = 3
  3244. NumberValue25.Name = "num"
  3245. NumberValue25.Parent = ImageButton23
  3246. NumberValue25.Value = 8
  3247. ImageButton26.Name = "Plank"
  3248. ImageButton26.Parent = ImageLabel1
  3249. ImageButton26.Transparency = 1
  3250. ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3251. ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
  3252. ImageButton26.BackgroundTransparency = 1
  3253. ImageButton26.ZIndex = 4
  3254. ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
  3255. Frame27.Name = "Selection"
  3256. Frame27.Parent = ImageButton26
  3257. Frame27.Transparency = 1
  3258. Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3259. Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3260. Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
  3261. Frame27.BackgroundTransparency = 1
  3262. Frame27.BorderSizePixel = 0
  3263. Frame27.ZIndex = 3
  3264. NumberValue28.Name = "num"
  3265. NumberValue28.Parent = ImageButton26
  3266. NumberValue28.Value = 9
  3267. ImageButton29.Name = "Log"
  3268. ImageButton29.Parent = ImageLabel1
  3269. ImageButton29.Transparency = 1
  3270. ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3271. ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
  3272. ImageButton29.BackgroundTransparency = 1
  3273. ImageButton29.ZIndex = 4
  3274. ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
  3275. Frame30.Name = "Selection"
  3276. Frame30.Parent = ImageButton29
  3277. Frame30.Transparency = 1
  3278. Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3279. Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3280. Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
  3281. Frame30.BackgroundTransparency = 1
  3282. Frame30.BorderSizePixel = 0
  3283. Frame30.ZIndex = 3
  3284. NumberValue31.Name = "num"
  3285. NumberValue31.Parent = ImageButton29
  3286. NumberValue31.Value = 10
  3287. ImageButton32.Name = "Gravel"
  3288. ImageButton32.Parent = ImageLabel1
  3289. ImageButton32.Transparency = 1
  3290. ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3291. ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
  3292. ImageButton32.BackgroundTransparency = 1
  3293. ImageButton32.ZIndex = 4
  3294. ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
  3295. Frame33.Name = "Selection"
  3296. Frame33.Parent = ImageButton32
  3297. Frame33.Transparency = 1
  3298. Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3299. Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3300. Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
  3301. Frame33.BackgroundTransparency = 1
  3302. Frame33.BorderSizePixel = 0
  3303. Frame33.ZIndex = 3
  3304. NumberValue34.Name = "num"
  3305. NumberValue34.Parent = ImageButton32
  3306. NumberValue34.Value = 11
  3307. ImageButton35.Name = "Cinder"
  3308. ImageButton35.Parent = ImageLabel1
  3309. ImageButton35.Transparency = 1
  3310. ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3311. ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
  3312. ImageButton35.BackgroundTransparency = 1
  3313. ImageButton35.ZIndex = 4
  3314. ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
  3315. Frame36.Name = "Selection"
  3316. Frame36.Parent = ImageButton35
  3317. Frame36.Transparency = 1
  3318. Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3319. Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3320. Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
  3321. Frame36.BackgroundTransparency = 1
  3322. Frame36.BorderSizePixel = 0
  3323. Frame36.ZIndex = 3
  3324. NumberValue37.Name = "num"
  3325. NumberValue37.Parent = ImageButton35
  3326. NumberValue37.Value = 12
  3327. ImageButton38.Name = "Stone"
  3328. ImageButton38.Parent = ImageLabel1
  3329. ImageButton38.Transparency = 1
  3330. ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3331. ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
  3332. ImageButton38.BackgroundTransparency = 1
  3333. ImageButton38.ZIndex = 4
  3334. ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
  3335. Frame39.Name = "Selection"
  3336. Frame39.Parent = ImageButton38
  3337. Frame39.Transparency = 1
  3338. Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3339. Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3340. Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
  3341. Frame39.BackgroundTransparency = 1
  3342. Frame39.BorderSizePixel = 0
  3343. Frame39.ZIndex = 3
  3344. NumberValue40.Name = "num"
  3345. NumberValue40.Parent = ImageButton38
  3346. NumberValue40.Value = 13
  3347. ImageButton41.Name = "Cement"
  3348. ImageButton41.Parent = ImageLabel1
  3349. ImageButton41.Transparency = 1
  3350. ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3351. ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
  3352. ImageButton41.BackgroundTransparency = 1
  3353. ImageButton41.ZIndex = 4
  3354. ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
  3355. Frame42.Name = "Selection"
  3356. Frame42.Parent = ImageButton41
  3357. Frame42.Transparency = 1
  3358. Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3359. Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3360. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  3361. Frame42.BackgroundTransparency = 1
  3362. Frame42.BorderSizePixel = 0
  3363. Frame42.ZIndex = 3
  3364. NumberValue43.Name = "num"
  3365. NumberValue43.Parent = ImageButton41
  3366. NumberValue43.Value = 14
  3367. ImageButton44.Name = "Red Plastic"
  3368. ImageButton44.Parent = ImageLabel1
  3369. ImageButton44.Transparency = 1
  3370. ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3371. ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
  3372. ImageButton44.BackgroundTransparency = 1
  3373. ImageButton44.ZIndex = 4
  3374. ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
  3375. Frame45.Name = "Selection"
  3376. Frame45.Parent = ImageButton44
  3377. Frame45.Transparency = 1
  3378. Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3379. Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3380. Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
  3381. Frame45.BackgroundTransparency = 1
  3382. Frame45.BorderSizePixel = 0
  3383. Frame45.ZIndex = 3
  3384. NumberValue46.Name = "num"
  3385. NumberValue46.Parent = ImageButton44
  3386. NumberValue46.Value = 15
  3387. ImageButton47.Name = "Blue Plastic"
  3388. ImageButton47.Parent = ImageLabel1
  3389. ImageButton47.Transparency = 1
  3390. ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3391. ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
  3392. ImageButton47.BackgroundTransparency = 1
  3393. ImageButton47.ZIndex = 4
  3394. ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
  3395. Frame48.Name = "Selection"
  3396. Frame48.Parent = ImageButton47
  3397. Frame48.Transparency = 1
  3398. Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3399. Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3400. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  3401. Frame48.BackgroundTransparency = 1
  3402. Frame48.BorderSizePixel = 0
  3403. Frame48.ZIndex = 3
  3404. NumberValue49.Name = "num"
  3405. NumberValue49.Parent = ImageButton47
  3406. NumberValue49.Value = 16
  3407. ImageButton50.Name = "Water"
  3408. ImageButton50.Parent = ImageLabel1
  3409. ImageButton50.Transparency = 1
  3410. ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3411. ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
  3412. ImageButton50.BackgroundTransparency = 1
  3413. ImageButton50.ZIndex = 4
  3414. ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
  3415. Frame51.Name = "Selection"
  3416. Frame51.Parent = ImageButton50
  3417. Frame51.Transparency = 1
  3418. Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3419. Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3420. Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
  3421. Frame51.BackgroundTransparency = 1
  3422. Frame51.BorderSizePixel = 0
  3423. Frame51.ZIndex = 3
  3424. NumberValue52.Name = "num"
  3425. NumberValue52.Parent = ImageButton50
  3426. NumberValue52.Value = 17
  3427. ImageButton53.Name = "Dig"
  3428. ImageButton53.Parent = ImageLabel1
  3429. ImageButton53.Transparency = 1
  3430. ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  3431. ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
  3432. ImageButton53.BackgroundTransparency = 1
  3433. ImageButton53.ZIndex = 4
  3434. ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
  3435. Frame54.Name = "Selection"
  3436. Frame54.Parent = ImageButton53
  3437. Frame54.Transparency = 1
  3438. Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  3439. Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  3440. Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
  3441. Frame54.BackgroundTransparency = 1
  3442. Frame54.BorderSizePixel = 0
  3443. Frame54.ZIndex = 3
  3444. for i,v in pairs(mas:GetChildren()) do
  3445. v.Parent = gPlayers.LocalPlayer.PlayerGui
  3446. pcall(function() v:MakeJoints() end)
  3447. end
  3448. mas:Destroy()
  3449. for i,v in pairs(cors) do
  3450. spawn(function()
  3451. pcall(v)
  3452. end)
  3453. end
  3454. wait(0.01)
  3455. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3456. material = 1
  3457. local Terrain = workspace.Terrain
  3458. local CC = workspace.CurrentCamera
  3459.  
  3460. local SelB = Instance.new("SelectionBox")
  3461. SelB.Color = BrickColor.new("Bright green")
  3462.  
  3463. local SelP = Instance.new("Part")
  3464. SelP.Anchored = true
  3465. SelP.formFactor = Enum.FormFactor.Custom
  3466.  
  3467. HopperBin0.Selected:connect(function(M)
  3468. SelB.Parent = gPlayers.LocalPlayer.PlayerGui
  3469. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
  3470. SelB.Adornee = nil
  3471.  
  3472. local ClickState = "None"
  3473.  
  3474. local ClickType = 1
  3475.  
  3476. local TerrainClick = 1
  3477.  
  3478. local P1 = nil
  3479.  
  3480. M.KeyDown:connect(function(K)
  3481. if K == "q" then
  3482. ClickType = 1
  3483. elseif K == "e" then
  3484. ClickType = 2
  3485. elseif K == "z" then
  3486. TerrainClick = 0
  3487. elseif K == "x" then
  3488. TerrainClick = 1
  3489. elseif K == "c" then
  3490. TerrainClick = 2
  3491. elseif K == "v" then
  3492. TerrainClick = 3
  3493. elseif K == "b" then
  3494. TerrainClick = 4
  3495. end
  3496. end)
  3497.  
  3498. M.Button1Down:connect(function()
  3499. if not M.Target then return end
  3500. local Hit = M.Hit
  3501. local cellPos
  3502. if ClickType == 1 then
  3503. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3504. else
  3505. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3506. end
  3507. if ClickState == "None" then
  3508. ClickState = "Click1"
  3509. P1 = cellPos
  3510. end
  3511. end)
  3512. M.Button1Up:connect(function()
  3513. if not M.Target then return end
  3514. local Hit = M.Hit
  3515. local cellPos
  3516. if ClickType == 1 then
  3517. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3518. else
  3519. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3520. end
  3521. if ClickState == "Click1" then
  3522. ClickState = "None"
  3523. local MinX = math.min(P1.x,cellPos.x)
  3524. local MaxX = math.max(P1.x,cellPos.x)
  3525. local MinY = math.min(P1.y,cellPos.y)
  3526. local MaxY = math.max(P1.y,cellPos.y)
  3527. local MinZ = math.min(P1.z,cellPos.z)
  3528. local MaxZ = math.max(P1.z,cellPos.z)
  3529. for y=MinY,MaxY do
  3530. for x=MinX,MaxX do
  3531. for z=MinZ,MaxZ do
  3532. Terrain:SetCell(x, y, z, material, 0, 0)
  3533. end
  3534. end
  3535. wait()
  3536. end
  3537. SelB.Adornee = nil
  3538. end
  3539. end)
  3540. M.Move:connect(function()
  3541. if not M.Target then return end
  3542. local Hit = M.Hit
  3543. local cellPos
  3544. if ClickType == 1 then
  3545. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  3546. else
  3547. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  3548. end
  3549. if ClickState == "Click1" then
  3550. SelB.Adornee = SelP
  3551. local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
  3552. local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
  3553. local Size = W1-W2
  3554. Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
  3555. local Pos = (W1+W2)/2
  3556. SelP.Size = Size
  3557. SelP.CFrame = CFrame.new(Pos)
  3558. end
  3559. end)
  3560. end)
  3561.  
  3562. HopperBin0.Deselected:connect(function()
  3563. SelB.Parent = nil
  3564. SelB.Adornee = nil
  3565. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  3566. end)
  3567.  
  3568. game:GetService('RunService').Stepped:connect(function()
  3569. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
  3570. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3571. if child:FindFirstChild("num") and material ~= child.num.Value then
  3572. child.Selection.BackgroundTransparency = 1
  3573. end
  3574. end
  3575. end
  3576. end)
  3577.  
  3578. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  3579. local enterCon = child.MouseButton1Click:connect(function()
  3580. if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
  3581. material = child.num.Value
  3582. if child:FindFirstChild("Selection") then
  3583. child.Selection.BackgroundTransparency = 0
  3584. end
  3585. end
  3586. end)
  3587. end
  3588.  
  3589. local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
  3590. workspace.Terrain:Clear()
  3591. end)
  3592.  
  3593. function sandbox(var,func)
  3594. local env = getfenv(func)
  3595. local newenv = setmetatable({},{
  3596. __index = function(self,k)
  3597. if k=="script" then
  3598. return var
  3599. else
  3600. return env[k]
  3601. end
  3602. end,
  3603. })
  3604. setfenv(func,newenv)
  3605. return func
  3606. end
  3607. cors = {}
  3608. mas = Instance.new("Model",game:GetService("Lighting"))
  3609. HopperBin0 = Instance.new("HopperBin")
  3610. HopperBin0.Name = "Terrain Delete"
  3611. HopperBin0.Parent = mas
  3612. for i,v in pairs(mas:GetChildren()) do
  3613. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  3614. pcall(function() v:MakeJoints() end)
  3615. end
  3616. mas:Destroy()
  3617. for i,v in pairs(cors) do
  3618. spawn(function()
  3619. pcall(v)
  3620. end)
  3621. end
  3622.  
  3623. function onClick(mouse)
  3624. p = gPlayers.LocalPlayer
  3625. if (p == nil) then return end
  3626. if (p.Character == nil) then return end
  3627.  
  3628. if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
  3629.  
  3630. c = workspace.Terrain
  3631.  
  3632. local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  3633. local x = cellPos.x
  3634. local y = cellPos.y
  3635. local z = cellPos.z
  3636.  
  3637. c:SetCell(x, y, z, 0, 0, 0)
  3638.  
  3639. end
  3640.  
  3641.  
  3642. function onSelect(mouse)
  3643. mouse.Button1Down:connect(function () onClick(mouse) end)
  3644. end
  3645.  
  3646.  
  3647.  
  3648. HopperBin0.Selected:connect(onSelect)
  3649. end
  3650. end)
  3651.  
  3652. addcmd('knife', 'tm knife',{},
  3653. function(args, speaker)
  3654. if speaker.userId ~= LP.userId then
  3655. lponly(speaker) else
  3656. if not game.CoreGui:FindFirstChild('CorePart') then
  3657. local data = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01318477872")
  3658. local script = data.LocalScript
  3659.  
  3660. local player = gPlayers.LocalPlayer
  3661.  
  3662. if not player:FindFirstChild("TMDATA") then
  3663. script.Parent.TMDATA:Clone().Parent = player
  3664. end
  3665. if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
  3666. script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
  3667. end
  3668.  
  3669. if game.CoreGui:FindFirstChild("CorePart") then
  3670. game.CoreGui.CorePart:Destroy()
  3671. end
  3672.  
  3673.  
  3674. if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
  3675. local knife = script.Parent["Knife"]:Clone()
  3676. local gun = script.Parent["Gun"]:Clone()
  3677. local fastgun = script.Parent["Fast Gun"]:Clone()
  3678. local lasergun = script.Parent["Laser Gun"]:Clone()
  3679. script.Parent.CorePart:Clone().Parent = game.CoreGui
  3680.  
  3681. local newKnife = knife:Clone()
  3682. newKnife.Parent = player.Backpack
  3683. _G.tool = newKnife
  3684.  
  3685. local barActive = false
  3686. local activeOptions = {}
  3687.  
  3688. function createDDown(callback,but,...)
  3689. if barActive then
  3690. for i,v in pairs(activeOptions) do
  3691. v:Destroy()
  3692. end
  3693. activeOptions = {}
  3694. barActive = false
  3695. return
  3696. else
  3697. barActive = true
  3698. end
  3699. local slots = {...}
  3700. local base = but
  3701. for i,v in pairs(slots) do
  3702. local newOption = base:Clone()
  3703. newOption.ZIndex = 5
  3704. newOption.Name = "Option "..tostring(i)
  3705. newOption.Parent = base.Parent
  3706. table.insert(activeOptions,newOption)
  3707. 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))
  3708. newOption.Text = slots[i]
  3709. newOption.MouseButton1Down:connect(function()
  3710. but.Text = slots[i]
  3711. callback(slots[i])
  3712. for i,v in pairs(activeOptions) do
  3713. v:Destroy()
  3714. end
  3715. activeOptions = {}
  3716. barActive = false
  3717. end)
  3718. end
  3719. end
  3720.  
  3721. local butA = game.CoreGui.CorePart.Frame.ability
  3722. butA.MouseButton1Down:connect(function()
  3723. createDDown(function(sel)
  3724. gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
  3725. 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")
  3726. end)
  3727.  
  3728. local butG = game.CoreGui.CorePart.Frame.gamemode
  3729. butG.MouseButton1Down:connect(function()
  3730. createDDown(function(sel)
  3731. game.ReplicatedStorage.GameInProgress.Mode.Value = sel
  3732. end,butG,"Classic","Cold Killer")
  3733. end)
  3734.  
  3735. local butM = game.CoreGui.CorePart.Frame.mode
  3736. butM.MouseButton1Down:connect(function()
  3737. createDDown(function(sel)
  3738. _G.knifemode = sel
  3739. end,butM,"PlayersOnly","Players+Npcs")
  3740. end)
  3741.  
  3742. _G.Scripters = {}
  3743.  
  3744. function _G.loadScripts(obj,runall)
  3745. for i,v in pairs(obj:GetDescendants()) do
  3746. if v:IsA("LocalScript") and (not v.Disabled or runall) then
  3747. table.insert(_G.Scripters,v)
  3748. local i = #_G.Scripters
  3749. local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
  3750. spawn(loadfunc)
  3751. print("LOADED",v:GetFullName())
  3752. end
  3753. end
  3754. end
  3755.  
  3756. player.CharacterAdded:Connect(function()
  3757. newKnife = knife:Clone()
  3758. newKnife.Parent = player.Backpack
  3759. _G.loadScripts(newKnife)
  3760. end)
  3761.  
  3762. _G.knifemode = "PlayersOnly"
  3763. _G.loadScripts(newKnife)
  3764. --_G.loadScripts(gun)
  3765. --_G.loadScripts(fastgun)
  3766. --_G.loadScripts(lasergun)
  3767. end
  3768. end
  3769. end)
  3770.  
  3771. addcmd('devuzi', 'op af',{'uzi'},
  3772. function(args, speaker)
  3773. if speaker.userId ~= LP.userId then
  3774. lponly(speaker)
  3775. else
  3776. wait(0.25);
  3777.  
  3778.  
  3779. _clear=function()
  3780. local c={char;bag;gui;};
  3781. for i=1,#c do
  3782. local c=c[i]:children();
  3783. for i=1,#c do
  3784. if(c[i].Name==name)then
  3785. c[i].Parent=nil;
  3786. end;
  3787. end;
  3788. end;
  3789. local n=name..user.Name;
  3790. local c=workspace:children();
  3791. for i=1,#c do
  3792. if(c[i].Name==n)then
  3793. c[i].Parent=nil;
  3794. end;
  3795. end;
  3796. end;
  3797.  
  3798. _valid_key=function(object,key)
  3799. return object[key],key;
  3800. end;
  3801.  
  3802. _new=function(class)
  3803. return function(props)
  3804. if(type(list_base_props)=='table')then
  3805. for i,v in next,list_base_props do
  3806. if(props[i]==nil)then
  3807. props[i]=v;
  3808. end;
  3809. end;
  3810. end;
  3811.  
  3812. local object=class;
  3813.  
  3814. if(type(class)=='string')then
  3815. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  3816. end;
  3817.  
  3818. local parent=props[1];
  3819. props[1]=nil;
  3820.  
  3821. for i,v in next,props do
  3822. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  3823. if(not load)then
  3824. load,res,key=pcall(_valid_key,object,i);
  3825. end;
  3826.  
  3827. if(key)then
  3828. t=type(res);
  3829. s=tostring(res);
  3830. if(t=='userdata'and s=='Signal '..key)then
  3831. if(type(v)=='table')then
  3832. for i=1,#v do
  3833. res:connect(v[i]);
  3834. end;
  3835. else
  3836. res:connect(v);
  3837. end;
  3838. else
  3839. object[key]=v;
  3840. end;
  3841. end;
  3842. end;
  3843.  
  3844. if(parent)then
  3845. object.Parent=parent;
  3846. end;
  3847.  
  3848. return object;
  3849. end;
  3850. end;
  3851.  
  3852. _RGB=function(r,g,b)
  3853. return Color3.new(r/255,g/255,b/255);
  3854. end;
  3855.  
  3856. _copy=function(o)
  3857. local def=o.archivable;
  3858. o.archivable=true;
  3859. local c=o:clone();
  3860. o.archivable=def;
  3861. return c;
  3862. end;
  3863.  
  3864. _hum=function(char)
  3865. local hum=char:findFirstChild'Humanoid';
  3866. if(not hum or hum.className~='Humanoid')then
  3867. local c=char:children();
  3868. for i=1,#c do
  3869. if(c[i].className=='Humanoid')then
  3870. return c[i];
  3871. end;
  3872. end;
  3873. else
  3874. return hum;
  3875. end;
  3876. end;
  3877.  
  3878. _hum_tag=function(hum)
  3879. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  3880. c.Name='creator';
  3881. c.Value=user;
  3882. if(hum.Health==0 and not hum:findFirstChild'killed')then
  3883. Instance.new('BoolValue',hum).Name='killed';
  3884. bullets.clip=bullets.clip+10;
  3885. end;
  3886. end;
  3887.  
  3888. _hum_dam=function(hum,dam,percent)
  3889. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  3890. if(hum.Health<=hum.MaxHealth*0.1)then
  3891. _hum_tag(hum);
  3892. end;
  3893. end;
  3894.  
  3895. _ray=function(v0,v1,i)
  3896. local mag=(v0-v1).magnitude;
  3897. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  3898.  
  3899. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  3900. end;
  3901.  
  3902. _must=function(v0,v1,i)
  3903. local hit,pos=_ray(v0,v1,i);
  3904. return not hit and mouse.target or hit,pos;
  3905. end;
  3906.  
  3907. _cframe=function(x,y,z,r0,r1,r2)
  3908. return CFrame.Angles(
  3909. math.rad(r0 or 0),
  3910. math.rad(r1 or 0),
  3911. math.rad(r2 or 0)
  3912. )*CFrame.new(x,y,z);
  3913. end;
  3914.  
  3915. _update=function()
  3916. if(bool_active and not screen.Parent)then
  3917. screen.Parent=gui;
  3918. elseif(not bool_active and screen.Parent)then
  3919. screen.Parent=nil;
  3920. end;
  3921. end;
  3922.  
  3923. _light=function(v0,v1)
  3924. local mag=(v0-v1).magnitude;
  3925. local len=math.random(2,7);
  3926. len=len>mag/2 and mag/2 or len;
  3927.  
  3928. --local light=_new'part'{
  3929. -- cFrame=CFrame.new(v0,v1);
  3930. -- size=Vector3.new(1,1,1);
  3931. -- color=_RGB(255,255,0);
  3932. -- anchored=true;
  3933. -- inv;
  3934. --};
  3935. _new'blockMesh'{
  3936. scale=Vector3.new(0.2,0.2,len);
  3937. offset=Vector3.new(0,0,-len/2);
  3938. light;
  3939. };
  3940.  
  3941. local bb=_new'billboardGui'{
  3942. size=UDim2.new(2,0,2,0);
  3943. adornee=light;
  3944. light;
  3945. };
  3946. _new'imageLabel'{
  3947. image=url:format(109101526);
  3948. backgroundTransparency=1;
  3949. size=UDim2.new(1,0,1,0);
  3950. bb;
  3951. };
  3952.  
  3953. -- _rem(light,0.15);
  3954. end;
  3955.  
  3956. _rem=function(object,del)
  3957. if(del)then
  3958. delay(del,function()
  3959. if(object.Parent)then
  3960. object.Parent=nil;
  3961. end;
  3962. end);
  3963. else
  3964. pcall(function()
  3965. if(object.Parent)then
  3966. object.Parent=nil;
  3967. end;
  3968. end);
  3969. end;
  3970. end;
  3971.  
  3972. _blood=function(pos,count)
  3973. for i=1,count do
  3974. local p=_new'part'{
  3975. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3976. position=pos+Vector3.new(math.random(),math.random(),math.random());
  3977. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3978. size=Vector3.new(math.random(),math.random(),math.random())/3;
  3979. color=_RGB(255,0,0);
  3980. transparency=0.5;
  3981. canCollide=true;
  3982. bottomSurface=0;
  3983. topSurface=0;
  3984. formFactor=3;
  3985. locked=true;
  3986. inv;
  3987. };
  3988. delay(5,function()
  3989. p.Parent=nil;
  3990. end);
  3991. end;
  3992. end;
  3993.  
  3994. _make_hue=function()
  3995. h_hue=_new'part'{
  3996. size=Vector3.new(0.25,1.8,0.35);
  3997. color=_RGB(100,100,100);
  3998. formFactor=3;
  3999. name='hue';
  4000. handle;
  4001. };
  4002. hh_weld=_new'weld'{
  4003. c1=_cframe(0,0.5,0);
  4004. part0=handle;
  4005. part1=h_hue;
  4006. handle;
  4007. };
  4008. end;
  4009.  
  4010. _shot=function(v0,v1)
  4011. if(not time_left)then
  4012. time_left=0;
  4013. end;
  4014. if(time_left>time())then
  4015. return nil;
  4016. else
  4017. time_left=time()+math.random(1,10)/100;
  4018. end;
  4019.  
  4020. if(bullets.current<1)then
  4021. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  4022. soundId='rbxasset://sounds/SWITCH3.wav';
  4023. name='tick_sound';
  4024. volume=0.2;
  4025. pitch=2;
  4026. head;
  4027. };
  4028. tick_sound:play();
  4029. if(bullets.clip>0)then
  4030. time_left=time()+2;
  4031. h_hue:breakJoints();
  4032. h_hue.CanCollide=true;
  4033. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  4034. _rem(h_hue,10);
  4035. delay(1.9,function()
  4036. _make_hue();
  4037. local got=(bullets.clip>bullets.maximum and
  4038. bullets.maximum or
  4039. bullets.clip)-bullets.current;
  4040.  
  4041. bullets.clip=bullets.clip-got;
  4042. bullets.current=bullets.current+got;
  4043. end);
  4044. end;
  4045. return nil;
  4046. else
  4047. bullets.current=bullets.current-1;
  4048.  
  4049. h_weld.C1=_cframe(0,0.75,0,
  4050. -math.random(1000,1100)/10,180,0);
  4051. d_weld.C1=_cframe(0,-0.25,0.3);
  4052.  
  4053. lightstuff.Visible=true;
  4054. delay(0.1,function()
  4055. lightstuff.Visible=false;
  4056. end);
  4057.  
  4058. _rem(_new'part'{
  4059. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  4060. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  4061. size=Vector3.new(0.1,0.1,0.4);
  4062. color=_RGB(200,200,0);
  4063. material='Slate';
  4064. canCollide=true;
  4065. formFactor=3;
  4066. inv;
  4067. },5);
  4068.  
  4069. delay(0.1,function()
  4070. d_weld.C1=_cframe(0,-0.25,0);
  4071. if(bool_active)then
  4072. h_weld.C1=h_weld_cf_active;
  4073. end;
  4074. end)
  4075. end;
  4076.  
  4077. local hit,pos=_must(v0,v1,char);
  4078.  
  4079. shot_sound:play();
  4080.  
  4081.  
  4082. _rem(_new'part'{
  4083. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  4084. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  4085. color=_RGB(255,255,0);
  4086. transparency=0.6;
  4087. reflectance=0.5;
  4088. canCollide=false;
  4089. bottomSurface=0;
  4090. anchored=true;
  4091. formFactor=3;
  4092. topSurface=0;
  4093. inv;
  4094. },.15);
  4095. _light(v0,v1);
  4096.  
  4097. if(not hit)then return nil;end;
  4098.  
  4099. if(hit.Parent.className=='Hat')then
  4100. hit:breakJoints();
  4101. hit.CanCollide=true;
  4102. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  4103. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  4104. else
  4105. local hum=_hum(hit.Parent);
  4106. if(not hum)then
  4107. if(hit.Anchored==false and hit.Size.magnitude<4)then
  4108. hit:breakJoints();
  4109. hit.CanCollide=true;
  4110. end;
  4111. else
  4112. _hum_dam(hum,math.random(4,6));
  4113. _blood(pos,math.random(3,6));
  4114. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  4115. if(hit.Name=='Head')then
  4116. hum.Health=0;
  4117. _blood(pos,math.random(3,6));
  4118. delay(0.001,function()
  4119. _new(workspace:FindFirstChild'head_shot'or'sound'){
  4120. pitch=math.random(70,100)*0.01;
  4121. soundId=url:format(1876552);
  4122. name='head_shot';
  4123. workspace;
  4124. }:play();
  4125. end);
  4126. _hum_tag(hum);
  4127. _rem(_new'part'{
  4128. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  4129. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  4130. color=torso.Color;
  4131. transparency=0.5;
  4132. canCollide=false;
  4133. bottomSurface=0;
  4134. anchored=true;
  4135. formFactor=3;
  4136. topSurface=0;
  4137. inv;
  4138. },30);
  4139. hit.Parent=nil;
  4140. for b=0,1 do
  4141. for a=0,1 do
  4142. for i=0,1 do
  4143. _rem(_new'part'{
  4144. velocity=CFrame.new(v0,pos).lookVector*20;
  4145. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  4146. size=Vector3.new(0.5,0.5,0.5);
  4147. color=_RGB(255,255,255);
  4148. bottomSurface=0;
  4149. canCollide=true;
  4150. transparency=0;
  4151. formFactor=3;
  4152. topSurface=0;
  4153. hum;
  4154. },30);
  4155. end;
  4156. end;
  4157. end;
  4158. end;
  4159. end;
  4160. end;
  4161. end;
  4162.  
  4163.  
  4164.  
  4165. _cf_select=function(mouse)
  4166. mouse.Icon=url:format(109111387);--108999296
  4167. bool_active=true;
  4168.  
  4169. local arm=char:findFirstChild'Right Arm';
  4170. local weld=torso:findFirstChild'Right Shoulder';
  4171. if(arm and weld)then
  4172. h_weld.Part0=arm;
  4173. h_weld.C1=h_weld_cf_active;
  4174.  
  4175. weld.Part1=nil;
  4176. weld.Part0=nil;
  4177.  
  4178. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  4179. name='right_arml';
  4180. part0=torso;
  4181. part1=arm;
  4182. torso;
  4183. };
  4184.  
  4185. arml=(arml or 0)+1;
  4186. local alv=arml;
  4187. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  4188. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  4189. gyro.P=30000;
  4190. gyro.D=1000;
  4191. gyro.Name='p_gyro';
  4192. repeat
  4193. local pos=mouse.hit.p;
  4194. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  4195.  
  4196. val=-math.pi*0.5;
  4197. valp=val*-1;
  4198. p0=torso.CFrame;
  4199. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  4200. p1=p0+((p0.p-pos).unit*-2);
  4201. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  4202. hitpos=torso.Position;
  4203. cj=CFrame.new(hitpos);
  4204. c0=torso.CFrame:inverse()*cj;
  4205. c1=p2:inverse()*cj;
  4206. weld.C0=c0;
  4207. weld.C1=c1;
  4208.  
  4209. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  4210.  
  4211. wait(0.001);
  4212. until arml~=alv;
  4213. gyro.Parent=nil;
  4214. end;
  4215. end;
  4216.  
  4217. _cf_deselect=function()
  4218. bool_active=false;
  4219. arml=(arml or 0)+1;
  4220. loop_shot=(loop_shot or 0)+1;
  4221.  
  4222. h_weld.Part0=torso;
  4223. h_weld.C1=h_weld_cf_inactive;
  4224.  
  4225. local weld=torso:findFirstChild'right_arml';
  4226. if(weld)then
  4227. weld.Part1=nil;
  4228. weld.Part0=nil;
  4229. end;
  4230. local arm=char:findFirstChild'Right Arm';
  4231. local weld=torso:findFirstChild'Right Shoulder';
  4232. if(arm and weld)then
  4233. weld.Part0=torso;
  4234. weld.Part1=arm;
  4235. end;
  4236. end;
  4237.  
  4238. _cf_mouse=function(event,fun)
  4239. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  4240. if(bool_active)then
  4241. fun(...);
  4242. end;
  4243. end);
  4244. end;
  4245.  
  4246.  
  4247. do
  4248. local main=getfenv(0);
  4249. local c=game:children();
  4250. local check=function(v)
  4251. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  4252. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  4253. end;
  4254. end;
  4255. for i=1,#c do
  4256. pcall(check,c[i]);
  4257. end;
  4258. end;
  4259.  
  4260.  
  4261. bullets={
  4262. maximum=51111111111111111111111111110;
  4263. current=511111111111111111111111111111110;
  4264. clip=501111111111111111111111111111111*4;
  4265. };
  4266.  
  4267. list_base_props={
  4268. backgroundColor3=_RGB(0,0,0);
  4269. textColor3=_RGB(200,200,200);
  4270. borderSizePixel=0;
  4271. color=_RGB(0,0,0);
  4272. archivable=false;
  4273. canCollide=false;
  4274. bottomSurface=0;
  4275. topSurface=0;
  4276. formFactor=0;
  4277. locked=true;
  4278. };
  4279.  
  4280.  
  4281.  
  4282. user=players.localPlayer;
  4283. mouse=user:getMouse();
  4284. char=user.Character;
  4285. gui=user.PlayerGui;
  4286. bag=user.Backpack;
  4287. torso=char.Torso;
  4288. head=char.Head;
  4289. hum=_hum(char);
  4290.  
  4291. url='rbxassetid://%d';
  4292. name='dev-uzi';
  4293.  
  4294. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  4295. 0,90,-70);
  4296. h_weld_cf_active=_cframe(0,0.75,0,
  4297. -110,180,0);
  4298.  
  4299. assert(hum,'humanoid is not found');
  4300.  
  4301.  
  4302.  
  4303. _clear();
  4304.  
  4305.  
  4306. _cf_mouse('button1Down',function()
  4307. loop_shot=(loop_shot or 0)+1;
  4308. local vers=loop_shot;
  4309. local step=runService.Stepped;
  4310. repeat
  4311. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  4312. step:wait();--wait(0.001);
  4313. until vers~=loop_shot;
  4314. end);
  4315.  
  4316. _cf_mouse('button1Up',function()
  4317. loop_shot=(loop_shot or 0)+1;
  4318. end);
  4319.  
  4320. _cf_mouse('move',function()
  4321. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  4322. end);
  4323.  
  4324. _cf_mouse('keyDown',function(k)
  4325. if(k=='r')then
  4326. if(bullets.clip>0 and time_left<=time())then
  4327. local got=(bullets.clip>bullets.maximum and
  4328. bullets.maximum or
  4329. bullets.clip)-bullets.current;
  4330.  
  4331. bullets.clip=bullets.clip-got;
  4332. bullets.current=bullets.current+got;
  4333. if(got~=0)then
  4334. time_left=time()+2;
  4335. end;
  4336. end;
  4337. end;
  4338. end);
  4339.  
  4340.  
  4341. screen=_new'screenGui'{
  4342. name=name;
  4343. };
  4344.  
  4345. cross_f=_new'frame'{
  4346. size=UDim2.new(0,21,0,21);
  4347. backgroundTransparency=1;
  4348. screen;
  4349. };
  4350.  
  4351. for i=0,1 do
  4352. _new'frame'{
  4353. position=UDim2.new(0,13*i,0,11);
  4354. size=UDim2.new(0,10,0,1);
  4355. cross_f;
  4356. };
  4357. end;
  4358.  
  4359. for i=0,1 do
  4360. _new'frame'{
  4361. position=UDim2.new(0,11,0,13*i);
  4362. size=UDim2.new(0,1,0,10);
  4363. cross_f;
  4364. };
  4365. end;
  4366.  
  4367.  
  4368.  
  4369. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  4370. soundId=url:format(2920959);
  4371. pitch=1.4;
  4372. head;
  4373. };
  4374. if(shot_sound.Name~='2920959')then
  4375. shot_sound.Name='2920959';
  4376. shot_sound:play();
  4377. end;
  4378.  
  4379. bin=_new'hopperBin'{
  4380. deselected=_cf_deselect;
  4381. selected=_cf_select;
  4382. name=name;
  4383. bag;
  4384. };
  4385.  
  4386. inv=_new'model'{
  4387. name=name;
  4388. char;
  4389. };
  4390.  
  4391. handle=_new'part'{
  4392. size=Vector3.new(0.3,1.3,0.4);
  4393. color=_RGB(140,140,140);
  4394. name='handle';
  4395. formFactor=3;
  4396. inv;
  4397. touched=function(hit)
  4398. if(hit.Parent.className=='Model')then
  4399. local hum=_hum(hit.Parent);
  4400. if(hum~=nil)then
  4401. _hum_dam(hum,handle.Velocity.magnitude);
  4402. end;
  4403. end;
  4404. end;
  4405. };
  4406. h_weld=_new'weld'{
  4407. c1=h_weld_cf_inactive;
  4408. part1=handle;
  4409. part0=torso;
  4410. handle;
  4411. };
  4412. _make_hue();
  4413.  
  4414. h_part=_new'part'{
  4415. size=Vector3.new(0.4,0.4,1.4);
  4416. color=_RGB(140,140,140);
  4417. name='handle';
  4418. formFactor=3;
  4419. handle;
  4420. };
  4421. hp_weld=_new'weld'{
  4422. c1=_cframe(0,-1.3/2,-0.3,
  4423. 20,0,0);
  4424. part0=handle;
  4425. part1=h_part;
  4426. handle;
  4427. };
  4428.  
  4429. drag=_new'part'{
  4430. size=Vector3.new(0.5,0.45,1.5);
  4431. color=_RGB(100,100,100);
  4432. name='handle';
  4433. formFactor=3;
  4434. handle;
  4435. };
  4436. d_weld=_new'weld'{
  4437. c1=_cframe(0,-0.25,0);
  4438. part0=h_part;
  4439. part1=drag;
  4440. handle;
  4441. };
  4442.  
  4443. tube=_new'part'{
  4444. size=Vector3.new(0.2,0.2,1.5);
  4445. color=_RGB(0,0,0);
  4446. name='handle';
  4447. formFactor=3;
  4448. handle;
  4449. };
  4450. t_weld=_new'weld'{
  4451. c1=_cframe(0,-0.3,-0.1);
  4452. part0=h_part;
  4453. part1=tube;
  4454. handle;
  4455. };
  4456.  
  4457. bullets_label=_new'textLabel'{
  4458. textStrokeColor3=_RGB(0,0,0);
  4459. textColor3=_RGB(200,200,200);
  4460. textStrokeTransparency=0;
  4461. backgroundTransparency=1;
  4462. fontSize=5;
  4463. screen;
  4464. };
  4465.  
  4466. lightstuff=_new'frame'{
  4467. backgroundColor3=_RGB(255,255,255);
  4468. position=UDim2.new(0,0,0,-1);
  4469. backgroundTransparency=0.5;
  4470. size=UDim2.new(1,0,1,1);
  4471. borderSizePixel=0;
  4472. visible=false;
  4473. screen;
  4474. };
  4475.  
  4476. coroutine.wrap(function()
  4477. local red,white,green;
  4478. repeat
  4479. if(screen.Parent)then
  4480. if(not green and bullets.current==bullets.maximum)then
  4481. green=true;
  4482. bullets_label.TextColor3=_RGB(0,200,0);
  4483. elseif(not red and bullets.current==0)then
  4484. red=true;
  4485. bullets_label.TextColor3=_RGB(200,0,0);
  4486. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  4487. bullets_label.TextColor3=_RGB(200,200,200);
  4488. green=false;
  4489. red=false;
  4490. end;
  4491. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  4492. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  4493. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  4494. end;
  4495. wait(0.001);
  4496. until nil;
  4497. end)();
  4498.  
  4499.  
  4500. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  4501. local vers=_G.dev_pistol_version;
  4502. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  4503. if(hum.Health==0)then
  4504. _clear();
  4505. end;
  4506. end
  4507. end)
  4508.  
  4509. addcmd('nil', 'removes the player',{},
  4510. function(args, speaker)
  4511. local players = getPlayer(args[1], speaker)
  4512. for i,v in pairs(players)do
  4513. pcall(function() gPlayers[v].Character:Remove() end)
  4514. gPlayers[v].Character = nil
  4515. if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
  4516. Notify('Made player(s) nil') end end end)
  4517.  
  4518. addcmd('ban', 'goodbye ;)',{},
  4519. function(args, speaker)
  4520. local players = getPlayer(args[1], speaker)
  4521. for i,v in pairs(players)do
  4522. if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
  4523. Notify('Banned player(s)') end
  4524. spawn(function()
  4525. if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  4526. if not FindTable(banname, gPlayers[v].Name) then
  4527. table.insert(banT, _players[v].userId)
  4528. banname[#banname + 1] = {NAME = tostring(gPlayers[v].Name), ID = tonumber(gPlayers[v].userId), AGE = tonumber(gPlayers[v].AccountAge)}
  4529. updatebans()
  4530. kickF(gPlayers[v])
  4531. end
  4532. end
  4533. end)
  4534. end
  4535. end)
  4536.  
  4537. addcmd('clearbans', 'welcome back!',{'clrbans'},
  4538. function(args, speaker)
  4539. banT = {}
  4540. banname = {}
  4541. Notify('Removed all bans')
  4542. updatebans()
  4543. end)
  4544.  
  4545. addcmd('unban','unbans a player',{},
  4546. function(args, speaker)
  4547. if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
  4548. table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
  4549. for i,v in pairs(banname) do
  4550. if v.NAME == tostring(args[1]) then
  4551. table.remove(banname, i)
  4552. updatebans()
  4553. end end
  4554. Notify('Unbanned ' .. args[1])
  4555. end
  4556. end)
  4557.  
  4558. addcmd('dismiss', 'dismiss',{'verify'},
  4559. function(args, speaker)
  4560. for _, child in pairs( workspace:GetChildren()) do
  4561. if child.Name == speaker.Name .. "TAB" then
  4562. child:Destroy() end end
  4563. for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
  4564. end)
  4565.  
  4566. addcmd('admin', 'ur an admin now ;o',{},
  4567. function(args, speaker)
  4568. if speaker.userId ~= LP.userId then
  4569. lponly(speaker) else
  4570. local players = getPlayer(args[1], speaker)
  4571. for i,v in pairs(players)do
  4572. spawn(function()
  4573. if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
  4574. table.insert(adminT, _players[v].userId)
  4575. adminname[#adminname + 1] = {NAME = tostring(gPlayers[v].Name)}
  4576. updateadmins()
  4577. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
  4578. Notify('Gave player(s) admin') end
  4579. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
  4580. end end) end end end)
  4581.  
  4582. addcmd('unadmin', 'removes the admin',{'noadmin'},
  4583. function(args, speaker)
  4584. if speaker.userId ~= LP.userId then
  4585. lponly(speaker) else
  4586. local players = getPlayer(args[1], speaker)
  4587. for i,v in pairs(players)do
  4588. local radmin = tostring(_players[v].Name)
  4589. if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
  4590. table.remove(adminT, GetInTable(adminT, _players[v].userId))
  4591. for a,b in pairs(adminname) do
  4592. if b.NAME == radmin then
  4593. table.remove(adminname, a)
  4594. updateadmins()
  4595. end end
  4596. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
  4597. if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
  4598. Notify('Removed admin from player(s)') end
  4599. end
  4600. end
  4601. end
  4602. end)
  4603.  
  4604. addcmd('bang','owo',{'rape'},
  4605. function(args, speaker)
  4606. local players = getPlayer(args[1], speaker)
  4607. for i,v in pairs(players)do
  4608. rape(_players[v].Name, speaker)
  4609. end
  4610. end)
  4611.  
  4612. addcmd('bgui', 'gives player billboard gui presenting text',{},
  4613. function(args, speaker)
  4614. local players = getPlayer(args[1], speaker)
  4615. for i,v in pairs(players)do
  4616. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4617. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
  4618. end
  4619.  
  4620. y = Instance.new("BillboardGui")
  4621. y.Size = UDim2.new(0,100,0,150)
  4622. y.StudsOffset = Vector3.new(0,1,0)
  4623. y.Parent = gPlayers[v].Character.Head
  4624. y.Adornee = gPlayers[v].Character.Head
  4625. f = Instance.new("TextLabel")
  4626. f.Parent = y
  4627. f.BackgroundTransparency = 1
  4628. f.Position = UDim2.new(0,0,0,-50)
  4629. f.Size = UDim2.new(0,100,0,100)
  4630. f.Font = "Highway"
  4631. f.FontSize = "Size48"
  4632. f.Text = GLS(false, 1)
  4633. f.TextStrokeColor3 = Color3.new(0,0,0)
  4634. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  4635. f.TextStrokeTransparency = 0
  4636. f.TextYAlignment = "Bottom"
  4637. end
  4638. end)
  4639.  
  4640. addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
  4641. function(args, speaker)
  4642. local players = getPlayer(args[1], speaker)
  4643. for i,v in pairs(players)do
  4644. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  4645. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Destroy()
  4646. end
  4647. end
  4648. end)
  4649.  
  4650. function pipeTp(name,target)
  4651. spawn(function()
  4652. local pipe = Instance.new("Part")
  4653. pipe.Name = "Pipe"
  4654. pipe.Color = Color3.new(52/255,142/255,64/255)
  4655. pipe.Size = Vector3.new(8,8,8)
  4656. pipe.Anchored = true
  4657. local mesh = Instance.new("SpecialMesh",pipe)
  4658. mesh.MeshId = "rbxassetid://856736661"
  4659. mesh.Scale = Vector3.new(0.15, 0.15, 0.15)
  4660. local sound = Instance.new("Sound",pipe)
  4661. sound.SoundId = "rbxassetid://864352897"
  4662. sound.Volume = 1
  4663.  
  4664. local targetpos = game:GetService("Players")[target].Character.HumanoidRootPart.CFrame
  4665.  
  4666. local char = game:GetService("Players")[name].Character
  4667. char.PrimaryPart = char.HumanoidRootPart
  4668. if char:FindFirstChild("Torso") then
  4669. char.Torso.Anchored = true
  4670. else
  4671. char.UpperTorso.Anchored = true
  4672. end
  4673.  
  4674. local torso = char.HumanoidRootPart
  4675. local initPos = torso.CFrame
  4676.  
  4677. pipe.Parent = workspace
  4678. pipe.CFrame = initPos - Vector3.new(0,8,0)
  4679.  
  4680. for i = 0,8,0.2 do
  4681. pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4682. if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4683. game:GetService("RunService").RenderStepped:wait()
  4684. end
  4685.  
  4686. sound:Play()
  4687. for i = 7,-8,-0.2 do
  4688. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4689. game:GetService("RunService").RenderStepped:wait()
  4690. end
  4691. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,-8,0))
  4692.  
  4693. for i = 8,0,-0.2 do
  4694. pipe.CFrame = initPos - Vector3.new(0,8-i,0)
  4695. game:GetService("RunService").RenderStepped:wait()
  4696. end
  4697.  
  4698. pipe.CFrame = targetpos - Vector3.new(0,8,0)
  4699. char:SetPrimaryPartCFrame(pipe.CFrame)
  4700.  
  4701. for i = 0,8,0.2 do
  4702. pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4703. game:GetService("RunService").RenderStepped:wait()
  4704. end
  4705.  
  4706. local played = false
  4707. for i = -8,7,0.2 do
  4708. if i >= 0 and not played then played = true sound:Play() end
  4709. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,i,0))
  4710. game:GetService("RunService").RenderStepped:wait()
  4711. end
  4712. char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0))
  4713.  
  4714. for i = 8,0,-0.2 do
  4715. pipe.CFrame = targetpos - Vector3.new(0,8-i,0)
  4716. if i >= 1 then char:SetPrimaryPartCFrame(pipe.CFrame + Vector3.new(0,7,0)) end
  4717. game:GetService("RunService").RenderStepped:wait()
  4718. end
  4719.  
  4720. pipe:Destroy()
  4721.  
  4722. if char:FindFirstChild("Torso") then
  4723. char.Torso.Anchored = false
  4724. else
  4725. char.UpperTorso.Anchored = false
  4726. end
  4727. end)
  4728. end
  4729.  
  4730. addcmd('pipetp', 'uses pipe to tp plr to plr',{},
  4731. function(args, speaker)
  4732. local players = getPlayer(args[1], speaker)
  4733. local target = getPlayer(args[2], speaker)[1]
  4734. for i,v in pairs(players)do
  4735. pipeTp(v,target)
  4736. end
  4737. end)
  4738.  
  4739. addcmd('rhats', 'no more hats',{'removehats'},
  4740. function(args, speaker)
  4741. local players = getPlayer(args[1], speaker)
  4742. for i,v in pairs(players) do
  4743. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  4744. if v:IsA('Accessory') then
  4745. v:destroy()
  4746. end
  4747. end
  4748. end
  4749. end)
  4750.  
  4751. addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
  4752. function(args, speaker)
  4753. local players = getPlayer(args[1], speaker)
  4754. for i,v in pairs(players) do
  4755. for i,v in pairs(gPlayers[v].Backpack:GetDescendants()) do
  4756. if v:IsA('Tool') or v:IsA('HopperBin') then
  4757. v:destroy() end
  4758. for i,v in pairs(players) do
  4759. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  4760. if v:IsA('Tool') or v:IsA('HopperBin') then
  4761. v:destroy() end end end
  4762. end
  4763. end
  4764. end)
  4765.  
  4766. addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
  4767. function(args, speaker)
  4768. local players = getPlayer(args[1], speaker)
  4769. for i,v in pairs(players)do
  4770. local function copy(instance)
  4771. for i,c in pairs(instance:GetChildren())do
  4772. if c:IsA('Tool') or c:IsA('HopperBin') then
  4773. c:Clone().Parent = gPlayers[v].StarterGear end
  4774. copy(c)
  4775. end
  4776. end
  4777. copy(gPlayers[v].Backpack)
  4778. end
  4779. for i,v in pairs(players)do
  4780. local function copy(instance)
  4781. for i,c in pairs(instance:GetChildren())do
  4782. if c:IsA('Tool') or c:IsA('HopperBin') then
  4783. c:Clone().Parent = gPlayers[v].StarterGear end
  4784. copy(c)
  4785. end
  4786. end
  4787. copy(gPlayers[v].Character)
  4788. end
  4789. Notify('Copied tools to StarterGear')
  4790. end)
  4791.  
  4792. addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
  4793. function(args, speaker)
  4794. local players = getPlayer(args[1], speaker)
  4795. for i,v in pairs(players)do
  4796. for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
  4797. if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
  4798. end end end
  4799. Notify('Cleared tools from StarterGear')
  4800. end)
  4801.  
  4802. addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
  4803. function(args, speaker)
  4804. local players = getPlayer(args[1], speaker)
  4805. for i,v in pairs(players)do
  4806. local function copy(instance)
  4807. for i,c in pairs(instance:GetChildren())do
  4808. if c:IsA('Tool') or c:IsA('HopperBin') then
  4809. c:Clone().Parent = gPlayers[v].Backpack end
  4810. copy(c)
  4811. end
  4812. end
  4813. copy(LightingService)
  4814. end
  4815. for i,v in pairs(players)do
  4816. local function copy(instance)
  4817. for i,c in pairs(instance:GetChildren())do
  4818. if c:IsA('Tool') or c:IsA('HopperBin') then
  4819. c:Clone().Parent = gPlayers[v].Backpack end
  4820. copy(c)
  4821. end
  4822. end
  4823. copy(game.ReplicatedStorage)
  4824. end
  4825. end)
  4826.  
  4827. wdisco = false
  4828. addcmd('partdisco', 'color spams the workspace',{'pdisco'},
  4829. function(args, speaker)
  4830. if wdisco == false then
  4831. wdisco = true
  4832. presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  4833. repeat wait(1)
  4834. if wdisco == true then
  4835. local function color(instance)
  4836. for i,v in pairs(instance:GetChildren())do
  4837. if v.className == "Part" then
  4838. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
  4839. color(v)
  4840. end
  4841. end
  4842. color(workspace)
  4843. end
  4844. until wdisco == false
  4845. end
  4846. end)
  4847.  
  4848. addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
  4849. function(args, speaker)
  4850. wdisco = false
  4851. end)
  4852.  
  4853. addcmd('gravity', 'workspace gravity',{''},
  4854. function(args, speaker)
  4855. workspace.Gravity = args[1]
  4856. Notify('Gravity set to ' .. args[1])
  4857. end)
  4858.  
  4859. SINFOGUIopen = false
  4860. function serverinfogui()
  4861. if SINFOGUIopen == false then
  4862. local Sinfo = Instance.new("ScreenGui")
  4863. local drag = Instance.new("Frame")
  4864. local PromptDialog = Instance.new("Frame")
  4865. local shadow = Instance.new("Frame")
  4866. local PopupText = Instance.new("TextLabel")
  4867. local Exit = Instance.new("TextButton")
  4868. local ContainerFrame = Instance.new("Frame")
  4869. local TextLabel = Instance.new("TextLabel")
  4870. local TextLabel2 = Instance.new("TextLabel")
  4871. local TextLabel3 = Instance.new("TextLabel")
  4872. local Time = Instance.new("TextLabel")
  4873. local appearance = Instance.new("TextLabel")
  4874. local fe = Instance.new("TextLabel")
  4875. local maxplayers = Instance.new("TextLabel")
  4876. local name = Instance.new("TextLabel")
  4877. local placeid = Instance.new("TextLabel")
  4878. local playerid = Instance.new("TextLabel")
  4879. local players = Instance.new("TextLabel")
  4880. Sinfo.Name = "Sinfo"
  4881. Sinfo.Parent = game.CoreGui
  4882. drag.Name = "drag"
  4883. drag.Parent = Sinfo
  4884. drag.Active = true
  4885. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  4886. drag.BackgroundTransparency = 1
  4887. drag.Draggable = true
  4888. drag.Position = UDim2.new(0.5, -150, 0, -400)
  4889. drag.Size = UDim2.new(0, 290, 0, 30)
  4890. PromptDialog.Name = "PromptDialog"
  4891. PromptDialog.Parent = drag
  4892. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  4893. PromptDialog.BackgroundTransparency = 1
  4894. PromptDialog.BorderSizePixel = 0
  4895. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  4896. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  4897. PromptDialog.ZIndex = 8
  4898. shadow.Name = "shadow"
  4899. shadow.Parent = PromptDialog
  4900. shadow.BackgroundColor3 = maincolor
  4901. shadow.BackgroundTransparency = 0.30000001192093
  4902. shadow.BorderColor3 = Color3.new(0, 0, 0)
  4903. shadow.BorderSizePixel = 0
  4904. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  4905. shadow.Size = UDim2.new(0, 290, 0, 26)
  4906. PopupText.Name = "PopupText"
  4907. PopupText.Parent = shadow
  4908. PopupText.BackgroundTransparency = 1
  4909. PopupText.Position = UDim2.new(0, 8, 0, -3)
  4910. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  4911. PopupText.ZIndex = 110
  4912. PopupText.Font = Enum.Font.SourceSansBold
  4913. PopupText.FontSize = Enum.FontSize.Size28
  4914. PopupText.Text = "Server"
  4915. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  4916. PopupText.TextStrokeTransparency = 0
  4917. PopupText.TextWrapped = true
  4918. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  4919. Exit.Name = "Exit"
  4920. Exit.Parent = shadow
  4921. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  4922. Exit.BackgroundTransparency = 0.30000001192093
  4923. Exit.BorderColor3 = Color3.new(1, 0, 0)
  4924. Exit.BorderSizePixel = 0
  4925. Exit.Position = UDim2.new(0, 267, 0, 3)
  4926. Exit.Size = UDim2.new(0, 20, 0, 20)
  4927. Exit.FontSize = Enum.FontSize.Size14
  4928. Exit.Text = ""
  4929. ContainerFrame.Name = "ContainerFrame"
  4930. ContainerFrame.Parent = PromptDialog
  4931. ContainerFrame.BackgroundColor3 = maincolor
  4932. ContainerFrame.BackgroundTransparency = 0.5
  4933. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  4934. ContainerFrame.BorderSizePixel = 0
  4935. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  4936. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  4937. ContainerFrame.ZIndex = 5
  4938. TextLabel.Name = "Text Label"
  4939. TextLabel.Parent = ContainerFrame
  4940. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4941. TextLabel.BackgroundTransparency = 1
  4942. TextLabel.BorderColor3 = Color3.new(0, 0, 0)
  4943. TextLabel.Position = UDim2.new(0, 10, 0, 70)
  4944. TextLabel.Size = UDim2.new(0, 100, 0, 20)
  4945. TextLabel.ZIndex = 10
  4946. TextLabel.Font = Enum.Font.SourceSans
  4947. TextLabel.FontSize = Enum.FontSize.Size24
  4948. TextLabel.Text = "Run Time:"
  4949. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  4950. TextLabel.TextStrokeTransparency = 0
  4951. TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  4952. TextLabel2.Name = "Text Label2"
  4953. TextLabel2.Parent = ContainerFrame
  4954. TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  4955. TextLabel2.BackgroundTransparency = 1
  4956. TextLabel2.BorderColor3 = Color3.new(0, 0, 0)
  4957. TextLabel2.Position = UDim2.new(0, 10, 0, 120)
  4958. TextLabel2.Size = UDim2.new(0, 100, 0, 20)
  4959. TextLabel2.ZIndex = 10
  4960. TextLabel2.Font = Enum.Font.SourceSans
  4961. TextLabel2.FontSize = Enum.FontSize.Size24
  4962. TextLabel2.Text = "Statistics:"
  4963. TextLabel2.TextColor3 = Color3.new(1, 1, 1)
  4964. TextLabel2.TextStrokeTransparency = 0
  4965. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left
  4966. TextLabel3.Name = "Text Label3"
  4967. TextLabel3.Parent = ContainerFrame
  4968. TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
  4969. TextLabel3.BackgroundTransparency = 1
  4970. TextLabel3.BorderColor3 = Color3.new(0, 0, 0)
  4971. TextLabel3.Position = UDim2.new(0, 10, 0, 0)
  4972. TextLabel3.Size = UDim2.new(0, 100, 0, 20)
  4973. TextLabel3.ZIndex = 10
  4974. TextLabel3.Font = Enum.Font.SourceSans
  4975. TextLabel3.FontSize = Enum.FontSize.Size24
  4976. TextLabel3.Text = "Local Player:"
  4977. TextLabel3.TextColor3 = Color3.new(1, 1, 1)
  4978. TextLabel3.TextStrokeTransparency = 0
  4979. TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  4980. Time.Name = "Time"
  4981. Time.Parent = ContainerFrame
  4982. Time.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4983. Time.BackgroundTransparency = 1
  4984. Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4985. Time.Position = UDim2.new(0, 10, 0, 90)
  4986. Time.Size = UDim2.new(0, 100, 0, 20)
  4987. Time.ZIndex = 100
  4988. Time.Font = Enum.Font.ArialBold
  4989. Time.FontSize = Enum.FontSize.Size14
  4990. Time.Text = "Loading..."
  4991. Time.TextColor3 = Color3.new(1, 1, 1)
  4992. Time.TextStrokeTransparency = 0
  4993. Time.TextXAlignment = Enum.TextXAlignment.Left
  4994. appearance.Name = "appearance"
  4995. appearance.Parent = ContainerFrame
  4996. appearance.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4997. appearance.BackgroundTransparency = 1
  4998. appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4999. appearance.Position = UDim2.new(0, 10, 0, 40)
  5000. appearance.Size = UDim2.new(0, 100, 0, 20)
  5001. appearance.ZIndex = 10
  5002. appearance.Font = Enum.Font.ArialBold
  5003. appearance.FontSize = Enum.FontSize.Size14
  5004. appearance.Text = "Appearance: Loading..."
  5005. appearance.TextColor3 = Color3.new(1, 1, 1)
  5006. appearance.TextStrokeTransparency = 0
  5007. appearance.TextXAlignment = Enum.TextXAlignment.Left
  5008. fe.Name = "fe"
  5009. fe.Parent = ContainerFrame
  5010. fe.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5011. fe.BackgroundTransparency = 1
  5012. fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5013. fe.Position = UDim2.new(0, 10, 0, 200)
  5014. fe.Size = UDim2.new(0, 100, 0, 20)
  5015. fe.ZIndex = 10
  5016. fe.Font = Enum.Font.ArialBold
  5017. fe.FontSize = Enum.FontSize.Size14
  5018. fe.Text = "Loading..."
  5019. fe.TextColor3 = Color3.new(1, 1, 1)
  5020. fe.TextStrokeTransparency = 0
  5021. fe.TextXAlignment = Enum.TextXAlignment.Left
  5022. maxplayers.Name = "maxplayers"
  5023. maxplayers.Parent = ContainerFrame
  5024. maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5025. maxplayers.BackgroundTransparency = 1
  5026. maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5027. maxplayers.Position = UDim2.new(0, 10, 0, 160)
  5028. maxplayers.Size = UDim2.new(0, 100, 0, 20)
  5029. maxplayers.ZIndex = 10
  5030. maxplayers.Font = Enum.Font.ArialBold
  5031. maxplayers.FontSize = Enum.FontSize.Size14
  5032. maxplayers.Text = "Loading..."
  5033. maxplayers.TextColor3 = Color3.new(1, 1, 1)
  5034. maxplayers.TextStrokeTransparency = 0
  5035. maxplayers.TextXAlignment = Enum.TextXAlignment.Left
  5036. name.Name = "name"
  5037. name.Parent = ContainerFrame
  5038. name.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5039. name.BackgroundTransparency = 1
  5040. name.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5041. name.Position = UDim2.new(0, 10, 0, 180)
  5042. name.Size = UDim2.new(0, 100, 0, 20)
  5043. name.ZIndex = 10
  5044. name.Font = Enum.Font.ArialBold
  5045. name.FontSize = Enum.FontSize.Size14
  5046. name.Text = "Place: Loading..."
  5047. name.TextColor3 = Color3.new(1, 1, 1)
  5048. name.TextStrokeTransparency = 0
  5049. name.TextXAlignment = Enum.TextXAlignment.Left
  5050. placeid.Name = "placeid"
  5051. placeid.Parent = ContainerFrame
  5052. placeid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5053. placeid.BackgroundTransparency = 1
  5054. placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5055. placeid.Position = UDim2.new(0, 10, 0, 220)
  5056. placeid.Size = UDim2.new(0, 100, 0, 20)
  5057. placeid.ZIndex = 10
  5058. placeid.Font = Enum.Font.ArialBold
  5059. placeid.FontSize = Enum.FontSize.Size14
  5060. placeid.Text = "Place ID: Loading..."
  5061. placeid.TextColor3 = Color3.new(1, 1, 1)
  5062. placeid.TextStrokeTransparency = 0
  5063. placeid.TextXAlignment = Enum.TextXAlignment.Left
  5064. playerid.Name = "playerid"
  5065. playerid.Parent = ContainerFrame
  5066. playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5067. playerid.BackgroundTransparency = 1
  5068. playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5069. playerid.Position = UDim2.new(0, 10, 0, 20)
  5070. playerid.Size = UDim2.new(0, 100, 0, 20)
  5071. playerid.ZIndex = 10
  5072. playerid.Font = Enum.Font.ArialBold
  5073. playerid.FontSize = Enum.FontSize.Size14
  5074. playerid.Text = "Player ID: Loading..."
  5075. playerid.TextColor3 = Color3.new(1, 1, 1)
  5076. playerid.TextStrokeTransparency = 0
  5077. playerid.TextXAlignment = Enum.TextXAlignment.Left
  5078. players.Name = "players"
  5079. players.Parent = ContainerFrame
  5080. players.BackgroundColor3 = Color3.new(0, 0.8, 1)
  5081. players.BackgroundTransparency = 1
  5082. players.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  5083. players.Position = UDim2.new(0, 10, 0, 140)
  5084. players.Size = UDim2.new(0, 100, 0, 20)
  5085. players.ZIndex = 100
  5086. players.Font = Enum.Font.ArialBold
  5087. players.FontSize = Enum.FontSize.Size14
  5088. players.Text = "Loading..."
  5089. players.TextColor3 = Color3.new(1, 1, 1)
  5090. players.TextStrokeTransparency = 0
  5091. players.TextXAlignment = Enum.TextXAlignment.Left
  5092. local SINFOGUI = ContainerFrame
  5093. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  5094. SINFOGUIopen = true wait(0.5)
  5095. local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  5096. SINFOGUI.name.Text = "Place: " .. Asset.Name
  5097. Exit.MouseButton1Click:Connect(function()
  5098. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  5099. wait(0.6) SINFOGUIopen = false Sinfo:Destroy() end)
  5100. SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
  5101. if workspace.FilteringEnabled == true then
  5102. SINFOGUI.fe.Text = "Filtering Enabled"
  5103. elseif workspace.FilteringEnabled == false then
  5104. SINFOGUI.fe.Text = "Filtering Disabled" end
  5105. SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
  5106. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
  5107. players = gPlayers:getPlayers()
  5108. SINFOGUI.players.Text = #players.. " Player(s)"
  5109. SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
  5110. local seconds = math.floor(workspace.DistributedGameTime)
  5111. local minutes = math.floor(workspace.DistributedGameTime / 60)
  5112. local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  5113. local seconds = seconds - (minutes * 60)
  5114. local minutes = minutes - (hours * 60)
  5115. if hours < 1 then if minutes < 1 then
  5116. SINFOGUI.Time.Text = seconds .. " Second(s)" else
  5117. SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
  5118. SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  5119. end wait(1) until SINFOGUIopen == false end end
  5120. addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
  5121. function(args, speaker)
  5122. if speaker.userId ~= LP.userId then
  5123. lponly(speaker)
  5124. else
  5125. serverinfogui()
  5126. end
  5127. end)
  5128.  
  5129. addcmd('sparkles', 'give a player sparkles',{'sp'},
  5130. function(args, speaker)
  5131. local players = getPlayer(args[1], speaker)
  5132. for i,v in pairs(players)do
  5133. spawn(function()
  5134. local pchar=_char(v)
  5135. local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  5136. local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
  5137. local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  5138. local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  5139. local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  5140. local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  5141. if not args[2] then return end
  5142. Sparkles1.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5143. Sparkles2.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5144. Sparkles3.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5145. Sparkles4.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5146. Sparkles5.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5147. Sparkles6.Color = Color3.fromRGB((args[2]),(args[3]),(args[4]))
  5148. end)
  5149. end
  5150. end)
  5151.  
  5152. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
  5153. function(args, speaker)
  5154. local players = getPlayer(args[1], speaker)
  5155. for i,v in pairs(players)do
  5156. local pchar=_char(v)
  5157. for j,v1 in pairs(pchar:GetDescendants()) do
  5158. if v1:IsA("Sparkles") then
  5159. v1:Destroy()
  5160. end end end
  5161. end)
  5162.  
  5163. addcmd('smoke', 'give a player smoke',{},
  5164. function(args, speaker)
  5165. local players = getPlayer(args[1], speaker)
  5166. for i,v in pairs(players)do
  5167. local pchar=_char(v)
  5168. Instance.new("Smoke", pchar.HumanoidRootPart)
  5169. end
  5170. end)
  5171.  
  5172. addcmd('addstat', 'give a player a stat',{},
  5173. function(args, speaker)
  5174. local players = getPlayer(args[1], speaker)
  5175. for i,v in pairs(players)do
  5176. spawn(function()
  5177. if gPlayers[v]:FindFirstChild("leaderstats") then
  5178. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  5179. if child.Name == "STAT" then
  5180. child:Destroy()
  5181. end
  5182. end
  5183. local score = Instance.new("StringValue")
  5184. score.Name = "STAT"
  5185. score.Value = GLS(false, 1)
  5186. score.Parent = gPlayers[v].leaderstats
  5187. else
  5188. local stats = Instance.new("IntValue")
  5189. stats.Name = "leaderstats"
  5190. stats.Parent = gPlayers[v]
  5191. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  5192. if child.Name == "STAT" then
  5193. child:Destroy()
  5194. end
  5195. end
  5196. local score = Instance.new("StringValue")
  5197. score.Name = "STAT"
  5198. score.Value = GLS(false, 1)
  5199. score.Parent = gPlayers[v].leaderstats
  5200. end
  5201. end)
  5202. end
  5203. end)
  5204.  
  5205. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  5206. function(args, speaker)
  5207. local players = getPlayer(args[1], speaker)
  5208. for i,v in pairs(players)do
  5209. local pchar=_char(v)
  5210. for j,v1 in pairs(pchar:GetDescendants()) do
  5211. if v1:IsA("Smoke") then
  5212. v1:Destroy()
  5213. end
  5214. end
  5215. end
  5216. end)
  5217.  
  5218. addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
  5219. function(args, speaker)
  5220. local players = getPlayer(args[1], speaker)
  5221. for i,v in pairs(players)do
  5222. local pchar=_char(v)
  5223. for i,v in pairs(pchar:GetChildren()) do
  5224. if pchar.Torso:FindFirstChild("Neck") then
  5225. pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  5226. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  5227. Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
  5228. Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
  5229. local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  5230. local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
  5231. end
  5232. end
  5233. end
  5234. end)
  5235.  
  5236. addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
  5237. function(args, speaker)
  5238. local players = getPlayer(args[1], speaker)
  5239. for i,v in pairs(players)do
  5240. local pchar=_char(v)
  5241. for i,v in pairs(pchar:GetChildren()) do
  5242. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  5243. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  5244. end
  5245. end
  5246. end)
  5247.  
  5248. addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
  5249. function(args, speaker)
  5250. workspace.Terrain:Clear()
  5251. end)
  5252.  
  5253. addcmd('smite','get hit by lightning',{},
  5254. function(args, speaker)
  5255. local players = getPlayer(args[1], speaker)
  5256. for i,v in pairs(players)do
  5257. local pchar=_char(v)
  5258. spawn(function()
  5259. local char = pchar
  5260. local zeus = Instance.new("Model",char)
  5261. local cloud = Instance.new("Part",zeus)
  5262. cloud.Anchored = true
  5263. cloud.CanCollide = false
  5264. cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
  5265. local sound = Instance.new("Sound",cloud)
  5266. sound.SoundId = "rbxassetid://133426162"
  5267. local mesh = Instance.new("SpecialMesh",cloud)
  5268. mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  5269. mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
  5270. mesh.Scale = Vector3.new(30,30,40)
  5271. mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
  5272. local light = Instance.new("PointLight",cloud)
  5273. light.Color = Color3.new(0,85/255,1)
  5274. light.Brightness = 10
  5275. light.Range = 30
  5276. light.Enabled = false
  5277. wait(0.2)
  5278. sound.Volume = 0.5
  5279. sound.Pitch = 0.8
  5280. sound:Play()
  5281. light.Enabled = true
  5282. wait(1/100)
  5283. light.Enabled = false
  5284. wait(0.2)
  5285. light.Enabled = true
  5286. light.Brightness = 1
  5287. wait(0.05)
  5288. light.Brightness = 3
  5289. wait(0.02)
  5290. light.Brightness = 1
  5291. wait(0.07)
  5292. light.Brightness = 10
  5293. wait(0.09)
  5294. light.Brightness = 0
  5295. wait(0.01)
  5296. light.Brightness = 7
  5297. light.Enabled = false
  5298. wait(1.5)
  5299. local part1 = Instance.new("Part",zeus)
  5300. part1.Anchored = true
  5301. part1.CanCollide = false
  5302. part1.Size = Vector3.new(2, 9.2, 1)
  5303. part1.BrickColor = BrickColor.new("New Yeller")
  5304. part1.Transparency = 0.6
  5305. part1.BottomSurface = "Smooth"
  5306. part1.TopSurface = "Smooth"
  5307. part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
  5308. part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
  5309. wait()
  5310. local part2 = part1:clone()
  5311. part2.Parent = zeus
  5312. part2.Size = Vector3.new(1, 7.48, 2)
  5313. part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
  5314. part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
  5315. wait()
  5316. local part3 = part1:clone()
  5317. part3.Parent = zeus
  5318. part3.Size = Vector3.new(1.86, 7.56, 1)
  5319. part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  5320. part3.Rotation = Vector3.new(0, 0, -11.128)
  5321. sound.SoundId = "rbxassetid://130818250"
  5322. sound.Volume = 1
  5323. sound.Pitch = 1
  5324. sound:Play()
  5325. wait()
  5326. part1.Transparency = 1
  5327. part2.Transparency = 1
  5328. part3.Transparency = 1
  5329. Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
  5330. char:BreakJoints()
  5331. end)
  5332. end
  5333. end)
  5334.  
  5335. addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
  5336. function(args, speaker)
  5337. local players = getPlayer(args[1], speaker)
  5338. for i,v in pairs(players)do
  5339. spawn(function()
  5340. local pchar=_char(v)
  5341. 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)
  5342. local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
  5343. local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
  5344. local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
  5345. local f = Instance.new("Sound")
  5346. f.Name = "fly"
  5347. f.SoundId = "rbxassetid://179438534"
  5348. f.Volume = 3
  5349. f.Pitch = 1
  5350. f.Looped = true
  5351. f.archivable = true
  5352. f.Parent = Ast
  5353. f:play()
  5354. local Touched = false
  5355. coroutine.wrap(function()
  5356. repeat wait(0.1)
  5357. Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
  5358. until not Ast or Ast.Parent == nil or Touched == true
  5359. end)()
  5360. Ast.Touched:connect(function(Part)
  5361. if Touched == false then
  5362. Touched = true
  5363. Part:BreakJoints()
  5364. local Boom = Instance.new("Explosion", workspace)
  5365. Boom.Position = Ast.Position
  5366. Boom.BlastPressure = 1000000
  5367. Boom.BlastRadius = 30
  5368. Fire.Heat = 0
  5369. Smoke.RiseVelocity = 0
  5370. f:Destroy()
  5371. local s = Instance.new("Sound")
  5372. s.Name = "boom"
  5373. s.SoundId = "rbxassetid://188590169"
  5374. s.Volume = 3
  5375. s.Pitch = 1
  5376. s.Looped = true
  5377. s.archivable = true
  5378. s.Parent = Ast
  5379. s:play()
  5380. coroutine.wrap(function()
  5381. wait(10)
  5382. s:Destroy()
  5383. if Ast and Ast.Parent ~= nil then
  5384. Ast:Destroy()
  5385. end
  5386. end)()
  5387. end
  5388. end)
  5389. end)
  5390. end
  5391. end)
  5392.  
  5393. addcmd('bomb','gives you a bomb vest',{'terrorist'},
  5394. function(args, speaker)
  5395. local players = getPlayer(args[1], speaker)
  5396. for i,v in pairs(players)do
  5397. spawn(function()
  5398. local Char=_char(v)
  5399. local HumanoidRootPart = Char.HumanoidRootPart
  5400. local TickWait = 1
  5401. local Dead = false
  5402.  
  5403. local Position = Vector3.new(0,100,0)
  5404. function NewPart(Parent)
  5405. local Part = Instance.new("Part", Parent)
  5406. Part.CanCollide = false
  5407. Part.Position = Position
  5408. Part.TopSurface = "Smooth"
  5409. Part.BottomSurface = "Smooth"
  5410. Position = Position + Vector3.new(0,10,0)
  5411. return Part
  5412. end
  5413.  
  5414. local Model = Char:FindFirstChild("Bomb")
  5415. if Model then Model:Destroy() end
  5416.  
  5417. local Model = Instance.new("Model", Char)
  5418. Model.Name = "Bomb"
  5419.  
  5420. local Belt = NewPart(Model)
  5421. Belt.Size = Vector3.new(2.2,0.5,1.2)
  5422. local Weld = Instance.new("Weld", Belt)
  5423. Weld.Part0 = Belt
  5424. Weld.Part1 = HumanoidRootPart
  5425. Weld.C0 = CFrame.new(0,1.1,0)
  5426. local Light = Instance.new("PointLight", Belt)
  5427. Light.Range = 15
  5428. Light.Brightness = 5
  5429. Light.Color = Color3.new(1,0,0)
  5430. local Beep = Instance.new("Sound", Belt)
  5431. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  5432. local ExplodeSound = Instance.new("Sound", Belt)
  5433. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
  5434. ExplodeSound.Pitch = 2.8
  5435. ExplodeSound.Volume = 3
  5436.  
  5437. local Back = NewPart(Model)
  5438. Back.Size = Vector3.new(1.5,1.5,0.5)
  5439. local Weld = Instance.new("Weld", Back)
  5440. Weld.Part0 = Back
  5441. Weld.Part1 = HumanoidRootPart
  5442. Weld.C0 = CFrame.new(0,0.1,-0.75)
  5443.  
  5444. local StrapLeft = NewPart(Model)
  5445. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  5446. local Weld = Instance.new("Weld", StrapLeft)
  5447. Weld.Part0 = StrapLeft
  5448. Weld.Part1 = HumanoidRootPart
  5449. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  5450.  
  5451. local BuckleLeft = NewPart(Model)
  5452. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  5453. local Weld = Instance.new("Weld", BuckleLeft)
  5454. Weld.Part0 = BuckleLeft
  5455. Weld.Part1 = HumanoidRootPart
  5456. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  5457.  
  5458. local StrapRight = NewPart(Model)
  5459. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  5460. local Weld = Instance.new("Weld", StrapRight)
  5461. Weld.Part0 = StrapRight
  5462. Weld.Part1 = HumanoidRootPart
  5463. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  5464.  
  5465. local BuckleRight = NewPart(Model)
  5466. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  5467. local Weld = Instance.new("Weld", BuckleRight)
  5468. Weld.Part0 = BuckleRight
  5469. Weld.Part1 = HumanoidRootPart
  5470. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  5471.  
  5472. LightEnabled = true
  5473. coroutine.wrap(function()
  5474. repeat
  5475. wait(TickWait)
  5476. LightEnabled = not LightEnabled
  5477. Light.Enabled = LightEnabled
  5478. Beep:Play()
  5479. until Dead == true or Char:FindFirstChild("Bomb") == nil
  5480. end)()
  5481.  
  5482. wait(10)
  5483. if Dead == false then
  5484. Dead = true
  5485. ExplodeSound:Play(); wait(1.4)
  5486. local Explosion = Instance.new("Explosion")
  5487. Explosion.Position = Belt.Position
  5488. Explosion.BlastPressure = 100000
  5489. Explosion.DestroyJointRadiusPercent = 0.7
  5490. Explosion.ExplosionType = "CratersAndDebris"
  5491. Explosion.BlastRadius = 50
  5492. Explosion.Parent = workspace
  5493. end
  5494. end)
  5495. end
  5496. end)
  5497.  
  5498. addcmd('btools', 'gives a player btools',{},
  5499. function(args, speaker)
  5500. local players = getPlayer(args[1], speaker)
  5501. if players ~= nil then
  5502. for i, v in pairs(players) do
  5503. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 1 -- Model Grab Tool
  5504. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2 -- Part Grab Tool
  5505. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3 -- Clone Tool
  5506. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4 -- Hammer Tool
  5507. if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
  5508. Notify('Gave btools to player(s)') end end end end)
  5509.  
  5510. addcmd('sword', 'gives a player a sword',{},
  5511. function(args, speaker)
  5512. local players = getPlayer(args[1], speaker)
  5513. if players ~= nil then
  5514. for i, v in pairs(players) do
  5515. coroutine.resume(coroutine.create(function()
  5516. if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
  5517. local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  5518. sword.GripForward = Vector3.new(-1,0,0)
  5519. sword.GripPos = Vector3.new(0,0,-1.5)
  5520. sword.GripRight = Vector3.new(0,1,0)
  5521. sword.GripUp = Vector3.new(0,0,1)
  5522. 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
  5523. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  5524. repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
  5525. local Damage = 15
  5526. local SlashSound = Instance.new("Sound", handle)
  5527. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  5528. SlashSound.Volume = 1
  5529. local LungeSound = Instance.new("Sound", handle)
  5530. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  5531. LungeSound.Volume = 1
  5532. local UnsheathSound = Instance.new("Sound", handle)
  5533. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  5534. UnsheathSound.Volume = 1
  5535. handle.Touched:connect(function(hit)
  5536. 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
  5537. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  5538. hit.Parent.Humanoid:TakeDamage(Damage)
  5539. if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end
  5540. sword.Enabled = false
  5541. SlashSound:play()
  5542. local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
  5543. wait(0.5)
  5544. sword.Enabled = true
  5545. end
  5546. end)
  5547. sword.Equipped:connect(function(hit)
  5548. UnsheathSound:play()
  5549. sword.Enabled = true
  5550. end)
  5551. end
  5552. end))
  5553. end
  5554. end
  5555. end)
  5556.  
  5557. addcmd('hatsize', 'changes players hat size',{''},
  5558. function(args, speaker)
  5559. local players = getPlayer(args[1], speaker)
  5560. for i,v in pairs(players) do
  5561. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5562. if v:IsA('Accessory') then
  5563. for a,b in pairs(v.Handle:GetChildren()) do
  5564. if b:IsA('SpecialMesh') then
  5565. b.Scale = args[2] * Vector3.new(1, 1, 1)
  5566. end
  5567. end
  5568. end
  5569. end
  5570. end
  5571. end)
  5572.  
  5573. addcmd('headsize', 'changes players head size',{''},
  5574. function(args, speaker)
  5575. local players = getPlayer(args[1], speaker)
  5576. for i,v in pairs(players) do
  5577. local plrchar = _players[v].Character
  5578. if not plrchar.Humanoid:FindFirstChild('HeadScale') then
  5579. if args[2] == 1 then
  5580. plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  5581. plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
  5582. else
  5583. plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
  5584. end
  5585. else plrchar.Humanoid.HeadScale.Value = args[2]
  5586. end
  5587. end
  5588. end)
  5589.  
  5590. addcmd('change', 'changes a players stat',{'stat'},
  5591. function(args, speaker)
  5592. local players = getPlayer(args[1], speaker)
  5593. for i,v in pairs(players) do
  5594. if _players[v]:FindFirstChild('leaderstats') then
  5595. for i,v in pairs(_players[v].leaderstats:GetChildren()) do
  5596. if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
  5597. if args[3] then v.Value = tonumber(args[3]) end
  5598. elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
  5599. v.Value = GLS(false, 2)
  5600. end
  5601. end
  5602. end
  5603. end
  5604. end)
  5605.  
  5606. addcmd('draw', 'drawing tool',{},
  5607. function(args, speaker)
  5608. if speaker.userId ~= LP.userId then
  5609. lponly(speaker)
  5610. else
  5611. for i,v in next,game:children()do
  5612. pcall(function()
  5613. local c=v.className;
  5614. rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  5615. end);
  5616. end;
  5617.  
  5618.  
  5619. user=players.LocalPlayer;
  5620. uname=user.Name;
  5621. guis=user.PlayerGui;
  5622. pack=user.Backpack;
  5623.  
  5624. keyDowns={};
  5625. freeKeys={};
  5626. shortcuts={};
  5627.  
  5628. _G.mine=_G.mine or{};
  5629.  
  5630. name='Draw3D';
  5631. url='http://www.roblox.com/asset/?id=%d';
  5632.  
  5633. iconNormal=url:format(96578285);
  5634. iconOnDown=url:format(96584484);
  5635.  
  5636. ver=0;
  5637. drawPixel=0.10;
  5638. _G.drawLimit=_G.drawLimit or 1000;
  5639.  
  5640. _G.drawColor=_G.drawColor or Color3.new();
  5641.  
  5642.  
  5643.  
  5644.  
  5645.  
  5646. destroy=game.remove;
  5647. find=game.findFirstChild;
  5648. new=Instance.new;
  5649. with=function(c)
  5650. return function(p)
  5651. local o=type(c)=='string'and new(c)or c;
  5652. local x=p.Parent;p.Parent=nil;
  5653. for i,v in next,p do
  5654. o[i]=v;
  5655. end;
  5656. if(x)then
  5657. o.Parent=x;
  5658. end;
  5659. return o;
  5660. end;
  5661. end;
  5662. getPlace=function()
  5663. if(find(workspace,'draw')==nil)then
  5664. new('Model',workspace).Name='draw';
  5665. end;
  5666. if(find(workspace.draw,uname)==nil)then
  5667. new('Model',workspace.draw).Name=uname;
  5668. end;
  5669. return workspace.draw[uname];
  5670. end;
  5671. drawLine=function(start,target)
  5672. local gui=with'BlockMesh'{
  5673. Parent=with'Part'{
  5674. CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  5675. Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  5676. Parent=getPlace();
  5677. Color=_G.drawColor;
  5678. BottomSurface=0;
  5679. Anchored=true;
  5680. TopSurface=0;
  5681. formFactor=3;
  5682. Name=name;
  5683. }}.Parent;
  5684. table.insert(_G.mine,gui);
  5685. return gui;
  5686. end;
  5687. onDown=function()
  5688. if(drawing)then
  5689. return nil;
  5690. end;
  5691. if(selectGui.Adornee)then
  5692. destroy(selectGui.Adornee);
  5693. end;
  5694.  
  5695. drawing=true;
  5696.  
  5697. mouse.Icon=iconOnDown;
  5698. ver=ver+1;
  5699.  
  5700.  
  5701. local cVer,start,target=ver,mouse.hit.p;
  5702.  
  5703. local group={};
  5704. repeat
  5705. Wait(0.02);
  5706.  
  5707. if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  5708.  
  5709. target=mouse.hit.p;
  5710.  
  5711. table.insert(group,drawLine(start,target));
  5712.  
  5713. start=target;
  5714. end;
  5715. until ver~=cVer;
  5716. drawing=false;
  5717.  
  5718. local groupM=new('Model',getPlace());
  5719. for i,v in next,group do
  5720. if(v:IsDescendantOf(Workspace))then
  5721. v.Parent=groupM;
  5722. end;
  5723. end;
  5724. if(next(groupM:children())==nil)then
  5725. destroy(groupM);
  5726. end;
  5727. end;
  5728. onUp=function()
  5729. mouse.Icon=iconNormal;
  5730. ver=ver+1;
  5731. end;
  5732. onKeyDown=function(k)
  5733. if(freeKeys[k]==false)then
  5734. return false;
  5735. end;
  5736. freeKeys[k]=false;
  5737. Wait(0.01);
  5738. if(keyDowns[k])then
  5739. keyDowns[k]();
  5740. elseif(shortcuts[k])then
  5741. shortcuts[k]();
  5742. end;
  5743. end;
  5744. onKeyUp=function(k)
  5745. freeKeys[k]=true;
  5746. end;
  5747. onMove=function()
  5748.  
  5749. end;
  5750. onSelect=function(lmouse)
  5751. frame.Visible=true;
  5752.  
  5753. mouse=lmouse;
  5754.  
  5755. mouse.Icon=iconNormal;
  5756.  
  5757. mouse.Button1Down:connect(onDown);
  5758. mouse.KeyDown:connect(onKeyDown);
  5759. mouse.Button1Up:connect(onUp);
  5760. mouse.KeyUp:connect(onKeyUp);
  5761. mouse.Move:connect(onMove);
  5762. end;
  5763. onDeselect=function()
  5764. ver=ver+1;
  5765. frame.Visible=false;
  5766. selectGui.Adornee=nil;
  5767. mouse.Icon=iconNormal;
  5768. for i,v in next,freeKeys do
  5769. freeKeys[i]=true;
  5770. end;
  5771. end;
  5772. addButton=function(title,shortcut,fun)
  5773. with'TextButton'{
  5774. Text=string.format(' %s (%s)',title,shortcut);
  5775. TextXAlignment=0;
  5776. Parent=frame;
  5777. }.MouseButton1Up:connect(fun);
  5778.  
  5779. shortcuts[shortcut]=fun;
  5780.  
  5781. local c=#frame:children();
  5782. for i,v in next,frame:children()do
  5783. v.Position=UDim2.new(0,0,0,20*(i-1));
  5784. v.Size=UDim2.new(1,0,0,20);
  5785. end;
  5786.  
  5787. frame.Position=UDim2.new(1,-152,.5,-c*10);
  5788. frame.Size=UDim2.new(0,150,0,c*20);
  5789. end;
  5790.  
  5791.  
  5792.  
  5793.  
  5794.  
  5795.  
  5796.  
  5797.  
  5798. for i,v in next,{guis;pack;}do
  5799. pcall(function()
  5800. repeat until destroy(v[name]);
  5801. end);
  5802. end;
  5803.  
  5804.  
  5805.  
  5806. tool=with'HopperBin'{
  5807. Parent=pack;
  5808. Name=name;
  5809. };
  5810. tool.Deselected:connect(onDeselect);
  5811. tool.Selected:connect(onSelect);
  5812.  
  5813.  
  5814.  
  5815.  
  5816. screen=with'ScreenGui'{
  5817. Parent=guis;
  5818. Name=name;
  5819. };
  5820. frame=with'Frame'{
  5821. Parent=screen;
  5822. Visible=false;
  5823. };
  5824. clframe=with'Frame'{
  5825. Position=UDim2.new(.5,-50,.5,-50);
  5826. Size=UDim2.new(0,100,0,100);
  5827. Visible=false;
  5828. Parent=screen;
  5829. };
  5830. selectGui=with'SelectionBox'{
  5831. Parent=screen;
  5832. };
  5833.  
  5834. local c=0;
  5835. for y=0,7 do
  5836. for x=0,7 do
  5837. local color=BrickColor.palette(c).Color;
  5838.  
  5839. with'ImageButton'{
  5840. Position=UDim2.new(.125*x,0,.125*y);
  5841. Size=UDim2.new(.125,0,.125);
  5842. BackgroundColor3=color;
  5843. Parent=clframe;
  5844. }.MouseButton1Up:connect(function()
  5845. clframe.Visible=false;
  5846. _G.drawColor=color;
  5847. end);
  5848.  
  5849. c=c+1;
  5850. end;
  5851. end;
  5852.  
  5853. addButton('Color','c',function()
  5854. clframe.Visible=true;
  5855. end);
  5856. addButton('Remove your draws','r',function()
  5857. repeat
  5858. destroy(_G.mine[1]);
  5859. table.remove(_G.mine,1);
  5860. Wait(0.01);
  5861. until nil;
  5862. end);
  5863. addButton('Remove global draws','k',function()
  5864. destroy(workspace.draw);
  5865. while(_G.mine[1])do
  5866. destroy(_G.mine[1]);
  5867. table.remove(_G.mine,1);
  5868. end;
  5869. end);
  5870. addButton('Remove selected','x',function()
  5871. repeat
  5872. if(find(workspace,'draw'))then
  5873. local dt=mouse.target;
  5874. if(dt and dt:IsDescendantOf(workspace.draw))then
  5875. selectGui.Adornee=dt.Parent;
  5876. else
  5877. selectGui.Adornee=nil;
  5878. end;
  5879. else
  5880. selectGui.Adornee=nil;
  5881. end;
  5882. Wait(0.01);
  5883. until freeKeys.x;
  5884. selectGui.Adornee=nil;
  5885. end);
  5886.  
  5887.  
  5888.  
  5889.  
  5890. repeat
  5891. Wait(0.01);
  5892. if(next(_G.mine)and _G.mine[_G.drawLimit])then
  5893. destroy(_G.mine[1]);
  5894. table.remove(_G.mine,1);
  5895. end;
  5896. until script.Parent==nil or tool.Parent==nil;
  5897. script.Disabled=true;
  5898. destroy(screen);
  5899. end
  5900. end)
  5901.  
  5902. addcmd('god', 'gods player',{},
  5903. function(args, speaker)
  5904. local players = getPlayer(args[1], speaker)
  5905. for i,v in pairs(players)do
  5906. local pchar=_char(v)
  5907. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  5908. end
  5909. end)
  5910.  
  5911. addcmd('sgod', 'silently gods player',{},
  5912. function(args, speaker)
  5913. local players = getPlayer(args[1], speaker)
  5914. for i,v in pairs(players)do
  5915. local pchar=_char(v)
  5916. spawn(function()
  5917. pchar.Humanoid.MaxHealth = 10000000
  5918. wait()
  5919. pchar.Humanoid.Health = 10000000
  5920. if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
  5921. Notify('Silent godded player(s)') end
  5922. end)
  5923. end
  5924. end)
  5925.  
  5926. addcmd('ungod', 'removes god from a player',{},
  5927. function(args, speaker)
  5928. local players = getPlayer(args[1], speaker)
  5929. for i,v in pairs(players)do
  5930. local pchar=_char(v)
  5931. if pchar then
  5932. pchar.Humanoid.MaxHealth=100
  5933. pchar.Humanoid.Health=100
  5934. end
  5935. end
  5936. end)
  5937.  
  5938. addcmd('heal', 'resets a players health',{},
  5939. function(args, speaker)
  5940. local players = getPlayer(args[1], speaker)
  5941. for i,v in pairs(players)do spawn(function()
  5942. local pchar=_char(v)
  5943. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end)
  5944.  
  5945. addcmd('fart', 'makes u fart',{},
  5946. function(args, speaker)
  5947. local players = getPlayer(args[1], speaker)
  5948. for i,v in pairs(players)do
  5949. spawn(function()
  5950. local pchar=_char(v)
  5951. fart = Instance.new("Smoke")
  5952. fart.Parent = pchar.HumanoidRootPart
  5953. fart.Color = Color3.new(255/255, 255/255, 0)
  5954. fart.Opacity = 0.4
  5955. fart.Size = 1.0
  5956. fart.RiseVelocity = 8
  5957. fartsound = Instance.new("Sound", workspace)
  5958. fsound = "http://www.roblox.com/asset?id=251309043"
  5959. fartsound.SoundId = fsound
  5960. fartsound.Volume = 1.0
  5961. fartsound:Play()
  5962. wait(9.0)
  5963. fartsound:Destroy()
  5964. pchar.HumanoidRootPart.Smoke:Destroy()
  5965. end)
  5966. end
  5967. end)
  5968.  
  5969. addcmd('decalspam', 'you can already guess...',{},
  5970. function(args, speaker)
  5971. Notify('Decal Spammed ID: ' ..args[1])
  5972. wait(4)
  5973. decalID = args[1]
  5974. function exPro(root)
  5975. for _, v in pairs(root:GetChildren()) do
  5976. if v:IsA("BasePart") then
  5977. local One = Instance.new("Decal", v)
  5978. local Two = Instance.new("Decal", v)
  5979. local Three = Instance.new("Decal", v)
  5980. local Four = Instance.new("Decal", v)
  5981. local Five = Instance.new("Decal", v)
  5982. local Six = Instance.new("Decal", v)
  5983. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  5984. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  5985. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  5986. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  5987. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  5988. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  5989. One.Face = "Front"
  5990. Two.Face = "Back"
  5991. Three.Face = "Right"
  5992. Four.Face = "Left"
  5993. Five.Face = "Top"
  5994. Six.Face = "Bottom"
  5995. One.Name = "IYdecal"
  5996. Two.Name = "IYdecal"
  5997. Three.Name = "IYdecal"
  5998. Four.Name = "IYdecal"
  5999. Five.Name = "IYdecal"
  6000. Six.Name = "IYdecal"
  6001. end
  6002. exPro(v)
  6003. end
  6004. end
  6005. function asdf(root)
  6006. for _, v in pairs(root:GetChildren()) do
  6007. asdf(v)
  6008. end
  6009. end
  6010. exPro(workspace)
  6011. asdf(workspace)
  6012. end)
  6013.  
  6014. addcmd('undecalspam', 'removes the mess',{},
  6015. function(args, speaker)
  6016. Notify('Removing Decal Spam...')
  6017. wait(4)
  6018. function exPro(root)
  6019. for _, v in pairs(root:GetChildren()) do
  6020. if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
  6021. v.Parent = nil
  6022. end
  6023. exPro(v)
  6024. end
  6025. end
  6026. function asdf(root)
  6027. for _, v in pairs(root:GetChildren()) do
  6028. asdf(v)
  6029. end
  6030. end
  6031. exPro(workspace)
  6032. asdf(workspace)
  6033. end)
  6034.  
  6035. addcmd('sky', 'sets the sky',{'skybox'},
  6036. function(args, speaker)
  6037. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
  6038. s = Instance.new("Sky")
  6039. s.Name = "Sky"
  6040. s.Parent = LightingService
  6041. local skyboxID = args[1]
  6042. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  6043. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  6044. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  6045. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  6046. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  6047. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  6048. LightingService.TimeOfDay = 12
  6049. end)
  6050.  
  6051. addcmd('freeze', 'freezes a player',{'fr'},
  6052. function(args, speaker)
  6053. local players = getPlayer(args[1], speaker)
  6054. if players ~= nil then
  6055. for i, v in pairs(players) do
  6056. spawn(function()
  6057. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
  6058. end
  6059. end)
  6060. end
  6061. end
  6062. end)
  6063.  
  6064. addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
  6065. function(args, speaker)
  6066. local players = getPlayer(args[1], speaker)
  6067. if players ~= nil then
  6068. for i, v in pairs(players) do
  6069. spawn(function()
  6070. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
  6071. end
  6072. end)
  6073. end
  6074. end
  6075. end)
  6076.  
  6077. addcmd('spawn', 'places a spawn',{'spawnpoint'},
  6078. function(args, speaker)
  6079. local players = getPlayer(args[1], speaker)
  6080. if players ~= nil then
  6081. for i, v in pairs(players) do
  6082. local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
  6083. M.CFrame = _char(v).HumanoidRootPart.CFrame
  6084. M.Color = maincolor M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
  6085. M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
  6086. M.Anchored = true
  6087. end
  6088. end
  6089. end)
  6090.  
  6091. addcmd('deletespawns', 'places a spawn',{'removespawns'},
  6092. function(args, speaker)
  6093. for i,v in pairs(workspace:GetDescendants()) do
  6094. if v:IsA("SpawnLocation") then
  6095. v:Destroy()
  6096. end
  6097. end
  6098. end)
  6099.  
  6100. addcmd('neon', 'makes a player neon',{},
  6101. function(args, speaker)
  6102. local players = getPlayer(args[1], speaker)
  6103. if players ~= nil then
  6104. for i, v in pairs(players) do
  6105. for _, child in pairs( _char(v):GetChildren()) do
  6106. if child.ClassName == "CharacterMesh" then
  6107. child:Destroy()
  6108. end
  6109. end
  6110. for _, child in pairs( _char(v):GetChildren()) do
  6111. if child.ClassName == "Shirt" then
  6112. child:Destroy()
  6113. end
  6114. end
  6115. for _, child in pairs( _char(v):GetChildren()) do
  6116. if child.ClassName == "Pants" then
  6117. child:Destroy()
  6118. end
  6119. end
  6120. for _, child in pairs( _char(v):GetChildren()) do
  6121. if child.ClassName == "Part" then
  6122. child.Material = "Neon"
  6123. end
  6124. end
  6125. end
  6126. end
  6127. end)
  6128.  
  6129. addcmd('kill', 'kills a player',{},
  6130. function(args, speaker)
  6131. local players = getPlayer(args[1], speaker)
  6132. for i,v in pairs(players)do
  6133. local pchar=_char(v)
  6134. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  6135. end
  6136. end)
  6137.  
  6138. addcmd('knuckles', 'kills a player',{'ugandaknuckles'},
  6139. function(args, speaker)
  6140. local players = getPlayer(args[1], speaker)
  6141. for i,v in pairs(players)do
  6142. spawn(function()
  6143. local plr = gPlayers[v]
  6144. local char = plr.Character
  6145. local mouse = plr:GetMouse()
  6146. char.Humanoid.WalkSpeed = 100
  6147. char.Humanoid.JumpPower = 70
  6148. spawn(function()
  6149. for i,v in pairs(char:GetChildren()) do
  6150. if v:IsA("BasePart") then
  6151. coroutine.wrap(function()
  6152. for i=0,1,.1 do
  6153. wait()
  6154. v.Transparency = v.Transparency +i
  6155. end
  6156. end)()
  6157. end
  6158. end
  6159. for i,v in pairs(char:GetChildren()) do
  6160. if v:IsA("Accessory") then
  6161. coroutine.wrap(function()
  6162. for i=0,1,.1 do
  6163. wait()
  6164. v.Handle.Transparency = v.Handle.Transparency +i
  6165. end
  6166. end)()
  6167. end
  6168. end
  6169. end)
  6170. char.Head.face:Destroy()
  6171. wait(1)
  6172. local s = Instance.new("Sound")
  6173. s.Name = "wae"
  6174. s.SoundId = "http://www.roblox.com/asset/?id=1308281913"
  6175. s.Volume = 1
  6176. s.Pitch = 1
  6177. s.Looped = true
  6178. s.archivable = true
  6179. s.Parent = gPlayers.LocalPlayer.Character.Head
  6180. s:play()
  6181. local daqueen = Instance.new("Part",char)
  6182. daqueen.Name = "asd"
  6183. daqueen.CanCollide = false
  6184. local mesh = Instance.new("SpecialMesh",daqueen)
  6185. mesh.Scale = Vector3.new(0.1,0.1,0.1)
  6186. mesh.MeshId = "rbxassetid://1300136843"
  6187. local text = Instance.new("Decal",daqueen)
  6188. text.Name = "asd"
  6189. text.Texture = "rbxassetid://1300137893"
  6190. local knowdawey = Instance.new("Weld",char)
  6191. knowdawey.Part0 = char.HumanoidRootPart
  6192. knowdawey.Part1 = daqueen
  6193. local eye1 = Instance.new("Part")
  6194. eye1.CanCollide = false
  6195. eye1.Parent = char
  6196. local mesh1 = Instance.new("SpecialMesh",eye1)
  6197. mesh1.MeshId = "rbxassetid://1300138314"
  6198. mesh1.Scale = Vector3.new(0.1,0.1,0.2)
  6199. local eyetext = Instance.new("Decal",eye1)
  6200. eyetext.Texture = "rbxassetid://1300129774"
  6201. local eye1w = Instance.new("Weld",char)
  6202. eye1w.Part0 = char.HumanoidRootPart
  6203. eye1w.Part1 = eye1
  6204. eye1w.C1 = CFrame.new(0,-1.3,0.7)
  6205. end)
  6206. end
  6207. end)
  6208.  
  6209. addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
  6210. function(args, speaker)
  6211. part = GLS(false, 0)
  6212. local function dels(instance)
  6213. for i,v in pairs(instance:GetChildren())do
  6214. if v.Name:lower() == part:lower() then v:Destroy() end
  6215. dels(v)
  6216. end
  6217. end
  6218. dels(workspace)
  6219. Notify('Deleted ' ..GLS(false, 0))
  6220. end)
  6221.  
  6222. addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname','dc'},
  6223. function(args, speaker)
  6224. part = GLS(false, 0)
  6225. local function dels(instance)
  6226. for i,v in pairs(instance:GetChildren())do
  6227. if v.ClassName:lower() == part:lower() then v:Destroy() end
  6228. dels(v)
  6229. end
  6230. end
  6231. dels(workspace)
  6232. Notify('Deleted items with ClassName ' ..GLS(false, 0))
  6233. end)
  6234.  
  6235. addcmd('blur', 'adjusts blur',{},
  6236. function(args, speaker)
  6237. local function dels(instance)
  6238. for i,v in pairs(instance:GetChildren())do
  6239. if v:IsA'BlurEffect'then v:Destroy()end
  6240. dels(v)
  6241. end
  6242. end
  6243. dels(LightingService)
  6244.  
  6245. local b = Instance.new("BlurEffect", LightingService)
  6246. b.Name = "IYblur"
  6247. b.Size = args[1]
  6248. end)
  6249.  
  6250.  
  6251. addcmd('volume','changes volume of sound',{'vol'},
  6252. function(args, speaker)
  6253. for i,v in pairs(workspace:GetChildren())do
  6254. if v:IsA("Sound") and v.Name == "IYsound" then
  6255. v.Volume = args[1]
  6256. Notify('Changed volume to ' .. args[1])
  6257. end
  6258. end
  6259. end)
  6260.  
  6261. addcmd('pitch','changes pitch of sound',{},
  6262. function(args, speaker)
  6263. for i,v in pairs(workspace:GetChildren())do
  6264. if v:IsA("Sound") and v.Name == "IYsound" then
  6265. v.Pitch = args[1]
  6266. Notify('Changed pitch to ' .. args[1])
  6267. end
  6268. end
  6269. end)
  6270.  
  6271. addcmd('loadmap', 'spawns a map',{},
  6272. function(args, speaker)
  6273. local m = args[1]
  6274. for _,v in pairs(workspace:GetChildren()) do
  6275. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  6276. v:Destroy() elseif v:IsA("Terrain") then v:Clear() end end
  6277. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
  6278. wait(1)
  6279. local map = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. m)
  6280. map.Parent = workspace
  6281. end)
  6282.  
  6283. addcmd('loadm','loads global messaging',{}, -- global message method by HARKINIAN @ V3RMILLION
  6284. function(args, speaker)
  6285. msghook()
  6286. if MSGhook == false then
  6287. wait(0.1)
  6288. local localp = game:GetService'Players'.LocalPlayer
  6289. localp.CharacterAppearanceId = 20018
  6290. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  6291. wait(3)
  6292. gPlayers.LocalPlayer.Character:WaitForChild("Humanoid")
  6293. wait(0.5)
  6294. repeat wait() until gPlayers.LocalPlayer.Character.Humanoid.Health > 0
  6295. Instance.new("ForceField", gPlayers.LocalPlayer.Character)
  6296. repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
  6297. _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
  6298. localp.CharacterAppearanceId = 0
  6299. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  6300. if _G.mainhat ~= nil then
  6301. local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
  6302. local localp = game:GetService'Players'.LocalPlayer
  6303. local part = Instance.new('Part')
  6304. part.Anchored = true
  6305. part.Transparency = 1
  6306. main.Disabled = false
  6307. main.Parent = part
  6308. _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
  6309. Instance.new('ForceField', localp.Character)
  6310. localp.Character.HumanoidRootPart.Anchored = true
  6311. part.Parent = localp.Character
  6312. part.CFrame = localp.Character.HumanoidRootPart.CFrame
  6313. wait(0.5)
  6314. localp.Character.HumanoidRootPart.Anchored = false
  6315. repeat wait() until localp:FindFirstChild'ChessMsg'
  6316. part:Destroy()
  6317. local message = localp:FindFirstChild'ChessMsg'
  6318. message.Text = ''
  6319. message.Parent = workspace
  6320. message.Name = "IYmessage"
  6321. if part ~= nil then part:Destroy() end
  6322. localp.Character.HumanoidRootPart.Anchored = false
  6323. for _, child in pairs( workspace:GetChildren()) do
  6324. if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
  6325. child:Destroy()
  6326. end
  6327. end
  6328. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end
  6329. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Destroy() end
  6330. if _G.msg ~= nil then
  6331. Notify('Loaded global message bypass')
  6332. else
  6333. warn'failed sadly'
  6334. end
  6335. end
  6336. elseif MSGhook == true then
  6337. Notify('Messages already loaded!')
  6338. end
  6339. end)
  6340.  
  6341. addcmd('countdown', 'makes a countdown', {},
  6342. function(args, speaker)
  6343. local players = getPlayer(args[1], speaker)
  6344. if args[1] ~= string then
  6345. local time = args[1]
  6346. msghook()
  6347. if MSGhook == true then
  6348. local h = workspace.IYmessage
  6349. for i = time, 1, -1 do
  6350. wait(1)
  6351. h.Text = "Countdown: "..i..""
  6352. end
  6353. wait(1)
  6354. h.Text = "Times Up!"
  6355. wait(2)
  6356. h.Text = ''
  6357. elseif MSGhook == false then
  6358. execCmd("loadm")
  6359. repeat wait() until workspace:FindFirstChild("IYmessage")
  6360. local h = workspace.IYmessage
  6361. for i = time, 1, -1 do
  6362. wait(1)
  6363. h.Text = "Countdown: "..i..""
  6364. end
  6365. wait(1)
  6366. h.Text = "Times Up!"
  6367. wait(2)
  6368. h.Text = ''
  6369. end
  6370. end
  6371. end)
  6372.  
  6373. addcmd('explode', 'explode a player', {},
  6374. function(args, speaker)
  6375. local players = getPlayer(args[1], speaker)
  6376. for i, v in pairs(players) do
  6377. local char = _char(v)
  6378. if char:FindFirstChild("HumanoidRootPart") then
  6379. Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
  6380. end
  6381. end
  6382. end)
  6383.  
  6384. addcmd('flood', 'makes a flood e.e', {},
  6385. function(args, speaker)
  6386. workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  6387. end)
  6388.  
  6389. addcmd('spookyify', 'makes it sp00ky', {},
  6390. function(args, speaker)
  6391. local music = Instance.new("Sound", workspace)
  6392. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  6393. music.Volume = 20
  6394. music.Looped = true
  6395. music:Play()
  6396.  
  6397. tex1 = "http://www.roblox.com/asset/?id=185495987"
  6398. tex2 = "http://www.roblox.com/asset/?id=260858020"
  6399. tex3 = "http://www.roblox.com/asset/?id=149213919"
  6400. tex4 = "http://www.roblox.com/asset/?id=171905673"
  6401.  
  6402. local w = workspace:GetChildren()
  6403.  
  6404. for i= 1,#w do
  6405. if w[i]:isA("BasePart") then
  6406. pe = Instance.new("ParticleEmitter", w[i])
  6407. pe.Texture = tex4
  6408. pe.VelocitySpread = 5
  6409. end
  6410. end
  6411.  
  6412. local playerLeaderstats = {}
  6413. for i, v in pairs(gPlayers:GetChildren()) do
  6414. table.insert(playerLeaderstats, v)
  6415. end
  6416. for i, v in pairs(playerLeaderstats) do
  6417. pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
  6418. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  6419. pe.VelocitySpread = 50
  6420. end
  6421.  
  6422. texture = "http://www.roblox.com/asset/?id=185495987"
  6423.  
  6424. local A = workspace:GetChildren()
  6425. local B = workspace:GetChildren()
  6426. local C = workspace:GetChildren()
  6427. local D = workspace:GetChildren()
  6428. local E = workspace:GetChildren()
  6429. local F = workspace:GetChildren()
  6430. for i,v in pairs(A) do
  6431. if v:IsA("Part") then
  6432. local d = Instance.new("Decal",v)
  6433. v.Decal.Face = "Top"
  6434. v.Decal.Texture = texture
  6435. v.Anchored = true
  6436. end
  6437. end
  6438.  
  6439. for i,v in pairs(B) do
  6440. if v:IsA("Part") then
  6441. local s = Instance.new("Decal",v)
  6442. s.Face = "Front"
  6443. s.Texture = texture
  6444. end
  6445. end
  6446.  
  6447. for i,v in pairs(C) do
  6448. if v:IsA("Part") then
  6449. local h = Instance.new("Decal",v)
  6450. h.Face = "Back"
  6451. h.Texture = texture
  6452. end
  6453. end
  6454.  
  6455. for i,v in pairs(D) do
  6456. if v:IsA("Part") then
  6457. local j = Instance.new("Decal",v)
  6458. j.Face = "Left"
  6459. j.Texture = texture
  6460. end
  6461. end
  6462.  
  6463. for i,v in pairs(E) do
  6464. if v:IsA("Part") then
  6465. local k = Instance.new("Decal",v)
  6466. k.Face = "Right"
  6467. k.Texture = texture
  6468. end
  6469. end
  6470.  
  6471. for i,v in pairs(F) do
  6472. if v:IsA("Part") then
  6473. local l = Instance.new("Decal",v)
  6474. l.Face = "Bottom"
  6475. l.Texture = texture
  6476. end
  6477.  
  6478. imageOne = "http://www.roblox.com/asset/?id=169585459"
  6479. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  6480. imageThree = "http://www.roblox.com/asset/?id=169585485"
  6481. imageFour = "http://www.roblox.com/asset/?id=169585502"
  6482. imageFive = "http://www.roblox.com/asset/?id=169585515"
  6483. imageSix = "http://www.roblox.com/asset/?id=169585502"
  6484. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  6485. imageEight = "http://www.roblox.com/asset/?id=169585475"
  6486.  
  6487. Spooky = Instance.new("Sound", workspace)
  6488. Spooky.Name = "Spooky"
  6489. Spooky.SoundId = "rbxassetid://174270407"
  6490. Spooky.Volume = 15
  6491. Spooky.Looped = true
  6492. Spooky:Play()
  6493.  
  6494. Sky = Instance.new("Sky", LightingService)
  6495. Sky.SkyboxBk = imageOne
  6496. Sky.SkyboxDn = imageOne
  6497. Sky.SkyboxFt = imageOne
  6498. Sky.SkyboxLf = imageOne
  6499. Sky.SkyboxRt = imageOne
  6500. Sky.SkyboxUp = imageOne
  6501.  
  6502.  
  6503. while true do
  6504. Sky.SkyboxBk = imageOne
  6505. Sky.SkyboxDn = imageOne
  6506. Sky.SkyboxFt = imageOne
  6507. Sky.SkyboxLf = imageOne
  6508. Sky.SkyboxRt = imageOne
  6509. Sky.SkyboxUp = imageOne
  6510. wait(0.15)
  6511. Sky.SkyboxBk = imageTwo
  6512. Sky.SkyboxDn = imageTwo
  6513. Sky.SkyboxFt = imageTwo
  6514. Sky.SkyboxLf = imageTwo
  6515. Sky.SkyboxRt = imageTwo
  6516. Sky.SkyboxUp = imageTwo
  6517. wait(0.15)
  6518. Sky.SkyboxBk = imageThree
  6519. Sky.SkyboxDn = imageThree
  6520. Sky.SkyboxFt = imageThree
  6521. Sky.SkyboxLf = imageThree
  6522. Sky.SkyboxRt = imageThree
  6523. Sky.SkyboxUp = imageThree
  6524. wait(0.15)
  6525. Sky.SkyboxBk = imageFour
  6526. Sky.SkyboxDn = imageFour
  6527. Sky.SkyboxFt = imageFour
  6528. Sky.SkyboxLf = imageFour
  6529. Sky.SkyboxRt = imageFour
  6530. Sky.SkyboxUp = imageFour
  6531. wait(0.15)
  6532. Sky.SkyboxBk = imageFive
  6533. Sky.SkyboxDn = imageFive
  6534. Sky.SkyboxFt = imageFive
  6535. Sky.SkyboxLf = imageFive
  6536. Sky.SkyboxRt = imageFive
  6537. Sky.SkyboxUp = imageFive
  6538. wait(0.15)
  6539. Sky.SkyboxBk = imageSix
  6540. Sky.SkyboxDn = imageSix
  6541. Sky.SkyboxFt = imageSix
  6542. Sky.SkyboxLf = imageSix
  6543. Sky.SkyboxRt = imageSix
  6544. Sky.SkyboxUp = imageSix
  6545. wait(0.15)
  6546. Sky.SkyboxBk = imageSeven
  6547. Sky.SkyboxDn = imageSeven
  6548. Sky.SkyboxFt = imageSeven
  6549. Sky.SkyboxLf = imageSeven
  6550. Sky.SkyboxRt = imageSeven
  6551. Sky.SkyboxUp = imageSeven
  6552. wait(0.15)
  6553. Sky.SkyboxBk = imageEight
  6554. Sky.SkyboxDn = imageEight
  6555. Sky.SkyboxFt = imageEight
  6556. Sky.SkyboxLf = imageEight
  6557. Sky.SkyboxRt = imageEight
  6558. Sky.SkyboxUp = imageEight
  6559. wait(0.15)
  6560.  
  6561. end
  6562. end
  6563. end)
  6564.  
  6565. addcmd('invisible', 'make a player invisible',{'invis'},
  6566. function(args, speaker)
  6567. local players = getPlayer(args[1], speaker)
  6568. for i, v in pairs(players) do
  6569. for k, v2 in pairs(_char(v):GetChildren()) do
  6570. if v2.className == "Part" then
  6571. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  6572. elseif v2.className == "Accessory" then
  6573. if v2:FindFirstChild("Handle") then
  6574. v2.Handle.Transparency = 1
  6575. end
  6576. end
  6577. if v2:FindFirstChild("face") then
  6578. v2.face.Transparency = 1
  6579. end
  6580. end
  6581. end
  6582. end)
  6583.  
  6584. addcmd('visible', 'make a player visible',{'vis'},
  6585. function(args, speaker)
  6586. local players = getPlayer(args[1], speaker)
  6587. for i, v in pairs(players) do
  6588. for k, v2 in pairs(_char(v):GetChildren()) do
  6589. if v2.className == "Part" then
  6590. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
  6591. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  6592. end
  6593. if v2:FindFirstChild("face") then
  6594. v2.face.Transparency = 0
  6595. end
  6596. end
  6597. end
  6598. end)
  6599.  
  6600. addcmd('goto', 'go to a player',{'to'},
  6601. function(args, speaker)
  6602. local players = getPlayer(args[1], speaker)
  6603. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  6604. speaker.Character.Humanoid.Jump = true
  6605. speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  6606. end
  6607. end)
  6608.  
  6609. addcmd('bring', 'bring a player to you',{},
  6610. function(args, speaker)
  6611. local players = getPlayer(args[1], speaker)
  6612. for i,v in pairs(players) do
  6613. if _char(v):FindFirstChild("HumanoidRootPart") then
  6614. _char(v).Humanoid.Jump = true
  6615. _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
  6616. end
  6617. end
  6618. end)
  6619.  
  6620. local WayPoints = {}
  6621.  
  6622. addcmd("savepos","sets a waypoint at the speaker's position",{'spos'},
  6623. function(args, speaker)
  6624. local WPName = tostring(GLS(false, 0))
  6625. if speaker.Character:findFirstChild("HumanoidRootPart") then
  6626. Notify("Created waypoint: "..GLS(false, 0))
  6627. local torso = speaker.Character:findFirstChild("HumanoidRootPart")
  6628. WayPoints[#WayPoints + 1] = {NAME = WPName, COORD = {math.floor(torso.Position.X), math.floor(torso.Position.Y), math.floor(torso.Position.Z)}}
  6629. updatepositions()
  6630. end
  6631. end)
  6632.  
  6633. addcmd("deletepos","sets a waypoint at the speaker's position",{'dpos'},
  6634. function(args, speaker)
  6635. for i,v in pairs(WayPoints) do
  6636. if v.NAME == tostring(GLS(false, 0)) then
  6637. Notify("Deleted waypoint: " .. v.NAME)
  6638. table.remove(WayPoints, i)
  6639. updatepositions()
  6640. end end
  6641. end)
  6642.  
  6643.  
  6644. addcmd("loadpos","teleports a player to a waypoint",{'lpos'},
  6645. function(args, speaker)
  6646. local players = getPlayer(args[1], speaker)
  6647. local WPName = tostring(GLS(false, 1))
  6648. for i,v in pairs(players) do
  6649. if gPlayers[v] and gPlayers[v].Character then
  6650. for i,_ in pairs(WayPoints) do
  6651. local x = WayPoints[i].COORD[1]
  6652. local y = WayPoints[i].COORD[2]
  6653. local z = WayPoints[i].COORD[3]
  6654. if tostring(WayPoints[i].NAME) == tostring(WPName) then
  6655. gPlayers[v].Character.HumanoidRootPart.CFrame = CFrame.new(x,y,z)
  6656. end
  6657. end
  6658. end
  6659. end
  6660. end)
  6661.  
  6662. addcmd('tp', 'teleport player 1 to player 2',{},
  6663. function(args, speaker)
  6664. local players1=getPlayer(args[1], speaker)
  6665. local players2=getPlayer(args[2], speaker)
  6666. if not players2[1] then return end
  6667. for i,v in pairs(players1) do
  6668. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  6669. _char(v).Humanoid.Jump = true
  6670. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  6671. wait(0.1)
  6672. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  6673. end
  6674. end
  6675. end)
  6676.  
  6677. addcmd('charplr','charplr [plr] [plr]',{'cp'},
  6678. function(args, speaker)
  6679. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  6680. for i,v in pairs(players1) do for a,b in pairs(players2) do
  6681. if _players[v].Character and _players[b].Character then
  6682. _players[v].CharacterAppearanceId = _players[b].userId
  6683. refresh(_players[v])
  6684. end
  6685. end
  6686. end
  6687. end)
  6688.  
  6689. addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
  6690. function(args, speaker)
  6691. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  6692. for i,v in pairs(players1) do for a,b in pairs(players2) do
  6693. spawn(function()
  6694. for i,v in pairs(_players[v].Backpack:GetChildren()) do
  6695. if v:IsA('Tool') or v:IsA('HopperBin') then
  6696. if not _players[b] then
  6697. v:Clone().Parent = speaker.Backpack
  6698. else v:Clone().Parent = _players[b].Backpack
  6699. end
  6700. end
  6701. end
  6702. end)
  6703. end
  6704. end
  6705. end)
  6706.  
  6707. addcmd('char', 'change a players appearance',{},
  6708. function(args, speaker)
  6709. local players = getPlayer(args[1], speaker)
  6710. if not args[1]or not args[2]then return end
  6711. local id=args[2]
  6712. if players ~= nil then
  6713. for i,v in pairs(players) do
  6714. gPlayers[v].CharacterAppearanceId = id
  6715. refresh(gPlayers[v])
  6716. end
  6717. end
  6718. end)
  6719.  
  6720. addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
  6721. function(args, speaker)
  6722. local players = getPlayer(args[1], speaker)
  6723. if players ~= nil then
  6724. for i,v in pairs(players) do
  6725. gPlayers[v].CharacterAppearanceId = 0
  6726. refresh(gPlayers[v])
  6727. end
  6728. end
  6729. end)
  6730.  
  6731. addcmd('speed', 'change a players walkspeed',{'ws'},
  6732. function(args, speaker)
  6733. local players = getPlayer(args[1], speaker)
  6734. if not args[1]or not args[2]then return end
  6735. local num=args[2]
  6736. for i,v in pairs(players) do
  6737. if _char(v):FindFirstChild("Humanoid") then
  6738. _char(v).Humanoid.WalkSpeed=tonumber(num)
  6739. end
  6740. end
  6741. end)
  6742.  
  6743. addcmd('jump', 'forces a player to jump',{},
  6744. function(args, speaker)
  6745. local players = getPlayer(args[1], speaker)
  6746. for i,v in pairs(players) do
  6747. if _char(v):FindFirstChild("Humanoid") then
  6748. _char(v).Humanoid.Jump = true
  6749. end
  6750. end
  6751. end)
  6752.  
  6753. jumping = {}
  6754. addcmd('loopjump','like a bunny :)',{'ljump'},
  6755. function(args, speaker)
  6756. local players = getPlayer(args[1], speaker)
  6757. for i,v in pairs(players)do
  6758. spawn(function()
  6759. if FindTable(jumping, _players[v].Name) then return end
  6760. table.insert(jumping, _players[v].Name)
  6761. repeat wait(0.01)
  6762. if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
  6763. if _players[v].Character.Humanoid.Jump ~= true then
  6764. _players[v].Character.Humanoid.Jump = true end end
  6765. until not FindTable(jumping, _players[v].Name)
  6766. end)
  6767. end
  6768. end)
  6769.  
  6770. addcmd('unljump','unjails player',{'noljump','unloopjump','noloopjump'},
  6771. function(args, speaker)
  6772. local players = getPlayer(args[1], speaker)
  6773. for i,v in pairs(players)do
  6774. spawn(function()
  6775. for a,b in pairs(jumping) do if b == _players[v].Name then table.remove(jumping, a) end end
  6776. end)
  6777. end
  6778. end)
  6779.  
  6780. addcmd('sit', 'sit a player',{},
  6781. function(args, speaker)
  6782. local players = getPlayer(args[1], speaker)
  6783. for i,v in pairs(players) do
  6784. if _char(v):FindFirstChild("Humanoid") then
  6785. _char(v).Humanoid.Sit = true
  6786. end
  6787. end
  6788. end)
  6789.  
  6790. sitting = {}
  6791. addcmd('loopsit','very annoying',{'lsit'},
  6792. function(args, speaker)
  6793. local players = getPlayer(args[1], speaker)
  6794. for i,v in pairs(players)do
  6795. spawn(function()
  6796. if FindTable(sitting, _players[v].Name) then return end
  6797. table.insert(sitting, _players[v].Name)
  6798. repeat wait(0.01)
  6799. if _players[v].Character ~= nil and _players[v].Character:FindFirstChild("Humanoid") then
  6800. if _players[v].Character.Humanoid.Sit ~= true then
  6801. _players[v].Character.Humanoid.Sit = true end end
  6802. until not FindTable(sitting, _players[v].Name)
  6803. end)
  6804. end
  6805. end)
  6806.  
  6807. addcmd('unlsit','unjails player',{'nolsit','unloopsit','noloopsit'},
  6808. function(args, speaker)
  6809. local players = getPlayer(args[1], speaker)
  6810. for i,v in pairs(players)do
  6811. spawn(function()
  6812. for a,b in pairs(sitting) do if b == _players[v].Name then table.remove(sitting, a) end end
  6813. end)
  6814. end
  6815. end)
  6816.  
  6817. addcmd('strength',' strong',{},
  6818. function(args, speaker)
  6819. local players = getPlayer(args[1], speaker)
  6820. for i,v in pairs(players)do
  6821. spawn(function()
  6822. for _, child in pairs( _players[v].Character:GetDescendants()) do
  6823. if child.ClassName == "Part" then
  6824. child.CustomPhysicalProperties = PhysicalProperties.new(100, 0.3, 0.5)
  6825. end
  6826. end
  6827. end)
  6828. end
  6829. end)
  6830.  
  6831. addcmd('weaken',' weak',{},
  6832. function(args, speaker)
  6833. local players = getPlayer(args[1], speaker)
  6834. for i,v in pairs(players)do
  6835. spawn(function()
  6836. for _, child in pairs( _players[v].Character:GetDescendants()) do
  6837. if child.ClassName == "Part" then
  6838. child.CustomPhysicalProperties = PhysicalProperties.new(0, 0.3, 0.5)
  6839. end
  6840. end
  6841. end)
  6842. end
  6843. end)
  6844.  
  6845. addcmd('unweaken',' undoes strength and weaken',{'unstrength'},
  6846. function(args, speaker)
  6847. local players = getPlayer(args[1], speaker)
  6848. for i,v in pairs(players)do
  6849. spawn(function()
  6850. for _, child in pairs( _players[v].Character:GetDescendants()) do
  6851. if child.ClassName == "Part" then
  6852. child.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5)
  6853. end
  6854. end
  6855. end)
  6856. end
  6857. end)
  6858.  
  6859. addcmd('trip','makes a player trip',{},
  6860. function(args, speaker)
  6861. local players = getPlayer(args[1], speaker)
  6862. for i,v in pairs(players)do
  6863. spawn(function()
  6864. if _players[v].Character:findFirstChild("Right Leg") then -- credz to Zwolf#3762
  6865. local dir = _players[v].Character:findFirstChild("Right Leg")
  6866. dir.Anchored = true
  6867. if dir.Anchored == true then
  6868. wait(.5)
  6869. _players[v].Character.Humanoid.Sit = true
  6870. wait(1)
  6871. _players[v].Character.Humanoid.Sit = false
  6872. dir.Anchored = false
  6873. end
  6874. end
  6875. end)
  6876. end
  6877. end)
  6878.  
  6879. oofing = false
  6880. addcmd('loopoof','very VERY annoying',{},
  6881. function(args, speaker)
  6882. oofing = true
  6883. repeat wait(0.01)
  6884. for i,v in pairs(game:GetService'Players':GetPlayers()) do
  6885. if v.Character ~= nil and v.Character:FindFirstChild'Head' then
  6886. for _,x in pairs(v.Character.Head:GetChildren()) do
  6887. if x:IsA'Sound' then x.Playing = true end
  6888. end
  6889. end
  6890. end
  6891. until oofing == false
  6892. end)
  6893.  
  6894. addcmd('unloopoof','stops the oof chaos',{},
  6895. function(args, speaker)
  6896. oofing = false
  6897. end)
  6898.  
  6899. addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
  6900. function(args, speaker)
  6901. local players = getPlayer(args[1], speaker)
  6902. if not args[1]or not args[2]then return end
  6903. local num=args[2]
  6904. for i,v in pairs(players) do
  6905. if _char(v):FindFirstChild("Humanoid") then
  6906. _char(v).Humanoid.JumpPower=tonumber(num)
  6907. end
  6908. end
  6909. end)
  6910.  
  6911. addcmd('confuse', 'confusing...',{},
  6912. function(args, speaker)
  6913. local players = getPlayer(args[1], speaker)
  6914. for i,v in pairs(players) do
  6915. spawn(function()
  6916. if _char(v):FindFirstChild("Humanoid") then
  6917. _char(v).Humanoid.Name = "ConfusedNigga"
  6918. while true do
  6919. _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
  6920. _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
  6921. wait(0.1)
  6922. end
  6923.  
  6924. end
  6925. end)
  6926. end
  6927. end)
  6928.  
  6929. addcmd('unconfuse', 'not confusing...',{},
  6930. function(args, speaker)
  6931. local players = getPlayer(args[1], speaker)
  6932. for i,v in pairs(players) do
  6933. spawn(function()
  6934. if _char(v):FindFirstChild("ConfusedNigga") then
  6935. _char(v).ConfusedNigga.Name = "Humanoid"
  6936. wait(0.3)
  6937. _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  6938.  
  6939. end
  6940. end)
  6941. end
  6942. end)
  6943.  
  6944. addcmd('cripple', 'cripples a player xddd',{'stun'},
  6945. function(args, speaker)
  6946. local players = getPlayer(args[1], speaker)
  6947. for i,v in pairs(players) do
  6948. if _char(v):FindFirstChild("Humanoid") then
  6949. _char(v).Humanoid.PlatformStand = true
  6950. end
  6951. end
  6952. end)
  6953.  
  6954. addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
  6955. function(args, speaker)
  6956. local players = getPlayer(args[1], speaker)
  6957. for i,v in pairs(players) do
  6958. if _char(v):FindFirstChild("Humanoid") then
  6959. _char(v).Humanoid.PlatformStand = false
  6960. end
  6961. end
  6962. end)
  6963.  
  6964. addcmd('hipheight', 'adjusts hip height',{'hheight'},
  6965. function(args, speaker)
  6966. local players = getPlayer(args[1], speaker)
  6967. for i,v in pairs(players) do
  6968. if _char(v):FindFirstChild("Humanoid") then
  6969. _char(v).Humanoid.HipHeight = args[2]
  6970. end
  6971. end
  6972. end)
  6973.  
  6974. addcmd('face', 'change a players face',{},
  6975. function(args, speaker)
  6976. local players = getPlayer(args[1], speaker)
  6977. for i,v in pairs(players) do
  6978. if _char(v).Head:FindFirstChild("face") then
  6979. _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
  6980. end
  6981. end
  6982. end)
  6983.  
  6984. addcmd('time', 'change the time of day',{},
  6985. function(args, speaker)
  6986. if not args[1]then return end
  6987. Notify('Time set to ' .. args[1])
  6988. LightingService.ClockTime = args[1]
  6989. end)
  6990.  
  6991. addcmd('day', 'change the time to day',{},
  6992. function(args, speaker)
  6993. LightingService.ClockTime = 15
  6994. end)
  6995.  
  6996. addcmd('night', 'change the time of night',{},
  6997. function(args, speaker)
  6998. LightingService.ClockTime = 0
  6999. end)
  7000.  
  7001. addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
  7002. function(args, speaker)
  7003. Notify('Turned on global shadows')
  7004. LightingService.GlobalShadows = true
  7005. end)
  7006.  
  7007. addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
  7008. function(args, speaker)
  7009. Notify('Turned off global shadows')
  7010. LightingService.GlobalShadows = false
  7011. end)
  7012.  
  7013. addcmd('outlines', 'changes the lighting property',{},
  7014. function(args, speaker)
  7015. Notify('Turned on outlines')
  7016. LightingService.Outlines = true
  7017. end)
  7018.  
  7019. addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
  7020. function(args, speaker)
  7021. Notify('Turned off outlines')
  7022. LightingService.Outlines = false
  7023. end)
  7024.  
  7025. addcmd('brightness', 'changes the lighting property',{},
  7026. function(args, speaker)
  7027. Notify('Set brightness to ' .. args[1])
  7028. LightingService.Brightness = args[1]
  7029. end)
  7030.  
  7031. addcmd('age','tells you the age of a player',{},
  7032. function(args, speaker)
  7033. local players = getPlayer(args[1], speaker)
  7034. if speaker.userId ~= LP.userId then
  7035. lponly(speaker)
  7036. else
  7037. for i,v in pairs(players) do
  7038. game:FindService('StarterGui'):SetCore('SendNotification', {
  7039. Title = _players[v].Name,
  7040. Text = 'Age: '.._players[v].AccountAge,
  7041. Icon = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]].._players[v].Name..[[&RAND]] .. math.random(1,100000000),
  7042. Duration = 5,
  7043. })
  7044. end
  7045. end
  7046. end)
  7047.  
  7048. addcmd('remotespy', 'prints remotes',{'remotes'},
  7049. function(args, speaker)
  7050. if speaker.userId ~= LP.userId then
  7051. lponly(speaker)
  7052. else
  7053. Notify('Printing remotes')
  7054. function getem(o)
  7055. for i,v in pairs(o:children())do
  7056. if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then
  7057. print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
  7058. end
  7059. getem(v)
  7060. end
  7061. end
  7062. pcall(getem,game)
  7063. end
  7064. end)
  7065.  
  7066. addcmd('f3x', 'loads f3x tools',{'fex'},
  7067. function(args, speaker)
  7068. if speaker.userId ~= LP.userId then
  7069. lponly(speaker)
  7070. else
  7071. loadstring(game:GetService("InsertService"):LoadLocalAsset("rbxassetid://1059691823").Source)()
  7072. end
  7073. end)
  7074.  
  7075. addcmd('kick', 'kick a player',{},
  7076. function(args, speaker)
  7077. local players = getPlayer(args[1], speaker)
  7078. for i,v in pairs(players) do
  7079. spawn(function()
  7080. if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
  7081. Notify('Kicked player(s)') end
  7082. kickF(gPlayers[v])
  7083. end) end end)
  7084.  
  7085. function fadelock(id)
  7086. if lockic.ImageTransparency ~= 1 then
  7087. for i=1, 10 do
  7088. lockic.ImageTransparency = lockic.ImageTransparency + 0.1
  7089. wait(0.01)
  7090. end
  7091. lockic.ImageTransparency = 1
  7092. end
  7093. if id ~= 'off' then
  7094. lockic.Image = id
  7095. wait(0.2)
  7096. for i=1, 10 do
  7097. lockic.ImageTransparency = lockic.ImageTransparency - 0.1
  7098. wait(0.01)
  7099. end
  7100. lockic.ImageTransparency = 0
  7101. end end
  7102.  
  7103. addcmd('serverlock', 'lock teh server',{'slock'},
  7104. function(args, speaker)
  7105. slock = true
  7106. agelock = false
  7107. Notify('Locked Server')
  7108. fadelock("rbxassetid://1495252742")
  7109. end)
  7110.  
  7111. addcmd('unserverlock', 'unlock teh server',{'unslock'},
  7112. function(args, speaker)
  7113. slock = false
  7114. Notify('Unlocked Server')
  7115. if lockic.Image == "rbxassetid://1495252742" then
  7116. fadelock('off')
  7117. end
  7118. end)
  7119.  
  7120. addcmd('agelock', 'lock teh server for a certain age',{'alock'},
  7121. function(args, speaker)
  7122. if isNumber(args[1]) then
  7123. Notify('Set the age lock to age ' .. args[1])
  7124. isagelocked = true
  7125. slock = false
  7126. agelock = tonumber(args[1])
  7127. fadelock("rbxassetid://1495252495")
  7128. end
  7129. end)
  7130.  
  7131. addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
  7132. function(args, speaker)
  7133. Notify('Disabled age lock')
  7134. isagelocked = false
  7135. if lockic.Image == "rbxassetid://1495252495" then
  7136. fadelock('off')
  7137. end
  7138. end)
  7139.  
  7140. addcmd('unlockws', 'unlock the whole workspace',{},
  7141. function(args, speaker)
  7142. Notify('Workspace unlocked')
  7143. wait(1)
  7144. local function unlock(instance)
  7145. for i,v in pairs(instance:GetChildren()) do
  7146. if v:IsA("BasePart") then
  7147. v.Locked = false
  7148. end
  7149. unlock(v)
  7150. end
  7151. end
  7152. unlock(workspace)
  7153. end)
  7154.  
  7155. addcmd('lockws', 'lock the whole workspace',{},
  7156. function(args, speaker)
  7157. Notify('Workspace locked')
  7158. wait(1)
  7159. local function lock(instance)
  7160. for i,v in pairs(instance:GetChildren()) do
  7161. if v:IsA("BasePart") then
  7162. v.Locked = true
  7163. end
  7164. lock(v)
  7165. end
  7166. end
  7167. lock(workspace)
  7168. end)
  7169.  
  7170. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  7171. function(args, speaker)
  7172. local function unanchor(instance)
  7173. for i,v in pairs(instance:GetChildren()) do
  7174. if v:IsA("BasePart") then
  7175. v.Anchored=false
  7176. end
  7177. unanchor(v)
  7178. end
  7179. end
  7180. unanchor(workspace)
  7181. end)
  7182.  
  7183. addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
  7184. function(args, speaker)
  7185. local function anchor(instance)
  7186. for i,v in pairs(instance:GetChildren()) do
  7187. if v:IsA("BasePart") then
  7188. v.Anchored=true
  7189. end
  7190. anchor(v)
  7191. end
  7192. end
  7193. anchor(workspace)
  7194. end)
  7195.  
  7196. addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
  7197. function()
  7198. for _,v in pairs(workspace:GetChildren()) do
  7199. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  7200. v:Destroy()
  7201. elseif v:IsA("Terrain") then
  7202. v:Clear()
  7203. end
  7204. end
  7205. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() end
  7206. local p = Instance.new("Part", workspace)
  7207. p.Anchored = true
  7208. p.FormFactor = "Symmetric"
  7209. p.Size = Vector3.new(1000,1,1000)
  7210. p.Position = Vector3.new(0,0,0)
  7211. p.BrickColor = BrickColor.new("Bright green")
  7212. p.Material = "Grass"
  7213. p.Locked = true
  7214. end)
  7215.  
  7216. addcmd('headshake', 'shakes a players head',{},
  7217. function(args, speaker)
  7218. local players = getPlayer(args[1], speaker)
  7219. for i,v in pairs(players) do
  7220. spawn(function()
  7221. local shaken = gPlayers[v].Character
  7222. for X = 1, math.huge, 0.2 do
  7223. wait()
  7224. shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  7225. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  7226. end
  7227. for X = 1, math.huge, 0.1 do
  7228. wait()
  7229. shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  7230. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  7231. end
  7232. for _,c in pairs(gPlayers:GetChildren()) do
  7233. c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  7234. end
  7235. for _,c in pairs(gPlayers:GetChildren()) do
  7236. c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  7237. end
  7238. end)
  7239. end
  7240. end)
  7241.  
  7242. addcmd('explorer', 'opens DEX',{'dex'},
  7243. function(args, speaker)
  7244. if speaker.userId ~= LP.userId then
  7245. lponly(speaker)
  7246. else
  7247. loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  7248. end
  7249. end)
  7250.  
  7251. addcmd('firstp', 'forces player to go into first person',{},
  7252. function(args, speaker)
  7253. local players = getPlayer(args[1], speaker)
  7254. for i,v in pairs(players)do
  7255. gPlayers[v].CameraMode = "LockFirstPerson"
  7256. end
  7257. end)
  7258.  
  7259. addcmd('lock', 'locks a players body parts',{},
  7260. function(args, speaker)
  7261. local players = getPlayer(args[1], speaker)
  7262. for i,v in pairs(players)do
  7263. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  7264. if v:IsA("Part") then
  7265. v.Locked = true
  7266. end end end
  7267. end)
  7268.  
  7269. addcmd('unlock', 'locks a players body parts',{},
  7270. function(args, speaker)
  7271. local players = getPlayer(args[1], speaker)
  7272. for i,v in pairs(players)do
  7273. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  7274. if v:IsA("Part") then
  7275. v.Locked = false
  7276. end end end
  7277. end)
  7278.  
  7279. addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
  7280. function(args, speaker)
  7281. local players = getPlayer(args[1], speaker)
  7282. for i,v in pairs(players)do
  7283. spawn(function()
  7284. gPlayers[v].Character.Humanoid.Name = "HumanoidIY"
  7285. if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
  7286. Notify('Disabled reset for player(s)') end
  7287. end)
  7288. end
  7289. end)
  7290.  
  7291. addcmd('enablereset', 'makes a player unable to reset',{'reset'},
  7292. function(args, speaker)
  7293. local players = getPlayer(args[1], speaker)
  7294. for i,v in pairs(players)do
  7295. spawn(function()
  7296. gPlayers[v].Character.HumanoidIY.Name = "Humanoid"
  7297. if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
  7298. Notify('Enabled reset for player(s)') end
  7299. end)
  7300. end
  7301. end)
  7302.  
  7303. addcmd("fixlighting","Removes effects from lighting",{'fixl'},
  7304. function(args,speaker)
  7305. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  7306. if v:IsA("PostEffect") then
  7307. v:Destroy()
  7308. end
  7309. end
  7310. LightingService.Ambient = origsettings.abt
  7311. LightingService.OutdoorAmbient = origsettings.oabt
  7312. LightingService.Brightness = origsettings.brt
  7313. LightingService.TimeOfDay = origsettings.time
  7314. LightingService.FogColor = origsettings.fclr
  7315. LightingService.FogEnd = origsettings.fe
  7316. LightingService.FogStart = origsettings.fs
  7317. end)
  7318.  
  7319. addcmd("savelighting","Removes effects from lighting",{'slighting'},
  7320. function(args,speaker)
  7321. origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  7322. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe = LightingService.FogEnd, fs = LightingService.FogStart}
  7323. Notify('Saved lighting settings')
  7324. end)
  7325.  
  7326. addcmd("blackandwhite","Makes the game black and white",{},
  7327. function(args,speaker)
  7328. local lighting = game:GetService("Lighting")
  7329. local effect = Instance.new("ColorCorrectionEffect",lighting)
  7330. effect.Saturation = -1
  7331. end)
  7332.  
  7333. addcmd("invert","Makes the game inverted",{},
  7334. function(args,speaker)
  7335. local lighting = game:GetService("Lighting")
  7336. local effect = Instance.new("ColorCorrectionEffect",lighting)
  7337. effect.Saturation = -1
  7338. local effect = Instance.new("ColorCorrectionEffect",lighting)
  7339. effect.Saturation = -1
  7340. end)
  7341.  
  7342. addcmd("sun","Intensifys the sun",{},
  7343. function(args,speaker)
  7344. local intense = args[1] or 0.25
  7345. local spread = args[2] or 1
  7346. local lighting = game:GetService("Lighting")
  7347. local effect = Instance.new("SunRaysEffect",lighting)
  7348. effect.Name = "IYsun"
  7349. effect.Intensity = tonumber(intense)
  7350. effect.Spread = tonumber(spread)
  7351. end)
  7352.  
  7353. addcmd('base', 'spawns a base',{},
  7354. function(args, speaker)
  7355. local pt = Instance.new("Part")
  7356. pt.BrickColor = BrickColor.new("Silver")
  7357. pt.Anchored = true
  7358. pt.CanCollide = true
  7359. pt.BottomSurface = "Weld"
  7360. pt.Parent = workspace
  7361. pt.Name = (math.random(1,1000000))
  7362. pt.Size = Vector3.new(1000, 1, 1000)
  7363. pt.Locked = true
  7364. Notify('Created new base')
  7365. end)
  7366.  
  7367. addcmd('unblur', 'removes all blur instances',{'noblur'},
  7368. function(args, speaker)
  7369. for i,v in pairs(LightingService:GetChildren()) do
  7370. if v:IsA('BlurEffect') then
  7371. v:Destroy()
  7372. end
  7373. end
  7374. end)
  7375.  
  7376. addcmd('thirdp', 'allows player to go into third person',{},
  7377. function(args, speaker)
  7378. local players = getPlayer(args[1], speaker)
  7379. for i,v in pairs(players)do
  7380. gPlayers[v].CameraMode = "Classic"
  7381. end
  7382. end)
  7383.  
  7384. addcmd('chat', 'forces player to chat what you input',{},
  7385. function(args, speaker)
  7386. local players = getPlayer(args[1], speaker)
  7387. for i,v in pairs(players)do
  7388. game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
  7389. end
  7390. end)
  7391.  
  7392. addcmd('name', 'names player',{},
  7393. function(args, speaker)
  7394. local players = getPlayer(args[1], speaker)
  7395. if not args[1] then return end
  7396. for i,v in pairs(players) do
  7397. for a, mod in pairs(gPlayers[v].Character:children()) do
  7398. if mod:FindFirstChild("TAG") then
  7399. gPlayers[v].Character.Head.Transparency = 0
  7400. mod:Destroy()
  7401. end
  7402. end
  7403.  
  7404. local char = gPlayers[v].Character
  7405. local model = Instance.new("Model", char)
  7406. local clone = char.Head:Clone()
  7407. local hum = Instance.new("Humanoid", model)
  7408. local weld = Instance.new("Weld", clone)
  7409. model.Name = GLS(false, 1)
  7410. clone.Parent = model
  7411. hum.Name = "TAG"
  7412. hum.MaxHealth = 100
  7413. hum.Health = 100
  7414. weld.Part0 = clone
  7415. weld.Part1 = char.Head
  7416. char.Head.Transparency = 1
  7417. end
  7418. end)
  7419.  
  7420. addcmd('unname', 'unnames player',{'unhidename'},
  7421. function(args, speaker)
  7422. local players = getPlayer(args[1], speaker)
  7423. local name = (args[2])
  7424. for i,v in pairs(players) do
  7425. for a, mod in pairs(gPlayers[v].Character:children()) do
  7426. if mod:FindFirstChild("TAG") then
  7427. gPlayers[v].Character.Head.Transparency = 0
  7428. mod:Destroy()
  7429. end
  7430. end
  7431. end
  7432. end)
  7433.  
  7434. addcmd('noname', 'hides the players name',{'hidename'},
  7435. function(args, speaker)
  7436. local players = getPlayer(args[1], speaker)
  7437. for i,v in pairs(players) do
  7438. for a, mod in pairs(gPlayers[v].Character:children()) do
  7439. if mod:FindFirstChild("TAG") then
  7440. gPlayers[v].Character.Head.Transparency = 0
  7441. mod:Destroy()
  7442. end
  7443. end
  7444.  
  7445. local char = gPlayers[v].Character
  7446. local model = Instance.new("Model", char)
  7447. local clone = char.Head:Clone()
  7448. local hum = Instance.new("Humanoid", model)
  7449. local weld = Instance.new("Weld", clone)
  7450. model.Name = ""
  7451. clone.Parent = model
  7452. hum.Name = "TAG"
  7453. hum.MaxHealth = 100
  7454. hum.Health = 100
  7455. weld.Part0 = clone
  7456. weld.Part1 = char.Head
  7457. char.Head.Transparency = 1
  7458. end
  7459. end)
  7460.  
  7461. addcmd('damage', 'damages a player',{},
  7462. function(args, speaker)
  7463. local players = getPlayer(args[1], speaker)
  7464. for i,v in pairs(players) do
  7465. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  7466. end
  7467. end)
  7468.  
  7469. addcmd('view', 'views player',{'spectate'},
  7470. function(args, speaker)
  7471. local players = getPlayer(args[1], speaker)
  7472. for i,v in pairs(players) do
  7473. workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  7474. Notify('Viewing ' .. gPlayers[v].Name)
  7475. end
  7476. end)
  7477.  
  7478. addcmd('unview', 'stops viewing player',{'unspectate'},
  7479. function()
  7480. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  7481. Notify('View turned off')
  7482. end)
  7483.  
  7484. addcmd('nolimbs', 'removes limbs from player',{'rlimbs'},
  7485. function(args, speaker)
  7486. local players = getPlayer(args[1], speaker)
  7487. for i,v in pairs(players) do
  7488. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7489. if v:IsA("BasePart") and
  7490. v.Name == "Right Leg" or
  7491. v.Name == "Left Leg" or
  7492. v.Name == "Right Arm" or
  7493. v.Name == "Left Arm" then
  7494. v:Destroy()
  7495. end
  7496. end
  7497. end
  7498. end)
  7499.  
  7500. addcmd('torso', 'just a torso....',{},
  7501. function(args, speaker)
  7502. local players = getPlayer(args[1], speaker)
  7503. for i,v in pairs(players) do
  7504. spawn(function()
  7505. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  7506. if v:IsA("BasePart") and
  7507. v.Name == "Right Leg" or
  7508. v.Name == "Left Leg" or
  7509. v.Name == "Right Arm" or
  7510. v.Name == "Left Arm" or
  7511. v:IsA('Decal') or v:IsA('Texture') or
  7512. v:IsA('Accessory') then
  7513. v:Destroy()
  7514. end
  7515. end
  7516. gPlayers[v].Character.Head.Transparency = 1
  7517. end)
  7518. end
  7519. end)
  7520.  
  7521. addcmd('box', 'creates a box around player',{},
  7522. function(args, speaker)
  7523. local players = getPlayer(args[1], speaker)
  7524. for i,v in pairs(players)do
  7525. local pchar=_char(v)
  7526. local SB = Instance.new("SelectionBox", pchar)
  7527. SB.Adornee = SB.Parent
  7528. end
  7529. end)
  7530.  
  7531. addcmd('nobox', 'takes away box from player',{'unbox'},
  7532. function(args, speaker)
  7533. local players = getPlayer(args[1], speaker)
  7534. for i,v in pairs(players)do
  7535. local pchar=_char(v)
  7536. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7537. if v:IsA("SelectionBox") then
  7538. v:Destroy()
  7539. end
  7540. end
  7541. end
  7542. end)
  7543.  
  7544. addcmd('ghost', 'ghostifys player',{},
  7545. function(args, speaker)
  7546. local players = getPlayer(args[1], speaker)
  7547. for i,v in pairs(players)do
  7548. local pchar=gPlayers[v].Character
  7549. pchar.Head.Transparency = 0.5
  7550. pchar.Torso.Transparency = 0.5
  7551. pchar["Left Arm"].Transparency = 0.5
  7552. pchar["Right Arm"].Transparency = 0.5
  7553. pchar["Left Leg"].Transparency = 0.5
  7554. pchar["Right Leg"].Transparency = 0.5
  7555. pchar.Head.face.Transparency = 0.5
  7556. end
  7557. end)
  7558.  
  7559. addcmd('unghost', 'unghostifys player',{'noghost'},
  7560. function(args, speaker)
  7561. local players = getPlayer(args[1], speaker)
  7562. for i,v in pairs(players)do
  7563. local pchar=gPlayers[v].Character
  7564. pchar.Head.Transparency = 0
  7565. pchar.Torso.Transparency = 0
  7566. pchar["Left Arm"].Transparency = 0
  7567. pchar["Right Arm"].Transparency = 0
  7568. pchar["Left Leg"].Transparency = 0
  7569. pchar["Right Leg"].Transparency = 0
  7570. pchar.Head.face.Transparency = 0
  7571. end
  7572. end)
  7573.  
  7574. addcmd('sphere', 'puts sphere around player',{},
  7575. function(args, speaker)
  7576. local players = getPlayer(args[1], speaker)
  7577. for i,v in pairs(players)do
  7578. local pchar=gPlayers[v].Character
  7579. local SS = Instance.new("SelectionSphere", pchar)
  7580. SS.Adornee = SS.Parent
  7581. end
  7582. end)
  7583.  
  7584. addcmd('sphere', 'puts sphere around player',{},
  7585. function(args, speaker)
  7586. local players = getPlayer(args[1], speaker)
  7587. for i,v in pairs(players)do
  7588. local pchar=gPlayers[v].Character
  7589. local SS = Instance.new("SelectionSphere", pchar)
  7590. SS.Adornee = SS.Parent
  7591. end
  7592. end)
  7593.  
  7594. addcmd('unsphere', 'removes sphere around player',{},
  7595. function(args, speaker)
  7596. local players = getPlayer(args[1], speaker)
  7597. for i,v in pairs(players)do
  7598. local pchar=_char(v)
  7599. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  7600. if v:IsA("SelectionSphere") then
  7601. v:Destroy()
  7602. end
  7603. end
  7604. end
  7605. end)
  7606.  
  7607. addcmd('ambient','changes ambient',{},
  7608. function(args, speaker)
  7609. LightingService.Ambient = Color3.fromRGB(args[1],args[2],args[3])
  7610. LightingService.OutdoorAmbient = Color3.fromRGB(args[1],args[2],args[3])
  7611. end)
  7612.  
  7613. addcmd('fogend','changes the fogend',{},
  7614. function(args, speaker)
  7615. LightingService.FogEnd = args[1]
  7616. end)
  7617.  
  7618. addcmd('fogcolor','changes the fogs color',{},
  7619. function(args, speaker)
  7620. LightingService.FogColor = Color3.fromRGB(args[1],args[2],args[3])
  7621. end)
  7622.  
  7623. injail = {}
  7624. addcmd('jail','jails player',{},
  7625. function(args, speaker)
  7626. local players = getPlayer(args[1], speaker)
  7627. for i,v in pairs(players)do
  7628. spawn(function()
  7629. if FindTable(injail, _players[v].Name) then return end
  7630. table.insert(injail, _players[v].Name)
  7631. local pchar=gPlayers[v].Character
  7632. local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
  7633. repeat wait(0.5)
  7634. 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
  7635. until not FindTable(injail, _players[v].Name)
  7636. end)
  7637. end
  7638. end)
  7639.  
  7640. addcmd('unjail','unjails player',{},
  7641. function(args, speaker)
  7642. local players = getPlayer(args[1], speaker)
  7643. for i,v in pairs(players)do
  7644. spawn(function()
  7645. for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
  7646. workspace["JAIL_" .. _players[v].Name]:Destroy()
  7647. end)
  7648. end
  7649. end)
  7650.  
  7651. loopn = {}
  7652. addcmd('loopname','loops a players name',{'lname'},
  7653. function(args, speaker)
  7654. local players = getPlayer(args[1], speaker)
  7655. for i,v in pairs(players)do
  7656. spawn(function()
  7657. if FindTable(loopn, _players[v].Name) then return end
  7658. table.insert(loopn, _players[v].Name)
  7659. local Lname = GLS(false, 1)
  7660. local pchar=gPlayers[v].Character
  7661. pchar.Name = Lname
  7662. if FindTable(SPC, args[1]) then Notify('Looping name for ' .. args[1] .. ' (only visible to others)') else
  7663. Notify('Looping name for player(s) (only visible to others)') end
  7664. repeat wait(0.01)
  7665. repeat wait() until _players[v].Character
  7666. gPlayers[v].Character.Name = Lname
  7667. until not FindTable(loopn, _players[v].Name)
  7668. end)
  7669. end
  7670. end)
  7671.  
  7672. addcmd('unloopname','unjails player',{'noloopname','unlname','nolname'},
  7673. function(args, speaker)
  7674. local players = getPlayer(args[1], speaker)
  7675. for i,v in pairs(players)do
  7676. spawn(function()
  7677. local pchar=gPlayers[v].Character
  7678. for a,b in pairs(loopn) do if b == _players[v].Name then table.remove(loopn, a) end end
  7679. wait(0.5)
  7680. if FindTable(SPC, args[1]) then Notify('Stopped looping name for ' .. args[1]) else
  7681. Notify('Stopped looping name for player(s)') end
  7682. pchar.Name = gPlayers[v].Name
  7683. end)
  7684. end
  7685. end)
  7686.  
  7687. addcmd('loopbring','loop brings a player lol',{},
  7688. function(args, speaker)
  7689. local players = getPlayer(args[1], speaker)
  7690. for i,v in pairs(players)do
  7691. spawn(function()
  7692. if FindTable(bringT, _players[v].Name) then return end
  7693. table.insert(bringT, _players[v].Name)
  7694. local pchar=gPlayers[v].Character
  7695. pchar.Humanoid.Jump = true
  7696. repeat wait(0.5)
  7697. pchar = _players[v].Character
  7698. for i,c in pairs(players) do
  7699. if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") and speaker.Character ~= nil and speaker.Character:FindFirstChild("HumanoidRootPart") then
  7700. pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
  7701. end
  7702. end
  7703. until not FindTable(bringT, _players[v].Name)
  7704. end)
  7705. end
  7706. end)
  7707.  
  7708. addcmd('feinvisible','fe invisible',{},
  7709. function(args, speaker)
  7710. -- Elite1337#9377 & Timeless#4044
  7711. Local = game:GetService('Players').LocalPlayer
  7712. Char = Local.Character
  7713. touched,tpdback = false, false
  7714. Local.CharacterAdded:connect(function(char)
  7715. if script.Disabled ~= true then
  7716. wait(.25)
  7717. loc = Char.HumanoidRootPart.Position
  7718. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  7719. end
  7720. end)
  7721. game:GetService('UserInputService').InputBegan:connect(function(key)
  7722. if key.KeyCode == Enum.KeyCode.Equals then
  7723. if script.Disabled ~= true then
  7724. script.Disabled = true
  7725. print'you may re-execute'
  7726. end
  7727. end
  7728. end)
  7729. box = Instance.new('Part',workspace)
  7730. box.Anchored = true
  7731. box.CanCollide = true
  7732. box.Size = Vector3.new(10,1,10)
  7733. box.Position = Vector3.new(0,10000,0)
  7734. box.Touched:connect(function(part)
  7735. if (part.Parent.Name == Local.Name) then
  7736. if touched == false then
  7737. touched = true
  7738. function apply()
  7739. if script.Disabled ~= true then
  7740. no = Char.HumanoidRootPart:Clone()
  7741. wait(.25)
  7742. Char.HumanoidRootPart:Destroy()
  7743. no.Parent = Char
  7744. Char:MoveTo(loc)
  7745. touched = false
  7746. end end
  7747. if Char then
  7748. apply()
  7749. end
  7750. end
  7751. end
  7752. end)
  7753. repeat wait() until Char
  7754. loc = Char.HumanoidRootPart.Position
  7755. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  7756. end)
  7757.  
  7758. addcmd('unloopbring','unjails player',{'noloopbring'},
  7759. function(args, speaker)
  7760. local players = getPlayer(args[1], speaker)
  7761. for i,v in pairs(players)do
  7762. spawn(function()
  7763. for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
  7764. end)
  7765. end
  7766. end)
  7767.  
  7768. strobe = false
  7769. addcmd('strobe','makes the server flash',{'flash'},
  7770. function(args, speaker)
  7771. if strobe == false then
  7772. strobep = Instance.new("ColorCorrectionEffect")
  7773. strobep.Brightness = 1
  7774. strobep.Parent = LightingService
  7775. strobe = true
  7776. repeat wait(0.01)
  7777. strobep.Enabled = true
  7778. wait(0.01)
  7779. strobep.Enabled = false
  7780. until strobe == false
  7781. end
  7782. end)
  7783.  
  7784. addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
  7785. function(args, speaker)
  7786. strobe = false
  7787. strobep:Destroy()
  7788. end)
  7789.  
  7790. addcmd('shutdown', 'shuts the server down',{},
  7791. function(args, speaker)
  7792. Notify('Broken atm :(')
  7793. end)
  7794.  
  7795. addcmd('fekill','oof?',{},
  7796. function(args, speaker)
  7797. local players = getPlayer(args[1], speaker)
  7798. for i,v in pairs(players)do
  7799. -- illremember's cool fe kill script
  7800. local Target = gPlayers[v].Name
  7801. game:GetService("Players").LocalPlayer.Character.Humanoid.Name = 1
  7802. local l = game:GetService("Players").LocalPlayer.Character["1"]:Clone()
  7803. l.Parent = game:GetService("Players").LocalPlayer.Character
  7804. l.Name = "Humanoid"
  7805. wait(0.1)
  7806. game:GetService("Players").LocalPlayer.Character["1"]:Destroy()
  7807. game.Workspace.CurrentCamera.CameraSubject = game:GetService("Players").LocalPlayer.Character
  7808. game:GetService("Players").LocalPlayer.Character.Animate.Disabled = true
  7809. wait(0.1)
  7810. game:GetService("Players").LocalPlayer.Character.Animate.Disabled = false
  7811. game:GetService("Players").LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7812. for i,v in pairs(game:GetService'Players'.LocalPlayer.Backpack:GetChildren())do
  7813. game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(v)
  7814. v.CanBeDropped = true
  7815. end
  7816. wait(0.1)
  7817. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7818. wait(0.1)
  7819. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Players")[Target].Character.HumanoidRootPart.CFrame
  7820. wait(0.2)
  7821. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(-10000,-100, -10000))
  7822. end
  7823. end)
  7824.  
  7825. addcmd('animation','makes player animate',{'anim'},
  7826. function(args, speaker)
  7827. local players = getPlayer(args[1], speaker)
  7828. for i,v in pairs(players)do
  7829. local pchar = gPlayers[v].Character
  7830. local ID = args[2]
  7831.  
  7832. if args[2] == "climb" then
  7833. ID = "180436334"
  7834. end
  7835. if args[2] == "fall" then
  7836. ID = "180436148"
  7837. end
  7838. if args[2] == "jump" then
  7839. ID = "125750702"
  7840. end
  7841. if args[2] == "sit" then
  7842. ID = "178130996"
  7843. end
  7844. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  7845. if x:IsA("StringValue") then
  7846. for _,c in pairs(x:GetChildren()) do
  7847. if c:IsA("Animation") then
  7848. c.AnimationId = "rbxassetid://" .. ID
  7849. end
  7850. end
  7851. end
  7852. end
  7853. end
  7854. end)
  7855.  
  7856. addcmd('creeper','make the player a creeper',{'crpr'},
  7857. function(args, speaker)
  7858. local players = getPlayer(args[1], speaker)
  7859. for i,v in pairs(players)do
  7860. local pchar = gPlayers[v].Character
  7861. if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  7862. if pchar:FindFirstChild("Shirt") then
  7863. pchar.Shirt.Parent = pchar.Torso
  7864. end
  7865. if pchar:FindFirstChild("Pants") then
  7866. pchar.Pants.Parent = pchar.Torso
  7867. end
  7868. if pchar:FindFirstChild("Shirt Graphic") then
  7869. pchar["Shirt Graphic"].Graphic = ""
  7870. end
  7871. for i,v in pairs(pchar:GetChildren()) do
  7872. if v:IsA("Accessory") then
  7873. v:Destroy()
  7874. end
  7875. end
  7876. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  7877. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  7878. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  7879. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  7880. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  7881. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  7882. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  7883. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  7884. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  7885. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  7886. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  7887. end
  7888. end
  7889. end)
  7890.  
  7891. addcmd('uncreeper','makes player back to normal',{},
  7892. function(args, speaker)
  7893. local players = getPlayer(args[1], speaker)
  7894. for i,v in pairs(players)do
  7895. refresh(gPlayers[v])
  7896. end
  7897. end)
  7898.  
  7899. addcmd('crash','crashes a player',{},
  7900. function(args, speaker)
  7901. local players = getPlayer(args[1], speaker)
  7902. for i,v in pairs(players)do
  7903. if FindTable(WL, gPlayers[v].Name) then Notify('Error: '..gPlayers[v].Name..' is whitelisted') else
  7904. if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
  7905. Notify('Crashed player(s)') end
  7906. wait(4)
  7907. if gPlayers[v] ~= nil then
  7908. for i=1,3600 do
  7909. Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nig"
  7910. end
  7911. wait()
  7912. for i=1,3600 do
  7913. Instance.new("HopperBin",gPlayers[v].Backpack).Name = "nog"
  7914. end
  7915. wait()
  7916. end
  7917. end
  7918. end
  7919. end)
  7920.  
  7921. addcmd('shrek', 'makes player shrek',{},
  7922. function(args, speaker)
  7923. local players = getPlayer(args[1], speaker)
  7924. for i,v in pairs(players) do
  7925. local pchar = gPlayers[v].Character
  7926. for i,v in pairs(pchar:GetChildren()) do
  7927. if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
  7928. then
  7929. v:Destroy()
  7930. end
  7931. end
  7932. for i,v in pairs(pchar.Head:GetChildren()) do
  7933. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  7934. v:Destroy()
  7935. end
  7936. end
  7937.  
  7938. local mesh = Instance.new("SpecialMesh", pchar.Head)
  7939. mesh.MeshType = "FileMesh"
  7940. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  7941. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  7942. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  7943.  
  7944. local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  7945. local Pants = Instance.new("Pants", gPlayers[v].Character)
  7946.  
  7947. Shirt.ShirtTemplate = "rbxassetid://133078194"
  7948. Pants.PantsTemplate = "rbxassetid://133078204"
  7949. end
  7950. end)
  7951.  
  7952. addcmd('unshrek','makes player back to normal',{},
  7953. function(args, speaker)
  7954. local players = getPlayer(args[1], speaker)
  7955. for i,v in pairs(players)do
  7956. refresh(gPlayers[v])
  7957. end
  7958. end)
  7959.  
  7960. addcmd('oof','good things happen',{},
  7961. function(args, speaker)
  7962. local players = getPlayer(args[1], speaker)
  7963. for i,v in pairs(players)do
  7964. spawn(function()
  7965. 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
  7966. gPlayers[v].Character.Head.Died.Volume = 10
  7967. gPlayers[v].Character.Head.Died.Pitch = 0.5
  7968. end
  7969. execCmd("size " .. gPlayers[v].Name .. ' -1')
  7970. execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
  7971. wait(5)
  7972. execCmd("explode " .. gPlayers[v].Name)
  7973. wait(0.1)
  7974. gPlayers[v].Character.Humanoid.Health = 0
  7975. end)
  7976. end
  7977. end)
  7978.  
  7979. addcmd('control','controls player',{},
  7980. function(args, speaker)
  7981. local players = getPlayer(args[1], speaker)
  7982. for i,v in pairs(players)do
  7983. spawn(function()
  7984. local pchar = gPlayers[v].Character
  7985. if gPlayers[v] and pchar then
  7986. execCmd("invisible " .. speaker.Name)
  7987. pchar.Humanoid.PlatformStand = true
  7988. local w = Instance.new("Weld", speaker.Character.Torso)
  7989. w.Part0 = speaker.Character.Torso
  7990. w.Part1 = pchar.Torso
  7991. local w2 = Instance.new("Weld", speaker.Character.Head)
  7992. w2.Part0 = speaker.Character.Head
  7993. w2.Part1 = pchar.Head
  7994. local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
  7995. w3.Part0 = speaker.Character:findFirstChild("Right Arm")
  7996. w3.Part1 = pchar:findFirstChild("Right Arm")
  7997. local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
  7998. w4.Part0 = speaker.Character:findFirstChild("Left Arm")
  7999. w4.Part1 = pchar:findFirstChild("Left Arm")
  8000. local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
  8001. w5.Part0 = speaker.Character:findFirstChild("Right Leg")
  8002. w5.Part1 = pchar:findFirstChild("Right Leg")
  8003. local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
  8004. w6.Part0 = speaker.Character:findFirstChild("Left Leg")
  8005. w6.Part1 = pchar:findFirstChild("Left Leg")
  8006. char.Head.face:Destroy()
  8007. for i,v in pairs(pchar:GetChildren()) do
  8008. if v:IsA("BasePart") then
  8009. v.CanCollide = false
  8010. end
  8011. end
  8012. for i,v in pairs(char:GetChildren()) do
  8013. if v:IsA("BasePart") then
  8014. v.Transparency = 1
  8015. elseif v:IsA("Accessory") then
  8016. v:Destroy()
  8017. end
  8018. end
  8019. pchar.Parent = char
  8020. pchar.Humanoid.Changed:connect(function()
  8021. pchar.Humanoid.PlatformStand = true
  8022. end)
  8023. end
  8024. end)
  8025. end
  8026. end)
  8027.  
  8028. addcmd('nuke','nukes player',{},
  8029. function(args, speaker)
  8030. local players = getPlayer(args[1], speaker)
  8031. for i,v in pairs(players)do
  8032. local pchar = gPlayers[v].Character
  8033. if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
  8034. local nuke = Instance.new("Part", workspace)
  8035. nuke.Anchored = true
  8036. nuke.CanCollide = false
  8037. nuke.FormFactor = "Symmetric"
  8038. nuke.Shape = "Ball"
  8039. nuke.Size = Vector3.new(1,1,1)
  8040. nuke.BrickColor = BrickColor.new("New Yeller")
  8041. nuke.Transparency = 0.5
  8042. nuke.Reflectance = 0.2
  8043. nuke.TopSurface = 0
  8044. nuke.BottomSurface = 0
  8045. nuke.Touched:connect(function (hit)
  8046. if hit and hit.Parent then
  8047. local boom = Instance.new("Explosion", workspace)
  8048. boom.Position = hit.Position
  8049. boom.BlastRadius = 11
  8050. boom.BlastPressure = math.huge
  8051. end
  8052. end)
  8053. local CF = pchar.HumanoidRootPart.CFrame
  8054. nuke.CFrame = CF
  8055. for i = 1,333 do
  8056. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  8057. nuke.CFrame = CF
  8058. wait(1/44)
  8059. end
  8060. nuke:Destroy()
  8061. end
  8062. end
  8063. end)
  8064.  
  8065. addcmd('dong','gives a player a penis',{'penis'},
  8066. function(args, speaker)
  8067. local players = getPlayer(args[1], speaker)
  8068. for i,v in pairs(players)do
  8069. spawn(function()
  8070. if gPlayers[v].Character:FindFirstChild('wang') then
  8071. gPlayers[v].Character.wang:destroy()
  8072. end
  8073. local D = Instance.new('Model', gPlayers[v].Character)
  8074. D.Name = 'DONG'
  8075. local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
  8076. local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
  8077. local M1 = Instance.new('CylinderMesh', MAIN)
  8078. local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
  8079. local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8080. local M2 = Instance.new('SpecialMesh', P1)
  8081. local W2 = Instance.new('Weld', P1)
  8082. local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8083. local M3 = Instance.new('SpecialMesh', B1)
  8084. local W3 = Instance.new('Weld', B1)
  8085. local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
  8086. local M4 = Instance.new('SpecialMesh', B2)
  8087. local W4 = Instance.new('Weld', B2)
  8088. 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
  8089. 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)
  8090. 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
  8091. M2.MeshType = 'Sphere'
  8092. W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
  8093. 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')
  8094. M3.Parent = B1 M3.MeshType = 'Sphere'
  8095. W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
  8096. 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')
  8097. M4.MeshType = 'Sphere'
  8098. W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
  8099. end)
  8100. end
  8101. end)
  8102.  
  8103. addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
  8104. function(args, speaker)
  8105. local players = getPlayer(args[1], speaker)
  8106. for i,v in pairs(players)do
  8107. if gPlayers[v].Character:FindFirstChild('DONG') then
  8108. gPlayers[v].Character.DONG:destroy()
  8109. end end
  8110. end)
  8111.  
  8112. addcmd('infect','infects player',{},
  8113. function(args, speaker)
  8114. local players = getPlayer(args[1], speaker)
  8115. for i,v in pairs(players)do
  8116. function infect(rip)
  8117. local pchar = gPlayers[v].Character
  8118. for i,v in pairs(pchar:GetChildren()) do
  8119. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  8120. v:Destroy()
  8121. end
  8122. end
  8123. if pchar.Torso:FindFirstChild("roblox") then
  8124. pchar.Torso.roblox:Destroy()
  8125. end
  8126. if pchar.Head:FindFirstChild("face") then
  8127. pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  8128. end
  8129. if pchar:FindFirstChild("Body Colors") then
  8130. local Colors = pchar["Body Colors"]
  8131. local Skin = BrickColor.new("Pastel green")
  8132. local Clothes = BrickColor.new("Reddish brown")
  8133. Colors.HeadColor = Skin
  8134. Colors.LeftArmColor = Skin
  8135. Colors.RightArmColor = Skin
  8136. Colors.LeftLegColor = Clothes
  8137. Colors.RightLegColor = Clothes
  8138. Colors.TorsoColor = Clothes
  8139. end
  8140. local w1 = Instance.new("Weld", pchar)
  8141. w1.Part0 = pchar["Right Arm"]
  8142. w1.Part1 = pchar.Torso
  8143. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8144. local w2 = Instance.new("Weld", pchar)
  8145. w2.Part0 = pchar["Left Arm"]
  8146. w2.Part1 = pchar.Torso
  8147. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  8148. local rip = false
  8149. local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  8150. if connect1 == false then
  8151. connect1 = true
  8152. if gPlayers:FindFirstChild(hit.Parent.Name) then
  8153. infect(gPlayers[hit.Parent.Name])
  8154. end
  8155. wait(0.5)
  8156. connect1 = true
  8157. end
  8158. end)
  8159. local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  8160. if connect2 == false then
  8161. connect2 = true
  8162. if gPlayers:FindFirstChild(hit.Parent.Name) then
  8163. infect(gPlayers[hit.Parent.Name])
  8164. end
  8165. wait(0.5)
  8166. connect2 = true
  8167. end
  8168. end)
  8169. local IV = Instance.new("IntValue", pchar)
  8170. IV.Name = "Infected"
  8171. IV.Value = 0
  8172. IV.Changed:connect(function()
  8173. connect1:disconnect()
  8174. connect2:disconnect()
  8175. end)
  8176. end
  8177. infect(v)
  8178. end
  8179. end)
  8180.  
  8181. addcmd('uninfect','makes player back to normal',{},
  8182. function(args, speaker)
  8183. local players = getPlayer(args[1], speaker)
  8184. for i,v in pairs(players)do
  8185. refresh(gPlayers[v])
  8186. end
  8187. end)
  8188.  
  8189. addcmd('duck','makes players head a duck',{},
  8190. function(args, speaker)
  8191. local players = getPlayer(args[1], speaker)
  8192. for i,v in pairs(players)do
  8193. local pchar = gPlayers[v].Character
  8194. for i,v in pairs(pchar.Torso:GetChildren()) do
  8195. if v:IsA("Decal") then
  8196. v:Destroy()
  8197. end
  8198. end
  8199. for i,v in pairs(pchar:GetChildren()) do
  8200. if v:IsA("Accessory") then
  8201. v:Destroy()
  8202. end
  8203. end
  8204. local duck = Instance.new("SpecialMesh", pchar.Torso)
  8205. duck.MeshType = "FileMesh"
  8206. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  8207. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  8208. duck.Scale = Vector3.new(5, 5, 5)
  8209. pchar.Head.Transparency = 1
  8210. pchar["Left Arm"].Transparency = 1
  8211. pchar["Right Arm"].Transparency = 1
  8212. pchar["Left Leg"].Transparency = 1
  8213. pchar["Right Leg"].Transparency = 1
  8214. pchar.Head.face.Transparency = 1
  8215. end
  8216. end)
  8217.  
  8218. addcmd('mage', 'mage',{},
  8219. function(args, speaker)
  8220. if speaker.userId ~= LP.userId then
  8221. lponly(speaker) else
  8222. if not LP.PlayerGui:FindFirstChild('ChangeArc') then
  8223. local arcPackage = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01337781430")
  8224. local fakeLighting = arcPackage.Lighting
  8225.  
  8226. local oldgame = game
  8227. local oldlighting = oldgame:GetService("Lighting")
  8228.  
  8229. local proLighting = newproxy(true)
  8230. local mtL = getmetatable(proLighting)
  8231. mtL.__index = function(self,ind)
  8232. if fakeLighting:FindFirstChild(ind) then return fakeLighting[ind] end
  8233. return oldlighting[ind]
  8234. end
  8235. mtL.__newindex = function(self,ind,val)
  8236. oldlighting[ind] = val
  8237. end
  8238. mtL.__namecall = function(self,...)
  8239. local args = {...}
  8240. local method = table.remove(args)
  8241. return oldlighting(method,unpack(args))
  8242. end
  8243.  
  8244. local proGame = newproxy(true)
  8245. local mt = getmetatable(proGame)
  8246. mt.__index = function(self,ind)
  8247. if ind == "Lighting" then return proLighting end
  8248. return oldgame[ind]
  8249. end
  8250. mt.__namecall = function(self,...)
  8251. local args = {...}
  8252. local method = table.remove(args)
  8253. if method:lower() == "getservice" and args[1] == "Lighting" then return fakeLighting end
  8254. return oldgame(method,unpack(args))
  8255. end
  8256.  
  8257. wait()
  8258. local destructAnchored = false
  8259. local maxMass = 1000
  8260.  
  8261. function newCESS(scr)
  8262. local newFunc = loadstring(scr.Source)
  8263. if type(newFunc) ~= "function" then return end
  8264. setfenv(newFunc,setmetatable({script = scr},{
  8265. __index = function(self,ind)
  8266. if ind == "game" then return proGame end
  8267. return getfenv()[ind]
  8268. end,
  8269. __newindex = function(self,ind,val)
  8270. rawset(self,ind,val)
  8271. end
  8272. }))
  8273. pcall(function()spawn(newFunc)end)
  8274. end
  8275.  
  8276. gPlayers.LocalPlayer.Character.Humanoid.MaxHealth = 999999999
  8277. gPlayers.LocalPlayer.Character.Humanoid.Health = 999999999
  8278.  
  8279. function destroyHook(obj,replacement,par)
  8280. obj:GetPropertyChangedSignal("Parent"):Connect(function()
  8281. local newObj = replacement:Clone()
  8282. if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  8283. newObj.Parent = par
  8284. destroyHook(newObj,replacement,par)
  8285. end)
  8286. end
  8287.  
  8288. for i,v in pairs(arcPackage.PlayerGui:GetChildren()) do
  8289. local newObj = v:Clone()
  8290. if newObj:IsA("ScreenGui") then newObj.ResetOnSpawn = false end
  8291. newObj.Parent = gPlayers.LocalPlayer.PlayerGui
  8292. destroyHook(newObj,v,gPlayers.LocalPlayer.PlayerGui)
  8293. end
  8294.  
  8295. function replaceScripts(root)
  8296. for i,v in pairs(root:GetChildren()) do
  8297. if v:IsA("Script") and not v:IsA("LocalScript") then
  8298. local tempStore = {}
  8299. for i2,v2 in pairs(v:GetChildren()) do
  8300. table.insert(tempStore,v2:Clone())
  8301. end
  8302. local newScript = Instance.new("LocalScript",v.Parent)
  8303. newScript.Name = v.Name
  8304. for i2,v2 in pairs(tempStore) do
  8305. v2.Parent = newScript
  8306. end
  8307. v:Destroy()
  8308. end
  8309. replaceScripts(v)
  8310. end
  8311. end
  8312.  
  8313. local player = gPlayers.LocalPlayer
  8314.  
  8315. if not gPlayers.LocalPlayer:FindFirstChild("leaderstats1") then
  8316. gPlayers.LocalPlayer.PlayerGui.leaderstats1.Parent = gPlayers.LocalPlayer
  8317. end
  8318.  
  8319. if not game.ReplicatedStorage:FindFirstChild("RankScript") then
  8320. gPlayers.LocalPlayer.PlayerGui.RankScript.Parent = game.ReplicatedStorage
  8321. end
  8322.  
  8323. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Element") then
  8324. local eTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Element
  8325. eTemplate.Name = gPlayers.LocalPlayer.Name.."Element"
  8326. eTemplate.Parent = game.ReplicatedStorage
  8327. end
  8328.  
  8329. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."FakeName") then
  8330. local fTemplate = gPlayers.LocalPlayer.PlayerGui.Player1FakeName
  8331. fTemplate.Name = gPlayers.LocalPlayer.Name.."FakeName"
  8332. fTemplate.Parent = game.ReplicatedStorage
  8333. end
  8334.  
  8335. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Level") then
  8336. local lTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Level
  8337. lTemplate.Name = gPlayers.LocalPlayer.Name.."Level"
  8338. lTemplate.Parent = game.ReplicatedStorage
  8339. end
  8340.  
  8341. if not game.ReplicatedStorage:FindFirstChild(gPlayers.LocalPlayer.Name.."Membership") then
  8342. local mTemplate = gPlayers.LocalPlayer.PlayerGui.Player1Membership
  8343. mTemplate.Name = gPlayers.LocalPlayer.Name.."Membership"
  8344. mTemplate.Parent = game.ReplicatedStorage
  8345. end
  8346.  
  8347. function getMyPlayerArea()
  8348. for i,v in pairs(game.Workspace.BuildingAreas:GetChildren()) do
  8349. if v.Player.Value == player.Name then
  8350. return v.PlayerArea
  8351. end
  8352. end
  8353. end
  8354.  
  8355. local whitelistedParts = {
  8356. ["DamagePart"] = true,
  8357. ["Explosion"] = true,
  8358. ["Explosion2"] = true,
  8359. ["SuperExplosion"] = true,
  8360. }
  8361.  
  8362. workspace.DescendantAdded:connect(function(desc)
  8363. if desc:IsA("Script") and desc:IsDescendantOf(gPlayers.LocalPlayer.Character) then
  8364. newCESS(desc)
  8365. elseif whitelistedParts[desc.Parent.Name] and desc:IsA("Script") then
  8366. newCESS(desc)
  8367. elseif desc:IsA("BodyGyro") then
  8368. desc:GetPropertyChangedSignal("MaxTorque"):Connect(function()
  8369. desc.MaxTorque = Vector3.new(100000,100000,100000)
  8370. end)
  8371. --elseif desc:IsA("BodyPosition") then
  8372. -- desc:GetPropertyChangedSignal("MaxForce"):Connect(function()
  8373. -- desc.MaxForce = Vector3.new(10000,10000,10000)
  8374. -- end)
  8375. end
  8376. end)
  8377.  
  8378. player.Character.Humanoid.MaxHealth = (100+(player.leaderstats1.Level.Value*25))
  8379. player.Character.Humanoid.Health = player.Character.Humanoid.MaxHealth
  8380. player.PlayerGui.HealthGui.MaxMana.Value = (150+(player.leaderstats1.Level.Value*25))
  8381. player.PlayerGui.HealthGui.MaxXP.Value = (player.leaderstats1.Level.Value*50)
  8382. player.PlayerGui.HealthGui.Mana.Value = player.PlayerGui.HealthGui.MaxMana.Value
  8383.  
  8384. wait(1)
  8385.  
  8386. local player = gPlayers.LocalPlayer
  8387.  
  8388. local arcList = player.PlayerGui.ChangeArc.Stuff.ScrollingFrame
  8389. local arcTemplate = player.PlayerGui.ChangeArc.Stuff.ChangeTemplate
  8390.  
  8391. local arcToggler = player.PlayerGui.ChangeArc.ArcToggler.Toggle
  8392. local arcMoves = player.PlayerGui.ChangeArc.ArcMoves
  8393. local arcMovesList = arcMoves.ScrollingFrame
  8394. local moveTemplate = player.PlayerGui.ChangeArc.MoveTemplate
  8395.  
  8396. local arcs = {}
  8397.  
  8398. local currentArc = ""
  8399.  
  8400. function getMove(root)
  8401. for i,v in pairs(root:GetChildren()) do
  8402. if v.Name ~= "Requirement" then
  8403. return v
  8404. end
  8405. end
  8406. return nil
  8407. end
  8408.  
  8409. for i,v in pairs(fakeLighting.SkillFrames:GetChildren()) do
  8410. table.insert(arcs,v)
  8411. end
  8412.  
  8413. for i,v in pairs(fakeLighting.Customs:GetChildren()) do
  8414. table.insert(arcs,v)
  8415. end
  8416.  
  8417. for i,v in pairs(arcs) do
  8418. local newTemplate = arcTemplate:Clone()
  8419. newTemplate.ArcName.Text = v.Name
  8420. newTemplate.Change.MouseButton1Down:connect(function()
  8421. currentArc = v.Name
  8422. arcToggler.Parent.Visible = true
  8423. if fakeLighting.SkillFrames:FindFirstChild(currentArc) then
  8424. arcMovesList:ClearAllChildren()
  8425. arcToggler.Text = currentArc
  8426. arcMoves.Title.Text = currentArc .. " Arc"
  8427. for i5,v5 in pairs(fakeLighting.SkillFrames:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  8428. local myMove = getMove(v5.Learn)
  8429. if myMove ~= nil then
  8430. local newTemplate = moveTemplate:Clone()
  8431. newTemplate.Attack.Text = v5.Name
  8432. newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8433. newTemplate.Parent = arcMovesList
  8434. arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8435. newTemplate.Learn.MouseButton1Down:connect(function()
  8436. local learnMove = myMove:Clone()
  8437. learnMove.Parent = player.Backpack
  8438. if learnMove:IsA("LocalScript") then
  8439. learnMove.Disabled = false
  8440. newTemplate.Learn.Text = "Activated"
  8441. newCESS(learnMove)
  8442. else
  8443. newTemplate.Learn.Text = "Learned"
  8444. newCESS(learnMove.LocalScript)
  8445. end
  8446. wait(5)
  8447. newTemplate.Learn.Text = "Learn"
  8448. end)
  8449. newTemplate.Visible = true
  8450. end
  8451. end
  8452. end
  8453. if fakeLighting.Customs:FindFirstChild(currentArc) then
  8454. arcMovesList:ClearAllChildren()
  8455. arcToggler.Text = currentArc
  8456. arcMoves.Title.Text = currentArc .. " Arc"
  8457. for i,v in pairs(fakeLighting.Customs:FindFirstChild(currentArc).Stuff.ScrollingFrame:GetChildren()) do
  8458. local myMove = getMove(v.Learn)
  8459. if myMove ~= nil then
  8460. local newTemplate = moveTemplate:Clone()
  8461. newTemplate.Attack.Text = v.Name
  8462. newTemplate.Position = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8463. newTemplate.Parent = arcMovesList
  8464. arcMovesList.CanvasSize = UDim2.new(0,0,0,#arcMovesList:GetChildren()*47+5)
  8465. newTemplate.Learn.MouseButton1Down:connect(function()
  8466. local learnMove = myMove:Clone()
  8467. learnMove.Parent = player.Backpack
  8468. if learnMove:IsA("LocalScript") then
  8469. learnMove.Disabled = false
  8470. newTemplate.Learn.Text = "Activated"
  8471. newCESS(learnMove)
  8472. else
  8473. newTemplate.Learn.Text = "Learned"
  8474. newCESS(learnMove.LocalScript)
  8475. end
  8476. wait(5)
  8477. newTemplate.Learn.Text = "Learn"
  8478. end)
  8479. newTemplate.Visible = true
  8480. end
  8481. end
  8482. end
  8483. end)
  8484. newTemplate.Position = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8485. newTemplate.Visible = true
  8486. newTemplate.Parent = arcList
  8487. arcList.CanvasSize = UDim2.new(0,0,0,#arcList:GetChildren()*47+5)
  8488. end
  8489.  
  8490. Open = false
  8491. MouseClick = function()
  8492. if Open == false then
  8493. Open = true
  8494. player.PlayerGui.ChangeArc.Stuff.Visible = true
  8495. else
  8496. if Open == true then
  8497. Open = false
  8498. player.PlayerGui.ChangeArc.Stuff.Visible = false
  8499. end
  8500. end
  8501. end
  8502.  
  8503. player.PlayerGui.ChangeArc.Frame.Toggle.MouseButton1Down:connect(MouseClick)
  8504.  
  8505. Open2 = false
  8506. MouseClick2 = function()
  8507. if Open2 == false then
  8508. Open2 = true
  8509. arcMoves.Visible = true
  8510. else
  8511. if Open2 == true then
  8512. Open2 = false
  8513. arcMoves.Visible = false
  8514. end
  8515. end
  8516. end
  8517.  
  8518. arcToggler.MouseButton1Down:connect(MouseClick2)
  8519.  
  8520. newCESS(player.PlayerGui.ArcMusicPlayer["Music Player Module"])
  8521.  
  8522. for i,v in pairs(player.PlayerGui.HealthGui:GetDescendants()) do
  8523. if v:IsA("Script") then
  8524. newCESS(v)
  8525. end
  8526. end
  8527. end
  8528. end
  8529. end)
  8530.  
  8531. addcmd('unduck','makes player back to normal',{},
  8532. function(args, speaker)
  8533. local players = getPlayer(args[1], speaker)
  8534. for i,v in pairs(players)do
  8535. refresh(gPlayers[v])
  8536. end
  8537. end)
  8538.  
  8539. addcmd('mesh','makes a player into a mesh',{},
  8540. function(args, speaker)
  8541. local players = getPlayer(args[1], speaker)
  8542. for i,v in pairs(players)do
  8543. local pchar = gPlayers[v].Character
  8544. for i,v in pairs(pchar.Torso:GetChildren()) do
  8545. if v:IsA("Decal") then
  8546. v:Destroy()
  8547. end
  8548. end
  8549. for i,v in pairs(pchar:GetChildren()) do
  8550. if v:IsA("Accessory") then
  8551. v:Destroy()
  8552. end
  8553. end
  8554. pchar.Head.Transparency = 1
  8555. pchar["Left Arm"].Transparency = 1
  8556. pchar["Right Arm"].Transparency = 1
  8557. pchar["Left Leg"].Transparency = 1
  8558. pchar["Right Leg"].Transparency = 1
  8559. pchar.Head.face.Transparency = 1
  8560. local msh = Instance.new("SpecialMesh", pchar.Torso)
  8561. msh.MeshType = "FileMesh"
  8562. msh.Scale = Vector3.new(3, 3, 3)
  8563. msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
  8564. msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
  8565. msh.Scale = Vector3.new(3, 3, 3)
  8566. end
  8567. end)
  8568.  
  8569. addcmd('disable','removes players humanoid',{},
  8570. function(args, speaker)
  8571. local players = getPlayer(args[1], speaker)
  8572. for i,v in pairs(players)do
  8573. local pchar = gPlayers[v].Character
  8574. if pchar:FindFirstChild("Humanoid") then
  8575. pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  8576. local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  8577. humanoid.Parent = game.ContextActionService
  8578. if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
  8579. Notify('Disabled player(s)') end
  8580. end end end)
  8581.  
  8582. addcmd('enable','gives player humanoid',{},
  8583. function(args, speaker)
  8584. local players = getPlayer(args[1], speaker)
  8585. for i,v in pairs(players)do
  8586. local pchar = gPlayers[v].Character
  8587. if pchar:FindFirstChild("Humanoid") then
  8588. return
  8589. else
  8590. local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  8591. humanoid.Parent = pchar
  8592. humanoid.Name = "Humanoid"
  8593. if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
  8594. Notify('Enabled player(s)') end
  8595. end end end)
  8596.  
  8597. addcmd('size','changes size of player',{},
  8598. function(args, speaker)
  8599. local players = getPlayer(args[1], speaker)
  8600. for i,v in pairs(players)do
  8601. local pchar = gPlayers[v].Character
  8602. local function scale(chr,scl)
  8603. for _,v in pairs(pchar:GetChildren()) do
  8604. if v:IsA("Accessory") then
  8605. v:Clone()
  8606. v.Parent = LightingService
  8607. end end
  8608. local Head = chr['Head']
  8609. local Torso = chr['Torso']
  8610. local LA = chr['Left Arm']
  8611. local RA = chr['Right Arm']
  8612. local LL = chr['Left Leg']
  8613. local RL = chr['Right Leg']
  8614. local HRP = chr['HumanoidRootPart']
  8615. wait(0.1)
  8616. Head.formFactor = 3
  8617. Torso.formFactor = 3
  8618. LA.formFactor = 3
  8619. RA.formFactor = 3
  8620. LL.formFactor = 3
  8621. RL.formFactor = 3
  8622. HRP.formFactor = 3
  8623. Head.Size = Vector3.new(scl * 2, scl, scl)
  8624. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  8625. LA.Size = Vector3.new(scl, scl * 2, scl)
  8626. RA.Size = Vector3.new(scl, scl * 2, scl)
  8627. LL.Size = Vector3.new(scl, scl * 2, scl)
  8628. RL.Size = Vector3.new(scl, scl * 2, scl)
  8629. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  8630. local Motor1 = Instance.new('Motor6D', Torso)
  8631. Motor1.Part0 = Torso
  8632. Motor1.Part1 = Head
  8633. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  8634. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  8635. Motor1.Name = "Neck"
  8636. local Motor2 = Instance.new('Motor6D', Torso)
  8637. Motor2.Part0 = Torso
  8638. Motor2.Part1 = LA
  8639. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8640. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8641. Motor2.Name = "Left Shoulder"
  8642. local Motor3 = Instance.new('Motor6D', Torso)
  8643. Motor3.Part0 = Torso
  8644. Motor3.Part1 = RA
  8645. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8646. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8647. Motor3.Name = "Right Shoulder"
  8648. local Motor4 = Instance.new('Motor6D', Torso)
  8649. Motor4.Part0 = Torso
  8650. Motor4.Part1 = LL
  8651. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8652. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  8653. Motor4.Name = "Left Hip"
  8654. local Motor5 = Instance.new('Motor6D', Torso)
  8655. Motor5.Part0 = Torso
  8656. Motor5.Part1 = RL
  8657. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8658. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  8659. Motor5.Name = "Right Hip"
  8660. local Motor6 = Instance.new('Motor6D', HRP)
  8661. Motor6.Part0 = HRP
  8662. Motor6.Part1 = Torso
  8663. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  8664. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end
  8665. scale(pchar, args[2])
  8666. for _,v in pairs(LightingService:GetChildren()) do
  8667. if v:IsA("Accessory") then
  8668. v.Parent = pchar
  8669. end end end end)
  8670.  
  8671. addcmd('clone','clones player',{},
  8672. function(args, speaker)
  8673. local players = getPlayer(args[1], speaker)
  8674. for i,v in pairs(players)do
  8675. local pchar = gPlayers[v].Character
  8676. pchar.Archivable = true
  8677. local clone = pchar:Clone()
  8678. clone.Parent = workspace
  8679. clone:MoveTo(pchar:GetModelCFrame().p)
  8680. clone:MakeJoints()
  8681. pchar.Archivable = false
  8682. end
  8683. end)
  8684.  
  8685. addcmd('spin','spins player',{},
  8686. function(args, speaker)
  8687. local players = getPlayer(args[1], speaker)
  8688. for i,v in pairs(players)do
  8689. spawn(function()
  8690. local pchar = gPlayers[v].Character
  8691. for i,v in pairs(pchar.Torso:GetChildren()) do
  8692. if v.Name == "Spinning" then
  8693. v:Destroy()
  8694. end
  8695. end
  8696. local Torso = pchar.Torso
  8697. local BG = Instance.new("BodyGyro", Torso)
  8698. BG.Name = "Spinning"
  8699. BG.maxTorque = Vector3.new(0, math.huge, 0)
  8700. BG.P = 11111
  8701. BG.cframe = Torso.CFrame
  8702. repeat wait(1/44)
  8703. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  8704. until not BG or BG.Parent ~= Torso
  8705. end)
  8706. end
  8707. end)
  8708.  
  8709. addcmd('unspin','stops spinning player',{},
  8710. function(args, speaker)
  8711. local players = getPlayer(args[1], speaker)
  8712. for i,v in pairs(players)do
  8713. local pchar = gPlayers[v].Character
  8714. for i,v in pairs(pchar.Torso:GetChildren()) do
  8715. if v.Name == "Spinning" then
  8716. v:Destroy()
  8717. end
  8718. end
  8719. end
  8720. end)
  8721.  
  8722. addcmd('dog','makes player a dog',{},
  8723. function(args, speaker)
  8724. local players = getPlayer(args[1], speaker)
  8725. for i,v in pairs(players)do
  8726. local pchar = gPlayers[v].Character
  8727. if pchar:FindFirstChild("Shirt") then
  8728. pchar.Shirt:Destroy()
  8729. end
  8730. if pchar:FindFirstChild("Pants") then
  8731. pchar.Pants:Destroy()
  8732. end
  8733. if pchar:FindFirstChild("Shirt Graphic") then
  8734. pchar["Shirt Graphic"].Graphic = ""
  8735. end
  8736. pchar.Torso.Transparency = 1
  8737. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8738. pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  8739. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  8740. pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  8741. pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  8742. local FakeTorso = Instance.new("Seat", pchar)
  8743. FakeTorso.Name = "FakeTorso"
  8744. FakeTorso.FormFactor = "Symmetric"
  8745. FakeTorso.TopSurface = 0
  8746. FakeTorso.BottomSurface = 0
  8747. FakeTorso.Size = Vector3.new(3,1,4)
  8748. FakeTorso.BrickColor = BrickColor.new("Brown")
  8749. FakeTorso.CFrame = pchar.Torso.CFrame
  8750. local BF = Instance.new("BodyForce", FakeTorso)
  8751. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  8752. local W = Instance.new("Weld", pchar.Torso)
  8753. W.Part0 = pchar.Torso
  8754. W.Part1 = FakeTorso
  8755. W.C0 = CFrame.new(0,-.5,0)
  8756. local BC = pchar["Body Colors"]
  8757. BC.HeadColor = BrickColor.new("Brown")
  8758. BC.LeftArmColor = BrickColor.new("Brown")
  8759. BC.LeftLegColor = BrickColor.new("Brown")
  8760. BC.RightArmColor = BrickColor.new("Brown")
  8761. BC.RightLegColor = BrickColor.new("Brown")
  8762. BC.TorsoColor = BrickColor.new("Brown")
  8763. end
  8764. end)
  8765.  
  8766. addcmd('undog','makes player back to normal',{},
  8767. function(args, speaker)
  8768. local players = getPlayer(args[1], speaker)
  8769. for i,v in pairs(players)do
  8770. refresh(gPlayers[v])
  8771. end
  8772. end)
  8773.  
  8774. addcmd('loopheal','loop heals player',{},
  8775. function(args, speaker)
  8776. local players = getPlayer(args[1], speaker)
  8777. for i,v in pairs(players)do
  8778. spawn(function()
  8779. local pchar = gPlayers[v].Character
  8780. if pchar:FindFirstChild("LoopHeal") then
  8781. pchar.LoopHeal.Name = "NotLoopHeal"
  8782. wait(0.1)
  8783. pchar.NotLoopHeal:Destroy()
  8784. end
  8785. local LoopHeal = Instance.new("StringValue", pchar)
  8786. LoopHeal.Name = "LoopHeal"
  8787. repeat wait(0.1)
  8788. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  8789. until LoopHeal.Name == "NotLoopHeal"
  8790. end)
  8791. end
  8792. end)
  8793.  
  8794. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  8795. function(args, speaker)
  8796. local players = getPlayer(args[1], speaker)
  8797. for i,v in pairs(players)do
  8798. local pchar = gPlayers[v].Character
  8799. if pchar:FindFirstChild("LoopHeal") then
  8800. pchar.LoopHeal.Name = "NotLoopHeal"
  8801. wait(0.1)
  8802. pchar.NotLoopHeal:Destroy()
  8803. end
  8804. end
  8805. end)
  8806.  
  8807. addcmd('fling','flings player',{},
  8808. function(args, speaker)
  8809. local players = getPlayer(args[1], speaker)
  8810. for i,v in pairs(players)do
  8811. local pchar = gPlayers[v].Character
  8812. if pchar:FindFirstChild("Humanoid") then
  8813. local xran
  8814. local zran
  8815. repeat
  8816. xran = math.random(-9999,9999)
  8817. until math.abs(xran) >= 5555
  8818. repeat
  8819. zran = math.random(-9999,9999)
  8820. until math.abs(zran) >= 5555
  8821. pchar.Humanoid.Sit = true
  8822. pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  8823. local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
  8824. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  8825. end
  8826. end
  8827. end)
  8828.  
  8829. addcmd('skydive','self explanatory',{},
  8830. function(args, speaker)
  8831. local players = getPlayer(args[1], speaker)
  8832. for i,v in pairs(players)do
  8833. local pchar = gPlayers[v].Character
  8834. if pchar:FindFirstChild("HumanoidRootPart") then
  8835. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame + Vector3.new(0,10000,0)
  8836. end
  8837. end
  8838. end)
  8839.  
  8840. addcmd('sparta','this is sparta',{},
  8841. function(args, speaker)
  8842. --credit adonis i just edited ;)
  8843. local user = getPlayer(args[1], speaker)
  8844. for i,player in pairs(user) do
  8845. local torso = player.Character:FindFirstChild('HumanoidRootPart')
  8846. if torso then
  8847. local hole = Instance.new("Part",player.Character)
  8848. hole.Anchored = true
  8849. hole.CanCollide = false
  8850. hole.formFactor = Enum.FormFactor.Custom
  8851. hole.Size = Vector3.new(10,1,10)
  8852. hole.CFrame = torso.CFrame * CFrame.new(0,-3.3,-3)
  8853. hole.BrickColor = BrickColor.new("Really black")
  8854. local holeM = Instance.new("CylinderMesh",hole)
  8855. torso.Anchored = true
  8856. local sound = Instance.new("Sound", hole)
  8857. sound.SoundId = "rbxassetid://130781067"
  8858. sound.Volume = 3
  8859. sound:Play()
  8860. local foot = torso.CFrame * CFrame.new(0,-3,0)
  8861. for i=1,10 do
  8862. torso.CFrame = foot * CFrame.fromEulerAnglesXYZ(-(math.pi/2)*i/10,0,0) * CFrame.new(0,3,0)
  8863. wait(0.1)
  8864. end
  8865. for i=1,5,0.2 do
  8866. torso.CFrame = foot * CFrame.new(0,-(i^2),0) * CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) * CFrame.new(0,3,0)
  8867. wait()
  8868. end
  8869. player.Character:BreakJoints()
  8870. wait(2)
  8871. sound:Destroy()
  8872. end
  8873. end
  8874. end)
  8875.  
  8876. addcmd('bleach','drink bleach',{''},
  8877. function(args, speaker)
  8878. local players = getPlayer(args[1], speaker)
  8879. for i,v in pairs(players)do
  8880. bleach(gPlayers[v])
  8881. end
  8882. end)
  8883.  
  8884. addcmd('seizure','makes player have a seizure',{''},
  8885. function(args, speaker)
  8886. local players = getPlayer(args[1], speaker)
  8887. for i,v in pairs(players)do
  8888. local pchar = gPlayers[v].Character
  8889. if pchar:FindFirstChild("Seizure") then
  8890.  
  8891. end
  8892. local Seizure = Instance.new("StringValue", pchar)
  8893. Seizure.Name = "Seizure"
  8894. pchar.Humanoid.PlatformStand = true
  8895. repeat wait()
  8896. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  8897. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  8898. until Seizure.Name == "NotSeizure"
  8899. end
  8900. end)
  8901.  
  8902. addcmd('fegod','gods you in fe games',{''},
  8903. function(args, speaker)
  8904. if speaker.userId ~= LP.userId then
  8905. lponly(speaker)
  8906. else
  8907. gPlayers.LocalPlayer.Character.Humanoid.Name = 1
  8908. local l = gPlayers.LocalPlayer.Character["1"]:Clone()
  8909. l.Parent = gPlayers.LocalPlayer.Character
  8910. l.Name = "Humanoid"
  8911. wait(0.1)
  8912. gPlayers.LocalPlayer.Character["1"]:Destroy()
  8913. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  8914. gPlayers.LocalPlayer.Character.Animate.Disabled = true
  8915. wait(0.1)
  8916. gPlayers.LocalPlayer.Character.Animate.Disabled = false
  8917. gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  8918. end
  8919. end)
  8920.  
  8921. addcmd('unseizure','makes player stop having a seizure',{''},
  8922. function(args, speaker)
  8923. local players = getPlayer(args[1], speaker)
  8924. for i,v in pairs(players)do
  8925. local pchar = gPlayers[v].Character
  8926. if pchar:FindFirstChild("Seizure") then
  8927. pchar.Humanoid.PlatformStand = false
  8928. pchar.Seizure.Name = "NotSeizure"
  8929. wait(0.1)
  8930. pchar.NotSeizure:Destroy()
  8931. end
  8932. end
  8933. end)
  8934.  
  8935. addcmd('m','makes a global message',{'message'},
  8936. function(args, speaker)
  8937. local MSG = '['..speaker.Name..']: '..GLS(false, 0)
  8938. local newMSG = '['..speaker.Name..']: '..GLS(false, 0)
  8939. _G.msg(MSG)
  8940. end)
  8941.  
  8942. addcmd('sm','makes a global message',{'servermessage'},
  8943. function(args, speaker)
  8944. local MSG = GLS(false, 0)
  8945. local newMSG = GLS(false, 0)
  8946. _G.msg(MSG)
  8947. end)
  8948.  
  8949. addcmd('fe','checks filtering status',{'filtering'},
  8950. function(args, speaker)
  8951. if workspace.FilteringEnabled == true then
  8952. Notify('Filtering ENABLED')
  8953. elseif workspace.FilteringEnabled == false then
  8954. Notify('Filtering Disabled')
  8955. end
  8956. end)
  8957.  
  8958. addcmd('paper','makes player thin as paper',{''},
  8959. function(args, speaker)
  8960. local players = getPlayer(args[1], speaker)
  8961. for i,v in pairs(players)do
  8962. local pchar = gPlayers[v].Character
  8963. for _, child in pairs( pchar:GetChildren()) do
  8964. if child.ClassName == "CharacterMesh" then
  8965. child:Destroy()
  8966. end
  8967. end
  8968. local LA = DATA.Paper:Clone()
  8969. LA.Parent = pchar["Left Arm"]
  8970. local RA = DATA.Paper:Clone()
  8971. RA.Parent = pchar["Right Arm"]
  8972. local LL = DATA.Paper:Clone()
  8973. LL.Parent = pchar["Left Leg"]
  8974. local RL = DATA.Paper:Clone()
  8975. RL.Parent = pchar["Right Leg"]
  8976. local T = DATA.Paper:Clone()
  8977. T.Parent = pchar.Torso
  8978. local H = DATA.Paper:Clone()
  8979. H.Parent = pchar.Head
  8980. pchar.Head.face:Destroy()
  8981. end
  8982. end)
  8983.  
  8984. addcmd('particles','gives a player particles',{''},
  8985. function(args, speaker)
  8986. local players = getPlayer(args[1], speaker)
  8987. for i,v in pairs(players)do
  8988. local char = gPlayers[v].Character
  8989. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  8990. if v:IsA('ParticleEmitter') then
  8991. v:destroy()
  8992. end
  8993. end
  8994. local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
  8995. prt.Texture = 'rbxassetid://' .. args[2]
  8996. prt.Rate = 10
  8997. prt.SpreadAngle = Vector2.new(50, 50)
  8998. end
  8999. end)
  9000.  
  9001. addcmd('unparticles','gives a player particles',{'noparticles'},
  9002. function(args, speaker)
  9003. local players = getPlayer(args[1], speaker)
  9004. for i,v in pairs(players)do
  9005. local char = gPlayers[v].Character
  9006. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  9007. if v:IsA('ParticleEmitter') then
  9008. v:destroy()
  9009. end
  9010. end
  9011. end
  9012. end)
  9013.  
  9014. blindT = {}
  9015. addcmd('blind','blinds a player',{},
  9016. function(args, speaker)
  9017. local players = getPlayer(args[1], speaker)
  9018. for i,v in pairs(players)do
  9019. spawn(function()
  9020. if FindTable(blindT, _players[v].Name) then return end
  9021. local blind = gPlayers[v].Name
  9022. local victim = gPlayers:FindFirstChild(blind)
  9023. if victim ~= nil then
  9024. victim.CameraMaxZoomDistance = 0.5
  9025. blnd = Instance.new("Part",workspace)
  9026. blnd.Name = "IYblind" .. gPlayers[v].Name
  9027. blnd.Size = Vector3.new(1,1,1)
  9028. blnd.CanCollide = false
  9029. blnd.BrickColor = BrickColor.new("Really black")
  9030. blnd.Material = "Neon"
  9031. local m = Instance.new("SpecialMesh",blnd)
  9032. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  9033. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  9034. local w = Instance.new("Weld",blnd)
  9035. w.Part0 = blnd
  9036. w.Part1 = victim.Character.Head
  9037. if FindTable(blindT, _players[v].Name) then return end
  9038. table.insert(blindT, _players[v].Name)
  9039. repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then
  9040. local blind = gPlayers[v].Name
  9041. local victim = gPlayers:FindFirstChild(blind)
  9042. if victim ~= nil then
  9043. victim.CameraMaxZoomDistance = 0.5
  9044. blnd = Instance.new("Part",workspace)
  9045. blnd.Name = "IYblind" .. gPlayers[v].Name
  9046. blnd.Size = Vector3.new(1,1,1)
  9047. blnd.CanCollide = false
  9048. blnd.BrickColor = BrickColor.new("Really black")
  9049. blnd.Material = "Neon"
  9050. local m = Instance.new("SpecialMesh",blnd)
  9051. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  9052. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  9053. local w = Instance.new("Weld",blnd)
  9054. w.Part0 = blnd
  9055. w.Part1 = victim.Character.Head
  9056. end end wait(1)
  9057. until not FindTable(blindT, _players[v].Name)
  9058. end end) end end)
  9059.  
  9060. addcmd('unblind','blinds a player',{'noblind'},
  9061. function(args, speaker)
  9062. local players = getPlayer(args[1], speaker)
  9063. for i,v in pairs(players)do
  9064. spawn(function()
  9065. for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end
  9066. local blind = gPlayers[v].Name
  9067. local victim = gPlayers:FindFirstChild(blind)
  9068. if victim ~= nil then
  9069. victim.CameraMaxZoomDistance = 400 wait(0.5)
  9070. for _, child in pairs( workspace:GetChildren()) do
  9071. if child.Name == "IYblind" .. gPlayers[v].Name then
  9072. child:Destroy()
  9073. end end end end) end end)
  9074.  
  9075. addcmd('punish','punishs player',{''},
  9076. function(args, speaker)
  9077. local players = getPlayer(args[1], speaker)
  9078. for i,v in pairs(players)do
  9079. local pchar = gPlayers[v].Character
  9080. pchar.Parent = LightingService
  9081. end
  9082. end)
  9083.  
  9084. addcmd('unpunish','unpunishs player',{''},
  9085. function(args, speaker)
  9086. local players = getPlayer(args[1], speaker)
  9087. for i,v in pairs(players)do
  9088. if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
  9089. LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
  9090. end
  9091. end
  9092. end)
  9093.  
  9094. local starmanPlayers = {}
  9095. local starmanLastColor = nil
  9096. local starmanEvents = {}
  9097.  
  9098. addcmd("starman","Turns [plr] into starman",{},
  9099. function(args,speaker)
  9100. local function starman(plr)
  9101. local char = plr.Character
  9102. local lastColor = ""
  9103. local newColor = ""
  9104.  
  9105. local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
  9106. powerupSound.Name = "PowerUp"
  9107. powerupSound.Volume = 10
  9108. powerupSound.SoundId = "rbxassetid://182755256"
  9109. wait()
  9110. powerupSound:Play()
  9111.  
  9112. game:GetService("Debris"):AddItem(powerupSound,2)
  9113.  
  9114. while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
  9115.  
  9116. local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
  9117. starmanMusic.Name = "Starman"
  9118. starmanMusic.Volume = 1
  9119. starmanMusic.Looped = true
  9120. starmanMusic.SoundId = "rbxassetid://530596723"
  9121. wait()
  9122. starmanMusic:Play()
  9123.  
  9124. if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
  9125. if char:FindFirstChild("Pants") then char.Pants:Destroy() end
  9126.  
  9127. char.Humanoid.WalkSpeed = 32
  9128. char.Humanoid.MaxHealth = math.huge
  9129. char.Humanoid.Health = math.huge
  9130.  
  9131. local invisff = Instance.new("ForceField", char)
  9132. invisff.Visible = false invisff.Name = 'smff'
  9133.  
  9134. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
  9135.  
  9136. local light = Instance.new("PointLight",char.HumanoidRootPart)
  9137. light.Name = "StarmanFlash"
  9138. light.Brightness = 100
  9139. light.Range = 20
  9140. light.Shadows = true
  9141.  
  9142. local function stardestroy(part)
  9143. if part.Parent:FindFirstChild("Humanoid") and part.Parent ~= char then
  9144. for i,v in pairs(part.Parent:GetChildren()) do
  9145. if v:IsA("BasePart") then
  9146. local force = Instance.new("BodyForce",v)
  9147. force.Force = char.HumanoidRootPart.CFrame.lookVector * 50
  9148. v:BreakJoints()
  9149. end
  9150. end
  9151.  
  9152. local tadaas = {}
  9153.  
  9154. for i = 1,1 do
  9155. local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
  9156. tadaa.Volume = 10
  9157. tadaa.SoundId = "rbxassetid://551195499"
  9158. table.insert(tadaas,tadaa)
  9159. end
  9160.  
  9161. wait()
  9162.  
  9163. for i,v in pairs(tadaas) do
  9164. v:Play()
  9165. end
  9166. end
  9167. end
  9168.  
  9169. local events = {}
  9170. for i,v in pairs(char:GetChildren()) do
  9171. if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
  9172. end
  9173. if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end
  9174. starmanEvents[plr.Name] = events
  9175. starmanPlayers[plr.Name] = char
  9176. end
  9177.  
  9178. for _,plr in pairs(getPlayer(args[1], speaker)) do
  9179. spawn(function()starman(gPlayers[plr])end)
  9180. end
  9181. end)
  9182.  
  9183. addcmd("unstarman","Removes starman from [plr]",{},
  9184. function(args,speaker)
  9185. for _,plr in pairs(getPlayer(args[1], speaker)) do
  9186. pcall(function()
  9187. if starmanPlayers[plr] then starmanPlayers[plr] = nil end
  9188. if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end
  9189. local char = gPlayers[plr].Character
  9190. while char.HumanoidRootPart:FindFirstChild("Starman") do
  9191. char.HumanoidRootPart.Starman:Destroy()
  9192. end
  9193. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
  9194. char.HumanoidRootPart.StarmanFlash:Destroy()
  9195. end
  9196. while char.HumanoidRootPart:FindFirstChild("smff") do
  9197. char.HumanoidRootPart.smff:Destroy()
  9198. end
  9199. end)
  9200. end
  9201. end)
  9202.  
  9203. local Timers = {}
  9204. function checkTimer(n,t,res)
  9205. if not Timers[n] then Timers[n] = 0 end
  9206.  
  9207. if tick() >= Timers[n] + t then
  9208. if res then Timers[n] = tick() end
  9209. return true
  9210. else
  9211. return false
  9212. end
  9213. end
  9214.  
  9215. function nonEmpty(t)
  9216. for i,v in pairs(t) do
  9217. return true
  9218. end
  9219. return false
  9220. end
  9221.  
  9222. game:GetService("RunService").RenderStepped:Connect(function()
  9223. if nonEmpty(starmanPlayers) then
  9224. if checkTimer("Starman",0.05,true) then
  9225. for name,plrchar in pairs(starmanPlayers) do
  9226. ypcall(function()
  9227. local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
  9228. if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end
  9229.  
  9230. local plr = gPlayers:FindFirstChild(name)
  9231.  
  9232. if plr then
  9233. local char = plrchar
  9234. local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
  9235.  
  9236. local meshMap = {}
  9237.  
  9238. for i,v in pairs(char:GetChildren()) do
  9239. if v:IsA("CharacterMesh") then
  9240. if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end
  9241. if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end
  9242. if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end
  9243. if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end
  9244. if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end
  9245. end
  9246. end
  9247.  
  9248. if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
  9249.  
  9250. if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end
  9251. local newColor = BrickColor.new(colors[math.random(1,#colors)])
  9252. while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end
  9253. starmanLastColor = newColor
  9254. for i,v in pairs(char:GetChildren()) do
  9255. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  9256. v.BrickColor = newColor
  9257. local fade = v:Clone()
  9258. if meshMap[v.Name] then
  9259. local newMesh = Instance.new("SpecialMesh",fade)
  9260. newMesh.MeshId = meshMap[v.Name]
  9261. end
  9262. fade.Name = "StarFade"
  9263. fade.Anchored = true
  9264. fade.CanCollide = false
  9265. 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
  9266. fade.Parent = workspace.Terrain
  9267. game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
  9268. game:GetService("Debris"):AddItem(fade,0.5)
  9269. end
  9270. end
  9271. light.Color = newColor.Color
  9272. end
  9273. end)
  9274. end
  9275. end
  9276. end
  9277. end)
  9278.  
  9279. addcmd("tppos","Teleports a player to a coordinate",{},
  9280. function(args,speaker)
  9281. if #args < 4 then return end
  9282. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  9283. for _,plr in pairs(getPlayer(args[1], speaker)) do
  9284. local char = gPlayers[plr].Character
  9285. if char and char:FindFirstChild("HumanoidRootPart") then
  9286. char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
  9287. end
  9288. end
  9289. end)
  9290.  
  9291. addcmd("offset","Offsets a player by a coordinate",{},
  9292. function(args,speaker)
  9293. if #args < 4 then return end
  9294. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  9295. for _,plr in pairs(getPlayer(args[1], speaker)) do
  9296. local char = gPlayers[plr].Character
  9297. if char and char:FindFirstChild("HumanoidRootPart") then
  9298. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
  9299. end
  9300. end
  9301. end)
  9302.  
  9303. addcmd('bait',';)',{'troll'},
  9304. function(args, speaker)
  9305. spawn(function()
  9306. local M = Instance.new('Model', workspace) M.Name = 'IYbait'
  9307. 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)
  9308. y = Instance.new("BillboardGui")
  9309. y.Size = UDim2.new(0,100,0,150)
  9310. y.StudsOffset = Vector3.new(0,1,0)
  9311. y.Parent = P
  9312. y.Adornee = P
  9313. f = Instance.new("TextLabel")
  9314. f.Parent = y
  9315. f.BackgroundTransparency = 1
  9316. f.Position = UDim2.new(0,0,0,-50)
  9317. f.Size = UDim2.new(0,100,0,100)
  9318. f.Font = "Highway"
  9319. f.FontSize = "Size48"
  9320. f.Text = "Touch for admin!"
  9321. f.TextStrokeColor3 = Color3.new(0,0,0)
  9322. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  9323. f.TextStrokeTransparency = 0
  9324. f.TextYAlignment = "Bottom"
  9325. 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)
  9326. end)
  9327. end)
  9328.  
  9329. addcmd('removebait','clears bait parts',{'nobait'},
  9330. function(args, speaker)
  9331. local function dels(instance)
  9332. for i,v in pairs(instance:GetChildren())do
  9333. if v.name == "IYbait"then v:Destroy()end
  9334. dels(v)
  9335. end
  9336. end
  9337. dels(workspace)
  9338. end)
  9339.  
  9340. function CreateInstance(cls,props)
  9341. local inst = Instance.new(cls)
  9342. for i,v in pairs(props) do
  9343. inst[i] = v
  9344. end
  9345. return inst end
  9346. local function createSoundFrame()
  9347. 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)
  9348. 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
  9349. 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)
  9350. 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})
  9351. 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})
  9352. 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)
  9353. 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)
  9354. 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})
  9355. 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
  9356. 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
  9357. 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)
  9358. 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})
  9359. 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})
  9360. 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)
  9361. 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})
  9362. 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})
  9363. 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
  9364. 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)
  9365. return soundFrame end
  9366. local soundFrame = createSoundFrame()
  9367. soundFrame.Visible = true
  9368. local MusicPlayer do
  9369. MusicPlayer = {}
  9370. local playlist = {}
  9371. local currentSong = 1
  9372. local playlistHook = nil
  9373. --local soundFrame = script.Parent:WaitForChild("Sound")
  9374. local soundLine = soundFrame:WaitForChild("Pos")
  9375. local soundTouch = soundLine:WaitForChild("Touch")
  9376. local soundPlayStop = soundFrame:WaitForChild("PlayStop")
  9377. local soundPause = soundFrame:WaitForChild("Pause")
  9378. local soundNext = soundFrame:WaitForChild("NextSong")
  9379. local soundPrev = soundFrame:WaitForChild("PrevSong")
  9380. local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
  9381. local mouseDrag = false
  9382. local mouse = gPlayers.LocalPlayer:GetMouse()
  9383. local lineBar = soundFrame:WaitForChild("Pos")
  9384. adminSound = Instance.new("Sound",nil)
  9385. local function timeConvert(num)
  9386. local mins = math.floor(num/60)
  9387. local secs = math.floor(num % 60)
  9388. return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
  9389. end
  9390. local function updateSongLine()
  9391. local linePos = mouse.X - soundLine.AbsolutePosition.X
  9392. if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
  9393. local movePos = linePos/soundLine.AbsoluteSize.X
  9394. soundTouch.Position = UDim2.new(movePos,0,0,0)
  9395. elseif linePos < 0 then
  9396. soundTouch.Position = UDim2.new(0,0,0,0)
  9397. else
  9398. soundTouch.Position = UDim2.new(1,0,0,0)
  9399. end
  9400. local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
  9401. adminSound.TimePosition = newTimePos
  9402. soundFrame.TimeStart.Text = timeConvert(newTimePos)
  9403. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  9404. end
  9405. local function updateDetails(id)
  9406. local info = game:GetService("MarketplaceService"):GetProductInfo(id)
  9407. soundFrame.SName.Text = info.Name
  9408. end
  9409. local function setPlaylistHook()
  9410. if playlistHook then playlistHook:Disconnect() playlistHook = nil end
  9411. if #playlist == 0 then return end
  9412. playlistHook = adminSound.DidLoop:connect(function()
  9413. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  9414. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9415. MusicPlayer:Play(playlist[currentSong],true)
  9416. end)
  9417. end
  9418. local function disconnectPlaylistHook()
  9419. if playlistHook then playlistHook:disconnect() playlistHook = nil end
  9420. end
  9421. game:GetService("RunService").RenderStepped:Connect(function()
  9422. if adminSound.Playing then
  9423. soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
  9424. soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
  9425. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  9426. end
  9427. end)
  9428. lineBar.InputBegan:connect(function(input)
  9429. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  9430. mouseDrag = true
  9431. updateSongLine()
  9432. end
  9433. end)
  9434. lineBar.InputEnded:connect(function(input)
  9435. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  9436. mouseDrag = false
  9437. end
  9438. end)
  9439. mouse.Move:connect(function(prop)
  9440. if mouseDrag then
  9441. updateSongLine()
  9442. end
  9443. end)
  9444. function MusicPlayer:Play(id,plist)
  9445. if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
  9446. adminSound:Stop()
  9447. if adminSound.Parent == nil then
  9448. adminSound = Instance.new("Sound",workspace)
  9449. adminSound.Name = "IYsound"
  9450. adminSound.Looped = true
  9451. if plist then setPlaylistHook() end
  9452. end
  9453. adminSound.SoundId = "rbxassetid://"..tostring(id)
  9454. adminSound.TimePosition = 0
  9455. --repeat wait() until adminSound.IsLoaded
  9456. adminSound:Play()
  9457. soundPlayStop.BackgroundTransparency = 0
  9458. soundPlayStop.ImageTransparency = 1
  9459. updateDetails(id)
  9460. end
  9461. function MusicPlayer:Playlist(list)
  9462. playlist = list
  9463. soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
  9464. currentSong = 1
  9465. if adminSound.Parent == nil then
  9466. adminSound = Instance.new("Sound",workspace)
  9467. adminSound.Name = "IYsound"
  9468. adminSound.Looped = true
  9469. end
  9470. soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
  9471. MusicPlayer:Play(playlist[1],true)
  9472. setPlaylistHook()
  9473. end
  9474. function MusicPlayer:Stop()
  9475. adminSound:Stop()
  9476. adminSound.TimePosition = 0
  9477. soundTouch.Position = UDim2.new(0,0,0,0)
  9478. soundFrame.TimeStart.Text = "0:00"
  9479. soundPlayStop.BackgroundTransparency = 1
  9480. soundPlayStop.ImageTransparency = 0
  9481. end
  9482. function MusicPlayer:Pause()
  9483. adminSound:Pause()
  9484. soundPlayStop.BackgroundTransparency = 1
  9485. soundPlayStop.ImageTransparency = 0
  9486. end
  9487. function MusicPlayer:Resume()
  9488. adminSound:Resume()
  9489. soundPlayStop.BackgroundTransparency = 0
  9490. soundPlayStop.ImageTransparency = 1
  9491. setPlaylistHook()
  9492. end
  9493. function MusicPlayer:NextSong()
  9494. if #playlist == 0 then return end
  9495. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  9496. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9497. MusicPlayer:Play(playlist[currentSong],true)
  9498. end
  9499. function MusicPlayer:PrevSong()
  9500. if #playlist == 0 then return end
  9501. if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
  9502. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  9503. MusicPlayer:Play(playlist[currentSong],true)
  9504. end
  9505. function MusicPlayer:SetSong(ind)
  9506. if ind > #playlist or ind <= 0 then return end
  9507. soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
  9508. MusicPlayer:Play(playlist[ind],true)
  9509. end
  9510. playerenabled = false
  9511. function MusicPlayer:Show()
  9512. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  9513. end
  9514. function MusicPlayer:Hide()
  9515. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  9516. end
  9517. function colorFrames(obj,col)
  9518. for i,v in pairs(obj:GetChildren()) do
  9519. if v:IsA("ImageLabel") then
  9520. v.ImageColor3 = col
  9521. end
  9522. v.BackgroundColor3 = col
  9523. end
  9524. end
  9525. for i,v in pairs(soundButtons) do
  9526. v.MouseEnter:connect(function()
  9527. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
  9528. if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
  9529. v.BackgroundColor3 = Color3.new(1,1,1)
  9530. colorFrames(v,Color3.new(1,1,1))
  9531. end)
  9532. v.MouseLeave:connect(function()
  9533. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
  9534. if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
  9535. v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
  9536. colorFrames(v,Color3.new(230/255, 230/255, 230/255))
  9537. end)
  9538. end
  9539. soundPlayStop.MouseButton1Click:connect(function()
  9540. if adminSound.Playing then
  9541. MusicPlayer:Stop()
  9542. else
  9543. MusicPlayer:Resume()
  9544. end
  9545. end)
  9546. soundPause.MouseButton1Click:connect(function()
  9547. MusicPlayer:Pause()
  9548. end)
  9549. soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
  9550. soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
  9551. end
  9552. local testgui = Instance.new("ScreenGui",game.CoreGui)
  9553. soundFrame.Parent = testgui
  9554. addcmd('playlist','makes a noice playlist',{'ids','player'},
  9555. function(args, speaker)
  9556. playerenabled = true
  9557. if #args > 0 then
  9558. local function dels(instance)
  9559. for i,v in pairs(instance:GetChildren())do
  9560. if v:IsA'Sound'then v:Destroy()end
  9561. dels(v)
  9562. end
  9563. end
  9564. dels(workspace) wait(0.1)
  9565. if adminSound.Parent == nil then
  9566. adminSound = Instance.new("Sound",workspace)
  9567. adminSound.Name = "IYsound"
  9568. adminSound.Looped = true
  9569. end
  9570. local idlist = splitString(args[1])
  9571. local workingIds = {}
  9572. for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
  9573. if #workingIds > 0 then
  9574. playerenabled = true
  9575. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9576. MusicPlayer:Playlist(workingIds)
  9577. 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)
  9578. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9579. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9580. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9581. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end
  9582. 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)
  9583. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9584. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true
  9585. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9586. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end)
  9587. addcmd('sound', 'plays a sound',{'music','play'},
  9588. function(args, speaker)
  9589. if isNumber(args[1]) then
  9590. local function dels(instance)
  9591. for i,v in pairs(instance:GetChildren())do
  9592. if v:IsA'Sound'then v:Destroy()end
  9593. dels(v)
  9594. end
  9595. end
  9596. dels(workspace)
  9597. local c = args[1] or 'stop'
  9598. if std.inTable({'stop'}, c:lower()) then return end
  9599. local s = Instance.new("Sound", workspace)
  9600. s.Name = "IYsound"
  9601. s.Looped = true
  9602. s.SoundId = "rbxassetid://" .. c
  9603. s.Volume = 1
  9604. s:Play()
  9605. local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
  9606. playerenabled = false
  9607. Notify('Playing: '..Asset.Name..' ('..c..')')
  9608. else
  9609. local name = GLS(false, 0)
  9610. playerenabled = false
  9611. Notify('Stopped audio')
  9612. local function dels(instance)
  9613. for i,v in pairs(instance:GetChildren())do
  9614. if v:IsA'Sound'then v:Destroy()end
  9615. dels(v)
  9616. end
  9617. end
  9618. dels(workspace)
  9619. if args[1] ~= "stop" and args[1] ~= "off" then
  9620. local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
  9621. if song ~= "[]" then
  9622. local Sound = Instance.new("Sound", workspace)
  9623. Sound.Name = "IYsound"
  9624. song = song:sub(13)
  9625. song = song:sub(1, song:find(",") - 1)
  9626. Sound.SoundId = "rbxassetid://" .. song
  9627. Sound.Looped = true
  9628. Sound.Volume = 1
  9629. Sound:Play()
  9630. local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
  9631. Notify('Playing: '..Asset.Name ..' ('..song.. ')') end
  9632. end end end)
  9633. addcmd('setsong','goto a song',{'tosong'},
  9634. function(args, speaker)
  9635. MusicPlayer:SetSong(tonumber(args[1]))
  9636. end)
  9637. addcmd('nextsong','forward a song',{'nxtsong'},
  9638. function(args, speaker)
  9639. MusicPlayer:NextSong()
  9640. end)
  9641. addcmd('prevsong','back a song',{'previoussong'},
  9642. function(args, speaker)
  9643. MusicPlayer:PrevSong()
  9644. end)
  9645. addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
  9646. function(args, speaker)
  9647. playerenabled = false
  9648. MusicPlayer:Hide()
  9649. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  9650. end)
  9651.  
  9652. addcmd('disco','disco party',{''},
  9653. function(args, speaker)
  9654. _G.nodisco = nil
  9655. coroutine.resume(coroutine.create(function()
  9656. repeat
  9657. game:GetService('Lighting').GlobalShadows = true
  9658. game:GetService('Lighting').FogEnd = 200
  9659. game:GetService('Lighting').TimeOfDay = 0
  9660. local r = 255
  9661. local g = 0
  9662. local b = 0
  9663. for i = 0,255,5 do
  9664. if _G.nodisco ~=nil then return end
  9665. r = r - 5
  9666. b = b + 5
  9667. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9668. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9669. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9670. wait()
  9671. end
  9672. for i = 0,255,5 do
  9673. if _G.nodisco ~=nil then return end
  9674. g = g + 5
  9675. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9676. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9677. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9678. wait()
  9679. end
  9680. for i = 0,255,5 do
  9681. if _G.nodisco ~=nil then return end
  9682. b = b - 5
  9683. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9684. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9685. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9686. wait()
  9687. end
  9688. for i = 0,255,5 do
  9689. if _G.nodisco ~=nil then return end
  9690. r = r + 5
  9691. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9692. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9693. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9694. wait()
  9695. end
  9696. for i = 0,255,5 do
  9697. if _G.nodisco ~=nil then return end
  9698. g = g - 5
  9699. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  9700. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  9701. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  9702. wait()
  9703. end
  9704. until _G.nodisco
  9705. end))
  9706. end)
  9707.  
  9708. addcmd('undisco','rip disco party',{''},
  9709. function(args, speaker)
  9710. _G.nodisco = true
  9711. execCmd('fixl')
  9712. end)
  9713.  
  9714. addcmd('hat','give a hat to a player',{''},
  9715. function(args, speaker)
  9716. local players = getPlayer(args[1], speaker)
  9717. for i,v in pairs(players)do
  9718. local char = gPlayers[v].Character
  9719. local Hat = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://" .. args[2])
  9720. Hat.Parent = char
  9721. end end)
  9722.  
  9723. fm = Instance.new('BlockMesh', DATA)
  9724. fm.Scale = Vector3.new(1, 1, 2)
  9725. fm.Name = "FAT"
  9726. addcmd('fat','makes a plr fat',{''},
  9727. function(args, speaker)
  9728. local players = getPlayer(args[1], speaker)
  9729. for i,v in pairs(players)do
  9730. local char = gPlayers[v].Character
  9731. for _, child in pairs( char:GetChildren()) do
  9732. if child.ClassName == "CharacterMesh" then
  9733. child:Destroy() end end
  9734. for i,v in pairs(char:GetChildren()) do
  9735. if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
  9736. fm:Clone().Parent = v
  9737. end end end end)
  9738.  
  9739. addcmd('crucify','crucifies a player',{'cruci'},
  9740. function(args, speaker)
  9741. local players = getPlayer(args[1], speaker)
  9742. for i,v in pairs(players)do
  9743. local char = gPlayers[v].Character
  9744. local torso=char['Torso']
  9745. local larm=char['Left Arm']
  9746. local rarm=char['Right Arm']
  9747. local lleg=char['Left Leg']
  9748. local rleg=char['Right Leg']
  9749. local head=char['Head']
  9750. if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then
  9751. local cru=Instance.new('Model',char)
  9752. cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;)
  9753. local c1=Instance.new('Part',cru)
  9754. c1.BrickColor=BrickColor.new('Reddish brown')
  9755. c1.Material='Wood'
  9756. c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  9757. c1.Size=Vector3.new(2,18.4,1)
  9758. c1.Anchored=true
  9759. local c2=c1:Clone()
  9760. c2.Parent=cru
  9761. c2.Size=Vector3.new(11,1.6,1)
  9762. c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  9763. torso.Anchored=true;wait(0.5)
  9764. torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5)
  9765. larm.Anchored=true
  9766. rarm.Anchored=true
  9767. lleg.Anchored=true
  9768. rleg.Anchored=true
  9769. head.Anchored=true;wait()
  9770. larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  9771. rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  9772. lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  9773. rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  9774. larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  9775. rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  9776. lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  9777. rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  9778. --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  9779. local n1=Instance.new('Part',cru)
  9780. n1.BrickColor=BrickColor.new('Dark stone grey')
  9781. n1.Material='DiamondPlate'
  9782. n1.Size=Vector3.new(0.2,0.2,2)
  9783. n1.Anchored=true
  9784. local m=Instance.new('BlockMesh',n1)
  9785. m.Scale=Vector3.new(0.2,0.2,0.7)
  9786. local n2=n1:Clone()
  9787. n2.Parent=cru
  9788. local n3=n1:Clone()
  9789. n3.Parent=cru
  9790. n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  9791. n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  9792. n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  9793. spawn(function()
  9794. repeat
  9795. wait(0.1)
  9796. char.Humanoid.Health=char.Humanoid.Health-0.6
  9797. until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
  9798. char:BreakJoints()
  9799. end)
  9800. end
  9801. end
  9802. end)
  9803.  
  9804. addcmd('hang','hangs a player',{},
  9805. function(args, speaker)
  9806. local players = getPlayer(args[1], speaker)
  9807. for i,v in pairs(players)do
  9808. local plr = gPlayers[v].Character
  9809. plr.HumanoidRootPart.Anchored = true
  9810. hang = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01355025338")
  9811. hang.Parent = plr
  9812. hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5))
  9813. pcall(function()
  9814. plr.HumanoidRootPart.CFrame = hang.main.CFrame
  9815. function weld(p, cf)
  9816. local weld1 = Instance.new("Weld")
  9817. weld1.Part0 = p
  9818. weld1.Part1 = plr.Torso
  9819. weld1.C0 = CFrame.new()
  9820. weld1.C1 = cf
  9821. weld1.Parent = p
  9822. end
  9823. weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4))
  9824. weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4))
  9825. spawn(function()
  9826. repeat
  9827. wait(0.1)
  9828. plr.Humanoid.Health=plr.Humanoid.Health-0.6
  9829. until (not hang) or (not hang.Parent) or (not v) or (not plr) or (not plr:FindFirstChild('Head')) or plr.Humanoid.Health<=0
  9830. plr:BreakJoints()
  9831. end)
  9832. end)
  9833. end
  9834. end)
  9835.  
  9836. addcmd('fix', 'restores lighting and what not',{},
  9837. function(args, speaker)
  9838. LightingService.Ambient = origsettings.abt
  9839. LightingService.OutdoorAmbient = origsettings.oabt
  9840. LightingService.Brightness = origsettings.brt
  9841. LightingService.TimeOfDay = origsettings.time
  9842. LightingService.FogColor = origsettings.fclr
  9843. LightingService.FogEnd = origsettings.fe
  9844. LightingService.FogStart = origsettings.fs
  9845. workspace.Gravity = 200
  9846. 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)
  9847. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Destroy() end end
  9848. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  9849. if v:IsA("PostEffect") then v:Destroy() end end
  9850. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Destroy() Notify('Reset') end end)
  9851.  
  9852. Floating = false
  9853.  
  9854. addcmd('float', 'makes player float',{},
  9855. function(args,speaker)
  9856. Floating = true
  9857. local players = getPlayer(args[1], speaker)
  9858. for _,v in pairs(players) do
  9859. local pchar = gPlayers[v].Character
  9860. if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  9861. spawn(function()
  9862. local float = DATA.Float:Clone()
  9863. float.Parent = pchar
  9864. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  9865. spawn(function()
  9866. while wait(0.1) do
  9867. if pchar:FindFirstChild("Float") then
  9868. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  9869. else
  9870. break
  9871. end
  9872. end
  9873. end)
  9874. end)
  9875. end
  9876. end
  9877. end)
  9878.  
  9879. addcmd('unfloat','disables floating',{},
  9880. function(args, speaker)
  9881. Floating = false
  9882. local players = getPlayer(args[1], speaker)
  9883. for i,v in pairs(players)do
  9884. local pchar = gPlayers[v].Character
  9885. if pchar:FindFirstChild("Float") then
  9886. pchar.Float:Destroy()
  9887. end
  9888. end
  9889. end)
  9890.  
  9891. runningnoclip = false
  9892. Clip = true
  9893. addcmd('noclip','noclip',{},
  9894. function(args, speaker)
  9895. if speaker.userId ~= LP.userId then
  9896. lponly(speaker)
  9897. else
  9898. Notify('Noclip enabled')
  9899. Clip = false
  9900. if LP.Character:FindFirstChild('Torso') then
  9901. wait(0.1)
  9902. if runningnoclip == false then runningnoclip = true
  9903. game:GetService('RunService').Stepped:connect(function ()
  9904. if Clip == false and LP.Character ~= nil then
  9905. for _, child in pairs( LP.Character:GetDescendants()) do
  9906. if child.ClassName == 'Part' and child.CanCollide == true then
  9907. child.CanCollide = false
  9908. end end end end) end
  9909. else
  9910. r15noclip = true
  9911. end
  9912. end
  9913. end)
  9914.  
  9915. addcmd('clip','clip',{},
  9916. function(args, speaker)
  9917. if speaker.userId ~= LP.userId then
  9918. lponly(speaker)
  9919. else
  9920. Notify('Noclip disabled')
  9921. Clip = true
  9922. r15noclip = false
  9923. wait(0.1)
  9924. if LP.Character ~= nil then
  9925. LP.Character.Torso.CanCollide = true
  9926. LP.Character.Head.CanCollide = true
  9927. end end end)
  9928.  
  9929. addcmd('prefix','changes prefix',{},
  9930. function(args, speaker)
  9931. cmdprefix = args[1]
  9932. Notify('Set prefix to "' .. args[1] .. '"')
  9933. updatefile()
  9934. end)
  9935.  
  9936. logsopen = false
  9937. addcmd('logs','shows logs',{},
  9938. function(args, speaker)
  9939. if speaker.userId ~= LP.userId then
  9940. lponly(speaker) else
  9941. if logsopen == false then logsopen = true
  9942. logdrag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
  9943. end
  9944. end
  9945. end)
  9946.  
  9947. local Saved = {}
  9948.  
  9949. RestorePoint = function()
  9950. Saved = {}
  9951. for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do
  9952. v.Archivable = true;
  9953. end
  9954. for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  9955. if not v:IsA("Terrain") and not v:IsA("Camera") then
  9956. if not game:GetService("Players"):FindFirstChild(v.Name) then
  9957. table.insert(Saved, v:Clone());
  9958. end
  9959. elseif v:IsA("Terrain") then
  9960. Saved.Terrain = game:GetService("Workspace").Terrain:CopyRegion(game:GetService("Workspace").Terrain.MaxExtents);
  9961. end
  9962. end
  9963. return Saved;
  9964. end
  9965.  
  9966. InsertPoint = function()
  9967. if #Saved == 0 and not Saved.Terrain then
  9968. return false;
  9969. end
  9970. for i, v in pairs(game:GetService("Workspace"):GetChildren()) do
  9971. if not v:IsA("Camera") and not v:IsA("Terrain") then
  9972. if not game:GetService("Players"):FindFirstChild(v.Name) then
  9973. pcall(function()
  9974. v:Destroy()
  9975. end)
  9976. end
  9977. elseif v:IsA("Terrain") then
  9978. v:Clear()
  9979. end
  9980. end
  9981. for i, v in ipairs(Saved) do
  9982. v:Clone().Parent = workspace;
  9983. end
  9984. game:GetService("Workspace").Terrain:PasteRegion(Saved.Terrain, game:GetService("Workspace").Terrain.MaxExtents.Min, true);
  9985. end
  9986.  
  9987. addcmd('savemap','saves current map',{'smap'},
  9988. function(args, speaker)
  9989. RestorePoint()
  9990. Notify('Saved current map')
  9991. end)
  9992.  
  9993. addcmd('restoremap','saves current map',{'rmap'},
  9994. function(args, speaker)
  9995. InsertPoint()
  9996. Notify('Loaded last saved map')
  9997. end)
  9998.  
  9999. addcmd('respawn','respawns',{},
  10000. function(args, speaker)
  10001. local players = getPlayer(args[1], speaker)
  10002. for i,v in pairs(players) do
  10003. respawn(gPlayers[v])
  10004. end
  10005. end)
  10006.  
  10007. addcmd('version','shows version',{''},
  10008. function(args, speaker)
  10009. if speaker.userId ~= LP.userId then
  10010. lponly(speaker)
  10011. else
  10012. Notify("Version is " .. Version)
  10013. end
  10014. end)
  10015. local CTPenabled = false
  10016. Mouse.KeyDown:connect(function (Key)
  10017. if Key:byte() == 29 then
  10018. if FLYING == false then
  10019. execCmd("fly me", Player)
  10020. elseif FLYING == true then
  10021. execCmd("unfly me", Player)
  10022. end
  10023. end
  10024. if Key:byte() == 30 then
  10025. if Clip == true then
  10026. execCmd("noclip", Player)
  10027. elseif Clip == false then
  10028. execCmd("clip", Player)
  10029. end
  10030. end
  10031. Key = Key:lower()
  10032. if Key:byte() == 27 then
  10033. CTPenabled = true
  10034. end
  10035. end)
  10036. Mouse.KeyUp:connect(function(Key)
  10037. Key = Key:lower()
  10038. if Key:byte() == 27 then
  10039. CTPenabled = false
  10040. end
  10041. end)
  10042. Mouse.Button1Down:connect(function()
  10043. local charx = gPlayers.LocalPlayer.Character
  10044. if charx and CTPenabled == true then
  10045. charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
  10046. end
  10047. end)
  10048. -------------------
  10049. ----Command bar----
  10050. -------------------
  10051. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  10052. CMDbar.Name = 'GUI'
  10053. CMDbar.DisplayOrder = 2
  10054. cont = Instance.new("Frame")
  10055. cmdBAR = Instance.new('TextBox', cont)
  10056. cont.Name = "cont"
  10057. cont.BackgroundTransparency = 1
  10058. cont.Position = UDim2.new(1, -265, 0, -75)
  10059. cont.Size = UDim2.new(0, 270, 0, 45)
  10060. cont.Parent = CMDbar
  10061. cont.ZIndex = 5
  10062. cont.Active = true cont.Draggable = true
  10063. cmdBAR.Name = "CMDbar"
  10064. cmdBAR.Parent = cont
  10065. cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10066. cmdBAR.BackgroundTransparency = 0.7
  10067. cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10068. cmdBAR.BorderSizePixel = 0
  10069. cmdBAR.Position = UDim2.new(0, 10, 1, -35)
  10070. cmdBAR.Size = UDim2.new(0, 250, 0, 25)
  10071. cmdBAR.Font = Enum.Font.SourceSans
  10072. cmdBAR.FontSize = Enum.FontSize.Size18
  10073. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  10074. cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10075. cmdBAR.ZIndex = 5
  10076. -------------------
  10077. ----Data Folder----
  10078. -------------------
  10079. DATA = Instance.new('Folder', game.ContextActionService)
  10080. DATA.Name = 'Data'
  10081. Paper = Instance.new('BlockMesh', DATA)
  10082. Paper.Name = 'Paper'
  10083. Paper.Scale = Vector3.new(1,1,0.1)
  10084. ayylmao = Instance.new('Hat', DATA)
  10085. ayylmao.Name = 'ayylmao'
  10086. ayyHandle = Instance.new('Part', ayylmao)
  10087. ayyHandle.Name = 'Handle'
  10088. ayyHandle.Size = Vector3.new(2,2.4,2)
  10089. ayyHandle.FormFactor = 'Plate'
  10090. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  10091. ayyMesh.Scale = Vector3.new(1,1.02,1)
  10092. ayyMesh.MeshType = 'FileMesh'
  10093. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  10094. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  10095. Float = Instance.new('Part', DATA)
  10096. Float.Name = 'Float'
  10097. Float.Transparency = 1
  10098. Float.Size = Vector3.new(6,1,6)
  10099. Float.Anchored = true
  10100. function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
  10101. missile = Instance.new('Part', DATA)
  10102. missile.Name = 'IY_missile'
  10103. missile.CanCollide = false
  10104. missile.Size = Vector3.new(2, 5, 2)
  10105. Instance.new('CylinderMesh', missile)
  10106. local F = Instance.new('Part', missile)
  10107. F.BrickColor = BrickColor.new('Black')
  10108. F.CanCollide = false
  10109. F.Size = Vector3.new(2, 0.2, 2)
  10110. Instance.new('CylinderMesh', F)
  10111. local fire = Instance.new('Fire', F)
  10112. fire.Size = "15"
  10113. fire.Heat = "25"
  10114. local head = Instance.new('Part', missile)
  10115. head.CanCollide = false
  10116. head.Shape = 'Ball'
  10117. head.Size = Vector3.new(2, 2, 2)
  10118. head.TopSurface = 'Smooth'
  10119. head.BottomSurface = 'Smooth'
  10120. local BF = Instance.new('BodyForce', missile)
  10121. BF.Name = 'force'
  10122. BF.Force = Vector3.new(0, 0, 0)
  10123. local W1 = Instance.new('Weld', missile)
  10124. W1.Part0 = missile
  10125. W1.Part1 = F
  10126. W1.C1 = CFrame.new(0, 2.6, 0)
  10127. local W2 = Instance.new('Weld', missile)
  10128. W2.Part0 = missile
  10129. W2.Part1 = head
  10130. W2.C1 = CFrame.new(0, -2.6, 0)
  10131. jail = Instance.new('Model', DATA)
  10132. jail.Name = 'JAIL'
  10133. local B = Instance.new('Part', jail)
  10134. B.Name = 'BUTTOM'
  10135. B.BrickColor = BrickColor.new('Black')
  10136. B.Transparency = 0.5
  10137. B.Anchored = true
  10138. B.Locked = true
  10139. B.Size = Vector3.new(6, 1, 6)
  10140. B.TopSurface = 'Smooth'
  10141. B.BottomSurface = 'Smooth'
  10142. local M = Instance.new('Part', jail)
  10143. M.Name = 'MAIN'
  10144. M.BrickColor = BrickColor.new('Black')
  10145. M.Transparency = 1
  10146. M.Anchored = true
  10147. M.CanCollide = false
  10148. M.Locked = true
  10149. M.Position = B.Position + Vector3.new(0, 3, 0)
  10150. M.Size = Vector3.new(1, 1, 1)
  10151. local P1 = Instance.new('Part', jail)
  10152. P1.BrickColor = BrickColor.new('Black')
  10153. P1.Transparency = 0.5
  10154. P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
  10155. P1.Rotation = Vector3.new(0, 90, 0)
  10156. P1.Anchored = true
  10157. P1.Locked = true
  10158. P1.Size = Vector3.new(1, 6, 6)
  10159. local P2 = Instance.new('Part', jail)
  10160. P2.BrickColor = BrickColor.new('Black')
  10161. P2.Transparency = 0.5
  10162. P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
  10163. P2.Rotation = Vector3.new(-180, 0, -180)
  10164. P2.Anchored = true
  10165. P2.Locked = true
  10166. P2.Size = Vector3.new(1, 6, 4)
  10167. local P3 = Instance.new('Part', jail)
  10168. P3.BrickColor = BrickColor.new('Black')
  10169. P3.Transparency = 0.5
  10170. P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
  10171. P3.Rotation = Vector3.new(0, 0, 0)
  10172. P3.Anchored = true
  10173. P3.Locked = true
  10174. P3.Size = Vector3.new(1, 6, 4)
  10175. local P4 = Instance.new('Part', jail)
  10176. P4.BrickColor = BrickColor.new('Black')
  10177. P4.Transparency = 0.5
  10178. P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
  10179. P4.Rotation = Vector3.new(0, 90, 0)
  10180. P4.Anchored = true
  10181. P4.Locked = true
  10182. P4.Size = Vector3.new(1, 6, 6)
  10183. local TOP = Instance.new('Part', jail)
  10184. TOP.BrickColor = BrickColor.new('Black')
  10185. TOP.Transparency = 0.5
  10186. TOP.Position = B.Position + Vector3.new(0, 7, 0)
  10187. TOP.Rotation = Vector3.new(0, 0, 0)
  10188. TOP.Anchored = true
  10189. TOP.Locked = true
  10190. TOP.Size = Vector3.new(6, 1, 6)
  10191. TOP.TopSurface = 'Smooth'
  10192. TOP.BottomSurface = 'Smooth'
  10193. ------------------------------
  10194. ---Commands/Settings Window---
  10195. ------------------------------
  10196. cp = Instance.new("ScreenGui")
  10197. local Frame = Instance.new("Frame")
  10198. local holder = Instance.new("Frame")
  10199. bar = Instance.new("Frame")
  10200. local cmds = Instance.new("TextButton")
  10201. local settings = Instance.new("TextButton")
  10202. local Hide = Instance.new("TextButton")
  10203. local Exit = Instance.new("TextButton")
  10204. FeedbackMain = Instance.new("Frame")
  10205. local Title = Instance.new("TextLabel")
  10206. local checkboxText = Instance.new("TextLabel")
  10207. local CheckBox = Instance.new("ImageButton")
  10208. local bindInput = Instance.new("TextButton")
  10209. Input = Instance.new("TextBox")
  10210. local preText = Instance.new("TextLabel")
  10211. local setpre = Instance.new("TextButton")
  10212. local everyone = Instance.new("TextButton")
  10213. local JLtext = Instance.new("TextLabel")
  10214. local CheckBoxJL = Instance.new("ImageButton")
  10215. local friends = Instance.new("TextButton")
  10216. local InputBox = Instance.new("TextButton")
  10217. Input_2 = Instance.new("TextBox")
  10218. local MTText = Instance.new("TextLabel")
  10219. local setMT = Instance.new("TextButton")
  10220. local CheckBoxS = Instance.new("ImageButton")
  10221. local slocktext = Instance.new("TextLabel")
  10222. local barBind = Instance.new("TextLabel")
  10223. local setBind = Instance.new("TextButton")
  10224. local MtimeInput = Instance.new("TextButton")
  10225. Input_3 = Instance.new("TextBox")
  10226. local size = Instance.new("Frame")
  10227. MAIN = Instance.new("Frame")
  10228. local Title_2 = Instance.new("TextLabel")
  10229. local Example = Instance.new("TextLabel")
  10230. local Search = Instance.new("TextBox")
  10231. local CMDss = Instance.new("ScrollingFrame")
  10232. cp.Name = "cp"
  10233. cp.Parent = DATA
  10234. Frame.Parent = cp
  10235. Frame.Active = true
  10236. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  10237. Frame.BackgroundTransparency = 1
  10238. Frame.Draggable = true
  10239. Frame.Position = UDim2.new(1, -300, 1, -330)
  10240. Frame.Size = UDim2.new(0, 300, 0, 40)
  10241. holder.Name = "holder"
  10242. holder.Parent = Frame
  10243. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  10244. holder.BackgroundTransparency = 1
  10245. holder.BorderSizePixel = 2
  10246. holder.ClipsDescendants = true
  10247. holder.Size = UDim2.new(0, 300, 0, 330)
  10248. holder.ZIndex = 2
  10249. bar.Name = "bar"
  10250. bar.Parent = holder
  10251. bar.BackgroundColor3 = maincolor
  10252. bar.BackgroundTransparency = 0.30000001192093
  10253. bar.BorderColor3 = Color3.new(0, 0, 0)
  10254. bar.BorderSizePixel = 0
  10255. bar.Position = UDim2.new(1, -295, 1, -330)
  10256. bar.Size = UDim2.new(0, 290, 0, 26)
  10257. cmds.Name = "cmds"
  10258. cmds.Parent = bar
  10259. cmds.BackgroundColor3 = Color3.new(0, 0, 0)
  10260. cmds.BackgroundTransparency = 0.80000001192093
  10261. cmds.BorderColor3 = Color3.new(1, 1, 1)
  10262. cmds.Position = UDim2.new(0, 3, 0, 3)
  10263. cmds.Size = UDim2.new(0, 70, 0, 20)
  10264. cmds.Font = Enum.Font.SourceSans
  10265. cmds.FontSize = Enum.FontSize.Size14
  10266. cmds.Text = "Commands"
  10267. cmds.TextColor3 = Color3.new(1, 1, 1)
  10268. settings.Name = "settings"
  10269. settings.Parent = bar
  10270. settings.BackgroundColor3 = Color3.new(0, 0, 0)
  10271. settings.BackgroundTransparency = 0.80000001192093
  10272. settings.BorderColor3 = Color3.new(1, 1, 1)
  10273. settings.Position = UDim2.new(0, 77, 0, 3)
  10274. settings.Size = UDim2.new(0, 70, 0, 20)
  10275. settings.Font = Enum.Font.SourceSans
  10276. settings.FontSize = Enum.FontSize.Size14
  10277. settings.Text = "Settings"
  10278. settings.TextColor3 = Color3.new(1, 1, 1)
  10279. Hide.Name = "Hide"
  10280. Hide.Parent = bar
  10281. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  10282. Hide.BackgroundTransparency = 0.30000001192093
  10283. Hide.BorderColor3 = Color3.new(1, 1, 1)
  10284. Hide.BorderSizePixel = 0
  10285. Hide.Position = UDim2.new(0, 243, 0, 3)
  10286. Hide.Size = UDim2.new(0, 20, 0, 20)
  10287. Hide.FontSize = Enum.FontSize.Size14
  10288. Hide.Text = ""
  10289. Exit.Name = "Exit"
  10290. Exit.Parent = bar
  10291. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  10292. Exit.BackgroundTransparency = 0.30000001192093
  10293. Exit.BorderColor3 = Color3.new(1, 0, 0)
  10294. Exit.BorderSizePixel = 0
  10295. Exit.Position = UDim2.new(0, 267, 0, 3)
  10296. Exit.Size = UDim2.new(0, 20, 0, 20)
  10297. Exit.FontSize = Enum.FontSize.Size14
  10298. Exit.Text = ""
  10299. FeedbackMain.Name = "FeedbackMain"
  10300. FeedbackMain.Parent = holder
  10301. FeedbackMain.BackgroundColor3 = maincolor
  10302. FeedbackMain.BackgroundTransparency = 0.5
  10303. FeedbackMain.BorderColor3 = Color3.new(0, 0, 0)
  10304. FeedbackMain.BorderSizePixel = 0
  10305. FeedbackMain.Position = UDim2.new(1.01999998, -301, 1.0181818, -310)
  10306. FeedbackMain.Size = UDim2.new(0, 290, 0, 300)
  10307. Title.Name = "Title"
  10308. Title.Parent = FeedbackMain
  10309. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  10310. Title.BackgroundTransparency = 1
  10311. Title.Size = UDim2.new(1, 0, 0, 30)
  10312. Title.Font = Enum.Font.SourceSansBold
  10313. Title.FontSize = Enum.FontSize.Size24
  10314. Title.Text = "Settings"
  10315. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10316. checkboxText.Name = "checkboxText"
  10317. checkboxText.Parent = FeedbackMain
  10318. checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
  10319. checkboxText.BackgroundTransparency = 1
  10320. checkboxText.Position = UDim2.new(0, 0, 0, 40)
  10321. checkboxText.Size = UDim2.new(1, 0, 0, 30)
  10322. checkboxText.Font = Enum.Font.SourceSansBold
  10323. checkboxText.FontSize = Enum.FontSize.Size18
  10324. checkboxText.Text = "Suggestions"
  10325. checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10326. CheckBox.Name = "CheckBox"
  10327. CheckBox.Parent = FeedbackMain
  10328. CheckBox.BackgroundTransparency = 1
  10329. CheckBox.Position = UDim2.new(0, 10, 0, 40)
  10330. CheckBox.Size = UDim2.new(0, 30, 0, 30)
  10331. CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
  10332. bindInput.Name = "bindInput"
  10333. bindInput.Parent = FeedbackMain
  10334. bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
  10335. bindInput.Position = UDim2.new(0, 8, 0, 241)
  10336. bindInput.Size = UDim2.new(0, 30, 0, 30)
  10337. bindInput.AutoButtonColor = false
  10338. bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10339. bindInput.Font = Enum.Font.SourceSans
  10340. bindInput.FontSize = Enum.FontSize.Size14
  10341. bindInput.Text = ""
  10342. Input.Name = "Input"
  10343. Input.Parent = bindInput
  10344. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  10345. Input.BackgroundTransparency = 1
  10346. Input.Position = UDim2.new(0, -8, 0, -8)
  10347. Input.Size = UDim2.new(0, 20, 0, 20)
  10348. Input.Font = Enum.Font.SourceSansBold
  10349. Input.FontSize = Enum.FontSize.Size18
  10350. Input.MultiLine = true
  10351. Input.Text = ";"
  10352. Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  10353. Input.TextWrapped = true
  10354. Input.TextYAlignment = Enum.TextYAlignment.Top
  10355. preText.Name = "preText"
  10356. preText.Parent = FeedbackMain
  10357. preText.BackgroundColor3 = Color3.new(1, 1, 1)
  10358. preText.BackgroundTransparency = 1
  10359. preText.Position = UDim2.new(0, 0, 0, 118)
  10360. preText.Size = UDim2.new(1, 0, 0, 30)
  10361. preText.Font = Enum.Font.SourceSansBold
  10362. preText.FontSize = Enum.FontSize.Size18
  10363. preText.Text = "Prefix"
  10364. preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10365. setpre.Name = "setpre"
  10366. setpre.Parent = FeedbackMain
  10367. setpre.BackgroundColor3 = Color3.new(1, 1, 1)
  10368. setpre.BorderSizePixel = 5
  10369. setpre.Position = UDim2.new(0, 235, 0, 120)
  10370. setpre.Size = UDim2.new(0, 40, 0, 25)
  10371. setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10372. setpre.Font = Enum.Font.ArialBold
  10373. setpre.FontSize = Enum.FontSize.Size18
  10374. setpre.Text = "Set"
  10375. everyone.Name = "everyone"
  10376. everyone.Parent = FeedbackMain
  10377. everyone.BackgroundColor3 = Color3.new(0, 0, 0)
  10378. everyone.BackgroundTransparency = 0.80000001192093
  10379. everyone.BorderColor3 = Color3.new(0, 0, 0)
  10380. everyone.Position = UDim2.new(0, 230, 0, 217)
  10381. everyone.Size = UDim2.new(0, 50, 0, 20)
  10382. everyone.Font = Enum.Font.SourceSans
  10383. everyone.FontSize = Enum.FontSize.Size14
  10384. everyone.Text = "Everyone"
  10385. everyone.TextColor3 = Color3.new(1, 1, 1)
  10386. JLtext.Name = "JLtext"
  10387. JLtext.Parent = FeedbackMain
  10388. JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
  10389. JLtext.BackgroundTransparency = 1
  10390. JLtext.Position = UDim2.new(0, 0, 0, 197)
  10391. JLtext.Size = UDim2.new(1, 0, 0, 30)
  10392. JLtext.Font = Enum.Font.SourceSansBold
  10393. JLtext.FontSize = Enum.FontSize.Size14
  10394. JLtext.Text = "Joined / Left Notifications"
  10395. JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10396. CheckBoxJL.Name = "CheckBoxJL"
  10397. CheckBoxJL.Parent = FeedbackMain
  10398. CheckBoxJL.BackgroundTransparency = 1
  10399. CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
  10400. CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
  10401. CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
  10402. friends.Name = "friends"
  10403. friends.Parent = FeedbackMain
  10404. friends.BackgroundColor3 = Color3.new(0, 0, 0)
  10405. friends.BackgroundTransparency = 0.80000001192093
  10406. friends.BorderColor3 = Color3.new(1, 1, 1)
  10407. friends.Position = UDim2.new(0, 230, 0, 192)
  10408. friends.Size = UDim2.new(0, 50, 0, 20)
  10409. friends.Font = Enum.Font.SourceSans
  10410. friends.FontSize = Enum.FontSize.Size14
  10411. friends.Text = "Friends"
  10412. friends.TextColor3 = Color3.new(1, 1, 1)
  10413. InputBox.Name = "InputBox"
  10414. InputBox.Parent = FeedbackMain
  10415. InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
  10416. InputBox.Position = UDim2.new(0, 8, 0, 120)
  10417. InputBox.Size = UDim2.new(0, 30, 0, 30)
  10418. InputBox.AutoButtonColor = false
  10419. InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10420. InputBox.Font = Enum.Font.SourceSans
  10421. InputBox.FontSize = Enum.FontSize.Size14
  10422. InputBox.Text = ""
  10423. Input_2.Name = "Input"
  10424. Input_2.Parent = InputBox
  10425. Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
  10426. Input_2.BackgroundTransparency = 1
  10427. Input_2.Position = UDim2.new(0, -8, 0, -8)
  10428. Input_2.Size = UDim2.new(0, 20, 0, 20)
  10429. Input_2.Font = Enum.Font.SourceSansBold
  10430. Input_2.FontSize = Enum.FontSize.Size18
  10431. Input_2.MultiLine = true
  10432. Input_2.Text = ";"
  10433. Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  10434. Input_2.TextWrapped = true
  10435. Input_2.TextYAlignment = Enum.TextYAlignment.Top
  10436. MTText.Name = "MTText"
  10437. MTText.Parent = FeedbackMain
  10438. MTText.BackgroundColor3 = Color3.new(1, 1, 1)
  10439. MTText.BackgroundTransparency = 1
  10440. MTText.Position = UDim2.new(0, 0, 0, 158)
  10441. MTText.Size = UDim2.new(1, 0, 0, 30)
  10442. MTText.Font = Enum.Font.SourceSansBold
  10443. MTText.FontSize = Enum.FontSize.Size18
  10444. MTText.Text = "Message Seconds"
  10445. MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10446. setMT.Name = "setMT"
  10447. setMT.Parent = FeedbackMain
  10448. setMT.BackgroundColor3 = Color3.new(1, 1, 1)
  10449. setMT.BorderSizePixel = 5
  10450. setMT.Position = UDim2.new(0, 235, 0, 159)
  10451. setMT.Size = UDim2.new(0, 40, 0, 25)
  10452. setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10453. setMT.Font = Enum.Font.ArialBold
  10454. setMT.FontSize = Enum.FontSize.Size18
  10455. setMT.Text = "Set"
  10456. CheckBoxS.Name = "CheckBoxS"
  10457. CheckBoxS.Parent = FeedbackMain
  10458. CheckBoxS.BackgroundTransparency = 1
  10459. CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
  10460. CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
  10461. CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
  10462. slocktext.Name = "slocktext"
  10463. slocktext.Parent = FeedbackMain
  10464. slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
  10465. slocktext.BackgroundTransparency = 1
  10466. slocktext.Position = UDim2.new(0, 0, 0, 79)
  10467. slocktext.Size = UDim2.new(1, 0, 0, 30)
  10468. slocktext.Font = Enum.Font.SourceSansBold
  10469. slocktext.FontSize = Enum.FontSize.Size14
  10470. slocktext.Text = "Allow Friends On Serverlock"
  10471. slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10472. barBind.Name = "barBind"
  10473. barBind.Parent = FeedbackMain
  10474. barBind.BackgroundColor3 = Color3.new(1, 1, 1)
  10475. barBind.BackgroundTransparency = 1
  10476. barBind.Position = UDim2.new(0, 0, 0, 242)
  10477. barBind.Size = UDim2.new(1, 0, 0, 30)
  10478. barBind.Font = Enum.Font.SourceSansBold
  10479. barBind.FontSize = Enum.FontSize.Size18
  10480. barBind.Text = "Command Bar Keybind"
  10481. barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10482. setBind.Name = "setBind"
  10483. setBind.Parent = FeedbackMain
  10484. setBind.BackgroundColor3 = Color3.new(1, 1, 1)
  10485. setBind.BorderSizePixel = 5
  10486. setBind.Position = UDim2.new(0, 235, 0, 245)
  10487. setBind.Size = UDim2.new(0, 40, 0, 25)
  10488. setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10489. setBind.Font = Enum.Font.ArialBold
  10490. setBind.FontSize = Enum.FontSize.Size18
  10491. setBind.Text = "Set"
  10492. MtimeInput.Name = "MtimeInput"
  10493. MtimeInput.Parent = FeedbackMain
  10494. MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
  10495. MtimeInput.Position = UDim2.new(0, 8, 0, 159)
  10496. MtimeInput.Size = UDim2.new(0, 30, 0, 30)
  10497. MtimeInput.AutoButtonColor = false
  10498. MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  10499. MtimeInput.Font = Enum.Font.SourceSans
  10500. MtimeInput.FontSize = Enum.FontSize.Size14
  10501. MtimeInput.Text = ""
  10502. Input_3.Name = "Input"
  10503. Input_3.Parent = MtimeInput
  10504. Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
  10505. Input_3.BackgroundTransparency = 1
  10506. Input_3.Position = UDim2.new(0, -8, 0, -8)
  10507. Input_3.Size = UDim2.new(0, 20, 0, 20)
  10508. Input_3.Font = Enum.Font.SourceSansBold
  10509. Input_3.FontSize = Enum.FontSize.Size18
  10510. Input_3.MultiLine = true
  10511. Input_3.Text = "7"
  10512. Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  10513. Input_3.TextWrapped = true
  10514. Input_3.TextYAlignment = Enum.TextYAlignment.Top
  10515. size.Name = "size"
  10516. size.Parent = holder
  10517. size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  10518. size.BackgroundTransparency = 1
  10519. size.Position = UDim2.new(1, -301, 1, -300)
  10520. size.Size = UDim2.new(0, 275, 0, 300)
  10521. size.ZIndex = 2
  10522. MAIN.Name = "MAIN"
  10523. MAIN.Parent = size
  10524. MAIN.BackgroundColor3 = maincolor
  10525. MAIN.BackgroundTransparency = 0.5
  10526. MAIN.BorderColor3 = Color3.new(0, 0, 0)
  10527. MAIN.BorderSizePixel = 0
  10528. MAIN.Position = UDim2.new(0.0181818176, 1, 1.00333333, -305)
  10529. MAIN.Size = UDim2.new(0, 290, 0, 300)
  10530. Title_2.Name = "Title"
  10531. Title_2.Parent = MAIN
  10532. Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  10533. Title_2.BackgroundTransparency = 1
  10534. Title_2.Size = UDim2.new(1, 0, 0, 30)
  10535. Title_2.Font = Enum.Font.SourceSansBold
  10536. Title_2.FontSize = Enum.FontSize.Size24
  10537. Title_2.Text = "Commands"
  10538. Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10539. Example.Name = "Example"
  10540. Example.Parent = MAIN
  10541. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10542. Example.BackgroundTransparency = 1
  10543. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10544. Example.BorderSizePixel = 0
  10545. Example.Size = UDim2.new(0, 190, 0, 20)
  10546. Example.Visible = false
  10547. Example.Font = Enum.Font.SourceSansBold
  10548. Example.TextSize = 20
  10549. Example.Text = "txt"
  10550. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10551. Example.TextStrokeTransparency = 0
  10552. Example.TextXAlignment = Enum.TextXAlignment.Left
  10553. Example.ZIndex = 6
  10554. Search.Name = "Search"
  10555. Search.Parent = MAIN
  10556. Search.BackgroundColor3 = Color3.new(0, 0, 0)
  10557. Search.BackgroundTransparency = 0.69999998807907
  10558. Search.BorderColor3 = Color3.new(1, 1, 1)
  10559. Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
  10560. Search.Size = UDim2.new(0, 250, 0, 20)
  10561. Search.ClearTextOnFocus = false
  10562. Search.Font = Enum.Font.SourceSansBold
  10563. Search.FontSize = Enum.FontSize.Size18
  10564. Search.Text = "Search"
  10565. Search.TextColor3 = Color3.new(1, 1, 1)
  10566. Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  10567. Search.TextStrokeTransparency = 0
  10568. CMDss.Name = "CMDs"
  10569. CMDss.Parent = MAIN
  10570. CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10571. CMDss.BackgroundTransparency = 1
  10572. CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10573. CMDss.BorderSizePixel = 0
  10574. CMDss.Position = UDim2.new(0, 10, 0, 65)
  10575. CMDss.Size = UDim2.new(0, 280, 0, 230)
  10576. CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10577. CMDss.CanvasSize = UDim2.new(0, 0, 0, 5260)
  10578. CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
  10579. CMDss.ScrollBarThickness = 8
  10580. CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
  10581. ------------
  10582. ---Notify---
  10583. ------------
  10584. notifyMAIN = Instance.new('ScreenGui', DATA)
  10585. notifyMAIN.Name = 'Notification'
  10586. notifyNOT = Instance.new('Frame', notifyMAIN)
  10587. notifyNOT.Name = 'NOTIFY'
  10588. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  10589. notifyNOT.BackgroundTransparency = 1
  10590. notifyNOT.BorderColor = BrickColor.new(0,0,0)
  10591. notifyNOT.BorderSizePixel = 2
  10592. notifyNOT.Position = UDim2.new(0,0,-0.06,0)
  10593. notifyNOT.Size = UDim2.new(1,0,0,-40)
  10594. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  10595. notifyNOTE.Name = 'NOTE'
  10596. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  10597. notifyNOTE.BackgroundTransparency = 1
  10598. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  10599. notifyNOTE.BorderSizePixel = 0
  10600. notifyNOTE.Size = UDim2.new(1,0,1,0)
  10601. notifyNOTE.ZIndex = 4
  10602. notifyNOTE.FontSize = 'Size18'
  10603. notifyNOTE.Font = 'SourceSansBold'
  10604. notifyNOTE.Text = 'NOTIFY'
  10605. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  10606. notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
  10607. notifyNOTE.TextStrokeTransparency = 0.8
  10608.  
  10609. addcmd('ayylmao','ayy lmao',{'alien'},
  10610. function(args, speaker)
  10611. local players = getPlayer(args[1], speaker)
  10612. for i,v in pairs(players)do
  10613. local pchar = gPlayers[v].Character
  10614. if pchar:FindFirstChild("Shirt") then
  10615. pchar.Shirt:Destroy()
  10616. end
  10617. if pchar:FindFirstChild("Pants") then
  10618. pchar.Pants:Destroy()
  10619. end
  10620. if pchar:FindFirstChild("Shirt Graphic") then
  10621. pchar["Shirt Graphic"].Graphic = ""
  10622. end
  10623. for i,v in pairs(pchar:GetChildren()) do
  10624. if v:IsA("Accessory") then
  10625. v:Destroy()
  10626. end
  10627. end
  10628. local ayylmao = DATA.ayylmao:Clone()
  10629. ayylmao.Parent = pchar
  10630. local BC = pchar["Body Colors"]
  10631. BC.HeadColor = BrickColor.new("Fossil")
  10632. BC.LeftArmColor = BrickColor.new("Fossil")
  10633. BC.LeftLegColor = BrickColor.new("Fossil")
  10634. BC.RightArmColor = BrickColor.new("Fossil")
  10635. BC.RightLegColor = BrickColor.new("Fossil")
  10636. BC.TorsoColor = BrickColor.new("Fossil")
  10637. end
  10638. end)
  10639. -----------------------------------
  10640. ----Commands/Settings Functions----
  10641. -----------------------------------
  10642. HKFolder = Instance.new("Folder", game.CoreGui)
  10643. for i,v in pairs(HK) do
  10644. local HKValue = Instance.new("StringValue", HKFolder)
  10645. HKValue.Value = v
  10646. HKValue.RobloxLocked = true
  10647. end
  10648. CMDsFolder = Instance.new("Folder", game.CoreGui)
  10649. for i,v in pairs(CMDs) do
  10650. local CMDsValue = Instance.new("StringValue", CMDsFolder)
  10651. CMDsValue.Value = v
  10652. CMDsValue.RobloxLocked = true
  10653. end
  10654. cmdOpen = false
  10655. function commands()
  10656. if cmdOpen == false then
  10657. cmdOpen = true
  10658. local cmds = cp:Clone()
  10659. cmds.Parent = game.CoreGui
  10660. local HKV = HKFolder:GetChildren()
  10661. local CMDsV = CMDsFolder:GetChildren()
  10662. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01)
  10663. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10664. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true)
  10665. SettingsGUI = game.CoreGui.cp.Frame.holder if Nfriends == true then
  10666. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10667. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif Nfriends == false then
  10668. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  10669. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  10670. end
  10671. --joined/left friend option
  10672. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function()
  10673. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10674. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  10675. Nfriends = true updatefile()
  10676. end)
  10677. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function()
  10678. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  10679. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  10680. Nfriends = false updatefile()
  10681. end)
  10682. --Message time
  10683. SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
  10684. wait()
  10685. Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
  10686. Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
  10687. updatefile()
  10688. end)
  10689. --CMDBAR keybind
  10690. SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
  10691. wait()
  10692. cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
  10693. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  10694. Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
  10695. updatefile()
  10696. end)
  10697. --Change prefix
  10698. SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
  10699. wait()
  10700. cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
  10701. Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
  10702. updatefile()
  10703. end)
  10704. --Check Box for notify
  10705. checked = "http://www.roblox.com/asset/?id=65492641"
  10706. unchecked = "http://www.roblox.com/asset/?id=65492651"
  10707. if suggestionstoggle == true then
  10708. SettingsGUI.FeedbackMain.CheckBox.Image = checked else
  10709. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
  10710. SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
  10711. if suggestionstoggle == true then suggestionstoggle = false updatefile()
  10712. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
  10713. suggestionstoggle = true
  10714. updatefile()
  10715. SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
  10716. --Check Box for allow friends on serverlock
  10717. checked2 = "http://www.roblox.com/asset/?id=65492641"
  10718. unchecked2 = "http://www.roblox.com/asset/?id=65492651"
  10719. if allowfriends == true then
  10720. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
  10721. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
  10722. SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
  10723. if allowfriends == true then allowfriends = false updatefile()
  10724. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
  10725. allowfriends = true updatefile()
  10726. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
  10727. --Check Box for JoinedLeft notifications
  10728. checked3 = "http://www.roblox.com/asset/?id=65492641"
  10729. unchecked3 = "http://www.roblox.com/asset/?id=65492651"
  10730. if JLnotify == true then
  10731. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
  10732. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
  10733. SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
  10734. if JLnotify == true then JLnotify = false updatefile()
  10735. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true
  10736. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 updatefile()
  10737. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  10738. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end)
  10739. cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function()
  10740. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10741. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  10742. cmds.Frame.holder.bar.Hide.Visible = true
  10743. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  10744. cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function()
  10745. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1)
  10746. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true) wait(0.2)
  10747. cmds.Frame.holder.bar.Hide.Visible = true
  10748. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  10749. cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
  10750. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true)
  10751. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,0.018,-310),"Out","Quad",0.2,true) wait(0.2)
  10752. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2)
  10753. cmds.Frame.holder.bar.Hide.Visible = false end)
  10754. cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function()
  10755. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10756. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3)
  10757. cmds:Destroy() cmdOpen = false end)
  10758. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true)
  10759. searchbar()
  10760. for i = 1, #HKV do
  10761. local YSize = 25
  10762. local Position = ((i * YSize) - YSize)
  10763. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  10764. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  10765. newcmd.Visible = true
  10766. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10767. newcmd.Text = "" .. HKV[i].Value
  10768. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10769. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10770. end
  10771. for i = 1, #CMDsV do
  10772. local YSize = 25
  10773. local Position = ((i * YSize) - YSize)
  10774. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  10775. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  10776. newcmd.Visible = true
  10777. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10778. newcmd.Text = "" .. CMDsV[i].Value
  10779. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10780. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  10781. end
  10782. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,0,1.018,-310),"Out","Quad",0.2,true) wait(0.1)
  10783. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  10784. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  10785. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end
  10786. function searchbar()
  10787. local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
  10788. local main = CSP
  10789. local frame = CSP:WaitForChild('CMDs')
  10790. local gui = CSP:WaitForChild('Search')
  10791. local focused = false
  10792. Match = function(name,str)
  10793. return name:lower():find(str:lower()) and true
  10794. end
  10795. gui.FocusLost:connect(function(enterpressed)
  10796. gui.Text = "Search"
  10797. end)
  10798. IndexContents = function(str,bool)
  10799. local Index,SizeY = 0,0
  10800. for i,v in next, frame:GetChildren() do
  10801. if bool then
  10802. if Match(v.Text,str) then
  10803. Index = Index + 1
  10804. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  10805. v.Visible = true
  10806. SizeY = SizeY + v.AbsoluteSize.Y
  10807. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  10808. else
  10809. v.Visible = false
  10810. end
  10811. else
  10812. v.Visible = true
  10813. SizeY = SizeY + v.AbsoluteSize.Y
  10814. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  10815. end
  10816. end
  10817. end
  10818. game:GetService('RunService').Stepped:connect(function()
  10819. if gui:IsFocused() and gui.Text == "Search" then
  10820. gui.Text = ''
  10821. end
  10822. end)
  10823. gui.Changed:connect(function()
  10824. if gui:IsFocused() then IndexContents(gui.Text,true) end
  10825. end)
  10826.  
  10827. IndexContents('',true)
  10828. end
  10829.  
  10830. function runwindow()
  10831. commands()
  10832. searchbar()
  10833. end
  10834.  
  10835. addcmd('settings','opens settings window',{'toggles'},
  10836. function(args, speaker)
  10837. if speaker.userId ~= LP.userId then
  10838. lponly(speaker)
  10839. else
  10840. runwindow()
  10841. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true)
  10842. wait(0.1)
  10843. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1.02,-301,1.018,-310),"Out","Quad",0.2,true)
  10844. wait(0.1)
  10845. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  10846. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true)
  10847. end
  10848. end)
  10849.  
  10850. function movetab(speaker,PART)
  10851. game:GetService('RunService').Stepped:connect(function()
  10852. if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then
  10853. PART.Locked = true
  10854. local cf = speaker.Character.HumanoidRootPart.CFrame
  10855. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  10856. PART.CFrame = newcf end end) end
  10857.  
  10858. hastab = {}
  10859. addcmd('tablet','opens tablet gui',{},
  10860. function(args, speaker)
  10861. for _, child in pairs( workspace:GetChildren()) do
  10862. if child.Name == speaker.Name .. "TAB" then
  10863. child:Destroy() end end
  10864. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  10865. local GUI = Instance.new("SurfaceGui")
  10866. local holder = Instance.new("Frame")
  10867. local bar = Instance.new("Frame")
  10868. local Title = Instance.new("TextLabel")
  10869. local MAIN = Instance.new("Frame")
  10870. local Example = Instance.new("TextLabel")
  10871. local CMDs = Instance.new("ScrollingFrame")
  10872. local PART = Instance.new("Part")
  10873. PART.Name = speaker.Name .. 'TAB'
  10874. PART.Color = maincolor
  10875. PART.Size = Vector3.new(7, 7.8, 0.2)
  10876. PART.Transparency = 0
  10877. PART.Locked = true
  10878. PART.CanCollide = false
  10879. PART.Parent = workspace
  10880. PART.Anchored = true
  10881. PART.Material = "Neon"
  10882. local GUI = Instance.new("SurfaceGui")
  10883. local holder = Instance.new("Frame")
  10884. local bar = Instance.new("Frame")
  10885. local Title = Instance.new("TextLabel")
  10886. local MAIN = Instance.new("Frame")
  10887. local Example = Instance.new("TextLabel")
  10888. local CMDs = Instance.new("ScrollingFrame")
  10889. GUI.Name = "GUI"
  10890. GUI.Parent = PART
  10891. GUI.CanvasSize = Vector2.new(500, 600)
  10892. GUI.Face = Enum.NormalId.Back
  10893. holder.Name = "holder"
  10894. holder.Parent = GUI
  10895. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  10896. holder.BackgroundTransparency = 1
  10897. holder.BorderSizePixel = 2
  10898. holder.Position = UDim2.new(0, 0, 0, 10)
  10899. holder.Size = UDim2.new(0, 300, 0, 330)
  10900. holder.ZIndex = 2
  10901. bar.Name = "bar"
  10902. bar.Parent = holder
  10903. bar.BackgroundColor3 = Color3.new(0, 0, 0)
  10904. bar.BackgroundTransparency = 0.89999997615814
  10905. bar.BorderSizePixel = 0
  10906. bar.Position = UDim2.new(0, 10, 1, -330)
  10907. bar.Size = UDim2.new(0, 480, 0, 33)
  10908. Title.Name = "Title"
  10909. Title.Parent = bar
  10910. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  10911. Title.BackgroundTransparency = 1
  10912. Title.Size = UDim2.new(1, 0, 0, 30)
  10913. Title.Font = Enum.Font.SourceSansBold
  10914. Title.FontSize = Enum.FontSize.Size24
  10915. Title.Text = "[Infinite Yield] Command List"
  10916. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  10917. MAIN.Name = "MAIN"
  10918. MAIN.Parent = holder
  10919. MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
  10920. MAIN.BackgroundTransparency = 0.89999997615814
  10921. MAIN.BorderSizePixel = 0
  10922. MAIN.Position = UDim2.new(0, 10, 1, -300)
  10923. MAIN.Size = UDim2.new(0, 480, 0, 550)
  10924. Example.Name = "Example"
  10925. Example.Parent = MAIN
  10926. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10927. Example.BackgroundTransparency = 1
  10928. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10929. Example.BorderSizePixel = 0
  10930. Example.Size = UDim2.new(0, 190, 0, 40)
  10931. Example.Visible = false
  10932. Example.Font = Enum.Font.SourceSansBold
  10933. Example.FontSize = Enum.FontSize.Size36
  10934. Example.Text = "txt"
  10935. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  10936. Example.TextStrokeTransparency = 0
  10937. Example.TextXAlignment = Enum.TextXAlignment.Left
  10938. Example.ZIndex = 6
  10939. CMDs.Name = "CMDs"
  10940. CMDs.Parent = MAIN
  10941. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10942. CMDs.BackgroundTransparency = 1
  10943. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  10944. CMDs.BorderSizePixel = 0
  10945. CMDs.Size = UDim2.new(0, 480, 0, 550)
  10946. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  10947. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  10948. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  10949. CMDs.ScrollBarThickness = 15
  10950. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  10951. local CMDsV = CMDsFolder:GetChildren()
  10952. for i = 1, #CMDsV do
  10953. local YSize = 35
  10954. local Position = ((i * YSize) - YSize)
  10955. local newcmd = Example:Clone()
  10956. newcmd.Parent = CMDs
  10957. newcmd.Visible = true
  10958. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  10959. newcmd.Text = "" .. CMDsV[i].Value
  10960. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  10961. local cf = speaker.Character.HumanoidRootPart.CFrame
  10962. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  10963. PART.CFrame = newcf
  10964. speaker.Character.Humanoid.Died:connect(function()
  10965. PART:Destroy() end)
  10966. wait(1)
  10967. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  10968. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  10969. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  10970. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  10971. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  10972. end)
  10973.  
  10974. function updatepositions()
  10975. if PList then
  10976. PList:ClearAllChildren()
  10977. PList.CanvasSize = UDim2.new(0, 0, 0, 10)
  10978. for i = 1, #WayPoints do
  10979. local YSize = 25
  10980. local Position = ((i * YSize) - YSize)
  10981. local newcmd = Example:Clone()
  10982. newcmd.Parent = PList
  10983. newcmd.Visible = true
  10984. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  10985. newcmd.Text = " " .. WayPoints[i].NAME .. ": " .. WayPoints[i].COORD[1] .. ", " .. WayPoints[i].COORD[2] .. ", " .. WayPoints[i].COORD[3]
  10986. PList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  10987. local goto = Instance.new("TextButton")
  10988. goto.Name = "goto"
  10989. goto.Parent = PList
  10990. goto.BackgroundColor3 = Color3.new(255, 255, 255)
  10991. goto.BackgroundTransparency = 0.30000001192093
  10992. goto.BorderColor3 = Color3.new(1, 0, 0)
  10993. goto.BorderSizePixel = 0
  10994. goto.Position = UDim2.new(0,-10,0, Position + 5)
  10995. goto.Size = UDim2.new(0, 20, 0, 20)
  10996. goto.FontSize = Enum.FontSize.Size14
  10997. goto.Text = ""
  10998. goto.ZIndex = 6
  10999. goto.MouseButton1Click:Connect(function()
  11000. execCmd("loadpos "..LP.Name.." "..WayPoints[i].NAME)
  11001. end)
  11002. end
  11003. end
  11004. end
  11005.  
  11006. posopen = false
  11007. addcmd("positions","lists waypoints",{'pos'},
  11008. function(args, speaker)
  11009. if posopen == false then
  11010. posopen = true
  11011. local Pos = Instance.new("ScreenGui")
  11012. local drag = Instance.new("Frame")
  11013. local PromptDialog = Instance.new("Frame")
  11014. local shadow = Instance.new("Frame")
  11015. local PopupText = Instance.new("TextLabel")
  11016. local Exit = Instance.new("TextButton")
  11017. local ContainerFrame = Instance.new("Frame")
  11018. PList = Instance.new("ScrollingFrame")
  11019. Pos.Name = "Pos"
  11020. Pos.Parent = game.CoreGui
  11021. drag.Name = "drag"
  11022. drag.Parent = Pos
  11023. drag.Active = true
  11024. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  11025. drag.BackgroundTransparency = 1
  11026. drag.Draggable = true
  11027. drag.Position = UDim2.new(0.5, -150, 0, -400)
  11028. drag.Size = UDim2.new(0, 290, 0, 30)
  11029. PromptDialog.Name = "PromptDialog"
  11030. PromptDialog.Parent = drag
  11031. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  11032. PromptDialog.BackgroundTransparency = 1
  11033. PromptDialog.BorderSizePixel = 0
  11034. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  11035. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  11036. PromptDialog.ZIndex = 8
  11037. shadow.Name = "shadow"
  11038. shadow.Parent = PromptDialog
  11039. shadow.BackgroundColor3 = maincolor
  11040. shadow.BackgroundTransparency = 0.30000001192093
  11041. shadow.BorderColor3 = Color3.new(0, 0, 0)
  11042. shadow.BorderSizePixel = 0
  11043. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  11044. shadow.Size = UDim2.new(0, 290, 0, 26)
  11045. PopupText.Name = "PopupText"
  11046. PopupText.Parent = shadow
  11047. PopupText.BackgroundTransparency = 1
  11048. PopupText.Position = UDim2.new(0, 8, 0, -3)
  11049. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  11050. PopupText.ZIndex = 110
  11051. PopupText.Font = Enum.Font.SourceSansBold
  11052. PopupText.FontSize = Enum.FontSize.Size28
  11053. PopupText.Text = "Positions"
  11054. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11055. PopupText.TextStrokeTransparency = 0
  11056. PopupText.TextWrapped = true
  11057. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  11058. Exit.Name = "Exit"
  11059. Exit.Parent = shadow
  11060. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  11061. Exit.BackgroundTransparency = 0.30000001192093
  11062. Exit.BorderColor3 = Color3.new(1, 0, 0)
  11063. Exit.BorderSizePixel = 0
  11064. Exit.Position = UDim2.new(0, 267, 0, 3)
  11065. Exit.Size = UDim2.new(0, 20, 0, 20)
  11066. Exit.FontSize = Enum.FontSize.Size14
  11067. Exit.Text = ""
  11068. ContainerFrame.Name = "ContainerFrame"
  11069. ContainerFrame.Parent = PromptDialog
  11070. ContainerFrame.BackgroundColor3 = maincolor
  11071. ContainerFrame.BackgroundTransparency = 0.5
  11072. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  11073. ContainerFrame.BorderSizePixel = 0
  11074. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  11075. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  11076. ContainerFrame.ZIndex = 5
  11077. PList.Name = "List"
  11078. PList.Parent = ContainerFrame
  11079. PList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11080. PList.BackgroundTransparency = 1
  11081. PList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11082. PList.BorderSizePixel = 0
  11083. PList.Position = UDim2.new(0, 10, 0, 5)
  11084. PList.Size = UDim2.new(0, 280, 0, 230)
  11085. PList.ZIndex = 6
  11086. PList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11087. PList.CanvasSize = UDim2.new(0, 0, 0, 10)
  11088. PList.MidImage = "rbxasset://textures/blackBkg_square.png"
  11089. PList.ScrollBarThickness = 8
  11090. PList.TopImage = "rbxasset://textures/blackBkg_square.png"
  11091. updatepositions()
  11092. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  11093. Exit.MouseButton1Click:Connect(function()
  11094. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  11095. wait(0.6) posopen = false Pos:Destroy() end) end
  11096. end)
  11097.  
  11098. function updateadmins()
  11099. if AList then
  11100. AList:ClearAllChildren()
  11101. AList.CanvasSize = UDim2.new(0, 0, 0, 10)
  11102. for i = 1, #adminname do
  11103. local YSize = 25
  11104. local Position = ((i * YSize) - YSize)
  11105. local newcmd = Example:Clone()
  11106. newcmd.Parent = AList
  11107. newcmd.Visible = true
  11108. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  11109. newcmd.Text = adminname[i].NAME
  11110. AList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  11111. end
  11112. end
  11113. end
  11114.  
  11115. adminsopen = false
  11116. adminname = {}
  11117. addcmd('admins','displays admins',{'adminlist'},
  11118. function(args, speaker)
  11119. if speaker.userId ~= LP.userId then
  11120. lponly(speaker) else
  11121. if adminsopen == false then
  11122. adminsopen = true
  11123. local admins = Instance.new("ScreenGui")
  11124. local drag = Instance.new("Frame")
  11125. local PromptDialog = Instance.new("Frame")
  11126. local shadow = Instance.new("Frame")
  11127. local PopupText = Instance.new("TextLabel")
  11128. local Exit = Instance.new("TextButton")
  11129. local ContainerFrame = Instance.new("Frame")
  11130. AList = Instance.new("ScrollingFrame")
  11131. admins.Name = "Admins"
  11132. admins.Parent = game.CoreGui
  11133. drag.Name = "drag"
  11134. drag.Parent = admins
  11135. drag.Active = true
  11136. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  11137. drag.BackgroundTransparency = 1
  11138. drag.Draggable = true
  11139. drag.Position = UDim2.new(0.5, -150, 0, -400)
  11140. drag.Size = UDim2.new(0, 290, 0, 30)
  11141. PromptDialog.Name = "PromptDialog"
  11142. PromptDialog.Parent = drag
  11143. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  11144. PromptDialog.BackgroundTransparency = 1
  11145. PromptDialog.BorderSizePixel = 0
  11146. PromptDialog.Position = UDim2.new(0, -10, 0, 0)
  11147. PromptDialog.Size = UDim2.new(0, 310, 0, 300)
  11148. PromptDialog.ZIndex = 8
  11149. shadow.Name = "shadow"
  11150. shadow.Parent = PromptDialog
  11151. shadow.BackgroundColor3 = maincolor
  11152. shadow.BackgroundTransparency = 0.30000001192093
  11153. shadow.BorderColor3 = Color3.new(0, 0, 0)
  11154. shadow.BorderSizePixel = 0
  11155. shadow.Position = UDim2.new(0.0322580636, 0, 0.00999999978, 0)
  11156. shadow.Size = UDim2.new(0, 290, 0, 26)
  11157. PopupText.Name = "PopupText"
  11158. PopupText.Parent = shadow
  11159. PopupText.BackgroundTransparency = 1
  11160. PopupText.Position = UDim2.new(0, 8, 0, -3)
  11161. PopupText.Size = UDim2.new(1, -16, 0.538461566, 0)
  11162. PopupText.ZIndex = 110
  11163. PopupText.Font = Enum.Font.SourceSansBold
  11164. PopupText.FontSize = Enum.FontSize.Size28
  11165. PopupText.Text = "Admins"
  11166. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11167. PopupText.TextStrokeTransparency = 0
  11168. PopupText.TextWrapped = true
  11169. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  11170. Exit.Name = "Exit"
  11171. Exit.Parent = shadow
  11172. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  11173. Exit.BackgroundTransparency = 0.30000001192093
  11174. Exit.BorderColor3 = Color3.new(1, 0, 0)
  11175. Exit.BorderSizePixel = 0
  11176. Exit.Position = UDim2.new(0, 267, 0, 3)
  11177. Exit.Size = UDim2.new(0, 20, 0, 20)
  11178. Exit.FontSize = Enum.FontSize.Size14
  11179. Exit.Text = ""
  11180. ContainerFrame.Name = "ContainerFrame"
  11181. ContainerFrame.Parent = PromptDialog
  11182. ContainerFrame.BackgroundColor3 = maincolor
  11183. ContainerFrame.BackgroundTransparency = 0.5
  11184. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  11185. ContainerFrame.BorderSizePixel = 0
  11186. ContainerFrame.Position = UDim2.new(0, 10, 0, 29)
  11187. ContainerFrame.Size = UDim2.new(0.935483873, 0, 0.806666672, 0)
  11188. ContainerFrame.ZIndex = 5
  11189. AList.Name = "List"
  11190. AList.Parent = ContainerFrame
  11191. AList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11192. AList.BackgroundTransparency = 1
  11193. AList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11194. AList.BorderSizePixel = 0
  11195. AList.Position = UDim2.new(0, 10, 0, 5)
  11196. AList.Size = UDim2.new(0, 280, 0, 230)
  11197. AList.ZIndex = 6
  11198. AList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11199. AList.CanvasSize = UDim2.new(0, 0, 0, 10)
  11200. AList.MidImage = "rbxasset://textures/blackBkg_square.png"
  11201. AList.ScrollBarThickness = 8
  11202. AList.TopImage = "rbxasset://textures/blackBkg_square.png"
  11203. updateadmins()
  11204. drag:TweenPosition(UDim2.new(0.5, -150, 0, 100), "InOut", "Quart", 0.5, true, nil)
  11205. Exit.MouseButton1Click:Connect(function()
  11206. drag:TweenPosition(UDim2.new(0.5, -150, 0, -400), "InOut", "Quart", 0.5, true, nil)
  11207. wait(0.6) adminsopen = false admins:Destroy() end) end end
  11208. end)
  11209.  
  11210. function updatebans()
  11211. if BList then
  11212. BList:ClearAllChildren()
  11213. BList.CanvasSize = UDim2.new(0, 0, 0, 10)
  11214. for i = 1, #banname do
  11215. local YSize = 25
  11216. local Position = ((i * YSize) - YSize)
  11217. local newcmd = Example:Clone()
  11218. newcmd.Parent = BList
  11219. newcmd.Visible = true
  11220. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  11221. newcmd.Text = " Name: " .. banname[i].NAME .. " | ID: " .. banname[i].ID .. " | Age: " .. banname[i].AGE
  11222. newcmd.TextSize = 20
  11223. BList.CanvasSize = UDim2.new(0,0,0, Position + 30)
  11224. local delet = Instance.new("TextButton")
  11225. delet.Name = "delet"
  11226. delet.Parent = BList
  11227. delet.BackgroundColor3 = Color3.new(1, 0, 0)
  11228. delet.BackgroundTransparency = 0.30000001192093
  11229. delet.BorderColor3 = Color3.new(1, 0, 0)
  11230. delet.BorderSizePixel = 0
  11231. delet.Position = UDim2.new(0,-10,0, Position + 5)
  11232. delet.Size = UDim2.new(0, 20, 0, 20)
  11233. delet.FontSize = Enum.FontSize.Size14
  11234. delet.Text = ""
  11235. delet.ZIndex = 6
  11236. delet.MouseButton1Click:Connect(function()
  11237. updatebans()
  11238. execCmd("unban "..banname[i].NAME)
  11239. end)
  11240. end
  11241. end
  11242. end
  11243.  
  11244. banname = {}
  11245. bansopen = false
  11246. addcmd('bans','displays bans',{'banlist'},
  11247. function(args, speaker)
  11248. if speaker.userId ~= LP.userId then
  11249. lponly(speaker) else
  11250. if bansopen == false then
  11251. bansopen = true
  11252. local Bans = Instance.new("ScreenGui")
  11253. local drag = Instance.new("Frame")
  11254. local PromptDialog = Instance.new("Frame")
  11255. local ContainerFrame = Instance.new("Frame")
  11256. BList = Instance.new("ScrollingFrame")
  11257. local shadow = Instance.new("Frame")
  11258. local Exit = Instance.new("TextButton")
  11259. local PopupText = Instance.new("TextLabel")
  11260. Bans.Name = "Bans"
  11261. Bans.Parent = game.CoreGui
  11262. drag.Name = "drag"
  11263. drag.Parent = Bans
  11264. drag.Active = true
  11265. drag.BackgroundColor3 = Color3.new(1, 1, 1)
  11266. drag.BackgroundTransparency = 1
  11267. drag.Draggable = true
  11268. drag.Position = UDim2.new(0.5, -225, 0, -400)
  11269. drag.Size = UDim2.new(0, 438, 0, 26)
  11270. PromptDialog.Name = "PromptDialog"
  11271. PromptDialog.Parent = drag
  11272. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  11273. PromptDialog.BackgroundTransparency = 1
  11274. PromptDialog.BorderSizePixel = 0
  11275. PromptDialog.Position = UDim2.new(0, 0, 0, -2)
  11276. PromptDialog.Size = UDim2.new(0, 438, 0, 300)
  11277. PromptDialog.ZIndex = 5
  11278. ContainerFrame.Name = "ContainerFrame"
  11279. ContainerFrame.Parent = PromptDialog
  11280. ContainerFrame.BackgroundColor3 = maincolor
  11281. ContainerFrame.BackgroundTransparency = 0.5
  11282. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  11283. ContainerFrame.BorderSizePixel = 0
  11284. ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
  11285. ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
  11286. ContainerFrame.ZIndex = 5
  11287. BList.Name = "List"
  11288. BList.Parent = ContainerFrame
  11289. BList.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11290. BList.BackgroundTransparency = 1
  11291. BList.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11292. BList.BorderSizePixel = 0
  11293. BList.Position = UDim2.new(0, 10, 0, 9)
  11294. BList.Size = UDim2.new(0, 428, 0, 230)
  11295. BList.ZIndex = 5
  11296. BList.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11297. BList.CanvasSize = UDim2.new(0, 0, 0, 10)
  11298. BList.MidImage = "rbxasset://textures/blackBkg_square.png"
  11299. BList.ScrollBarThickness = 8
  11300. BList.TopImage = "rbxasset://textures/blackBkg_square.png"
  11301. shadow.Name = "shadow"
  11302. shadow.Parent = PromptDialog
  11303. shadow.BackgroundColor3 = maincolor
  11304. shadow.BackgroundTransparency = 0.30000001192093
  11305. shadow.BorderColor3 = Color3.new(0, 0, 0)
  11306. shadow.BorderSizePixel = 0
  11307. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  11308. shadow.Size = UDim2.new(0, 438, 0, 26)
  11309. Exit.Name = "Exit"
  11310. Exit.Parent = shadow
  11311. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  11312. Exit.BackgroundTransparency = 0.30000001192093
  11313. Exit.BorderColor3 = Color3.new(1, 0, 0)
  11314. Exit.BorderSizePixel = 0
  11315. Exit.Position = UDim2.new(0, 415, 0, 3)
  11316. Exit.Size = UDim2.new(0, 20, 0, 20)
  11317. Exit.FontSize = Enum.FontSize.Size14
  11318. Exit.Text = ""
  11319. PopupText.Name = "PopupText"
  11320. PopupText.Parent = shadow
  11321. PopupText.BackgroundTransparency = 1
  11322. PopupText.Position = UDim2.new(0, 61, 0, -4)
  11323. PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
  11324. PopupText.ZIndex = 6
  11325. PopupText.Font = Enum.Font.SourceSansBold
  11326. PopupText.FontSize = Enum.FontSize.Size32
  11327. PopupText.Text = "Bans"
  11328. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11329. PopupText.TextStrokeTransparency = 0
  11330. PopupText.TextWrapped = true
  11331. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  11332. updatebans()
  11333. drag:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil)
  11334. Exit.MouseButton1Click:Connect(function()
  11335. drag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil)
  11336. wait(0.6) bansopen = false Bans:Destroy() end) end end
  11337. end)
  11338.  
  11339. addcmd('cmds','opens cmds window',{'commands'},
  11340. function(args, speaker)
  11341. if speaker.userId ~= LP.userId then
  11342. for _, child in pairs( workspace:GetChildren()) do
  11343. if child.Name == speaker.Name .. "TAB" then
  11344. child:Destroy() end end
  11345. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  11346. local GUI = Instance.new("SurfaceGui")
  11347. local holder = Instance.new("Frame")
  11348. local bar = Instance.new("Frame")
  11349. local Title = Instance.new("TextLabel")
  11350. local MAIN = Instance.new("Frame")
  11351. local Example = Instance.new("TextLabel")
  11352. local CMDs = Instance.new("ScrollingFrame")
  11353. local PART = Instance.new("Part")
  11354. PART.Name = speaker.Name .. 'TAB'
  11355. PART.Color = maincolor
  11356. PART.Size = Vector3.new(7, 7.8, 0.2)
  11357. PART.Transparency = 0
  11358. PART.Locked = true
  11359. PART.CanCollide = false
  11360. PART.Parent = workspace
  11361. PART.Anchored = true
  11362. PART.Material = "Neon"
  11363. local GUI = Instance.new("SurfaceGui")
  11364. local holder = Instance.new("Frame")
  11365. local bar = Instance.new("Frame")
  11366. local Title = Instance.new("TextLabel")
  11367. local MAIN = Instance.new("Frame")
  11368. local Example = Instance.new("TextLabel")
  11369. local CMDs = Instance.new("ScrollingFrame")
  11370. GUI.Name = "GUI"
  11371. GUI.Parent = PART
  11372. GUI.CanvasSize = Vector2.new(500, 600)
  11373. GUI.Face = Enum.NormalId.Back
  11374. holder.Name = "holder"
  11375. holder.Parent = GUI
  11376. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  11377. holder.BackgroundTransparency = 1
  11378. holder.BorderSizePixel = 2
  11379. holder.Position = UDim2.new(0, 0, 0, 10)
  11380. holder.Size = UDim2.new(0, 300, 0, 330)
  11381. holder.ZIndex = 2
  11382. bar.Name = "bar"
  11383. bar.Parent = holder
  11384. bar.BackgroundColor3 = Color3.new(0, 0, 0)
  11385. bar.BackgroundTransparency = 0.89999997615814
  11386. bar.BorderSizePixel = 0
  11387. bar.Position = UDim2.new(0, 10, 1, -330)
  11388. bar.Size = UDim2.new(0, 480, 0, 33)
  11389. Title.Name = "Title"
  11390. Title.Parent = bar
  11391. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  11392. Title.BackgroundTransparency = 1
  11393. Title.Size = UDim2.new(1, 0, 0, 30)
  11394. Title.Font = Enum.Font.SourceSansBold
  11395. Title.FontSize = Enum.FontSize.Size24
  11396. Title.Text = "[Infinite Yield] Command List"
  11397. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  11398. MAIN.Name = "MAIN"
  11399. MAIN.Parent = holder
  11400. MAIN.BackgroundColor3 = Color3.new(0, 0, 0)
  11401. MAIN.BackgroundTransparency = 0.89999997615814
  11402. MAIN.BorderSizePixel = 0
  11403. MAIN.Position = UDim2.new(0, 10, 1, -300)
  11404. MAIN.Size = UDim2.new(0, 480, 0, 550)
  11405. Example.Name = "Example"
  11406. Example.Parent = MAIN
  11407. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11408. Example.BackgroundTransparency = 1
  11409. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11410. Example.BorderSizePixel = 0
  11411. Example.Size = UDim2.new(0, 190, 0, 40)
  11412. Example.Visible = false
  11413. Example.Font = Enum.Font.SourceSansBold
  11414. Example.FontSize = Enum.FontSize.Size36
  11415. Example.Text = "txt"
  11416. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  11417. Example.TextStrokeTransparency = 0
  11418. Example.TextXAlignment = Enum.TextXAlignment.Left
  11419. Example.ZIndex = 6
  11420. CMDs.Name = "CMDs"
  11421. CMDs.Parent = MAIN
  11422. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11423. CMDs.BackgroundTransparency = 1
  11424. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11425. CMDs.BorderSizePixel = 0
  11426. CMDs.Size = UDim2.new(0, 480, 0, 550)
  11427. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11428. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  11429. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  11430. CMDs.ScrollBarThickness = 15
  11431. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  11432. local CMDsV = CMDsFolder:GetChildren()
  11433. for i = 1, #CMDsV do
  11434. local YSize = 35
  11435. local Position = ((i * YSize) - YSize)
  11436. local newcmd = Example:Clone()
  11437. newcmd.Parent = CMDs
  11438. newcmd.Visible = true
  11439. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  11440. newcmd.Text = "" .. CMDsV[i].Value
  11441. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  11442. local cf = speaker.Character.HumanoidRootPart.CFrame
  11443. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  11444. PART.CFrame = newcf
  11445. speaker.Character.Humanoid.Died:connect(function()
  11446. PART:Destroy() end)
  11447. wait(1)
  11448. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  11449. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  11450. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  11451. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  11452. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  11453. else
  11454. commands()
  11455. searchbar()
  11456. end
  11457. end)
  11458. cmdBAR.FocusLost:connect(function(enterpressed)
  11459. if enterpressed and cmdBAR.Text ~= "" then
  11460. spawn(function ()
  11461. execCmd(cmdBAR.Text, Player)
  11462. end)
  11463. end
  11464. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  11465. cmdBAR.BorderSizePixel = 1
  11466. wait(0.1)
  11467. cmdBAR.BorderSizePixel = 0
  11468. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  11469. end)
  11470. Mouse.KeyDown:connect(function(Key)
  11471. if (Key==cmdbarbind) then
  11472. cmdBAR:CaptureFocus()
  11473. cmdBAR.BorderSizePixel = 1
  11474. wait(0.1)
  11475. cmdBAR.BorderSizePixel = 2
  11476. end
  11477. end)
  11478. cmdBAR.Changed:connect(function (property)
  11479. if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end
  11480. end)
  11481. cmdBAR:GetPropertyChangedSignal("Text"):Connect(function()
  11482. local diff = cmdBAR.TextBounds.X-250
  11483. 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)
  11484. end)
  11485. cmdBAR.Focused:Connect(function() historyCount = 0 end)
  11486. game:GetService("UserInputService").InputBegan:Connect(function(input)
  11487. if not cmdBAR:IsFocused() then return end
  11488. if input.KeyCode == Enum.KeyCode.Up then
  11489. historyCount = historyCount + 1
  11490. if historyCount > #cmdHistory then historyCount = #cmdHistory end
  11491. cmdBAR.Text = cmdHistory[historyCount] or ""
  11492. elseif input.KeyCode == Enum.KeyCode.Down then
  11493. historyCount = historyCount - 1
  11494. if historyCount < 1 then historyCount = 1 end
  11495. cmdBAR.Text = cmdHistory[historyCount] or ""
  11496. end
  11497. end)
  11498. NOTIFY = DATA.Notification
  11499. NOTIFY.Parent = game.CoreGui
  11500. local usingNOTE = false
  11501. function Notify(msg)
  11502. spawn(function()
  11503. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  11504. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  11505. wait(0.5)
  11506. MusicPlayer:Hide()
  11507. if qopen == true then
  11508. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11509. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11510. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11511. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  11512. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false
  11513. NOTIFY.NOTIFY.NOTE.Text = msg
  11514. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  11515. if playerenabled == true then
  11516. wait(4)
  11517. if playerenabled == true then
  11518. MusicPlayer:Show()
  11519. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  11520. end
  11521. end
  11522. else
  11523. NOTIFY.NOTIFY.NOTE.Text = msg
  11524. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  11525. if playerenabled == true then
  11526. wait(4)
  11527. if playerenabled == true then
  11528. MusicPlayer:Show()
  11529. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  11530. end
  11531. end
  11532. end end end) end
  11533. 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
  11534. 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)
  11535. 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
  11536. 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
  11537. 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)
  11538. ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) wait(0.1)
  11539. Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) wait(0.2)
  11540. commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
  11541. local Logs = Instance.new("ScreenGui")
  11542. logdrag = Instance.new("Frame")
  11543. local PromptDialog = Instance.new("Frame")
  11544. local ContainerFrame = Instance.new("Frame")
  11545. local pos = Instance.new("Frame")
  11546. local clear = Instance.new("TextButton")
  11547. local scroll = Instance.new("ScrollingFrame")
  11548. local hl = Instance.new("Frame")
  11549. local whispers = Instance.new("Frame")
  11550. local CheckBox = Instance.new("ImageButton")
  11551. local box = Instance.new("TextButton")
  11552. local whispers_2 = Instance.new("TextLabel")
  11553. local chats = Instance.new("Frame")
  11554. local CheckBox_2 = Instance.new("ImageButton")
  11555. local box_2 = Instance.new("TextButton")
  11556. local chats_2 = Instance.new("TextLabel")
  11557. local commands = Instance.new("Frame")
  11558. local CheckBox_3 = Instance.new("ImageButton")
  11559. local box_3 = Instance.new("TextButton")
  11560. local commands_2 = Instance.new("TextLabel")
  11561. local shadow = Instance.new("Frame")
  11562. local Exit = Instance.new("TextButton")
  11563. local PopupText = Instance.new("TextLabel")
  11564. local Hide = Instance.new("TextButton")
  11565. Logs.Name = "Logs"
  11566. Logs.Parent = game.CoreGui
  11567. logdrag.Name = "drag"
  11568. logdrag.Parent = Logs
  11569. logdrag.Active = true
  11570. logdrag.BackgroundColor3 = Color3.new(1, 1, 1)
  11571. logdrag.BackgroundTransparency = 1
  11572. logdrag.Draggable = true
  11573. logdrag.Position = UDim2.new(0.5, -225, 0, -400)
  11574. logdrag.Size = UDim2.new(0, 438, 0, 26)
  11575. PromptDialog.Name = "PromptDialog"
  11576. PromptDialog.Parent = logdrag
  11577. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  11578. PromptDialog.BackgroundTransparency = 1
  11579. PromptDialog.BorderSizePixel = 0
  11580. PromptDialog.Position = UDim2.new(0, 0, 0, -2)
  11581. PromptDialog.Size = UDim2.new(0, 438, 0, 300)
  11582. PromptDialog.ZIndex = 5
  11583. PromptDialog.ClipsDescendants = true
  11584. ContainerFrame.Name = "ContainerFrame"
  11585. ContainerFrame.Parent = PromptDialog
  11586. ContainerFrame.BackgroundColor3 = maincolor
  11587. ContainerFrame.BackgroundTransparency = 0.5
  11588. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  11589. ContainerFrame.BorderSizePixel = 0
  11590. ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
  11591. ContainerFrame.Size = UDim2.new(1, 0, 0.829999983, 0)
  11592. ContainerFrame.ZIndex = 5
  11593. pos.Name = "pos"
  11594. pos.Parent = ContainerFrame
  11595. pos.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11596. pos.BackgroundTransparency = 1
  11597. pos.BorderColor3 = Color3.new(0, 0, 0)
  11598. pos.BorderSizePixel = 0
  11599. pos.Position = UDim2.new(0, 10, 0, 9)
  11600. pos.Size = UDim2.new(0, 428, 0, 230)
  11601. pos.ZIndex = 5
  11602. clear.Name = "clear"
  11603. clear.Parent = pos
  11604. clear.BackgroundColor3 = Color3.new(0, 0, 0)
  11605. clear.BackgroundTransparency = 0.80000001192093
  11606. clear.BorderColor3 = Color3.new(1, 1, 1)
  11607. clear.Position = UDim2.new(0, 3, 0, 3)
  11608. clear.Size = UDim2.new(0, 70, 0, 20)
  11609. clear.ZIndex = 5
  11610. clear.Font = Enum.Font.SourceSans
  11611. clear.FontSize = Enum.FontSize.Size14
  11612. clear.Text = "Clear"
  11613. clear.TextColor3 = Color3.new(1, 1, 1)
  11614. scroll.Name = "scroll"
  11615. scroll.Parent = pos
  11616. scroll.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11617. scroll.BackgroundTransparency = 1
  11618. scroll.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  11619. scroll.BorderSizePixel = 0
  11620. scroll.Size = UDim2.new(0, 413, 0, 193)
  11621. scroll.Position = UDim2.new(0.007, 0, 0.152, 0)
  11622. scroll.ZIndex = 5
  11623. scroll.BottomImage = "rbxasset://textures/blackBkg_square.png"
  11624. scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
  11625. scroll.MidImage = "rbxasset://textures/blackBkg_square.png"
  11626. scroll.ScrollBarThickness = 8
  11627. scroll.TopImage = "rbxasset://textures/blackBkg_square.png"
  11628. hl.Name = "hl"
  11629. hl.Parent = pos
  11630. hl.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11631. hl.BackgroundTransparency = 0.5
  11632. hl.BorderColor3 = Color3.new(0, 0, 0)
  11633. hl.BorderSizePixel = 0
  11634. hl.Position = UDim2.new(0, 2, 0, 35)
  11635. hl.Size = UDim2.new(0.799065411, 72, 0.839130461, 0)
  11636. hl.ZIndex = 5
  11637. whispers.Name = "whispers"
  11638. whispers.Parent = pos
  11639. whispers.BackgroundColor3 = Color3.new(1, 1, 1)
  11640. whispers.BackgroundTransparency = 1
  11641. whispers.Size = UDim2.new(0, 428, 0, 230)
  11642. CheckBox.Name = "CheckBox"
  11643. CheckBox.Parent = whispers
  11644. CheckBox.BackgroundTransparency = 1
  11645. CheckBox.Position = UDim2.new(0.574635506, 0, 0, 2)
  11646. CheckBox.Size = UDim2.new(0, 20, 0, 20)
  11647. CheckBox.ZIndex = 6
  11648. CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
  11649. box.Name = "box"
  11650. box.Parent = whispers
  11651. box.BackgroundColor3 = Color3.new(0, 0, 0)
  11652. box.BackgroundTransparency = 0.80000001192093
  11653. box.BorderColor3 = Color3.new(1, 1, 1)
  11654. box.Position = UDim2.new(0, 172, 0, 3)
  11655. box.Size = UDim2.new(0, 94, 0, 20)
  11656. box.ZIndex = 5
  11657. box.Font = Enum.Font.SourceSans
  11658. box.FontSize = Enum.FontSize.Size14
  11659. box.Text = ""
  11660. box.TextColor3 = Color3.new(1, 1, 1)
  11661. whispers_2.Name = "whispers"
  11662. whispers_2.Parent = whispers
  11663. whispers_2.BackgroundColor3 = Color3.new(1, 1, 1)
  11664. whispers_2.BackgroundTransparency = 1
  11665. whispers_2.Position = UDim2.new(0, 172, 0, 3)
  11666. whispers_2.Size = UDim2.new(0.126168221, 20, -0.0434782617, 30)
  11667. whispers_2.ZIndex = 6
  11668. whispers_2.Font = Enum.Font.SourceSansBold
  11669. whispers_2.FontSize = Enum.FontSize.Size14
  11670. whispers_2.Text = "Whispers"
  11671. whispers_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  11672. chats.Name = "chats"
  11673. chats.Parent = pos
  11674. chats.BackgroundColor3 = Color3.new(1, 1, 1)
  11675. chats.BackgroundTransparency = 1
  11676. chats.Size = UDim2.new(0, 428, 0, 230)
  11677. CheckBox_2.Name = "CheckBox"
  11678. CheckBox_2.Parent = chats
  11679. CheckBox_2.BackgroundTransparency = 1
  11680. CheckBox_2.Position = UDim2.new(0.324635506, 0, 3.49245965e-08, 2)
  11681. CheckBox_2.Size = UDim2.new(0, 20, 0, 20)
  11682. CheckBox_2.ZIndex = 6
  11683. CheckBox_2.Image = "http://www.roblox.com/asset/?id=65492641"
  11684. box_2.Name = "box"
  11685. box_2.Parent = chats
  11686. box_2.BackgroundColor3 = Color3.new(0, 0, 0)
  11687. box_2.BackgroundTransparency = 0.80000001192093
  11688. box_2.BorderColor3 = Color3.new(1, 1, 1)
  11689. box_2.Position = UDim2.new(0, 86, 0, 3)
  11690. box_2.Size = UDim2.new(0, 73, 0, 20)
  11691. box_2.ZIndex = 5
  11692. box_2.Font = Enum.Font.SourceSans
  11693. box_2.FontSize = Enum.FontSize.Size14
  11694. box_2.Text = ""
  11695. box_2.TextColor3 = Color3.new(1, 1, 1)
  11696. chats_2.Name = "chats"
  11697. chats_2.Parent = chats
  11698. chats_2.BackgroundColor3 = Color3.new(1, 1, 1)
  11699. chats_2.BackgroundTransparency = 1
  11700. chats_2.Position = UDim2.new(0, 86, 0, 2)
  11701. chats_2.Size = UDim2.new(0.0771028027, 20, -0.0434782617, 30)
  11702. chats_2.ZIndex = 6
  11703. chats_2.Font = Enum.Font.SourceSansBold
  11704. chats_2.FontSize = Enum.FontSize.Size14
  11705. chats_2.Text = "Chats"
  11706. chats_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  11707. commands.Name = "commands"
  11708. commands.Parent = pos
  11709. commands.BackgroundColor3 = Color3.new(1, 1, 1)
  11710. commands.BackgroundTransparency = 1
  11711. commands.Size = UDim2.new(0, 428, 0, 230)
  11712. CheckBox_3.Name = "CheckBox"
  11713. CheckBox_3.Parent = commands
  11714. CheckBox_3.BackgroundTransparency = 1
  11715. CheckBox_3.Position = UDim2.new(0.844495356, 0, 0, 2)
  11716. CheckBox_3.Size = UDim2.new(0, 20, 0, 20)
  11717. CheckBox_3.ZIndex = 6
  11718. CheckBox_3.Image = "http://www.roblox.com/asset/?id=65492641"
  11719. box_3.Name = "box"
  11720. box_3.Parent = commands
  11721. box_3.BackgroundColor3 = Color3.new(0, 0, 0)
  11722. box_3.BackgroundTransparency = 0.80000001192093
  11723. box_3.BorderColor3 = Color3.new(1, 1, 1)
  11724. box_3.Position = UDim2.new(0, 279, 0, 3)
  11725. box_3.Size = UDim2.new(0, 102, 0, 20)
  11726. box_3.ZIndex = 5
  11727. box_3.Font = Enum.Font.SourceSans
  11728. box_3.FontSize = Enum.FontSize.Size14
  11729. box_3.Text = ""
  11730. box_3.TextColor3 = Color3.new(1, 1, 1)
  11731. commands_2.Name = "commands"
  11732. commands_2.Parent = commands
  11733. commands_2.BackgroundColor3 = Color3.new(1, 1, 1)
  11734. commands_2.BackgroundTransparency = 1
  11735. commands_2.Position = UDim2.new(0, 279, 0, 3)
  11736. commands_2.Size = UDim2.new(0.144859806, 20, -0.0434782617, 30)
  11737. commands_2.ZIndex = 6
  11738. commands_2.Font = Enum.Font.SourceSansBold
  11739. commands_2.FontSize = Enum.FontSize.Size14
  11740. commands_2.Text = "Commands"
  11741. commands_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  11742. shadow.Name = "shadow"
  11743. shadow.Parent = PromptDialog
  11744. shadow.BackgroundColor3 = maincolor
  11745. shadow.BackgroundTransparency = 0.30000001192093
  11746. shadow.BorderColor3 = Color3.new(0, 0, 0)
  11747. shadow.BorderSizePixel = 0
  11748. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  11749. shadow.Size = UDim2.new(0, 438, 0, 26)
  11750. Exit.Name = "Exit"
  11751. Exit.Parent = shadow
  11752. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  11753. Exit.BackgroundTransparency = 0.30000001192093
  11754. Exit.BorderColor3 = Color3.new(1, 0, 0)
  11755. Exit.BorderSizePixel = 0
  11756. Exit.Position = UDim2.new(0, 415, 0, 3)
  11757. Exit.Size = UDim2.new(0, 20, 0, 20)
  11758. Exit.FontSize = Enum.FontSize.Size14
  11759. Exit.Text = ""
  11760. PopupText.Name = "PopupText"
  11761. PopupText.Parent = shadow
  11762. PopupText.BackgroundTransparency = 1
  11763. PopupText.Position = UDim2.new(0, 61, 0, -5)
  11764. PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
  11765. PopupText.ZIndex = 6
  11766. PopupText.Font = Enum.Font.SourceSansBold
  11767. PopupText.TextSize = 31
  11768. PopupText.Text = "Logs"
  11769. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  11770. PopupText.TextStrokeTransparency = 0
  11771. PopupText.TextWrapped = true
  11772. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  11773. Hide.Name = "Hide"
  11774. Hide.Parent = shadow
  11775. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  11776. Hide.BackgroundTransparency = 0.30000001192093
  11777. Hide.BorderColor3 = Color3.new(1, 1, 1)
  11778. Hide.BorderSizePixel = 0
  11779. Hide.Position = UDim2.new(0.800000012, 41, 0, 3)
  11780. Hide.Size = UDim2.new(0, 20, 0, 20)
  11781. Hide.FontSize = Enum.FontSize.Size14
  11782. Hide.Text = ""
  11783. checked = "http://www.roblox.com/asset/?id=65492641"
  11784. unchecked = "http://www.roblox.com/asset/?id=65492651"
  11785. if chatsV == true then
  11786. CheckBox_2.Image = checked else
  11787. CheckBox_2.Image = unchecked end
  11788. box_2.MouseButton1Down:connect(function()
  11789. if chatsV == true then chatsV = false
  11790. CheckBox_2.Image = unchecked updatefile() else
  11791. chatsV = true
  11792. CheckBox_2.Image = checked updatefile() end end)
  11793. if whispersV == true then
  11794. CheckBox.Image = checked else
  11795. CheckBox.Image = unchecked end
  11796. box.MouseButton1Down:connect(function()
  11797. if whispersV == true then whispersV = false
  11798. CheckBox.Image = unchecked updatefile() else
  11799. whispersV = true
  11800. CheckBox.Image = checked updatefile() end end)
  11801. if commandsV == true then
  11802. CheckBox_3.Image = checked else
  11803. CheckBox_3.Image = unchecked end
  11804. box_3.MouseButton1Down:connect(function()
  11805. if commandsV == true then commandsV = false
  11806. CheckBox_3.Image = unchecked updatefile() else
  11807. commandsV = true
  11808. CheckBox_3.Image = checked updatefile() end end)
  11809. clear.MouseButton1Down:connect(function()
  11810. for _, child in pairs( scroll:GetChildren()) do
  11811. child:Destroy() end
  11812. scroll.CanvasSize = UDim2.new(0, 0, 0, 10)
  11813. end)
  11814. Exit.MouseButton1Down:connect(function()
  11815. logdrag:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil)
  11816. logsopen = false
  11817. end)
  11818. hidden = false
  11819. Hide.MouseButton1Down:connect(function()
  11820. if hidden == false then hidden = true
  11821. ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, -300), "InOut", "Quart", 0.5, true, nil)
  11822. else ContainerFrame:TweenPosition(UDim2.new(0, 0, 0, 29), "InOut", "Quart", 0.5, true, nil) hidden = false
  11823. end end)
  11824. function logtime() -- time function from aperture
  11825. local HOUR = math.floor((tick() % 86400) / 3600)
  11826. local MINUTE = math.floor((tick() % 3600) / 60)
  11827. local SECOND = math.floor(tick() % 60)
  11828. local AP = HOUR > 11 and 'PM' or 'AM'
  11829. HOUR = (HOUR % 12 == 0 and 12 or HOUR % 12)
  11830. HOUR = HOUR < 10 and '0' .. HOUR or HOUR
  11831. MINUTE = MINUTE < 10 and '0' .. MINUTE or MINUTE
  11832. SECOND = SECOND < 10 and '0' .. SECOND or SECOND
  11833. return HOUR .. ':' .. MINUTE .. ':' .. SECOND .. ' ' .. AP end
  11834. function CreateLabel(Name, Text)
  11835. local sf = scroll
  11836. if #sf:GetChildren() >= 2546 then
  11837. sf:ClearAllChildren()
  11838. end
  11839. local alls = 0
  11840. for i,v in pairs(sf:GetChildren()) do
  11841. if v then
  11842. alls = v.Size.Y.Offset + alls
  11843. end
  11844. if not v then
  11845. alls = 0
  11846. end
  11847. end
  11848. local tl = Instance.new('TextLabel', sf)
  11849. local il = Instance.new('Frame', tl)
  11850. tl.Name = Name
  11851. tl.ZIndex = 6
  11852. tl.Text = logtime().." - ["..Name.."]: "..Text
  11853. tl.Size = UDim2.new(0,410,0,84)
  11854. tl.BackgroundTransparency = 1
  11855. tl.BorderSizePixel = 0
  11856. tl.Font = "SourceSansBold"
  11857. tl.Position = UDim2.new(-1,0,0,alls)
  11858. tl.TextTransparency = 1
  11859. tl.TextScaled = false
  11860. tl.TextSize = 14
  11861. tl.TextWrapped = true
  11862. tl.TextXAlignment = "Left"
  11863. tl.TextYAlignment = "Top"
  11864. il.BackgroundTransparency = 1
  11865. il.BorderSizePixel = 0
  11866. il.Size = UDim2.new(0,12,1,0)
  11867. il.Position = UDim2.new(0,410,0,0)
  11868. tl.TextColor3 = Color3.fromRGB(255,255,255)
  11869. tl.Size = UDim2.new(0,410,0,tl.TextBounds.Y)
  11870. sf.CanvasSize = UDim2.new(0,0,0,alls+tl.TextBounds.Y)
  11871. sf.CanvasPosition = Vector2.new(0,sf.CanvasPosition.Y+tl.TextBounds.Y)
  11872. local size2 = sf.CanvasSize.Y.Offset
  11873. tl:TweenPosition(UDim2.new(0,0,0,alls), 'In', 'Quint', 0.5)
  11874. for i = 0,50 do wait(0.05)
  11875. tl.TextTransparency = tl.TextTransparency - 0.05
  11876. end
  11877. tl.TextTransparency = 0
  11878. end logsloaded = true
  11879. local intro = Instance.new("ScreenGui")
  11880. local Frame = Instance.new("Frame")
  11881. local Circle = Instance.new("ImageLabel")
  11882. local ImageLabel = Instance.new("ImageLabel")
  11883. intro.Name = "intro"
  11884. intro.Parent = game.CoreGui
  11885. Frame.Parent = intro
  11886. Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11887. Frame.BackgroundTransparency = 1
  11888. Frame.BorderSizePixel = 0
  11889. Frame.ClipsDescendants = true
  11890. Frame.Position = UDim2.new(0.5, -125, 0.5, -125)
  11891. Frame.Size = UDim2.new(0, 250, 0, 250)
  11892. Circle.Name = "Circle"
  11893. Circle.Parent = Frame
  11894. Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  11895. Circle.BackgroundTransparency = 1
  11896. Circle.BorderSizePixel = 0
  11897. Circle.Position = UDim2.new(0.5, 0, 0.5, 0)
  11898. Circle.Image = "rbxassetid://631172870"
  11899. Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  11900. ImageLabel.Parent = Frame
  11901. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  11902. ImageLabel.BackgroundTransparency = 1
  11903. ImageLabel.BorderSizePixel = 0
  11904. ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  11905. ImageLabel.Image = "rbxassetid://1352543873"
  11906. Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.2)
  11907. local g = intro
  11908. local f = Frame
  11909. local imagef = Circle
  11910. local logof = ImageLabel
  11911. imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.5)
  11912. logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.5)
  11913. repeat wait() until imagef.Size == UDim2.new(3,0,3,0) and logof.Size == UDim2.new(1,0,1,0)
  11914. f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.5)
  11915. repeat wait() until f.Size == UDim2.new(0,300,0,300)
  11916. f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.5)
  11917. repeat wait() until f.Size == UDim2.new(0,250,0,250)
  11918. if workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
  11919. elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
  11920. local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
  11921. local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
  11922. 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
  11923. 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)
  11924. 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)
  11925. 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)
  11926. 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
  11927. 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
  11928. 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)
  11929. 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)
  11930. settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0)
  11931. 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
  11932. 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
  11933. 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)
  11934. 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)
  11935. 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)
  11936. mix.Name = "mix" mix.Parent = sheild mix.BackgroundTransparency = 1 mix.Position = UDim2.new(0, 340, 0, 0)
  11937. 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)
  11938. 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
  11939. lockic = Instance.new("ImageLabel")
  11940. lockic.Name = "lock"
  11941. lockic.Parent = iy
  11942. lockic.BackgroundColor3 = Color3.new(1, 1, 1)
  11943. lockic.BackgroundTransparency = 1
  11944. lockic.ImageTransparency = 1
  11945. lockic.BorderSizePixel = 0
  11946. lockic.Position = UDim2.new(0, 53, 0, -3)
  11947. lockic.Size = UDim2.new(0, 40, 0, 40)
  11948. lockic.Image = "rbxassetid://1495252742"
  11949. 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)
  11950. 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
  11951. 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
  11952. 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)
  11953. 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
  11954. picker = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01333392047") picker.Parent = game.CoreGui picker.ColorPicker.Visible = false picker.ColorPicker.Position = UDim2.new(0.5, -219, 0, -500)
  11955. 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)
  11956. PKR = picker.ColorPicker
  11957. local ColorPicker do
  11958. ColorPicker = {}
  11959.  
  11960. ColorPicker.new = function()
  11961. local newMt = setmetatable({},{})
  11962.  
  11963. local pickerGui = picker.ColorPicker
  11964. local pickerTopBar = pickerGui.TopBar
  11965. local pickerFrame = pickerGui.Content
  11966. local colorSpace = pickerFrame.ColorSpaceFrame.ColorSpace
  11967. local colorStrip = pickerFrame.ColorStrip
  11968. local previewFrame = pickerFrame.Preview
  11969. local basicColorsFrame = pickerFrame.BasicColors
  11970. local customColorsFrame = pickerFrame.CustomColors
  11971. local okButton = pickerFrame.Ok
  11972. local cancelButton = pickerFrame.Cancel
  11973. local defaultButton = pickerFrame.Default
  11974.  
  11975. local colorScope = colorSpace.Scope
  11976. local colorArrow = pickerFrame.ArrowFrame.Arrow
  11977.  
  11978. local hueInput = pickerFrame.Hue.Input
  11979. local satInput = pickerFrame.Sat.Input
  11980. local valInput = pickerFrame.Val.Input
  11981.  
  11982. local redInput = pickerFrame.Red.Input
  11983. local greenInput = pickerFrame.Green.Input
  11984. local blueInput = pickerFrame.Blue.Input
  11985.  
  11986. local user = game:GetService("UserInputService")
  11987. local mouse = game:GetService("Players").LocalPlayer:GetMouse()
  11988.  
  11989. local hue,sat,val = 0,0,1
  11990. local red,green,blue = 1,1,1
  11991. local chosenColor = Color3.new(0,0,0)
  11992.  
  11993. 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)}
  11994. local customColors = {}
  11995.  
  11996. local function updateColor(noupdate)
  11997. local relativeX,relativeY,relativeStripY = 219 - hue*219, 199 - sat*199, 199 - val*199
  11998. local hsvColor = Color3.fromHSV(hue,sat,val)
  11999.  
  12000. if noupdate == 2 or not noupdate then
  12001. hueInput.Text = tostring(math.ceil(359*hue))
  12002. satInput.Text = tostring(math.ceil(255*sat))
  12003. valInput.Text = tostring(math.floor(255*val))
  12004. end
  12005. if noupdate == 1 or not noupdate then
  12006. redInput.Text = tostring(math.floor(255*red))
  12007. greenInput.Text = tostring(math.floor(255*green))
  12008. blueInput.Text = tostring(math.floor(255*blue))
  12009. end
  12010.  
  12011. chosenColor = Color3.new(red,green,blue)
  12012.  
  12013. colorScope.Position = UDim2.new(0,relativeX-9,0,relativeY-9)
  12014. colorStrip.ImageColor3 = Color3.fromHSV(hue,sat,1)
  12015. colorArrow.Position = UDim2.new(0,-2,0,relativeStripY-4)
  12016. previewFrame.BackgroundColor3 = chosenColor
  12017.  
  12018. newMt.Color = chosenColor
  12019. if newMt.Changed then newMt:Changed(chosenColor) end
  12020. end
  12021.  
  12022. local function colorSpaceInput()
  12023. local relativeX = mouse.X - colorSpace.AbsolutePosition.X
  12024. local relativeY = mouse.Y - colorSpace.AbsolutePosition.Y
  12025.  
  12026. if relativeX < 0 then relativeX = 0 elseif relativeX > 219 then relativeX = 219 end
  12027. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  12028.  
  12029. hue = (219 - relativeX)/219
  12030. sat = (199 - relativeY)/199
  12031.  
  12032. local hsvColor = Color3.fromHSV(hue,sat,val)
  12033. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  12034.  
  12035. updateColor()
  12036. end
  12037.  
  12038. local function colorStripInput()
  12039. local relativeY = mouse.Y - colorStrip.AbsolutePosition.Y
  12040.  
  12041. if relativeY < 0 then relativeY = 0 elseif relativeY > 199 then relativeY = 199 end
  12042.  
  12043. val = (199 - relativeY)/199
  12044.  
  12045. local hsvColor = Color3.fromHSV(hue,sat,val)
  12046. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  12047.  
  12048. updateColor()
  12049. end
  12050.  
  12051. local function hookButtons(frame,func)
  12052. frame.ArrowFrame.Up.InputBegan:Connect(function(input)
  12053. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12054. frame.ArrowFrame.Up.BackgroundTransparency = 0.5
  12055. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  12056. local releaseEvent,runEvent
  12057.  
  12058. local startTime = tick()
  12059. local pressing = true
  12060. local startNum = tonumber(frame.Text)
  12061.  
  12062. if not startNum then return end
  12063.  
  12064. releaseEvent = user.InputEnded:Connect(function(input)
  12065. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  12066. releaseEvent:Disconnect()
  12067. pressing = false
  12068. end)
  12069.  
  12070. startNum = startNum + 1
  12071. func(startNum)
  12072. while pressing do
  12073. if tick()-startTime > 0.3 then
  12074. startNum = startNum + 1
  12075. func(startNum)
  12076. end
  12077. wait(0.1)
  12078. end
  12079. end
  12080. end)
  12081.  
  12082. frame.ArrowFrame.Up.InputEnded:Connect(function(input)
  12083. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12084. frame.ArrowFrame.Up.BackgroundTransparency = 1
  12085. end
  12086. end)
  12087.  
  12088. frame.ArrowFrame.Down.InputBegan:Connect(function(input)
  12089. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12090. frame.ArrowFrame.Down.BackgroundTransparency = 0.5
  12091. elseif input.UserInputType == Enum.UserInputType.MouseButton1 then
  12092. local releaseEvent,runEvent
  12093.  
  12094. local startTime = tick()
  12095. local pressing = true
  12096. local startNum = tonumber(frame.Text)
  12097.  
  12098. if not startNum then return end
  12099.  
  12100. releaseEvent = user.InputEnded:Connect(function(input)
  12101. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  12102. releaseEvent:Disconnect()
  12103. pressing = false
  12104. end)
  12105.  
  12106. startNum = startNum - 1
  12107. func(startNum)
  12108. while pressing do
  12109. if tick()-startTime > 0.3 then
  12110. startNum = startNum - 1
  12111. func(startNum)
  12112. end
  12113. wait(0.1)
  12114. end
  12115. end
  12116. end)
  12117.  
  12118. frame.ArrowFrame.Down.InputEnded:Connect(function(input)
  12119. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12120. frame.ArrowFrame.Down.BackgroundTransparency = 1
  12121. end
  12122. end)
  12123. end
  12124.  
  12125. colorSpace.InputBegan:Connect(function(input)
  12126. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  12127. local releaseEvent,mouseEvent
  12128.  
  12129. releaseEvent = user.InputEnded:Connect(function(input)
  12130. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  12131. releaseEvent:Disconnect()
  12132. mouseEvent:Disconnect()
  12133. end)
  12134.  
  12135. mouseEvent = user.InputChanged:Connect(function(input)
  12136. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12137. colorSpaceInput()
  12138. end
  12139. end)
  12140.  
  12141. colorSpaceInput()
  12142. end
  12143. end)
  12144.  
  12145. colorStrip.InputBegan:Connect(function(input)
  12146. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  12147. local releaseEvent,mouseEvent
  12148.  
  12149. releaseEvent = user.InputEnded:Connect(function(input)
  12150. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  12151. releaseEvent:Disconnect()
  12152. mouseEvent:Disconnect()
  12153. end)
  12154.  
  12155. mouseEvent = user.InputChanged:Connect(function(input)
  12156. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12157. colorStripInput()
  12158. end
  12159. end)
  12160.  
  12161. colorStripInput()
  12162. end
  12163. end)
  12164.  
  12165. local function updateHue(str)
  12166. local num = tonumber(str)
  12167. if num then
  12168. hue = math.clamp(math.floor(num),0,359)/359
  12169. local hsvColor = Color3.fromHSV(hue,sat,val)
  12170. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  12171. hueInput.Text = tostring(hue*359)
  12172. updateColor(1)
  12173. end
  12174. end
  12175. hueInput.FocusLost:Connect(function() updateHue(hueInput.Text) end) hookButtons(hueInput,updateHue)
  12176.  
  12177. local function updateSat(str)
  12178. local num = tonumber(str)
  12179. if num then
  12180. sat = math.clamp(math.floor(num),0,255)/255
  12181. local hsvColor = Color3.fromHSV(hue,sat,val)
  12182. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  12183. satInput.Text = tostring(sat*255)
  12184. updateColor(1)
  12185. end
  12186. end
  12187. satInput.FocusLost:Connect(function() updateSat(satInput.Text) end) hookButtons(satInput,updateSat)
  12188.  
  12189. local function updateVal(str)
  12190. local num = tonumber(str)
  12191. if num then
  12192. val = math.clamp(math.floor(num),0,255)/255
  12193. local hsvColor = Color3.fromHSV(hue,sat,val)
  12194. red,green,blue = hsvColor.r,hsvColor.g,hsvColor.b
  12195. valInput.Text = tostring(val*255)
  12196. updateColor(1)
  12197. end
  12198. end
  12199. valInput.FocusLost:Connect(function() updateVal(valInput.Text) end) hookButtons(valInput,updateVal)
  12200.  
  12201. local function updateRed(str)
  12202. local num = tonumber(str)
  12203. if num then
  12204. red = math.clamp(math.floor(num),0,255)/255
  12205. local newColor = Color3.new(red,green,blue)
  12206. hue,sat,val = Color3.toHSV(newColor)
  12207. redInput.Text = tostring(red*255)
  12208. updateColor(2)
  12209. end
  12210. end
  12211. redInput.FocusLost:Connect(function() updateRed(redInput.Text) end) hookButtons(redInput,updateRed)
  12212.  
  12213. local function updateGreen(str)
  12214. local num = tonumber(str)
  12215. if num then
  12216. green = math.clamp(math.floor(num),0,255)/255
  12217. local newColor = Color3.new(red,green,blue)
  12218. hue,sat,val = Color3.toHSV(newColor)
  12219. greenInput.Text = tostring(green*255)
  12220. updateColor(2)
  12221. end
  12222. end
  12223. greenInput.FocusLost:Connect(function() updateGreen(greenInput.Text) end) hookButtons(greenInput,updateGreen)
  12224.  
  12225. local function updateBlue(str)
  12226. local num = tonumber(str)
  12227. if num then
  12228. blue = math.clamp(math.floor(num),0,255)/255
  12229. local newColor = Color3.new(red,green,blue)
  12230. hue,sat,val = Color3.toHSV(newColor)
  12231. blueInput.Text = tostring(blue*255)
  12232. updateColor(2)
  12233. end
  12234. end
  12235. blueInput.FocusLost:Connect(function() updateBlue(blueInput.Text) end) hookButtons(blueInput,updateBlue)
  12236.  
  12237. local colorChoice = Instance.new("TextButton")
  12238. colorChoice.Name = "Choice"
  12239. colorChoice.Size = UDim2.new(0,25,0,18)
  12240. colorChoice.BorderColor3 = Color3.new(96/255,96/255,96/255)
  12241. colorChoice.Text = ""
  12242. colorChoice.AutoButtonColor = false
  12243.  
  12244. local row = 0
  12245. local column = 0
  12246. for i,v in pairs(basicColors) do
  12247. local newColor = colorChoice:Clone()
  12248. newColor.BackgroundColor3 = v
  12249. newColor.Position = UDim2.new(0,1 + 30*column,0,21 + 23*row)
  12250.  
  12251. newColor.MouseButton1Click:Connect(function()
  12252. red,green,blue = v.r,v.g,v.b
  12253. local newColor = Color3.new(red,green,blue)
  12254. hue,sat,val = Color3.toHSV(newColor)
  12255. updateColor()
  12256. end)
  12257.  
  12258. newColor.Parent = basicColorsFrame
  12259. column = column + 1
  12260. if column == 6 then row = row + 1 column = 0 end
  12261. end
  12262.  
  12263. row = 0
  12264. column = 0
  12265. for i = 1,12 do
  12266. local color = customColors[i] or Color3.new(0,0,0)
  12267. local newColor = colorChoice:Clone()
  12268. newColor.BackgroundColor3 = color
  12269. newColor.Position = UDim2.new(0,1 + 30*column,0,20 + 23*row)
  12270.  
  12271. newColor.MouseButton1Click:Connect(function()
  12272. local curColor = customColors[i] or Color3.new(0,0,0)
  12273. red,green,blue = curColor.r,curColor.g,curColor.b
  12274. hue,sat,val = Color3.toHSV(curColor)
  12275. updateColor()
  12276. end)
  12277.  
  12278. newColor.MouseButton2Click:Connect(function()
  12279. customColors[i] = chosenColor
  12280. newColor.BackgroundColor3 = chosenColor
  12281. end)
  12282.  
  12283. newColor.Parent = customColorsFrame
  12284. column = column + 1
  12285. if column == 6 then row = row + 1 column = 0 end
  12286. end
  12287.  
  12288. pickerTopBar.InputBegan:Connect(function(input)
  12289. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  12290. local releaseEvent,mouseEvent
  12291. local dragOffX,dragOffY = mouse.X-pickerTopBar.AbsolutePosition.X,mouse.Y-pickerTopBar.AbsolutePosition.Y
  12292.  
  12293. releaseEvent = user.InputEnded:Connect(function(input)
  12294. if input.UserInputType ~= Enum.UserInputType.MouseButton1 then return end
  12295. releaseEvent:Disconnect()
  12296. mouseEvent:Disconnect()
  12297. end)
  12298.  
  12299. mouseEvent = user.InputChanged:Connect(function(input)
  12300. if input.UserInputType == Enum.UserInputType.MouseMovement then
  12301. pickerGui.Position = UDim2.new(0,mouse.X-dragOffX,0,mouse.Y-dragOffY)
  12302. end
  12303. end)
  12304. end
  12305. end)
  12306.  
  12307. okButton.MouseButton1Click:Connect(function() if newMt.Confirm then newMt:Confirm(chosenColor) end wait(0.6) pickerGui.Visible = false end)
  12308. okButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0.4 end end)
  12309. okButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then okButton.BackgroundTransparency = 0 end end)
  12310.  
  12311. cancelButton.MouseButton1Click:Connect(function() if newMt.Cancel then newMt:Cancel() end wait(0.6) pickerGui.Visible = false end)
  12312. cancelButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0.4 end end)
  12313. cancelButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then cancelButton.BackgroundTransparency = 0 end end)
  12314.  
  12315. defaultButton.MouseButton1Click:Connect(function() if newMt.Default then newMt:Default() end wait(0.6) pickerGui.Visible = false end)
  12316. defaultButton.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0.4 end end)
  12317. defaultButton.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement then defaultButton.BackgroundTransparency = 0 end end)
  12318.  
  12319. updateColor()
  12320.  
  12321. newMt.SetColor = function(self,color)
  12322. red,green,blue = color.r,color.g,color.b
  12323. hue,sat,val = Color3.toHSV(color)
  12324. updateColor()
  12325. end
  12326.  
  12327. return newMt
  12328. end
  12329. end
  12330. local picker = ColorPicker.new()
  12331. 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
  12332. picker.Changed = function(self,color) updatecolors(color) end
  12333. picker.Cancel = function(self) PKR:TweenPosition(UDim2.new(0.5, -219, 0, -500), "InOut", "Quart", 0.5, true, nil) updatecolors(SAVEDCOLOR) end
  12334. 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))
  12335. colorR = 0.121569 colorG = 0.121569 colorB = 0.121569 SAVEDCOLOR = Color3.new(0.121569, 0.121569, 0.121569) updatefile() end
  12336. SAVEDCOLOR = Color3.new(colorR, colorG, colorB)
  12337. local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel")
  12338. local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
  12339. suggestions.Name = "suggestions" suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  12340. suggestions.BackgroundTransparency = 0.5 suggestions.BorderColor3 = Color3.new(0, 0, 0) suggestions.BorderSizePixel = 0
  12341. suggestions.ClipsDescendants = true suggestions.Position = UDim2.new(-0.000715821981, 1, 1.03197157, -200) suggestions.Size = UDim2.new(0, 300, 0, 182)
  12342. Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1
  12343. Title.Size = UDim2.new(1, 0, 0, 30) Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions"
  12344. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions
  12345. SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  12346. 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"
  12347. 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"
  12348. local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = Example:Clone() newcmd.Parent = SUG
  12349. 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
  12350. local CSP2 = game.CoreGui.sugg.suggestions
  12351. local main2 = CSP2
  12352. local frame2 = CSP2:WaitForChild('SUG')
  12353. Match2 = function(name,str) return name:lower():find(str:lower()) and true end
  12354. IndexContents2 = function(str,bool)
  12355. if suggestionstoggle == true then
  12356. if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else
  12357. local Index,SizeY = 0,0
  12358. for i,v in next, frame2:GetChildren() do
  12359. if bool then
  12360. if Match2(v.Text,str) then
  12361. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true)
  12362. Index = Index + 1
  12363. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  12364. v.Visible = true
  12365. SizeY = SizeY + v.AbsoluteSize.Y
  12366. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else
  12367. v.Visible = true
  12368. SizeY = SizeY + v.AbsoluteSize.Y
  12369. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end
  12370. IndexContents2('',true)
  12371. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  12372. Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.3) wait(0.1)
  12373. logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1)
  12374. repeat wait() until logof.Size == UDim2.new(0,0,0,0)
  12375. f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2)
  12376. repeat wait() until f.Size == UDim2.new(0,0,0,0) g:Destroy() updatecolors(Color3.new(colorR, colorG, colorB))
  12377. 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()
  12378. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
  12379. gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
  12380. function chatboxx() local chatbox = gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
  12381. 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)
  12382. else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end) end chatboxx()
  12383. gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.ChildAdded:Connect(function(newbar)
  12384. wait(0.1)
  12385. if newbar:FindFirstChild('BoxFrame') then
  12386. chatboxx() end end)
  12387. coroutine.resume(coroutine.create(function()
  12388. if script.ClassName == "LocalScript" then
  12389. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  12390. Text = "The prefix is '" .. cmdprefix .. "'";
  12391. Color = Color3.new(255,255,255);
  12392. Font = Enum.Font.SourceSans;
  12393. FontSize = Enum.FontSize.Size24;
  12394. }) wait(2)
  12395. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  12396. Text = "Click IY on the top left to see more options";
  12397. Color = Color3.new(255,255,255);
  12398. Font = Enum.Font.SourceSans;
  12399. FontSize = Enum.FontSize.Size24;
  12400. }) end end))
  12401. gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatChannelParentFrame.Frame_MessageLogDisplay.Scroller.CanvasPosition = Vector2.new(0, 99999999999999999999999999999999999999, 0, 0)
  12402. else print('Custom chat detected. Will not provide suggestions for the chat.') end
  12403. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12404. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12405. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12406. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12407. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12408. qopen = false quickmenu.MouseButton1Click:connect(function()
  12409. if qopen == false then fadelock('off') NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  12410. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12411. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12412. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12413. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide()
  12414. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12415. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else
  12416. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12417. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12418. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12419. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12420. quickmenu.sheild.mix:TweenPosition(UDim2.new(0, 340, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  12421. if slock == true then fadelock("rbxassetid://1495252742") elseif isagelocked == true then fadelock("rbxassetid://1495252495") end
  12422. 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)
  12423. quickmenu.sheild.cmds.MouseButton1Click:connect(function() runwindow() end)
  12424. quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end)
  12425. infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
  12426. Updates = Instance.new("ScreenGui")
  12427. dragg = Instance.new("Frame")
  12428. local PromptDialog = Instance.new("Frame")
  12429. local ContainerFrame = Instance.new("Frame")
  12430. local LOG = Instance.new("TextLabel")
  12431. local PopupText3 = Instance.new("TextLabel")
  12432. local PopupText4 = Instance.new("TextLabel")
  12433. local UTDV = Instance.new("TextLabel")
  12434. local PopupText5 = Instance.new("TextLabel")
  12435. local shadow = Instance.new("Frame")
  12436. Exitt = Instance.new("TextButton")
  12437. local PopupText = Instance.new("TextLabel")
  12438. local vers = Instance.new("TextLabel")
  12439. Updates.Name = "Updates"
  12440. Updates.Parent = game.CoreGui
  12441. dragg.Name = "drag"
  12442. dragg.Parent = Updates
  12443. dragg.Active = true
  12444. dragg.BackgroundColor3 = Color3.new(1, 1, 1)
  12445. dragg.BackgroundTransparency = 1
  12446. dragg.Draggable = true
  12447. dragg.Position = UDim2.new(0.5, -225, 0, -400)
  12448. dragg.Size = UDim2.new(0, 438, 0, 26)
  12449. PromptDialog.Name = "PromptDialog"
  12450. PromptDialog.Parent = dragg
  12451. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0)
  12452. PromptDialog.BackgroundTransparency = 1
  12453. PromptDialog.BorderSizePixel = 0
  12454. PromptDialog.Position = UDim2.new(0, 0, 0, -2)
  12455. PromptDialog.Size = UDim2.new(0, 438, 0, 300)
  12456. PromptDialog.ZIndex = 5
  12457. ContainerFrame.Name = "ContainerFrame"
  12458. ContainerFrame.Parent = PromptDialog
  12459. ContainerFrame.BackgroundColor3 = maincolor
  12460. ContainerFrame.BackgroundTransparency = 0.5
  12461. ContainerFrame.BorderColor3 = Color3.new(0, 0, 0)
  12462. ContainerFrame.BorderSizePixel = 0
  12463. ContainerFrame.Position = UDim2.new(0, 0, 0, 29)
  12464. ContainerFrame.Size = UDim2.new(1, 0, 0.55, 0) -- SIZE
  12465. ContainerFrame.ZIndex = 5
  12466. LOG.Name = "LOG"
  12467. LOG.Parent = ContainerFrame
  12468. LOG.BackgroundTransparency = 1
  12469. LOG.Position = UDim2.new(0, 8, 0, 100)
  12470. LOG.Size = UDim2.new(1, -16, 1, 0)
  12471. LOG.ZIndex = 10
  12472. LOG.Font = Enum.Font.SourceSansBold
  12473. LOG.TextSize = 20
  12474. LOG.Text = "Fixed suggestions breaking if you whisper, switched to colorRGB format (0 - 255), car is less buggy, and added fixcam."
  12475. LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12476. LOG.TextStrokeTransparency = 0
  12477. LOG.TextWrapped = true
  12478. LOG.TextYAlignment = Enum.TextYAlignment.Top
  12479. PopupText3.Name = "PopupText3"
  12480. PopupText3.Parent = ContainerFrame
  12481. PopupText3.BackgroundTransparency = 1
  12482. PopupText3.Position = UDim2.new(0, 8, 0, 35)
  12483. PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0)
  12484. PopupText3.ZIndex = 10
  12485. PopupText3.Font = Enum.Font.SourceSansBold
  12486. PopupText3.FontSize = Enum.FontSize.Size18
  12487. PopupText3.Text = "Edge#0001 - Moon#6245 - Unlisting#0179 - bluntboomer#1259"
  12488. PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12489. PopupText3.TextScaled = true
  12490. PopupText3.TextStrokeTransparency = 0
  12491. PopupText3.TextWrapped = true
  12492. PopupText3.TextYAlignment = Enum.TextYAlignment.Top
  12493. PopupText4.Name = "PopupText4"
  12494. PopupText4.Parent = ContainerFrame
  12495. PopupText4.BackgroundTransparency = 1
  12496. PopupText4.Position = UDim2.new(0, 8, 0, 50)
  12497. PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0)
  12498. PopupText4.ZIndex = 10
  12499. PopupText4.Font = Enum.Font.SourceSansBold
  12500. PopupText4.FontSize = Enum.FontSize.Size18
  12501. PopupText4.Text = "infyield.weebly.com - discord.gg/9MByKtG"
  12502. PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12503. PopupText4.TextStrokeTransparency = 0
  12504. PopupText4.TextWrapped = true
  12505. PopupText4.TextYAlignment = Enum.TextYAlignment.Top
  12506. UTDV.Name = "UTDV"
  12507. UTDV.Parent = ContainerFrame
  12508. UTDV.BackgroundTransparency = 1
  12509. UTDV.Position = UDim2.new(0, 8, 0, 5)
  12510. UTDV.Size = UDim2.new(1, -16, 0.100000001, 0)
  12511. UTDV.ZIndex = 10
  12512. UTDV.Font = Enum.Font.SourceSansBold
  12513. UTDV.FontSize = Enum.FontSize.Size28
  12514. UTDV.Text = "Up to date version: N/A"
  12515. UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12516. UTDV.TextStrokeTransparency = 0
  12517. UTDV.TextWrapped = true
  12518. UTDV.TextYAlignment = Enum.TextYAlignment.Top
  12519. PopupText5.Name = "PopupText5"
  12520. PopupText5.Parent = ContainerFrame
  12521. PopupText5.BackgroundTransparency = 1
  12522. PopupText5.Position = UDim2.new(0, 8, 0, 70)
  12523. PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0)
  12524. PopupText5.ZIndex = 10
  12525. PopupText5.Font = Enum.Font.SourceSansBold
  12526. PopupText5.FontSize = Enum.FontSize.Size28
  12527. PopupText5.Text = "Update Log:"
  12528. PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12529. PopupText5.TextStrokeTransparency = 0
  12530. PopupText5.TextWrapped = true
  12531. PopupText5.TextYAlignment = Enum.TextYAlignment.Top
  12532. shadow.Name = "shadow"
  12533. shadow.Parent = PromptDialog
  12534. shadow.BackgroundColor3 = maincolor
  12535. shadow.BackgroundTransparency = 0.30000001192093
  12536. shadow.BorderColor3 = Color3.new(0, 0, 0)
  12537. shadow.BorderSizePixel = 0
  12538. shadow.Position = UDim2.new(0, 0, 0.00999999978, 0)
  12539. shadow.Size = UDim2.new(0, 438, 0, 26)
  12540. Exitt.Name = "Exit"
  12541. Exitt.Parent = shadow
  12542. Exitt.BackgroundColor3 = Color3.new(1, 0, 0)
  12543. Exitt.BackgroundTransparency = 0.30000001192093
  12544. Exitt.BorderColor3 = Color3.new(1, 0, 0)
  12545. Exitt.BorderSizePixel = 0
  12546. Exitt.Position = UDim2.new(0, 415, 0, 3)
  12547. Exitt.Size = UDim2.new(0, 20, 0, 20)
  12548. Exitt.FontSize = Enum.FontSize.Size14
  12549. Exitt.Text = ""
  12550. PopupText.Name = "PopupText"
  12551. PopupText.Parent = shadow
  12552. PopupText.BackgroundTransparency = 1
  12553. PopupText.Position = UDim2.new(0, 61, 0, -2)
  12554. PopupText.Size = UDim2.new(0.760273993, -16, 1.15384614, 0)
  12555. PopupText.ZIndex = 110
  12556. PopupText.Font = Enum.Font.SourceSansBold
  12557. PopupText.TextSize = 30
  12558. PopupText.Text = "Information"
  12559. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12560. PopupText.TextStrokeTransparency = 0
  12561. PopupText.TextWrapped = true
  12562. PopupText.TextYAlignment = Enum.TextYAlignment.Top
  12563. vers.Name = "vers"
  12564. vers.Parent = shadow
  12565. vers.BackgroundTransparency = 1
  12566. vers.Position = UDim2.new(0, 8, 0, 2)
  12567. vers.Size = UDim2.new(0.200913236, -16, 1.11538458, 0)
  12568. vers.ZIndex = 110
  12569. vers.Font = Enum.Font.SourceSansBold
  12570. vers.TextSize = 20
  12571. vers.Text = "v" .. Version
  12572. vers.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  12573. vers.TextStrokeTransparency = 0
  12574. vers.TextWrapped = true
  12575. vers.TextXAlignment = Enum.TextXAlignment.Left
  12576. vers.TextYAlignment = Enum.TextYAlignment.Top
  12577. if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
  12578. dragg:TweenPosition(UDim2.new(0.5, -225, 0, 100), "InOut", "Quart", 0.5, true, nil) Exitt.MouseButton1Click:connect(function()
  12579. dragg:TweenPosition(UDim2.new(0.5, -225, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
  12580. quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end
  12581.  
  12582. local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
  12583. if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else
  12584. UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton")
  12585. local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel")
  12586. local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame")
  12587. Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true
  12588. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
  12589. PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow"
  12590. 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
  12591. shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093
  12592. 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
  12593. Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4)
  12594. title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30
  12595. 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
  12596. ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31)
  12597. ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame
  12598. 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
  12599. 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
  12600. 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)
  12601. 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."
  12602. 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
  12603. 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
  12604. 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
  12605. 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)
  12606. 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'"
  12607. 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"
  12608. UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1)
  12609. UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans
  12610. UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog
  12611. 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)
  12612. Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse)
  12613. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  12614. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  12615. Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse)
  12616. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  12617. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  12618. Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) endvvv
Add Comment
Please, Sign In to add comment