Guest User

more admin ideas again idk

a guest
Jan 16th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 350.46 KB | None | 0 0
  1. ---------------------------------------------------------------
  2. -- _____ __ _ _ _ __ ___ _ _ --
  3. -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
  4. -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
  5. -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
  6. -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
  7. -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
  8. -- --
  9. ---------------------------------------------------------------
  10. ---------------------------------------------------------------
  11. ---Edge#3467 Moon#6245 bluntboomer#1259 GodHOLINALILIUS#9156---
  12. ---------------------------------------------------------------
  13.  
  14. --The message system was created by HARKINIAN @ V3RMILLION
  15. --Bang and fly is from rocky2u's admin
  16.  
  17. local Version = '7.7'
  18.  
  19. function run()
  20. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local Player = gPlayers.LocalPlayer
  21. 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={}
  22. 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 function _G.ADD_ADMIN(ID) table.insert(adminT, ID) end
  23. 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
  24. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local scriptprefix='\\'
  25. local split=" " local cmdprefix=';' suggestionstoggle = true allowfriends = true JLnotify = true Mseconds = '7' slock = false local jl = Instance.new("ScreenGui") jl.Name = "jl" jl.Parent = game.CoreGui MODE = 1
  26. function isNumber(str)
  27. return tonumber(str) ~= nil end
  28. function msghook()
  29. for _, child in pairs( workspace:GetChildren()) do
  30. if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
  31. child.Name = "IYmessage" child.Text = '' MSGhook = true end end
  32. if workspace:FindFirstChild("IYmessage") then MSGhook = true
  33. else MSGhook = false end end
  34. game:GetService('RunService').Heartbeat:connect(function()
  35. game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0)
  36. if LP.Character and LP.Character:FindFirstChild('Humanoid') then
  37. LP.Character.Humanoid.Died:connect(function() FLYING = false end)
  38. if MSGhook == true and workspace:FindFirstChild("IYmessage") then
  39. if workspace.IYmessage.Text == '' then
  40. for _, child in pairs( LightingService:GetChildren()) do
  41. if child.Name == "IYmblur" then
  42. child:Destroy() end end end
  43. else MSGhook = false end
  44. for i,v in pairs(_players:GetPlayers()) do
  45. if FindTable(loopkillT, v.Name) then
  46. v.Character:BreakJoints() end
  47. if FindTable(rainbowT, v.Name) then
  48. v.Neutral = false
  49. v.TeamColor = BrickColor.random()
  50. end end
  51. for i,n in pairs(_players:GetPlayers()) do
  52. if FindTable(disabletoolsT, n.Name) then
  53. for i,v in pairs(n.Backpack:GetChildren()) do
  54. if v:IsA('Tool') or v:IsA('HopperBin') then
  55. v:destroy() end
  56. for i,v in pairs(n.Character:GetChildren()) do
  57. if v:IsA('Tool') or v:IsA('HopperBin') then
  58. v:destroy()
  59. end end end
  60. end end end end)
  61. jl = game.CoreGui.jl
  62. POPUP_SIZE = UDim2.new(0,0,-0.15,350)
  63. db = false
  64. PopUps = {}
  65. function changeOptions(N)
  66. MODE = N
  67. if N == 1 then
  68. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  69. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif N == 2 then
  70. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  71. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) end end
  72. LightingService = game:GetService("Lighting")
  73. local origsettings = {abt = LightingService.Ambient, oabt = LightingService.OutdoorAmbient, brt = LightingService.Brightness, time =
  74. LightingService.TimeOfDay, fclr = LightingService.FogColor, fe =
  75. LightingService.FogEnd, fs = LightingService.FogStart}
  76. function lponly(player) game:GetService('Chat'):Chat(player.Character, 'That is a LocalPlayer only command!', 2) end
  77. function FindTable(Table, Name)
  78. for i,v in pairs(Table) do
  79. if v == Name then
  80. return true
  81. end end
  82. return false
  83. end
  84. function GetInTable(Table, Name)
  85. for i = 1, #Table do
  86. if Table[i] == Name then
  87. return i
  88. end end
  89. return false end
  90. function createPopUp(Name,N)
  91. local Frame = Instance.new("Frame")
  92. local ImageLabel = Instance.new("ImageLabel")
  93. local TextBox = Instance.new("TextBox")
  94. Frame.Parent = game.CoreGui
  95. Frame.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
  96. Frame.Position = UDim2.new(0,-360,0,330)
  97. Frame.Size = UDim2.new(0, 230, 0, 60)
  98. Frame.Style = Enum.FrameStyle.RobloxSquare
  99. ImageLabel.Parent = Frame
  100. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  101. ImageLabel.BackgroundTransparency = 0.89999997615814
  102. ImageLabel.BorderColor3 = Color3.new(0, 0, 0)
  103. ImageLabel.Size = UDim2.new(0, 50, 1, 0)
  104. ImageLabel.Image = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..Name..[[&RAND]] .. math.random(1,100000000)
  105. TextBox.Parent = Frame
  106. TextBox.Active = false
  107. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  108. TextBox.BackgroundTransparency = 0.89999997615814
  109. TextBox.BorderColor3 = Color3.new(0, 0, 0)
  110. TextBox.Position = UDim2.new(0, 55, 0, 0)
  111. TextBox.Size = UDim2.new(0, 158, 1, 0)
  112. TextBox.ClearTextOnFocus = false
  113. TextBox.Font = Enum.Font.ArialBold
  114. TextBox.FontSize = Enum.FontSize.Size10
  115. TextBox.Text = "-Playername- Joined the Game"
  116. TextBox.TextColor3 = Color3.new(1, 1, 1)
  117. TextBox.TextStrokeTransparency = 0
  118. Frame:TweenPosition(UDim2.new(0,0,0,330),"Out","Quad",0.1,true)
  119. if N == 1 then
  120. TextBox.Text = Name.." Joined"
  121. elseif N == 2 then
  122. TextBox.Text = Name.." Joined"
  123. elseif N == 3 then
  124. TextBox.Text = Name.." Left"
  125. elseif N == 4 then
  126. TextBox.Text = Name.." Left"
  127. end
  128. Frame.Parent = jl
  129. table.insert(PopUps,Frame)
  130. local LocalPopUps = {}
  131. for i,v in pairs(PopUps) do
  132. table.insert(LocalPopUps,v)
  133. v.Position = v.Position + UDim2.new(0,0,0,20) end
  134. for j = 0, POPUP_SIZE.X.Offset,2 do
  135. for i,v in pairs(LocalPopUps) do
  136. if v ~= nil then
  137. v.Position = v.Position + UDim2.new(0,0,0,40)
  138. end
  139. end
  140. wait()
  141. end
  142. wait(5)
  143. table.remove(PopUps,1)
  144. Frame:TweenPosition(UDim2.new(0,-360,0,330),"Out","Quad",0.2,true)
  145. wait(0.3)
  146. Frame:remove() end
  147. function playerAdded(newPlayer)
  148. if (LP:isFriendsWith(newPlayer.userId)) and MODE >= 1 then
  149. coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,1)
  150. elseif MODE == 2 then
  151. coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,2)
  152. end
  153. end
  154. function PlayerRemoving(PlayerLeft)
  155. for a,b in pairs(injail) do if b == PlayerLeft.Name then table.remove(injail, a) workspace["JAIL_" .. PlayerLeft.Name]:Destroy() end end
  156. for a,b in pairs(hastab) do if b == PlayerLeft.Name then table.remove(hastab, a) workspace[PlayerLeft.Name .. "TAB"]:Destroy() end end
  157. if (LP:isFriendsWith(PlayerLeft.userId)) and MODE >= 1 then
  158. coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,3)
  159. elseif MODE == 2 then
  160. coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,4)
  161. end
  162. end
  163. FLYING = false
  164. iyflyspeed = 1
  165. function sFLY()
  166. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  167. repeat wait() until Mouse
  168.  
  169. local T = LP.Character.HumanoidRootPart
  170. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  171. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  172. local SPEED = 0
  173.  
  174. local function FLY()
  175. FLYING = true
  176. local BG = Instance.new('BodyGyro', T)
  177. local BV = Instance.new('BodyVelocity', T)
  178. BG.P = 9e4
  179. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  180. BG.cframe = T.CFrame
  181. BV.velocity = Vector3.new(0, 0.1, 0)
  182. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  183. spawn(function()
  184. repeat wait()
  185. LP.Character.Humanoid.PlatformStand = true
  186. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  187. SPEED = 50
  188. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  189. SPEED = 0
  190. end
  191. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  192. 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
  193. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  194. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  195. 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
  196. else
  197. BV.velocity = Vector3.new(0, 0.1, 0)
  198. end
  199. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  200. until not FLYING
  201. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  202. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  203. SPEED = 0
  204. BG:destroy()
  205. BV:destroy()
  206. LP.Character.Humanoid.PlatformStand = false
  207. end)
  208. end
  209. Mouse.KeyDown:connect(function(KEY)
  210. if KEY:lower() == 'w' then
  211. CONTROL.F = iyflyspeed
  212. elseif KEY:lower() == 's' then
  213. CONTROL.B = -iyflyspeed
  214. elseif KEY:lower() == 'a' then
  215. CONTROL.L = -iyflyspeed
  216. elseif KEY:lower() == 'd' then
  217. CONTROL.R = iyflyspeed
  218. end
  219. end)
  220. Mouse.KeyUp:connect(function(KEY)
  221. if KEY:lower() == 'w' then
  222. CONTROL.F = 0
  223. elseif KEY:lower() == 's' then
  224. CONTROL.B = 0
  225. elseif KEY:lower() == 'a' then
  226. CONTROL.L = 0
  227. elseif KEY:lower() == 'd' then
  228. CONTROL.R = 0
  229. end
  230. end)
  231. FLY()
  232. end
  233. function NOFLY()
  234. FLYING = false
  235. LP.Character.Humanoid.PlatformStand = false
  236. end
  237.  
  238. ------------------
  239. ---CMDS/HOTKEYS---
  240. ------------------
  241. HK = {
  242. '-HOTKEYS-',
  243. 'F4 - Toggle Fly',
  244. 'F5 - Toggle Noclip',
  245. 'HOLD F2 - Click TP',
  246. '-COMMANDS-'
  247. }
  248. CMDs = {
  249. 'ff [plr]',
  250. 'unff [plr]',
  251. 'fire [plr] [R G B]',
  252. 'unfire [plr]',
  253. 'burn [plr]',
  254. 'sparkles [plr] [R G B]',
  255. 'unsparkles [plr]',
  256. 'smoke [plr]',
  257. 'unsmoke [plr]',
  258. 'btools [plr]',
  259. 'god [plr]',
  260. 'ungod [plr]',
  261. 'smite [plr]',
  262. 'crucify [plr]',
  263. 'heal [plr]',
  264. 'freeze [plr]',
  265. 'thaw [plr]',
  266. 'kill [plr]',
  267. 'sound [ID/Name]',
  268. 'volume [num]',
  269. 'pitch [num]',
  270. 'explode [plr]',
  271. 'invisible [plr]',
  272. 'visible [plr]',
  273. 'goto [plr]',
  274. 'bring [plr]',
  275. 'tp [plr] [plr]',
  276. 'char [plr] [ID]',
  277. 'charplr [plr] [plr]',
  278. 'unchar [plr]',
  279. 'speed [plr] [num]',
  280. 'sgod [plr]',
  281. 'unlockws',
  282. 'lockws',
  283. 'unanchor',
  284. 'anchor',
  285. 'clear',
  286. 'loadm',
  287. 'm [msg]',
  288. 'light [plr] [R G B]',
  289. 'unlight [plr]',
  290. 'glowstick [plr] [R G B]',
  291. 'decalspam [ID]',
  292. 'undecalspam',
  293. 'thirdp [plr]',
  294. 'firstp [plr]',
  295. 'name [plr]',
  296. 'unname [plr]',
  297. 'stun [plr]',
  298. 'unstun [plr]',
  299. 'copytools [plr]',
  300. 'keeptools [plr]',
  301. 'nokeeptools [plr]',
  302. 'notools [plr]',
  303. 'serverinfo',
  304. 'damage [plr]',
  305. 'view [plr]',
  306. 'unview',
  307. 'nolimbs [plr]',
  308. 'box [plr]',
  309. 'nobox [plr]',
  310. 'ghost [plr]',
  311. 'unghost [plr]',
  312. 'sphere [plr]',
  313. 'loadmap [ID]',
  314. 'sky [ID]',
  315. 'ambient [R G B]',
  316. 'clrterrain',
  317. 'jail [plr]',
  318. 'unjail [plr]',
  319. 'shutdown',
  320. 'starman [plr]',
  321. 'unstarman [plr]',
  322. 'tppos [plr] [coordinate]',
  323. 'offset [plr] [coordinate]',
  324. 'animation [plr] [anim]',
  325. 'normal [plr]',
  326. 'creeper [plr]',
  327. 'uncreeper [plr]',
  328. 'shrek [plr]',
  329. 'unshrek [plr]',
  330. 'respawn [plr]',
  331. 'base',
  332. 'control [plr]',
  333. 'nuke [plr]',
  334. 'infect [plr]',
  335. 'uninfect [plr]',
  336. 'duck [plr]',
  337. 'unduck [plr]',
  338. 'knuckles [plr]',
  339. 'disable [plr]',
  340. 'enable [plr]',
  341. 'size [plr] [num]',
  342. 'confuse [plr]',
  343. 'unconfuse [plr]',
  344. 'clone [plr]',
  345. 'spin [plr]',
  346. 'unspin [plr]',
  347. 'dog [plr]',
  348. 'undog [plr]',
  349. 'loopheal [plr]',
  350. 'unloopheal [plr]',
  351. 'fling [plr]',
  352. 'ayylmao [plr]',
  353. 'seizure [plr]',
  354. 'unseizure [plr]',
  355. 'paper [plr]',
  356. 'fat [plr]',
  357. 'punish [plr]',
  358. 'unpunish [plr]',
  359. 'fogend [num]',
  360. 'fogcolor [R G B]',
  361. 'disco',
  362. 'undisco',
  363. 'fix',
  364. 'fixlighting',
  365. 'flood',
  366. 'spookyify',
  367. 'explorer',
  368. 'particles [plr] [ID]',
  369. 'noparticles [plr]',
  370. 'draw',
  371. 'devuzi',
  372. 'knife',
  373. 'ban [plr]',
  374. 'unban [plr]',
  375. 'clrbans',
  376. 'float [plr]',
  377. 'unfloat [plr]',
  378. 'noclip',
  379. 'clip',
  380. 'hat [plr] [ID]',
  381. 'hatsize [plr] [num]',
  382. 'removehats [plr]',
  383. 'cripple [plr]',
  384. 'uncripple [plr]',
  385. 'blur [num]',
  386. 'unblur',
  387. 'hipheight [plr] [num]',
  388. 'bgui [plr] [text]',
  389. 'unbgui [plr]',
  390. 'loopkill [plr]',
  391. 'unloopkill [plr]',
  392. 'jumppower [plr] [num]',
  393. 'shiny [plr]',
  394. 'serverlock',
  395. 'unserverlock',
  396. 'agelock [age num]',
  397. 'unagelock',
  398. 'headshake [plr]',
  399. 'addstat [plr] [text]',
  400. 'change [plr] [stat] [num]',
  401. 'headsize [plr] [num]',
  402. 'bang [plr]',
  403. 'chat [plr] [msg]',
  404. 'gravity [num]',
  405. 'disabletools [plr]',
  406. 'enabletools [plr]',
  407. 'nil [plr]',
  408. 'rainbowname [plr]',
  409. 'unrainbowname [plr]',
  410. 'mesh [plr] [mesh] [txtr]',
  411. 'neon [plr]',
  412. 'longneck [plr]',
  413. 'unlongneck [plr]',
  414. 'time [num]',
  415. 'day',
  416. 'night',
  417. 'blackandwhite',
  418. 'invert',
  419. 'sun [intense] [spread]',
  420. 'spasm [plr]',
  421. 'meteor [plr]',
  422. 'countdown [num]',
  423. 'bomb [plr]',
  424. 'terrain',
  425. 'rocket [plr]',
  426. 'ball [plr]',
  427. 'unball [plr]',
  428. 'hidename [plr]',
  429. 'unhidename [plr]',
  430. 'face [plr] [ID]',
  431. 'fly',
  432. 'unfly',
  433. 'flyspeed [num]',
  434. 'zinnia [plr]',
  435. 'arrest [plr]',
  436. 'team [plr] [team]',
  437. 'age [plr]',
  438. 'f3x',
  439. 'tools [plr]',
  440. 'dong [plr]',
  441. 'undong [plr]',
  442. 'filtering',
  443. 'remotespy',
  444. 'crash [plr]',
  445. 'kick [plr]',
  446. 'admin [plr]',
  447. 'unadmin [plr]',
  448. 'admins',
  449. 'bans',
  450. 'bait',
  451. 'removebait',
  452. 'strobe',
  453. 'unstrobe',
  454. 'blind [plr]',
  455. 'unblind [plr]',
  456. 'globalshadows',
  457. 'noglobalshadows',
  458. 'outlines',
  459. 'nooutlines',
  460. 'brightness [num]',
  461. 'delete [part name]',
  462. 'deleteclass [class name]',
  463. 'fart [plr]',
  464. 'partdisco',
  465. 'unpartdisco',
  466. 'earthquake [power] [intensity]',
  467. 'car [plr]',
  468. 'uncar [plr]',
  469. 'insert [ID]',
  470. 'esp [plr]',
  471. 'noesp [plr]',
  472. 'spawnpoint [plr]',
  473. 'removespawns',
  474. 'fegod',
  475. 'feinvisible',
  476. 'disablereset [plr]',
  477. 'enablereset [plr]',
  478. 'loopbring [plr]',
  479. 'unloopbring [plr]',
  480. 'lock [plr]',
  481. 'unlock [plr]',
  482. 'sword [plr]',
  483. 'freecam',
  484. 'unfreecam',
  485. 'plrsound [plr] [ID]',
  486. 'noplrsound [plr]',
  487. 'playlist [ID],[ID]',
  488. 'setsong [num]',
  489. 'prevsong',
  490. 'nextsong',
  491. 'hideplaylist',
  492. 'keybind [key] [cmd]',
  493. 'unkeybind [key]',
  494. 'addalias [cmd] [alias]',
  495. 'removealias [alias]',
  496. 'trail [plr] [R G B]',
  497. 'untrail [plr]',
  498. 'hub',
  499. 'script [script]',
  500. 'prefix [string]',
  501. 'rejoin',
  502. 'tablet',
  503. 'settings',
  504. 'cmds',
  505. 'version',
  506. 'exit'
  507. }
  508.  
  509. -------
  510. --Lib--
  511. -------
  512.  
  513. 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
  514.  
  515. std.inTable=function(tbl,val)
  516. if tbl==nil then return false end
  517.  
  518. for _,v in pairs(tbl)do
  519. if v==val then return true end
  520. end
  521. return false
  522. end
  523. std.out=function(str)
  524. print(str)
  525. end
  526. std.list=function(tbl)
  527. local str=''
  528. for i,v in pairs(tbl)do
  529. str=str..tostring(v)
  530. if i~=#tbl then str=str..', ' end
  531. end
  532. return str
  533. end
  534. std.endat=function(str,val)
  535. local z=str:find(val)
  536. if z then
  537. return str:sub(0,z-string.len(val)),true
  538. else
  539. return str,false
  540. end
  541. end
  542. std.first=function(str) return str:sub(1,1) end
  543.  
  544. function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
  545.  
  546. local exec=function(str)
  547. spawn(function()
  548. local script, loaderr = loadstring(str)
  549. if not script then
  550. error(loaderr)
  551. else
  552. script()
  553. end
  554. end)
  555. end
  556. local findCmd=function(cmd_name)
  557. for i,v in pairs(cmds)do
  558. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  559. return v
  560. end
  561. end
  562. end
  563. local getCmd=function(msg)
  564. local cmd,hassplit=std.endat(msg:lower(),split)
  565. if hassplit then
  566. return {cmd,true}
  567. else
  568. return {cmd,false}
  569. end
  570. end
  571. local getprfx=function(strn)
  572. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  573. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  574. end return
  575. end
  576.  
  577. function respawn(plr)
  578. local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
  579. local H = Instance.new('Humanoid', M)
  580. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  581. plr.Character = M
  582. end
  583.  
  584. function kickF(plr)
  585. if plr then
  586. repeat wait() until plr.Character
  587. if not plr.Character:FindFirstChild('HumanoidRootPart') then respawn(plr) kickF(plr) else
  588. plr.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  589. local Plat = Instance.new('SkateboardPlatform', plr.Character) Plat.Position = plr.Character.HumanoidRootPart.Position
  590. Plat.Name = 'IYkick'
  591. Plat.Size = Vector3.new(100, 1, 100)
  592. local PART = Instance.new('Part', plr.Character)
  593. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  594. PART.Size = Vector3.new(100, 1, 100)
  595. PART.Anchored = true
  596. PART.Transparency = 1
  597. Plat.Transparency = 1
  598. repeat if plr then wait(0.5)
  599. repeat wait() until plr.Character
  600. if not plr.Character:FindFirstChild('HumanoidRootPart') then respawn(plr) kickF(plr) wait(0.5)
  601. Plat.Position = plr.Character.HumanoidRootPart.Position
  602. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  603. PART.Anchored = true
  604. respawn(plr) else
  605. kickF(plr) wait(0.5)
  606. Plat.Position = plr.Character.HumanoidRootPart.Position
  607. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  608. PART.Anchored = true
  609. respawn(plr) end end
  610. repeat wait() until plr.Character
  611. kickF(plr)
  612. until not gPlayers:FindFirstChild(plr)
  613. end end end
  614.  
  615. function kickNR(plr)
  616. if plr then
  617. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  618. plr.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  619. local Plat = Instance.new('SkateboardPlatform', plr.Character) Plat.Position = plr.Character.HumanoidRootPart.Position
  620. Plat.Name = 'IYkick'
  621. Plat.Size = Vector3.new(100, 1, 100)
  622. local PART = Instance.new('Part', plr.Character)
  623. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  624. PART.Size = Vector3.new(100, 1, 100)
  625. PART.Anchored = true
  626. PART.Transparency = 1
  627. Plat.Transparency = 1
  628. repeat wait(0.5)
  629. if plr then
  630. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  631. Plat.Position = plr.Character.HumanoidRootPart.Position
  632. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  633. PART.Anchored = true end
  634. repeat wait() until plr.Character and plr.Character:FindFirstChild('HumanoidRootPart')
  635. kickNR(plr)
  636. until not gPlayers:FindFirstChild(plr)
  637. end end
  638.  
  639. 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
  640. 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
  641. _players.PlayerAdded:connect(function(player)
  642. if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
  643. if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" and player.Name ~= "Conceptual_Nullifier" and player.Name ~= "Thomasbudge" then
  644. spawn(function()
  645. repeat wait() until player.Character
  646. kickNR(player)
  647. end)
  648. else Notify('A whitelisted user has joined. You cannot lock him out.')
  649. end
  650. end)
  651. elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
  652. if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" and player.Name ~= "Conceptual_Nullifier" and player.Name ~= "Thomasbudge" then
  653. spawn(function()
  654. repeat wait() until player.Character
  655. kickNR(player)
  656. end)
  657. else Notify('A whitelisted user has joined. You cannot lock him out.')
  658. end
  659. end
  660. if FindTable(banT, player.userId) then
  661. spawn(function()
  662. repeat wait() until player.Character
  663. Notify('Banned player, ' .. player.Name .. ' attempted to join')
  664. kickNR(player)
  665. end)
  666. end
  667. if isagelocked == true and allowfriends == false and player.AccountAge <= agelock then
  668. if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" and player.Name ~= "Conceptual_Nullifier" and player.Name ~= "Thomasbudge" then
  669. spawn(function()
  670. repeat wait() until player.Character
  671. kickNR(player)
  672. end)
  673. else Notify('A whitelisted user has joined. You cannot lock him out.')
  674. end
  675. else
  676. if isagelocked == true and allowfriends == true and not player:IsFriendsWith(user.userId) and player.AccountAge <= agelock then
  677. if player.Name ~= "IoIman616" and player.Name ~= "aaDesiredUsername1233" and player.Name ~= "aasweg2hipALT" and player.Name ~= "aaConceptual_Nullifier" and player.Name ~= "aaThomasbudge" then
  678. spawn(function()
  679. repeat wait() until player.Character
  680. kickNR(player)
  681. end)
  682. else Notify('A whitelisted user has joined. You cannot lock him out.')
  683. end
  684. end
  685. end
  686. end)
  687. local customAlias = {}
  688. local findCmd=function(cmd_name)
  689. for i,v in pairs(cmds)do
  690. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower()) then
  691. return v
  692. end
  693. end
  694. return customAlias[cmd_name:lower()]
  695. end
  696. local function splitString(str,delim)
  697. local broken = {}
  698. if delim == nil then delim = "," end
  699. for w in string.gmatch(str,"[^"..delim.."]+") do
  700. table.insert(broken,w)
  701. end
  702. return broken
  703. end
  704. local historyCount = 0
  705. local cmdHistory = {}
  706. local function execCmd(cmdStr,speaker)
  707. local rawCmdStr = cmdStr
  708. cmdStr = string.gsub(cmdStr,"\\\\","%%BackSlash%%")
  709. local commandsToRun = splitString(cmdStr,"\\")
  710. for i,v in pairs(commandsToRun) do
  711. v = string.gsub(v,"%%BackSlash%%","\\")
  712. local args = splitString(v,split)
  713. local cmd = findCmd(args[1])
  714. if cmd then
  715. table.remove(args,1)
  716. cargs = args
  717. if speaker == gPlayers.LocalPlayer then
  718. if cmdHistory[1] ~= rawCmdStr then table.insert(cmdHistory,1,rawCmdStr) end
  719. end
  720. if #cmdHistory > 20 then table.remove(cmdHistory) end
  721. pcall(function()
  722. cmd.FUNC(args, speaker)
  723. end)
  724. end
  725. end
  726. end
  727. 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
  728. for _, plr in pairs(gPlayers:GetChildren()) do
  729. if plr.ClassName == "Player" then
  730. updateevents(plr) end end
  731. _players.PlayerAdded:connect(function(player)
  732. updateevents(player)
  733. end)
  734. _G.exec_cmd = execCmd
  735. --gPlayers.LocalPlayer.Chatted:connect(doexec)
  736. 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
  737. local _char=function(plr_name)
  738. for i,v in pairs(gPlayers:GetChildren())do
  739. if v:IsA'Player'then
  740. if v.Name==plr_name then return v.Character end
  741. end
  742. end
  743. return
  744. end
  745. local _plr=function(plr_name)
  746. for i,v in pairs(gPlayers:GetChildren())do
  747. if v:IsA'Player'then
  748. if v.Name==plr_name then return v end
  749. end
  750. end
  751. return
  752. end
  753. function addcmd(name,desc,alias,func)
  754. cmds[#cmds+1]=
  755. {
  756. NAME=name;
  757. DESC=desc;
  758. ALIAS=alias;
  759. FUNC=func;
  760. }
  761. end
  762. SPC = {'all', 'others', 'random', 'allies', 'enemies', 'team', 'nonteam', 'friends', 'nonfriends', 'admins', 'nonadmins'}
  763. local SpecialPlayerCases = {
  764. ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
  765. ["others"] = function(speaker)
  766. local plrs = {}
  767. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  768. if v ~= speaker then
  769. table.insert(plrs,v)
  770. end
  771. end
  772. return plrs
  773. end,
  774. ["me"] = function(speaker)return {speaker} end,
  775. ["#(%d+)"] = function(speaker,args)
  776. local returns = {}
  777. local randAmount = tonumber(args[1])
  778. local players = game:GetService("Players"):GetPlayers()
  779. for i = 1,randAmount do
  780. local randIndex = math.random(1,#players)
  781. table.insert(returns,players[randIndex])
  782. table.remove(players,randIndex)
  783. if #players == 0 then break end
  784. end
  785. return returns
  786. end,
  787. ["random"] = function(speaker)
  788. local players = game:GetService("Players"):GetPlayers()
  789. return {players[math.random(1,#players)]}
  790. end,
  791. ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
  792. local returns = {}
  793. local team = args[1]
  794. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  795. if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  796. table.insert(returns,plr)
  797. end
  798. end
  799. return returns
  800. end,
  801. ["allies"] = function(speaker)
  802. local returns = {}
  803. local team = speaker.Team
  804. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  805. if plr.Team == team then
  806. table.insert(returns,plr)
  807. end
  808. end
  809. return returns
  810. end,
  811. ["enemies"] = function(speaker)
  812. local returns = {}
  813. local team = speaker.Team
  814. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  815. if plr.Team ~= team then
  816. table.insert(returns,plr)
  817. end
  818. end
  819. return returns
  820. end,
  821. ["team"] = function(speaker)
  822. local returns = {}
  823. local team = speaker.Team
  824. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  825. if plr.Team == team then
  826. table.insert(returns,plr)
  827. end
  828. end
  829. return returns
  830. end,
  831. ["nonteam"] = function(speaker)
  832. local returns = {}
  833. local team = speaker.Team
  834. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  835. if plr.Team ~= team then
  836. table.insert(returns,plr)
  837. end
  838. end
  839. return returns
  840. end,
  841. ["friends"] = function(speaker,args)
  842. local returns = {}
  843. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  844. if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  845. table.insert(returns,plr)
  846. end
  847. end
  848. return returns
  849. end,
  850. ["nonfriends"] = function(speaker,args)
  851. local returns = {}
  852. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  853. if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  854. table.insert(returns,plr)
  855. end
  856. end
  857. return returns
  858. end,
  859. ["admins"] = function(speaker)
  860. local returns = {}
  861. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  862. if isAdmin(plr) then
  863. table.insert(returns,plr)
  864. end
  865. end
  866. return returns
  867. end,
  868. ["nonadmins"] = function(speaker)
  869. local returns = {}
  870. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  871. if not isAdmin(plr) then
  872. table.insert(returns,plr)
  873. end
  874. end
  875. return returns
  876. end,
  877. ["rad(%d+)"] = function(speaker,args)
  878. local returns = {}
  879. local radius = tonumber(args[1])
  880. local speakerChar = speaker.Character
  881. if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
  882. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  883. if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  884. local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
  885. if magnitude <= radius then table.insert(returns,plr) end
  886. end
  887. end
  888. return returns
  889. end
  890. }
  891.  
  892. local function toTokens(str)
  893. local tokens = {}
  894. for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  895. table.insert(tokens,{Operator = op,Name = name})
  896. end
  897. return tokens
  898. end
  899.  
  900. local function onlyIncludeInTable(tab,matches)
  901. local matchTable = {}
  902. local resultTable = {}
  903. for i,v in pairs(matches) do matchTable[v.Name] = true end
  904. for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  905. return resultTable
  906. end
  907.  
  908. local function removeTableMatches(tab,matches)
  909. local matchTable = {}
  910. local resultTable = {}
  911. for i,v in pairs(matches) do matchTable[v.Name] = true end
  912. for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  913. return resultTable
  914. end
  915.  
  916. local function getPlayersByName(name)
  917. local found = {}
  918. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  919. if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  920. table.insert(found,v)
  921. end
  922. end
  923. return found
  924. end
  925.  
  926. local function getPlayer(list,speaker)
  927. if list == nil then return {speaker.Name} end
  928. local nameList = splitString(list,",")
  929.  
  930. local foundList = {}
  931.  
  932. for _,name in pairs(nameList) do
  933. if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  934. local tokens = toTokens(name)
  935. local initialPlayers = game:GetService("Players"):GetPlayers()
  936.  
  937. for i,v in pairs(tokens) do
  938. if v.Operator == "+" then
  939. local tokenContent = v.Name
  940. local foundCase = false
  941. for regex,case in pairs(SpecialPlayerCases) do
  942. local matches = {string.match(tokenContent,"^"..regex.."$")}
  943. if #matches > 0 then
  944. foundCase = true
  945. initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches))
  946. end
  947. end
  948. if not foundCase then
  949. initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  950. end
  951. else
  952. local tokenContent = v.Name
  953. local foundCase = false
  954. for regex,case in pairs(SpecialPlayerCases) do
  955. local matches = {string.match(tokenContent,"^"..regex.."$")}
  956. if #matches > 0 then
  957. foundCase = true
  958. initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches))
  959. end
  960. end
  961. if not foundCase then
  962. initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  963. end
  964. end
  965. end
  966.  
  967. for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  968. end
  969.  
  970. local foundNames = {}
  971. for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  972.  
  973. return foundNames
  974. end
  975.  
  976. function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
  977. local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
  978. if (zCoco) then
  979. funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  980. else
  981. funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  982. end
  983. return funcw
  984. end
  985. function _G.msg(txt)
  986. msghook()
  987. if MSGhook == true then
  988. workspace.IYmessage.Text = ''
  989. wait(0.1)
  990. local b = Instance.new("BlurEffect", LightingService)
  991. b.Name = "IYmblur"
  992. b.Size = 18
  993. workspace.IYmessage.Text = txt
  994. wait(Mseconds)
  995. workspace.IYmessage.Text = ''
  996. b:Destroy()
  997. elseif MSGhook == false then
  998. execCmd("loadm")
  999. repeat wait() until workspace:FindFirstChild("IYmessage")
  1000. workspace.IYmessage.Text = ''
  1001. wait(0.1)
  1002. local b = Instance.new("BlurEffect", LightingService)
  1003. b.Name = "IYmblur"
  1004. b.Size = 18
  1005. workspace.IYmessage.Text = txt
  1006. wait(Mseconds)
  1007. workspace.IYmessage.Text = ''
  1008. b:Destroy()
  1009. end
  1010. end
  1011. function rape(victim, speaker)
  1012. spawn(function()
  1013. local P1 = speaker.Character.Torso
  1014. local V1 = _players[victim].Character.Torso
  1015. V1.Parent.Humanoid.PlatformStand = true
  1016. 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'
  1017. 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'
  1018. 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'
  1019. 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'
  1020. 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'
  1021. 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'
  1022. 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)
  1023. local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
  1024. fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
  1025. local D2 = D:Clone() D2.Parent = P1
  1026. fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
  1027. 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)
  1028. fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
  1029. local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
  1030. fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
  1031. local CM = Instance.new('CylinderMesh', C)
  1032. 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)
  1033. local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
  1034. fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
  1035. 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)
  1036. local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
  1037. fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
  1038. 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)
  1039. local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
  1040. fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
  1041. 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)
  1042. local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
  1043. fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
  1044. 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)
  1045. 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)
  1046. 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)
  1047. if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
  1048. WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  1049. local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  1050. end)
  1051. 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)
  1052. end
  1053. ----------------
  1054. ----Commands----
  1055. ----------------
  1056.  
  1057. addcmd('addalias','Adds an alias to a command',{},
  1058. function(args,speaker)
  1059. if #args < 2 then return end
  1060. local cmd = string.lower(args[1])
  1061. local alias = string.lower(args[2])
  1062. for i,v in pairs(cmds) do
  1063. if v.NAME:lower()==cmd or std.inTable(v.ALIAS,cmd) then
  1064. customAlias[alias] = v
  1065. Notify("Added "..alias.." as an alias to "..cmd)
  1066. break
  1067. end
  1068. end
  1069. end)
  1070.  
  1071. addcmd('removealias','Removes a custom alias',{},
  1072. function(args,speaker)
  1073. if #args < 1 then return end
  1074. local alias = string.lower(args[1])
  1075. if customAlias[alias] then
  1076. local cmd = customAlias[alias].NAME
  1077. customAlias[alias] = nil
  1078. Notify("Removed the alias "..alias.." from "..cmd)
  1079. end
  1080. end)
  1081.  
  1082. addcmd('s','runs a script in the chat or cmdbar',{'script'},
  1083. function(args, speaker)
  1084. loadstring(tostring(GLS(false, 0)))()
  1085. end)
  1086.  
  1087. function hub()
  1088. if not game.CoreGui:FindFirstChild('ScriptHub') then
  1089. loadstring(game:HttpGet(('https://pastebin.com/raw/VvDQgSZT'),true))() end end
  1090. addcmd('hub','opens script hub',{'scripts'},
  1091. function(args, speaker)
  1092. if speaker.userId ~= LP.userId then
  1093. lponly(speaker) else
  1094. hub()
  1095. end end)
  1096.  
  1097. addcmd('ff','gives ff to player',{},
  1098. function(args, speaker)
  1099. local players = getPlayer(args[1], speaker)
  1100. for i,v in pairs(players)do
  1101. local pchar=_char(v)
  1102. Instance.new("ForceField", pchar)
  1103. end
  1104. end)
  1105.  
  1106. addcmd('rocket','attaches a player to a rocket',{'missile'},
  1107. function(args, speaker)
  1108. local players = getPlayer(args[1], speaker)
  1109. for i,v in pairs(players)do
  1110. local pchar=_char(v)
  1111. spawn(function()
  1112. local m = missile:Clone()
  1113. m.Parent = workspace
  1114. local W = Instance.new('Weld', m)
  1115. W.Part0 = W.Parent
  1116. W.Part1 = pchar.HumanoidRootPart
  1117. W.C1 = CFrame.new(0, 0.5, 1)
  1118. m.force.Force = Vector3.new(0, 15000, 0)
  1119. wait(0.01)
  1120. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
  1121. wait(5)
  1122. Instance.new('Explosion', m).Position = m.Position
  1123. wait(0.01)
  1124. pchar:BreakJoints()
  1125. wait(1)
  1126. m:destroy()
  1127. end)
  1128. end
  1129. end)
  1130.  
  1131. addcmd('rejoin','makes you rejoin the game',{'rj'},
  1132. function(args, speaker)
  1133. if speaker.userId ~= LP.userId then
  1134. lponly(speaker)
  1135. else
  1136. game:GetService('TeleportService'):Teleport(game.PlaceId)
  1137. end
  1138. end)
  1139.  
  1140. addcmd('unff', 'takes away ff from player',{'noff'},
  1141. function(args, speaker)
  1142. local players = getPlayer(args[1], speaker)
  1143. for i,v in pairs(players)do
  1144. local pchar=_char(v)
  1145. for j,v1 in pairs(pchar:GetChildren()) do
  1146. if v1:IsA("ForceField") then
  1147. v1:Destroy()
  1148. end
  1149. end
  1150. end
  1151. end)
  1152.  
  1153. addcmd('insert', 'inserts a model',{'ins'},
  1154. function(args, speaker)
  1155. local modelid = args[1]
  1156. local model = game:GetObjects("rbxassetid://" .. modelid)[1]
  1157. model.Parent = workspace
  1158. model.Name = "IYmodel"
  1159. model:MakeJoints()
  1160. model:MoveTo(speaker.Character.HumanoidRootPart.Position)
  1161. local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
  1162. Notify('Inserted ' .. Asset.Name)
  1163. end)
  1164.  
  1165. addcmd('car', 'inserts a car',{'vehicle'},
  1166. function(args, speaker)
  1167. local players = getPlayer(args[1], speaker)
  1168. for i,v in pairs(players)do
  1169. local pchar=_char(v)
  1170. local model = game:GetObjects("rbxassetid://01172688590")[1]
  1171. model.Parent = workspace
  1172. model:MakeJoints()
  1173. model:MoveTo(pchar.HumanoidRootPart.Position + Vector3.new(5, 5, 0))
  1174. model.Name = "IYcar" .. gPlayers[v].Name
  1175. wait(0.5)
  1176. model.Seat.VehicleSeat:Sit(pchar.Humanoid)
  1177. end
  1178. end)
  1179.  
  1180. addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
  1181. function(args, speaker)
  1182. local players = getPlayer(args[1], speaker)
  1183. for i,v in pairs(players)do
  1184. for _, child in pairs( workspace:GetChildren()) do
  1185. if child.Name == "IYcar" .. gPlayers[v].Name then
  1186. child:Destroy()
  1187. end
  1188. end
  1189. end
  1190. end)
  1191.  
  1192. addcmd('team','team [plr] [team]',{},
  1193. function(args, speaker)
  1194. local players = getPlayer(args[1], speaker)
  1195. local teamname = nil
  1196. for i,v in pairs(players)do
  1197. 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
  1198. _players[v].Team = teamname
  1199. end
  1200. end)
  1201.  
  1202. local rad = math.rad
  1203. addcmd('earthquake','earthquake [power] [intensity]',{}, -- credit to DontAddMeh
  1204. function(args, speaker)
  1205. for i = 1,args[1] do
  1206. wait()
  1207. local function ear(instance)
  1208. for i,v in pairs(instance:GetChildren())do
  1209. if v:IsA("Part") then
  1210. if v.Size.x > 1 then
  1211. 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])))
  1212. end end ear(v) end end ear(workspace)
  1213. end
  1214. end)
  1215.  
  1216. addcmd('spasm','makes someone c r a z y',{},
  1217. function(args, speaker)
  1218. local players = getPlayer(args[1], speaker)
  1219. for i,v in pairs(players)do
  1220. local pchar=_char(v)
  1221. local AnimationId = "33796059"
  1222. local Anim = Instance.new("Animation")
  1223. Anim.AnimationId = "rbxassetid://"..AnimationId
  1224. local k = pchar.Humanoid:LoadAnimation(Anim)
  1225. k:Play()
  1226. k:AdjustSpeed(99)
  1227. end
  1228. end)
  1229.  
  1230. addcmd('plrsound','creates a sound inside of someone',{'playersound'},
  1231. function(args, speaker)
  1232. local players = getPlayer(args[1], speaker)
  1233. for i,v in pairs(players)do
  1234. if not args[1] and args[2] then return end
  1235. local pchar=_char(v)
  1236. for _, child in pairs( pchar:GetDescendants()) do
  1237. if child.ClassName == "Sound" then
  1238. child:Destroy() end end
  1239. local s = Instance.new("Sound")
  1240. s.Name = "IYplrsound"
  1241. s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
  1242. s.Volume = 1
  1243. s.Pitch = 1
  1244. s.Looped = true
  1245. s.archivable = true
  1246. s.Parent = pchar.HumanoidRootPart
  1247. s:Play()
  1248. end
  1249. end)
  1250.  
  1251. addcmd('noplrsound','creates a sound inside of someone',{'noplayersound','unplayersound','unplrsound'},
  1252. function(args, speaker)
  1253. local players = getPlayer(args[1], speaker)
  1254. for i,v in pairs(players)do
  1255. if not args[1] then return end
  1256. local pchar=_char(v)
  1257. for _, child in pairs( pchar:GetDescendants()) do
  1258. if child.ClassName == "Sound" then
  1259. child:Destroy() end end
  1260. end
  1261. end)
  1262.  
  1263. addcmd('fly','makes you fly',{},
  1264. function(args, speaker)
  1265. if speaker.userId ~= LP.userId then
  1266. lponly(speaker)
  1267. else
  1268. sFLY()
  1269. end
  1270. end)
  1271.  
  1272. addcmd('flyspeed','set the fly speed',{'flysp'},
  1273. function(args, speaker)
  1274. if speaker.userId ~= LP.userId then
  1275. lponly(speaker)
  1276. else
  1277. if isNumber(args[1]) then
  1278. iyflyspeed = args[1]
  1279. end end end)
  1280.  
  1281. addcmd('unfly','takes away fly',{'nofly'},
  1282. function(args, speaker)
  1283. if speaker.userId ~= LP.userId then
  1284. lponly(speaker)
  1285. else
  1286. NOFLY()
  1287. end
  1288. end)
  1289.  
  1290. addcmd('exit','kills roblox process',{},
  1291. function(args, speaker)
  1292. if speaker.userId ~= LP.userId then
  1293. lponly(speaker)
  1294. else
  1295. game:shutdown()
  1296. end
  1297. end)
  1298.  
  1299. addcmd('fire', 'set a player on fire',{},
  1300. function(args, speaker)
  1301. local players = getPlayer(args[1], speaker)
  1302. for i,v in pairs(players)do
  1303. spawn(function()
  1304. local pchar=_char(v)
  1305. local Fire1 = Instance.new("Fire", pchar.Head)
  1306. local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
  1307. local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1308. local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1309. local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1310. local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1311. if not args[2] then return end
  1312. Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1313. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1314. Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1315. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1316. Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1317. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1318. Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1319. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1320. Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1321. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1322. Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1323. Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1324. end)
  1325. end
  1326. end)
  1327.  
  1328. addcmd('nofire', 'extinguish a player',{'unfire'},
  1329. function(args, speaker)
  1330. local players = getPlayer(args[1], speaker)
  1331. for i,v in pairs(players)do
  1332. local pchar=_char(v)
  1333. for j,v1 in pairs(pchar:GetDescendants()) do
  1334. if v1:IsA("Fire") then
  1335. v1:Destroy()
  1336. end end end end)
  1337.  
  1338. addcmd('shiny', 'makes a player shine',{},
  1339. function(args, speaker)
  1340. local players = getPlayer(args[1], speaker)
  1341. for i,v in pairs(players)do
  1342. spawn(function()
  1343. local pchar=_char(v)
  1344. for i,v in pairs(pchar:GetChildren()) do
  1345. if v.ClassName == "Decal" or v.ClassName == "Texture" then
  1346. v:Remove() end
  1347. if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
  1348. v.Reflectance = 1
  1349. v.Material = "Plastic"
  1350. end
  1351. end
  1352. end)
  1353. end
  1354. end)
  1355.  
  1356. addcmd('light', 'givs em light',{},
  1357. function(args, speaker)
  1358. local players = getPlayer(args[1], speaker)
  1359. for i,v in pairs(players)do
  1360. spawn(function()
  1361. local pchar=_char(v)
  1362. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1363. if v1:IsA("PointLight") then
  1364. v1:Destroy()
  1365. end
  1366. end
  1367. local light = Instance.new("PointLight", pchar.HumanoidRootPart)
  1368. light.Range = 12
  1369. light.Brightness = 3
  1370. if not args[2] then return end
  1371. light.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1372. light.Range = 12
  1373. light.Brightness = 3
  1374. end)
  1375. end
  1376. end)
  1377.  
  1378. addcmd('glowstick', 'givs em glo stik',{},
  1379. function(args, speaker)
  1380. local players = getPlayer(args[1], speaker)
  1381. for i,v in pairs(players)do
  1382. spawn(function()
  1383. System = {}
  1384. System.Create = function(a, c)
  1385. local e = Instance.new(a)
  1386. for d, a in pairs(c) do
  1387. local b, a = ypcall(function()
  1388. return e[d]
  1389. end)
  1390. if b then
  1391. e[d] = c[d]
  1392. end
  1393. end
  1394. return e
  1395. end
  1396. function b(d, b)
  1397. local c = getfenv(d)
  1398. local a = setmetatable({}, {
  1399. __index = function(a, a)
  1400. if a:lower() == 'script' then
  1401. return b
  1402. else
  1403. return c[a]
  1404. end
  1405. end
  1406. })
  1407. setfenv(d, a)
  1408. ypcall(function()
  1409. d()
  1410. end)
  1411. end
  1412. c = {}
  1413. mas = Instance.new("Model",game:GetService("Lighting"))
  1414. mas.Name = "CompiledModel"
  1415. o1 = System.Create("Tool",{
  1416. ["Name"] = "Glow Stick",
  1417. ["Parent"] = mas,
  1418. ["GripPos"] = Vector3.new(0, -0.300000012, 0),
  1419. ["CanBeDropped"] = false,
  1420. })
  1421. o2 = System.Create("Part",{
  1422. ["Name"] = "Handle",
  1423. ["Parent"] = o1,
  1424. ["Transparency"] = 0.10000000149012,
  1425. ["Position"] = Vector3.new(-9.38995171, 2.20000148, 42.3300056),
  1426. ["Rotation"] = Vector3.new(-180, 0, 0),
  1427. ["CFrame"] = CFrame.new(-9.38995171, 2.20000148, 42.3300056, 1, 0, 0, 0, -1, 0, 0, 0, -1),
  1428. ["FormFactor"] = Enum.FormFactor.Custom,
  1429. ["Size"] = Vector3.new(0.200000033, 1.80000019, 1),
  1430. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1431. ["TopSurface"] = Enum.SurfaceType.Weld,
  1432. ["Material"] = "Neon",
  1433. })
  1434. o3 = System.Create("PointLight",{
  1435. ["Parent"] = o2,
  1436. ["Brightness"] = 8,
  1437. ["Range"] = 14,
  1438. })
  1439. o4 = System.Create("CylinderMesh",{
  1440. ["Parent"] = o2,
  1441. })
  1442. if not args[2] then
  1443. o2.Color = Color3.new(1,1,1)
  1444. o3.Color = Color3.new(1,1,1) else
  1445. o2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1446. o3.Color = Color3.new((args[2]),(args[3]),(args[4])) end
  1447. mas.Parent = workspace
  1448. mas:MakeJoints()
  1449. local b = mas:GetChildren()
  1450. for a = 1, #b do
  1451. b[a].Parent = gPlayers[v].Backpack
  1452. ypcall(function()
  1453. b[a]:MakeJoints()
  1454. end)
  1455. end
  1456. mas:Destroy()
  1457. for a = 1, #c do
  1458. coroutine.resume(c[a])
  1459. end
  1460. end)
  1461. end
  1462. end)
  1463.  
  1464. addcmd('keybind','Binds a command to a key',{},
  1465. function(args,speaker)
  1466. if speaker.userId ~= LP.userId then
  1467. lponly(speaker) else
  1468. if #args < 2 then return end
  1469. local key = string.lower(args[1])
  1470. if #key > 1 or key == cmdbarbind then return end
  1471. local cmdText = GLS(false,1)
  1472. local cas = game:GetService("ContextActionService")
  1473. cas:BindAction("Keybind"..key,function(action,state,obj)
  1474. if state == Enum.UserInputState.Begin then
  1475. execCmd(cmdText,speaker)
  1476. end
  1477. end,false,key)
  1478. Notify("Binded "..cmdText.." to "..key)
  1479. end
  1480. end)
  1481.  
  1482. addcmd('unkeybind','Removes a binded command from a key',{'unbind'},
  1483. function(args,speaker)
  1484. if speaker.userId ~= LP.userId then
  1485. lponly(speaker) else
  1486. if #args < 1 then return end
  1487. local key = string.lower(args[1])
  1488. game:GetService("ContextActionService"):UnbindAction("Keybind"..key)
  1489. Notify("Unbinded "..key)
  1490. end
  1491. end)
  1492.  
  1493. addcmd('trail', 'spawns a trail behind a player',{},
  1494. function(args, speaker)
  1495. local players = getPlayer(args[1], speaker)
  1496. for i,v in pairs(players)do
  1497. spawn(function()
  1498. local pchar=_char(v)
  1499. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1500. if v1.Name == "TRAIL" then
  1501. v1:Destroy()
  1502. end
  1503. end
  1504. if args[2] then
  1505. color1 = Color3.new(args[2],args[3],args[4])
  1506. color2 = Color3.new(0,0,0) else
  1507. color1 = Color3.new(1,1,1)
  1508. color2 = Color3.new(0,0,0) end
  1509. if pchar:FindFirstChild("Torso") then
  1510. local e = Instance.new("Trail", pchar.Torso)
  1511. e.Name = "TRAIL"
  1512. e.FaceCamera = true
  1513. e.Color = ColorSequence.new(color1,color2)
  1514. e.Attachment0 = pchar.Torso.WaistCenterAttachment
  1515. e.Attachment1 = pchar.Torso.NeckAttachment
  1516. end
  1517. end)
  1518. end
  1519. end)
  1520.  
  1521. addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
  1522. function(args, speaker)
  1523. local players = getPlayer(args[1], speaker)
  1524. for i,v in pairs(players)do
  1525. spawn(function()
  1526. local pchar=_char(v)
  1527. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  1528. if v1.Name == "TRAIL" then
  1529. v1:Destroy()
  1530. end
  1531. end
  1532. end)
  1533. end
  1534. end)
  1535.  
  1536. local fa = false
  1537. local cam = workspace.CurrentCamera
  1538. local cam1 = 0
  1539. local cam2 = 0
  1540. local cam3 = 0
  1541. local k1 = false
  1542. local k2 = false
  1543. local k3 = false
  1544. local k4 = false
  1545. local k5 = false
  1546. local k6 = false
  1547. local cs = 0.5
  1548. function movecam()
  1549. local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1550. if fa == false then
  1551. repeat
  1552. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1553. local fp = fc.Position
  1554. fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  1555. fa = true
  1556. end
  1557. game:GetService('RunService').RenderStepped:Wait()
  1558. until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1559. fa = false
  1560. end
  1561. end
  1562. function kp1(inputObject, gameProcessedEvent)
  1563. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1564. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1565. k1 = true
  1566. cam1 = cs end
  1567. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1568. k2 = true
  1569. cam1 = (cs*-1) end
  1570. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1571. k3 = true
  1572. cam2 = cs end
  1573. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1574. k4 = true
  1575. cam2 = (cs*-1) end
  1576. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1577. k5 = true
  1578. cam3 = cs end
  1579. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1580. k6 = true
  1581. cam3 = (cs*-1) end
  1582. end
  1583. end
  1584. game:GetService("UserInputService").InputBegan:connect(kp1)
  1585. function kp2(inputObject, gameProcessedEvent)
  1586. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1587. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1588. k1 = false
  1589. if k2 == false then
  1590. cam1 = 0
  1591. end
  1592. end
  1593. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1594. k2 = false
  1595. if k1 == false then
  1596. cam1 = 0
  1597. end
  1598. end
  1599. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1600. k3= false
  1601. if k4== false then
  1602. cam2 = 0
  1603. end
  1604. end
  1605. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1606. k4 = false
  1607. if k3 == false then
  1608. cam2 = 0
  1609. end
  1610. end
  1611. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1612. k5 = false
  1613. if k6 == false then
  1614. cam3 = 0
  1615. end
  1616. end
  1617. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1618. k6 = false
  1619. if k5 == false then
  1620. cam3 = 0
  1621. end
  1622. end
  1623. end
  1624. end
  1625. game:GetService("UserInputService").InputEnded:connect(kp2)
  1626. function FC()
  1627. if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1628. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  1629. local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  1630. fc.CanCollide = false
  1631. fc.Anchored = true
  1632. fc.Transparency = 1
  1633. fc.Size = Vector3.new(1,1,1)
  1634. fc.Name = 'xFC'
  1635. fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  1636. local cam = workspace.CurrentCamera
  1637. cam.CameraSubject = fc
  1638. cam.CameraType = 'Custom'
  1639. movecam()
  1640. end end
  1641. function UFC()
  1642. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  1643. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1644. game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  1645. local cam = workspace.CurrentCamera
  1646. cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  1647. cam.CameraType = 'Custom'
  1648. end end
  1649.  
  1650. addcmd('freecam','freecam',{'fc'},
  1651. function(args, speaker)
  1652. if speaker.userId ~= LP.userId then
  1653. lponly(speaker)
  1654. else
  1655. FC()
  1656. end
  1657. end)
  1658.  
  1659. addcmd('witchhunt', 'deletes the trail behind a player',{'burn','witch'},
  1660. function(args, speaker)
  1661. local players = getPlayer(args[1], speaker)
  1662. for i,v in pairs(players)do
  1663. local pchar=_char(v)
  1664. local char = pchar
  1665. local hum = char.Humanoid
  1666. for k,c in pairs(char:children()) do if c:IsA("Part") and c.Name~="HumanoidRootPart" then c.Anchored=true end end
  1667. hum.HealthDisplayDistance = 0
  1668. --execcmd god
  1669. local stake = Instance.new("Part",char)
  1670. stake.Anchored = true
  1671. stake.BrickColor = BrickColor.new("Reddish brown")
  1672. stake.Material = "Wood"
  1673. stake.Size = Vector3.new(1,7,1)
  1674. stake.CFrame = char.Torso.CFrame*CFrame.new(0,0,1)
  1675. local hay = Instance.new("Part",char)
  1676. hay.Anchored = true
  1677. hay.Material = "Grass"
  1678. hay.BrickColor = BrickColor.new("New Yeller")
  1679. hay.Size = Vector3.new(6,1,5)
  1680. hay.CFrame = char.Torso.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,2,0)
  1681. local hay2 = hay:clone()
  1682. hay2.Parent = char
  1683. hay2.CFrame = char.Torso.CFrame*CFrame.new(0,-2.6,0)*CFrame.Angles(0,6,0)
  1684. local fire = Instance.new("Fire",hay)
  1685. fire.Enabled = false
  1686. fire.Heat = 25
  1687. fire.Size = 2
  1688. fire.Color = Color3.new(170/255,85/255,0)
  1689. local smoke = Instance.new("Smoke",hay)
  1690. smoke.Enabled = false
  1691. smoke.Opacity = 1
  1692. smoke.RiseVelocity = 25
  1693. smoke.Size = 15
  1694. smoke.Color = Color3.new(0,0,0)
  1695. local light = Instance.new("PointLight",hay)
  1696. light.Color = Color3.new(170/255,85/255,0)
  1697. light.Range = 0
  1698. light.Brightness = 1
  1699. light.Enabled = false
  1700. --[[]]
  1701. local crack = Instance.new("Sound",hay)
  1702. crack.SoundId = "rbxassetid://239443642"
  1703. crack.Looped = true
  1704. crack.Volume = 0
  1705. local scream = Instance.new("Sound",char.Torso)
  1706. scream.SoundId = "rbxassetid://264227115"
  1707. scream.Looped = true
  1708. scream.Volume = 0
  1709. --]]
  1710. wait()
  1711. char['Left Arm'].CFrame = char.Torso.CFrame * CFrame.new(-0.8,0,0.7) * CFrame.Angles(-1,0,0.5)
  1712. char['Right Arm'].CFrame = char.Torso.CFrame * CFrame.new(0.8,0,0.7) * CFrame.Angles(-1,0,-0.5)
  1713.  
  1714. local bods = char['Body Colors']
  1715. local colors = {
  1716. --"Really red";
  1717. "Bright red";
  1718. "Crimson";
  1719. "Maroon";
  1720. "Really black";
  1721. }
  1722.  
  1723. fire.Enabled=true
  1724. smoke.Enabled=true
  1725. light.Enabled=true
  1726. crack:Play()
  1727. scream:Play()
  1728. scream.Pitch = 0.8
  1729. --scream.Volume = 0.5
  1730. for i=1,30 do
  1731. crack.Volume = crack.Volume+(1/30)
  1732. scream.Volume = crack.Volume
  1733. fire.Size=i
  1734. smoke.RiseVelocity=i-5
  1735. smoke.Size=i/2
  1736. light.Range=i*2
  1737. wait(1)
  1738. end
  1739.  
  1740. for i=1,#colors do
  1741. bods.HeadColor=BrickColor.new(colors[i])
  1742. bods.LeftArmColor=BrickColor.new(colors[i])
  1743. bods.LeftLegColor=BrickColor.new(colors[i])
  1744. bods.RightArmColor=BrickColor.new(colors[i])
  1745. bods.RightLegColor=BrickColor.new(colors[i])
  1746. bods.TorsoColor=BrickColor.new(colors[i])
  1747. hay.BrickColor=BrickColor.new(colors[i])
  1748. hay2.BrickColor=BrickColor.new(colors[i])
  1749. stake.BrickColor=BrickColor.new(colors[i])
  1750. wait(5)
  1751. end
  1752. wait(10)
  1753. scream.Volume = 0.5
  1754. wait(1)
  1755. scream:Stop()
  1756. char:BreakJoints()
  1757. end
  1758. end)
  1759.  
  1760. addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
  1761. function(args, speaker)
  1762. if speaker.userId ~= LP.userId then
  1763. lponly(speaker)
  1764. else
  1765. UFC()
  1766. end
  1767. end)
  1768.  
  1769. addcmd('nolight', 'no more light',{'unlight'},
  1770. function(args, speaker)
  1771. local players = getPlayer(args[1], speaker)
  1772. for i,v in pairs(players)do
  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. end
  1780. end)
  1781.  
  1782. addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
  1783. function(args, speaker)
  1784. local players = getPlayer(args[1], speaker)
  1785. for i,v in pairs(players)do
  1786. local pchar=_char(v)
  1787. scale = 10
  1788.  
  1789. function weld(tab)
  1790. local last = nil
  1791. for i,v in pairs(tab) do
  1792. if v:IsA("BasePart") then
  1793. if last then
  1794. local w = Instance.new("Weld",last)
  1795. w.Part0 = w.Parent
  1796. w.Part1 = v
  1797. local pos = last.CFrame:toObjectSpace(v.CFrame)
  1798. w.C0 = pos
  1799. end
  1800. last = v
  1801. end
  1802. end
  1803. end
  1804.  
  1805. function makeball(pos)
  1806. local model = Instance.new("Model",workspace)
  1807. model.Name = gPlayers[v].Name .. "ball"
  1808. local rand = BrickColor.Random()
  1809. pchar.Head.Anchored = true
  1810. for i=0,340,20 do
  1811. wait()
  1812. for z=-90,70,20 do
  1813. local p = Instance.new("Part",model)
  1814. p.formFactor = "Custom"
  1815. p.BrickColor = rand
  1816. p.Transparency = 0.5
  1817. p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  1818. p.Anchored = true
  1819. p.TopSurface = 0
  1820. p.BottomSurface = 0
  1821. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  1822. p:breakJoints()
  1823. end
  1824. end
  1825. weld(model:children())
  1826. for i,v in pairs(model:children()) do v.Anchored = false end
  1827. pchar.Head.Anchored = false
  1828. model:MakeJoints()
  1829. end
  1830.  
  1831. if pchar then
  1832. makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
  1833. end
  1834. end
  1835. end)
  1836.  
  1837. addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
  1838. function(args, speaker)
  1839. local players = getPlayer(args[1], speaker)
  1840. for i,v in pairs(players)do
  1841. local pchar=_char(v)
  1842. for _, child in pairs( workspace:GetChildren()) do
  1843. if child.Name == gPlayers[v].Name .. "ball" then
  1844. child:Destroy()
  1845. end
  1846. end
  1847. end
  1848. end)
  1849.  
  1850. local car = game:GetService("InsertService"):LoadLocalAsset("rbxassetid://01308109587")
  1851.  
  1852. local fastwait = function(time)
  1853. local expire = tick()+(time or 0.02999999999999999889)
  1854. while game:GetService("RunService").Heartbeat:wait() do
  1855. if tick() >= expire then return true end
  1856. end
  1857. end
  1858.  
  1859. function arrest(name)
  1860. spawn(function()
  1861. local p = game:GetService("Players"):FindFirstChild(name)
  1862. local char = p.Character
  1863. local torso = p.Character:FindFirstChild("HumanoidRootPart")
  1864. local humanoid = p.Character:FindFirstChild("Humanoid")
  1865. if torso and humanoid and not char:FindFirstChild("ADONIS_VAN") then
  1866. local van = car:Clone()
  1867. if van then
  1868. local function check()
  1869. 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
  1870. return false
  1871. else
  1872. return true
  1873. end
  1874. end
  1875.  
  1876. --local driver = van.Driver
  1877. --local grabber = van.Clown
  1878. local primary = van.Primary
  1879. --local door = van.Door
  1880. local tPos = torso.CFrame
  1881.  
  1882. local sound = Instance.new("Sound",primary)
  1883. sound.SoundId = "rbxassetid://258529216"
  1884. sound.Looped = true
  1885. sound:Play()
  1886.  
  1887. local chuckle = Instance.new("Sound",primary)
  1888. chuckle.SoundId = "rbxassetid://175964948"
  1889. chuckle.Looped = true
  1890. chuckle.Volume = 0.5
  1891. chuckle:Play()
  1892.  
  1893. van.PrimaryPart = van.Primary
  1894. van.Name = "ADONIS_VAN"
  1895. van.Parent = workspace
  1896. humanoid.Name = "NoResetForYou"
  1897. humanoid.WalkSpeed = 0
  1898. sound.Pitch = 1.3
  1899.  
  1900. local music = workspace:FindFirstChild("COPSONG") or Instance.new("Sound",workspace)
  1901. music.Name = "COPSONG"
  1902. music.SoundId = "rbxassetid://132007810"
  1903. music.Volume = 1
  1904. music.Looped = true
  1905. if not music.Playing then music:Play() end
  1906.  
  1907. spawn(function()
  1908. while fastwait(0.2) do
  1909. van.Body.Lightbar.Red.PointLight.Enabled = true
  1910. van.Body.Lightbar.Blue.PointLight.Enabled = false
  1911. fastwait(0.2)
  1912. van.Body.Lightbar.Red.PointLight.Enabled = false
  1913. van.Body.Lightbar.Blue.PointLight.Enabled = true
  1914. end
  1915. end)
  1916.  
  1917. for i = 1,200 do
  1918. if not check() then
  1919. break
  1920. else
  1921. van:SetPrimaryPartCFrame(tPos*(CFrame.new(-200+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  1922. fastwait(0.001*(i/5))
  1923. end
  1924. end
  1925.  
  1926. sound.Pitch = 0.9
  1927.  
  1928. fastwait(0.5)
  1929. if check() then
  1930. --door.Transparency = 1
  1931. end
  1932.  
  1933. local freeze = Instance.new("Sound",primary)
  1934. freeze.SoundId = "rbxassetid://163732279"
  1935. freeze.Volume = 5
  1936. freeze:Play()
  1937.  
  1938. fastwait(3)
  1939.  
  1940. if check() then
  1941. torso.CFrame = primary.CFrame*(CFrame.new(0,2.3,0)*CFrame.Angles(0,math.rad(90),0))
  1942. end
  1943.  
  1944. fastwait(0.5)
  1945. if check() then
  1946. --door.Transparency = 0
  1947. end
  1948. fastwait(0.5)
  1949.  
  1950. sound.Pitch = 1.3
  1951. local gui = Instance.new("ScreenGui")
  1952. local frame = Instance.new("Frame",gui)
  1953. frame.BackgroundTransparency = 1
  1954. frame.BackgroundColor3 = Color3.new(0,0,0)
  1955. frame.Position = UDim2.new(0,0,0,-36)
  1956. frame.Size = UDim2.new(1,0,1,36)
  1957. spawn(function()
  1958. for i = 1,0,-0.01 do
  1959. frame.BackgroundTransparency = i
  1960. fastwait(0.1)
  1961. end
  1962. frame.BackgroundTransparency = 0
  1963. end)
  1964.  
  1965. p.CameraMaxZoomDistance = 0.5
  1966.  
  1967. torso.Anchored = true
  1968.  
  1969. for i = 1,400 do
  1970. if not check() then
  1971. break
  1972. else
  1973. van:SetPrimaryPartCFrame(tPos*(CFrame.new(0+i,-1,-7)*CFrame.Angles(0,math.rad(270),0)))
  1974. torso.CFrame = primary.CFrame*(CFrame.new(0,-0.4,0)*CFrame.Angles(0,math.rad(90),0))
  1975. fastwait(0.1/(i*5))
  1976.  
  1977. if i == 270 then
  1978. music.Volume = 5
  1979. end
  1980. end
  1981. end
  1982.  
  1983. local function KICK(P)
  1984. spawn(function()
  1985. for i = 1,5 do
  1986. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  1987. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1988. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  1989. spawn(function()
  1990. repeat fastwait()
  1991. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  1992. until not game:GetService("Players"):FindFirstChild(P.Name)
  1993. end)
  1994. P.Character.HumanoidRootPart.Anchored = true
  1995. end
  1996. end
  1997. end)
  1998. end
  1999.  
  2000. if p and p.Parent == game:GetService("Players") then
  2001. if p == game:GetService("Players").LocalPlayer then
  2002. fastwait(5)
  2003. end
  2004. torso.Anchored = false
  2005. p.CharacterAdded:Connect(function()
  2006. fastwait()
  2007. KICK(p)
  2008. end)
  2009. KICK(p)
  2010. end
  2011. fastwait(0.5)
  2012. pcall(function() van:Destroy() end)
  2013. pcall(function() gui:Destroy() end)
  2014. if not workspace:FindFirstChild("ADONIS_VAN") then
  2015. music:Destroy()
  2016. end
  2017. end
  2018. end
  2019. end)
  2020. end
  2021.  
  2022. addcmd('arrest', 'arrests player',{},
  2023. function(args, speaker)
  2024. local players = getPlayer(args[1], speaker)
  2025. for i,v in pairs(players)do
  2026. arrest(gPlayers[v].Name)
  2027. end
  2028. end)
  2029.  
  2030. addcmd('loopkill', 'rip person',{'lkill'},
  2031. function(args, speaker)
  2032. local players = getPlayer(args[1], speaker)
  2033. for i,v in pairs(players)do
  2034. if not FindTable(loopkillT, _players[v].Name) then
  2035. table.insert(loopkillT, _players[v].Name)
  2036. if FindTable(SPC, args[1]) then Notify('Loopkilling ' .. args[1]) else
  2037. Notify('Loopkilling player(s)') end end end end)
  2038.  
  2039. addcmd('unloopkill', 'un rip person',{'unlkill'},
  2040. function(args, speaker)
  2041. local players = getPlayer(args[1], speaker)
  2042. for i,v in pairs(players)do
  2043. if FindTable(loopkillT, _players[v].Name) then
  2044. table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
  2045. if FindTable(SPC, args[1]) then Notify('No longer loopkilling ' .. args[1]) else
  2046. Notify('No longer loopkilling player(s)') end end end end)
  2047.  
  2048. addcmd('disabletools', 'removes their tools',{'loopremovetools'},
  2049. function(args, speaker)
  2050. local players = getPlayer(args[1], speaker)
  2051. for i,v in pairs(players)do
  2052. if not FindTable(disabletoolsT, _players[v].Name) then
  2053. table.insert(disabletoolsT, _players[v].Name)
  2054. if FindTable(SPC, args[1]) then Notify('Disabled tools for ' .. args[1]) else
  2055. Notify('Disabled tools for player(s)') end end end end)
  2056.  
  2057. local fastwait = function(time)
  2058. local expire = tick()+(time or 0.02999999999999999889)
  2059. while game:GetService("RunService").Heartbeat:wait() do
  2060. if tick() >= expire then return true end
  2061. end
  2062. end
  2063.  
  2064. local song = nil
  2065. function zinniaKick(name)
  2066. spawn(function()
  2067. if song == nil then
  2068. song = Instance.new("Sound",workspace)
  2069. song.SoundId = "rbxassetid://190423831"
  2070. song.Volume = 1
  2071. song.Looped = true
  2072. song:Play()
  2073. end
  2074. local zin = Instance.new("Part")
  2075. zin.Name = "CuteZinnia"
  2076. zin.Anchored = true
  2077. zin.CanCollide = false
  2078. zin.Locked = true
  2079. local mesh = Instance.new("SpecialMesh")
  2080. mesh.MeshId = "rbxassetid://1175670539"
  2081. mesh.TextureId = "rbxassetid://1175670558"
  2082. mesh.Scale = Vector3.new(0.05,0.05,0.05)
  2083. mesh.Offset = Vector3.new(0,0.88,0)
  2084. mesh.Parent = zin
  2085. local char = game:GetService("Players")[name].Character
  2086. char.PrimaryPart = char.HumanoidRootPart
  2087. if char:FindFirstChild("Torso") then
  2088. char.Torso.Anchored = true
  2089. else
  2090. char.UpperTorso.Anchored = true
  2091. end
  2092. 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))
  2093. zin.Parent = workspace
  2094. 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)})
  2095. tween:Play()
  2096. fastwait(3)
  2097. for i = 50,1,-1 do
  2098. 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))
  2099. fastwait()
  2100. end
  2101. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2102. fastwait(1)
  2103. local turns = 0
  2104.  
  2105. while turns < 200 do
  2106. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2107. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2108. turns = turns + 1
  2109. fastwait()
  2110. end
  2111. for i = 1,10 do
  2112. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2113. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  2114. fastwait()
  2115. end
  2116. local rX,rZ = 0,0
  2117. repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
  2118. repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
  2119. local bv = Instance.new("BodyForce",char.HumanoidRootPart)
  2120. bv.Force = Vector3.new(rX,10000,rZ)
  2121. if char:FindFirstChild("Torso") then
  2122. char.Torso.Anchored = false
  2123. else
  2124. char.UpperTorso.Anchored = false
  2125. end
  2126. function KICK(P)
  2127. spawn(function()
  2128. for i = 1,5 do
  2129. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  2130. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  2131. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  2132. spawn(function()
  2133. repeat fastwait()
  2134. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  2135. until not game:GetService("Players"):FindFirstChild(P.Name)
  2136. end)
  2137. P.Character.HumanoidRootPart.Anchored = true
  2138. end
  2139. end
  2140. end)
  2141. end
  2142. spawn(function()
  2143. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then fastwait(10) else fastwait(5) end
  2144. game:GetService("Players")[name].CharacterAdded:Connect(function()
  2145. fastwait()
  2146. KICK(game:GetService("Players")[name])
  2147. end)
  2148. KICK(game:GetService("Players")[name])
  2149. end)
  2150. for i = 1,20 do
  2151. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2152. fastwait()
  2153. end
  2154. while turns > 0 do
  2155. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  2156. turns = turns - 5
  2157. fastwait()
  2158. end
  2159. fastwait(1)
  2160. zin.Name = "GoneZinnia"
  2161. local go = Instance.new("BodyVelocity",zin)
  2162. go.Velocity = zin.CFrame.lookVector * 100
  2163. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  2164. zin.Anchored = false
  2165. fastwait(20)
  2166. if song and not workspace:FindFirstChild("CuteZinnia") then
  2167. song:Destroy()
  2168. song = nil
  2169. end
  2170. end)
  2171. end
  2172.  
  2173. addcmd('zinnia', 'asdf for moon',{},
  2174. function(args, speaker)
  2175. local players = getPlayer(args[1], speaker)
  2176. for i,v in pairs(players)do
  2177. zinniaKick(gPlayers[v].Name)
  2178. end
  2179. end)
  2180.  
  2181. addcmd('rainbowname', 'color spam their name tag',{'rname'},
  2182. function(args, speaker)
  2183. local players = getPlayer(args[1], speaker)
  2184. for i,v in pairs(players)do
  2185. if not FindTable(rainbowT, _players[v].Name) then
  2186. table.insert(rainbowT, _players[v].Name)
  2187. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' rainbow name') else
  2188. Notify('Gave player(s) rainbow name') end end end end)
  2189.  
  2190. addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
  2191. function(args, speaker)
  2192. local players = getPlayer(args[1], speaker)
  2193. for i,v in pairs(players)do
  2194. if FindTable(rainbowT, _players[v].Name) then
  2195. table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
  2196. _players[v].Neutral = true
  2197. if FindTable(SPC, args[1]) then Notify('Disabled rainbow name for ' ..args[1]) else
  2198. Notify('Disabled rainbow name for player(s)') end end end end)
  2199.  
  2200. addcmd('terrain', 'gives you terrain tools',{'tt'},
  2201. function(args, speaker)
  2202. if speaker.userId ~= LP.userId then
  2203. lponly(speaker)
  2204. else
  2205. --Terrain Script
  2206. --Edge#3467/IoIman616
  2207.  
  2208. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui:GetChildren()) do
  2209. if child.Name == "MaterialGui" then
  2210. child:Destroy()
  2211. end
  2212. end
  2213.  
  2214. function sandbox(var,func)
  2215. local env = getfenv(func)
  2216. local newenv = setmetatable({},{
  2217. __index = function(self,k)
  2218. if k=="script" then
  2219. return var
  2220. else
  2221. return env[k]
  2222. end
  2223. end,
  2224. })
  2225. setfenv(func,newenv)
  2226. return func
  2227. end
  2228. cors = {}
  2229. mas = Instance.new("Model",game:GetService("Lighting"))
  2230. HopperBin0 = Instance.new("HopperBin")
  2231. HopperBin0.Name = "Terrain Build"
  2232. HopperBin0.Parent = mas
  2233. for i,v in pairs(mas:GetChildren()) do
  2234. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2235. pcall(function() v:MakeJoints() end)
  2236. end
  2237. mas:Destroy()
  2238. for i,v in pairs(cors) do
  2239. spawn(function()
  2240. pcall(v)
  2241. end)
  2242. end
  2243.  
  2244. wait(0.01)
  2245.  
  2246. function sandbox(var,func)
  2247. local env = getfenv(func)
  2248. local newenv = setmetatable({},{
  2249. __index = function(self,k)
  2250. if k=="script" then
  2251. return var
  2252. else
  2253. return env[k]
  2254. end
  2255. end,
  2256. })
  2257. setfenv(func,newenv)
  2258. return func
  2259. end
  2260. cors = {}
  2261. mas = Instance.new("Model",game:GetService("Lighting"))
  2262. ScreenGui0 = Instance.new("ScreenGui")
  2263. ImageLabel1 = Instance.new("ImageLabel")
  2264. ImageButton2 = Instance.new("ImageButton")
  2265. Frame3 = Instance.new("Frame")
  2266. NumberValue4 = Instance.new("NumberValue")
  2267. ImageButton5 = Instance.new("ImageButton")
  2268. Frame6 = Instance.new("Frame")
  2269. NumberValue7 = Instance.new("NumberValue")
  2270. ImageButton8 = Instance.new("ImageButton")
  2271. Frame9 = Instance.new("Frame")
  2272. NumberValue10 = Instance.new("NumberValue")
  2273. ImageButton11 = Instance.new("ImageButton")
  2274. Frame12 = Instance.new("Frame")
  2275. NumberValue13 = Instance.new("NumberValue")
  2276. ImageButton14 = Instance.new("ImageButton")
  2277. Frame15 = Instance.new("Frame")
  2278. NumberValue16 = Instance.new("NumberValue")
  2279. ImageButton17 = Instance.new("ImageButton")
  2280. Frame18 = Instance.new("Frame")
  2281. NumberValue19 = Instance.new("NumberValue")
  2282. ImageButton20 = Instance.new("ImageButton")
  2283. Frame21 = Instance.new("Frame")
  2284. NumberValue22 = Instance.new("NumberValue")
  2285. ImageButton23 = Instance.new("ImageButton")
  2286. Frame24 = Instance.new("Frame")
  2287. NumberValue25 = Instance.new("NumberValue")
  2288. ImageButton26 = Instance.new("ImageButton")
  2289. Frame27 = Instance.new("Frame")
  2290. NumberValue28 = Instance.new("NumberValue")
  2291. ImageButton29 = Instance.new("ImageButton")
  2292. Frame30 = Instance.new("Frame")
  2293. NumberValue31 = Instance.new("NumberValue")
  2294. ImageButton32 = Instance.new("ImageButton")
  2295. Frame33 = Instance.new("Frame")
  2296. NumberValue34 = Instance.new("NumberValue")
  2297. ImageButton35 = Instance.new("ImageButton")
  2298. Frame36 = Instance.new("Frame")
  2299. NumberValue37 = Instance.new("NumberValue")
  2300. ImageButton38 = Instance.new("ImageButton")
  2301. Frame39 = Instance.new("Frame")
  2302. NumberValue40 = Instance.new("NumberValue")
  2303. ImageButton41 = Instance.new("ImageButton")
  2304. Frame42 = Instance.new("Frame")
  2305. NumberValue43 = Instance.new("NumberValue")
  2306. ImageButton44 = Instance.new("ImageButton")
  2307. Frame45 = Instance.new("Frame")
  2308. NumberValue46 = Instance.new("NumberValue")
  2309. ImageButton47 = Instance.new("ImageButton")
  2310. Frame48 = Instance.new("Frame")
  2311. NumberValue49 = Instance.new("NumberValue")
  2312. ImageButton50 = Instance.new("ImageButton")
  2313. Frame51 = Instance.new("Frame")
  2314. NumberValue52 = Instance.new("NumberValue")
  2315. ImageButton53 = Instance.new("ImageButton")
  2316. Frame54 = Instance.new("Frame")
  2317. ScreenGui0.Name = "MaterialGui"
  2318. ScreenGui0.Parent = mas
  2319. ImageLabel1.Name = "MaterialMenu"
  2320. ImageLabel1.Parent = ScreenGui0
  2321. ImageLabel1.Transparency = 1
  2322. ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
  2323. ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
  2324. ImageLabel1.BackgroundTransparency = 1
  2325. ImageLabel1.ZIndex = 2
  2326. ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
  2327. ImageButton2.Name = "Grass"
  2328. ImageButton2.Parent = ImageLabel1
  2329. ImageButton2.Transparency = 1
  2330. ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2331. ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
  2332. ImageButton2.BackgroundTransparency = 1
  2333. ImageButton2.ZIndex = 4
  2334. ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
  2335. Frame3.Name = "Selection"
  2336. Frame3.Parent = ImageButton2
  2337. Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2338. Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2339. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  2340. Frame3.BorderSizePixel = 0
  2341. Frame3.ZIndex = 3
  2342. NumberValue4.Name = "num"
  2343. NumberValue4.Parent = ImageButton2
  2344. NumberValue4.Value = 1
  2345. ImageButton5.Name = "Sand"
  2346. ImageButton5.Parent = ImageLabel1
  2347. ImageButton5.Transparency = 1
  2348. ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2349. ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
  2350. ImageButton5.BackgroundTransparency = 1
  2351. ImageButton5.ZIndex = 4
  2352. ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
  2353. Frame6.Name = "Selection"
  2354. Frame6.Parent = ImageButton5
  2355. Frame6.Transparency = 1
  2356. Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2357. Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2358. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  2359. Frame6.BackgroundTransparency = 1
  2360. Frame6.BorderSizePixel = 0
  2361. Frame6.ZIndex = 3
  2362. NumberValue7.Name = "num"
  2363. NumberValue7.Parent = ImageButton5
  2364. NumberValue7.Value = 2
  2365. ImageButton8.Name = "Brick"
  2366. ImageButton8.Parent = ImageLabel1
  2367. ImageButton8.Transparency = 1
  2368. ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2369. ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
  2370. ImageButton8.BackgroundTransparency = 1
  2371. ImageButton8.ZIndex = 4
  2372. ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
  2373. Frame9.Name = "Selection"
  2374. Frame9.Parent = ImageButton8
  2375. Frame9.Transparency = 1
  2376. Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2377. Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2378. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  2379. Frame9.BackgroundTransparency = 1
  2380. Frame9.BorderSizePixel = 0
  2381. Frame9.ZIndex = 3
  2382. NumberValue10.Name = "num"
  2383. NumberValue10.Parent = ImageButton8
  2384. NumberValue10.Value = 3
  2385. ImageButton11.Name = "Granite"
  2386. ImageButton11.Parent = ImageLabel1
  2387. ImageButton11.Transparency = 1
  2388. ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2389. ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
  2390. ImageButton11.BackgroundTransparency = 1
  2391. ImageButton11.ZIndex = 4
  2392. ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
  2393. Frame12.Name = "Selection"
  2394. Frame12.Parent = ImageButton11
  2395. Frame12.Transparency = 1
  2396. Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2397. Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2398. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  2399. Frame12.BackgroundTransparency = 1
  2400. Frame12.BorderSizePixel = 0
  2401. Frame12.ZIndex = 3
  2402. NumberValue13.Name = "num"
  2403. NumberValue13.Parent = ImageButton11
  2404. NumberValue13.Value = 4
  2405. ImageButton14.Name = "Asphalt"
  2406. ImageButton14.Parent = ImageLabel1
  2407. ImageButton14.Transparency = 1
  2408. ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2409. ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
  2410. ImageButton14.BackgroundTransparency = 1
  2411. ImageButton14.ZIndex = 4
  2412. ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
  2413. Frame15.Name = "Selection"
  2414. Frame15.Parent = ImageButton14
  2415. Frame15.Transparency = 1
  2416. Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2417. Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2418. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  2419. Frame15.BackgroundTransparency = 1
  2420. Frame15.BorderSizePixel = 0
  2421. Frame15.ZIndex = 3
  2422. NumberValue16.Name = "num"
  2423. NumberValue16.Parent = ImageButton14
  2424. NumberValue16.Value = 5
  2425. ImageButton17.Name = "Iron"
  2426. ImageButton17.Parent = ImageLabel1
  2427. ImageButton17.Transparency = 1
  2428. ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2429. ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
  2430. ImageButton17.BackgroundTransparency = 1
  2431. ImageButton17.ZIndex = 4
  2432. ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
  2433. Frame18.Name = "Selection"
  2434. Frame18.Parent = ImageButton17
  2435. Frame18.Transparency = 1
  2436. Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2437. Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2438. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  2439. Frame18.BackgroundTransparency = 1
  2440. Frame18.BorderSizePixel = 0
  2441. Frame18.ZIndex = 3
  2442. NumberValue19.Name = "num"
  2443. NumberValue19.Parent = ImageButton17
  2444. NumberValue19.Value = 6
  2445. ImageButton20.Name = "Aluminum"
  2446. ImageButton20.Parent = ImageLabel1
  2447. ImageButton20.Transparency = 1
  2448. ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2449. ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
  2450. ImageButton20.BackgroundTransparency = 1
  2451. ImageButton20.ZIndex = 4
  2452. ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
  2453. Frame21.Name = "Selection"
  2454. Frame21.Parent = ImageButton20
  2455. Frame21.Transparency = 1
  2456. Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2457. Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2458. Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
  2459. Frame21.BackgroundTransparency = 1
  2460. Frame21.BorderSizePixel = 0
  2461. Frame21.ZIndex = 3
  2462. NumberValue22.Name = "num"
  2463. NumberValue22.Parent = ImageButton20
  2464. NumberValue22.Value = 7
  2465. ImageButton23.Name = "Gold"
  2466. ImageButton23.Parent = ImageLabel1
  2467. ImageButton23.Transparency = 1
  2468. ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2469. ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
  2470. ImageButton23.BackgroundTransparency = 1
  2471. ImageButton23.ZIndex = 4
  2472. ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
  2473. Frame24.Name = "Selection"
  2474. Frame24.Parent = ImageButton23
  2475. Frame24.Transparency = 1
  2476. Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2477. Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2478. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  2479. Frame24.BackgroundTransparency = 1
  2480. Frame24.BorderSizePixel = 0
  2481. Frame24.ZIndex = 3
  2482. NumberValue25.Name = "num"
  2483. NumberValue25.Parent = ImageButton23
  2484. NumberValue25.Value = 8
  2485. ImageButton26.Name = "Plank"
  2486. ImageButton26.Parent = ImageLabel1
  2487. ImageButton26.Transparency = 1
  2488. ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2489. ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
  2490. ImageButton26.BackgroundTransparency = 1
  2491. ImageButton26.ZIndex = 4
  2492. ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
  2493. Frame27.Name = "Selection"
  2494. Frame27.Parent = ImageButton26
  2495. Frame27.Transparency = 1
  2496. Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2497. Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2498. Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
  2499. Frame27.BackgroundTransparency = 1
  2500. Frame27.BorderSizePixel = 0
  2501. Frame27.ZIndex = 3
  2502. NumberValue28.Name = "num"
  2503. NumberValue28.Parent = ImageButton26
  2504. NumberValue28.Value = 9
  2505. ImageButton29.Name = "Log"
  2506. ImageButton29.Parent = ImageLabel1
  2507. ImageButton29.Transparency = 1
  2508. ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2509. ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
  2510. ImageButton29.BackgroundTransparency = 1
  2511. ImageButton29.ZIndex = 4
  2512. ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
  2513. Frame30.Name = "Selection"
  2514. Frame30.Parent = ImageButton29
  2515. Frame30.Transparency = 1
  2516. Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2517. Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2518. Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
  2519. Frame30.BackgroundTransparency = 1
  2520. Frame30.BorderSizePixel = 0
  2521. Frame30.ZIndex = 3
  2522. NumberValue31.Name = "num"
  2523. NumberValue31.Parent = ImageButton29
  2524. NumberValue31.Value = 10
  2525. ImageButton32.Name = "Gravel"
  2526. ImageButton32.Parent = ImageLabel1
  2527. ImageButton32.Transparency = 1
  2528. ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2529. ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
  2530. ImageButton32.BackgroundTransparency = 1
  2531. ImageButton32.ZIndex = 4
  2532. ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
  2533. Frame33.Name = "Selection"
  2534. Frame33.Parent = ImageButton32
  2535. Frame33.Transparency = 1
  2536. Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2537. Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2538. Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
  2539. Frame33.BackgroundTransparency = 1
  2540. Frame33.BorderSizePixel = 0
  2541. Frame33.ZIndex = 3
  2542. NumberValue34.Name = "num"
  2543. NumberValue34.Parent = ImageButton32
  2544. NumberValue34.Value = 11
  2545. ImageButton35.Name = "Cinder"
  2546. ImageButton35.Parent = ImageLabel1
  2547. ImageButton35.Transparency = 1
  2548. ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2549. ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
  2550. ImageButton35.BackgroundTransparency = 1
  2551. ImageButton35.ZIndex = 4
  2552. ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
  2553. Frame36.Name = "Selection"
  2554. Frame36.Parent = ImageButton35
  2555. Frame36.Transparency = 1
  2556. Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2557. Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2558. Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
  2559. Frame36.BackgroundTransparency = 1
  2560. Frame36.BorderSizePixel = 0
  2561. Frame36.ZIndex = 3
  2562. NumberValue37.Name = "num"
  2563. NumberValue37.Parent = ImageButton35
  2564. NumberValue37.Value = 12
  2565. ImageButton38.Name = "Stone"
  2566. ImageButton38.Parent = ImageLabel1
  2567. ImageButton38.Transparency = 1
  2568. ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2569. ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
  2570. ImageButton38.BackgroundTransparency = 1
  2571. ImageButton38.ZIndex = 4
  2572. ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
  2573. Frame39.Name = "Selection"
  2574. Frame39.Parent = ImageButton38
  2575. Frame39.Transparency = 1
  2576. Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2577. Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2578. Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
  2579. Frame39.BackgroundTransparency = 1
  2580. Frame39.BorderSizePixel = 0
  2581. Frame39.ZIndex = 3
  2582. NumberValue40.Name = "num"
  2583. NumberValue40.Parent = ImageButton38
  2584. NumberValue40.Value = 13
  2585. ImageButton41.Name = "Cement"
  2586. ImageButton41.Parent = ImageLabel1
  2587. ImageButton41.Transparency = 1
  2588. ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2589. ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
  2590. ImageButton41.BackgroundTransparency = 1
  2591. ImageButton41.ZIndex = 4
  2592. ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
  2593. Frame42.Name = "Selection"
  2594. Frame42.Parent = ImageButton41
  2595. Frame42.Transparency = 1
  2596. Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2597. Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2598. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  2599. Frame42.BackgroundTransparency = 1
  2600. Frame42.BorderSizePixel = 0
  2601. Frame42.ZIndex = 3
  2602. NumberValue43.Name = "num"
  2603. NumberValue43.Parent = ImageButton41
  2604. NumberValue43.Value = 14
  2605. ImageButton44.Name = "Red Plastic"
  2606. ImageButton44.Parent = ImageLabel1
  2607. ImageButton44.Transparency = 1
  2608. ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2609. ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
  2610. ImageButton44.BackgroundTransparency = 1
  2611. ImageButton44.ZIndex = 4
  2612. ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
  2613. Frame45.Name = "Selection"
  2614. Frame45.Parent = ImageButton44
  2615. Frame45.Transparency = 1
  2616. Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2617. Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2618. Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
  2619. Frame45.BackgroundTransparency = 1
  2620. Frame45.BorderSizePixel = 0
  2621. Frame45.ZIndex = 3
  2622. NumberValue46.Name = "num"
  2623. NumberValue46.Parent = ImageButton44
  2624. NumberValue46.Value = 15
  2625. ImageButton47.Name = "Blue Plastic"
  2626. ImageButton47.Parent = ImageLabel1
  2627. ImageButton47.Transparency = 1
  2628. ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2629. ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
  2630. ImageButton47.BackgroundTransparency = 1
  2631. ImageButton47.ZIndex = 4
  2632. ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
  2633. Frame48.Name = "Selection"
  2634. Frame48.Parent = ImageButton47
  2635. Frame48.Transparency = 1
  2636. Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2637. Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2638. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  2639. Frame48.BackgroundTransparency = 1
  2640. Frame48.BorderSizePixel = 0
  2641. Frame48.ZIndex = 3
  2642. NumberValue49.Name = "num"
  2643. NumberValue49.Parent = ImageButton47
  2644. NumberValue49.Value = 16
  2645. ImageButton50.Name = "Water"
  2646. ImageButton50.Parent = ImageLabel1
  2647. ImageButton50.Transparency = 1
  2648. ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2649. ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
  2650. ImageButton50.BackgroundTransparency = 1
  2651. ImageButton50.ZIndex = 4
  2652. ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
  2653. Frame51.Name = "Selection"
  2654. Frame51.Parent = ImageButton50
  2655. Frame51.Transparency = 1
  2656. Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2657. Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2658. Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
  2659. Frame51.BackgroundTransparency = 1
  2660. Frame51.BorderSizePixel = 0
  2661. Frame51.ZIndex = 3
  2662. NumberValue52.Name = "num"
  2663. NumberValue52.Parent = ImageButton50
  2664. NumberValue52.Value = 17
  2665. ImageButton53.Name = "Dig"
  2666. ImageButton53.Parent = ImageLabel1
  2667. ImageButton53.Transparency = 1
  2668. ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2669. ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
  2670. ImageButton53.BackgroundTransparency = 1
  2671. ImageButton53.ZIndex = 4
  2672. ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
  2673. Frame54.Name = "Selection"
  2674. Frame54.Parent = ImageButton53
  2675. Frame54.Transparency = 1
  2676. Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2677. Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2678. Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
  2679. Frame54.BackgroundTransparency = 1
  2680. Frame54.BorderSizePixel = 0
  2681. Frame54.ZIndex = 3
  2682. for i,v in pairs(mas:GetChildren()) do
  2683. v.Parent = gPlayers.LocalPlayer.PlayerGui
  2684. pcall(function() v:MakeJoints() end)
  2685. end
  2686. mas:Destroy()
  2687. for i,v in pairs(cors) do
  2688. spawn(function()
  2689. pcall(v)
  2690. end)
  2691. end
  2692. wait(0.01)
  2693. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  2694. material = 1
  2695. local Terrain = workspace.Terrain
  2696. local CC = workspace.CurrentCamera
  2697.  
  2698. local SelB = Instance.new("SelectionBox")
  2699. SelB.Color = BrickColor.new("Bright green")
  2700.  
  2701. local SelP = Instance.new("Part")
  2702. SelP.Anchored = true
  2703. SelP.formFactor = Enum.FormFactor.Custom
  2704.  
  2705. HopperBin0.Selected:connect(function(M)
  2706. SelB.Parent = gPlayers.LocalPlayer.PlayerGui
  2707. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
  2708. SelB.Adornee = nil
  2709.  
  2710. local ClickState = "None"
  2711.  
  2712. local ClickType = 1
  2713.  
  2714. local TerrainClick = 1
  2715.  
  2716. local P1 = nil
  2717.  
  2718. M.KeyDown:connect(function(K)
  2719. if K == "q" then
  2720. ClickType = 1
  2721. elseif K == "e" then
  2722. ClickType = 2
  2723. elseif K == "z" then
  2724. TerrainClick = 0
  2725. elseif K == "x" then
  2726. TerrainClick = 1
  2727. elseif K == "c" then
  2728. TerrainClick = 2
  2729. elseif K == "v" then
  2730. TerrainClick = 3
  2731. elseif K == "b" then
  2732. TerrainClick = 4
  2733. end
  2734. end)
  2735.  
  2736. M.Button1Down:connect(function()
  2737. if not M.Target then return end
  2738. local Hit = M.Hit
  2739. local cellPos
  2740. if ClickType == 1 then
  2741. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2742. else
  2743. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2744. end
  2745. if ClickState == "None" then
  2746. ClickState = "Click1"
  2747. P1 = cellPos
  2748. end
  2749. end)
  2750. M.Button1Up:connect(function()
  2751. if not M.Target then return end
  2752. local Hit = M.Hit
  2753. local cellPos
  2754. if ClickType == 1 then
  2755. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2756. else
  2757. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2758. end
  2759. if ClickState == "Click1" then
  2760. ClickState = "None"
  2761. local MinX = math.min(P1.x,cellPos.x)
  2762. local MaxX = math.max(P1.x,cellPos.x)
  2763. local MinY = math.min(P1.y,cellPos.y)
  2764. local MaxY = math.max(P1.y,cellPos.y)
  2765. local MinZ = math.min(P1.z,cellPos.z)
  2766. local MaxZ = math.max(P1.z,cellPos.z)
  2767. for y=MinY,MaxY do
  2768. for x=MinX,MaxX do
  2769. for z=MinZ,MaxZ do
  2770. Terrain:SetCell(x, y, z, material, 0, 0)
  2771. end
  2772. end
  2773. wait()
  2774. end
  2775. SelB.Adornee = nil
  2776. end
  2777. end)
  2778. M.Move:connect(function()
  2779. if not M.Target then return end
  2780. local Hit = M.Hit
  2781. local cellPos
  2782. if ClickType == 1 then
  2783. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2784. else
  2785. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2786. end
  2787. if ClickState == "Click1" then
  2788. SelB.Adornee = SelP
  2789. local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
  2790. local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
  2791. local Size = W1-W2
  2792. Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
  2793. local Pos = (W1+W2)/2
  2794. SelP.Size = Size
  2795. SelP.CFrame = CFrame.new(Pos)
  2796. end
  2797. end)
  2798. end)
  2799.  
  2800. HopperBin0.Deselected:connect(function()
  2801. SelB.Parent = nil
  2802. SelB.Adornee = nil
  2803. gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  2804. end)
  2805.  
  2806. game:GetService('RunService').Stepped:connect(function()
  2807. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
  2808. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  2809. if child:FindFirstChild("num") and material ~= child.num.Value then
  2810. child.Selection.BackgroundTransparency = 1
  2811. end
  2812. end
  2813. end
  2814. end)
  2815.  
  2816. for _, child in pairs( gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  2817. local enterCon = child.MouseButton1Click:connect(function()
  2818. if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
  2819. material = child.num.Value
  2820. if child:FindFirstChild("Selection") then
  2821. child.Selection.BackgroundTransparency = 0
  2822. end
  2823. end
  2824. end)
  2825. end
  2826.  
  2827. local clr = gPlayers.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
  2828. workspace.Terrain:Clear()
  2829. end)
  2830.  
  2831. function sandbox(var,func)
  2832. local env = getfenv(func)
  2833. local newenv = setmetatable({},{
  2834. __index = function(self,k)
  2835. if k=="script" then
  2836. return var
  2837. else
  2838. return env[k]
  2839. end
  2840. end,
  2841. })
  2842. setfenv(func,newenv)
  2843. return func
  2844. end
  2845. cors = {}
  2846. mas = Instance.new("Model",game:GetService("Lighting"))
  2847. HopperBin0 = Instance.new("HopperBin")
  2848. HopperBin0.Name = "Terrain Delete"
  2849. HopperBin0.Parent = mas
  2850. for i,v in pairs(mas:GetChildren()) do
  2851. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2852. pcall(function() v:MakeJoints() end)
  2853. end
  2854. mas:Destroy()
  2855. for i,v in pairs(cors) do
  2856. spawn(function()
  2857. pcall(v)
  2858. end)
  2859. end
  2860.  
  2861. function onClick(mouse)
  2862. p = gPlayers.LocalPlayer
  2863. if (p == nil) then return end
  2864. if (p.Character == nil) then return end
  2865.  
  2866. if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
  2867.  
  2868. c = workspace.Terrain
  2869.  
  2870. local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  2871. local x = cellPos.x
  2872. local y = cellPos.y
  2873. local z = cellPos.z
  2874.  
  2875. c:SetCell(x, y, z, 0, 0, 0)
  2876.  
  2877. end
  2878.  
  2879.  
  2880. function onSelect(mouse)
  2881. mouse.Button1Down:connect(function () onClick(mouse) end)
  2882. end
  2883.  
  2884.  
  2885.  
  2886. HopperBin0.Selected:connect(onSelect)
  2887. end
  2888. end)
  2889.  
  2890. addcmd('knife', 'tm knife',{},
  2891. function(args, speaker)
  2892. if speaker.userId ~= LP.userId then
  2893. lponly(speaker) else
  2894. if not game.CoreGui:FindFirstChild('CorePart') then
  2895. local data = game:GetObjects("rbxassetid://01318477872")[1]
  2896. local script = data.LocalScript
  2897.  
  2898. local player = gPlayers.LocalPlayer
  2899.  
  2900. if not player:FindFirstChild("TMDATA") then
  2901. script.Parent.TMDATA:Clone().Parent = player
  2902. end
  2903. if not game.ReplicatedStorage:FindFirstChild("GameInProgress") then
  2904. script.Parent.GameInProgress:Clone().Parent = game.ReplicatedStorage
  2905. end
  2906.  
  2907. if game.CoreGui:FindFirstChild("CorePart") then
  2908. game.CoreGui.CorePart:Remove()
  2909. end
  2910.  
  2911.  
  2912. if not game.ReplicatedStorage:FindFirstChild('Drone') then script.Parent.Drone:Clone().Parent = game.ReplicatedStorage end
  2913. local knife = script.Parent["Knife"]:Clone()
  2914. local gun = script.Parent["Gun"]:Clone()
  2915. local fastgun = script.Parent["Fast Gun"]:Clone()
  2916. local lasergun = script.Parent["Laser Gun"]:Clone()
  2917. script.Parent.CorePart:Clone().Parent = game.CoreGui
  2918.  
  2919. local newKnife = knife:Clone()
  2920. newKnife.Parent = player.Backpack
  2921. _G.tool = newKnife
  2922.  
  2923. local barActive = false
  2924. local activeOptions = {}
  2925.  
  2926. function createDDown(callback,but,...)
  2927. if barActive then
  2928. for i,v in pairs(activeOptions) do
  2929. v:Destroy()
  2930. end
  2931. activeOptions = {}
  2932. barActive = false
  2933. return
  2934. else
  2935. barActive = true
  2936. end
  2937. local slots = {...}
  2938. local base = but
  2939. for i,v in pairs(slots) do
  2940. local newOption = base:Clone()
  2941. newOption.ZIndex = 5
  2942. newOption.Name = "Option "..tostring(i)
  2943. newOption.Parent = base.Parent
  2944. table.insert(activeOptions,newOption)
  2945. 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))
  2946. newOption.Text = slots[i]
  2947. newOption.MouseButton1Down:connect(function()
  2948. but.Text = slots[i]
  2949. callback(slots[i])
  2950. for i,v in pairs(activeOptions) do
  2951. v:Destroy()
  2952. end
  2953. activeOptions = {}
  2954. barActive = false
  2955. end)
  2956. end
  2957. end
  2958.  
  2959. local butA = game.CoreGui.CorePart.Frame.ability
  2960. butA.MouseButton1Down:connect(function()
  2961. createDDown(function(sel)
  2962. gPlayers.LocalPlayer.TMDATA.Ability.Value = sel -- Rushed scripting, sorry for not being neat!
  2963. 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")
  2964. end)
  2965.  
  2966. local butG = game.CoreGui.CorePart.Frame.gamemode
  2967. butG.MouseButton1Down:connect(function()
  2968. createDDown(function(sel)
  2969. game.ReplicatedStorage.GameInProgress.Mode.Value = sel
  2970. end,butG,"Classic","Cold Killer")
  2971. end)
  2972.  
  2973. local butM = game.CoreGui.CorePart.Frame.mode
  2974. butM.MouseButton1Down:connect(function()
  2975. createDDown(function(sel)
  2976. _G.knifemode = sel
  2977. end,butM,"PlayersOnly","Players+Npcs")
  2978. end)
  2979.  
  2980. _G.Scripters = {}
  2981.  
  2982. function _G.loadScripts(obj,runall)
  2983. for i,v in pairs(obj:GetDescendants()) do
  2984. if v:IsA("LocalScript") and (not v.Disabled or runall) then
  2985. table.insert(_G.Scripters,v)
  2986. local i = #_G.Scripters
  2987. local loadfunc = loadstring("local script = _G.Scripters["..i.."]\n"..v.Source)
  2988. spawn(loadfunc)
  2989. print("LOADED",v:GetFullName())
  2990. end
  2991. end
  2992. end
  2993.  
  2994. player.CharacterAdded:Connect(function()
  2995. newKnife = knife:Clone()
  2996. newKnife.Parent = player.Backpack
  2997. _G.loadScripts(newKnife)
  2998. end)
  2999.  
  3000. _G.knifemode = "PlayersOnly"
  3001. _G.loadScripts(newKnife)
  3002. --_G.loadScripts(gun)
  3003. --_G.loadScripts(fastgun)
  3004. --_G.loadScripts(lasergun)
  3005. end
  3006. end
  3007. end)
  3008.  
  3009. addcmd('devuzi', 'op af',{'uzi'},
  3010. function(args, speaker)
  3011. if speaker.userId ~= LP.userId then
  3012. lponly(speaker)
  3013. else
  3014. wait(0.25);
  3015.  
  3016.  
  3017. _clear=function()
  3018. local c={char;bag;gui;};
  3019. for i=1,#c do
  3020. local c=c[i]:children();
  3021. for i=1,#c do
  3022. if(c[i].Name==name)then
  3023. c[i].Parent=nil;
  3024. end;
  3025. end;
  3026. end;
  3027. local n=name..user.Name;
  3028. local c=workspace:children();
  3029. for i=1,#c do
  3030. if(c[i].Name==n)then
  3031. c[i].Parent=nil;
  3032. end;
  3033. end;
  3034. end;
  3035.  
  3036. _valid_key=function(object,key)
  3037. return object[key],key;
  3038. end;
  3039.  
  3040. _new=function(class)
  3041. return function(props)
  3042. if(type(list_base_props)=='table')then
  3043. for i,v in next,list_base_props do
  3044. if(props[i]==nil)then
  3045. props[i]=v;
  3046. end;
  3047. end;
  3048. end;
  3049.  
  3050. local object=class;
  3051.  
  3052. if(type(class)=='string')then
  3053. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  3054. end;
  3055.  
  3056. local parent=props[1];
  3057. props[1]=nil;
  3058.  
  3059. for i,v in next,props do
  3060. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  3061. if(not load)then
  3062. load,res,key=pcall(_valid_key,object,i);
  3063. end;
  3064.  
  3065. if(key)then
  3066. t=type(res);
  3067. s=tostring(res);
  3068. if(t=='userdata'and s=='Signal '..key)then
  3069. if(type(v)=='table')then
  3070. for i=1,#v do
  3071. res:connect(v[i]);
  3072. end;
  3073. else
  3074. res:connect(v);
  3075. end;
  3076. else
  3077. object[key]=v;
  3078. end;
  3079. end;
  3080. end;
  3081.  
  3082. if(parent)then
  3083. object.Parent=parent;
  3084. end;
  3085.  
  3086. return object;
  3087. end;
  3088. end;
  3089.  
  3090. _RGB=function(r,g,b)
  3091. return Color3.new(r/255,g/255,b/255);
  3092. end;
  3093.  
  3094. _copy=function(o)
  3095. local def=o.archivable;
  3096. o.archivable=true;
  3097. local c=o:clone();
  3098. o.archivable=def;
  3099. return c;
  3100. end;
  3101.  
  3102. _hum=function(char)
  3103. local hum=char:findFirstChild'Humanoid';
  3104. if(not hum or hum.className~='Humanoid')then
  3105. local c=char:children();
  3106. for i=1,#c do
  3107. if(c[i].className=='Humanoid')then
  3108. return c[i];
  3109. end;
  3110. end;
  3111. else
  3112. return hum;
  3113. end;
  3114. end;
  3115.  
  3116. _hum_tag=function(hum)
  3117. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  3118. c.Name='creator';
  3119. c.Value=user;
  3120. if(hum.Health==0 and not hum:findFirstChild'killed')then
  3121. Instance.new('BoolValue',hum).Name='killed';
  3122. bullets.clip=bullets.clip+10;
  3123. end;
  3124. end;
  3125.  
  3126. _hum_dam=function(hum,dam,percent)
  3127. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  3128. if(hum.Health<=hum.MaxHealth*0.1)then
  3129. _hum_tag(hum);
  3130. end;
  3131. end;
  3132.  
  3133. _ray=function(v0,v1,i)
  3134. local mag=(v0-v1).magnitude;
  3135. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  3136.  
  3137. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  3138. end;
  3139.  
  3140. _must=function(v0,v1,i)
  3141. local hit,pos=_ray(v0,v1,i);
  3142. return not hit and mouse.target or hit,pos;
  3143. end;
  3144.  
  3145. _cframe=function(x,y,z,r0,r1,r2)
  3146. return CFrame.Angles(
  3147. math.rad(r0 or 0),
  3148. math.rad(r1 or 0),
  3149. math.rad(r2 or 0)
  3150. )*CFrame.new(x,y,z);
  3151. end;
  3152.  
  3153. _update=function()
  3154. if(bool_active and not screen.Parent)then
  3155. screen.Parent=gui;
  3156. elseif(not bool_active and screen.Parent)then
  3157. screen.Parent=nil;
  3158. end;
  3159. end;
  3160.  
  3161. _light=function(v0,v1)
  3162. local mag=(v0-v1).magnitude;
  3163. local len=math.random(2,7);
  3164. len=len>mag/2 and mag/2 or len;
  3165.  
  3166. --local light=_new'part'{
  3167. -- cFrame=CFrame.new(v0,v1);
  3168. -- size=Vector3.new(1,1,1);
  3169. -- color=_RGB(255,255,0);
  3170. -- anchored=true;
  3171. -- inv;
  3172. --};
  3173. _new'blockMesh'{
  3174. scale=Vector3.new(0.2,0.2,len);
  3175. offset=Vector3.new(0,0,-len/2);
  3176. light;
  3177. };
  3178.  
  3179. local bb=_new'billboardGui'{
  3180. size=UDim2.new(2,0,2,0);
  3181. adornee=light;
  3182. light;
  3183. };
  3184. _new'imageLabel'{
  3185. image=url:format(109101526);
  3186. backgroundTransparency=1;
  3187. size=UDim2.new(1,0,1,0);
  3188. bb;
  3189. };
  3190.  
  3191. -- _rem(light,0.15);
  3192. end;
  3193.  
  3194. _rem=function(object,del)
  3195. if(del)then
  3196. delay(del,function()
  3197. if(object.Parent)then
  3198. object.Parent=nil;
  3199. end;
  3200. end);
  3201. else
  3202. pcall(function()
  3203. if(object.Parent)then
  3204. object.Parent=nil;
  3205. end;
  3206. end);
  3207. end;
  3208. end;
  3209.  
  3210. _blood=function(pos,count)
  3211. for i=1,count do
  3212. local p=_new'part'{
  3213. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3214. position=pos+Vector3.new(math.random(),math.random(),math.random());
  3215. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3216. size=Vector3.new(math.random(),math.random(),math.random())/3;
  3217. color=_RGB(255,0,0);
  3218. transparency=0.5;
  3219. canCollide=true;
  3220. bottomSurface=0;
  3221. topSurface=0;
  3222. formFactor=3;
  3223. locked=true;
  3224. inv;
  3225. };
  3226. delay(5,function()
  3227. p.Parent=nil;
  3228. end);
  3229. end;
  3230. end;
  3231.  
  3232. _make_hue=function()
  3233. h_hue=_new'part'{
  3234. size=Vector3.new(0.25,1.8,0.35);
  3235. color=_RGB(100,100,100);
  3236. formFactor=3;
  3237. name='hue';
  3238. handle;
  3239. };
  3240. hh_weld=_new'weld'{
  3241. c1=_cframe(0,0.5,0);
  3242. part0=handle;
  3243. part1=h_hue;
  3244. handle;
  3245. };
  3246. end;
  3247.  
  3248. _shot=function(v0,v1)
  3249. if(not time_left)then
  3250. time_left=0;
  3251. end;
  3252. if(time_left>time())then
  3253. return nil;
  3254. else
  3255. time_left=time()+math.random(1,10)/100;
  3256. end;
  3257.  
  3258. if(bullets.current<1)then
  3259. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  3260. soundId='rbxasset://sounds/SWITCH3.wav';
  3261. name='tick_sound';
  3262. volume=0.2;
  3263. pitch=2;
  3264. head;
  3265. };
  3266. tick_sound:play();
  3267. if(bullets.clip>0)then
  3268. time_left=time()+2;
  3269. h_hue:breakJoints();
  3270. h_hue.CanCollide=true;
  3271. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  3272. _rem(h_hue,10);
  3273. delay(1.9,function()
  3274. _make_hue();
  3275. local got=(bullets.clip>bullets.maximum and
  3276. bullets.maximum or
  3277. bullets.clip)-bullets.current;
  3278.  
  3279. bullets.clip=bullets.clip-got;
  3280. bullets.current=bullets.current+got;
  3281. end);
  3282. end;
  3283. return nil;
  3284. else
  3285. bullets.current=bullets.current-1;
  3286.  
  3287. h_weld.C1=_cframe(0,0.75,0,
  3288. -math.random(1000,1100)/10,180,0);
  3289. d_weld.C1=_cframe(0,-0.25,0.3);
  3290.  
  3291. lightstuff.Visible=true;
  3292. delay(0.1,function()
  3293. lightstuff.Visible=false;
  3294. end);
  3295.  
  3296. _rem(_new'part'{
  3297. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  3298. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  3299. size=Vector3.new(0.1,0.1,0.4);
  3300. color=_RGB(200,200,0);
  3301. material='Slate';
  3302. canCollide=true;
  3303. formFactor=3;
  3304. inv;
  3305. },5);
  3306.  
  3307. delay(0.1,function()
  3308. d_weld.C1=_cframe(0,-0.25,0);
  3309. if(bool_active)then
  3310. h_weld.C1=h_weld_cf_active;
  3311. end;
  3312. end)
  3313. end;
  3314.  
  3315. local hit,pos=_must(v0,v1,char);
  3316.  
  3317. shot_sound:play();
  3318.  
  3319.  
  3320. _rem(_new'part'{
  3321. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3322. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3323. color=_RGB(255,255,0);
  3324. transparency=0.6;
  3325. reflectance=0.5;
  3326. canCollide=false;
  3327. bottomSurface=0;
  3328. anchored=true;
  3329. formFactor=3;
  3330. topSurface=0;
  3331. inv;
  3332. },.15);
  3333. _light(v0,v1);
  3334.  
  3335. if(not hit)then return nil;end;
  3336.  
  3337. if(hit.Parent.className=='Hat')then
  3338. hit:breakJoints();
  3339. hit.CanCollide=true;
  3340. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  3341. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  3342. else
  3343. local hum=_hum(hit.Parent);
  3344. if(not hum)then
  3345. if(hit.Anchored==false and hit.Size.magnitude<4)then
  3346. hit:breakJoints();
  3347. hit.CanCollide=true;
  3348. end;
  3349. else
  3350. _hum_dam(hum,math.random(4,6));
  3351. _blood(pos,math.random(3,6));
  3352. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  3353. if(hit.Name=='Head')then
  3354. hum.Health=0;
  3355. _blood(pos,math.random(3,6));
  3356. delay(0.001,function()
  3357. _new(workspace:FindFirstChild'head_shot'or'sound'){
  3358. pitch=math.random(70,100)*0.01;
  3359. soundId=url:format(1876552);
  3360. name='head_shot';
  3361. workspace;
  3362. }:play();
  3363. end);
  3364. _hum_tag(hum);
  3365. _rem(_new'part'{
  3366. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3367. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3368. color=torso.Color;
  3369. transparency=0.5;
  3370. canCollide=false;
  3371. bottomSurface=0;
  3372. anchored=true;
  3373. formFactor=3;
  3374. topSurface=0;
  3375. inv;
  3376. },30);
  3377. hit.Parent=nil;
  3378. for b=0,1 do
  3379. for a=0,1 do
  3380. for i=0,1 do
  3381. _rem(_new'part'{
  3382. velocity=CFrame.new(v0,pos).lookVector*20;
  3383. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  3384. size=Vector3.new(0.5,0.5,0.5);
  3385. color=_RGB(255,255,255);
  3386. bottomSurface=0;
  3387. canCollide=true;
  3388. transparency=0;
  3389. formFactor=3;
  3390. topSurface=0;
  3391. hum;
  3392. },30);
  3393. end;
  3394. end;
  3395. end;
  3396. end;
  3397. end;
  3398. end;
  3399. end;
  3400.  
  3401.  
  3402.  
  3403. _cf_select=function(mouse)
  3404. mouse.Icon=url:format(109111387);--108999296
  3405. bool_active=true;
  3406.  
  3407. local arm=char:findFirstChild'Right Arm';
  3408. local weld=torso:findFirstChild'Right Shoulder';
  3409. if(arm and weld)then
  3410. h_weld.Part0=arm;
  3411. h_weld.C1=h_weld_cf_active;
  3412.  
  3413. weld.Part1=nil;
  3414. weld.Part0=nil;
  3415.  
  3416. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  3417. name='right_arml';
  3418. part0=torso;
  3419. part1=arm;
  3420. torso;
  3421. };
  3422.  
  3423. arml=(arml or 0)+1;
  3424. local alv=arml;
  3425. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  3426. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  3427. gyro.P=30000;
  3428. gyro.D=1000;
  3429. gyro.Name='p_gyro';
  3430. repeat
  3431. local pos=mouse.hit.p;
  3432. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  3433.  
  3434. val=-math.pi*0.5;
  3435. valp=val*-1;
  3436. p0=torso.CFrame;
  3437. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  3438. p1=p0+((p0.p-pos).unit*-2);
  3439. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  3440. hitpos=torso.Position;
  3441. cj=CFrame.new(hitpos);
  3442. c0=torso.CFrame:inverse()*cj;
  3443. c1=p2:inverse()*cj;
  3444. weld.C0=c0;
  3445. weld.C1=c1;
  3446.  
  3447. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  3448.  
  3449. wait(0.001);
  3450. until arml~=alv;
  3451. gyro.Parent=nil;
  3452. end;
  3453. end;
  3454.  
  3455. _cf_deselect=function()
  3456. bool_active=false;
  3457. arml=(arml or 0)+1;
  3458. loop_shot=(loop_shot or 0)+1;
  3459.  
  3460. h_weld.Part0=torso;
  3461. h_weld.C1=h_weld_cf_inactive;
  3462.  
  3463. local weld=torso:findFirstChild'right_arml';
  3464. if(weld)then
  3465. weld.Part1=nil;
  3466. weld.Part0=nil;
  3467. end;
  3468. local arm=char:findFirstChild'Right Arm';
  3469. local weld=torso:findFirstChild'Right Shoulder';
  3470. if(arm and weld)then
  3471. weld.Part0=torso;
  3472. weld.Part1=arm;
  3473. end;
  3474. end;
  3475.  
  3476. _cf_mouse=function(event,fun)
  3477. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  3478. if(bool_active)then
  3479. fun(...);
  3480. end;
  3481. end);
  3482. end;
  3483.  
  3484.  
  3485. do
  3486. local main=getfenv(0);
  3487. local c=game:children();
  3488. local check=function(v)
  3489. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  3490. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  3491. end;
  3492. end;
  3493. for i=1,#c do
  3494. pcall(check,c[i]);
  3495. end;
  3496. end;
  3497.  
  3498.  
  3499. bullets={
  3500. maximum=51111111111111111111111111110;
  3501. current=511111111111111111111111111111110;
  3502. clip=501111111111111111111111111111111*4;
  3503. };
  3504.  
  3505. list_base_props={
  3506. backgroundColor3=_RGB(0,0,0);
  3507. textColor3=_RGB(200,200,200);
  3508. borderSizePixel=0;
  3509. color=_RGB(0,0,0);
  3510. archivable=false;
  3511. canCollide=false;
  3512. bottomSurface=0;
  3513. topSurface=0;
  3514. formFactor=0;
  3515. locked=true;
  3516. };
  3517.  
  3518.  
  3519.  
  3520. user=players.localPlayer;
  3521. mouse=user:getMouse();
  3522. char=user.Character;
  3523. gui=user.PlayerGui;
  3524. bag=user.Backpack;
  3525. torso=char.Torso;
  3526. head=char.Head;
  3527. hum=_hum(char);
  3528.  
  3529. url='rbxassetid://%d';
  3530. name='dev-uzi';
  3531.  
  3532. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  3533. 0,90,-70);
  3534. h_weld_cf_active=_cframe(0,0.75,0,
  3535. -110,180,0);
  3536.  
  3537. assert(hum,'humanoid is not found');
  3538.  
  3539.  
  3540.  
  3541. _clear();
  3542.  
  3543.  
  3544. _cf_mouse('button1Down',function()
  3545. loop_shot=(loop_shot or 0)+1;
  3546. local vers=loop_shot;
  3547. local step=runService.Stepped;
  3548. repeat
  3549. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  3550. step:wait();--wait(0.001);
  3551. until vers~=loop_shot;
  3552. end);
  3553.  
  3554. _cf_mouse('button1Up',function()
  3555. loop_shot=(loop_shot or 0)+1;
  3556. end);
  3557.  
  3558. _cf_mouse('move',function()
  3559. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  3560. end);
  3561.  
  3562. _cf_mouse('keyDown',function(k)
  3563. if(k=='r')then
  3564. if(bullets.clip>0 and time_left<=time())then
  3565. local got=(bullets.clip>bullets.maximum and
  3566. bullets.maximum or
  3567. bullets.clip)-bullets.current;
  3568.  
  3569. bullets.clip=bullets.clip-got;
  3570. bullets.current=bullets.current+got;
  3571. if(got~=0)then
  3572. time_left=time()+2;
  3573. end;
  3574. end;
  3575. end;
  3576. end);
  3577.  
  3578.  
  3579. screen=_new'screenGui'{
  3580. name=name;
  3581. };
  3582.  
  3583. cross_f=_new'frame'{
  3584. size=UDim2.new(0,21,0,21);
  3585. backgroundTransparency=1;
  3586. screen;
  3587. };
  3588.  
  3589. for i=0,1 do
  3590. _new'frame'{
  3591. position=UDim2.new(0,13*i,0,11);
  3592. size=UDim2.new(0,10,0,1);
  3593. cross_f;
  3594. };
  3595. end;
  3596.  
  3597. for i=0,1 do
  3598. _new'frame'{
  3599. position=UDim2.new(0,11,0,13*i);
  3600. size=UDim2.new(0,1,0,10);
  3601. cross_f;
  3602. };
  3603. end;
  3604.  
  3605.  
  3606.  
  3607. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  3608. soundId=url:format(2920959);
  3609. pitch=1.4;
  3610. head;
  3611. };
  3612. if(shot_sound.Name~='2920959')then
  3613. shot_sound.Name='2920959';
  3614. shot_sound:play();
  3615. end;
  3616.  
  3617. bin=_new'hopperBin'{
  3618. deselected=_cf_deselect;
  3619. selected=_cf_select;
  3620. name=name;
  3621. bag;
  3622. };
  3623.  
  3624. inv=_new'model'{
  3625. name=name;
  3626. char;
  3627. };
  3628.  
  3629. handle=_new'part'{
  3630. size=Vector3.new(0.3,1.3,0.4);
  3631. color=_RGB(140,140,140);
  3632. name='handle';
  3633. formFactor=3;
  3634. inv;
  3635. touched=function(hit)
  3636. if(hit.Parent.className=='Model')then
  3637. local hum=_hum(hit.Parent);
  3638. if(hum~=nil)then
  3639. _hum_dam(hum,handle.Velocity.magnitude);
  3640. end;
  3641. end;
  3642. end;
  3643. };
  3644. h_weld=_new'weld'{
  3645. c1=h_weld_cf_inactive;
  3646. part1=handle;
  3647. part0=torso;
  3648. handle;
  3649. };
  3650. _make_hue();
  3651.  
  3652. h_part=_new'part'{
  3653. size=Vector3.new(0.4,0.4,1.4);
  3654. color=_RGB(140,140,140);
  3655. name='handle';
  3656. formFactor=3;
  3657. handle;
  3658. };
  3659. hp_weld=_new'weld'{
  3660. c1=_cframe(0,-1.3/2,-0.3,
  3661. 20,0,0);
  3662. part0=handle;
  3663. part1=h_part;
  3664. handle;
  3665. };
  3666.  
  3667. drag=_new'part'{
  3668. size=Vector3.new(0.5,0.45,1.5);
  3669. color=_RGB(100,100,100);
  3670. name='handle';
  3671. formFactor=3;
  3672. handle;
  3673. };
  3674. d_weld=_new'weld'{
  3675. c1=_cframe(0,-0.25,0);
  3676. part0=h_part;
  3677. part1=drag;
  3678. handle;
  3679. };
  3680.  
  3681. tube=_new'part'{
  3682. size=Vector3.new(0.2,0.2,1.5);
  3683. color=_RGB(0,0,0);
  3684. name='handle';
  3685. formFactor=3;
  3686. handle;
  3687. };
  3688. t_weld=_new'weld'{
  3689. c1=_cframe(0,-0.3,-0.1);
  3690. part0=h_part;
  3691. part1=tube;
  3692. handle;
  3693. };
  3694.  
  3695. bullets_label=_new'textLabel'{
  3696. textStrokeColor3=_RGB(0,0,0);
  3697. textColor3=_RGB(200,200,200);
  3698. textStrokeTransparency=0;
  3699. backgroundTransparency=1;
  3700. fontSize=5;
  3701. screen;
  3702. };
  3703.  
  3704. lightstuff=_new'frame'{
  3705. backgroundColor3=_RGB(255,255,255);
  3706. position=UDim2.new(0,0,0,-1);
  3707. backgroundTransparency=0.5;
  3708. size=UDim2.new(1,0,1,1);
  3709. borderSizePixel=0;
  3710. visible=false;
  3711. screen;
  3712. };
  3713.  
  3714. coroutine.wrap(function()
  3715. local red,white,green;
  3716. repeat
  3717. if(screen.Parent)then
  3718. if(not green and bullets.current==bullets.maximum)then
  3719. green=true;
  3720. bullets_label.TextColor3=_RGB(0,200,0);
  3721. elseif(not red and bullets.current==0)then
  3722. red=true;
  3723. bullets_label.TextColor3=_RGB(200,0,0);
  3724. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  3725. bullets_label.TextColor3=_RGB(200,200,200);
  3726. green=false;
  3727. red=false;
  3728. end;
  3729. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  3730. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  3731. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  3732. end;
  3733. wait(0.001);
  3734. until nil;
  3735. end)();
  3736.  
  3737.  
  3738. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  3739. local vers=_G.dev_pistol_version;
  3740. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  3741. if(hum.Health==0)then
  3742. _clear();
  3743. end;
  3744. end
  3745. end)
  3746.  
  3747. addcmd('enabletools', 'lets them have tools',{'unloopremovetools'},
  3748. function(args, speaker)
  3749. local players = getPlayer(args[1], speaker)
  3750. for i,v in pairs(players)do
  3751. if FindTable(disabletoolsT, _players[v].Name) then
  3752. table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name))
  3753. if FindTable(SPC, args[1]) then Notify('Enabled tools for ' ..args[1]) else
  3754. Notify('Enabled tools for player(s)') end end end end)
  3755.  
  3756. addcmd('nil', 'removes the player',{},
  3757. function(args, speaker)
  3758. local players = getPlayer(args[1], speaker)
  3759. for i,v in pairs(players)do
  3760. pcall(function() gPlayers[v].Character:Remove() end)
  3761. gPlayers[v].Character = nil
  3762. if FindTable(SPC, args[1]) then Notify('Made ' ..args[1].. ' nil') else
  3763. Notify('Made player(s) nil') end end end)
  3764.  
  3765. addcmd('ban', 'goodbye ;)',{},
  3766. function(args, speaker)
  3767. local players = getPlayer(args[1], speaker)
  3768. for i,v in pairs(players)do
  3769. if FindTable(SPC, args[1]) then Notify('Banned ' ..args[1]) else
  3770. Notify('Banned player(s)') end
  3771. spawn(function()
  3772. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= LP.Name and gPlayers[v].Name ~= "sweg2hipALT" and gPlayers[v].Name ~= "Conceptual_Nullifier" and gPlayers[v].Name ~= "Thomasbudge" then
  3773. table.insert(banT, _players[v].userId)
  3774. table.insert(banname, _players[v].Name)
  3775. kickF(gPlayers[v])
  3776. else Notify('Error: That user is whitelisted and cannot be banned.')
  3777. end
  3778. end)
  3779. end
  3780. end)
  3781.  
  3782. addcmd('clearbans', 'welcome back!',{'clrbans'},
  3783. function(args, speaker)
  3784. banT = {}
  3785. banname = {}
  3786. Notify('Removed all bans')
  3787. end)
  3788.  
  3789. addcmd('unban','unbans a player',{},
  3790. function(args, speaker)
  3791. if FindTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])) then
  3792. table.remove(banT, GetInTable(banT, gPlayers:GetUserIdFromNameAsync(args[1])))
  3793. table.remove(banname, GetInTable(banname, args[1]))
  3794. Notify('Unbanned ' .. args[1])
  3795. end
  3796. end)
  3797.  
  3798. addcmd('dismiss', 'dismiss',{'verify'},
  3799. function(args, speaker)
  3800. for _, child in pairs( workspace:GetChildren()) do
  3801. if child.Name == speaker.Name .. "TAB" then
  3802. child:Destroy() end end
  3803. for a,b in pairs(hastab) do if b == speaker.Name then table.remove(hastab, a) end end
  3804. end)
  3805.  
  3806. addcmd('admin', 'ur an admin now ;o',{},
  3807. function(args, speaker)
  3808. if speaker.userId ~= LP.userId then
  3809. lponly(speaker) else
  3810. local players = getPlayer(args[1], speaker)
  3811. for i,v in pairs(players)do
  3812. spawn(function()
  3813. if _players[v].userId ~= LP.userId and not isAdmin(_players[v]) then
  3814. table.insert(adminT, _players[v].userId)
  3815. table.insert(adminname, _players[v].Name)
  3816. if FindTable(SPC, args[1]) then Notify('Gave ' ..args[1].. ' admin') else
  3817. Notify('Gave player(s) admin') end
  3818. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
  3819. end end) end end end)
  3820.  
  3821. adminname = {}
  3822. addcmd('admins','prints admins',{'adminlist'},
  3823. function(args, speaker)
  3824. if speaker.userId ~= LP.userId then
  3825. lponly(speaker)
  3826. else
  3827. print('ADMINS:')
  3828. wait(0.1)
  3829. for i, v in pairs (adminname) do print(v) end
  3830. Notify('Printed admins in the console (F9)')
  3831. end
  3832. end)
  3833.  
  3834. banname = {}
  3835. addcmd('bans','prints bans',{'banlist'},
  3836. function(args, speaker)
  3837. if speaker.userId ~= LP.userId then
  3838. lponly(speaker)
  3839. else
  3840. print('BANLAND:')
  3841. wait(0.1)
  3842. for i, v in pairs (banname) do print(v) end
  3843. Notify('Printed bans in the console (F9)')
  3844. end
  3845. end)
  3846.  
  3847. addcmd('bang','owo',{'rape'},
  3848. function(args, speaker)
  3849. local players = getPlayer(args[1], speaker)
  3850. for i,v in pairs(players)do
  3851. rape(_players[v].Name, speaker)
  3852. end
  3853. end)
  3854.  
  3855. addcmd('unadmin', 'removes the admin',{'noadmin'},
  3856. function(args, speaker)
  3857. if speaker.userId ~= LP.userId then
  3858. lponly(speaker)
  3859. else
  3860. local players = getPlayer(args[1], speaker)
  3861. for i,v in pairs(players)do
  3862. if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
  3863. if FindTable(adminT, _players[v].userId) then
  3864. table.remove(adminT, GetInTable(adminT, _players[v].userId))
  3865. table.remove(adminname, GetInTable(adminname, _players[v].Name))
  3866. if FindTable(SPC, args[1]) then Notify('Removed admin from ' .. args[1]) else
  3867. Notify('Removed admin from player(s)') end end
  3868. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
  3869. end
  3870. end
  3871. end
  3872. end)
  3873.  
  3874. addcmd('bgui', 'gives player billboard gui presenting text',{},
  3875. function(args, speaker)
  3876. local players = getPlayer(args[1], speaker)
  3877. for i,v in pairs(players)do
  3878. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  3879. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  3880. end
  3881.  
  3882. y = Instance.new("BillboardGui")
  3883. y.Size = UDim2.new(0,100,0,150)
  3884. y.StudsOffset = Vector3.new(0,1,0)
  3885. y.Parent = gPlayers[v].Character.Head
  3886. y.Adornee = gPlayers[v].Character.Head
  3887. f = Instance.new("TextLabel")
  3888. f.Parent = y
  3889. f.BackgroundTransparency = 1
  3890. f.Position = UDim2.new(0,0,0,-50)
  3891. f.Size = UDim2.new(0,100,0,100)
  3892. f.Font = "Highway"
  3893. f.FontSize = "Size48"
  3894. f.Text = GLS(false, 1)
  3895. f.TextStrokeColor3 = Color3.new(0,0,0)
  3896. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  3897. f.TextStrokeTransparency = 0
  3898. f.TextYAlignment = "Bottom"
  3899. end
  3900. end)
  3901.  
  3902. addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
  3903. function(args, speaker)
  3904. local players = getPlayer(args[1], speaker)
  3905. for i,v in pairs(players)do
  3906. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  3907. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  3908. end
  3909. end
  3910. end)
  3911.  
  3912. addcmd('esp', 'lets you see a players location',{},
  3913. function(args, speaker)
  3914. local players = getPlayer(args[1], speaker)
  3915. for i,v in pairs(players)do
  3916. if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
  3917. gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
  3918. end
  3919.  
  3920. y = Instance.new("BillboardGui")
  3921. y.Size = UDim2.new(0,100,0,150)
  3922. y.StudsOffset = Vector3.new(0,1,0)
  3923. y.Parent = gPlayers[v].Character.HumanoidRootPart
  3924. y.Adornee = gPlayers[v].Character.HumanoidRootPart
  3925. f = Instance.new("TextLabel")
  3926. f.Parent = y
  3927. f.BackgroundTransparency = 1
  3928. f.Position = UDim2.new(0,0,0,-50)
  3929. f.Size = UDim2.new(0,100,0,100)
  3930. f.Font = "Highway"
  3931. f.FontSize = "Size48"
  3932. f.Text = "v"
  3933. f.TextStrokeColor3 = Color3.new(0,0,0)
  3934. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  3935. f.TextStrokeTransparency = 0
  3936. f.TextYAlignment = "Bottom"
  3937. y.AlwaysOnTop = true
  3938. end
  3939. end)
  3940.  
  3941. addcmd('unesp', 'gives player billboard gui presenting text',{'noesp'},
  3942. function(args, speaker)
  3943. local players = getPlayer(args[1], speaker)
  3944. for i,v in pairs(players)do
  3945. if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
  3946. gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
  3947. end
  3948. end
  3949. end)
  3950.  
  3951. addcmd('rhats', 'no more hats',{'removehats'},
  3952. function(args, speaker)
  3953. local players = getPlayer(args[1], speaker)
  3954. for i,v in pairs(players) do
  3955. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3956. if v:IsA('Accessory') then
  3957. v:destroy()
  3958. end
  3959. end
  3960. end
  3961. end)
  3962.  
  3963. addcmd('notools', 'no more tools',{'rtools','clrtools','removetools'},
  3964. function(args, speaker)
  3965. local players = getPlayer(args[1], speaker)
  3966. for i,v in pairs(players) do
  3967. for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
  3968. if v:IsA('Tool') or v:IsA('HopperBin') then
  3969. v:destroy() end
  3970. for i,v in pairs(players) do
  3971. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3972. if v:IsA('Tool') or v:IsA('HopperBin') then
  3973. v:destroy() end end end
  3974. end
  3975. end
  3976. end)
  3977.  
  3978. addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
  3979. function(args, speaker)
  3980. local players = getPlayer(args[1], speaker)
  3981. for i,v in pairs(players) do
  3982. for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
  3983. if v:IsA('Tool') or v:IsA('HopperBin') then
  3984. v:Clone().Parent = speaker.Backpack
  3985. end
  3986. end
  3987. end
  3988. end)
  3989.  
  3990. addcmd('keeptools', 'saves tools in starterpack',{'startertools','stools','ktools'},
  3991. function(args, speaker)
  3992. local players = getPlayer(args[1], speaker)
  3993. for i,v in pairs(players)do
  3994. local function copy(instance)
  3995. for i,c in pairs(instance:GetChildren())do
  3996. if c:IsA('Tool') or c:IsA('HopperBin') then
  3997. c:Clone().Parent = gPlayers[v].StarterGear end
  3998. copy(c)
  3999. end
  4000. end
  4001. copy(gPlayers[v].Backpack)
  4002. end
  4003. for i,v in pairs(players)do
  4004. local function copy(instance)
  4005. for i,c in pairs(instance:GetChildren())do
  4006. if c:IsA('Tool') or c:IsA('HopperBin') then
  4007. c:Clone().Parent = gPlayers[v].StarterGear end
  4008. copy(c)
  4009. end
  4010. end
  4011. copy(gPlayers[v].Character)
  4012. end
  4013. Notify('Copied tools to StarterGear')
  4014. end)
  4015.  
  4016. addcmd('nokeeptools', 'deletes tools in starterpack',{'unkeeptools','nokeeptools','nostartertools','unstartertools','nostools','unstools','noktools','unktools'},
  4017. function(args, speaker)
  4018. local players = getPlayer(args[1], speaker)
  4019. for i,v in pairs(players)do
  4020. for i,c in pairs(gPlayers[v].StarterGear:GetChildren())do
  4021. if c:IsA('Tool') or c:IsA('HopperBin') then c:destroy()
  4022. end end end
  4023. Notify('Cleared tools from StarterGear')
  4024. end)
  4025.  
  4026. addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
  4027. function(args, speaker)
  4028. local players = getPlayer(args[1], speaker)
  4029. for i,v in pairs(players)do
  4030. local function copy(instance)
  4031. for i,c in pairs(instance:GetChildren())do
  4032. if c:IsA('Tool') or c:IsA('HopperBin') then
  4033. c:Clone().Parent = gPlayers[v].Backpack end
  4034. copy(c)
  4035. end
  4036. end
  4037. copy(LightingService)
  4038. end
  4039. for i,v in pairs(players)do
  4040. local function copy(instance)
  4041. for i,c in pairs(instance:GetChildren())do
  4042. if c:IsA('Tool') or c:IsA('HopperBin') then
  4043. c:Clone().Parent = gPlayers[v].Backpack end
  4044. copy(c)
  4045. end
  4046. end
  4047. copy(game.ReplicatedStorage)
  4048. end
  4049. end)
  4050.  
  4051. wdisco = false
  4052. addcmd('partdisco', 'color spams the workspace',{'pdisco'},
  4053. function(args, speaker)
  4054. if wdisco == false then
  4055. wdisco = true
  4056. presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  4057. repeat wait(1)
  4058. local function color(instance)
  4059. for i,v in pairs(instance:GetChildren())do
  4060. if v.className == "Part" then
  4061. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
  4062. color(v)
  4063. end
  4064. end
  4065. color(workspace)
  4066. until wdisco == false
  4067. end
  4068. end)
  4069.  
  4070. addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
  4071. function(args, speaker)
  4072. wdisco = false
  4073. end)
  4074.  
  4075. addcmd('gravity', 'workspace gravity',{''},
  4076. function(args, speaker)
  4077. workspace.Gravity = args[1]
  4078. Notify('Gravity set to ' .. args[1])
  4079. end)
  4080.  
  4081. SINFOGUIopen = false
  4082. function serverinfogui()
  4083. if SINFOGUIopen == false then
  4084. local Sinfo = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame")
  4085. local ContainerFrame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextLabel2 = Instance.new("TextLabel") local TextLabel3 = Instance.new("TextLabel") local Time = Instance.new("TextLabel")
  4086. local appearance = Instance.new("TextLabel") local fe = Instance.new("TextLabel") local maxplayers = Instance.new("TextLabel") local name = Instance.new("TextLabel") local placeid = Instance.new("TextLabel")
  4087. local playerid = Instance.new("TextLabel") local players = Instance.new("TextLabel") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton") local PopupText = Instance.new("TextLabel")
  4088. Sinfo.Name = "Sinfo" Sinfo.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Sinfo PromptDialog.Active = true
  4089. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0 PromptDialog.Draggable = true PromptDialog.Position = UDim2.new(0.5, -160, 0, -400)
  4090. PromptDialog.Size = UDim2.new(0, 310, 0, 300) PromptDialog.ZIndex = 8 ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog
  4091. ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 29) ContainerFrame.Size = UDim2.new(1, 0, 0.850000024, 0) ContainerFrame.ZIndex = 8
  4092. ContainerFrame.Style = Enum.FrameStyle.DropShadow TextLabel.Name = "Text Label" TextLabel.Parent = ContainerFrame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  4093. TextLabel.BackgroundTransparency = 1 TextLabel.BorderColor3 = Color3.new(0, 0, 0) TextLabel.Position = UDim2.new(0, 10, 0, 70) TextLabel.Size = UDim2.new(0, 100, 0, 20)
  4094. TextLabel.ZIndex = 10 TextLabel.Font = Enum.Font.SourceSans TextLabel.FontSize = Enum.FontSize.Size24 TextLabel.Text = "Run Time:" TextLabel.TextColor3 = Color3.new(1, 1, 1)
  4095. TextLabel.TextStrokeTransparency = 0 TextLabel.TextXAlignment = Enum.TextXAlignment.Left TextLabel2.Name = "Text Label2" TextLabel2.Parent = ContainerFrame TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  4096. TextLabel2.BackgroundTransparency = 1 TextLabel2.BorderColor3 = Color3.new(0, 0, 0) TextLabel2.Position = UDim2.new(0, 10, 0, 120) TextLabel2.Size = UDim2.new(0, 100, 0, 20) TextLabel2.ZIndex = 10
  4097. TextLabel2.Font = Enum.Font.SourceSans TextLabel2.FontSize = Enum.FontSize.Size24 TextLabel2.Text = "Statistics:" TextLabel2.TextColor3 = Color3.new(1, 1, 1) TextLabel2.TextStrokeTransparency = 0
  4098. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left TextLabel3.Name = "Text Label3" TextLabel3.Parent = ContainerFrame TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel3.BackgroundTransparency = 1
  4099. TextLabel3.BorderColor3 = Color3.new(0, 0, 0) TextLabel3.Position = UDim2.new(0, 10, 0, 0) TextLabel3.Size = UDim2.new(0, 100, 0, 20) TextLabel3.ZIndex = 10 TextLabel3.Font = Enum.Font.SourceSans
  4100. TextLabel3.FontSize = Enum.FontSize.Size24 TextLabel3.Text = "Local Player:" TextLabel3.TextColor3 = Color3.new(1, 1, 1) TextLabel3.TextStrokeTransparency = 0 TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  4101. Time.Name = "Time" Time.Parent = ContainerFrame Time.BackgroundColor3 = Color3.new(0, 0.8, 1) Time.BackgroundTransparency = 1 Time.BorderColor3 = Color3.new(0.2, 0.8, 0.2)
  4102. Time.Position = UDim2.new(0, 10, 0, 90) Time.Size = UDim2.new(0, 100, 0, 20) Time.ZIndex = 100 Time.Font = Enum.Font.ArialBold Time.FontSize = Enum.FontSize.Size14 Time.Text = "Loading..."
  4103. Time.TextColor3 = Color3.new(1, 1, 1) Time.TextStrokeTransparency = 0 Time.TextXAlignment = Enum.TextXAlignment.Left appearance.Name = "appearance" appearance.Parent = ContainerFrame
  4104. appearance.BackgroundColor3 = Color3.new(0, 0.8, 1) appearance.BackgroundTransparency = 1 appearance.BorderColor3 = Color3.new(0.2, 0.8, 0.2) appearance.Position = UDim2.new(0, 10, 0, 40)
  4105. appearance.Size = UDim2.new(0, 100, 0, 20) appearance.ZIndex = 10 appearance.Font = Enum.Font.ArialBold appearance.FontSize = Enum.FontSize.Size14 appearance.Text = "Appearance: Loading..."
  4106. appearance.TextColor3 = Color3.new(1, 1, 1) appearance.TextStrokeTransparency = 0 appearance.TextXAlignment = Enum.TextXAlignment.Left fe.Name = "fe" fe.Parent = ContainerFrame
  4107. fe.BackgroundColor3 = Color3.new(0, 0.8, 1) fe.BackgroundTransparency = 1 fe.BorderColor3 = Color3.new(0.2, 0.8, 0.2) fe.Position = UDim2.new(0, 10, 0, 200) fe.Size = UDim2.new(0, 100, 0, 20)
  4108. fe.ZIndex = 10 fe.Font = Enum.Font.ArialBold fe.FontSize = Enum.FontSize.Size14 fe.Text = "Loading..." fe.TextColor3 = Color3.new(1, 1, 1) fe.TextStrokeTransparency = 0
  4109. fe.TextXAlignment = Enum.TextXAlignment.Left maxplayers.Name = "maxplayers" maxplayers.Parent = ContainerFrame maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) maxplayers.BackgroundTransparency = 1
  4110. maxplayers.BorderColor3 = Color3.new(0.2, 0.8, 0.2) maxplayers.Position = UDim2.new(0, 10, 0, 160) maxplayers.Size = UDim2.new(0, 100, 0, 20) maxplayers.ZIndex = 10
  4111. maxplayers.Font = Enum.Font.ArialBold maxplayers.FontSize = Enum.FontSize.Size14 maxplayers.Text = "Max Players Loading..." maxplayers.TextColor3 = Color3.new(1, 1, 1)
  4112. maxplayers.TextStrokeTransparency = 0 maxplayers.TextXAlignment = Enum.TextXAlignment.Left name.Name = "name" name.Parent = ContainerFrame name.BackgroundColor3 = Color3.new(0, 0.8, 1) name.BackgroundTransparency = 1
  4113. name.BorderColor3 = Color3.new(0.2, 0.8, 0.2) name.Position = UDim2.new(0, 10, 0, 180) name.Size = UDim2.new(0, 100, 0, 20) name.ZIndex = 10 name.Font = Enum.Font.ArialBold name.FontSize = Enum.FontSize.Size14
  4114. name.Text = "Loading Place Name..." name.TextColor3 = Color3.new(1, 1, 1) name.TextStrokeTransparency = 0 name.TextXAlignment = Enum.TextXAlignment.Left placeid.Name = "placeid" placeid.Parent = ContainerFrame
  4115. placeid.BackgroundColor3 = Color3.new(0, 0.8, 1) placeid.BackgroundTransparency = 1 placeid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) placeid.Position = UDim2.new(0, 10, 0, 220)
  4116. placeid.Size = UDim2.new(0, 100, 0, 20) placeid.ZIndex = 10 placeid.Font = Enum.Font.ArialBold placeid.FontSize = Enum.FontSize.Size14 placeid.Text = "Place ID: Loading..." placeid.TextColor3 = Color3.new(1, 1, 1)
  4117. placeid.TextStrokeTransparency = 0 placeid.TextXAlignment = Enum.TextXAlignment.Left playerid.Name = "playerid" playerid.Parent = ContainerFrame playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4118. playerid.BackgroundTransparency = 1 playerid.BorderColor3 = Color3.new(0.2, 0.8, 0.2) playerid.Position = UDim2.new(0, 10, 0, 20) playerid.Size = UDim2.new(0, 100, 0, 20)
  4119. playerid.ZIndex = 10 playerid.Font = Enum.Font.ArialBold playerid.FontSize = Enum.FontSize.Size14 playerid.Text = "Player ID: Loading..." playerid.TextColor3 = Color3.new(1, 1, 1)
  4120. playerid.TextStrokeTransparency = 0 playerid.TextXAlignment = Enum.TextXAlignment.Left players.Name = "players" players.Parent = ContainerFrame players.BackgroundColor3 = Color3.new(0, 0.8, 1)
  4121. players.BackgroundTransparency = 1 players.BorderColor3 = Color3.new(0.2, 0.8, 0.2) players.Position = UDim2.new(0, 10, 0, 140) players.Size = UDim2.new(0, 100, 0, 20) players.ZIndex = 100
  4122. players.Font = Enum.Font.ArialBold players.FontSize = Enum.FontSize.Size14 players.Text = "Loading Player Count..." players.TextColor3 = Color3.new(1, 1, 1) players.TextStrokeTransparency = 0
  4123. players.TextXAlignment = Enum.TextXAlignment.Left shadow.Name = "shadow" shadow.Parent = PromptDialog shadow.Active = true shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Selectable = true
  4124. shadow.Size = UDim2.new(1, 0, 0.125, 0) shadow.ZIndex = 100 shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  4125. Exit.BackgroundTransparency = 0.30000001192093 Exit.BorderColor3 = Color3.new(1, 0, 0) Exit.Position = UDim2.new(0, 273, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110
  4126. Exit.FontSize = Enum.FontSize.Size14 Exit.Text = "" PopupText.Name = "PopupText" PopupText.Parent = shadow PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, -5)
  4127. PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.TextSize = 30 PopupText.Text = "Server"
  4128. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText.TextStrokeTransparency = 0 PopupText.TextWrapped = true PopupText.TextYAlignment = Enum.TextYAlignment.Top
  4129. local SINFOGUI = game.CoreGui.Sinfo.PromptDialog.ContainerFrame
  4130. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, 100), "InOut", "Quart", 0.5, true, nil)
  4131. SINFOGUIopen = true wait(0.5)
  4132. local Asset = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
  4133. SINFOGUI.name.Text = "Place: " .. Asset.Name
  4134. game.CoreGui.Sinfo.PromptDialog.shadow.Exit.MouseButton1Click:Connect(function()
  4135. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, -400), "InOut", "Quart", 0.5, true, nil)
  4136. wait(0.6) SINFOGUIopen = false SINFOGUI.Parent.Parent:Destroy() end)
  4137. SINFOGUI.playerid.Text = "Player ID: " ..gPlayers.LocalPlayer.UserId
  4138. if workspace.FilteringEnabled == true then
  4139. SINFOGUI.fe.Text = "Filtering Enabled"
  4140. elseif workspace.FilteringEnabled == false then
  4141. SINFOGUI.fe.Text = "Filtering Disabled" end
  4142. SINFOGUI.maxplayers.Text = gPlayers.MaxPlayers.. " Players Max"
  4143. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
  4144. players = gPlayers:getPlayers()
  4145. SINFOGUI.players.Text = #players.. " Player(s)"
  4146. SINFOGUI.appearance.Text = "Appearance: " ..gPlayers.LocalPlayer.CharacterAppearanceId
  4147. local seconds = math.floor(workspace.DistributedGameTime)
  4148. local minutes = math.floor(workspace.DistributedGameTime / 60)
  4149. local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  4150. local seconds = seconds - (minutes * 60)
  4151. local minutes = minutes - (hours * 60)
  4152. if hours < 1 then if minutes < 1 then
  4153. SINFOGUI.Time.Text = seconds .. " Second(s)" else
  4154. SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
  4155. SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  4156. end wait(1) until SINFOGUIopen == false end end
  4157. addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
  4158. function(args, speaker)
  4159. if speaker.userId ~= LP.userId then
  4160. lponly(speaker)
  4161. else
  4162. serverinfogui()
  4163. end
  4164. end)
  4165.  
  4166. addcmd('sparkles', 'give a player sparkles',{'sp'},
  4167. function(args, speaker)
  4168. local players = getPlayer(args[1], speaker)
  4169. for i,v in pairs(players)do
  4170. spawn(function()
  4171. local pchar=_char(v)
  4172. local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  4173. local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
  4174. local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  4175. local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  4176. local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  4177. local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  4178. if not args[2] then return end
  4179. Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4180. Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4181. Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4182. Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4183. Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4184. Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  4185. end)
  4186. end
  4187. end)
  4188.  
  4189. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles','unsp','nosp'},
  4190. function(args, speaker)
  4191. local players = getPlayer(args[1], speaker)
  4192. for i,v in pairs(players)do
  4193. local pchar=_char(v)
  4194. for j,v1 in pairs(pchar.Head:GetChildren()) do
  4195. if v1:IsA("Sparkles") then
  4196. v1:Destroy()
  4197. end
  4198. end
  4199. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  4200. if v1:IsA("Sparkles") then
  4201. v1:Destroy()
  4202. end
  4203. end
  4204. for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  4205. if v1:IsA("Sparkles") then
  4206. v1:Destroy()
  4207. end
  4208. end
  4209. for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  4210. if v1:IsA("Sparkles") then
  4211. v1:Destroy()
  4212. end
  4213. end
  4214. for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  4215. if v1:IsA("Sparkles") then
  4216. v1:Destroy()
  4217. end
  4218. end
  4219. for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  4220. if v1:IsA("Sparkles") then
  4221. v1:Destroy()
  4222. end
  4223. end
  4224. end
  4225. end)
  4226.  
  4227. addcmd('smoke', 'give a player smoke',{},
  4228. function(args, speaker)
  4229. local players = getPlayer(args[1], speaker)
  4230. for i,v in pairs(players)do
  4231. local pchar=_char(v)
  4232. Instance.new("Smoke", pchar.HumanoidRootPart)
  4233. end
  4234. end)
  4235.  
  4236. addcmd('addstat', 'give a player a stat',{},
  4237. function(args, speaker)
  4238. local players = getPlayer(args[1], speaker)
  4239. for i,v in pairs(players)do
  4240. spawn(function()
  4241. if gPlayers[v]:FindFirstChild("leaderstats") then
  4242. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  4243. if child.Name == "STAT" then
  4244. child:Destroy()
  4245. end
  4246. end
  4247. local score = Instance.new("StringValue")
  4248. score.Name = "STAT"
  4249. score.Value = GLS(false, 1)
  4250. score.Parent = gPlayers[v].leaderstats
  4251. else
  4252. local stats = Instance.new("IntValue")
  4253. stats.Name = "leaderstats"
  4254. stats.Parent = gPlayers[v]
  4255. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  4256. if child.Name == "STAT" then
  4257. child:Destroy()
  4258. end
  4259. end
  4260. local score = Instance.new("StringValue")
  4261. score.Name = "STAT"
  4262. score.Value = GLS(false, 1)
  4263. score.Parent = gPlayers[v].leaderstats
  4264. end
  4265. end)
  4266. end
  4267. end)
  4268.  
  4269. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  4270. function(args, speaker)
  4271. local players = getPlayer(args[1], speaker)
  4272. for i,v in pairs(players)do
  4273. local pchar=_char(v)
  4274. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  4275. if v1:IsA("Smoke") then
  4276. v1:Destroy()
  4277. end
  4278. end
  4279. end
  4280. end)
  4281.  
  4282. addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
  4283. function(args, speaker)
  4284. local players = getPlayer(args[1], speaker)
  4285. for i,v in pairs(players)do
  4286. local pchar=_char(v)
  4287. for i,v in pairs(pchar:GetChildren()) do
  4288. if pchar.Torso:FindFirstChild("Neck") then
  4289. pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4290. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4291. Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
  4292. Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
  4293. local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  4294. local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
  4295. end
  4296. end
  4297. end
  4298. end)
  4299.  
  4300. addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
  4301. function(args, speaker)
  4302. local players = getPlayer(args[1], speaker)
  4303. for i,v in pairs(players)do
  4304. local pchar=_char(v)
  4305. for i,v in pairs(pchar:GetChildren()) do
  4306. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  4307. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  4308. end
  4309. end
  4310. end)
  4311.  
  4312. addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
  4313. function(args, speaker)
  4314. workspace.Terrain:Clear()
  4315. end)
  4316.  
  4317. addcmd('smite','get hit by lightning',{},
  4318. function(args, speaker)
  4319. local players = getPlayer(args[1], speaker)
  4320. for i,v in pairs(players)do
  4321. local pchar=_char(v)
  4322. spawn(function()
  4323. local char = pchar
  4324. local zeus = Instance.new("Model",char)
  4325. local cloud = Instance.new("Part",zeus)
  4326. cloud.Anchored = true
  4327. cloud.CanCollide = false
  4328. cloud.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,25,0)
  4329. local sound = Instance.new("Sound",cloud)
  4330. sound.SoundId = "rbxassetid://133426162"
  4331. local mesh = Instance.new("SpecialMesh",cloud)
  4332. mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  4333. mesh.TextureId = "http://www.roblox.com/asset/?id=1095709"
  4334. mesh.Scale = Vector3.new(30,30,40)
  4335. mesh.VertexColor = Vector3.new(0.3,0.3,0.3)
  4336. local light = Instance.new("PointLight",cloud)
  4337. light.Color = Color3.new(0,85/255,1)
  4338. light.Brightness = 10
  4339. light.Range = 30
  4340. light.Enabled = false
  4341. wait(0.2)
  4342. sound.Volume = 0.5
  4343. sound.Pitch = 0.8
  4344. sound:Play()
  4345. light.Enabled = true
  4346. wait(1/100)
  4347. light.Enabled = false
  4348. wait(0.2)
  4349. light.Enabled = true
  4350. light.Brightness = 1
  4351. wait(0.05)
  4352. light.Brightness = 3
  4353. wait(0.02)
  4354. light.Brightness = 1
  4355. wait(0.07)
  4356. light.Brightness = 10
  4357. wait(0.09)
  4358. light.Brightness = 0
  4359. wait(0.01)
  4360. light.Brightness = 7
  4361. light.Enabled = false
  4362. wait(1.5)
  4363. local part1 = Instance.new("Part",zeus)
  4364. part1.Anchored = true
  4365. part1.CanCollide = false
  4366. part1.Size = Vector3.new(2, 9.2, 1)
  4367. part1.BrickColor = BrickColor.new("New Yeller")
  4368. part1.Transparency = 0.6
  4369. part1.BottomSurface = "Smooth"
  4370. part1.TopSurface = "Smooth"
  4371. part1.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,15,0)
  4372. part1.Rotation = Vector3.new(0.359, 1.4, -14.361)
  4373. wait()
  4374. local part2 = part1:clone()
  4375. part2.Parent = zeus
  4376. part2.Size = Vector3.new(1, 7.48, 2)
  4377. part2.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,7.5,0)
  4378. part2.Rotation = Vector3.new(77.514, -75.232, 78.051)
  4379. wait()
  4380. local part3 = part1:clone()
  4381. part3.Parent = zeus
  4382. part3.Size = Vector3.new(1.86, 7.56, 1)
  4383. part3.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  4384. part3.Rotation = Vector3.new(0, 0, -11.128)
  4385. sound.SoundId = "rbxassetid://130818250"
  4386. sound.Volume = 1
  4387. sound.Pitch = 1
  4388. sound:Play()
  4389. wait()
  4390. part1.Transparency = 1
  4391. part2.Transparency = 1
  4392. part3.Transparency = 1
  4393. Instance.new("Smoke",char.HumanoidRootPart).Color = Color3.new(0,0,0)
  4394. char:BreakJoints()
  4395. end)
  4396. end
  4397. end)
  4398.  
  4399. addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
  4400. function(args, speaker)
  4401. local players = getPlayer(args[1], speaker)
  4402. for i,v in pairs(players)do
  4403. spawn(function()
  4404. local pchar=_char(v)
  4405. 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)
  4406. local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
  4407. local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
  4408. local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
  4409. local f = Instance.new("Sound")
  4410. f.Name = "fly"
  4411. f.SoundId = "rbxassetid://179438534"
  4412. f.Volume = 3
  4413. f.Pitch = 1
  4414. f.Looped = true
  4415. f.archivable = true
  4416. f.Parent = Ast
  4417. f:play()
  4418. local Touched = false
  4419. coroutine.wrap(function()
  4420. repeat wait(0.1)
  4421. Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
  4422. until not Ast or Ast.Parent == nil or Touched == true
  4423. end)()
  4424. Ast.Touched:connect(function(Part)
  4425. if Touched == false then
  4426. Touched = true
  4427. Part:BreakJoints()
  4428. local Boom = Instance.new("Explosion", workspace)
  4429. Boom.Position = Ast.Position
  4430. Boom.BlastPressure = 1000000
  4431. Boom.BlastRadius = 30
  4432. Fire.Heat = 0
  4433. Smoke.RiseVelocity = 0
  4434. f:Destroy()
  4435. local s = Instance.new("Sound")
  4436. s.Name = "boom"
  4437. s.SoundId = "rbxassetid://188590169"
  4438. s.Volume = 3
  4439. s.Pitch = 1
  4440. s.Looped = true
  4441. s.archivable = true
  4442. s.Parent = Ast
  4443. s:play()
  4444. coroutine.wrap(function()
  4445. wait(10)
  4446. s:Destroy()
  4447. if Ast and Ast.Parent ~= nil then
  4448. Ast:Destroy()
  4449. end
  4450. end)()
  4451. end
  4452. end)
  4453. end)
  4454. end
  4455. end)
  4456.  
  4457. addcmd('bomb','gives you a bomb vest',{'terrorist'},
  4458. function(args, speaker)
  4459. local players = getPlayer(args[1], speaker)
  4460. for i,v in pairs(players)do
  4461. spawn(function()
  4462. local Char=_char(v)
  4463. local HumanoidRootPart = Char.HumanoidRootPart
  4464. local TickWait = 1
  4465. local Dead = false
  4466.  
  4467. local Position = Vector3.new(0,100,0)
  4468. function NewPart(Parent)
  4469. local Part = Instance.new("Part", Parent)
  4470. Part.CanCollide = false
  4471. Part.Position = Position
  4472. Part.TopSurface = "Smooth"
  4473. Part.BottomSurface = "Smooth"
  4474. Position = Position + Vector3.new(0,10,0)
  4475. return Part
  4476. end
  4477.  
  4478. local Model = Char:FindFirstChild("Bomb")
  4479. if Model then Model:Destroy() end
  4480.  
  4481. local Model = Instance.new("Model", Char)
  4482. Model.Name = "Bomb"
  4483.  
  4484. local Belt = NewPart(Model)
  4485. Belt.Size = Vector3.new(2.2,0.5,1.2)
  4486. local Weld = Instance.new("Weld", Belt)
  4487. Weld.Part0 = Belt
  4488. Weld.Part1 = HumanoidRootPart
  4489. Weld.C0 = CFrame.new(0,1.1,0)
  4490. local Light = Instance.new("PointLight", Belt)
  4491. Light.Range = 15
  4492. Light.Brightness = 5
  4493. Light.Color = Color3.new(1,0,0)
  4494. local Beep = Instance.new("Sound", Belt)
  4495. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  4496. local ExplodeSound = Instance.new("Sound", Belt)
  4497. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
  4498. ExplodeSound.Pitch = 2.8
  4499. ExplodeSound.Volume = 3
  4500.  
  4501. local Back = NewPart(Model)
  4502. Back.Size = Vector3.new(1.5,1.5,0.5)
  4503. local Weld = Instance.new("Weld", Back)
  4504. Weld.Part0 = Back
  4505. Weld.Part1 = HumanoidRootPart
  4506. Weld.C0 = CFrame.new(0,0.1,-0.75)
  4507.  
  4508. local StrapLeft = NewPart(Model)
  4509. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  4510. local Weld = Instance.new("Weld", StrapLeft)
  4511. Weld.Part0 = StrapLeft
  4512. Weld.Part1 = HumanoidRootPart
  4513. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  4514.  
  4515. local BuckleLeft = NewPart(Model)
  4516. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  4517. local Weld = Instance.new("Weld", BuckleLeft)
  4518. Weld.Part0 = BuckleLeft
  4519. Weld.Part1 = HumanoidRootPart
  4520. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  4521.  
  4522. local StrapRight = NewPart(Model)
  4523. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  4524. local Weld = Instance.new("Weld", StrapRight)
  4525. Weld.Part0 = StrapRight
  4526. Weld.Part1 = HumanoidRootPart
  4527. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  4528.  
  4529. local BuckleRight = NewPart(Model)
  4530. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  4531. local Weld = Instance.new("Weld", BuckleRight)
  4532. Weld.Part0 = BuckleRight
  4533. Weld.Part1 = HumanoidRootPart
  4534. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  4535.  
  4536. LightEnabled = true
  4537. coroutine.wrap(function()
  4538. repeat
  4539. wait(TickWait)
  4540. LightEnabled = not LightEnabled
  4541. Light.Enabled = LightEnabled
  4542. Beep:Play()
  4543. until Dead == true or Char:FindFirstChild("Bomb") == nil
  4544. end)()
  4545.  
  4546. wait(10)
  4547. if Dead == false then
  4548. Dead = true
  4549. ExplodeSound:Play(); wait(1.4)
  4550. local Explosion = Instance.new("Explosion")
  4551. Explosion.Position = Belt.Position
  4552. Explosion.BlastPressure = 100000
  4553. Explosion.DestroyJointRadiusPercent = 0.7
  4554. Explosion.ExplosionType = "CratersAndDebris"
  4555. Explosion.BlastRadius = 50
  4556. Explosion.Parent = workspace
  4557. end
  4558. end)
  4559. end
  4560. end)
  4561.  
  4562. addcmd('btools', 'gives a player btools',{},
  4563. function(args, speaker)
  4564. local players = getPlayer(args[1], speaker)
  4565. if players ~= nil then
  4566. for i, v in pairs(players) do
  4567. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  4568. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  4569. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  4570. if FindTable(SPC, args[1]) then Notify('Gave building tools to ' ..args[1]) else
  4571. Notify('Gave btools to player(s)') end end end end)
  4572.  
  4573. addcmd('sword', 'gives a player a sword',{},
  4574. function(args, speaker)
  4575. local players = getPlayer(args[1], speaker)
  4576. if players ~= nil then
  4577. for i, v in pairs(players) do
  4578. coroutine.resume(coroutine.create(function()
  4579. if gPlayers[v] and gPlayers[v]:findFirstChild("Backpack") then
  4580. local sword = Instance.new("Tool", gPlayers[v].Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  4581. sword.GripForward = Vector3.new(-1,0,0)
  4582. sword.GripPos = Vector3.new(0,0,-1.5)
  4583. sword.GripRight = Vector3.new(0,1,0)
  4584. sword.GripUp = Vector3.new(0,0,1)
  4585. 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
  4586. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  4587. repeat wait() until gPlayers[v] and gPlayers[v].Character and gPlayers[v].Character:findFirstChild("Humanoid")
  4588. local Damage = 15
  4589. local SlashSound = Instance.new("Sound", handle)
  4590. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4591. SlashSound.Volume = 1
  4592. local LungeSound = Instance.new("Sound", handle)
  4593. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4594. LungeSound.Volume = 1
  4595. local UnsheathSound = Instance.new("Sound", handle)
  4596. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4597. UnsheathSound.Volume = 1
  4598. handle.Touched:connect(function(hit)
  4599. 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
  4600. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = speaker tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  4601. hit.Parent.Humanoid:TakeDamage(Damage)
  4602. if not sword.Enabled or gPlayers[v].Character.Humanoid.Health <= 0 then return end
  4603. sword.Enabled = false
  4604. SlashSound:play()
  4605. local slash = Instance.new("StringValue", sword) slash.Name = "toolanim" slash.Value = "Slash"
  4606. wait(0.5)
  4607. sword.Enabled = true
  4608. end
  4609. end)
  4610. sword.Equipped:connect(function(hit)
  4611. UnsheathSound:play()
  4612. sword.Enabled = true
  4613. end)
  4614. end
  4615. end))
  4616. end
  4617. end
  4618. end)
  4619.  
  4620. addcmd('hatsize', 'changes players hat size',{''},
  4621. function(args, speaker)
  4622. local players = getPlayer(args[1], speaker)
  4623. for i,v in pairs(players) do
  4624. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  4625. if v:IsA('Accessory') then
  4626. for a,b in pairs(v.Handle:GetChildren()) do
  4627. if b:IsA('SpecialMesh') then
  4628. b.Scale = args[2] * Vector3.new(1, 1, 1)
  4629. end
  4630. end
  4631. end
  4632. end
  4633. end
  4634. end)
  4635.  
  4636. addcmd('headsize', 'changes players head size',{''},
  4637. function(args, speaker)
  4638. local players = getPlayer(args[1], speaker)
  4639. for i,v in pairs(players) do
  4640. local plrchar = _players[v].Character
  4641. if args[2] == 1 then
  4642. plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  4643. plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
  4644. else
  4645. plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
  4646. end
  4647. end
  4648. end)
  4649.  
  4650. addcmd('change', 'changes a players stat',{'stat'},
  4651. function(args, speaker)
  4652. local players = getPlayer(args[1], speaker)
  4653. for i,v in pairs(players) do
  4654. if _players[v]:FindFirstChild('leaderstats') then
  4655. for i,v in pairs(_players[v].leaderstats:GetChildren()) do
  4656. if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
  4657. if args[3] then v.Value = tonumber(args[3]) end
  4658. elseif string.lower(v.Name) == string.lower(args[2]) and v:IsA('StringValue') then
  4659. v.Value = GLS(false, 2)
  4660. end
  4661. end
  4662. end
  4663. end
  4664. end)
  4665.  
  4666. addcmd('draw', 'drawing tool',{},
  4667. function(args, speaker)
  4668. if speaker.userId ~= LP.userId then
  4669. lponly(speaker)
  4670. else
  4671. for i,v in next,game:children()do
  4672. pcall(function()
  4673. local c=v.className;
  4674. rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  4675. end);
  4676. end;
  4677.  
  4678.  
  4679. user=players.LocalPlayer;
  4680. uname=user.Name;
  4681. guis=user.PlayerGui;
  4682. pack=user.Backpack;
  4683.  
  4684. keyDowns={};
  4685. freeKeys={};
  4686. shortcuts={};
  4687.  
  4688. _G.mine=_G.mine or{};
  4689.  
  4690. name='Draw3D';
  4691. url='http://www.roblox.com/asset/?id=%d';
  4692.  
  4693. iconNormal=url:format(96578285);
  4694. iconOnDown=url:format(96584484);
  4695.  
  4696. ver=0;
  4697. drawPixel=0.10;
  4698. _G.drawLimit=_G.drawLimit or 1000;
  4699.  
  4700. _G.drawColor=_G.drawColor or Color3.new();
  4701.  
  4702.  
  4703.  
  4704.  
  4705.  
  4706. destroy=game.remove;
  4707. find=game.findFirstChild;
  4708. new=Instance.new;
  4709. with=function(c)
  4710. return function(p)
  4711. local o=type(c)=='string'and new(c)or c;
  4712. local x=p.Parent;p.Parent=nil;
  4713. for i,v in next,p do
  4714. o[i]=v;
  4715. end;
  4716. if(x)then
  4717. o.Parent=x;
  4718. end;
  4719. return o;
  4720. end;
  4721. end;
  4722. getPlace=function()
  4723. if(find(workspace,'draw')==nil)then
  4724. new('Model',workspace).Name='draw';
  4725. end;
  4726. if(find(workspace.draw,uname)==nil)then
  4727. new('Model',workspace.draw).Name=uname;
  4728. end;
  4729. return workspace.draw[uname];
  4730. end;
  4731. drawLine=function(start,target)
  4732. local gui=with'BlockMesh'{
  4733. Parent=with'Part'{
  4734. CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  4735. Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  4736. Parent=getPlace();
  4737. Color=_G.drawColor;
  4738. BottomSurface=0;
  4739. Anchored=true;
  4740. TopSurface=0;
  4741. formFactor=3;
  4742. Name=name;
  4743. }}.Parent;
  4744. table.insert(_G.mine,gui);
  4745. return gui;
  4746. end;
  4747. onDown=function()
  4748. if(drawing)then
  4749. return nil;
  4750. end;
  4751. if(selectGui.Adornee)then
  4752. destroy(selectGui.Adornee);
  4753. end;
  4754.  
  4755. drawing=true;
  4756.  
  4757. mouse.Icon=iconOnDown;
  4758. ver=ver+1;
  4759.  
  4760.  
  4761. local cVer,start,target=ver,mouse.hit.p;
  4762.  
  4763. local group={};
  4764. repeat
  4765. Wait(0.02);
  4766.  
  4767. if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  4768.  
  4769. target=mouse.hit.p;
  4770.  
  4771. table.insert(group,drawLine(start,target));
  4772.  
  4773. start=target;
  4774. end;
  4775. until ver~=cVer;
  4776. drawing=false;
  4777.  
  4778. local groupM=new('Model',getPlace());
  4779. for i,v in next,group do
  4780. if(v:IsDescendantOf(Workspace))then
  4781. v.Parent=groupM;
  4782. end;
  4783. end;
  4784. if(next(groupM:children())==nil)then
  4785. destroy(groupM);
  4786. end;
  4787. end;
  4788. onUp=function()
  4789. mouse.Icon=iconNormal;
  4790. ver=ver+1;
  4791. end;
  4792. onKeyDown=function(k)
  4793. if(freeKeys[k]==false)then
  4794. return false;
  4795. end;
  4796. freeKeys[k]=false;
  4797. Wait(0.01);
  4798. if(keyDowns[k])then
  4799. keyDowns[k]();
  4800. elseif(shortcuts[k])then
  4801. shortcuts[k]();
  4802. end;
  4803. end;
  4804. onKeyUp=function(k)
  4805. freeKeys[k]=true;
  4806. end;
  4807. onMove=function()
  4808.  
  4809. end;
  4810. onSelect=function(lmouse)
  4811. frame.Visible=true;
  4812.  
  4813. mouse=lmouse;
  4814.  
  4815. mouse.Icon=iconNormal;
  4816.  
  4817. mouse.Button1Down:connect(onDown);
  4818. mouse.KeyDown:connect(onKeyDown);
  4819. mouse.Button1Up:connect(onUp);
  4820. mouse.KeyUp:connect(onKeyUp);
  4821. mouse.Move:connect(onMove);
  4822. end;
  4823. onDeselect=function()
  4824. ver=ver+1;
  4825. frame.Visible=false;
  4826. selectGui.Adornee=nil;
  4827. mouse.Icon=iconNormal;
  4828. for i,v in next,freeKeys do
  4829. freeKeys[i]=true;
  4830. end;
  4831. end;
  4832. addButton=function(title,shortcut,fun)
  4833. with'TextButton'{
  4834. Text=string.format(' %s (%s)',title,shortcut);
  4835. TextXAlignment=0;
  4836. Parent=frame;
  4837. }.MouseButton1Up:connect(fun);
  4838.  
  4839. shortcuts[shortcut]=fun;
  4840.  
  4841. local c=#frame:children();
  4842. for i,v in next,frame:children()do
  4843. v.Position=UDim2.new(0,0,0,20*(i-1));
  4844. v.Size=UDim2.new(1,0,0,20);
  4845. end;
  4846.  
  4847. frame.Position=UDim2.new(1,-152,.5,-c*10);
  4848. frame.Size=UDim2.new(0,150,0,c*20);
  4849. end;
  4850.  
  4851.  
  4852.  
  4853.  
  4854.  
  4855.  
  4856.  
  4857.  
  4858. for i,v in next,{guis;pack;}do
  4859. pcall(function()
  4860. repeat until destroy(v[name]);
  4861. end);
  4862. end;
  4863.  
  4864.  
  4865.  
  4866. tool=with'HopperBin'{
  4867. Parent=pack;
  4868. Name=name;
  4869. };
  4870. tool.Deselected:connect(onDeselect);
  4871. tool.Selected:connect(onSelect);
  4872.  
  4873.  
  4874.  
  4875.  
  4876. screen=with'ScreenGui'{
  4877. Parent=guis;
  4878. Name=name;
  4879. };
  4880. frame=with'Frame'{
  4881. Parent=screen;
  4882. Visible=false;
  4883. };
  4884. clframe=with'Frame'{
  4885. Position=UDim2.new(.5,-50,.5,-50);
  4886. Size=UDim2.new(0,100,0,100);
  4887. Visible=false;
  4888. Parent=screen;
  4889. };
  4890. selectGui=with'SelectionBox'{
  4891. Parent=screen;
  4892. };
  4893.  
  4894. local c=0;
  4895. for y=0,7 do
  4896. for x=0,7 do
  4897. local color=BrickColor.palette(c).Color;
  4898.  
  4899. with'ImageButton'{
  4900. Position=UDim2.new(.125*x,0,.125*y);
  4901. Size=UDim2.new(.125,0,.125);
  4902. BackgroundColor3=color;
  4903. Parent=clframe;
  4904. }.MouseButton1Up:connect(function()
  4905. clframe.Visible=false;
  4906. _G.drawColor=color;
  4907. end);
  4908.  
  4909. c=c+1;
  4910. end;
  4911. end;
  4912.  
  4913. addButton('Color','c',function()
  4914. clframe.Visible=true;
  4915. end);
  4916. addButton('Remove your draws','r',function()
  4917. repeat
  4918. destroy(_G.mine[1]);
  4919. table.remove(_G.mine,1);
  4920. Wait(0.01);
  4921. until nil;
  4922. end);
  4923. addButton('Remove global draws','k',function()
  4924. destroy(workspace.draw);
  4925. while(_G.mine[1])do
  4926. destroy(_G.mine[1]);
  4927. table.remove(_G.mine,1);
  4928. end;
  4929. end);
  4930. addButton('Remove selected','x',function()
  4931. repeat
  4932. if(find(workspace,'draw'))then
  4933. local dt=mouse.target;
  4934. if(dt and dt:IsDescendantOf(workspace.draw))then
  4935. selectGui.Adornee=dt.Parent;
  4936. else
  4937. selectGui.Adornee=nil;
  4938. end;
  4939. else
  4940. selectGui.Adornee=nil;
  4941. end;
  4942. Wait(0.01);
  4943. until freeKeys.x;
  4944. selectGui.Adornee=nil;
  4945. end);
  4946.  
  4947.  
  4948.  
  4949.  
  4950. repeat
  4951. Wait(0.01);
  4952. if(next(_G.mine)and _G.mine[_G.drawLimit])then
  4953. destroy(_G.mine[1]);
  4954. table.remove(_G.mine,1);
  4955. end;
  4956. until script.Parent==nil or tool.Parent==nil;
  4957. script.Disabled=true;
  4958. destroy(screen);
  4959. end
  4960. end)
  4961.  
  4962. addcmd('god', 'gods player',{},
  4963. function(args, speaker)
  4964. local players = getPlayer(args[1], speaker)
  4965. for i,v in pairs(players)do
  4966. local pchar=_char(v)
  4967. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  4968. end
  4969. end)
  4970.  
  4971. addcmd('sgod', 'silently gods player',{},
  4972. function(args, speaker)
  4973. local players = getPlayer(args[1], speaker)
  4974. for i,v in pairs(players)do
  4975. local pchar=_char(v)
  4976. spawn(function()
  4977. pchar.Humanoid.MaxHealth = 10000000
  4978. wait()
  4979. pchar.Humanoid.Health = 10000000
  4980. if FindTable(SPC, args[1]) then Notify('Silent godded ' ..args[1]) else
  4981. Notify('Silent godded player(s)') end
  4982. end)
  4983. end
  4984. end)
  4985.  
  4986. addcmd('ungod', 'removes god from a player',{},
  4987. function(args, speaker)
  4988. local players = getPlayer(args[1], speaker)
  4989. for i,v in pairs(players)do
  4990. local pchar=_char(v)
  4991. if pchar then
  4992. pchar.Humanoid.MaxHealth=100
  4993. pchar.Humanoid.Health=100
  4994. end
  4995. end
  4996. end)
  4997.  
  4998. addcmd('heal', 'resets a players health',{},
  4999. function(args, speaker)
  5000. local players = getPlayer(args[1], speaker)
  5001. for i,v in pairs(players)do spawn(function()
  5002. local pchar=_char(v)
  5003. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end end) end end)
  5004.  
  5005. addcmd('fart', 'makes u fart',{},
  5006. function(args, speaker)
  5007. local players = getPlayer(args[1], speaker)
  5008. for i,v in pairs(players)do
  5009. spawn(function()
  5010. local pchar=_char(v)
  5011. fart = Instance.new("Smoke")
  5012. fart.Parent = pchar.HumanoidRootPart
  5013. fart.Color = Color3.new(255/255, 255/255, 0)
  5014. fart.Opacity = 0.4
  5015. fart.Size = 1.0
  5016. fart.RiseVelocity = 8
  5017. fartsound = Instance.new("Sound", workspace)
  5018. fsound = "http://www.roblox.com/asset?id=251309043"
  5019. fartsound.SoundId = fsound
  5020. fartsound.Volume = 1.0
  5021. fartsound:Play()
  5022. wait(9.0)
  5023. fartsound:Destroy()
  5024. pchar.HumanoidRootPart.Smoke:Destroy()
  5025. end)
  5026. end
  5027. end)
  5028.  
  5029. addcmd('decalspam', 'you can already guess...',{},
  5030. function(args, speaker)
  5031. Notify('Decal Spammed ID: ' ..args[1])
  5032. wait(4)
  5033. decalID = args[1]
  5034. function exPro(root)
  5035. for _, v in pairs(root:GetChildren()) do
  5036. if v:IsA("BasePart") then
  5037. local One = Instance.new("Decal", v)
  5038. local Two = Instance.new("Decal", v)
  5039. local Three = Instance.new("Decal", v)
  5040. local Four = Instance.new("Decal", v)
  5041. local Five = Instance.new("Decal", v)
  5042. local Six = Instance.new("Decal", v)
  5043. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  5044. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  5045. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  5046. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  5047. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  5048. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  5049. One.Face = "Front"
  5050. Two.Face = "Back"
  5051. Three.Face = "Right"
  5052. Four.Face = "Left"
  5053. Five.Face = "Top"
  5054. Six.Face = "Bottom"
  5055. One.Name = "IYdecal"
  5056. Two.Name = "IYdecal"
  5057. Three.Name = "IYdecal"
  5058. Four.Name = "IYdecal"
  5059. Five.Name = "IYdecal"
  5060. Six.Name = "IYdecal"
  5061. end
  5062. exPro(v)
  5063. end
  5064. end
  5065. function asdf(root)
  5066. for _, v in pairs(root:GetChildren()) do
  5067. asdf(v)
  5068. end
  5069. end
  5070. exPro(workspace)
  5071. asdf(workspace)
  5072. end)
  5073.  
  5074. addcmd('undecalspam', 'removes the mess',{},
  5075. function(args, speaker)
  5076. Notify('Removing Decal Spam...')
  5077. wait(4)
  5078. function exPro(root)
  5079. for _, v in pairs(root:GetChildren()) do
  5080. if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
  5081. v.Parent = nil
  5082. end
  5083. exPro(v)
  5084. end
  5085. end
  5086. function asdf(root)
  5087. for _, v in pairs(root:GetChildren()) do
  5088. asdf(v)
  5089. end
  5090. end
  5091. exPro(workspace)
  5092. asdf(workspace)
  5093. end)
  5094.  
  5095. addcmd('sky', 'sets the sky',{'skybox'},
  5096. function(args, speaker)
  5097. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
  5098. s = Instance.new("Sky")
  5099. s.Name = "Sky"
  5100. s.Parent = LightingService
  5101. local skyboxID = args[1]
  5102. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  5103. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  5104. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  5105. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  5106. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  5107. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  5108. LightingService.TimeOfDay = 12
  5109. end)
  5110.  
  5111. addcmd('freeze', 'freezes a player',{'fr'},
  5112. function(args, speaker)
  5113. local players = getPlayer(args[1], speaker)
  5114. if players ~= nil then
  5115. for i, v in pairs(players) do
  5116. spawn(function()
  5117. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and not x.Anchored then x.Anchored = true end
  5118. end
  5119. end)
  5120. end
  5121. end
  5122. end)
  5123.  
  5124. addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
  5125. function(args, speaker)
  5126. local players = getPlayer(args[1], speaker)
  5127. if players ~= nil then
  5128. for i, v in pairs(players) do
  5129. spawn(function()
  5130. for i, x in next, _char(v):GetDescendants() do if x:IsA("Part") and x.Anchored then x.Anchored = false end
  5131. end
  5132. end)
  5133. end
  5134. end
  5135. end)
  5136.  
  5137. addcmd('spawn', 'places a spawn',{'spawnpoint'},
  5138. function(args, speaker)
  5139. local players = getPlayer(args[1], speaker)
  5140. if players ~= nil then
  5141. for i, v in pairs(players) do
  5142. local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
  5143. M.CFrame = _char(v).HumanoidRootPart.CFrame
  5144. M.BrickColor = BrickColor.new('Really black') M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
  5145. M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
  5146. M.Anchored = true
  5147. end
  5148. end
  5149. end)
  5150.  
  5151. addcmd('deletespawns', 'places a spawn',{'removespawns'},
  5152. function(args, speaker)
  5153. for i,v in pairs(workspace:GetDescendants()) do
  5154. if v:IsA("SpawnLocation") then
  5155. v:Destroy()
  5156. end
  5157. end
  5158. end)
  5159.  
  5160. addcmd('neon', 'makes a player neon',{},
  5161. function(args, speaker)
  5162. local players = getPlayer(args[1], speaker)
  5163. if players ~= nil then
  5164. for i, v in pairs(players) do
  5165. for _, child in pairs( _char(v):GetChildren()) do
  5166. if child.ClassName == "CharacterMesh" then
  5167. child:Destroy()
  5168. end
  5169. end
  5170. for _, child in pairs( _char(v):GetChildren()) do
  5171. if child.ClassName == "Shirt" then
  5172. child:Destroy()
  5173. end
  5174. end
  5175. for _, child in pairs( _char(v):GetChildren()) do
  5176. if child.ClassName == "Pants" then
  5177. child:Destroy()
  5178. end
  5179. end
  5180. for _, child in pairs( _char(v):GetChildren()) do
  5181. if child.ClassName == "Part" then
  5182. child.Material = "Neon"
  5183. end
  5184. end
  5185. end
  5186. end
  5187. end)
  5188.  
  5189. addcmd('kill', 'kills a player',{},
  5190. function(args, speaker)
  5191. local players = getPlayer(args[1], speaker)
  5192. for i,v in pairs(players)do
  5193. local pchar=_char(v)
  5194. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  5195. end
  5196. end)
  5197.  
  5198. addcmd('knuckles', 'kills a player',{'ugandaknuckles'},
  5199. function(args, speaker)
  5200. local players = getPlayer(args[1], speaker)
  5201. for i,v in pairs(players)do
  5202. local plr = gPlayers[v]
  5203. local char = plr.Character
  5204. local mouse = plr:GetMouse()
  5205. char.Humanoid.WalkSpeed = 100
  5206. char.Humanoid.JumpPower = 70
  5207. spawn(function()
  5208. for i,v in pairs(char:GetChildren()) do
  5209. if v:IsA("BasePart") then
  5210. coroutine.wrap(function()
  5211. for i=0,1,.1 do
  5212. wait()
  5213. v.Transparency = v.Transparency +i
  5214. end
  5215. end)()
  5216. end
  5217. end
  5218. for i,v in pairs(char:GetChildren()) do
  5219. if v:IsA("Accessory") then
  5220. coroutine.wrap(function()
  5221. for i=0,1,.1 do
  5222. wait()
  5223. v.Handle.Transparency = v.Handle.Transparency +i
  5224. end
  5225. end)()
  5226. end
  5227. end
  5228. end)
  5229. char.Head.face:Destroy()
  5230. wait(1)
  5231. local s = Instance.new("Sound")
  5232. s.Name = "wae"
  5233. s.SoundId = "http://www.roblox.com/asset/?id=1308281913"
  5234. s.Volume = 1
  5235. s.Pitch = 1
  5236. s.Looped = true
  5237. s.archivable = true
  5238. s.Parent = gPlayers.LocalPlayer.Character.Head
  5239. s:play()
  5240. local daqueen = Instance.new("Part",char)
  5241. daqueen.Name = "asd"
  5242. daqueen.CanCollide = false
  5243. local mesh = Instance.new("SpecialMesh",daqueen)
  5244. mesh.Scale = Vector3.new(0.1,0.1,0.1)
  5245. mesh.MeshId = "rbxassetid://1300136843"
  5246. local text = Instance.new("Decal",daqueen)
  5247. text.Name = "asd"
  5248. text.Texture = "rbxassetid://1300137893"
  5249. local knowdawey = Instance.new("Weld",char)
  5250. knowdawey.Part0 = char.HumanoidRootPart
  5251. knowdawey.Part1 = daqueen
  5252. local eye1 = Instance.new("Part")
  5253. eye1.CanCollide = false
  5254. eye1.Parent = char
  5255. local mesh1 = Instance.new("SpecialMesh",eye1)
  5256. mesh1.MeshId = "rbxassetid://1300138314"
  5257. mesh1.Scale = Vector3.new(0.1,0.1,0.2)
  5258. local eyetext = Instance.new("Decal",eye1)
  5259. eyetext.Texture = "rbxassetid://1300129774"
  5260. local eye1w = Instance.new("Weld",char)
  5261. eye1w.Part0 = char.HumanoidRootPart
  5262. eye1w.Part1 = eye1
  5263. eye1w.C1 = CFrame.new(0,-1.3,0.7)
  5264. end
  5265. end)
  5266.  
  5267. addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
  5268. function(args, speaker)
  5269. part = GLS(false, 0)
  5270. local function dels(instance)
  5271. for i,v in pairs(instance:GetChildren())do
  5272. if v.Name:lower() == part:lower() then v:Destroy() end
  5273. dels(v)
  5274. end
  5275. end
  5276. dels(workspace)
  5277. Notify('Deleted ' ..GLS(false, 0))
  5278. end)
  5279.  
  5280. addcmd('deleteclass', 'removes any part with a certain classname from the workspace',{'removeclass','deleteclassname','removeclassname'},
  5281. function(args, speaker)
  5282. part = GLS(false, 0)
  5283. local function dels(instance)
  5284. for i,v in pairs(instance:GetChildren())do
  5285. if v.ClassName:lower() == part:lower() then v:Destroy() end
  5286. dels(v)
  5287. end
  5288. end
  5289. dels(workspace)
  5290. Notify('Deleted items with ClassName ' ..GLS(false, 0))
  5291. end)
  5292.  
  5293. addcmd('blur', 'adjusts blur',{},
  5294. function(args, speaker)
  5295. local function dels(instance)
  5296. for i,v in pairs(instance:GetChildren())do
  5297. if v:IsA'BlurEffect'then v:Destroy()end
  5298. dels(v)
  5299. end
  5300. end
  5301. dels(LightingService)
  5302.  
  5303. local b = Instance.new("BlurEffect", LightingService)
  5304. b.Name = "IYblur"
  5305. b.Size = args[1]
  5306. end)
  5307.  
  5308.  
  5309. addcmd('volume','changes volume of sound',{},
  5310. function(args, speaker)
  5311. for i,v in pairs(workspace:GetChildren())do
  5312. if v:IsA("Sound") and v.Name == "IYsound" then
  5313. v.Volume = args[1]
  5314. Notify('Changed volume to ' .. args[1])
  5315. end
  5316. end
  5317. end)
  5318.  
  5319. addcmd('pitch','changes pitch of sound',{},
  5320. function(args, speaker)
  5321. for i,v in pairs(workspace:GetChildren())do
  5322. if v:IsA("Sound") and v.Name == "IYsound" then
  5323. v.Pitch = args[1]
  5324. Notify('Changed pitch to ' .. args[1])
  5325. end
  5326. end
  5327. end)
  5328.  
  5329. addcmd('loadmap', 'spawns a map',{},
  5330. function(args, speaker)
  5331. local m = args[1]
  5332. for _,v in pairs(workspace:GetChildren()) do
  5333. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  5334. v:Remove() elseif v:IsA("Terrain") then v:Clear() end end
  5335. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
  5336. wait(1)
  5337. game:GetObjects("rbxassetid://" .. m)[1].Parent = workspace
  5338. end)
  5339.  
  5340. addcmd('loadm','loads global messaging',{},
  5341. function(args, speaker)
  5342. msghook()
  5343. if MSGhook == false then
  5344. wait(0.1)
  5345. local localp = game:GetService'Players'.LocalPlayer
  5346. localp.CharacterAppearanceId = 20018
  5347. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  5348. wait(3)
  5349. gPlayers.LocalPlayer.Character:WaitForChild("Humanoid")
  5350. wait(0.5)
  5351. repeat wait() until gPlayers.LocalPlayer.Character.Humanoid.Health > 0
  5352. Instance.new("ForceField", gPlayers.LocalPlayer.Character)
  5353. repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
  5354. _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
  5355. localp.CharacterAppearanceId = 0
  5356. gPlayers.LocalPlayer.Character.Humanoid.Health = 0
  5357. if _G.mainhat ~= nil then
  5358. local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
  5359. local localp = game:GetService'Players'.LocalPlayer
  5360. local part = Instance.new('Part')
  5361. part.Anchored = true
  5362. part.Transparency = 1
  5363. main.Disabled = false
  5364. main.Parent = part
  5365. _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
  5366. Instance.new('ForceField', localp.Character)
  5367. localp.Character.HumanoidRootPart.Anchored = true
  5368. part.Parent = localp.Character
  5369. part.CFrame = localp.Character.HumanoidRootPart.CFrame
  5370. wait(0.5)
  5371. localp.Character.HumanoidRootPart.Anchored = false
  5372. repeat wait() until localp:FindFirstChild'ChessMsg'
  5373. part:Remove()
  5374. local message = localp:FindFirstChild'ChessMsg'
  5375. message.Text = ''
  5376. message.Parent = workspace
  5377. message.Name = "IYmessage"
  5378. if part ~= nil then part:Remove() end
  5379. localp.Character.HumanoidRootPart.Anchored = false
  5380. for _, child in pairs( workspace:GetChildren()) do
  5381. if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
  5382. child:Destroy()
  5383. end
  5384. end
  5385. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  5386. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  5387. if _G.msg ~= nil then
  5388. Notify('Loaded global message bypass')
  5389. else
  5390. warn'failed sadly'
  5391. end
  5392. end
  5393. elseif MSGhook == true then
  5394. Notify('Messages already loaded!')
  5395. end
  5396. end)
  5397.  
  5398. addcmd('countdown', 'makes a countdown', {},
  5399. function(args, speaker)
  5400. local players = getPlayer(args[1], speaker)
  5401. if args[1] ~= string then
  5402. local time = args[1]
  5403. msghook()
  5404. if MSGhook == true then
  5405. local h = workspace.IYmessage
  5406. for i = time, 1, -1 do
  5407. wait(1)
  5408. h.Text = "Countdown: "..i..""
  5409. end
  5410. wait(1)
  5411. h.Text = "Times Up!"
  5412. wait(2)
  5413. h.Text = ''
  5414. elseif MSGhook == false then
  5415. execCmd("loadm")
  5416. repeat wait() until workspace:FindFirstChild("IYmessage")
  5417. local h = workspace.IYmessage
  5418. for i = time, 1, -1 do
  5419. wait(1)
  5420. h.Text = "Countdown: "..i..""
  5421. end
  5422. wait(1)
  5423. h.Text = "Times Up!"
  5424. wait(2)
  5425. h.Text = ''
  5426. end
  5427. end
  5428. end)
  5429.  
  5430. addcmd('explode', 'explode a player', {},
  5431. function(args, speaker)
  5432. local players = getPlayer(args[1], speaker)
  5433. for i, v in pairs(players) do
  5434. local char = _char(v)
  5435. if char:FindFirstChild("HumanoidRootPart") then
  5436. Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
  5437. end
  5438. end
  5439. end)
  5440.  
  5441. addcmd('flood', 'makes a flood e.e', {},
  5442. function(args, speaker)
  5443. workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  5444. end)
  5445.  
  5446. addcmd('spookyify', 'makes it sp00ky', {},
  5447. function(args, speaker)
  5448. local music = Instance.new("Sound", workspace)
  5449. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  5450. music.Volume = 20
  5451. music.Looped = true
  5452. music:Play()
  5453.  
  5454. tex1 = "http://www.roblox.com/asset/?id=185495987"
  5455. tex2 = "http://www.roblox.com/asset/?id=260858020"
  5456. tex3 = "http://www.roblox.com/asset/?id=149213919"
  5457. tex4 = "http://www.roblox.com/asset/?id=171905673"
  5458.  
  5459. local w = workspace:GetChildren()
  5460.  
  5461. for i= 1,#w do
  5462. if w[i]:isA("BasePart") then
  5463. pe = Instance.new("ParticleEmitter", w[i])
  5464. pe.Texture = tex4
  5465. pe.VelocitySpread = 5
  5466. end
  5467. end
  5468.  
  5469. local playerLeaderstats = {}
  5470. for i, v in pairs(gPlayers:GetChildren()) do
  5471. table.insert(playerLeaderstats, v)
  5472. end
  5473. for i, v in pairs(playerLeaderstats) do
  5474. pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
  5475. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  5476. pe.VelocitySpread = 50
  5477. end
  5478.  
  5479. texture = "http://www.roblox.com/asset/?id=185495987"
  5480.  
  5481. local A = workspace:GetChildren()
  5482. local B = workspace:GetChildren()
  5483. local C = workspace:GetChildren()
  5484. local D = workspace:GetChildren()
  5485. local E = workspace:GetChildren()
  5486. local F = workspace:GetChildren()
  5487. for i,v in pairs(A) do
  5488. if v:IsA("Part") then
  5489. local d = Instance.new("Decal",v)
  5490. v.Decal.Face = "Top"
  5491. v.Decal.Texture = texture
  5492. v.Anchored = true
  5493. end
  5494. end
  5495.  
  5496. for i,v in pairs(B) do
  5497. if v:IsA("Part") then
  5498. local s = Instance.new("Decal",v)
  5499. s.Face = "Front"
  5500. s.Texture = texture
  5501. end
  5502. end
  5503.  
  5504. for i,v in pairs(C) do
  5505. if v:IsA("Part") then
  5506. local h = Instance.new("Decal",v)
  5507. h.Face = "Back"
  5508. h.Texture = texture
  5509. end
  5510. end
  5511.  
  5512. for i,v in pairs(D) do
  5513. if v:IsA("Part") then
  5514. local j = Instance.new("Decal",v)
  5515. j.Face = "Left"
  5516. j.Texture = texture
  5517. end
  5518. end
  5519.  
  5520. for i,v in pairs(E) do
  5521. if v:IsA("Part") then
  5522. local k = Instance.new("Decal",v)
  5523. k.Face = "Right"
  5524. k.Texture = texture
  5525. end
  5526. end
  5527.  
  5528. for i,v in pairs(F) do
  5529. if v:IsA("Part") then
  5530. local l = Instance.new("Decal",v)
  5531. l.Face = "Bottom"
  5532. l.Texture = texture
  5533. end
  5534.  
  5535. imageOne = "http://www.roblox.com/asset/?id=169585459"
  5536. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  5537. imageThree = "http://www.roblox.com/asset/?id=169585485"
  5538. imageFour = "http://www.roblox.com/asset/?id=169585502"
  5539. imageFive = "http://www.roblox.com/asset/?id=169585515"
  5540. imageSix = "http://www.roblox.com/asset/?id=169585502"
  5541. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  5542. imageEight = "http://www.roblox.com/asset/?id=169585475"
  5543.  
  5544. Spooky = Instance.new("Sound", workspace)
  5545. Spooky.Name = "Spooky"
  5546. Spooky.SoundId = "rbxassetid://174270407"
  5547. Spooky.Volume = 15
  5548. Spooky.Looped = true
  5549. Spooky:Play()
  5550.  
  5551. Sky = Instance.new("Sky", LightingService)
  5552. Sky.SkyboxBk = imageOne
  5553. Sky.SkyboxDn = imageOne
  5554. Sky.SkyboxFt = imageOne
  5555. Sky.SkyboxLf = imageOne
  5556. Sky.SkyboxRt = imageOne
  5557. Sky.SkyboxUp = imageOne
  5558.  
  5559.  
  5560. while true do
  5561. Sky.SkyboxBk = imageOne
  5562. Sky.SkyboxDn = imageOne
  5563. Sky.SkyboxFt = imageOne
  5564. Sky.SkyboxLf = imageOne
  5565. Sky.SkyboxRt = imageOne
  5566. Sky.SkyboxUp = imageOne
  5567. wait(0.15)
  5568. Sky.SkyboxBk = imageTwo
  5569. Sky.SkyboxDn = imageTwo
  5570. Sky.SkyboxFt = imageTwo
  5571. Sky.SkyboxLf = imageTwo
  5572. Sky.SkyboxRt = imageTwo
  5573. Sky.SkyboxUp = imageTwo
  5574. wait(0.15)
  5575. Sky.SkyboxBk = imageThree
  5576. Sky.SkyboxDn = imageThree
  5577. Sky.SkyboxFt = imageThree
  5578. Sky.SkyboxLf = imageThree
  5579. Sky.SkyboxRt = imageThree
  5580. Sky.SkyboxUp = imageThree
  5581. wait(0.15)
  5582. Sky.SkyboxBk = imageFour
  5583. Sky.SkyboxDn = imageFour
  5584. Sky.SkyboxFt = imageFour
  5585. Sky.SkyboxLf = imageFour
  5586. Sky.SkyboxRt = imageFour
  5587. Sky.SkyboxUp = imageFour
  5588. wait(0.15)
  5589. Sky.SkyboxBk = imageFive
  5590. Sky.SkyboxDn = imageFive
  5591. Sky.SkyboxFt = imageFive
  5592. Sky.SkyboxLf = imageFive
  5593. Sky.SkyboxRt = imageFive
  5594. Sky.SkyboxUp = imageFive
  5595. wait(0.15)
  5596. Sky.SkyboxBk = imageSix
  5597. Sky.SkyboxDn = imageSix
  5598. Sky.SkyboxFt = imageSix
  5599. Sky.SkyboxLf = imageSix
  5600. Sky.SkyboxRt = imageSix
  5601. Sky.SkyboxUp = imageSix
  5602. wait(0.15)
  5603. Sky.SkyboxBk = imageSeven
  5604. Sky.SkyboxDn = imageSeven
  5605. Sky.SkyboxFt = imageSeven
  5606. Sky.SkyboxLf = imageSeven
  5607. Sky.SkyboxRt = imageSeven
  5608. Sky.SkyboxUp = imageSeven
  5609. wait(0.15)
  5610. Sky.SkyboxBk = imageEight
  5611. Sky.SkyboxDn = imageEight
  5612. Sky.SkyboxFt = imageEight
  5613. Sky.SkyboxLf = imageEight
  5614. Sky.SkyboxRt = imageEight
  5615. Sky.SkyboxUp = imageEight
  5616. wait(0.15)
  5617.  
  5618. end
  5619. end
  5620. end)
  5621.  
  5622. addcmd('invisible', 'make a player invisible',{'invis'},
  5623. function(args, speaker)
  5624. local players = getPlayer(args[1], speaker)
  5625. for i, v in pairs(players) do
  5626. for k, v2 in pairs(_char(v):GetChildren()) do
  5627. if v2.className == "Part" then
  5628. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  5629. elseif v2.className == "Accessory" then
  5630. if v2:FindFirstChild("Handle") then
  5631. v2.Handle.Transparency = 1
  5632. end
  5633. end
  5634. if v2:FindFirstChild("face") then
  5635. v2.face.Transparency = 1
  5636. end
  5637. end
  5638. end
  5639. end)
  5640.  
  5641. addcmd('visible', 'make a player visible',{'vis'},
  5642. function(args, speaker)
  5643. local players = getPlayer(args[1], speaker)
  5644. for i, v in pairs(players) do
  5645. for k, v2 in pairs(_char(v):GetChildren()) do
  5646. if v2.className == "Part" then
  5647. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
  5648. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  5649. end
  5650. if v2:FindFirstChild("face") then
  5651. v2.face.Transparency = 0
  5652. end
  5653. end
  5654. end
  5655. end)
  5656.  
  5657. addcmd('goto', 'go to a player',{},
  5658. function(args, speaker)
  5659. local players = getPlayer(args[1], speaker)
  5660. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  5661. speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  5662. end
  5663. end)
  5664.  
  5665. addcmd('bring', 'bring a player to you',{},
  5666. function(args, speaker)
  5667. local players = getPlayer(args[1], speaker)
  5668. for i,v in pairs(players) do
  5669. if _char(v):FindFirstChild("HumanoidRootPart") then
  5670. _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
  5671. end
  5672. end
  5673. end)
  5674.  
  5675. addcmd('tp', 'teleport player 1 to player 2',{},
  5676. function(args, speaker)
  5677. local players1=getPlayer(args[1], speaker)
  5678. local players2=getPlayer(args[2], speaker)
  5679. if not players2[1] then return end
  5680. for i,v in pairs(players1) do
  5681. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  5682. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  5683. wait(0.1)
  5684. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  5685. end
  5686. end
  5687. end)
  5688.  
  5689. addcmd('charplr','charplr [plr] [plr]',{'cp'},
  5690. function(args, speaker)
  5691. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  5692. for i,v in pairs(players1) do for a,b in pairs(players2) do
  5693. if _players[v].Character and _players[b].Character then
  5694. _players[v].CharacterAppearanceId = _players[b].userId
  5695. _players[v].Character:BreakJoints()
  5696. end
  5697. end
  5698. end
  5699. end)
  5700.  
  5701. addcmd('char', 'change a players appearance',{},
  5702. function(args, speaker)
  5703. local players = getPlayer(args[1], speaker)
  5704. if not args[1]or not args[2]then return end
  5705. local id=args[2]
  5706. if players ~= nil then
  5707. for i,v in pairs(players) do
  5708. gPlayers[v].CharacterAppearanceId = id
  5709. gPlayers[v].Character:BreakJoints()
  5710. end
  5711. end
  5712. end)
  5713.  
  5714. addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
  5715. function(args, speaker)
  5716. local players = getPlayer(args[1], speaker)
  5717. if players ~= nil then
  5718. for i,v in pairs(players) do
  5719. gPlayers[v].CharacterAppearanceId = 0
  5720. if _char(v):FindFirstChild("Head") then
  5721. _char(v).Head:Destroy()
  5722. end
  5723. end
  5724. end
  5725. end)
  5726.  
  5727. addcmd('speed', 'change a players walkspeed',{'ws'},
  5728. function(args, speaker)
  5729. local players = getPlayer(args[1], speaker)
  5730. if not args[1]or not args[2]then return end
  5731. local num=args[2]
  5732. for i,v in pairs(players) do
  5733. if _char(v):FindFirstChild("Humanoid") then
  5734. _char(v).Humanoid.WalkSpeed=tonumber(num)
  5735. end
  5736. end
  5737. end)
  5738.  
  5739. addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
  5740. function(args, speaker)
  5741. local players = getPlayer(args[1], speaker)
  5742. if not args[1]or not args[2]then return end
  5743. local num=args[2]
  5744. for i,v in pairs(players) do
  5745. if _char(v):FindFirstChild("Humanoid") then
  5746. _char(v).Humanoid.JumpPower=tonumber(num)
  5747. end
  5748. end
  5749. end)
  5750.  
  5751. addcmd('confuse', 'confusing...',{},
  5752. function(args, speaker)
  5753. local players = getPlayer(args[1], speaker)
  5754. for i,v in pairs(players) do
  5755. spawn(function()
  5756. if _char(v):FindFirstChild("Humanoid") then
  5757. _char(v).Humanoid.Name = "ConfusedNigga"
  5758. while true do
  5759. _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
  5760. _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
  5761. wait(0.1)
  5762. end
  5763.  
  5764. end
  5765. end)
  5766. end
  5767. end)
  5768.  
  5769. addcmd('unconfuse', 'not confusing...',{},
  5770. function(args, speaker)
  5771. local players = getPlayer(args[1], speaker)
  5772. for i,v in pairs(players) do
  5773. spawn(function()
  5774. if _char(v):FindFirstChild("ConfusedNigga") then
  5775. _char(v).ConfusedNigga.Name = "Humanoid"
  5776. wait(0.3)
  5777. _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  5778.  
  5779. end
  5780. end)
  5781. end
  5782. end)
  5783.  
  5784. addcmd('cripple', 'cripples a player xddd',{'stun'},
  5785. function(args, speaker)
  5786. local players = getPlayer(args[1], speaker)
  5787. for i,v in pairs(players) do
  5788. if _char(v):FindFirstChild("Humanoid") then
  5789. _char(v).Humanoid.PlatformStand = true
  5790. end
  5791. end
  5792. end)
  5793.  
  5794. addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
  5795. function(args, speaker)
  5796. local players = getPlayer(args[1], speaker)
  5797. for i,v in pairs(players) do
  5798. if _char(v):FindFirstChild("Humanoid") then
  5799. _char(v).Humanoid.PlatformStand = false
  5800. end
  5801. end
  5802. end)
  5803.  
  5804. addcmd('hipheight', 'adjusts hip height',{'hheight'},
  5805. function(args, speaker)
  5806. local players = getPlayer(args[1], speaker)
  5807. for i,v in pairs(players) do
  5808. if _char(v):FindFirstChild("Humanoid") then
  5809. _char(v).Humanoid.HipHeight = args[2]
  5810. end
  5811. end
  5812. end)
  5813.  
  5814. addcmd('face', 'change a players face',{},
  5815. function(args, speaker)
  5816. local players = getPlayer(args[1], speaker)
  5817. for i,v in pairs(players) do
  5818. if _char(v).Head:FindFirstChild("face") then
  5819. _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
  5820. end
  5821. end
  5822. end)
  5823.  
  5824. addcmd('time', 'change the time of day',{},
  5825. function(args, speaker)
  5826. if not args[1]then return end
  5827. Notify('Time set to ' .. args[1])
  5828. LightingService.ClockTime = args[1]
  5829. end)
  5830.  
  5831. addcmd('day', 'change the time to day',{},
  5832. function(args, speaker)
  5833. LightingService.ClockTime = 15
  5834. end)
  5835.  
  5836. addcmd('night', 'change the time of night',{},
  5837. function(args, speaker)
  5838. LightingService.ClockTime = 0
  5839. end)
  5840.  
  5841. addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
  5842. function(args, speaker)
  5843. Notify('Turned on global shadows')
  5844. LightingService.GlobalShadows = true
  5845. end)
  5846.  
  5847. addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
  5848. function(args, speaker)
  5849. Notify('Turned off global shadows')
  5850. LightingService.GlobalShadows = false
  5851. end)
  5852.  
  5853. addcmd('outlines', 'changes the lighting property',{},
  5854. function(args, speaker)
  5855. Notify('Turned on outlines')
  5856. LightingService.Outlines = true
  5857. end)
  5858.  
  5859. addcmd('unoutlines', 'changes the lighting property',{'nooutlines'},
  5860. function(args, speaker)
  5861. Notify('Turned off outlines')
  5862. LightingService.Outlines = false
  5863. end)
  5864.  
  5865. addcmd('brightness', 'changes the lighting property',{},
  5866. function(args, speaker)
  5867. Notify('Set brightness to ' .. args[1])
  5868. LightingService.Brightness = args[1]
  5869. end)
  5870.  
  5871. addcmd('age','tells you the age of a player',{},
  5872. function(args, speaker)
  5873. local players = getPlayer(args[1], speaker)
  5874. if speaker.userId ~= LP.userId then
  5875. lponly(speaker)
  5876. else
  5877. for i,v in pairs(players) do
  5878. Notify(_players[v].Name .. ': ' .. _players[v].AccountAge)
  5879. end
  5880. end
  5881. end)
  5882.  
  5883. addcmd('remotespy', 'prints remotes',{'remotes'},
  5884. function(args, speaker)
  5885. if speaker.userId ~= LP.userId then
  5886. lponly(speaker)
  5887. else
  5888. Notify('Printing remotes')
  5889. function getem(o)
  5890. for i,v in pairs(o:children())do
  5891. if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then
  5892. print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
  5893. end
  5894. getem(v)
  5895. end
  5896. end
  5897. pcall(getem,game)
  5898. end
  5899. end)
  5900.  
  5901. addcmd('f3x', 'loads f3x tools',{'fex'},
  5902. function(args, speaker)
  5903. if speaker.userId ~= LP.userId then
  5904. lponly(speaker)
  5905. else
  5906. loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
  5907. end
  5908. end)
  5909.  
  5910. addcmd('kick', 'kick a player',{},
  5911. function(args, speaker)
  5912. local players = getPlayer(args[1], speaker)
  5913. for i,v in pairs(players) do
  5914. spawn(function()
  5915. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= LP.Name and gPlayers[v].Name ~= "sweg2hipALT" and gPlayers[v].Name ~= "hhhConceptual_Nullifier" and gPlayers[v].Name ~= "Thomasbudge" then
  5916. if FindTable(SPC, args[1]) then Notify('Kicked ' ..args[1]) else
  5917. Notify('Kicked player(s)') end
  5918. kickF(gPlayers[v])
  5919. else Notify('Error: That user is whitelisted and cannot be kicked.')
  5920. end end) end end)
  5921.  
  5922. addcmd('serverlock', 'lock teh server',{'slock'},
  5923. function(args, speaker)
  5924. slock = true
  5925. Notify('Locked Server')
  5926. end)
  5927.  
  5928. addcmd('unserverlock', 'unlock teh server',{'unslock'},
  5929. function(args, speaker)
  5930. slock = false
  5931. Notify('Unlocked Server')
  5932. end)
  5933.  
  5934. addcmd('agelock', 'lock teh server for a certain age',{'alock'},
  5935. function(args, speaker)
  5936. if isNumber(args[1]) then
  5937. Notify('Set the age lock to age ' .. args[1])
  5938. isagelocked = true
  5939. agelock = tonumber(args[1])
  5940. end
  5941. end)
  5942.  
  5943. addcmd('unagelock', 'lock teh server for a certain age',{'unalock','noagelock','noalock'},
  5944. function(args, speaker)
  5945. Notify('Disabled age lock')
  5946. isagelocked = false
  5947. end)
  5948.  
  5949. addcmd('unlockws', 'unlock the whole workspace',{},
  5950. function(args, speaker)
  5951. Notify('Workspace unlocked')
  5952. wait(1)
  5953. local function unlock(instance)
  5954. for i,v in pairs(instance:GetChildren()) do
  5955. if v:IsA("BasePart") then
  5956. v.Locked = false
  5957. end
  5958. unlock(v)
  5959. end
  5960. end
  5961. unlock(workspace)
  5962. end)
  5963.  
  5964. addcmd('lockws', 'lock the whole workspace',{},
  5965. function(args, speaker)
  5966. Notify('Workspace locked')
  5967. wait(1)
  5968. local function lock(instance)
  5969. for i,v in pairs(instance:GetChildren()) do
  5970. if v:IsA("BasePart") then
  5971. v.Locked = true
  5972. end
  5973. lock(v)
  5974. end
  5975. end
  5976. lock(workspace)
  5977. end)
  5978.  
  5979. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  5980. function(args, speaker)
  5981. local function unanchor(instance)
  5982. for i,v in pairs(instance:GetChildren()) do
  5983. if v:IsA("BasePart") then
  5984. v.Anchored=false
  5985. end
  5986. unanchor(v)
  5987. end
  5988. end
  5989. unanchor(workspace)
  5990. end)
  5991.  
  5992. addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
  5993. function(args, speaker)
  5994. local function anchor(instance)
  5995. for i,v in pairs(instance:GetChildren()) do
  5996. if v:IsA("BasePart") then
  5997. v.Anchored=true
  5998. end
  5999. anchor(v)
  6000. end
  6001. end
  6002. anchor(workspace)
  6003. end)
  6004.  
  6005. addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
  6006. function()
  6007. for _,v in pairs(workspace:GetChildren()) do
  6008. if not v:IsA("Terrain") and v ~= workspace.CurrentCamera and not gPlayers:GetPlayerFromCharacter(v) then
  6009. v:Remove()
  6010. elseif v:IsA("Terrain") then
  6011. v:Clear()
  6012. end
  6013. end
  6014. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
  6015. local p = Instance.new("Part", workspace)
  6016. p.Anchored = true
  6017. p.FormFactor = "Symmetric"
  6018. p.Size = Vector3.new(1000,1,1000)
  6019. p.Position = Vector3.new(0,0,0)
  6020. p.BrickColor = BrickColor.new("Bright green")
  6021. p.Material = "Grass"
  6022. p.Locked = true
  6023. end)
  6024.  
  6025. addcmd('headshake', 'shakes a players head',{},
  6026. function(args, speaker)
  6027. local players = getPlayer(args[1], speaker)
  6028. for i,v in pairs(players) do
  6029. spawn(function()
  6030. local shaken = gPlayers[v].Character
  6031. for X = 1, math.huge, 0.2 do
  6032. wait()
  6033. shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  6034. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  6035. end
  6036. for X = 1, math.huge, 0.1 do
  6037. wait()
  6038. shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  6039. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  6040. end
  6041. for _,c in pairs(gPlayers:GetChildren()) do
  6042. c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  6043. end
  6044. for _,c in pairs(gPlayers:GetChildren()) do
  6045. c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  6046. end
  6047. end)
  6048. end
  6049. end)
  6050.  
  6051. addcmd('explorer', 'opens DEX',{'dex'},
  6052. function(args, speaker)
  6053. if speaker.userId ~= LP.userId then
  6054. lponly(speaker)
  6055. else
  6056. loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  6057. end
  6058. end)
  6059.  
  6060. addcmd('firstp', 'forces player to go into first person',{},
  6061. function(args, speaker)
  6062. local players = getPlayer(args[1], speaker)
  6063. for i,v in pairs(players)do
  6064. gPlayers[v].CameraMode = "LockFirstPerson"
  6065. end
  6066. end)
  6067.  
  6068. addcmd('lock', 'locks a players body parts',{},
  6069. function(args, speaker)
  6070. local players = getPlayer(args[1], speaker)
  6071. for i,v in pairs(players)do
  6072. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  6073. if v:IsA("Part") then
  6074. v.Locked = true
  6075. end end end
  6076. end)
  6077.  
  6078. addcmd('unlock', 'locks a players body parts',{},
  6079. function(args, speaker)
  6080. local players = getPlayer(args[1], speaker)
  6081. for i,v in pairs(players)do
  6082. for i,v in pairs(gPlayers[v].Character:GetDescendants()) do
  6083. if v:IsA("Part") then
  6084. v.Locked = false
  6085. end end end
  6086. end)
  6087.  
  6088. addcmd('disablereset', 'makes a player unable to reset',{'noreset'},
  6089. function(args, speaker)
  6090. local players = getPlayer(args[1], speaker)
  6091. for i,v in pairs(players)do
  6092. spawn(function()
  6093. gPlayers[v].Character.Humanoid.Name = "HumanoidIY"
  6094. if FindTable(SPC, args[1]) then Notify('Disabled reset for ' .. args[1]) else
  6095. Notify('Disabled reset for player(s)') end
  6096. end)
  6097. end
  6098. end)
  6099.  
  6100. addcmd('enablereset', 'makes a player unable to reset',{'reset'},
  6101. function(args, speaker)
  6102. local players = getPlayer(args[1], speaker)
  6103. for i,v in pairs(players)do
  6104. spawn(function()
  6105. gPlayers[v].Character.HumanoidIY.Name = "Humanoid"
  6106. if FindTable(SPC, args[1]) then Notify('Enabled reset for ' .. args[1]) else
  6107. Notify('Enabled reset for player(s)') end
  6108. end)
  6109. end
  6110. end)
  6111.  
  6112. addcmd("fixlighting","Removes effects from lighting",{'fixl'},
  6113. function(args,speaker)
  6114. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  6115. if v:IsA("PostEffect") then
  6116. v:Destroy()
  6117. end
  6118. end
  6119. LightingService.Ambient = origsettings.abt
  6120. LightingService.OutdoorAmbient = origsettings.oabt
  6121. LightingService.Brightness = origsettings.brt
  6122. LightingService.TimeOfDay = origsettings.time
  6123. LightingService.FogColor = origsettings.fclr
  6124. LightingService.FogEnd = origsettings.fe
  6125. LightingService.FogStart = origsettings.fs
  6126. end)
  6127.  
  6128. addcmd("blackandwhite","Makes the game black and white",{},
  6129. function(args,speaker)
  6130. local lighting = game:GetService("Lighting")
  6131. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6132. effect.Saturation = -1
  6133. end)
  6134.  
  6135. addcmd("invert","Makes the game inverted",{},
  6136. function(args,speaker)
  6137. local lighting = game:GetService("Lighting")
  6138. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6139. effect.Saturation = -1
  6140. local effect = Instance.new("ColorCorrectionEffect",lighting)
  6141. effect.Saturation = -1
  6142. end)
  6143.  
  6144. addcmd("sun","Intensifys the sun",{},
  6145. function(args,speaker)
  6146. local intense = args[1] or 0.25
  6147. local spread = args[2] or 1
  6148. local lighting = game:GetService("Lighting")
  6149. local effect = Instance.new("SunRaysEffect",lighting)
  6150. effect.Name = "IYsun"
  6151. effect.Intensity = tonumber(intense)
  6152. effect.Spread = tonumber(spread)
  6153. end)
  6154.  
  6155. addcmd('base', 'spawns a base',{},
  6156. function(args, speaker)
  6157. local pt = Instance.new("Part")
  6158. pt.BrickColor = BrickColor.new("Silver")
  6159. pt.Anchored = true
  6160. pt.CanCollide = true
  6161. pt.BottomSurface = "Weld"
  6162. pt.Parent = workspace
  6163. pt.Name = (math.random(1,1000000))
  6164. pt.Size = Vector3.new(1000, 1, 1000)
  6165. pt.Locked = true
  6166. Notify('Created new base')
  6167. end)
  6168.  
  6169. addcmd('unblur', 'removes all blur instances',{'noblur'},
  6170. function(args, speaker)
  6171. for i,v in pairs(LightingService:GetChildren()) do
  6172. if v:IsA('BlurEffect') then
  6173. v:Remove()
  6174. end
  6175. end
  6176. end)
  6177.  
  6178. addcmd('thirdp', 'allows player to go into third person',{},
  6179. function(args, speaker)
  6180. local players = getPlayer(args[1], speaker)
  6181. for i,v in pairs(players)do
  6182. gPlayers[v].CameraMode = "Classic"
  6183. end
  6184. end)
  6185.  
  6186. addcmd('chat', 'forces player to chat what you input',{},
  6187. function(args, speaker)
  6188. local players = getPlayer(args[1], speaker)
  6189. for i,v in pairs(players)do
  6190. game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
  6191. end
  6192. end)
  6193.  
  6194. addcmd('name', 'names player',{},
  6195. function(args, speaker)
  6196. local players = getPlayer(args[1], speaker)
  6197. if not args[1] then return end
  6198. for i,v in pairs(players) do
  6199. for a, mod in pairs(gPlayers[v].Character:children()) do
  6200. if mod:FindFirstChild("TAG") then
  6201. gPlayers[v].Character.Head.Transparency = 0
  6202. mod:Destroy()
  6203. end
  6204. end
  6205.  
  6206. local char = gPlayers[v].Character
  6207. local model = Instance.new("Model", char)
  6208. local clone = char.Head:Clone()
  6209. local hum = Instance.new("Humanoid", model)
  6210. local weld = Instance.new("Weld", clone)
  6211. model.Name = GLS(false, 1)
  6212. clone.Parent = model
  6213. hum.Name = "TAG"
  6214. hum.MaxHealth = 100
  6215. hum.Health = 100
  6216. weld.Part0 = clone
  6217. weld.Part1 = char.Head
  6218. char.Head.Transparency = 1
  6219. end
  6220. end)
  6221.  
  6222. addcmd('unname', 'unnames player',{'unhidename'},
  6223. function(args, speaker)
  6224. local players = getPlayer(args[1], speaker)
  6225. local name = (args[2])
  6226. for i,v in pairs(players) do
  6227. for a, mod in pairs(gPlayers[v].Character:children()) do
  6228. if mod:FindFirstChild("TAG") then
  6229. gPlayers[v].Character.Head.Transparency = 0
  6230. mod:Destroy()
  6231. end
  6232. end
  6233. end
  6234. end)
  6235.  
  6236. addcmd('noname', 'hides the players name',{'hidename'},
  6237. function(args, speaker)
  6238. local players = getPlayer(args[1], speaker)
  6239. for i,v in pairs(players) do
  6240. for a, mod in pairs(gPlayers[v].Character:children()) do
  6241. if mod:FindFirstChild("TAG") then
  6242. gPlayers[v].Character.Head.Transparency = 0
  6243. mod:Destroy()
  6244. end
  6245. end
  6246.  
  6247. local char = gPlayers[v].Character
  6248. local model = Instance.new("Model", char)
  6249. local clone = char.Head:Clone()
  6250. local hum = Instance.new("Humanoid", model)
  6251. local weld = Instance.new("Weld", clone)
  6252. model.Name = ""
  6253. clone.Parent = model
  6254. hum.Name = "TAG"
  6255. hum.MaxHealth = 100
  6256. hum.Health = 100
  6257. weld.Part0 = clone
  6258. weld.Part1 = char.Head
  6259. char.Head.Transparency = 1
  6260. end
  6261. end)
  6262.  
  6263. addcmd('damage', 'damages a player',{},
  6264. function(args, speaker)
  6265. local players = getPlayer(args[1], speaker)
  6266. for i,v in pairs(players) do
  6267. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  6268. end
  6269. end)
  6270.  
  6271. addcmd('view', 'views player',{},
  6272. function(args, speaker)
  6273. local players = getPlayer(args[1], speaker)
  6274. for i,v in pairs(players) do
  6275. workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  6276. Notify('Viewing ' .. gPlayers[v].Name)
  6277. end
  6278. end)
  6279.  
  6280. addcmd('unview', 'stops viewing player',{},
  6281. function()
  6282. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  6283. Notify('View turned off')
  6284. end)
  6285.  
  6286. addcmd('nolimbs', 'removes limbs from player',{},
  6287. function(args, speaker)
  6288. local players = getPlayer(args[1], speaker)
  6289. for i,v in pairs(players) do
  6290. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  6291. if v:IsA("BasePart") and
  6292. v.Name == "Right Leg" or
  6293. v.Name == "Left Leg" or
  6294. v.Name == "Right Arm" or
  6295. v.Name == "Left Arm" then
  6296. v:Remove()
  6297. end
  6298. end
  6299. end
  6300. end)
  6301.  
  6302. addcmd('box', 'creates a box around player',{},
  6303. function(args, speaker)
  6304. local players = getPlayer(args[1], speaker)
  6305. for i,v in pairs(players)do
  6306. local pchar=_char(v)
  6307. local SB = Instance.new("SelectionBox", pchar)
  6308. SB.Adornee = SB.Parent
  6309. end
  6310. end)
  6311.  
  6312. addcmd('nobox', 'takes away box from player',{'unbox'},
  6313. function(args, speaker)
  6314. local players = getPlayer(args[1], speaker)
  6315. for i,v in pairs(players)do
  6316. local pchar=_char(v)
  6317. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  6318. if v:IsA("SelectionBox") then
  6319. v:Destroy()
  6320. end
  6321. end
  6322. end
  6323. end)
  6324.  
  6325. addcmd('ghost', 'ghostifys player',{},
  6326. function(args, speaker)
  6327. local players = getPlayer(args[1], speaker)
  6328. for i,v in pairs(players)do
  6329. local pchar=gPlayers[v].Character
  6330. pchar.Head.Transparency = 0.5
  6331. pchar.Torso.Transparency = 0.5
  6332. pchar["Left Arm"].Transparency = 0.5
  6333. pchar["Right Arm"].Transparency = 0.5
  6334. pchar["Left Leg"].Transparency = 0.5
  6335. pchar["Right Leg"].Transparency = 0.5
  6336. pchar.Head.face.Transparency = 0.5
  6337. end
  6338. end)
  6339.  
  6340. addcmd('unghost', 'unghostifys player',{'noghost'},
  6341. function(args, speaker)
  6342. local players = getPlayer(args[1], speaker)
  6343. for i,v in pairs(players)do
  6344. local pchar=gPlayers[v].Character
  6345. pchar.Head.Transparency = 0
  6346. pchar.Torso.Transparency = 0
  6347. pchar["Left Arm"].Transparency = 0
  6348. pchar["Right Arm"].Transparency = 0
  6349. pchar["Left Leg"].Transparency = 0
  6350. pchar["Right Leg"].Transparency = 0
  6351. pchar.Head.face.Transparency = 0
  6352. end
  6353. end)
  6354.  
  6355. addcmd('sphere', 'puts sphere around player',{},
  6356. function(args, speaker)
  6357. local players = getPlayer(args[1], speaker)
  6358. for i,v in pairs(players)do
  6359. local pchar=gPlayers[v].Character
  6360. local SS = Instance.new("SelectionSphere", pchar)
  6361. SS.Adornee = SS.Parent
  6362. end
  6363. end)
  6364.  
  6365. addcmd('sphere', 'puts sphere around player',{},
  6366. function(args, speaker)
  6367. local players = getPlayer(args[1], speaker)
  6368. for i,v in pairs(players)do
  6369. local pchar=gPlayers[v].Character
  6370. local SS = Instance.new("SelectionSphere", pchar)
  6371. SS.Adornee = SS.Parent
  6372. end
  6373. end)
  6374.  
  6375. addcmd('unsphere', 'removes sphere around player',{},
  6376. function(args, speaker)
  6377. local players = getPlayer(args[1], speaker)
  6378. for i,v in pairs(players)do
  6379. local pchar=_char(v)
  6380. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  6381. if v:IsA("SelectionSphere") then
  6382. v:Destroy()
  6383. end
  6384. end
  6385. end
  6386. end)
  6387.  
  6388. addcmd('ambient','changes ambient',{},
  6389. function(args, speaker)
  6390. LightingService.Ambient = Color3.new(args[1],args[2],args[3])
  6391. LightingService.OutdoorAmbient = Color3.new(args[1],args[2],args[3])
  6392. end)
  6393.  
  6394. addcmd('fogend','changes the fogend',{},
  6395. function(args, speaker)
  6396. LightingService.FogEnd = args[1]
  6397. end)
  6398.  
  6399. addcmd('fogcolor','changes the fogs color',{},
  6400. function(args, speaker)
  6401. LightingService.FogColor = Color3.new(args[1],args[2],args[3])
  6402. end)
  6403.  
  6404. injail = {}
  6405. addcmd('jail','jails player',{},
  6406. function(args, speaker)
  6407. local players = getPlayer(args[1], speaker)
  6408. for i,v in pairs(players)do
  6409. spawn(function()
  6410. if FindTable(injail, _players[v].Name) then return end
  6411. table.insert(injail, _players[v].Name)
  6412. local pchar=gPlayers[v].Character
  6413. local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
  6414. repeat wait(0.5)
  6415. 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
  6416. until not FindTable(injail, _players[v].Name)
  6417. end)
  6418. end
  6419. end)
  6420.  
  6421. addcmd('unjail','unjails player',{},
  6422. function(args, speaker)
  6423. local players = getPlayer(args[1], speaker)
  6424. for i,v in pairs(players)do
  6425. spawn(function()
  6426. for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
  6427. workspace["JAIL_" .. _players[v].Name]:Destroy()
  6428. end)
  6429. end
  6430. end)
  6431.  
  6432. addcmd('loopbring','loop brings a player lol',{},
  6433. function(args, speaker)
  6434. local players = getPlayer(args[1], speaker)
  6435. for i,v in pairs(players)do
  6436. spawn(function()
  6437. if FindTable(bringT, _players[v].Name) then return end
  6438. table.insert(bringT, _players[v].Name)
  6439. local pchar=gPlayers[v].Character
  6440. repeat wait(0.5)
  6441. pchar = _players[v].Character
  6442. for i,c in pairs(players) do
  6443. if pchar~= nil and pchar:FindFirstChild("HumanoidRootPart") then
  6444. pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame + Vector3.new(4,1,0)
  6445. end
  6446. end
  6447. until not FindTable(bringT, _players[v].Name)
  6448. end)
  6449. end
  6450. end)
  6451.  
  6452. addcmd('feinvisible','fe invisible',{},
  6453. function(args, speaker)
  6454. -- Elite1337#9377 & Timeless#4044
  6455. Local = game:GetService('Players').LocalPlayer
  6456. Char = Local.Character
  6457. touched,tpdback = false, false
  6458. Local.CharacterAdded:connect(function(char)
  6459. if script.Disabled ~= true then
  6460. wait(.25)
  6461. loc = Char.HumanoidRootPart.Position
  6462. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  6463. end
  6464. end)
  6465. game:GetService('UserInputService').InputBegan:connect(function(key)
  6466. if key.KeyCode == Enum.KeyCode.Equals then
  6467. if script.Disabled ~= true then
  6468. script.Disabled = true
  6469. print'you may re-execute'
  6470. end
  6471. end
  6472. end)
  6473. box = Instance.new('Part',workspace)
  6474. box.Anchored = true
  6475. box.CanCollide = true
  6476. box.Size = Vector3.new(10,1,10)
  6477. box.Position = Vector3.new(0,10000,0)
  6478. box.Touched:connect(function(part)
  6479. if (part.Parent.Name == Local.Name) then
  6480. if touched == false then
  6481. touched = true
  6482. function apply()
  6483. if script.Disabled ~= true then
  6484. no = Char.HumanoidRootPart:Clone()
  6485. wait(.25)
  6486. Char.HumanoidRootPart:Destroy()
  6487. no.Parent = Char
  6488. Char:MoveTo(loc)
  6489. touched = false
  6490. end end
  6491. if Char then
  6492. apply()
  6493. end
  6494. end
  6495. end
  6496. end)
  6497. repeat wait() until Char
  6498. loc = Char.HumanoidRootPart.Position
  6499. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  6500. end)
  6501.  
  6502. addcmd('unloopbring','unjails player',{'noloopbring'},
  6503. function(args, speaker)
  6504. local players = getPlayer(args[1], speaker)
  6505. for i,v in pairs(players)do
  6506. spawn(function()
  6507. for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
  6508. end)
  6509. end
  6510. end)
  6511.  
  6512. strobe = false
  6513. addcmd('strobe','makes the server flash',{'flash'},
  6514. function(args, speaker)
  6515. if strobe == false then
  6516. strobep = Instance.new("ColorCorrectionEffect")
  6517. strobep.Brightness = 1
  6518. strobep.Parent = LightingService
  6519. strobe = true
  6520. repeat wait(0.01)
  6521. strobep.Enabled = true
  6522. wait(0.01)
  6523. strobep.Enabled = false
  6524. until strobe == false
  6525. end
  6526. end)
  6527.  
  6528. addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
  6529. function(args, speaker)
  6530. strobe = false
  6531. strobep:Destroy()
  6532. end)
  6533.  
  6534. addcmd('shutdown', 'shuts the server down',{},
  6535. function(args, speaker)
  6536. Notify('Shutting Down...')
  6537. wait(1)
  6538. workspace.Gravity = 1/0*0
  6539. end)
  6540.  
  6541. addcmd('animation','makes player animate',{'anim'},
  6542. function(args, speaker)
  6543. local players = getPlayer(args[1], speaker)
  6544. for i,v in pairs(players)do
  6545. local pchar = gPlayers[v].Character
  6546. local ID = args[2]
  6547.  
  6548. if args[2] == "climb" then
  6549. ID = "180436334"
  6550. end
  6551. if args[2] == "fall" then
  6552. ID = "180436148"
  6553. end
  6554. if args[2] == "jump" then
  6555. ID = "125750702"
  6556. end
  6557. if args[2] == "sit" then
  6558. ID = "178130996"
  6559. end
  6560. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  6561. if x:IsA("StringValue") then
  6562. for _,c in pairs(x:GetChildren()) do
  6563. if c:IsA("Animation") then
  6564. c.AnimationId = "rbxassetid://" .. ID
  6565. end
  6566. end
  6567. end
  6568. end
  6569. end
  6570. end)
  6571.  
  6572. addcmd('normal','turns player back to normal',{},
  6573. function(args, speaker)
  6574. local players = getPlayer(args[1], speaker)
  6575. for i,v in pairs(players)do
  6576. local pchar = gPlayers[v].Character
  6577.  
  6578. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6579. pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  6580. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  6581. pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  6582. pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  6583.  
  6584. for i,v in pairs(pchar.Head:GetChildren()) do
  6585. if v:IsA("SpecialMesh") then
  6586. v:Destroy()
  6587. end
  6588. end
  6589.  
  6590. for i,v in pairs(pchar:GetChildren()) do
  6591. if v:IsA("Shirt") then
  6592. v:Destroy()
  6593. end
  6594. end
  6595.  
  6596. for i,v in pairs(pchar:GetChildren()) do
  6597. if v:IsA("Pants") then
  6598. v:Destroy()
  6599. end
  6600. end
  6601.  
  6602. if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  6603. Player.Character["Shirt Graphic"].Graphic = ""
  6604. end
  6605.  
  6606. local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  6607. HeadMesh.MeshType = "Head"
  6608. HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  6609.  
  6610. pchar.Head.Transparency = 0
  6611. pchar.Torso.Transparency = 0
  6612. pchar["Left Arm"].Transparency = 0
  6613. pchar["Right Arm"].Transparency = 0
  6614. pchar["Left Leg"].Transparency = 0
  6615. pchar["Right Leg"].Transparency = 0
  6616.  
  6617. for i,v in pairs(pchar.Head:GetChildren()) do
  6618. if v:IsA("Decal") then
  6619. v:Destroy()
  6620. end
  6621. end
  6622.  
  6623. local face = Instance.new("Decal", pchar.Head)
  6624. face.Name = "face"
  6625. face.Texture = "rbxasset://textures/face.png"
  6626. face.Face = "Front"
  6627.  
  6628. for i,v in pairs(pchar:GetChildren()) do
  6629. if v:IsA("Seat") then
  6630. v:Destroy()
  6631. end
  6632. end
  6633.  
  6634. for i,v in pairs(pchar.Torso:GetChildren()) do
  6635. if v:IsA("Weld") then
  6636. v:Destroy()
  6637. end
  6638. end
  6639.  
  6640. for i,v in pairs(pchar.Torso:GetChildren()) do
  6641. if v:IsA("SpecialMesh") then
  6642. v:Destroy()
  6643. end
  6644. end
  6645.  
  6646. pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  6647. pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  6648. pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  6649. pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  6650. pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  6651. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  6652. for _,v in pairs(Player.Character:GetChildren()) do
  6653. if v:IsA("Accessory") then
  6654. v:Destroy()
  6655. end
  6656. end
  6657. end
  6658. end)
  6659.  
  6660. addcmd('creeper','make the player a creeper',{'crpr'},
  6661. function(args, speaker)
  6662. local players = getPlayer(args[1], speaker)
  6663. for i,v in pairs(players)do
  6664. local pchar = gPlayers[v].Character
  6665. if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  6666. if pchar:FindFirstChild("Shirt") then
  6667. pchar.Shirt.Parent = pchar.Torso
  6668. end
  6669. if pchar:FindFirstChild("Pants") then
  6670. pchar.Pants.Parent = pchar.Torso
  6671. end
  6672. if pchar:FindFirstChild("Shirt Graphic") then
  6673. pchar["Shirt Graphic"].Graphic = ""
  6674. end
  6675. for i,v in pairs(pchar:GetChildren()) do
  6676. if v:IsA("Accessory") then
  6677. v:Destroy()
  6678. end
  6679. end
  6680. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6681. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  6682. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  6683. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  6684. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  6685. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  6686. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  6687. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  6688. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  6689. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  6690. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  6691. end
  6692. end
  6693. end)
  6694.  
  6695. addcmd('uncreeper','makes player back to normal',{},
  6696. function(args, speaker)
  6697. local players = getPlayer(args[1], speaker)
  6698. for i,v in pairs(players)do
  6699. execCmd("normal " .. gPlayers[v].Name, Player)
  6700. end
  6701. end)
  6702.  
  6703. addcmd('crash','crashes a player',{},
  6704. function(args, speaker)
  6705. local players = getPlayer(args[1], speaker)
  6706. for i,v in pairs(players)do
  6707. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" and gPlayers[v].Name ~= "Conceptual_Nullifier" and gPlayers[v].Name ~= "Thomasbudge" then
  6708. if FindTable(SPC, args[1]) then Notify('Crashed ' .. args[1]) else
  6709. Notify('Crashed player(s)') end
  6710. wait(4)
  6711. local play = gPlayers[v]
  6712. if play ~= nil then
  6713. for i=1,3600 do
  6714. Instance.new("HopperBin",play.Backpack).Name = "nig"
  6715. end
  6716. wait()
  6717. for i=1,3600 do
  6718. Instance.new("HopperBin",play.Backpack).Name = "nog"
  6719. end
  6720. wait()
  6721. end
  6722. else Notify('Error: That user is whitelisted and cannot be crashed.')
  6723. end
  6724. end
  6725. end)
  6726.  
  6727. addcmd('shrek', 'makes player shrek',{},
  6728. function(args, speaker)
  6729. local players = getPlayer(args[1], speaker)
  6730. for i,v in pairs(players) do
  6731. local pchar = gPlayers[v].Character
  6732. for i,v in pairs(pchar:GetChildren()) do
  6733. if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
  6734. then
  6735. v:Destroy()
  6736. end
  6737. end
  6738. for i,v in pairs(pchar.Head:GetChildren()) do
  6739. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  6740. v:Destroy()
  6741. end
  6742. end
  6743.  
  6744. local mesh = Instance.new("SpecialMesh", pchar.Head)
  6745. mesh.MeshType = "FileMesh"
  6746. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  6747. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  6748. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  6749.  
  6750. local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  6751. local Pants = Instance.new("Pants", gPlayers[v].Character)
  6752.  
  6753. Shirt.ShirtTemplate = "rbxassetid://133078194"
  6754. Pants.PantsTemplate = "rbxassetid://133078204"
  6755. end
  6756. end)
  6757.  
  6758. addcmd('unshrek','makes player back to normal',{},
  6759. function(args, speaker)
  6760. local players = getPlayer(args[1], speaker)
  6761. for i,v in pairs(players)do
  6762. execCmd("normal " .. gPlayers[v].Name, Player)
  6763. end
  6764. end)
  6765.  
  6766. addcmd('oof','good things happen',{},
  6767. function(args, speaker)
  6768. local players = getPlayer(args[1], speaker)
  6769. for i,v in pairs(players)do
  6770. spawn(function()
  6771. 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
  6772. gPlayers[v].Character.Head.Died.Volume = 10
  6773. gPlayers[v].Character.Head.Died.Pitch = 0.5
  6774. end
  6775. execCmd("size " .. gPlayers[v].Name .. ' -1')
  6776. execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
  6777. wait(5)
  6778. execCmd("explode " .. gPlayers[v].Name)
  6779. wait(0.1)
  6780. gPlayers[v].Character.Humanoid.Health = 0
  6781. end)
  6782. end
  6783. end)
  6784.  
  6785. addcmd('control','controls player',{},
  6786. function(args, speaker)
  6787. local players = getPlayer(args[1], speaker)
  6788. for i,v in pairs(players)do
  6789. spawn(function()
  6790. local pchar = gPlayers[v].Character
  6791. if gPlayers[v] and pchar then
  6792. execCmd("invisible " .. speaker.Name)
  6793. pchar.Humanoid.PlatformStand = true
  6794. local w = Instance.new("Weld", speaker.Character.Torso)
  6795. w.Part0 = speaker.Character.Torso
  6796. w.Part1 = pchar.Torso
  6797. local w2 = Instance.new("Weld", speaker.Character.Head)
  6798. w2.Part0 = speaker.Character.Head
  6799. w2.Part1 = pchar.Head
  6800. local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
  6801. w3.Part0 = speaker.Character:findFirstChild("Right Arm")
  6802. w3.Part1 = pchar:findFirstChild("Right Arm")
  6803. local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
  6804. w4.Part0 = speaker.Character:findFirstChild("Left Arm")
  6805. w4.Part1 = pchar:findFirstChild("Left Arm")
  6806. local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
  6807. w5.Part0 = speaker.Character:findFirstChild("Right Leg")
  6808. w5.Part1 = pchar:findFirstChild("Right Leg")
  6809. local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
  6810. w6.Part0 = speaker.Character:findFirstChild("Left Leg")
  6811. w6.Part1 = pchar:findFirstChild("Left Leg")
  6812. char.Head.face:Destroy()
  6813. for i,v in pairs(pchar:GetChildren()) do
  6814. if v:IsA("BasePart") then
  6815. v.CanCollide = false
  6816. end
  6817. end
  6818. for i,v in pairs(char:GetChildren()) do
  6819. if v:IsA("BasePart") then
  6820. v.Transparency = 1
  6821. elseif v:IsA("Accessory") then
  6822. v:Destroy()
  6823. end
  6824. end
  6825. pchar.Parent = char
  6826. pchar.Humanoid.Changed:connect(function()
  6827. pchar.Humanoid.PlatformStand = true
  6828. end)
  6829. end
  6830. end)
  6831. end
  6832. end)
  6833.  
  6834. addcmd('nuke','nukes player',{},
  6835. function(args, speaker)
  6836. local players = getPlayer(args[1], speaker)
  6837. for i,v in pairs(players)do
  6838. local pchar = gPlayers[v].Character
  6839. if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
  6840. local nuke = Instance.new("Part", workspace)
  6841. nuke.Anchored = true
  6842. nuke.CanCollide = false
  6843. nuke.FormFactor = "Symmetric"
  6844. nuke.Shape = "Ball"
  6845. nuke.Size = Vector3.new(1,1,1)
  6846. nuke.BrickColor = BrickColor.new("New Yeller")
  6847. nuke.Transparency = 0.5
  6848. nuke.Reflectance = 0.2
  6849. nuke.TopSurface = 0
  6850. nuke.BottomSurface = 0
  6851. nuke.Touched:connect(function (hit)
  6852. if hit and hit.Parent then
  6853. local boom = Instance.new("Explosion", workspace)
  6854. boom.Position = hit.Position
  6855. boom.BlastRadius = 11
  6856. boom.BlastPressure = math.huge
  6857. end
  6858. end)
  6859. local CF = pchar.HumanoidRootPart.CFrame
  6860. nuke.CFrame = CF
  6861. for i = 1,333 do
  6862. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  6863. nuke.CFrame = CF
  6864. wait(1/44)
  6865. end
  6866. nuke:Destroy()
  6867. end
  6868. end
  6869. end)
  6870.  
  6871. addcmd('dong','gives a player a penis',{'penis'},
  6872. function(args, speaker)
  6873. local players = getPlayer(args[1], speaker)
  6874. for i,v in pairs(players)do
  6875. spawn(function()
  6876. if gPlayers[v].Character:FindFirstChild('wang') then
  6877. gPlayers[v].Character.wang:destroy()
  6878. end
  6879. local D = Instance.new('Model', gPlayers[v].Character)
  6880. D.Name = 'DONG'
  6881. local BG = Instance.new('BodyGyro', gPlayers[v].Character.Torso)
  6882. local MAIN = Instance.new('Part', gPlayers[v].Character['DONG'])
  6883. local M1 = Instance.new('CylinderMesh', MAIN)
  6884. local W1 = Instance.new('Weld', gPlayers[v].Character.Head)
  6885. local P1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  6886. local M2 = Instance.new('SpecialMesh', P1)
  6887. local W2 = Instance.new('Weld', P1)
  6888. local B1 = Instance.new('Part', gPlayers[v].Character['DONG'])
  6889. local M3 = Instance.new('SpecialMesh', B1)
  6890. local W3 = Instance.new('Weld', B1)
  6891. local B2 = Instance.new('Part', gPlayers[v].Character['DONG'])
  6892. local M4 = Instance.new('SpecialMesh', B2)
  6893. local W4 = Instance.new('Weld', B2)
  6894. 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
  6895. 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)
  6896. 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
  6897. M2.MeshType = 'Sphere'
  6898. W2.Part0 = MAIN W2.Part1 = P1 W2.C0 = CFrame.new(0, 1.3, 0)
  6899. 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')
  6900. M3.Parent = B1 M3.MeshType = 'Sphere'
  6901. W3.Part0 = gPlayers[v].Character['Left Leg'] W3.Part1 = B1 W3.C0 = CFrame.new(0, 0.5, -0.5)
  6902. 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')
  6903. M4.MeshType = 'Sphere'
  6904. W4.Part0 = gPlayers[v].Character['Right Leg'] W4.Part1 = B2 W4.C0 = CFrame.new(0, 0.5, -0.5)
  6905. end)
  6906. end
  6907. end)
  6908.  
  6909. addcmd('undong','gives a player a penis',{'unpenis','nopenis','nodong'},
  6910. function(args, speaker)
  6911. local players = getPlayer(args[1], speaker)
  6912. for i,v in pairs(players)do
  6913. if gPlayers[v].Character:FindFirstChild('DONG') then
  6914. gPlayers[v].Character.DONG:destroy()
  6915. end end
  6916. end)
  6917.  
  6918. addcmd('infect','infects player',{},
  6919. function(args, speaker)
  6920. local players = getPlayer(args[1], speaker)
  6921. for i,v in pairs(players)do
  6922. function infect(rip)
  6923. local pchar = gPlayers[v].Character
  6924. for i,v in pairs(pchar:GetChildren()) do
  6925. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  6926. v:Destroy()
  6927. end
  6928. end
  6929. if pchar.Torso:FindFirstChild("roblox") then
  6930. pchar.Torso.roblox:Destroy()
  6931. end
  6932. if pchar.Head:FindFirstChild("face") then
  6933. pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  6934. end
  6935. if pchar:FindFirstChild("Body Colors") then
  6936. local Colors = pchar["Body Colors"]
  6937. local Skin = BrickColor.new("Pastel green")
  6938. local Clothes = BrickColor.new("Reddish brown")
  6939. Colors.HeadColor = Skin
  6940. Colors.LeftArmColor = Skin
  6941. Colors.RightArmColor = Skin
  6942. Colors.LeftLegColor = Clothes
  6943. Colors.RightLegColor = Clothes
  6944. Colors.TorsoColor = Clothes
  6945. end
  6946. local w1 = Instance.new("Weld", pchar)
  6947. w1.Part0 = pchar["Right Arm"]
  6948. w1.Part1 = pchar.Torso
  6949. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  6950. local w2 = Instance.new("Weld", pchar)
  6951. w2.Part0 = pchar["Left Arm"]
  6952. w2.Part1 = pchar.Torso
  6953. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  6954. local rip = false
  6955. local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  6956. if connect1 == false then
  6957. connect1 = true
  6958. if gPlayers:FindFirstChild(hit.Parent.Name) then
  6959. infect(gPlayers[hit.Parent.Name])
  6960. end
  6961. wait(0.5)
  6962. connect1 = true
  6963. end
  6964. end)
  6965. local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  6966. if connect2 == false then
  6967. connect2 = true
  6968. if gPlayers:FindFirstChild(hit.Parent.Name) then
  6969. infect(gPlayers[hit.Parent.Name])
  6970. end
  6971. wait(0.5)
  6972. connect2 = true
  6973. end
  6974. end)
  6975. local IV = Instance.new("IntValue", pchar)
  6976. IV.Name = "Infected"
  6977. IV.Value = 0
  6978. IV.Changed:connect(function()
  6979. connect1:disconnect()
  6980. connect2:disconnect()
  6981. end)
  6982. end
  6983. infect(v)
  6984. end
  6985. end)
  6986.  
  6987. addcmd('uninfect','makes player back to normal',{},
  6988. function(args, speaker)
  6989. local players = getPlayer(args[1], speaker)
  6990. for i,v in pairs(players)do
  6991. execCmd("normal " .. gPlayers[v].Name, Player)
  6992. end
  6993. end)
  6994.  
  6995. addcmd('duck','makes players head a duck',{},
  6996. function(args, speaker)
  6997. local players = getPlayer(args[1], speaker)
  6998. for i,v in pairs(players)do
  6999. local pchar = gPlayers[v].Character
  7000. for i,v in pairs(pchar.Torso:GetChildren()) do
  7001. if v:IsA("Decal") then
  7002. v:Destroy()
  7003. end
  7004. end
  7005. for i,v in pairs(pchar:GetChildren()) do
  7006. if v:IsA("Accessory") then
  7007. v:Destroy()
  7008. end
  7009. end
  7010. local duck = Instance.new("SpecialMesh", pchar.Torso)
  7011. duck.MeshType = "FileMesh"
  7012. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  7013. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  7014. duck.Scale = Vector3.new(5, 5, 5)
  7015. pchar.Head.Transparency = 1
  7016. pchar["Left Arm"].Transparency = 1
  7017. pchar["Right Arm"].Transparency = 1
  7018. pchar["Left Leg"].Transparency = 1
  7019. pchar["Right Leg"].Transparency = 1
  7020. pchar.Head.face.Transparency = 1
  7021. end
  7022. end)
  7023.  
  7024. addcmd('unduck','makes player back to normal',{},
  7025. function(args, speaker)
  7026. local players = getPlayer(args[1], speaker)
  7027. for i,v in pairs(players)do
  7028. execCmd("normal " .. gPlayers[v].Name, Player)
  7029. end
  7030. end)
  7031.  
  7032. addcmd('mesh','makes a player into a mesh',{},
  7033. function(args, speaker)
  7034. local players = getPlayer(args[1], speaker)
  7035. for i,v in pairs(players)do
  7036. local pchar = gPlayers[v].Character
  7037. for i,v in pairs(pchar.Torso:GetChildren()) do
  7038. if v:IsA("Decal") then
  7039. v:Destroy()
  7040. end
  7041. end
  7042. for i,v in pairs(pchar:GetChildren()) do
  7043. if v:IsA("Accessory") then
  7044. v:Destroy()
  7045. end
  7046. end
  7047. pchar.Head.Transparency = 1
  7048. pchar["Left Arm"].Transparency = 1
  7049. pchar["Right Arm"].Transparency = 1
  7050. pchar["Left Leg"].Transparency = 1
  7051. pchar["Right Leg"].Transparency = 1
  7052. pchar.Head.face.Transparency = 1
  7053. local msh = Instance.new("SpecialMesh", pchar.Torso)
  7054. msh.MeshType = "FileMesh"
  7055. msh.Scale = Vector3.new(3, 3, 3)
  7056. msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
  7057. msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
  7058. msh.Scale = Vector3.new(3, 3, 3)
  7059. end
  7060. end)
  7061.  
  7062. addcmd('disable','removes players humanoid',{},
  7063. function(args, speaker)
  7064. local players = getPlayer(args[1], speaker)
  7065. for i,v in pairs(players)do
  7066. local pchar = gPlayers[v].Character
  7067. if pchar:FindFirstChild("Humanoid") then
  7068. pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  7069. local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  7070. humanoid.Parent = game.ContextActionService
  7071. if FindTable(SPC, args[1]) then Notify('Disabled ' .. args[1]) else
  7072. Notify('Disabled player(s)') end
  7073. end end end)
  7074.  
  7075. addcmd('enable','gives player humanoid',{},
  7076. function(args, speaker)
  7077. local players = getPlayer(args[1], speaker)
  7078. for i,v in pairs(players)do
  7079. local pchar = gPlayers[v].Character
  7080. if pchar:FindFirstChild("Humanoid") then
  7081. return
  7082. else
  7083. local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  7084. humanoid.Parent = pchar
  7085. humanoid.Name = "Humanoid"
  7086. if FindTable(SPC, args[1]) then Notify('Enabled ' .. args[1]) else
  7087. Notify('Enabled player(s)') end
  7088. end end end)
  7089.  
  7090. addcmd('size','changes size of player',{},
  7091. function(args, speaker)
  7092. local players = getPlayer(args[1], speaker)
  7093. for i,v in pairs(players)do
  7094. local pchar = gPlayers[v].Character
  7095. local function scale(chr,scl)
  7096. for _,v in pairs(pchar:GetChildren()) do
  7097. if v:IsA("Accessory") then
  7098. v:Clone()
  7099. v.Parent = LightingService
  7100. end end
  7101. local Head = chr['Head']
  7102. local Torso = chr['Torso']
  7103. local LA = chr['Left Arm']
  7104. local RA = chr['Right Arm']
  7105. local LL = chr['Left Leg']
  7106. local RL = chr['Right Leg']
  7107. local HRP = chr['HumanoidRootPart']
  7108. wait(0.1)
  7109. Head.formFactor = 3
  7110. Torso.formFactor = 3
  7111. LA.formFactor = 3
  7112. RA.formFactor = 3
  7113. LL.formFactor = 3
  7114. RL.formFactor = 3
  7115. HRP.formFactor = 3
  7116. Head.Size = Vector3.new(scl * 2, scl, scl)
  7117. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  7118. LA.Size = Vector3.new(scl, scl * 2, scl)
  7119. RA.Size = Vector3.new(scl, scl * 2, scl)
  7120. LL.Size = Vector3.new(scl, scl * 2, scl)
  7121. RL.Size = Vector3.new(scl, scl * 2, scl)
  7122. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  7123. local Motor1 = Instance.new('Motor6D', Torso)
  7124. Motor1.Part0 = Torso
  7125. Motor1.Part1 = Head
  7126. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7127. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  7128. Motor1.Name = "Neck"
  7129. local Motor2 = Instance.new('Motor6D', Torso)
  7130. Motor2.Part0 = Torso
  7131. Motor2.Part1 = LA
  7132. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7133. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7134. Motor2.Name = "Left Shoulder"
  7135. local Motor3 = Instance.new('Motor6D', Torso)
  7136. Motor3.Part0 = Torso
  7137. Motor3.Part1 = RA
  7138. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7139. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7140. Motor3.Name = "Right Shoulder"
  7141. local Motor4 = Instance.new('Motor6D', Torso)
  7142. Motor4.Part0 = Torso
  7143. Motor4.Part1 = LL
  7144. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7145. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  7146. Motor4.Name = "Left Hip"
  7147. local Motor5 = Instance.new('Motor6D', Torso)
  7148. Motor5.Part0 = Torso
  7149. Motor5.Part1 = RL
  7150. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7151. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  7152. Motor5.Name = "Right Hip"
  7153. local Motor6 = Instance.new('Motor6D', HRP)
  7154. Motor6.Part0 = HRP
  7155. Motor6.Part1 = Torso
  7156. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  7157. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1) end
  7158. scale(pchar, args[2])
  7159. for _,v in pairs(LightingService:GetChildren()) do
  7160. if v:IsA("Accessory") then
  7161. v.Parent = pchar
  7162. end end end end)
  7163.  
  7164. addcmd('clone','clones player',{},
  7165. function(args, speaker)
  7166. local players = getPlayer(args[1], speaker)
  7167. for i,v in pairs(players)do
  7168. local pchar = gPlayers[v].Character
  7169. pchar.Archivable = true
  7170. local clone = pchar:Clone()
  7171. clone.Parent = workspace
  7172. clone:MoveTo(pchar:GetModelCFrame().p)
  7173. clone:MakeJoints()
  7174. pchar.Archivable = false
  7175. end
  7176. end)
  7177.  
  7178. addcmd('spin','spins player',{},
  7179. function(args, speaker)
  7180. local players = getPlayer(args[1], speaker)
  7181. for i,v in pairs(players)do
  7182. spawn(function()
  7183. local pchar = gPlayers[v].Character
  7184. for i,v in pairs(pchar.Torso:GetChildren()) do
  7185. if v.Name == "Spinning" then
  7186. v:Destroy()
  7187. end
  7188. end
  7189. local Torso = pchar.Torso
  7190. local BG = Instance.new("BodyGyro", Torso)
  7191. BG.Name = "Spinning"
  7192. BG.maxTorque = Vector3.new(0, math.huge, 0)
  7193. BG.P = 11111
  7194. BG.cframe = Torso.CFrame
  7195. repeat wait(1/44)
  7196. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  7197. until not BG or BG.Parent ~= Torso
  7198. end)
  7199. end
  7200. end)
  7201.  
  7202. addcmd('unspin','stops spinning player',{},
  7203. function(args, speaker)
  7204. local players = getPlayer(args[1], speaker)
  7205. for i,v in pairs(players)do
  7206. local pchar = gPlayers[v].Character
  7207. for i,v in pairs(pchar.Torso:GetChildren()) do
  7208. if v.Name == "Spinning" then
  7209. v:Destroy()
  7210. end
  7211. end
  7212. end
  7213. end)
  7214.  
  7215. addcmd('dog','makes player a dog',{},
  7216. function(args, speaker)
  7217. local players = getPlayer(args[1], speaker)
  7218. for i,v in pairs(players)do
  7219. local pchar = gPlayers[v].Character
  7220. if pchar:FindFirstChild("Shirt") then
  7221. pchar.Shirt:Destroy()
  7222. end
  7223. if pchar:FindFirstChild("Pants") then
  7224. pchar.Pants:Destroy()
  7225. end
  7226. if pchar:FindFirstChild("Shirt Graphic") then
  7227. pchar["Shirt Graphic"].Graphic = ""
  7228. end
  7229. pchar.Torso.Transparency = 1
  7230. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  7231. pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  7232. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  7233. pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  7234. pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  7235. local FakeTorso = Instance.new("Seat", pchar)
  7236. FakeTorso.Name = "FakeTorso"
  7237. FakeTorso.FormFactor = "Symmetric"
  7238. FakeTorso.TopSurface = 0
  7239. FakeTorso.BottomSurface = 0
  7240. FakeTorso.Size = Vector3.new(3,1,4)
  7241. FakeTorso.BrickColor = BrickColor.new("Brown")
  7242. FakeTorso.CFrame = pchar.Torso.CFrame
  7243. local BF = Instance.new("BodyForce", FakeTorso)
  7244. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  7245. local W = Instance.new("Weld", pchar.Torso)
  7246. W.Part0 = pchar.Torso
  7247. W.Part1 = FakeTorso
  7248. W.C0 = CFrame.new(0,-.5,0)
  7249. local BC = pchar["Body Colors"]
  7250. BC.HeadColor = BrickColor.new("Brown")
  7251. BC.LeftArmColor = BrickColor.new("Brown")
  7252. BC.LeftLegColor = BrickColor.new("Brown")
  7253. BC.RightArmColor = BrickColor.new("Brown")
  7254. BC.RightLegColor = BrickColor.new("Brown")
  7255. BC.TorsoColor = BrickColor.new("Brown")
  7256. end
  7257. end)
  7258.  
  7259. addcmd('undog','makes player back to normal',{},
  7260. function(args, speaker)
  7261. local players = getPlayer(args[1], speaker)
  7262. for i,v in pairs(players)do
  7263. execCmd("normal " .. gPlayers[v].Name, Player)
  7264. end
  7265. end)
  7266.  
  7267. addcmd('loopheal','loop heals player',{},
  7268. function(args, speaker)
  7269. local players = getPlayer(args[1], speaker)
  7270. for i,v in pairs(players)do
  7271. spawn(function()
  7272. local pchar = gPlayers[v].Character
  7273. if pchar:FindFirstChild("LoopHeal") then
  7274. pchar.LoopHeal.Name = "NotLoopHeal"
  7275. wait(0.1)
  7276. pchar.NotLoopHeal:Destroy()
  7277. end
  7278. local LoopHeal = Instance.new("StringValue", pchar)
  7279. LoopHeal.Name = "LoopHeal"
  7280. repeat wait(0.1)
  7281. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  7282. until LoopHeal.Name == "NotLoopHeal"
  7283. end)
  7284. end
  7285. end)
  7286.  
  7287. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  7288. function(args, speaker)
  7289. local players = getPlayer(args[1], speaker)
  7290. for i,v in pairs(players)do
  7291. local pchar = gPlayers[v].Character
  7292. if pchar:FindFirstChild("LoopHeal") then
  7293. pchar.LoopHeal.Name = "NotLoopHeal"
  7294. wait(0.1)
  7295. pchar.NotLoopHeal:Destroy()
  7296. end
  7297. end
  7298. end)
  7299.  
  7300. addcmd('fling','flings player',{},
  7301. function(args, speaker)
  7302. local players = getPlayer(args[1], speaker)
  7303. for i,v in pairs(players)do
  7304. local pchar = gPlayers[v].Character
  7305. if pchar:FindFirstChild("Humanoid") then
  7306. local xran
  7307. local zran
  7308. repeat
  7309. xran = math.random(-9999,9999)
  7310. until math.abs(xran) >= 5555
  7311. repeat
  7312. zran = math.random(-9999,9999)
  7313. until math.abs(zran) >= 5555
  7314. pchar.Humanoid.Sit = true
  7315. pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  7316. local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
  7317. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  7318. end
  7319. end
  7320. end)
  7321.  
  7322. addcmd('seizure','makes player have a seizure',{''},
  7323. function(args, speaker)
  7324. local players = getPlayer(args[1], speaker)
  7325. for i,v in pairs(players)do
  7326. local pchar = gPlayers[v].Character
  7327. if pchar:FindFirstChild("Seizure") then
  7328.  
  7329. end
  7330. local Seizure = Instance.new("StringValue", pchar)
  7331. Seizure.Name = "Seizure"
  7332. pchar.Humanoid.PlatformStand = true
  7333. repeat wait()
  7334. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  7335. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  7336. until Seizure.Name == "NotSeizure"
  7337. end
  7338. end)
  7339.  
  7340. addcmd('fegod','gods you in fe games',{''},
  7341. function(args, speaker)
  7342. if speaker.userId ~= LP.userId then
  7343. lponly(speaker)
  7344. else
  7345. gPlayers.LocalPlayer.Character.Humanoid.Name = 1
  7346. local l = gPlayers.LocalPlayer.Character["1"]:Clone()
  7347. l.Parent = gPlayers.LocalPlayer.Character
  7348. l.Name = "Humanoid"
  7349. wait(0.1)
  7350. gPlayers.LocalPlayer.Character["1"]:Destroy()
  7351. workspace.CurrentCamera.CameraSubject = gPlayers.LocalPlayer.Character
  7352. gPlayers.LocalPlayer.Character.Animate.Disabled = true
  7353. wait(0.1)
  7354. gPlayers.LocalPlayer.Character.Animate.Disabled = false
  7355. gPlayers.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  7356. end
  7357. end)
  7358.  
  7359. addcmd('unseizure','makes player stop having a seizure',{''},
  7360. function(args, speaker)
  7361. local players = getPlayer(args[1], speaker)
  7362. for i,v in pairs(players)do
  7363. local pchar = gPlayers[v].Character
  7364. if pchar:FindFirstChild("Seizure") then
  7365. pchar.Humanoid.PlatformStand = false
  7366. pchar.Seizure.Name = "NotSeizure"
  7367. wait(0.1)
  7368. pchar.NotSeizure:Destroy()
  7369. end
  7370. end
  7371. end)
  7372.  
  7373. addcmd('m','makes a global message',{'message'},
  7374. function(args, speaker)
  7375. local MSG = GLS(false, 0)
  7376. local newMSG = GLS(false, 0)
  7377. _G.msg(MSG)
  7378. end)
  7379.  
  7380. addcmd('fe','checks filtering status',{'filtering'},
  7381. function(args, speaker)
  7382. if workspace.FilteringEnabled == true then
  7383. Notify('Filtering ENABLED')
  7384. elseif workspace.FilteringEnabled == false then
  7385. Notify('Filtering Disabled')
  7386. end
  7387. end)
  7388.  
  7389. addcmd('paper','makes player thin as paper',{''},
  7390. function(args, speaker)
  7391. local players = getPlayer(args[1], speaker)
  7392. for i,v in pairs(players)do
  7393. local pchar = gPlayers[v].Character
  7394. for _, child in pairs( pchar:GetChildren()) do
  7395. if child.ClassName == "CharacterMesh" then
  7396. child:Destroy()
  7397. end
  7398. end
  7399. local LA = DATA.Paper:Clone()
  7400. LA.Parent = pchar["Left Arm"]
  7401. local RA = DATA.Paper:Clone()
  7402. RA.Parent = pchar["Right Arm"]
  7403. local LL = DATA.Paper:Clone()
  7404. LL.Parent = pchar["Left Leg"]
  7405. local RL = DATA.Paper:Clone()
  7406. RL.Parent = pchar["Right Leg"]
  7407. local T = DATA.Paper:Clone()
  7408. T.Parent = pchar.Torso
  7409. local H = DATA.Paper:Clone()
  7410. H.Parent = pchar.Head
  7411. pchar.Head.face:Destroy()
  7412. end
  7413. end)
  7414.  
  7415. addcmd('particles','gives a player particles',{''},
  7416. function(args, speaker)
  7417. local players = getPlayer(args[1], speaker)
  7418. for i,v in pairs(players)do
  7419. local char = gPlayers[v].Character
  7420. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  7421. if v:IsA('ParticleEmitter') then
  7422. v:destroy()
  7423. end
  7424. end
  7425. local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
  7426. prt.Texture = 'rbxassetid://' .. args[2]
  7427. prt.Rate = 10
  7428. prt.SpreadAngle = Vector2.new(50, 50)
  7429. end
  7430. end)
  7431.  
  7432. addcmd('unparticles','gives a player particles',{'noparticles'},
  7433. function(args, speaker)
  7434. local players = getPlayer(args[1], speaker)
  7435. for i,v in pairs(players)do
  7436. local char = gPlayers[v].Character
  7437. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  7438. if v:IsA('ParticleEmitter') then
  7439. v:destroy()
  7440. end
  7441. end
  7442. end
  7443. end)
  7444.  
  7445. blindT = {}
  7446. addcmd('blind','blinds a player',{},
  7447. function(args, speaker)
  7448. local players = getPlayer(args[1], speaker)
  7449. for i,v in pairs(players)do
  7450. spawn(function()
  7451. if FindTable(blindT, _players[v].Name) then return end
  7452. local blind = gPlayers[v].Name
  7453. local victim = gPlayers:FindFirstChild(blind)
  7454. if victim ~= nil then
  7455. victim.CameraMaxZoomDistance = 0.5
  7456. blnd = Instance.new("Part",workspace)
  7457. blnd.Name = "IYblind" .. gPlayers[v].Name
  7458. blnd.Size = Vector3.new(1,1,1)
  7459. blnd.CanCollide = false
  7460. blnd.BrickColor = BrickColor.new("Really black")
  7461. blnd.Material = "Neon"
  7462. local m = Instance.new("SpecialMesh",blnd)
  7463. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  7464. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  7465. local w = Instance.new("Weld",blnd)
  7466. w.Part0 = blnd
  7467. w.Part1 = victim.Character.Head
  7468. if FindTable(blindT, _players[v].Name) then return end
  7469. table.insert(blindT, _players[v].Name)
  7470. repeat if not workspace:FindFirstChild('IYblind' .. gPlayers[v].Name) then
  7471. local blind = gPlayers[v].Name
  7472. local victim = gPlayers:FindFirstChild(blind)
  7473. if victim ~= nil then
  7474. victim.CameraMaxZoomDistance = 0.5
  7475. blnd = Instance.new("Part",workspace)
  7476. blnd.Name = "IYblind" .. gPlayers[v].Name
  7477. blnd.Size = Vector3.new(1,1,1)
  7478. blnd.CanCollide = false
  7479. blnd.BrickColor = BrickColor.new("Really black")
  7480. blnd.Material = "Neon"
  7481. local m = Instance.new("SpecialMesh",blnd)
  7482. m.Scale = Vector3.new(-1.5,-1.5,-1.5)
  7483. m.MeshId = "http://www.roblox.com/asset/?id=10061232"
  7484. local w = Instance.new("Weld",blnd)
  7485. w.Part0 = blnd
  7486. w.Part1 = victim.Character.Head
  7487. end end wait(1)
  7488. until not FindTable(blindT, _players[v].Name)
  7489. end end) end end)
  7490.  
  7491. addcmd('unblind','blinds a player',{'noblind'},
  7492. function(args, speaker)
  7493. local players = getPlayer(args[1], speaker)
  7494. for i,v in pairs(players)do
  7495. spawn(function()
  7496. for a,b in pairs(blindT) do if b == _players[v].Name then table.remove(blindT, a) end end
  7497. local blind = gPlayers[v].Name
  7498. local victim = gPlayers:FindFirstChild(blind)
  7499. if victim ~= nil then
  7500. victim.CameraMaxZoomDistance = 400 wait(0.5)
  7501. for _, child in pairs( workspace:GetChildren()) do
  7502. if child.Name == "IYblind" .. gPlayers[v].Name then
  7503. child:Destroy()
  7504. end end end end) end end)
  7505.  
  7506. addcmd('punish','punishs player',{''},
  7507. function(args, speaker)
  7508. local players = getPlayer(args[1], speaker)
  7509. for i,v in pairs(players)do
  7510. local pchar = gPlayers[v].Character
  7511. pchar.Parent = LightingService
  7512. end
  7513. end)
  7514.  
  7515. addcmd('unpunish','unpunishs player',{''},
  7516. function(args, speaker)
  7517. local players = getPlayer(args[1], speaker)
  7518. for i,v in pairs(players)do
  7519. if LightingService:FindFirstChild("" .. gPlayers[v].Name) then
  7520. LightingService:FindFirstChild("" .. gPlayers[v].Name).Parent = workspace
  7521. end
  7522. end
  7523. end)
  7524.  
  7525. local starmanPlayers = {}
  7526. local starmanLastColor = nil
  7527. local starmanEvents = {}
  7528.  
  7529. addcmd("starman","Turns [plr] into starman",{},
  7530. function(args,speaker)
  7531. local function starman(plr)
  7532. local char = plr.Character
  7533. local lastColor = ""
  7534. local newColor = ""
  7535.  
  7536. local powerupSound = Instance.new("Sound",char.HumanoidRootPart)
  7537. powerupSound.Name = "PowerUp"
  7538. powerupSound.Volume = 10
  7539. powerupSound.SoundId = "rbxassetid://182755256"
  7540. wait()
  7541. powerupSound:Play()
  7542.  
  7543. game:GetService("Debris"):AddItem(powerupSound,2)
  7544.  
  7545. while char.HumanoidRootPart:FindFirstChild("Starman") do char.HumanoidRootPart.Starman:Destroy() end
  7546.  
  7547. local starmanMusic = Instance.new("Sound",char.HumanoidRootPart)
  7548. starmanMusic.Name = "Starman"
  7549. starmanMusic.Volume = 1
  7550. starmanMusic.Looped = true
  7551. starmanMusic.SoundId = "rbxassetid://530596723"
  7552. wait()
  7553. starmanMusic:Play()
  7554.  
  7555. if char:FindFirstChild("Shirt") then char.Shirt:Destroy() end
  7556. if char:FindFirstChild("Pants") then char.Pants:Destroy() end
  7557.  
  7558. char.Humanoid.WalkSpeed = 32
  7559. char.Humanoid.MaxHealth = math.huge
  7560. char.Humanoid.Health = math.huge
  7561.  
  7562. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do char.HumanoidRootPart.StarmanFlash:Destroy() end
  7563.  
  7564. local light = Instance.new("PointLight",char.HumanoidRootPart)
  7565. light.Name = "StarmanFlash"
  7566. light.Brightness = 100
  7567. light.Range = 20
  7568. light.Shadows = true
  7569.  
  7570. local function stardestroy(part)
  7571. if part.Parent:FindFirstChild("Humanoid") then
  7572. for i,v in pairs(part.Parent:GetChildren()) do
  7573. if v:IsA("BasePart") then
  7574. local force = Instance.new("BodyForce",v)
  7575. force.Force = char.HumanoidRootPart.CFrame.lookVector * 50
  7576. v:BreakJoints()
  7577. end
  7578. end
  7579.  
  7580. local tadaas = {}
  7581.  
  7582. for i = 1,1 do
  7583. local tadaa = Instance.new("Sound",part.Parent.HumanoidRootPart)
  7584. tadaa.Volume = 10
  7585. tadaa.SoundId = "rbxassetid://551195499"
  7586. table.insert(tadaas,tadaa)
  7587. end
  7588.  
  7589. wait()
  7590.  
  7591. for i,v in pairs(tadaas) do
  7592. v:Play()
  7593. end
  7594. end
  7595. end
  7596.  
  7597. local events = {}
  7598. for i,v in pairs(char:GetChildren()) do
  7599. if v:IsA("BasePart") then v.Material = Enum.Material.Neon table.insert(events,v.Touched:Connect(stardestroy)) end
  7600. end
  7601. if starmanEvents[plr.Name] then for i,v in pairs(starmanEvents[plr.Name]) do v:Disconnect() end starmanEvents[plr.Name] = nil end
  7602. starmanEvents[plr.Name] = events
  7603. starmanPlayers[plr.Name] = char
  7604. end
  7605.  
  7606. for _,plr in pairs(getPlayer(args[1], speaker)) do
  7607. spawn(function()starman(gPlayers[plr])end)
  7608. end
  7609. end)
  7610.  
  7611. addcmd("unstarman","Removes starman from [plr]",{},
  7612. function(args,speaker)
  7613. for _,plr in pairs(getPlayer(args[1], speaker)) do
  7614. pcall(function()
  7615. if starmanPlayers[plr] then starmanPlayers[plr] = nil end
  7616. if starmanEvents[plr] then for i,v in pairs(starmanEvents[plr]) do v:Disconnect() end starmanEvents[plr] = nil end
  7617. local char = gPlayers[plr].Character
  7618. while char.HumanoidRootPart:FindFirstChild("Starman") do
  7619. char.HumanoidRootPart.Starman:Destroy()
  7620. end
  7621. while char.HumanoidRootPart:FindFirstChild("StarmanFlash") do
  7622. char.HumanoidRootPart.StarmanFlash:Destroy()
  7623. end
  7624. end)
  7625. end
  7626. end)
  7627.  
  7628. local Timers = {}
  7629. function checkTimer(n,t,res)
  7630. if not Timers[n] then Timers[n] = 0 end
  7631.  
  7632. if tick() >= Timers[n] + t then
  7633. if res then Timers[n] = tick() end
  7634. return true
  7635. else
  7636. return false
  7637. end
  7638. end
  7639.  
  7640. function nonEmpty(t)
  7641. for i,v in pairs(t) do
  7642. return true
  7643. end
  7644. return false
  7645. end
  7646.  
  7647. game:GetService("RunService").RenderStepped:Connect(function()
  7648. if nonEmpty(starmanPlayers) then
  7649. if checkTimer("Starman",0.05,true) then
  7650. for name,plrchar in pairs(starmanPlayers) do
  7651. ypcall(function()
  7652. local colors = {"Bright red","Bright blue","Bright green","Bright yellow","Bright violet"}
  7653. if not gPlayers:FindFirstChild(name) then starmanPlayers[name] = nil end
  7654.  
  7655. local plr = gPlayers:FindFirstChild(name)
  7656.  
  7657. if plr then
  7658. local char = plrchar
  7659. local light = char.HumanoidRootPart:FindFirstChild("StarmanFlash")
  7660.  
  7661. local meshMap = {}
  7662.  
  7663. for i,v in pairs(char:GetChildren()) do
  7664. if v:IsA("CharacterMesh") then
  7665. if v.BodyPart.Name == "Torso" then meshMap["Torso"] = "rbxassetid://"..v.MeshId end
  7666. if v.BodyPart.Name == "LeftArm" then meshMap["Left Arm"] = "rbxassetid://"..v.MeshId end
  7667. if v.BodyPart.Name == "RightArm" then meshMap["Right Arm"] = "rbxassetid://"..v.MeshId end
  7668. if v.BodyPart.Name == "LeftLeg" then meshMap["Left Leg"] = "rbxassetid://"..v.MeshId end
  7669. if v.BodyPart.Name == "RightLeg" then meshMap["Right Leg"] = "rbxassetid://"..v.MeshId end
  7670. end
  7671. end
  7672.  
  7673. if char.Head:FindFirstChild("Mesh") then meshMap["Head"] = char.Head.Mesh.MeshId end
  7674.  
  7675. if not char or char.Parent == nil then starmanPlayers[plr.Name] = nil end
  7676. local newColor = BrickColor.new(colors[math.random(1,#colors)])
  7677. while starmanLastColor == newColor do newColor = BrickColor.new(colors[math.random(1,#colors)]) end
  7678. starmanLastColor = newColor
  7679. for i,v in pairs(char:GetChildren()) do
  7680. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  7681. v.BrickColor = newColor
  7682. local fade = v:Clone()
  7683. if meshMap[v.Name] then
  7684. local newMesh = Instance.new("SpecialMesh",fade)
  7685. newMesh.MeshId = meshMap[v.Name]
  7686. end
  7687. fade.Name = "StarFade"
  7688. fade.Anchored = true
  7689. fade.CanCollide = false
  7690. 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
  7691. fade.Parent = workspace.Terrain
  7692. game:GetService("TweenService"):Create(fade,TweenInfo.new(0.5),{Transparency = 1}):Play()
  7693. game:GetService("Debris"):AddItem(fade,0.5)
  7694. end
  7695. end
  7696. light.Color = newColor.Color
  7697. end
  7698. end)
  7699. end
  7700. end
  7701. end
  7702. end)
  7703.  
  7704. addcmd("tppos","Teleports a player to a coordinate",{},
  7705. function(args,speaker)
  7706. if #args < 4 then return end
  7707. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  7708. for _,plr in pairs(getPlayer(args[1], speaker)) do
  7709. local char = gPlayers[plr].Character
  7710. if char and char:FindFirstChild("HumanoidRootPart") then
  7711. char.HumanoidRootPart.CFrame = CFrame.new(tpX,tpY,tpZ)
  7712. end
  7713. end
  7714. end)
  7715.  
  7716. addcmd("offset","Offsets a player by a coordinate",{},
  7717. function(args,speaker)
  7718. if #args < 4 then return end
  7719. local tpX,tpY,tpZ = tonumber(args[2]),tonumber(args[3]),tonumber(args[4])
  7720. for _,plr in pairs(getPlayer(args[1], speaker)) do
  7721. local char = gPlayers[plr].Character
  7722. if char and char:FindFirstChild("HumanoidRootPart") then
  7723. char.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame + Vector3.new(tpX,tpY,tpZ)
  7724. end
  7725. end
  7726. end)
  7727.  
  7728. addcmd('bait',';)',{'troll'},
  7729. function(args, speaker)
  7730. spawn(function()
  7731. local M = Instance.new('Model', workspace) M.Name = 'IYbait'
  7732. local P = Instance.new('Part', M) P.Name = 'Main' P.Position = speaker.Character.Head.Position P.BrickColor = BrickColor.new('Really black') P.Material = 'Neon' P.Size = Vector3.new(4, 1, 4)
  7733. y = Instance.new("BillboardGui")
  7734. y.Size = UDim2.new(0,100,0,150)
  7735. y.StudsOffset = Vector3.new(0,1,0)
  7736. y.Parent = P
  7737. y.Adornee = P
  7738. f = Instance.new("TextLabel")
  7739. f.Parent = y
  7740. f.BackgroundTransparency = 1
  7741. f.Position = UDim2.new(0,0,0,-50)
  7742. f.Size = UDim2.new(0,100,0,100)
  7743. f.Font = "Highway"
  7744. f.FontSize = "Size48"
  7745. f.Text = "Touch for admin!"
  7746. f.TextStrokeColor3 = Color3.new(0,0,0)
  7747. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  7748. f.TextStrokeTransparency = 0
  7749. f.TextYAlignment = "Bottom"
  7750. 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)
  7751. end)
  7752. end)
  7753.  
  7754. addcmd('removebait','clears bait parts',{'nobait'},
  7755. function(args, speaker)
  7756. local function dels(instance)
  7757. for i,v in pairs(instance:GetChildren())do
  7758. if v.name == "IYbait"then v:Destroy()end
  7759. dels(v)
  7760. end
  7761. end
  7762. dels(workspace)
  7763. end)
  7764.  
  7765. function CreateInstance(cls,props)
  7766. local inst = Instance.new(cls)
  7767. for i,v in pairs(props) do
  7768. inst[i] = v
  7769. end
  7770. return inst end
  7771. local function createSoundFrame()
  7772. 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)
  7773. 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
  7774. 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)
  7775. 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})
  7776. 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})
  7777. 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)
  7778. 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)
  7779. 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})
  7780. 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
  7781. 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
  7782. 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)
  7783. 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})
  7784. 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})
  7785. 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)
  7786. 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})
  7787. 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})
  7788. 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
  7789. 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)
  7790. return soundFrame end
  7791. local soundFrame = createSoundFrame()
  7792. soundFrame.Visible = true
  7793. local MusicPlayer do
  7794. MusicPlayer = {}
  7795. local playlist = {}
  7796. local currentSong = 1
  7797. local playlistHook = nil
  7798. --local soundFrame = script.Parent:WaitForChild("Sound")
  7799. local soundLine = soundFrame:WaitForChild("Pos")
  7800. local soundTouch = soundLine:WaitForChild("Touch")
  7801. local soundPlayStop = soundFrame:WaitForChild("PlayStop")
  7802. local soundPause = soundFrame:WaitForChild("Pause")
  7803. local soundNext = soundFrame:WaitForChild("NextSong")
  7804. local soundPrev = soundFrame:WaitForChild("PrevSong")
  7805. local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
  7806. local mouseDrag = false
  7807. local mouse = gPlayers.LocalPlayer:GetMouse()
  7808. local lineBar = soundFrame:WaitForChild("Pos")
  7809. adminSound = Instance.new("Sound",workspace)
  7810. adminSound.Name = "IYsound"
  7811. adminSound.Looped = true
  7812. local function timeConvert(num)
  7813. local mins = math.floor(num/60)
  7814. local secs = math.floor(num % 60)
  7815. return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
  7816. end
  7817. local function updateSongLine()
  7818. local linePos = mouse.X - soundLine.AbsolutePosition.X
  7819. if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
  7820. local movePos = linePos/soundLine.AbsoluteSize.X
  7821. soundTouch.Position = UDim2.new(movePos,0,0,0)
  7822. elseif linePos < 0 then
  7823. soundTouch.Position = UDim2.new(0,0,0,0)
  7824. else
  7825. soundTouch.Position = UDim2.new(1,0,0,0)
  7826. end
  7827. local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
  7828. adminSound.TimePosition = newTimePos
  7829. soundFrame.TimeStart.Text = timeConvert(newTimePos)
  7830. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  7831. end
  7832. local function updateDetails(id)
  7833. local info = game:GetService("MarketplaceService"):GetProductInfo(id)
  7834. soundFrame.SName.Text = info.Name
  7835. end
  7836. local function setPlaylistHook()
  7837. if playlistHook then playlistHook:Disconnect() playlistHook = nil end
  7838. if #playlist == 0 then return end
  7839. playlistHook = adminSound.DidLoop:connect(function()
  7840. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  7841. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7842. MusicPlayer:Play(playlist[currentSong],true)
  7843. end)
  7844. end
  7845. local function disconnectPlaylistHook()
  7846. if playlistHook then playlistHook:disconnect() playlistHook = nil end
  7847. end
  7848. game:GetService("RunService").RenderStepped:Connect(function()
  7849. if adminSound.Playing then
  7850. soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
  7851. soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
  7852. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  7853. end
  7854. end)
  7855. lineBar.InputBegan:connect(function(input)
  7856. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  7857. mouseDrag = true
  7858. updateSongLine()
  7859. end
  7860. end)
  7861. lineBar.InputEnded:connect(function(input)
  7862. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  7863. mouseDrag = false
  7864. end
  7865. end)
  7866. mouse.Move:connect(function(prop)
  7867. if mouseDrag then
  7868. updateSongLine()
  7869. end
  7870. end)
  7871. function MusicPlayer:Play(id,plist)
  7872. if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
  7873. adminSound:Stop()
  7874. if adminSound.Parent == nil then
  7875. adminSound = Instance.new("Sound",workspace)
  7876. adminSound.Name = "IYsound"
  7877. adminSound.Looped = true
  7878. if plist then setPlaylistHook() end
  7879. end
  7880. adminSound.SoundId = "rbxassetid://"..tostring(id)
  7881. adminSound.TimePosition = 0
  7882. --repeat wait() until adminSound.IsLoaded
  7883. adminSound:Play()
  7884. soundPlayStop.BackgroundTransparency = 0
  7885. soundPlayStop.ImageTransparency = 1
  7886. updateDetails(id)
  7887. end
  7888. function MusicPlayer:Playlist(list)
  7889. playlist = list
  7890. soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
  7891. currentSong = 1
  7892. if adminSound.Parent == nil then
  7893. adminSound = Instance.new("Sound",workspace)
  7894. adminSound.Name = "IYsound"
  7895. adminSound.Looped = true
  7896. end
  7897. soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
  7898. MusicPlayer:Play(playlist[1],true)
  7899. setPlaylistHook()
  7900. end
  7901. function MusicPlayer:Stop()
  7902. adminSound:Stop()
  7903. adminSound.TimePosition = 0
  7904. soundTouch.Position = UDim2.new(0,0,0,0)
  7905. soundFrame.TimeStart.Text = "0:00"
  7906. soundPlayStop.BackgroundTransparency = 1
  7907. soundPlayStop.ImageTransparency = 0
  7908. end
  7909. function MusicPlayer:Pause()
  7910. adminSound:Pause()
  7911. soundPlayStop.BackgroundTransparency = 1
  7912. soundPlayStop.ImageTransparency = 0
  7913. end
  7914. function MusicPlayer:Resume()
  7915. adminSound:Resume()
  7916. soundPlayStop.BackgroundTransparency = 0
  7917. soundPlayStop.ImageTransparency = 1
  7918. setPlaylistHook()
  7919. end
  7920. function MusicPlayer:NextSong()
  7921. if #playlist == 0 then return end
  7922. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  7923. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7924. MusicPlayer:Play(playlist[currentSong],true)
  7925. end
  7926. function MusicPlayer:PrevSong()
  7927. if #playlist == 0 then return end
  7928. if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
  7929. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7930. MusicPlayer:Play(playlist[currentSong],true)
  7931. end
  7932. function MusicPlayer:SetSong(ind)
  7933. if ind > #playlist or ind <= 0 then return end
  7934. soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
  7935. MusicPlayer:Play(playlist[ind],true)
  7936. end
  7937. playerenabled = false
  7938. function MusicPlayer:Show()
  7939. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  7940. end
  7941. function MusicPlayer:Hide()
  7942. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  7943. end
  7944. function colorFrames(obj,col)
  7945. for i,v in pairs(obj:GetChildren()) do
  7946. if v:IsA("ImageLabel") then
  7947. v.ImageColor3 = col
  7948. end
  7949. v.BackgroundColor3 = col
  7950. end
  7951. end
  7952. for i,v in pairs(soundButtons) do
  7953. v.MouseEnter:connect(function()
  7954. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
  7955. if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
  7956. v.BackgroundColor3 = Color3.new(1,1,1)
  7957. colorFrames(v,Color3.new(1,1,1))
  7958. end)
  7959. v.MouseLeave:connect(function()
  7960. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
  7961. if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
  7962. v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
  7963. colorFrames(v,Color3.new(230/255, 230/255, 230/255))
  7964. end)
  7965. end
  7966. soundPlayStop.MouseButton1Click:connect(function()
  7967. if adminSound.Playing then
  7968. MusicPlayer:Stop()
  7969. else
  7970. MusicPlayer:Resume()
  7971. end
  7972. end)
  7973. soundPause.MouseButton1Click:connect(function()
  7974. MusicPlayer:Pause()
  7975. end)
  7976. soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
  7977. soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
  7978. end
  7979. local testgui = Instance.new("ScreenGui",game.CoreGui)
  7980. soundFrame.Parent = testgui
  7981. addcmd('playlist','makes a noice playlist',{'ids'},
  7982. function(args, speaker)
  7983. if #args > 0 then
  7984. local function dels(instance)
  7985. for i,v in pairs(instance:GetChildren())do
  7986. if v:IsA'Sound'then v:Destroy()end
  7987. dels(v)
  7988. end
  7989. end
  7990. dels(workspace) wait(0.1)
  7991. if adminSound.Parent == nil then
  7992. adminSound = Instance.new("Sound",workspace)
  7993. adminSound.Name = "IYsound"
  7994. adminSound.Looped = true
  7995. end
  7996. local idlist = splitString(args[1])
  7997. local workingIds = {}
  7998. for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
  7999. if #workingIds > 0 then
  8000. playerenabled = true
  8001. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  8002. MusicPlayer:Playlist(workingIds)
  8003. 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)
  8004. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  8005. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  8006. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end
  8007. 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)
  8008. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  8009. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) playerenabled = true
  8010. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false end end end)
  8011. addcmd('sound', 'plays a sound',{'music','play'},
  8012. function(args, speaker)
  8013. if isNumber(args[1]) then
  8014. local function dels(instance)
  8015. for i,v in pairs(instance:GetChildren())do
  8016. if v:IsA'Sound'then v:Destroy()end
  8017. dels(v)
  8018. end
  8019. end
  8020. dels(workspace)
  8021. local c = args[1] or 'stop'
  8022. if std.inTable({'stop'}, c:lower()) then return end
  8023. local s = Instance.new("Sound", workspace)
  8024. s.Name = "IYsound"
  8025. s.Looped = true
  8026. s.SoundId = "rbxassetid://" .. c
  8027. s.Volume = 1
  8028. s:Play()
  8029. local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
  8030. playerenabled = false
  8031. Notify('Playing: ' .. Asset.Name)
  8032. else
  8033. local name = GLS(false, 0)
  8034. playerenabled = false
  8035. Notify('Stopped audio')
  8036. local function dels(instance)
  8037. for i,v in pairs(instance:GetChildren())do
  8038. if v:IsA'Sound'then v:Destroy()end
  8039. dels(v)
  8040. end
  8041. end
  8042. dels(workspace)
  8043. if args[1] ~= "stop" and args[1] ~= "off" then
  8044. local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
  8045. if song ~= "[]" then
  8046. local Sound = Instance.new("Sound", workspace)
  8047. Sound.Name = "IYsound"
  8048. song = song:sub(13)
  8049. song = song:sub(1, song:find(",") - 1)
  8050. Sound.SoundId = "rbxassetid://" .. song
  8051. Sound.Looped = true
  8052. Sound:Play()
  8053. local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
  8054. Notify('Playing: ' .. Asset.Name) end
  8055. end end end)
  8056. addcmd('setsong','goto a song',{'tosong'},
  8057. function(args, speaker)
  8058. MusicPlayer:SetSong(tonumber(args[1]))
  8059. end)
  8060. addcmd('nextsong','forward a song',{'nxtsong'},
  8061. function(args, speaker)
  8062. MusicPlayer:NextSong()
  8063. end)
  8064. addcmd('prevsong','back a song',{'previoussong'},
  8065. function(args, speaker)
  8066. MusicPlayer:PrevSong()
  8067. end)
  8068. addcmd('hideplaylist','back a song',{'unplayer','noplayer','hideplayer'},
  8069. function(args, speaker)
  8070. playerenabled = false
  8071. MusicPlayer:Hide()
  8072. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  8073. end)
  8074.  
  8075. addcmd('disco','disco party',{''},
  8076. function(args, speaker)
  8077. _G.nodisco = nil
  8078. coroutine.resume(coroutine.create(function()
  8079. repeat
  8080. game:GetService('Lighting').GlobalShadows = true
  8081. game:GetService('Lighting').FogEnd = 200
  8082. game:GetService('Lighting').TimeOfDay = 0
  8083. local r = 255
  8084. local g = 0
  8085. local b = 0
  8086. for i = 0,255,5 do
  8087. if _G.nodisco ~=nil then return end
  8088. r = r - 5
  8089. b = b + 5
  8090. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  8091. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  8092. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  8093. wait()
  8094. end
  8095. for i = 0,255,5 do
  8096. if _G.nodisco ~=nil then return end
  8097. g = g + 5
  8098. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  8099. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  8100. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  8101. wait()
  8102. end
  8103. for i = 0,255,5 do
  8104. if _G.nodisco ~=nil then return end
  8105. b = b - 5
  8106. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  8107. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  8108. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  8109. wait()
  8110. end
  8111. for i = 0,255,5 do
  8112. if _G.nodisco ~=nil then return end
  8113. r = r + 5
  8114. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  8115. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  8116. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  8117. wait()
  8118. end
  8119. for i = 0,255,5 do
  8120. if _G.nodisco ~=nil then return end
  8121. g = g - 5
  8122. game:GetService('Lighting').Ambient = Color3.fromRGB(r,g,b)
  8123. game:GetService('Lighting').OutdoorAmbient = Color3.fromRGB(r,g,b)
  8124. game:GetService('Lighting').FogColor = Color3.fromRGB(r,g,b)
  8125. wait()
  8126. end
  8127. until _G.nodisco
  8128. end))
  8129. end)
  8130.  
  8131. addcmd('undisco','rip disco party',{''},
  8132. function(args, speaker)
  8133. _G.nodisco = true
  8134. execCmd('fixl')
  8135. end)
  8136.  
  8137. addcmd('hat','give a hat to a player',{''},
  8138. function(args, speaker)
  8139. local players = getPlayer(args[1], speaker)
  8140. for i,v in pairs(players)do
  8141. local char = gPlayers[v].Character
  8142. local Hat = game:GetObjects("rbxassetid://" .. args[2])[1]
  8143. Hat.Parent = char
  8144. end end)
  8145.  
  8146. fm = Instance.new('BlockMesh', DATA)
  8147. fm.Scale = Vector3.new(1, 1, 2)
  8148. fm.Name = "FAT"
  8149. addcmd('fat','makes a plr fat',{''},
  8150. function(args, speaker)
  8151. local players = getPlayer(args[1], speaker)
  8152. for i,v in pairs(players)do
  8153. local char = gPlayers[v].Character
  8154. for _, child in pairs( char:GetChildren()) do
  8155. if child.ClassName == "CharacterMesh" then
  8156. child:Destroy() end end
  8157. for i,v in pairs(char:GetChildren()) do
  8158. if v:IsA('Part') and v.Name ~= 'HumanoidRootPart' then
  8159. fm:Clone().Parent = v
  8160. end end end end)
  8161.  
  8162. addcmd('crucify','makes a plr no longer fat',{'cruci'},
  8163. function(args, speaker)
  8164. local players = getPlayer(args[1], speaker)
  8165. for i,v in pairs(players)do
  8166. local char = gPlayers[v].Character
  8167. local torso=char['Torso']
  8168. local larm=char['Left Arm']
  8169. local rarm=char['Right Arm']
  8170. local lleg=char['Left Leg']
  8171. local rleg=char['Right Leg']
  8172. local head=char['Head']
  8173. if torso and larm and rarm and lleg and rleg and head and not char:FindFirstChild(char.Name..'epixcrusify') then
  8174. local cru=Instance.new('Model',char)
  8175. cru.Name=char.Name..'epixcrusify' -- Leave it like that so it bypasses epixcommands ;)
  8176. local c1=Instance.new('Part',cru)
  8177. c1.BrickColor=BrickColor.new('Reddish brown')
  8178. c1.Material='Wood'
  8179. c1.CFrame=(char.Torso.CFrame-char.Torso.CFrame.lookVector)*CFrame.new(0,0,2)
  8180. c1.Size=Vector3.new(2,18.4,1)
  8181. c1.Anchored=true
  8182. local c2=c1:Clone()
  8183. c2.Parent=cru
  8184. c2.Size=Vector3.new(11,1.6,1)
  8185. c2.CFrame=c1.CFrame+Vector3.new(0,5,0)
  8186. torso.Anchored=true;wait(0.5)
  8187. torso.CFrame=c2.CFrame+torso.CFrame.lookVector+Vector3.new(0,-1,0);wait(0.5)
  8188. larm.Anchored=true
  8189. rarm.Anchored=true
  8190. lleg.Anchored=true
  8191. rleg.Anchored=true
  8192. head.Anchored=true;wait()
  8193. larm.CFrame=torso.CFrame*CFrame.new(-1.5,1,0)
  8194. rarm.CFrame=torso.CFrame*CFrame.new(1.5,1,0)
  8195. lleg.CFrame=torso.CFrame*CFrame.new(-0.1,-1.7,0)
  8196. rleg.CFrame=torso.CFrame*CFrame.new(0.1,-1.7,0)
  8197. larm.CFrame=larm.CFrame*CFrame.Angles(0,0,-140)
  8198. rarm.CFrame=rarm.CFrame*CFrame.Angles(0,0,140)
  8199. lleg.CFrame=lleg.CFrame*CFrame.Angles(0,0,0.6)
  8200. rleg.CFrame=rleg.CFrame*CFrame.Angles(0,0,-0.6)
  8201. --head.CFrame=head.CFrame*CFrame.Angles(0,0,0.3)
  8202. local n1=Instance.new('Part',cru)
  8203. n1.BrickColor=BrickColor.new('Dark stone grey')
  8204. n1.Material='DiamondPlate'
  8205. n1.Size=Vector3.new(0.2,0.2,2)
  8206. n1.Anchored=true
  8207. local m=Instance.new('BlockMesh',n1)
  8208. m.Scale=Vector3.new(0.2,0.2,0.7)
  8209. local n2=n1:Clone()
  8210. n2.Parent=cru
  8211. local n3=n1:Clone()
  8212. n3.Parent=cru
  8213. n1.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(2,0,0)
  8214. n2.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(-2,0,0)
  8215. n3.CFrame=(c2.CFrame+torso.CFrame.lookVector)*CFrame.new(0,-3,0)
  8216. spawn(function()
  8217. repeat
  8218. wait(0.1)
  8219. char.Humanoid.Health=char.Humanoid.Health-0.6
  8220. until (not cru) or (not cru.Parent) or (not v) or (not char) or (not char:FindFirstChild('Head')) or char.Humanoid.Health<=0
  8221. char:BreakJoints()
  8222. end)
  8223. end
  8224. end
  8225. end)
  8226.  
  8227. addcmd('fix', 'restores lighting and what not',{},
  8228. function(args, speaker)
  8229. LightingService.Ambient = origsettings.abt
  8230. LightingService.OutdoorAmbient = origsettings.oabt
  8231. LightingService.Brightness = origsettings.brt
  8232. LightingService.TimeOfDay = origsettings.time
  8233. LightingService.FogColor = origsettings.fclr
  8234. LightingService.FogEnd = origsettings.fe
  8235. LightingService.FogStart = origsettings.fs
  8236. workspace.Gravity = 200
  8237. 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)
  8238. for i,v in pairs(LightingService:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
  8239. for i,v in pairs(game:GetService("Lighting"):GetChildren()) do
  8240. if v:IsA("PostEffect") then v:Destroy() end end
  8241. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() Notify('Reset') end end)
  8242.  
  8243. Floating = false
  8244.  
  8245. addcmd('float', 'makes player float',{},
  8246. function(args,speaker)
  8247. Floating = true
  8248. local players = getPlayer(args[1], speaker)
  8249. for _,v in pairs(players) do
  8250. local pchar = gPlayers[v].Character
  8251. if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  8252. spawn(function()
  8253. local float = DATA.Float:Clone()
  8254. float.Parent = pchar
  8255. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  8256. spawn(function()
  8257. while wait(0.1) do
  8258. if pchar:FindFirstChild("Float") then
  8259. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  8260. else
  8261. break
  8262. end
  8263. end
  8264. end)
  8265. end)
  8266. end
  8267. end
  8268. end)
  8269.  
  8270. addcmd('unfloat','disables floating',{},
  8271. function(args, speaker)
  8272. Floating = false
  8273. local players = getPlayer(args[1], speaker)
  8274. for i,v in pairs(players)do
  8275. local pchar = gPlayers[v].Character
  8276. if pchar:FindFirstChild("Float") then
  8277. pchar.Float:Destroy()
  8278. end
  8279. end
  8280. end)
  8281.  
  8282. Clip = true
  8283. addcmd('noclip','noclip',{},
  8284. function(args, speaker)
  8285. Notify('Noclip enabled')
  8286. Clip = false
  8287. wait(0.1)
  8288. Name = speaker.Name
  8289. game:GetService('RunService').Stepped:connect(function ()
  8290. workspace[Name].Torso.CanCollide = Clip
  8291. workspace[Name].Head.CanCollide = Clip
  8292. end)
  8293. workspace[Name].Torso.Changed:connect(function()
  8294. workspace[Name].Torso.CanCollide = Clip
  8295. workspace[Name].Head.CanCollide = Clip
  8296. end)
  8297. end)
  8298.  
  8299. addcmd('clip','clip',{},
  8300. function(args, speaker)
  8301. Notify('Noclip disabled')
  8302. Clip = true
  8303. end)
  8304.  
  8305. addcmd('prefix','changes prefix',{},
  8306. function(args, speaker)
  8307. cmdprefix = args[1]
  8308. Notify('Set prefix to "' .. args[1] .. '"')
  8309. end)
  8310.  
  8311. addcmd('respawn','respawns',{},
  8312. function(args, speaker)
  8313. local players = getPlayer(args[1], speaker)
  8314. for i,v in pairs(players) do
  8315. respawn(gPlayers[v])
  8316. end
  8317. end)
  8318.  
  8319. addcmd('version','shows version',{''},
  8320. function(args, speaker)
  8321. if speaker.userId ~= LP.userId then
  8322. lponly(speaker)
  8323. else
  8324. Notify("Version is " .. Version)
  8325. end
  8326. end)
  8327. local CTPenabled = false
  8328. Mouse.KeyDown:connect(function (Key)
  8329. if Key:byte() == 29 then
  8330. if FLYING == false then
  8331. execCmd("fly me", Player)
  8332. elseif FLYING == true then
  8333. execCmd("unfly me", Player)
  8334. end
  8335. end
  8336. if Key:byte() == 30 then
  8337. if Clip == true then
  8338. execCmd("noclip", Player)
  8339. elseif Clip == false then
  8340. execCmd("clip", Player)
  8341. end
  8342. end
  8343. Key = Key:lower()
  8344. if Key:byte() == 27 then
  8345. CTPenabled = true
  8346. end
  8347. end)
  8348. Mouse.KeyUp:connect(function(Key)
  8349. Key = Key:lower()
  8350. if Key:byte() == 27 then
  8351. CTPenabled = false
  8352. end
  8353. end)
  8354. Mouse.Button1Down:connect(function()
  8355. local charx = gPlayers.LocalPlayer.Character
  8356. if charx and CTPenabled == true then
  8357. charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
  8358. end
  8359. end)
  8360. -------------------
  8361. ----Command bar----
  8362. -------------------
  8363. cmdbarbind = ";"
  8364. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  8365. CMDbar.Name = 'GUI'
  8366. CMDbar.DisplayOrder = 2
  8367. cont = Instance.new("Frame")
  8368. cmdBAR = Instance.new('TextBox', cont)
  8369. cont.Name = "cont"
  8370. cont.BackgroundTransparency = 1
  8371. cont.Position = UDim2.new(1, -265, 0, -75)
  8372. cont.Size = UDim2.new(0, 270, 0, 45)
  8373. cont.Parent = CMDbar
  8374. cont.ZIndex = 5
  8375. cont.Active = true cont.Draggable = true
  8376. cmdBAR.Name = "CMDbar"
  8377. cmdBAR.Parent = cont
  8378. cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8379. cmdBAR.BackgroundTransparency = 0.7
  8380. cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  8381. cmdBAR.BorderSizePixel = 0
  8382. cmdBAR.Position = UDim2.new(0, 10, 1, -35)
  8383. cmdBAR.Size = UDim2.new(0, 250, 0, 25)
  8384. cmdBAR.Font = Enum.Font.SourceSans
  8385. cmdBAR.FontSize = Enum.FontSize.Size18
  8386. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  8387. cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  8388. cmdBAR.ZIndex = 5
  8389. -------------------
  8390. ----Data Folder----
  8391. -------------------
  8392. DATA = Instance.new('Folder', game.ContextActionService)
  8393. DATA.Name = 'Data'
  8394.  
  8395. Paper = Instance.new('BlockMesh', DATA)
  8396. Paper.Name = 'Paper'
  8397. Paper.Scale = Vector3.new(1,1,0.1)
  8398.  
  8399. ayylmao = Instance.new('Hat', DATA)
  8400. ayylmao.Name = 'ayylmao'
  8401. ayyHandle = Instance.new('Part', ayylmao)
  8402. ayyHandle.Name = 'Handle'
  8403. ayyHandle.Size = Vector3.new(2,2.4,2)
  8404. ayyHandle.FormFactor = 'Plate'
  8405. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  8406. ayyMesh.Scale = Vector3.new(1,1.02,1)
  8407. ayyMesh.MeshType = 'FileMesh'
  8408. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  8409. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  8410.  
  8411. Float = Instance.new('Part', DATA)
  8412. Float.Name = 'Float'
  8413. Float.Transparency = 1
  8414. Float.Size = Vector3.new(6,1,6)
  8415. Float.Anchored = true
  8416.  
  8417. function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
  8418. missile = Instance.new('Part', DATA)
  8419. missile.Name = 'IY_missile'
  8420. missile.CanCollide = false
  8421. missile.Size = Vector3.new(2, 5, 2)
  8422. Instance.new('CylinderMesh', missile)
  8423. local F = Instance.new('Part', missile)
  8424. F.BrickColor = BrickColor.new('Black')
  8425. F.CanCollide = false
  8426. F.Size = Vector3.new(2, 0.2, 2)
  8427. Instance.new('CylinderMesh', F)
  8428. local fire = Instance.new('Fire', F)
  8429. fire.Size = "15"
  8430. fire.Heat = "25"
  8431. local head = Instance.new('Part', missile)
  8432. head.CanCollide = false
  8433. head.Shape = 'Ball'
  8434. head.Size = Vector3.new(2, 2, 2)
  8435. head.TopSurface = 'Smooth'
  8436. head.BottomSurface = 'Smooth'
  8437. local BF = Instance.new('BodyForce', missile)
  8438. BF.Name = 'force'
  8439. BF.Force = Vector3.new(0, 0, 0)
  8440. local W1 = Instance.new('Weld', missile)
  8441. W1.Part0 = missile
  8442. W1.Part1 = F
  8443. W1.C1 = CFrame.new(0, 2.6, 0)
  8444. local W2 = Instance.new('Weld', missile)
  8445. W2.Part0 = missile
  8446. W2.Part1 = head
  8447. W2.C1 = CFrame.new(0, -2.6, 0)
  8448. ------------------------------
  8449. ---Commands/Settings Window---
  8450. ------------------------------
  8451. cp = Instance.new('ScreenGui', DATA)
  8452. local Frame = Instance.new("Frame")
  8453. local holder = Instance.new("Frame")
  8454. local bar = Instance.new("Frame")
  8455. local cmdss = Instance.new("TextButton")
  8456. local settings = Instance.new("TextButton")
  8457. local Hide = Instance.new("TextButton")
  8458. local Exit = Instance.new("TextButton")
  8459. local FeedbackMain = Instance.new("Frame")
  8460. local Title = Instance.new("TextLabel")
  8461. local checkboxText = Instance.new("TextLabel")
  8462. local CheckBox = Instance.new("ImageButton")
  8463. local bindInput = Instance.new("TextButton")
  8464. Input = Instance.new("TextBox")
  8465. local preText = Instance.new("TextLabel")
  8466. local setpre = Instance.new("TextButton")
  8467. local everyone = Instance.new("TextButton")
  8468. local JLtext = Instance.new("TextLabel")
  8469. local CheckBoxJL = Instance.new("ImageButton")
  8470. local friends = Instance.new("TextButton")
  8471. local InputBox = Instance.new("TextButton")
  8472. Input_2 = Instance.new("TextBox")
  8473. local MTText = Instance.new("TextLabel")
  8474. local setMT = Instance.new("TextButton")
  8475. local CheckBoxS = Instance.new("ImageButton")
  8476. local slocktext = Instance.new("TextLabel")
  8477. local barBind = Instance.new("TextLabel")
  8478. local setBind = Instance.new("TextButton")
  8479. local MtimeInput = Instance.new("TextButton")
  8480. Input_3 = Instance.new("TextBox")
  8481. local size = Instance.new("Frame")
  8482. local MAIN = Instance.new("Frame")
  8483. local Title_2 = Instance.new("TextLabel")
  8484. local Examplee = Instance.new("TextLabel")
  8485. local Search = Instance.new("TextBox")
  8486. local CMDss = Instance.new("ScrollingFrame")
  8487. cp.Name = "cp"
  8488. Frame.Parent = cp
  8489. Frame.Active = true
  8490. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  8491. Frame.BackgroundTransparency = 1
  8492. Frame.Draggable = true
  8493. Frame.Position = UDim2.new(1, -300, 1, -330)
  8494. Frame.Size = UDim2.new(0, 300, 0, 40)
  8495. holder.Name = "holder"
  8496. holder.Parent = Frame
  8497. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  8498. holder.BackgroundTransparency = 1
  8499. holder.BorderSizePixel = 2
  8500. holder.ClipsDescendants = true
  8501. holder.Size = UDim2.new(0, 300, 0, 330)
  8502. holder.ZIndex = 2
  8503. bar.Name = "bar"
  8504. bar.Parent = holder
  8505. bar.BackgroundColor3 = Color3.new(1, 1, 1)
  8506. bar.Position = UDim2.new(1, -300, 1, -330)
  8507. bar.Size = UDim2.new(0, 300, 0, 40)
  8508. bar.Style = Enum.FrameStyle.DropShadow
  8509. cmdss.Name = "cmds"
  8510. cmdss.Parent = bar
  8511. cmdss.BackgroundColor3 = Color3.new(0, 0, 0)
  8512. cmdss.BackgroundTransparency = 0.80000001192093
  8513. cmdss.BorderColor3 = Color3.new(1, 1, 1)
  8514. cmdss.Position = UDim2.new(0, 0, 0, 1)
  8515. cmdss.Size = UDim2.new(0, 70, 0, 20)
  8516. cmdss.Font = Enum.Font.SourceSans
  8517. cmdss.FontSize = Enum.FontSize.Size14
  8518. cmdss.Text = "Commands"
  8519. cmdss.TextColor3 = Color3.new(1, 1, 1)
  8520. settings.Name = "settings"
  8521. settings.Parent = bar
  8522. settings.BackgroundColor3 = Color3.new(0, 0, 0)
  8523. settings.BackgroundTransparency = 0.80000001192093
  8524. settings.BorderColor3 = Color3.new(1, 1, 1)
  8525. settings.Position = UDim2.new(0, 75, 0, 1)
  8526. settings.Size = UDim2.new(0, 70, 0, 20)
  8527. settings.Font = Enum.Font.SourceSans
  8528. settings.FontSize = Enum.FontSize.Size14
  8529. settings.Text = "Settings"
  8530. settings.TextColor3 = Color3.new(1, 1, 1)
  8531. Hide.Name = "Hide"
  8532. Hide.Parent = bar
  8533. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  8534. Hide.BackgroundTransparency = 0.30000001192093
  8535. Hide.BorderColor3 = Color3.new(1, 1, 1)
  8536. Hide.Position = UDim2.new(0, 240, 0, 1)
  8537. Hide.Size = UDim2.new(0, 20, 0, 20)
  8538. Hide.FontSize = Enum.FontSize.Size14
  8539. Hide.Text = ""
  8540. Exit.Name = "Exit"
  8541. Exit.Parent = bar
  8542. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  8543. Exit.BackgroundTransparency = 0.30000001192093
  8544. Exit.BorderColor3 = Color3.new(1, 0, 0)
  8545. Exit.Position = UDim2.new(0, 264, 0, 1)
  8546. Exit.Size = UDim2.new(0, 20, 0, 20)
  8547. Exit.FontSize = Enum.FontSize.Size14
  8548. Exit.Text = ""
  8549. FeedbackMain.Name = "FeedbackMain"
  8550. FeedbackMain.Parent = holder
  8551. FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1)
  8552. FeedbackMain.Position = UDim2.new(1, -300, 1, -300)
  8553. FeedbackMain.Size = UDim2.new(0, 300, 0, 290)
  8554. FeedbackMain.Style = Enum.FrameStyle.DropShadow
  8555. Title.Name = "Title"
  8556. Title.Parent = FeedbackMain
  8557. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  8558. Title.BackgroundTransparency = 1
  8559. Title.Size = UDim2.new(1, 0, 0, 30)
  8560. Title.Font = Enum.Font.SourceSansBold
  8561. Title.FontSize = Enum.FontSize.Size24
  8562. Title.Text = "Settings"
  8563. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8564. checkboxText.Name = "checkboxText"
  8565. checkboxText.Parent = FeedbackMain
  8566. checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
  8567. checkboxText.BackgroundTransparency = 1
  8568. checkboxText.Position = UDim2.new(0, 0, 0, 40)
  8569. checkboxText.Size = UDim2.new(1, 0, 0, 30)
  8570. checkboxText.Font = Enum.Font.SourceSansBold
  8571. checkboxText.FontSize = Enum.FontSize.Size18
  8572. checkboxText.Text = "Suggestions"
  8573. checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8574. CheckBox.Name = "CheckBox"
  8575. CheckBox.Parent = FeedbackMain
  8576. CheckBox.BackgroundTransparency = 1
  8577. CheckBox.Position = UDim2.new(0, 10, 0, 40)
  8578. CheckBox.Size = UDim2.new(0, 30, 0, 30)
  8579. CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
  8580. bindInput.Name = "bindInput"
  8581. bindInput.Parent = FeedbackMain
  8582. bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
  8583. bindInput.Position = UDim2.new(0, 8, 0, 241)
  8584. bindInput.Size = UDim2.new(0, 30, 0, 30)
  8585. bindInput.AutoButtonColor = false
  8586. bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8587. bindInput.Font = Enum.Font.SourceSans
  8588. bindInput.FontSize = Enum.FontSize.Size14
  8589. bindInput.Text = ""
  8590. Input.Name = "Input"
  8591. Input.Parent = bindInput
  8592. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  8593. Input.BackgroundTransparency = 1
  8594. Input.Position = UDim2.new(0, -8, 0, -8)
  8595. Input.Size = UDim2.new(0, 20, 0, 20)
  8596. Input.Font = Enum.Font.SourceSansBold
  8597. Input.FontSize = Enum.FontSize.Size18
  8598. Input.MultiLine = true
  8599. Input.Text = cmdbarbind
  8600. Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  8601. Input.TextWrapped = true
  8602. Input.TextXAlignment = Enum.TextXAlignment.Center
  8603. Input.TextYAlignment = Enum.TextYAlignment.Top
  8604. preText.Name = "preText"
  8605. preText.Parent = FeedbackMain
  8606. preText.BackgroundColor3 = Color3.new(1, 1, 1)
  8607. preText.BackgroundTransparency = 1
  8608. preText.Position = UDim2.new(0, 0, 0, 118)
  8609. preText.Size = UDim2.new(1, 0, 0, 30)
  8610. preText.Font = Enum.Font.SourceSansBold
  8611. preText.FontSize = Enum.FontSize.Size18
  8612. preText.Text = "Prefix"
  8613. preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8614. setpre.Name = "setpre"
  8615. setpre.Parent = FeedbackMain
  8616. setpre.BackgroundColor3 = Color3.new(1, 1, 1)
  8617. setpre.BorderSizePixel = 5
  8618. setpre.Position = UDim2.new(0, 235, 0, 120)
  8619. setpre.Size = UDim2.new(0, 40, 0, 25)
  8620. setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8621. setpre.Font = Enum.Font.ArialBold
  8622. setpre.FontSize = Enum.FontSize.Size18
  8623. setpre.Text = "Set"
  8624. everyone.Name = "everyone"
  8625. everyone.Parent = FeedbackMain
  8626. everyone.BackgroundColor3 = Color3.new(0, 0, 0)
  8627. everyone.BackgroundTransparency = 0.80000001192093
  8628. everyone.BorderColor3 = Color3.new(0, 0, 0)
  8629. everyone.Position = UDim2.new(0, 230, 0, 217)
  8630. everyone.Size = UDim2.new(0, 50, 0, 20)
  8631. everyone.Font = Enum.Font.SourceSans
  8632. everyone.FontSize = Enum.FontSize.Size14
  8633. everyone.Text = "Everyone"
  8634. everyone.TextColor3 = Color3.new(1, 1, 1)
  8635. JLtext.Name = "JLtext"
  8636. JLtext.Parent = FeedbackMain
  8637. JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
  8638. JLtext.BackgroundTransparency = 1
  8639. JLtext.Position = UDim2.new(0, 0, 0, 197)
  8640. JLtext.Size = UDim2.new(1, 0, 0, 30)
  8641. JLtext.Font = Enum.Font.SourceSansBold
  8642. JLtext.FontSize = Enum.FontSize.Size14
  8643. JLtext.Text = "Joined / Left Notifications"
  8644. JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8645. CheckBoxJL.Name = "CheckBoxJL"
  8646. CheckBoxJL.Parent = FeedbackMain
  8647. CheckBoxJL.BackgroundTransparency = 1
  8648. CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
  8649. CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
  8650. CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
  8651. friends.Name = "friends"
  8652. friends.Parent = FeedbackMain
  8653. friends.BackgroundColor3 = Color3.new(0, 0, 0)
  8654. friends.BackgroundTransparency = 0.80000001192093
  8655. friends.BorderColor3 = Color3.new(1, 1, 1)
  8656. friends.Position = UDim2.new(0, 230, 0, 192)
  8657. friends.Size = UDim2.new(0, 50, 0, 20)
  8658. friends.Font = Enum.Font.SourceSans
  8659. friends.FontSize = Enum.FontSize.Size14
  8660. friends.Text = "Friends"
  8661. friends.TextColor3 = Color3.new(1, 1, 1)
  8662. InputBox.Name = "InputBox"
  8663. InputBox.Parent = FeedbackMain
  8664. InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
  8665. InputBox.Position = UDim2.new(0, 8, 0, 120)
  8666. InputBox.Size = UDim2.new(0, 30, 0, 30)
  8667. InputBox.AutoButtonColor = false
  8668. InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8669. InputBox.Font = Enum.Font.SourceSans
  8670. InputBox.FontSize = Enum.FontSize.Size14
  8671. InputBox.Text = ""
  8672. Input_2.Name = "Input"
  8673. Input_2.Parent = InputBox
  8674. Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
  8675. Input_2.BackgroundTransparency = 1
  8676. Input_2.Position = UDim2.new(0, -8, 0, -8)
  8677. Input_2.Size = UDim2.new(0, 20, 0, 20)
  8678. Input_2.Font = Enum.Font.SourceSansBold
  8679. Input_2.FontSize = Enum.FontSize.Size18
  8680. Input_2.MultiLine = true
  8681. Input_2.Text = cmdprefix
  8682. Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  8683. Input_2.TextWrapped = true
  8684. Input_2.TextXAlignment = Enum.TextXAlignment.Center
  8685. Input_2.TextYAlignment = Enum.TextYAlignment.Top
  8686. MTText.Name = "MTText"
  8687. MTText.Parent = FeedbackMain
  8688. MTText.BackgroundColor3 = Color3.new(1, 1, 1)
  8689. MTText.BackgroundTransparency = 1
  8690. MTText.Position = UDim2.new(0, 0, 0, 158)
  8691. MTText.Size = UDim2.new(1, 0, 0, 30)
  8692. MTText.Font = Enum.Font.SourceSansBold
  8693. MTText.FontSize = Enum.FontSize.Size18
  8694. MTText.Text = "Message Seconds"
  8695. MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8696. setMT.Name = "setMT"
  8697. setMT.Parent = FeedbackMain
  8698. setMT.BackgroundColor3 = Color3.new(1, 1, 1)
  8699. setMT.BorderSizePixel = 5
  8700. setMT.Position = UDim2.new(0, 235, 0, 159)
  8701. setMT.Size = UDim2.new(0, 40, 0, 25)
  8702. setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8703. setMT.Font = Enum.Font.ArialBold
  8704. setMT.FontSize = Enum.FontSize.Size18
  8705. setMT.Text = "Set"
  8706. CheckBoxS.Name = "CheckBoxS"
  8707. CheckBoxS.Parent = FeedbackMain
  8708. CheckBoxS.BackgroundTransparency = 1
  8709. CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
  8710. CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
  8711. CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
  8712. slocktext.Name = "slocktext"
  8713. slocktext.Parent = FeedbackMain
  8714. slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
  8715. slocktext.BackgroundTransparency = 1
  8716. slocktext.Position = UDim2.new(0, 0, 0, 79)
  8717. slocktext.Size = UDim2.new(1, 0, 0, 30)
  8718. slocktext.Font = Enum.Font.SourceSansBold
  8719. slocktext.FontSize = Enum.FontSize.Size14
  8720. slocktext.Text = "Allow Friends On Serverlock"
  8721. slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8722. barBind.Name = "barBind"
  8723. barBind.Parent = FeedbackMain
  8724. barBind.BackgroundColor3 = Color3.new(1, 1, 1)
  8725. barBind.BackgroundTransparency = 1
  8726. barBind.Position = UDim2.new(0, 0, 0, 242)
  8727. barBind.Size = UDim2.new(1, 0, 0, 30)
  8728. barBind.Font = Enum.Font.SourceSansBold
  8729. barBind.FontSize = Enum.FontSize.Size18
  8730. barBind.Text = "Command Bar Keybind"
  8731. barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8732. setBind.Name = "setBind"
  8733. setBind.Parent = FeedbackMain
  8734. setBind.BackgroundColor3 = Color3.new(1, 1, 1)
  8735. setBind.BorderSizePixel = 5
  8736. setBind.Position = UDim2.new(0, 235, 0, 245)
  8737. setBind.Size = UDim2.new(0, 40, 0, 25)
  8738. setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8739. setBind.Font = Enum.Font.ArialBold
  8740. setBind.FontSize = Enum.FontSize.Size18
  8741. setBind.Text = "Set"
  8742. MtimeInput.Name = "MtimeInput"
  8743. MtimeInput.Parent = FeedbackMain
  8744. MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
  8745. MtimeInput.Position = UDim2.new(0, 8, 0, 159)
  8746. MtimeInput.Size = UDim2.new(0, 30, 0, 30)
  8747. MtimeInput.AutoButtonColor = false
  8748. MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  8749. MtimeInput.Font = Enum.Font.SourceSans
  8750. MtimeInput.FontSize = Enum.FontSize.Size14
  8751. MtimeInput.Text = ""
  8752. Input_3.Name = "Input"
  8753. Input_3.Parent = MtimeInput
  8754. Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
  8755. Input_3.BackgroundTransparency = 1
  8756. Input_3.Position = UDim2.new(0, -8, 0, -8)
  8757. Input_3.Size = UDim2.new(0, 20, 0, 20)
  8758. Input_3.Font = Enum.Font.SourceSansBold
  8759. Input_3.FontSize = Enum.FontSize.Size18
  8760. Input_3.MultiLine = true
  8761. Input_3.Text = Mseconds
  8762. Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  8763. Input_3.TextWrapped = true
  8764. Input_3.TextXAlignment = Enum.TextXAlignment.Center
  8765. Input_3.TextYAlignment = Enum.TextYAlignment.Top
  8766. size.Name = "size"
  8767. size.Parent = holder
  8768. size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  8769. size.BackgroundTransparency = 1
  8770. size.Position = UDim2.new(1, -600, 1, -300)
  8771. size.Size = UDim2.new(0, 275, 0, 300)
  8772. size.ZIndex = 2
  8773. MAIN.Name = "MAIN"
  8774. MAIN.Parent = size
  8775. MAIN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  8776. MAIN.Position = UDim2.new(0, 1, 1, -300)
  8777. MAIN.Size = UDim2.new(0, 300, 0, 300)
  8778. MAIN.Style = Enum.FrameStyle.DropShadow
  8779. Title_2.Name = "Title"
  8780. Title_2.Parent = MAIN
  8781. Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  8782. Title_2.BackgroundTransparency = 1
  8783. Title_2.Size = UDim2.new(1, 0, 0, 30)
  8784. Title_2.Font = Enum.Font.SourceSansBold
  8785. Title_2.FontSize = Enum.FontSize.Size24
  8786. Title_2.Text = "Commands"
  8787. Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  8788. Examplee.Name = "Example"
  8789. Examplee.Parent = MAIN
  8790. Examplee.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8791. Examplee.BackgroundTransparency = 1
  8792. Examplee.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8793. Examplee.BorderSizePixel = 0
  8794. Examplee.Size = UDim2.new(0, 190, 0, 20)
  8795. Examplee.Visible = false
  8796. Examplee.Font = Enum.Font.SourceSansBold
  8797. Examplee.FontSize = Enum.FontSize.Size24
  8798. Examplee.Text = "txt"
  8799. Examplee.TextStrokeTransparency = 0
  8800. Examplee.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  8801. Examplee.TextXAlignment = Enum.TextXAlignment.Left
  8802. Search.Name = "Search"
  8803. Search.Parent = MAIN
  8804. Search.BackgroundColor3 = Color3.new(0, 0, 0)
  8805. Search.BackgroundTransparency = 0.69999998807907
  8806. Search.BorderColor3 = Color3.new(1, 1, 1)
  8807. Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
  8808. Search.Size = UDim2.new(0, 250, 0, 20)
  8809. Search.ClearTextOnFocus = false
  8810. Search.Font = Enum.Font.SourceSansBold
  8811. Search.FontSize = Enum.FontSize.Size18
  8812. Search.Text = "Search"
  8813. Search.TextColor3 = Color3.new(1, 1, 1)
  8814. Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  8815. Search.TextStrokeTransparency = 0
  8816. CMDss.Name = "CMDs"
  8817. CMDss.Parent = MAIN
  8818. CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8819. CMDss.BackgroundTransparency = 1
  8820. CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8821. CMDss.BorderSizePixel = 0
  8822. CMDss.Position = UDim2.new(0, 0, 0, 55)
  8823. CMDss.Size = UDim2.new(0, 285, 0, 230)
  8824. CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
  8825. CMDss.CanvasSize = UDim2.new(0, 0, 0, 4000)
  8826. CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
  8827. CMDss.ScrollBarThickness = 8
  8828. CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
  8829.  
  8830. --notify
  8831. notifyMAIN = Instance.new('ScreenGui', DATA)
  8832. notifyMAIN.Name = 'Notification'
  8833. notifyNOT = Instance.new('Frame', notifyMAIN)
  8834. notifyNOT.Name = 'NOTIFY'
  8835. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  8836. notifyNOT.BackgroundTransparency = 1
  8837. notifyNOT.BorderColor = BrickColor.new(0,0,0)
  8838. notifyNOT.BorderSizePixel = 2
  8839. notifyNOT.Position = UDim2.new(0,0,-0.06,0)
  8840. notifyNOT.Size = UDim2.new(1,0,0,-40)
  8841. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  8842. notifyNOTE.Name = 'NOTE'
  8843. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  8844. notifyNOTE.BackgroundTransparency = 1
  8845. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  8846. notifyNOTE.BorderSizePixel = 0
  8847. notifyNOTE.Size = UDim2.new(1,0,1,0)
  8848. notifyNOTE.ZIndex = 4
  8849. notifyNOTE.FontSize = 'Size18'
  8850. notifyNOTE.Font = 'SourceSansBold'
  8851. notifyNOTE.Text = 'NOTIFY'
  8852. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  8853. notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
  8854. notifyNOTE.TextStrokeTransparency = 0.8
  8855. --jail
  8856. jail = Instance.new('Model', DATA)
  8857. jail.Name = 'JAIL'
  8858. local B = Instance.new('Part', jail)
  8859. B.Name = 'BUTTOM'
  8860. B.BrickColor = BrickColor.new('Black')
  8861. B.Transparency = 0.5
  8862. B.Anchored = true
  8863. B.Locked = true
  8864. B.Size = Vector3.new(6, 1, 6)
  8865. B.TopSurface = 'Smooth'
  8866. B.BottomSurface = 'Smooth'
  8867. local M = Instance.new('Part', jail)
  8868. M.Name = 'MAIN'
  8869. M.BrickColor = BrickColor.new('Black')
  8870. M.Transparency = 1
  8871. M.Anchored = true
  8872. M.CanCollide = false
  8873. M.Locked = true
  8874. M.Position = B.Position + Vector3.new(0, 3, 0)
  8875. M.Size = Vector3.new(1, 1, 1)
  8876. local P1 = Instance.new('Part', jail)
  8877. P1.BrickColor = BrickColor.new('Black')
  8878. P1.Transparency = 0.5
  8879. P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
  8880. P1.Rotation = Vector3.new(0, 90, 0)
  8881. P1.Anchored = true
  8882. P1.Locked = true
  8883. P1.Size = Vector3.new(1, 6, 6)
  8884. local P2 = Instance.new('Part', jail)
  8885. P2.BrickColor = BrickColor.new('Black')
  8886. P2.Transparency = 0.5
  8887. P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
  8888. P2.Rotation = Vector3.new(-180, 0, -180)
  8889. P2.Anchored = true
  8890. P2.Locked = true
  8891. P2.Size = Vector3.new(1, 6, 4)
  8892. local P3 = Instance.new('Part', jail)
  8893. P3.BrickColor = BrickColor.new('Black')
  8894. P3.Transparency = 0.5
  8895. P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
  8896. P3.Rotation = Vector3.new(0, 0, 0)
  8897. P3.Anchored = true
  8898. P3.Locked = true
  8899. P3.Size = Vector3.new(1, 6, 4)
  8900. local P4 = Instance.new('Part', jail)
  8901. P4.BrickColor = BrickColor.new('Black')
  8902. P4.Transparency = 0.5
  8903. P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
  8904. P4.Rotation = Vector3.new(0, 90, 0)
  8905. P4.Anchored = true
  8906. P4.Locked = true
  8907. P4.Size = Vector3.new(1, 6, 6)
  8908. local TOP = Instance.new('Part', jail)
  8909. TOP.BrickColor = BrickColor.new('Black')
  8910. TOP.Transparency = 0.5
  8911. TOP.Position = B.Position + Vector3.new(0, 7, 0)
  8912. TOP.Rotation = Vector3.new(0, 0, 0)
  8913. TOP.Anchored = true
  8914. TOP.Locked = true
  8915. TOP.Size = Vector3.new(6, 1, 6)
  8916. TOP.TopSurface = 'Smooth'
  8917. TOP.BottomSurface = 'Smooth'
  8918.  
  8919. addcmd('ayylmao','ayy lmao',{'alien'},
  8920. function(args, speaker)
  8921. local players = getPlayer(args[1], speaker)
  8922. for i,v in pairs(players)do
  8923. local pchar = gPlayers[v].Character
  8924. if pchar:FindFirstChild("Shirt") then
  8925. pchar.Shirt:Destroy()
  8926. end
  8927. if pchar:FindFirstChild("Pants") then
  8928. pchar.Pants:Destroy()
  8929. end
  8930. if pchar:FindFirstChild("Shirt Graphic") then
  8931. pchar["Shirt Graphic"].Graphic = ""
  8932. end
  8933. for i,v in pairs(pchar:GetChildren()) do
  8934. if v:IsA("Accessory") then
  8935. v:Destroy()
  8936. end
  8937. end
  8938. local ayylmao = DATA.ayylmao:Clone()
  8939. ayylmao.Parent = pchar
  8940. local BC = pchar["Body Colors"]
  8941. BC.HeadColor = BrickColor.new("Fossil")
  8942. BC.LeftArmColor = BrickColor.new("Fossil")
  8943. BC.LeftLegColor = BrickColor.new("Fossil")
  8944. BC.RightArmColor = BrickColor.new("Fossil")
  8945. BC.RightLegColor = BrickColor.new("Fossil")
  8946. BC.TorsoColor = BrickColor.new("Fossil")
  8947. end
  8948. end)
  8949. ----------------------
  8950. -----Commands GUI-----
  8951. ----------------------
  8952. HKFolder = Instance.new("Folder", game.CoreGui)
  8953. for i,v in pairs(HK) do
  8954. HKValue = Instance.new("StringValue", HKFolder)
  8955. HKValue.Value = v
  8956. HKValue.RobloxLocked = true
  8957. end
  8958. CMDsFolder = Instance.new("Folder", game.CoreGui)
  8959. for i,v in pairs(CMDs) do
  8960. CMDsValue = Instance.new("StringValue", CMDsFolder)
  8961. CMDsValue.Value = v
  8962. CMDsValue.RobloxLocked = true
  8963. end
  8964. cmdOpen = false
  8965. local function commands()
  8966. if cmdOpen == false then
  8967. cmdOpen = true
  8968. local cmds = cp:Clone()
  8969. cmds.Parent = game.CoreGui
  8970. local HKV = HKFolder:GetChildren()
  8971. local CMDsV = CMDsFolder:GetChildren()
  8972. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.01,true) wait(0.01)
  8973. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quad",0.2,true) wait(0.1)
  8974. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true)
  8975. SettingsGUI = game.CoreGui.cp.Frame.holder if MODE == 1 then
  8976. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8977. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif MODE == 2 then
  8978. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8979. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8980. end
  8981. --joined/left friend option
  8982. gPlayers.PlayerAdded:connect(playerAdded)
  8983. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
  8984. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8985. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  8986. end)
  8987. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
  8988. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8989. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8990. end)
  8991. gPlayers.PlayerRemoving:connect(PlayerRemoving)
  8992. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
  8993. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8994. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  8995. end)
  8996. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
  8997. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8998. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8999. end)
  9000. --Message time
  9001. SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
  9002. wait()
  9003. Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
  9004. Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
  9005. end)
  9006. --CMDBAR keybind
  9007. SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
  9008. wait()
  9009. cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
  9010. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  9011. Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
  9012. end)
  9013. --Change prefix
  9014. SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
  9015. wait()
  9016. cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
  9017. Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
  9018. end)
  9019. --Check Box for notify
  9020. checked = "http://www.roblox.com/asset/?id=65492641"
  9021. unchecked = "http://www.roblox.com/asset/?id=65492651"
  9022. if suggestionstoggle == true then
  9023. SettingsGUI.FeedbackMain.CheckBox.Image = checked else
  9024. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
  9025. SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
  9026. if suggestionstoggle == true then suggestionstoggle = false
  9027. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
  9028. suggestionstoggle = true
  9029. SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
  9030. --Check Box for allow friends on serverlock
  9031. checked2 = "http://www.roblox.com/asset/?id=65492641"
  9032. unchecked2 = "http://www.roblox.com/asset/?id=65492651"
  9033. if allowfriends == true then
  9034. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
  9035. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
  9036. SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
  9037. if allowfriends == true then allowfriends = false
  9038. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
  9039. allowfriends = true
  9040. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
  9041. --Check Box for JoinedLeft notifications
  9042. checked3 = "http://www.roblox.com/asset/?id=65492641"
  9043. unchecked3 = "http://www.roblox.com/asset/?id=65492651"
  9044. if JLnotify == true then
  9045. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
  9046. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
  9047. SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
  9048. if JLnotify == true then JLnotify = false MODE = -1
  9049. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true
  9050. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 MODE = 1
  9051. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  9052. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) closed = false
  9053. cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() closed = false
  9054. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quad",0.2,true) wait(0.1)
  9055. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  9056. cmds.Frame.holder.bar.Hide.Visible = true
  9057. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  9058. cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() closed = false
  9059. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true) wait(0.1)
  9060. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quad",0.2,true) wait(0.2)
  9061. cmds.Frame.holder.bar.Hide.Visible = true
  9062. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end)
  9063. cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
  9064. if closed == false then closed = true
  9065. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quad",0.2,true)
  9066. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-640),"Out","Quad",0.2,true) wait(0.2)
  9067. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quad",0.2,true) wait(0.2)
  9068. cmds.Frame.holder.bar.Hide.Visible = false end end)
  9069. cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() closed = false
  9070. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  9071. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quad",0.2,true) wait(0.3)
  9072. cmds:Destroy() cmdOpen = false end)
  9073. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quad",0.2,true)
  9074. searchbar()
  9075. for i = 1, #HKV do
  9076. local YSize = 25
  9077. local Position = ((i * YSize) - YSize)
  9078. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  9079. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  9080. newcmd.Visible = true
  9081. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  9082. newcmd.Text = "" .. HKV[i].Value
  9083. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  9084. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  9085. end
  9086. for i = 1, #CMDsV do
  9087. local YSize = 25
  9088. local Position = ((i * YSize) - YSize)
  9089. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  9090. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  9091. newcmd.Visible = true
  9092. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  9093. newcmd.Text = "" .. CMDsV[i].Value
  9094. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  9095. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  9096. end
  9097. else closed = false
  9098. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quad",0.2,true) wait(0.1)
  9099. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quad",0.2,true) wait(0.2)
  9100. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  9101. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true) end end
  9102. function searchbar()
  9103. local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
  9104. local main = CSP
  9105. local frame = CSP:WaitForChild('CMDs')
  9106. local gui = CSP:WaitForChild('Search')
  9107. local focused = false
  9108. Match = function(name,str)
  9109. return name:lower():find(str:lower()) and true
  9110. end
  9111. gui.FocusLost:connect(function(enterpressed)
  9112. gui.Text = "Search"
  9113. end)
  9114. IndexContents = function(str,bool)
  9115. local Index,SizeY = 0,0
  9116. for i,v in next, frame:GetChildren() do
  9117. if bool then
  9118. if Match(v.Text,str) then
  9119. Index = Index + 1
  9120. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  9121. v.Visible = true
  9122. SizeY = SizeY + v.AbsoluteSize.Y
  9123. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  9124. else
  9125. v.Visible = false
  9126. end
  9127. else
  9128. v.Visible = true
  9129. SizeY = SizeY + v.AbsoluteSize.Y
  9130. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  9131. end
  9132. end
  9133. end
  9134. game:GetService('RunService').Stepped:connect(function()
  9135. if gui:IsFocused() and gui.Text == "Search" then
  9136. gui.Text = ''
  9137. end
  9138. end)
  9139. gui.Changed:connect(function()
  9140. if gui:IsFocused() then IndexContents(gui.Text,true) end
  9141. end)
  9142.  
  9143. IndexContents('',true)
  9144. end
  9145.  
  9146. addcmd('settings','opens settings window',{'toggles'},
  9147. function(args, speaker)
  9148. if speaker.userId ~= LP.userId then
  9149. lponly(speaker)
  9150. else
  9151. commands()
  9152. searchbar()
  9153. wait(0.1)
  9154. closed = false
  9155. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quad",0.2,true)
  9156. wait(0.1)
  9157. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quad",0.2,true)
  9158. wait(0.1)
  9159. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  9160. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quad",0.2,true)
  9161. end
  9162. end)
  9163.  
  9164. function movetab(speaker,PART)
  9165. game:GetService('RunService').Stepped:connect(function()
  9166. if PART ~= nil and speaker ~= nil and speaker.Character:FindFirstChild('HumanoidRootPart') then
  9167. PART.Locked = true
  9168. local cf = speaker.Character.HumanoidRootPart.CFrame
  9169. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  9170. PART.CFrame = newcf end end) end
  9171.  
  9172. hastab = {}
  9173. addcmd('tablet','opens tablet gui',{},
  9174. function(args, speaker)
  9175. for _, child in pairs( workspace:GetChildren()) do
  9176. if child.Name == speaker.Name .. "TAB" then
  9177. child:Destroy() end end
  9178. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  9179. local GUI = Instance.new("SurfaceGui")
  9180. local holder = Instance.new("Frame")
  9181. local bar = Instance.new("Frame")
  9182. local Title = Instance.new("TextLabel")
  9183. local MAIN = Instance.new("Frame")
  9184. local Example = Instance.new("TextLabel")
  9185. local CMDs = Instance.new("ScrollingFrame")
  9186. local PART = Instance.new("Part")
  9187. PART.Name = speaker.Name .. 'TAB'
  9188. PART.Color = Color3.new(0,0,0)
  9189. PART.Size = Vector3.new(7, 7.8, 0.2)
  9190. PART.Transparency = 0
  9191. PART.Locked = true
  9192. PART.CanCollide = false
  9193. PART.Parent = workspace
  9194. PART.Anchored = true
  9195. GUI.Name = "GUI"
  9196. GUI.Parent = PART
  9197. GUI.CanvasSize = Vector2.new(500, 600)
  9198. GUI.Face = "Back"
  9199. holder.Name = "holder"
  9200. holder.Parent = GUI
  9201. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  9202. holder.BackgroundTransparency = 1
  9203. holder.BorderSizePixel = 2
  9204. holder.Position = UDim2.new(0, 0, 0, 10)
  9205. holder.Size = UDim2.new(0, 300, 0, 330)
  9206. holder.ZIndex = 2
  9207. bar.Name = "bar"
  9208. bar.Parent = holder
  9209. bar.BackgroundColor3 = Color3.new(1, 1, 1)
  9210. bar.Position = UDim2.new(1, -299, 1, -340)
  9211. bar.Size = UDim2.new(0, 500, 0, 50)
  9212. bar.Style = Enum.FrameStyle.DropShadow
  9213. Title.Name = "Title"
  9214. Title.Parent = bar
  9215. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9216. Title.BackgroundTransparency = 1
  9217. Title.Size = UDim2.new(1, 0, 0, 30)
  9218. Title.Font = Enum.Font.SourceSansBold
  9219. Title.FontSize = Enum.FontSize.Size24
  9220. Title.Text = "[Infinite Yield] Command List"
  9221. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9222. MAIN.Name = "MAIN"
  9223. MAIN.Parent = holder
  9224. MAIN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9225. MAIN.Position = UDim2.new(0, 1, 1, -300)
  9226. MAIN.Size = UDim2.new(0, 500, 0, 560)
  9227. MAIN.Style = Enum.FrameStyle.DropShadow
  9228. Example.Name = "Example"
  9229. Example.Parent = MAIN
  9230. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9231. Example.BackgroundTransparency = 1
  9232. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9233. Example.BorderSizePixel = 0
  9234. Example.Size = UDim2.new(0, 190, 0, 40)
  9235. Example.Visible = false
  9236. Example.Font = Enum.Font.SourceSansBold
  9237. Example.FontSize = Enum.FontSize.Size36
  9238. Example.Text = "txt"
  9239. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  9240. Example.TextStrokeTransparency = 0
  9241. Example.TextXAlignment = Enum.TextXAlignment.Left
  9242. CMDs.Name = "CMDs"
  9243. CMDs.Parent = MAIN
  9244. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9245. CMDs.BackgroundTransparency = 1
  9246. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9247. CMDs.BorderSizePixel = 0
  9248. CMDs.Size = UDim2.new(0, 485, 0, 540)
  9249. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  9250. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  9251. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  9252. CMDs.ScrollBarThickness = 15
  9253. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  9254. local CMDsV = CMDsFolder:GetChildren()
  9255. for i = 1, #CMDsV do
  9256. local YSize = 35
  9257. local Position = ((i * YSize) - YSize)
  9258. local newcmd = Example:Clone()
  9259. newcmd.Parent = CMDs
  9260. newcmd.Visible = true
  9261. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  9262. newcmd.Text = "" .. CMDsV[i].Value
  9263. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  9264. local cf = speaker.Character.HumanoidRootPart.CFrame
  9265. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  9266. PART.CFrame = newcf
  9267. speaker.Character.Humanoid.Died:connect(function()
  9268. PART:Destroy() end)
  9269. wait(1)
  9270. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  9271. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  9272. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  9273. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  9274. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  9275. end)
  9276.  
  9277. addcmd('cmds','opens cmds window',{'commands'},
  9278. function(args, speaker)
  9279. if speaker.userId ~= LP.userId then
  9280. for _, child in pairs( workspace:GetChildren()) do
  9281. if child.Name == speaker.Name .. "TAB" then
  9282. child:Destroy() end end
  9283. game:GetService('Chat'):Chat(speaker.Character, 'The command to close is "'.. cmdprefix .. 'dismiss"', 1)
  9284. local GUI = Instance.new("SurfaceGui")
  9285. local holder = Instance.new("Frame")
  9286. local bar = Instance.new("Frame")
  9287. local Title = Instance.new("TextLabel")
  9288. local MAIN = Instance.new("Frame")
  9289. local Example = Instance.new("TextLabel")
  9290. local CMDs = Instance.new("ScrollingFrame")
  9291. local PART = Instance.new("Part")
  9292. PART.Name = speaker.Name .. 'TAB'
  9293. PART.Color = Color3.new(0,0,0)
  9294. PART.Size = Vector3.new(7, 7.8, 0.2)
  9295. PART.Transparency = 0
  9296. PART.Locked = true
  9297. PART.CanCollide = false
  9298. PART.Parent = workspace
  9299. PART.Anchored = true
  9300. GUI.Name = "GUI"
  9301. GUI.Parent = PART
  9302. GUI.CanvasSize = Vector2.new(500, 600)
  9303. GUI.Face = "Back"
  9304. holder.Name = "holder"
  9305. holder.Parent = GUI
  9306. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  9307. holder.BackgroundTransparency = 1
  9308. holder.BorderSizePixel = 2
  9309. holder.Position = UDim2.new(0, 0, 0, 10)
  9310. holder.Size = UDim2.new(0, 300, 0, 330)
  9311. holder.ZIndex = 2
  9312. bar.Name = "bar"
  9313. bar.Parent = holder
  9314. bar.BackgroundColor3 = Color3.new(1, 1, 1)
  9315. bar.Position = UDim2.new(1, -299, 1, -340)
  9316. bar.Size = UDim2.new(0, 500, 0, 50)
  9317. bar.Style = Enum.FrameStyle.DropShadow
  9318. Title.Name = "Title"
  9319. Title.Parent = bar
  9320. Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9321. Title.BackgroundTransparency = 1
  9322. Title.Size = UDim2.new(1, 0, 0, 30)
  9323. Title.Font = Enum.Font.SourceSansBold
  9324. Title.FontSize = Enum.FontSize.Size24
  9325. Title.Text = "[Infinite Yield] Command List"
  9326. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  9327. MAIN.Name = "MAIN"
  9328. MAIN.Parent = holder
  9329. MAIN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  9330. MAIN.Position = UDim2.new(0, 1, 1, -300)
  9331. MAIN.Size = UDim2.new(0, 500, 0, 560)
  9332. MAIN.Style = Enum.FrameStyle.DropShadow
  9333. Example.Name = "Example"
  9334. Example.Parent = MAIN
  9335. Example.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9336. Example.BackgroundTransparency = 1
  9337. Example.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9338. Example.BorderSizePixel = 0
  9339. Example.Size = UDim2.new(0, 190, 0, 40)
  9340. Example.Visible = false
  9341. Example.Font = Enum.Font.SourceSansBold
  9342. Example.FontSize = Enum.FontSize.Size36
  9343. Example.Text = "txt"
  9344. Example.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  9345. Example.TextStrokeTransparency = 0
  9346. Example.TextXAlignment = Enum.TextXAlignment.Left
  9347. CMDs.Name = "CMDs"
  9348. CMDs.Parent = MAIN
  9349. CMDs.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9350. CMDs.BackgroundTransparency = 1
  9351. CMDs.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  9352. CMDs.BorderSizePixel = 0
  9353. CMDs.Size = UDim2.new(0, 485, 0, 540)
  9354. CMDs.BottomImage = "rbxasset://textures/blackBkg_square.png"
  9355. CMDs.CanvasSize = UDim2.new(0, 0, 0, 4880)
  9356. CMDs.MidImage = "rbxasset://textures/blackBkg_square.png"
  9357. CMDs.ScrollBarThickness = 15
  9358. CMDs.TopImage = "rbxasset://textures/blackBkg_square.png"
  9359. local CMDsV = CMDsFolder:GetChildren()
  9360. for i = 1, #CMDsV do
  9361. local YSize = 35
  9362. local Position = ((i * YSize) - YSize)
  9363. local newcmd = Example:Clone()
  9364. newcmd.Parent = CMDs
  9365. newcmd.Visible = true
  9366. newcmd.Position = UDim2.new(0,10,0, Position + 1)
  9367. newcmd.Text = "" .. CMDsV[i].Value
  9368. CMDs.CanvasSize = UDim2.new(0,0,0, Position + 40) end
  9369. local cf = speaker.Character.HumanoidRootPart.CFrame
  9370. local newcf = cf + cf.lookVector * 6 + Vector3.new(0, 1, 0)
  9371. PART.CFrame = newcf
  9372. speaker.Character.Humanoid.Died:connect(function()
  9373. PART:Destroy() end)
  9374. wait(1)
  9375. PART.Transparency = 0.1 wait(0.05) PART.Transparency = 0.2 wait(0.05)
  9376. PART.Transparency = 0.3 wait(0.05) PART.Transparency = 0.4 wait(0.05)
  9377. PART.Transparency = 0.5 wait(0.05) PART.Transparency = 0.6 wait(0.05)
  9378. if FindTable(hastab, speaker.Name) then movetab(speaker,PART) return end
  9379. table.insert(hastab, speaker.Name) movetab(speaker,PART)
  9380. else
  9381. commands()
  9382. wait(0.2)
  9383. searchbar()
  9384. end
  9385. end)
  9386. cmdBAR.FocusLost:connect(function(enterpressed)
  9387. if enterpressed and cmdBAR.Text ~= "" then
  9388. spawn(function ()
  9389. execCmd(cmdBAR.Text, Player)
  9390. end)
  9391. end
  9392. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  9393. cmdBAR.BorderSizePixel = 1
  9394. wait(0.1)
  9395. cmdBAR.BorderSizePixel = 0
  9396. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  9397. end)
  9398. Mouse.KeyDown:connect(function(Key)
  9399. if (Key==cmdbarbind) then
  9400. cmdBAR:CaptureFocus()
  9401. cmdBAR.BorderSizePixel = 1
  9402. wait(0.1)
  9403. cmdBAR.BorderSizePixel = 2
  9404. end
  9405. end)
  9406. cmdBAR.Changed:connect(function (property)
  9407. if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) end
  9408. end)
  9409. cmdBAR:GetPropertyChangedSignal("Text"):Connect(function()
  9410. local diff = cmdBAR.TextBounds.X-250
  9411. 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)
  9412. end)
  9413. cmdBAR.Focused:Connect(function() historyCount = 0 end)
  9414. game:GetService("UserInputService").InputBegan:Connect(function(input)
  9415. if not cmdBAR:IsFocused() then return end
  9416. if input.KeyCode == Enum.KeyCode.Up then
  9417. historyCount = historyCount + 1
  9418. if historyCount > #cmdHistory then historyCount = #cmdHistory end
  9419. cmdBAR.Text = cmdHistory[historyCount] or ""
  9420. elseif input.KeyCode == Enum.KeyCode.Down then
  9421. historyCount = historyCount - 1
  9422. if historyCount < 1 then historyCount = 1 end
  9423. cmdBAR.Text = cmdHistory[historyCount] or ""
  9424. end
  9425. end)
  9426. NOTIFY = DATA.Notification
  9427. NOTIFY.Parent = game.CoreGui
  9428. local usingNOTE = false
  9429. function Notify(msg)
  9430. spawn(function()
  9431. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  9432. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9433. wait(0.5)
  9434. MusicPlayer:Hide()
  9435. if qopen == true then
  9436. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9437. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9438. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9439. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false
  9440. NOTIFY.NOTIFY.NOTE.Text = msg
  9441. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  9442. if playerenabled == true then
  9443. wait(4)
  9444. if playerenabled == true then
  9445. MusicPlayer:Show()
  9446. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9447. end
  9448. end
  9449. else
  9450. NOTIFY.NOTIFY.NOTE.Text = msg
  9451. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil)
  9452. if playerenabled == true then
  9453. wait(4)
  9454. if playerenabled == true then
  9455. MusicPlayer:Show()
  9456. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9457. end
  9458. end
  9459. end end end) end
  9460. 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
  9461. 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)
  9462. Loading.ZIndex = 101 Loading.Font = Enum.Font.ArialBold Loading.FontSize = Enum.FontSize.Size24 Loading.Text = "Loading GUIs" Loading.TextColor3 = Color3.new(0, 0, 0) Loading.TextStrokeColor3 = Color3.new(1, 1, 1) Loading.TextStrokeTransparency = 0.5
  9463. 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
  9464. 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)
  9465. ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) wait(0.1)
  9466. Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quart", 1, true, nil) wait(0.2)
  9467. commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
  9468. local intro = Instance.new("ScreenGui")
  9469. local Frame = Instance.new("Frame")
  9470. local Circle = Instance.new("ImageLabel")
  9471. local ImageLabel = Instance.new("ImageLabel")
  9472. intro.Name = "intro"
  9473. intro.Parent = game.CoreGui
  9474. Frame.Parent = intro
  9475. Frame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  9476. Frame.BackgroundTransparency = 1
  9477. Frame.BorderSizePixel = 0
  9478. Frame.ClipsDescendants = true
  9479. Frame.Position = UDim2.new(0.5, -125, 0.5, -125)
  9480. Frame.Size = UDim2.new(0, 250, 0, 250)
  9481. Circle.Name = "Circle"
  9482. Circle.Parent = Frame
  9483. Circle.BackgroundColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  9484. Circle.BackgroundTransparency = 1
  9485. Circle.BorderSizePixel = 0
  9486. Circle.Position = UDim2.new(0.5, 0, 0.5, 0)
  9487. Circle.Image = "rbxassetid://631172870"
  9488. Circle.ImageColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  9489. ImageLabel.Parent = Frame
  9490. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  9491. ImageLabel.BackgroundTransparency = 1
  9492. ImageLabel.BorderSizePixel = 0
  9493. ImageLabel.Position = UDim2.new(0.5, 0, 0.5, 0)
  9494. ImageLabel.Image = "rbxassetid://1313192194"
  9495. Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.2)
  9496. local g = intro
  9497. local f = Frame
  9498. local imagef = Circle
  9499. local logof = ImageLabel
  9500. imagef:TweenSizeAndPosition(UDim2.new(3,0,3,0),UDim2.new(-1,0,-1,0), "Out", "Linear", 0.5)
  9501. logof:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0), "Out", "Linear", 0.5)
  9502. repeat wait() until imagef.Size == UDim2.new(3,0,3,0) and logof.Size == UDim2.new(1,0,1,0)
  9503. f:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150), "In", "Quart", 0.5)
  9504. repeat wait() until f.Size == UDim2.new(0,300,0,300)
  9505. f:TweenSizeAndPosition(UDim2.new(0,250,0,250),UDim2.new(0.5,-125,0.5,-125), "Out", "Quart", 0.5)
  9506. repeat wait() until f.Size == UDim2.new(0,250,0,250)
  9507. if workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
  9508. elseif workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
  9509. local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
  9510. local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
  9511. local info = Instance.new("ImageButton") local info_2 = Instance.new("TextLabel") local MAIN = Instance.new("TextLabel") iy.Name = "iy" iy.Parent = game.CoreGui.RobloxGui.TopBarContainer
  9512. 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)
  9513. 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)
  9514. 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)
  9515. 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
  9516. 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
  9517. 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)
  9518. 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)
  9519. settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 220, 0, 0)
  9520. 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
  9521. 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
  9522. 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)
  9523. 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)
  9524. 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)
  9525. 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)
  9526. 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
  9527. 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
  9528. 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)
  9529. 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
  9530. local sugg = Instance.new("ScreenGui") local suggestions = Instance.new("Frame") local Title = Instance.new("TextLabel") local SUG = Instance.new("ScrollingFrame") sugg.Name = "sugg" sugg.Parent = game.CoreGui
  9531. suggestions.Name = "suggestions" suggestions.ClipsDescendants = true suggestions.Parent = sugg suggestions.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) suggestions.Position = UDim2.new(0, 1, 1, -200) suggestions.Size = UDim2.new(0, 300, 0, 200)
  9532. suggestions.Style = Enum.FrameStyle.DropShadow Title.Name = "Title" Title.Parent = suggestions Title.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059) Title.BackgroundTransparency = 1 Title.Size = UDim2.new(1, 0, 0, 30)
  9533. Title.Font = Enum.Font.SourceSansBold Title.FontSize = Enum.FontSize.Size24 Title.Text = "Suggestions" Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392) SUG.Name = "SUG" SUG.Parent = suggestions
  9534. SUG.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BackgroundTransparency = 1 SUG.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667) SUG.BorderSizePixel = 0 SUG.Position = UDim2.new(0, 0, 0, 45)
  9535. SUG.Size = UDim2.new(0, 285, 0, 130) SUG.BottomImage = "rbxasset://textures/blackBkg_square.png" SUG.CanvasSize = UDim2.new(0, 0, 0, 4100) SUG.MidImage = "rbxasset://textures/blackBkg_square.png" SUG.ScrollBarThickness = 8 SUG.TopImage = "rbxasset://textures/blackBkg_square.png"
  9536. local CMDsV = CMDsFolder:GetChildren() for i = 1, #CMDsV do local YSize = 25 local Position = ((i * YSize) - YSize) local newcmd = cp.Frame.holder.size.MAIN.Example:Clone() newcmd.Parent = SUG
  9537. 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
  9538. local CSP2 = game.CoreGui.sugg.suggestions
  9539. local main2 = CSP2
  9540. local frame2 = CSP2:WaitForChild('SUG')
  9541. Match2 = function(name,str) return name:lower():find(str:lower()) and true end
  9542. IndexContents2 = function(str,bool)
  9543. if suggestionstoggle == true then
  9544. if string.find(str, " ") then game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) else
  9545. local Index,SizeY = 0,0
  9546. for i,v in next, frame2:GetChildren() do
  9547. if bool then
  9548. if Match2(v.Text,str) then
  9549. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quad",0.3,true)
  9550. Index = Index + 1
  9551. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  9552. v.Visible = true
  9553. SizeY = SizeY + v.AbsoluteSize.Y
  9554. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else
  9555. v.Visible = true
  9556. SizeY = SizeY + v.AbsoluteSize.Y
  9557. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end end end
  9558. IndexContents2('',true)
  9559. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true)
  9560. Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quart", 0.5, true, nil) wait(0.3) wait(0.1)
  9561. logof:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.1)
  9562. repeat wait() until logof.Size == UDim2.new(0,0,0,0)
  9563. f:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0), "Out", "Linear", 0.2)
  9564. repeat wait() until f.Size == UDim2.new(0,0,0,0) g:Destroy()
  9565. 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()
  9566. if gPlayers.LocalPlayer.PlayerGui:FindFirstChild("Chat") and gPlayers.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
  9567. gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
  9568. chatbox = gPlayers.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
  9569. 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)
  9570. else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quad",0.2,true) end end end)
  9571. coroutine.resume(coroutine.create(function()
  9572. if script.ClassName == "LocalScript" then
  9573. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  9574. Text = "The prefix is '" .. cmdprefix .. "'";
  9575. Color = Color3.new(255,255,255);
  9576. Font = Enum.Font.SourceSans;
  9577. FontSize = Enum.FontSize.Size24;
  9578. }) wait(2)
  9579. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  9580. Text = "Click IY on the top left to see more options";
  9581. Color = Color3.new(255,255,255);
  9582. Font = Enum.Font.SourceSans;
  9583. FontSize = Enum.FontSize.Size24;
  9584. }) end end))
  9585. else print('Custom chat detected. Will not provide suggestions for the chat.') end
  9586. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9587. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9588. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9589. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9590. qopen = false quickmenu.MouseButton1Click:connect(function()
  9591. if qopen == false then NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quart", 0.5, true, nil)
  9592. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9593. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9594. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) MusicPlayer:Hide()
  9595. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, 0), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = true else
  9596. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9597. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 146, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9598. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 220, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01)
  9599. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 290, 0, -50), "InOut", "Quart", 0.5, true, nil) wait(0.01) qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quart", 0.5, true, nil) end end end)
  9600. quickmenu.sheild.cmds.MouseButton1Click:connect(function() commands() wait(0.2) searchbar() closed = false end)
  9601. quickmenu.sheild.settings.MouseButton1Click:connect(function() hub() end)
  9602. infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
  9603. Updates = Instance.new("ScreenGui")
  9604. PromptDialog = Instance.new("Frame")
  9605. local ContainerFrame = Instance.new("Frame")
  9606. local PopupText5 = Instance.new("TextLabel")
  9607. local PopupText3 = Instance.new("TextLabel")
  9608. local PopupText4 = Instance.new("TextLabel")
  9609. local UTDV = Instance.new("TextLabel")
  9610. local LOG = Instance.new("TextLabel")
  9611. local shadow = Instance.new("Frame")
  9612. Exit = Instance.new("TextButton")
  9613. local PopupText = Instance.new("TextLabel")
  9614. local vers = Instance.new("TextLabel")
  9615. Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog"
  9616. PromptDialog.Parent = Updates PromptDialog.Active = true PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
  9617. PromptDialog.Position = UDim2.new(0.5, -219, 0, -400) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8
  9618. ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059)
  9619. ContainerFrame.Position = UDim2.new(0, 0, 0, 29) ContainerFrame.ZIndex = 8
  9620. ContainerFrame.Size = UDim2.new(1, 0, 0.65, 0) -- THIS WILL ADJUST THE SIZE
  9621. ContainerFrame.Style = Enum.FrameStyle.DropShadow PopupText5.Name = "PopupText5" PopupText5.Parent = ContainerFrame PopupText5.BackgroundTransparency = 1 PopupText5.Position = UDim2.new(0, 8, 0, 70)
  9622. PopupText5.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText5.ZIndex = 10 PopupText5.Font = Enum.Font.SourceSansBold PopupText5.FontSize = Enum.FontSize.Size28 PopupText5.Text = "Update Log:"
  9623. PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText5.TextStrokeTransparency = 0 PopupText5.TextWrapped = true PopupText5.TextYAlignment = Enum.TextYAlignment.Top PopupText3.Name = "PopupText3"
  9624. PopupText3.Parent = ContainerFrame PopupText3.BackgroundTransparency = 1 PopupText3.Position = UDim2.new(0, 8, 0, 35) PopupText3.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText3.ZIndex = 10
  9625. PopupText3.Font = Enum.Font.SourceSansBold PopupText3.FontSize = Enum.FontSize.Size18 PopupText3.Text = "Edge#3467- Moon#6245 - GodHOLINALILIUS#9156 - bluntboomer#1259" PopupText3.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  9626. PopupText3.TextStrokeTransparency = 0 PopupText3.TextWrapped = true PopupText3.TextScaled = true PopupText3.TextYAlignment = Enum.TextYAlignment.Top PopupText4.Name = "PopupText4" PopupText4.Parent = ContainerFrame
  9627. PopupText4.BackgroundTransparency = 1 PopupText4.Position = UDim2.new(0, 8, 0, 50) PopupText4.Size = UDim2.new(1, -16, 0.100000001, 0) PopupText4.ZIndex = 10 PopupText4.Font = Enum.Font.SourceSansBold
  9628. PopupText4.FontSize = Enum.FontSize.Size18 PopupText4.Text = "infiniteyield.x10host.com - discord.gg/9MByKtG" PopupText4.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText4.TextStrokeTransparency = 0
  9629. PopupText4.TextWrapped = true PopupText4.TextYAlignment = Enum.TextYAlignment.Top UTDV.Name = "UTDV" UTDV.Parent = ContainerFrame UTDV.BackgroundTransparency = 1 UTDV.Position = UDim2.new(0, 8, 0, 5)
  9630. UTDV.Size = UDim2.new(1, -16, 0.100000001, 0) UTDV.ZIndex = 10 UTDV.Font = Enum.Font.SourceSansBold UTDV.FontSize = Enum.FontSize.Size28 UTDV.TextColor3 = Color3.new(0.97, 0.97, 0.97)
  9631. UTDV.TextStrokeTransparency = 0 UTDV.TextWrapped = true UTDV.TextYAlignment = Enum.TextYAlignment.Top LOG.Name = "LOG"
  9632. LOG.Parent = ContainerFrame LOG.BackgroundTransparency = 1 LOG.Position = UDim2.new(0, 8, 0, 100) LOG.Size = UDim2.new(1, -16, 0.6, 0) LOG.ZIndex = 10 LOG.Font = Enum.Font.SourceSansBold LOG.FontSize = Enum.FontSize.Size24
  9633. LOG.Text = "Added burn [plr], added hat [plr] [ID], added crucify [plr], added fat [plr], updated disco, and updated smite [plr]." -- UPDATE LOG
  9634. LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) LOG.TextStrokeTransparency = 0 LOG.TextWrapped = true LOG.TextYAlignment = Enum.TextYAlignment.Top
  9635. shadow.Name = "shadow" shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.125, 0) shadow.ZIndex = 100
  9636. shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093 Exit.BorderColor3 = Color3.new(1, 0, 0)
  9637. Exit.Position = UDim2.new(0, 401, 0, 1) Exit.Size = UDim2.new(0, 20, 0, 20) Exit.ZIndex = 110 Exit.FontSize = Enum.FontSize.Size14 Exit.Text = "" PopupText.Name = "PopupText" PopupText.Parent = shadow
  9638. PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, -4) PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.TextSize = 30 PopupText.Text = "Information"
  9639. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText.TextStrokeTransparency = 0 PopupText.TextWrapped = true PopupText.TextYAlignment = Enum.TextYAlignment.Top vers.Name = "vers" vers.Parent = shadow
  9640. vers.BackgroundTransparency = 1 vers.Position = UDim2.new(0, 2, 0, -3) vers.Size = UDim2.new(0.200000003, -16, 0.400000006, 0) vers.ZIndex = 110 vers.Font = Enum.Font.SourceSansBold vers.FontSize = Enum.FontSize.Size24
  9641. vers.Text = "v" .. Version vers.TextColor3 = Color3.new(0.97, 0.97, 0.97) vers.TextStrokeTransparency = 0 vers.TextWrapped = true vers.TextXAlignment = Enum.TextXAlignment.Left vers.TextYAlignment = Enum.TextYAlignment.Top
  9642. if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
  9643. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quart", 0.5, true, nil) Exit.MouseButton1Click:connect(function()
  9644. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
  9645. quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end) end
  9646.  
  9647. local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
  9648. if Asset.Name == "Infinite Yield " .. Version then UTD = true wait(0.5) run() else
  9649. UTD = false local Updates = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame") local shadow = Instance.new("Frame") local Exit = Instance.new("TextButton")
  9650. local title = Instance.new("TextLabel") local ContainerFrame = Instance.new("Frame") local a = Instance.new("TextLabel") local a2 = Instance.new("TextLabel")
  9651. local a3 = Instance.new("TextLabel") local a2_2 = Instance.new("TextLabel") local UPDATE = Instance.new("TextButton") local Line = Instance.new("Frame")
  9652. Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Updates PromptDialog.Active = true
  9653. PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
  9654. PromptDialog.Position = UDim2.new(0.5, -219, 0, 100) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8 shadow.Name = "shadow"
  9655. 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
  9656. shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0) Exit.BackgroundTransparency = 0.30000001192093
  9657. 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
  9658. Exit.Text = "" title.Name = "title" title.Parent = shadow title.BackgroundTransparency = 1 title.Position = UDim2.new(0, 8, 0, -4)
  9659. title.Size = UDim2.new(1, -16, 0.800000012, 0) title.ZIndex = 110 title.Font = Enum.Font.SourceSansBold title.TextSize = 30
  9660. 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
  9661. ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 31)
  9662. ContainerFrame.Size = UDim2.new(1, 0, 0.75, 0) ContainerFrame.ZIndex = 8 ContainerFrame.Style = Enum.FrameStyle.DropShadow a.Name = "a" a.Parent = ContainerFrame
  9663. 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
  9664. a.FontSize = Enum.FontSize.Size18 a.Text = "infiniteyield.x10host.com - discord.gg/9MByKtG" a.TextColor3 = Color3.new(0.97, 0.97, 0.97) a.TextStrokeTransparency = 0
  9665. 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)
  9666. 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."
  9667. 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
  9668. 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
  9669. 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
  9670. 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)
  9671. 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'"
  9672. 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"
  9673. UPDATE.Parent = ContainerFrame UPDATE.BackgroundColor3 = Color3.new(0, 0, 0) UPDATE.BackgroundTransparency = 0.80000001192093 UPDATE.BorderColor3 = Color3.new(1, 1, 1)
  9674. UPDATE.Position = UDim2.new(0, 148, 0, 153) UPDATE.Size = UDim2.new(0, 126, 0, 40) UPDATE.ZIndex = 9 UPDATE.Font = Enum.Font.SourceSans
  9675. UPDATE.FontSize = Enum.FontSize.Size18 UPDATE.Text = "Update" UPDATE.TextColor3 = Color3.new(1, 1, 1) Line.Name = "Line" Line.Parent = PromptDialog
  9676. 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)
  9677. Line.Size = UDim2.new(0.926999986, 0, 0, 1) Line.ZIndex = 8 function Click(mouse)
  9678. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  9679. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  9680. Updates:Destroy() run() end Exit.MouseButton1Down:connect(Click) function Click(mouse)
  9681. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 150), "InOut", "Quart", 0.4, true, nil) wait(0.4)
  9682. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quart", 0.5, true, nil) wait(0.5)
  9683. Updates:Destroy() loadstring(game:HttpGet(('https://pastebin.com/raw/MjBzRjmT'),true))() end UPDATE.MouseButton1Down:connect(Click) end
Add Comment
Please, Sign In to add comment