xx_g

infinite yield

Dec 17th, 2017
1,963
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 307.86 KB | None | 0 0
  1. ---------------------------------------------------------------
  2. -- _____ __ _ _ _ __ ___ _ _ --
  3. -- |_ _| / _(_) (_) | \ \ / (_) | | | | --
  4. -- | | _ __ | |_ _ _ __ _| |_ ___ \ V / _ ___| | __| | --
  5. -- | || '_ \| _| | '_ \| | __/ _ \ \ / | |/ _ \ |/ _` | --
  6. -- _| || | | | | | | | | | | || __/ | | | | __/ | (_| | --
  7. -- \___/_| |_|_| |_|_| |_|_|\__\___| \_/ |_|\___|_|\__,_| --
  8. -- --
  9. ---------------------------------------------------------------
  10. ---------------------------------------------------------------
  11. --------------------------Version 6.2--------------------------
  12. ---------------------------------------------------------------
  13. ---Edge#3467 Moon#6245 bluntboomer#1259 GodHOLINALILIUS#9156---
  14. ---------------------------------------------------------------
  15.  
  16. --The message system was created by HARKINIAN @ V3RMILLION
  17. --Bang and fly is from rocky2u's admin
  18. --Happy holidays everyone!
  19.  
  20. local gCoreGui = game:GetService('CoreGui') local gPlayers = game:GetService('Players') local gLighting = game:GetService('Lighting') local gWorkspace = game:GetService('Workspace') local Player = game.Players.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. local Version = '6.2' services.players=gPlayers services.lighting=game:GetService('Lighting') services.workspace=game:GetService('Workspace') services.events = {} local user = gPlayers.LocalPlayer local bringT = {}
  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 msghook()
  27. for _, child in pairs( workspace:GetChildren()) do
  28. if MSGhook == false and child.ClassName == "Message" and child.Name ~= "IYmessage" then
  29. child.Name = "IYmessage"
  30. child.Text = ''
  31. MSGhook = true
  32. end
  33. end
  34. if workspace:FindFirstChild("IYmessage") then
  35. MSGhook = true
  36. else
  37. MSGhook = false
  38. end
  39. end
  40. game:GetService('RunService').Heartbeat:connect(function()
  41. if LP.Character and LP.Character:FindFirstChild('Humanoid') then
  42. LP.Character.Humanoid.Died:connect(function() FLYING = false end)
  43. repeat wait() until LP.Character.Humanoid.Health > 0
  44. if MSGhook == true and game.Workspace:FindFirstChild("IYmessage") then
  45. if workspace.IYmessage.Text == '' then
  46. for _, child in pairs( game.Lighting:GetChildren()) do
  47. if child.Name == "IYmblur" then
  48. child:Destroy() end end end
  49. else MSGhook = false
  50. end
  51. for i,v in pairs(_players:GetPlayers()) do
  52. if FindTable(loopkillT, v.Name) then
  53. v.Character:BreakJoints()
  54. end
  55. if FindTable(rainbowT, v.Name) then
  56. v.Neutral = false
  57. v.TeamColor = BrickColor.random()
  58. end
  59. end
  60. for i,n in pairs(_players:GetPlayers()) do
  61. if FindTable(disabletoolsT, n.Name) then
  62. for i,v in pairs(n.Backpack:GetChildren()) do
  63. if v:IsA('Tool') or v:IsA('HopperBin') then
  64. v:destroy()
  65. end
  66. for i,v in pairs(n.Character:GetChildren()) do
  67. if v:IsA('Tool') or v:IsA('HopperBin') then
  68. v:destroy()
  69. end
  70. end
  71. end
  72. end end end end)
  73. jl = game.CoreGui.jl
  74. POPUP_SIZE = UDim2.new(0,0,-0.15,350)
  75. db = false
  76. PopUps = {}
  77. function changeOptions(N)
  78. MODE = N
  79. if N == 1 then
  80. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  81. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  82. elseif N == 2 then
  83. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  84. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1) end end
  85. local origsettings = {abt = game.Lighting.Ambient, oabt = game.Lighting.OutdoorAmbient, brt = game.Lighting.Brightness, time =
  86. game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe =
  87. game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  88. function lponly(player)
  89. local box = "That is a LocalPlayer only command!"
  90. wait(0.1)
  91. game:service'Chat':Chat(player.Character.Head,box,Enum.ChatColor.Red)
  92. wait(0.1)
  93. end
  94. function FindTable(Table, Name)
  95. for i,v in pairs(Table) do
  96. if v == Name then
  97. return true
  98. end
  99. end
  100. return false
  101. end
  102. function GetInTable(Table, Name)
  103. for i = 1, #Table do
  104. if Table[i] == Name then
  105. return i
  106. end
  107. end
  108. return false
  109. end
  110. function createPopUp(Name,N)
  111. local Frame = Instance.new("Frame")
  112. local ImageLabel = Instance.new("ImageLabel")
  113. local TextBox = Instance.new("TextBox")
  114. Frame.Parent = game.CoreGui
  115. Frame.BackgroundColor3 = Color3.new(0.658824, 0.654902, 0.666667)
  116. Frame.Position = UDim2.new(0,-360,0,330)
  117. Frame.Size = UDim2.new(0, 230, 0, 60)
  118. Frame.Style = Enum.FrameStyle.RobloxSquare
  119. ImageLabel.Parent = Frame
  120. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  121. ImageLabel.BackgroundTransparency = 0.89999997615814
  122. ImageLabel.BorderColor3 = Color3.new(0, 0, 0)
  123. ImageLabel.Size = UDim2.new(0, 50, 1, 0)
  124. ImageLabel.Image = [[http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userName=]]..Name..[[&RAND]] .. math.random(1,100000000)
  125. TextBox.Parent = Frame
  126. TextBox.Active = false
  127. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  128. TextBox.BackgroundTransparency = 0.89999997615814
  129. TextBox.BorderColor3 = Color3.new(0, 0, 0)
  130. TextBox.Position = UDim2.new(0, 55, 0, 0)
  131. TextBox.Size = UDim2.new(0, 158, 1, 0)
  132. TextBox.ClearTextOnFocus = false
  133. TextBox.Font = Enum.Font.ArialBold
  134. TextBox.FontSize = Enum.FontSize.Size10
  135. TextBox.Text = "-Playername- Joined the Game"
  136. TextBox.TextColor3 = Color3.new(1, 1, 1)
  137. TextBox.TextStrokeTransparency = 0
  138. Frame:TweenPosition(UDim2.new(0,0,0,330),"Out","Quint",0.1,true)
  139. if N == 1 then
  140. TextBox.Text = Name.." Joined"
  141. elseif N == 2 then
  142. TextBox.Text = Name.." Joined"
  143. elseif N == 3 then
  144. TextBox.Text = Name.." Left"
  145. elseif N == 4 then
  146. TextBox.Text = Name.." Left"
  147. end
  148. Frame.Parent = jl
  149. table.insert(PopUps,Frame)
  150. local LocalPopUps = {}
  151. for i,v in pairs(PopUps) do
  152. table.insert(LocalPopUps,v)
  153. v.Position = v.Position + UDim2.new(0,0,0,20)
  154. end
  155. for j = 0, POPUP_SIZE.X.Offset,2 do
  156. for i,v in pairs(LocalPopUps) do
  157. if v ~= nil then
  158. v.Position = v.Position + UDim2.new(0,0,0,40)
  159. end
  160. end
  161. wait()
  162. end
  163. wait(5)
  164. table.remove(PopUps,1)
  165. Frame:TweenPosition(UDim2.new(0,-360,0,330),"Out","Quint",0.2,true)
  166. wait(0.3)
  167. Frame:remove()
  168. end
  169. function playerAdded(newPlayer)
  170. if (LP:isFriendsWith(newPlayer.userId)) and MODE >= 1 then
  171. coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,1)
  172. elseif MODE == 2 then
  173. coroutine.resume(coroutine.create(createPopUp),newPlayer.Name,2)
  174. end
  175. end
  176. function PlayerRemoving(PlayerLeft)
  177. if (LP:isFriendsWith(PlayerLeft.userId)) and MODE >= 1 then
  178. coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,3)
  179. elseif MODE == 2 then
  180. coroutine.resume(coroutine.create(createPopUp),PlayerLeft.Name,4)
  181. end
  182. end
  183. FLYING = false
  184. function sFLY()
  185. repeat wait() until LP and LP.Character and LP.Character:FindFirstChild('HumanoidRootPart') and LP.Character:FindFirstChild('Humanoid')
  186. repeat wait() until Mouse
  187.  
  188. local T = LP.Character.HumanoidRootPart
  189. local CONTROL = {F = 0, B = 0, L = 0, R = 0}
  190. local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  191. local SPEED = 0
  192.  
  193. local function FLY()
  194. FLYING = true
  195. local BG = Instance.new('BodyGyro', T)
  196. local BV = Instance.new('BodyVelocity', T)
  197. BG.P = 9e4
  198. BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  199. BG.cframe = T.CFrame
  200. BV.velocity = Vector3.new(0, 0.1, 0)
  201. BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  202. spawn(function()
  203. repeat wait()
  204. LP.Character.Humanoid.PlatformStand = true
  205. if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
  206. SPEED = 50
  207. elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
  208. SPEED = 0
  209. end
  210. if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
  211. 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
  212. lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
  213. elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
  214. 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
  215. else
  216. BV.velocity = Vector3.new(0, 0.1, 0)
  217. end
  218. BG.cframe = workspace.CurrentCamera.CoordinateFrame
  219. until not FLYING
  220. CONTROL = {F = 0, B = 0, L = 0, R = 0}
  221. lCONTROL = {F = 0, B = 0, L = 0, R = 0}
  222. SPEED = 0
  223. BG:destroy()
  224. BV:destroy()
  225. LP.Character.Humanoid.PlatformStand = false
  226. end)
  227. end
  228. Mouse.KeyDown:connect(function(KEY)
  229. if KEY:lower() == 'w' then
  230. CONTROL.F = 1
  231. elseif KEY:lower() == 's' then
  232. CONTROL.B = -1
  233. elseif KEY:lower() == 'a' then
  234. CONTROL.L = -1
  235. elseif KEY:lower() == 'd' then
  236. CONTROL.R = 1
  237. end
  238. end)
  239. Mouse.KeyUp:connect(function(KEY)
  240. if KEY:lower() == 'w' then
  241. CONTROL.F = 0
  242. elseif KEY:lower() == 's' then
  243. CONTROL.B = 0
  244. elseif KEY:lower() == 'a' then
  245. CONTROL.L = 0
  246. elseif KEY:lower() == 'd' then
  247. CONTROL.R = 0
  248. end
  249. end)
  250. FLY()
  251. end
  252. function NOFLY()
  253. FLYING = false
  254. LP.Character.Humanoid.PlatformStand = false
  255. end
  256.  
  257. -------------------------------------------
  258. ---Commands that show up in the CMD list---
  259. -------------------------------------------
  260.  
  261. CMDs = {
  262. '-HOTKEYS-',
  263. 'F4 - Toggle Fly',
  264. 'F5 - Toggle Noclip',
  265. 'HOLD F2 - Click TP',
  266. '-COMMANDS-',
  267. 'ff [plr]',
  268. 'unff [plr]',
  269. 'fire [plr] [R G B]',
  270. 'unfire [plr]',
  271. 'sparkles [plr] [R G B]',
  272. 'unsparkles [plr]',
  273. 'smoke [plr]',
  274. 'unsmoke [plr]',
  275. 'btools [plr]',
  276. 'god [plr]',
  277. 'ungod [plr]',
  278. 'smite [plr]',
  279. 'heal [plr]',
  280. 'freeze [plr]',
  281. 'thaw [plr]',
  282. 'kill [plr]',
  283. 'sound [ID/Name]',
  284. 'volume [num]',
  285. 'pitch [num]',
  286. 'explode [plr]',
  287. 'invisible [plr]',
  288. 'visible [plr]',
  289. 'goto [plr]',
  290. 'bring [plr]',
  291. 'tp [plr] [plr]',
  292. 'char [plr] [ID]',
  293. 'charplr [plr] [plr]',
  294. 'unchar [plr]',
  295. 'speed [plr] [num]',
  296. 'sgod [plr]',
  297. 'unlockws',
  298. 'lockws',
  299. 'unanchor',
  300. 'anchor',
  301. 'clear',
  302. 'loadm',
  303. 'm [msg]',
  304. 'light [plr] [R G B]',
  305. 'unlight [plr]',
  306. 'decalspam [ID]',
  307. 'undecalspam',
  308. 'thirdp [plr]',
  309. 'firstp [plr]',
  310. 'name [plr]',
  311. 'unname [plr]',
  312. 'stun [plr]',
  313. 'unstun [plr]',
  314. 'copytools [plr]',
  315. 'serverinfo',
  316. 'damage [plr]',
  317. 'view [plr]',
  318. 'unview',
  319. 'nolimbs [plr]',
  320. 'box [plr]',
  321. 'nobox [plr]',
  322. 'ghost [plr]',
  323. 'sphere [plr]',
  324. 'loadmap [ID]',
  325. 'sky [ID]',
  326. 'ambient [R G B]',
  327. 'clrterrain',
  328. 'jail [plr]',
  329. 'unjail [plr]',
  330. 'shutdown',
  331. 'animation [plr] [anim]',
  332. 'normal [plr]',
  333. 'creeper [plr]',
  334. 'uncreeper [plr]',
  335. 'shrek [plr]',
  336. 'unshrek [plr]',
  337. 'respawn [plr]',
  338. 'base',
  339. 'control [plr]',
  340. 'nuke [plr]',
  341. 'infect [plr]',
  342. 'uninfect [plr]',
  343. 'duck [plr]',
  344. 'unduck [plr]',
  345. 'disable [plr]',
  346. 'enable [plr]',
  347. 'size [plr] [num]',
  348. 'confuse [plr]',
  349. 'unconfuse [plr]',
  350. 'clone [plr]',
  351. 'spin [plr]',
  352. 'unspin [plr]',
  353. 'dog [plr]',
  354. 'undog [plr]',
  355. 'loopheal [plr]',
  356. 'unloopheal [plr]',
  357. 'fling [plr]',
  358. 'ayylmao [plr]',
  359. 'seizure [plr]',
  360. 'unseizure [plr]',
  361. 'paper [plr]',
  362. 'punish [plr]',
  363. 'unpunish [plr]',
  364. 'fogend [num]',
  365. 'fogcolor [R G B]',
  366. 'disco',
  367. 'undisco',
  368. 'fix',
  369. 'flood',
  370. 'spookyify',
  371. 'explorer',
  372. 'particles [plr] [ID]',
  373. 'noparticles [plr]',
  374. 'draw',
  375. 'devuzi',
  376. 'ban [plr]',
  377. 'unban [plr]',
  378. 'clrbans',
  379. 'float [plr]',
  380. 'unfloat [plr]',
  381. 'noclip',
  382. 'clip',
  383. 'hatsize [plr] [num]',
  384. 'removehat [plr]',
  385. 'cripple [plr]',
  386. 'uncripple [plr]',
  387. 'blur [num]',
  388. 'unblur',
  389. 'hipheight [plr] [num]',
  390. 'bgui [plr] [text]',
  391. 'unbgui [plr]',
  392. 'loopkill [plr]',
  393. 'unloopkill [plr]',
  394. 'removetools [plr]',
  395. 'jumppower [plr] [num]',
  396. 'shiny [plr]',
  397. 'serverlock',
  398. 'unserverlock',
  399. 'headshake [plr]',
  400. 'addstat [plr] [text]',
  401. 'change [plr] [stat] [num]',
  402. 'headsize [plr] [num]',
  403. 'bang [plr]',
  404. 'chat [plr] [msg]',
  405. 'gravity [num]',
  406. 'disabletools [plr]',
  407. 'enabletools [plr]',
  408. 'nil [plr]',
  409. 'rainbowname [plr]',
  410. 'unrainbowname [plr]',
  411. 'mesh [plr] [mesh] [txtr]',
  412. 'neon [plr]',
  413. 'longneck [plr]',
  414. 'unlongneck [plr]',
  415. 'time [num]',
  416. 'spasm [plr]',
  417. 'meteor [plr]',
  418. 'countdown [num]',
  419. 'bomb [plr]',
  420. 'terrain',
  421. 'rocket [plr]',
  422. 'ball [plr]',
  423. 'unball [plr]',
  424. 'hidename [plr]',
  425. 'unhidename [plr]',
  426. 'face [plr] [ID]',
  427. 'fly',
  428. 'unfly',
  429. 'zinnia [plr]',
  430. 'team [plr] [team]',
  431. 'age [plr]',
  432. 'f3x',
  433. 'tools [plr]',
  434. 'filtering',
  435. 'remotespy',
  436. 'crash [plr]',
  437. 'kick [plr]',
  438. 'admin [plr]',
  439. 'unadmin [plr]',
  440. 'admins',
  441. 'bans',
  442. 'bait',
  443. 'removebait',
  444. 'strobe',
  445. 'globalshadows',
  446. 'noglobalshadows',
  447. 'delete [part name]',
  448. 'fart [plr]',
  449. 'partdisco',
  450. 'unpartdisco',
  451. 'car [plr]',
  452. 'uncar [plr]',
  453. 'insert [ID]',
  454. 'esp [plr]',
  455. 'noesp [plr]',
  456. 'spawnpoint [plr]',
  457. 'removespawns',
  458. 'nohead[plr]',
  459. 'head [plr]',
  460. 'fegod',
  461. 'feinvisible',
  462. 'loopbring [plr]',
  463. 'unloopbring [plr]',
  464. 'freecam',
  465. 'unfreecam',
  466. 'playersound [plr] [ID]',
  467. 'playlist [ID],[ID]',
  468. 'setsong [num]',
  469. 'prevsong',
  470. 'nextsong',
  471. 'trail [plr]',
  472. 'untrail [plr]',
  473. 'script [script]',
  474. 'prefix [string]',
  475. 'rejoin',
  476. 'settings',
  477. 'cmds',
  478. 'version'
  479. }
  480.  
  481. -------
  482. --Lib--
  483. -------
  484.  
  485. 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
  486.  
  487. std.inTable=function(tbl,val)
  488. if tbl==nil then return false end
  489.  
  490. for _,v in pairs(tbl)do
  491. if v==val then return true end
  492. end
  493. return false
  494. end
  495. std.out=function(str)
  496. print(str)
  497. end
  498. std.list=function(tbl)
  499. local str=''
  500. for i,v in pairs(tbl)do
  501. str=str..tostring(v)
  502. if i~=#tbl then str=str..', ' end
  503. end
  504. return str
  505. end
  506. std.endat=function(str,val)
  507. local z=str:find(val)
  508. if z then
  509. return str:sub(0,z-string.len(val)),true
  510. else
  511. return str,false
  512. end
  513. end
  514. std.first=function(str) return str:sub(1,1) end
  515.  
  516. function isAdmin(name) if FindTable(adminT, name.userId) then return true elseif name.userId == LP.userId then return true end end
  517.  
  518. local exec=function(str)
  519. spawn(function()
  520. local script, loaderr = loadstring(str)
  521. if not script then
  522. error(loaderr)
  523. else
  524. script()
  525. end
  526. end)
  527. end
  528. local findCmd=function(cmd_name)
  529. for i,v in pairs(cmds)do
  530. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  531. return v
  532. end
  533. end
  534. end
  535. local getCmd=function(msg)
  536. local cmd,hassplit=std.endat(msg:lower(),split)
  537. if hassplit then
  538. return {cmd,true}
  539. else
  540. return {cmd,false}
  541. end
  542. end
  543. local getprfx=function(strn)
  544. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  545. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  546. end return
  547. end
  548. 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
  549. 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
  550. _players.PlayerAdded:connect(function(player)
  551. if slock == true and allowfriends == false then player.CharacterAdded:connect(function()
  552. if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" then
  553. spawn(function()
  554. repeat wait() until player.Character
  555. function Kick(PLAYER)
  556. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  557. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  558. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  559. Plat.Name = 'IYkick'
  560. Plat.Size = Vector3.new(100, 1, 100)
  561. local PART = Instance.new('Part', PLAYER.Character)
  562. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  563. PART.Size = Vector3.new(100, 1, 100)
  564. PART.Anchored = true
  565. PART.Transparency = 1
  566. Plat.Transparency = 1
  567. repeat wait(1)
  568. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  569. Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  570. end
  571. Kick(PLAYER)
  572. until not game.Players:findFirstChild(PLAYER)
  573. end
  574. end
  575. Kick(player)
  576. end)
  577. else Notify('An Infinite Yield developer has joined. You cannot lock him out.')
  578. end
  579. end)
  580. elseif slock == true and allowfriends == true and not player:IsFriendsWith(user.userId) then
  581. if player.Name ~= "IoIman616" and player.Name ~= "DesiredUsername1233" and player.Name ~= "sweg2hipALT" then
  582. spawn(function()
  583. repeat wait() until player.Character
  584. function Kick(PLAYER)
  585. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  586. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  587. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  588. Plat.Name = 'IYkick'
  589. Plat.Size = Vector3.new(100, 1, 100)
  590. local PART = Instance.new('Part', PLAYER.Character)
  591. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  592. PART.Size = Vector3.new(100, 1, 100)
  593. PART.Anchored = true
  594. PART.Transparency = 1
  595. Plat.Transparency = 1
  596. repeat wait(1)
  597. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  598. Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  599. end
  600. Kick(PLAYER)
  601. until not game.Players:findFirstChild(PLAYER)
  602. end
  603. end
  604. Kick(player)
  605. end)
  606. else Notify('An Infinite Yield developer has joined. You cannot lock him out.')
  607. end
  608. end
  609. if FindTable(banT, player.userId) then
  610. spawn(function()
  611. repeat wait() until player.Character
  612. Notify('Banned player, ' .. player.Name .. ' attempted to join')
  613. function Kick(PLAYER)
  614. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  615. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  616. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  617. Plat.Name = 'IYkick'
  618. Plat.Size = Vector3.new(100, 1, 100)
  619. local PART = Instance.new('Part', PLAYER.Character)
  620. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  621. PART.Size = Vector3.new(100, 1, 100)
  622. PART.Anchored = true
  623. PART.Transparency = 1
  624. Plat.Transparency = 1
  625. repeat wait(1)
  626. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  627. Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  628. end
  629. Kick(PLAYER)
  630. until not game.Players:findFirstChild(PLAYER)
  631. end
  632. end
  633. Kick(player)
  634. end)
  635. end
  636. end)
  637.  
  638. local function splitString(str,delim)
  639. local broken = {}
  640. if delim == nil then delim = "," end
  641. for w in string.gmatch(str,"[^"..delim.."]+") do
  642. table.insert(broken,w)
  643. end
  644. return broken
  645. end
  646.  
  647. local function execCmd(cmdStr,speaker)
  648. local commandsToRun = splitString(cmdStr,"\\")
  649. for i,v in pairs(commandsToRun) do
  650. local args = splitString(v,split)
  651. local cmd = findCmd(args[1])
  652. if cmd then
  653. table.remove(args,1)
  654. cargs = args
  655. pcall(function()
  656. cmd.FUNC(args, speaker)
  657. end)
  658. end
  659. end
  660. end
  661. 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
  662. updateevents(LP)
  663. _players.PlayerAdded:connect(function(player)
  664. updateevents(player)
  665. end)
  666. _G.exec_cmd = execCmd
  667. --game.Players.LocalPlayer.Chatted:connect(doexec)
  668. 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
  669. local _char=function(plr_name)
  670. for i,v in pairs(game.Players:GetChildren())do
  671. if v:IsA'Player'then
  672. if v.Name==plr_name then return v.Character end
  673. end
  674. end
  675. return
  676. end
  677. local _plr=function(plr_name)
  678. for i,v in pairs(game.Players:GetChildren())do
  679. if v:IsA'Player'then
  680. if v.Name==plr_name then return v end
  681. end
  682. end
  683. return
  684. end
  685. function addcmd(name,desc,alias,func)
  686. cmds[#cmds+1]=
  687. {
  688. NAME=name;
  689. DESC=desc;
  690. ALIAS=alias;
  691. FUNC=func;
  692. }
  693. end
  694. local SpecialPlayerCases = {
  695. ["all"] = function(speaker)return game:GetService("Players"):GetPlayers() end,
  696. ["others"] = function(speaker)
  697. local plrs = {}
  698. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  699. if v ~= speaker then
  700. table.insert(plrs,v)
  701. end
  702. end
  703. return plrs
  704. end,
  705. ["me"] = function(speaker)return {speaker} end,
  706. ["#(%d+)"] = function(speaker,args)
  707. local returns = {}
  708. local randAmount = tonumber(args[1])
  709. local players = game:GetService("Players"):GetPlayers()
  710. for i = 1,randAmount do
  711. local randIndex = math.random(1,#players)
  712. table.insert(returns,players[randIndex])
  713. table.remove(players,randIndex)
  714. if #players == 0 then break end
  715. end
  716. return returns
  717. end,
  718. ["random"] = function(speaker)
  719. local players = game:GetService("Players"):GetPlayers()
  720. return {players[math.random(1,#players)]}
  721. end,
  722. ["%%(.+)"] = function(speaker,args) -- This is team Ex:[;kill %green]
  723. local returns = {}
  724. local team = args[1]
  725. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  726. if plr.Team and string.sub(string.lower(plr.Team.Name),1,#team) == string.lower(team) then
  727. table.insert(returns,plr)
  728. end
  729. end
  730. return returns
  731. end,
  732. ["allies"] = function(speaker)
  733. local returns = {}
  734. local team = speaker.Team
  735. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  736. if plr.Team == team then
  737. table.insert(returns,plr)
  738. end
  739. end
  740. return returns
  741. end,
  742. ["enemies"] = function(speaker)
  743. local returns = {}
  744. local team = speaker.Team
  745. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  746. if plr.Team ~= team then
  747. table.insert(returns,plr)
  748. end
  749. end
  750. return returns
  751. end,
  752. ["team"] = function(speaker)
  753. local returns = {}
  754. local team = speaker.Team
  755. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  756. if plr.Team == team then
  757. table.insert(returns,plr)
  758. end
  759. end
  760. return returns
  761. end,
  762. ["nonteam"] = function(speaker)
  763. local returns = {}
  764. local team = speaker.Team
  765. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  766. if plr.Team ~= team then
  767. table.insert(returns,plr)
  768. end
  769. end
  770. return returns
  771. end,
  772. ["friends"] = function(speaker,args)
  773. local returns = {}
  774. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  775. if plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  776. table.insert(returns,plr)
  777. end
  778. end
  779. return returns
  780. end,
  781. ["nonfriends"] = function(speaker,args)
  782. local returns = {}
  783. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  784. if not plr:IsFriendsWith(speaker.UserId) and plr ~= speaker then
  785. table.insert(returns,plr)
  786. end
  787. end
  788. return returns
  789. end,
  790. ["admins"] = function(speaker)
  791. local returns = {}
  792. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  793. if isAdmin(plr) then
  794. table.insert(returns,plr)
  795. end
  796. end
  797. return returns
  798. end,
  799. ["nonadmins"] = function(speaker)
  800. local returns = {}
  801. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  802. if not isAdmin(plr) then
  803. table.insert(returns,plr)
  804. end
  805. end
  806. return returns
  807. end,
  808. ["rad(%d+)"] = function(speaker,args)
  809. local returns = {}
  810. local radius = tonumber(args[1])
  811. local speakerChar = speaker.Character
  812. if not speakerChar or not speakerChar:FindFirstChild("HumanoidRootPart") then return end
  813. for _,plr in pairs(game:GetService("Players"):GetPlayers()) do
  814. if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
  815. local magnitude = (plr.Character:FindFirstChild("HumanoidRootPart").Position-speakerChar.HumanoidRootPart.Position).magnitude
  816. if magnitude <= radius then table.insert(returns,plr) end
  817. end
  818. end
  819. return returns
  820. end
  821. }
  822.  
  823. local function toTokens(str)
  824. local tokens = {}
  825. for op,name in string.gmatch(str,"([+-])([^+-]+)") do
  826. table.insert(tokens,{Operator = op,Name = name})
  827. end
  828. return tokens
  829. end
  830.  
  831. local function onlyIncludeInTable(tab,matches)
  832. local matchTable = {}
  833. local resultTable = {}
  834. for i,v in pairs(matches) do matchTable[v.Name] = true end
  835. for i,v in pairs(tab) do if matchTable[v.Name] then table.insert(resultTable,v) end end
  836. return resultTable
  837. end
  838.  
  839. local function removeTableMatches(tab,matches)
  840. local matchTable = {}
  841. local resultTable = {}
  842. for i,v in pairs(matches) do matchTable[v.Name] = true end
  843. for i,v in pairs(tab) do if not matchTable[v.Name] then table.insert(resultTable,v) end end
  844. return resultTable
  845. end
  846.  
  847. local function getPlayersByName(name)
  848. local found = {}
  849. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  850. if string.sub(string.lower(v.Name),1,#name) == string.lower(name) then
  851. table.insert(found,v)
  852. end
  853. end
  854. return found
  855. end
  856.  
  857. local function getPlayer(list,speaker)
  858. if list == nil then return {speaker.Name} end
  859. local nameList = splitString(list,",")
  860.  
  861. local foundList = {}
  862.  
  863. for _,name in pairs(nameList) do
  864. if string.sub(name,1,1) ~= "+" and string.sub(name,1,1) ~= "-" then name = "+"..name end
  865. local tokens = toTokens(name)
  866. local initialPlayers = game:GetService("Players"):GetPlayers()
  867.  
  868. for i,v in pairs(tokens) do
  869. if v.Operator == "+" then
  870. local tokenContent = v.Name
  871. local foundCase = false
  872. for regex,case in pairs(SpecialPlayerCases) do
  873. local matches = {string.match(tokenContent,"^"..regex.."$")}
  874. if #matches > 0 then
  875. foundCase = true
  876. initialPlayers = onlyIncludeInTable(initialPlayers,case(speaker,matches))
  877. end
  878. end
  879. if not foundCase then
  880. initialPlayers = onlyIncludeInTable(initialPlayers,getPlayersByName(tokenContent))
  881. end
  882. else
  883. local tokenContent = v.Name
  884. local foundCase = false
  885. for regex,case in pairs(SpecialPlayerCases) do
  886. local matches = {string.match(tokenContent,"^"..regex.."$")}
  887. if #matches > 0 then
  888. foundCase = true
  889. initialPlayers = removeTableMatches(initialPlayers,case(speaker,matches))
  890. end
  891. end
  892. if not foundCase then
  893. initialPlayers = removeTableMatches(initialPlayers,getPlayersByName(tokenContent))
  894. end
  895. end
  896. end
  897.  
  898. for i,v in pairs(initialPlayers) do table.insert(foundList,v) end
  899. end
  900.  
  901. local foundNames = {}
  902. for i,v in pairs(foundList) do table.insert(foundNames,v.Name) end
  903.  
  904. return foundNames
  905. end
  906.  
  907. function fWeld(zName, zParent, zPart0, zPart1, zCoco, A, B, C, D, E, F)
  908. local funcw = Instance.new('Weld') funcw.Name = zName funcw.Parent = zParent funcw.Part0 = zPart0 funcw.Part1 = zPart1
  909. if (zCoco) then
  910. funcw.C0 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  911. else
  912. funcw.C1 = CFrame.new(A, B, C) * CFrame.fromEulerAnglesXYZ(D, E, F)
  913. end
  914. return funcw
  915. end
  916. function _G.msg(txt)
  917. msghook()
  918. if MSGhook == true then
  919. workspace.IYmessage.Text = ''
  920. wait(0.1)
  921. local b = Instance.new("BlurEffect", game.Lighting)
  922. b.Name = "IYmblur"
  923. b.Size = 18
  924. workspace.IYmessage.Text = txt
  925. wait(Mseconds)
  926. workspace.IYmessage.Text = ''
  927. b:Destroy()
  928. elseif MSGhook == false then
  929. execCmd("loadm")
  930. repeat wait() until workspace:FindFirstChild("IYmessage")
  931. workspace.IYmessage.Text = ''
  932. wait(0.1)
  933. local b = Instance.new("BlurEffect", game.Lighting)
  934. b.Name = "IYmblur"
  935. b.Size = 18
  936. workspace.IYmessage.Text = txt
  937. wait(Mseconds)
  938. workspace.IYmessage.Text = ''
  939. b:Destroy()
  940. end
  941. end
  942. function rape(victim, speaker)
  943. spawn(function()
  944. local P1 = speaker.Character.Torso
  945. local V1 = _players[victim].Character.Torso
  946. V1.Parent.Humanoid.PlatformStand = true
  947. 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'
  948. 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'
  949. 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'
  950. 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'
  951. 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'
  952. 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'
  953. 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)
  954. local DM1 = Instance.new('SpecialMesh', D) DM1.MeshType = 'Sphere' DM1.Scale = Vector3.new(0.4, 0.4, 0.4)
  955. fWeld('weld', P1, P1, D, true, -0.2, -1.3, -0.6, 0, 0, 0)
  956. local D2 = D:Clone() D2.Parent = P1
  957. fWeld('weld', P1, P1, D2, true, 0.2, -1.3, -0.6, 0, 0, 0)
  958. 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)
  959. fWeld('weld', P1, P1, C, true, 0, -1, -0.52 + (-C.Size.y / 2), math.rad(-80), 0, 0)
  960. local C2 = D:Clone() C2.BrickColor = BrickColor.new('Pink') C2.Mesh.Scale = Vector3.new(0.4, 0.62, 0.4) C2.Parent = P1
  961. fWeld('weld', C, C, C2, true, 0, 0 + (C.Size.y / 2), 0, math.rad(-10), 0, 0)
  962. local CM = Instance.new('CylinderMesh', C)
  963. 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)
  964. local DM2 = Instance.new('SpecialMesh', BL) DM2.MeshType = 'Sphere' DM2.Scale = Vector3.new(1.2, 1.2, 1.2)
  965. fWeld('weld', V1, V1, BL, true, -0.5, 0.5, -0.6, 0, 0, 0)
  966. 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)
  967. local DM3 = Instance.new('SpecialMesh', BR) DM3.MeshType = 'Sphere' DM3.Scale = Vector3.new(1.2, 1.2, 1.2)
  968. fWeld('weld', V1, V1, BR, true, 0.5, 0.5, -0.6, 0, 0, 0)
  969. 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)
  970. local DM4 = Instance.new('SpecialMesh', BLN) DM4.MeshType = 'Sphere' DM4.Scale = Vector3.new(0.2, 0.2, 0.2)
  971. fWeld('weld', V1, V1, BLN, true, -0.5, 0.5, -1.2, 0, 0, 0)
  972. 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)
  973. local DM5 = Instance.new('SpecialMesh', BRN) DM5.MeshType = 'Sphere' DM5.Scale = Vector3.new(0.2, 0.2, 0.2)
  974. fWeld('weld', V1, V1, BRN, true, 0.5, 0.5, -1.2, 0, 0, 0)
  975. 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)
  976. 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)
  977. 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)
  978. if P1:FindFirstChild('weldx') then P1.weldx:destroy() end
  979. WE = fWeld('weldx', P1, P1, V1, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  980. local N = V1.Neck N.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  981. end)
  982. 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)
  983. end
  984. ----------------
  985. ----Commands----
  986. ----------------
  987. addcmd('s','runs a script in the chat or cmdbar',{'script'},
  988. function(args, speaker)
  989. loadstring(tostring(GLS(false, 0)))()
  990. end)
  991.  
  992. addcmd('ff','gives ff to player',{},
  993. function(args, speaker)
  994. local players = getPlayer(args[1], speaker)
  995. for i,v in pairs(players)do
  996. local pchar=_char(v)
  997. Instance.new("ForceField", pchar)
  998. end
  999. end)
  1000.  
  1001. addcmd('rocket','attaches a player to a rocket',{'missile'},
  1002. function(args, speaker)
  1003. local players = getPlayer(args[1], speaker)
  1004. for i,v in pairs(players)do
  1005. local pchar=_char(v)
  1006. spawn(function()
  1007. local m = missile:Clone()
  1008. m.Parent = workspace
  1009. local W = Instance.new('Weld', m)
  1010. W.Part0 = W.Parent
  1011. W.Part1 = pchar.Torso
  1012. W.C1 = CFrame.new(0, 0.5, 1)
  1013. m.force.Force = Vector3.new(0, 15000, 0)
  1014. wait(0.01)
  1015. pchar.HumanoidRootPart.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
  1016. wait(5)
  1017. Instance.new('Explosion', m).Position = m.Position
  1018. wait(0.01)
  1019. pchar:BreakJoints()
  1020. wait(1)
  1021. m:destroy()
  1022. end)
  1023. end
  1024. end)
  1025.  
  1026. addcmd('rejoin','makes you rejoin the game',{'rj'},
  1027. function(args, speaker)
  1028. if speaker.userId ~= LP.userId then
  1029. lponly(speaker)
  1030. else
  1031. game:GetService('TeleportService'):Teleport(game.PlaceId)
  1032. end
  1033. end)
  1034.  
  1035. addcmd('unff', 'takes away ff from player',{'unff'},
  1036. function(args, speaker)
  1037. local players = getPlayer(args[1], speaker)
  1038. for i,v in pairs(players)do
  1039. local pchar=_char(v)
  1040. for j,v1 in pairs(pchar:GetChildren()) do
  1041. if v1:IsA("ForceField") then
  1042. v1:Destroy()
  1043. end
  1044. end
  1045. end
  1046. end)
  1047.  
  1048. addcmd('insert', 'inserts a model',{'ins'},
  1049. function(args, speaker)
  1050. local modelid = args[1]
  1051. local model = game:GetObjects("rbxassetid://" .. modelid)[1]
  1052. model.Parent = game.Workspace
  1053. model.Name = "IYmodel"
  1054. model:MakeJoints()
  1055. model:MoveTo(speaker.Character.HumanoidRootPart.Position)
  1056. local Asset = game:GetService("MarketplaceService"):GetProductInfo(modelid)
  1057. Notify('Inserted ' .. Asset.Name)
  1058. end)
  1059.  
  1060. addcmd('car', 'inserts a car',{'vehicle'},
  1061. function(args, speaker)
  1062. local players = getPlayer(args[1], speaker)
  1063. for i,v in pairs(players)do
  1064. local pchar=_char(v)
  1065. local model = game:GetObjects("rbxassetid://01172688590")[1]
  1066. model.Parent = game.Workspace
  1067. model:MakeJoints()
  1068. model:MoveTo(pchar.HumanoidRootPart.Position)
  1069. model.Name = "IYcar" .. gPlayers[v].Name
  1070. model.Seat.VehicleSeat:Sit(pchar.Humanoid)
  1071. end
  1072. end)
  1073.  
  1074. addcmd('uncar', 'removes a players car',{'unvehicle','nocar','novehicle'},
  1075. function(args, speaker)
  1076. local players = getPlayer(args[1], speaker)
  1077. for i,v in pairs(players)do
  1078. for _, child in pairs( workspace:GetChildren()) do
  1079. if child.Name == "IYcar" .. gPlayers[v].Name then
  1080. child:Destroy()
  1081. end
  1082. end
  1083. end
  1084. end)
  1085.  
  1086. addcmd('team','team [plr] [team]',{},
  1087. function(args, speaker)
  1088. local players = getPlayer(args[1], speaker)
  1089. local teamname = nil
  1090. for i,v in pairs(players)do
  1091. 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
  1092. print(teamname)
  1093. _players[v].Team = teamname
  1094. end
  1095. end)
  1096.  
  1097. addcmd('spasm','makes someone c r a z y',{},
  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. local AnimationId = "33796059"
  1103. local Anim = Instance.new("Animation")
  1104. Anim.AnimationId = "rbxassetid://"..AnimationId
  1105. local k = pchar.Humanoid:LoadAnimation(Anim)
  1106. k:Play()
  1107. k:AdjustSpeed(99)
  1108. end
  1109. end)
  1110.  
  1111. addcmd('playersound','creates a sound inside of someone',{'plrsound'},
  1112. function(args, speaker)
  1113. local players = getPlayer(args[1], speaker)
  1114. for i,v in pairs(players)do
  1115. if not args[1] and args[2] then return end
  1116. local pchar=_char(v)
  1117. local s = Instance.new("Sound")
  1118. s.Name = "IYplrsound"
  1119. s.SoundId = "http://www.roblox.com/asset/?id=" .. args[2]
  1120. s.Volume = 1
  1121. s.Pitch = 1
  1122. s.Looped = true
  1123. s.archivable = true
  1124. s.Parent = pchar.Torso
  1125. s:Play()
  1126. end
  1127. end)
  1128.  
  1129. addcmd('fly','makes you fly',{},
  1130. function(args, speaker)
  1131. if speaker.userId ~= LP.userId then
  1132. lponly(speaker)
  1133. else
  1134. sFLY()
  1135. end
  1136. end)
  1137.  
  1138. addcmd('unfly','takes away fly',{'nofly'},
  1139. function(args, speaker)
  1140. if speaker.userId ~= LP.userId then
  1141. lponly(speaker)
  1142. else
  1143. NOFLY()
  1144. end
  1145. end)
  1146.  
  1147. addcmd('fire', 'set a player on fire',{},
  1148. function(args, speaker)
  1149. local players = getPlayer(args[1], speaker)
  1150. for i,v in pairs(players)do
  1151. spawn(function()
  1152. local pchar=_char(v)
  1153. local Fire1 = Instance.new("Fire", pchar.Head)
  1154. local Fire2 = Instance.new("Fire", pchar.HumanoidRootPart)
  1155. local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  1156. local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  1157. local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  1158. local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  1159. if not args[2] then return end
  1160. Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1161. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1162. Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1163. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1164. Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1165. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1166. Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1167. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1168. Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1169. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1170. Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1171. Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  1172. end)
  1173. end
  1174. end)
  1175.  
  1176. addcmd('nofire', 'extinguish a player',{'unfire'},
  1177. function(args, speaker)
  1178. local players = getPlayer(args[1], speaker)
  1179. for i,v in pairs(players)do
  1180. local pchar=_char(v)
  1181. for j,v1 in pairs(pchar.Head:GetChildren()) do
  1182. if v1:IsA("Fire") then
  1183. v1:Destroy()
  1184. end
  1185. end
  1186. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1187. if v1:IsA("Fire") then
  1188. v1:Destroy()
  1189. end
  1190. end
  1191. for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  1192. if v1:IsA("Fire") then
  1193. v1:Destroy()
  1194. end
  1195. end
  1196. for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  1197. if v1:IsA("Fire") then
  1198. v1:Destroy()
  1199. end
  1200. end
  1201. for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  1202. if v1:IsA("Fire") then
  1203. v1:Destroy()
  1204. end
  1205. end
  1206. for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  1207. if v1:IsA("Fire") then
  1208. v1:Destroy()
  1209. end
  1210. end
  1211. end
  1212. end)
  1213.  
  1214. addcmd('shiny', 'makes a player shine',{},
  1215. function(args, speaker)
  1216. local players = getPlayer(args[1], speaker)
  1217. for i,v in pairs(players)do
  1218. spawn(function()
  1219. local pchar=_char(v)
  1220. for i,v in pairs(pchar:GetChildren()) do
  1221. if v.ClassName == "Decal" or v.ClassName == "Texture" then
  1222. v:Remove()
  1223. end
  1224. if v.ClassName == "Part" or v.ClassName == "WedgePart" or v.ClassName == "TrussPart" or v.ClassName == "UnionOperation" or v.ClassName == "CornerWedgePart" then
  1225. v.Reflectance = 1
  1226. v.Material = "Plastic"
  1227. end
  1228. end
  1229. end)
  1230. end
  1231. end)
  1232.  
  1233. addcmd('light', 'givs em light',{},
  1234. function(args, speaker)
  1235. local players = getPlayer(args[1], speaker)
  1236. for i,v in pairs(players)do
  1237. spawn(function()
  1238. local pchar=_char(v)
  1239. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1240. if v1:IsA("PointLight") then
  1241. v1:Destroy()
  1242. end
  1243. end
  1244. local light = Instance.new("PointLight", pchar.HumanoidRootPart)
  1245. light.Range = 12
  1246. light.Brightness = 3
  1247. if not args[2] then return end
  1248. light.Color = Color3.new((args[2]),(args[3]),(args[4]))
  1249. light.Range = 12
  1250. light.Brightness = 3
  1251. end)
  1252. end
  1253. end)
  1254.  
  1255. addcmd('trail', 'spawns a trail behind a player',{},
  1256. function(args, speaker)
  1257. local players = getPlayer(args[1], speaker)
  1258. for i,v in pairs(players)do
  1259. spawn(function()
  1260. local pchar=_char(v)
  1261. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1262. if v1.Name == "TRAIL" then
  1263. v1:Destroy()
  1264. end
  1265. end
  1266. local tr = Instance.new("ParticleEmitter", pchar.HumanoidRootPart)
  1267. tr.Size = NumberSequence.new(0.5,0.5)
  1268. tr.Lifetime = NumberRange.new(3,5)
  1269. tr.Rate = 50
  1270. tr.Speed = NumberRange.new(0,0)
  1271. tr.Texture = "rbxassetid://130433594"
  1272. tr.Name = "TRAIL"
  1273. end)
  1274. end
  1275. end)
  1276.  
  1277. addcmd('untrail', 'deletes the trail behind a player',{'notrail'},
  1278. function(args, speaker)
  1279. local players = getPlayer(args[1], speaker)
  1280. for i,v in pairs(players)do
  1281. spawn(function()
  1282. local pchar=_char(v)
  1283. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1284. if v1.Name == "TRAIL" then
  1285. v1:Destroy()
  1286. end
  1287. end
  1288. end)
  1289. end
  1290. end)
  1291.  
  1292. local fa = false
  1293. local cam = workspace.CurrentCamera
  1294. local cam1 = 0
  1295. local cam2 = 0
  1296. local cam3 = 0
  1297. local k1 = false
  1298. local k2 = false
  1299. local k3 = false
  1300. local k4 = false
  1301. local k5 = false
  1302. local k6 = false
  1303. local cs = 0.5
  1304. function movecam()
  1305. local fc = game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1306. if fa == false then
  1307. repeat
  1308. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1309. local fp = fc.Position
  1310. fc.CFrame = CFrame.new(Vector3.new(fp.X,fp.Y+cam3,fp.Z),cam.CFrame.p)*CFrame.new(cam2,0,cam1)
  1311. fa = true
  1312. end
  1313. game:GetService('RunService').RenderStepped:Wait()
  1314. until not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC')
  1315. fa = false
  1316. end
  1317. end
  1318. function kp1(inputObject, gameProcessedEvent)
  1319. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1320. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1321. k1 = true
  1322. cam1 = cs end
  1323. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1324. k2 = true
  1325. cam1 = (cs*-1) end
  1326. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1327. k3 = true
  1328. cam2 = cs end
  1329. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1330. k4 = true
  1331. cam2 = (cs*-1) end
  1332. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1333. k5 = true
  1334. cam3 = cs end
  1335. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1336. k6 = true
  1337. cam3 = (cs*-1) end
  1338. end
  1339. end
  1340. game:GetService("UserInputService").InputBegan:connect(kp1)
  1341. function kp2(inputObject, gameProcessedEvent)
  1342. if not gameProcessedEvent and game:GetService('Players').LocalPlayer.Character and game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1343. if inputObject.KeyCode == Enum.KeyCode.W or inputObject.KeyCode == Enum.KeyCode.Up then
  1344. k1 = false
  1345. if k2 == false then
  1346. cam1 = 0
  1347. end
  1348. end
  1349. if inputObject.KeyCode == Enum.KeyCode.S or inputObject.KeyCode == Enum.KeyCode.Down then
  1350. k2 = false
  1351. if k1 == false then
  1352. cam1 = 0
  1353. end
  1354. end
  1355. if inputObject.KeyCode == Enum.KeyCode.A or inputObject.KeyCode == Enum.KeyCode.Left then
  1356. k3= false
  1357. if k4== false then
  1358. cam2 = 0
  1359. end
  1360. end
  1361. if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.Right then
  1362. k4 = false
  1363. if k3 == false then
  1364. cam2 = 0
  1365. end
  1366. end
  1367. if inputObject.KeyCode == Enum.KeyCode.E or inputObject.KeyCode == Enum.KeyCode.Space then
  1368. k5 = false
  1369. if k6 == false then
  1370. cam3 = 0
  1371. end
  1372. end
  1373. if inputObject.KeyCode == Enum.KeyCode.Q or inputObject.KeyCode == Enum.KeyCode.LeftControl then
  1374. k6 = false
  1375. if k5 == false then
  1376. cam3 = 0
  1377. end
  1378. end
  1379. end
  1380. end
  1381. game:GetService("UserInputService").InputEnded:connect(kp2)
  1382. function FC()
  1383. if not game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1384. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = true
  1385. local fc = Instance.new('Part',game:GetService('Players').LocalPlayer.Character)
  1386. fc.CanCollide = false
  1387. fc.Anchored = true
  1388. fc.Transparency = 1
  1389. fc.Size = Vector3.new(1,1,1)
  1390. fc.Name = 'xFC'
  1391. fc.CFrame = game:GetService('Players').LocalPlayer.Character.Head.CFrame
  1392. local cam = workspace.CurrentCamera
  1393. cam.CameraSubject = fc
  1394. cam.CameraType = 'Custom'
  1395. movecam()
  1396. end end
  1397. function UFC()
  1398. game:GetService('Players').LocalPlayer.PlayerScripts.ControlScript.Disabled = false
  1399. if game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC') then
  1400. game:GetService('Players').LocalPlayer.Character:FindFirstChild('xFC'):Destroy()
  1401. local cam = workspace.CurrentCamera
  1402. cam.CameraSubject = game:GetService('Players').LocalPlayer.Character.Humanoid
  1403. cam.CameraType = 'Custom'
  1404. end end
  1405.  
  1406. addcmd('freecam','freecam',{'fc'},
  1407. function(args, speaker)
  1408. if speaker.userId ~= LP.userId then
  1409. lponly(speaker)
  1410. else
  1411. FC()
  1412. end
  1413. end)
  1414.  
  1415. addcmd('unfreecam','unfreecam',{'nofreecam','unfc','nofc'},
  1416. function(args, speaker)
  1417. if speaker.userId ~= LP.userId then
  1418. lponly(speaker)
  1419. else
  1420. UFC()
  1421. end
  1422. end)
  1423.  
  1424. addcmd('nolight', 'no more light',{'unlight'},
  1425. function(args, speaker)
  1426. local players = getPlayer(args[1], speaker)
  1427. for i,v in pairs(players)do
  1428. local pchar=_char(v)
  1429. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  1430. if v1:IsA("PointLight") then
  1431. v1:Destroy()
  1432. end
  1433. end
  1434. end
  1435. end)
  1436.  
  1437. addcmd('ball', 'makes a hamster ball for a player',{'hamsterball'},
  1438. function(args, speaker)
  1439. local players = getPlayer(args[1], speaker)
  1440. for i,v in pairs(players)do
  1441. local pchar=_char(v)
  1442. scale = 10
  1443.  
  1444. function weld(tab)
  1445. local last = nil
  1446. for i,v in pairs(tab) do
  1447. if v:IsA("BasePart") then
  1448. if last then
  1449. local w = Instance.new("Weld",last)
  1450. w.Part0 = w.Parent
  1451. w.Part1 = v
  1452. local pos = last.CFrame:toObjectSpace(v.CFrame)
  1453. w.C0 = pos
  1454. end
  1455. last = v
  1456. end
  1457. end
  1458. end
  1459.  
  1460. function makeball(pos)
  1461. local model = Instance.new("Model",workspace)
  1462. model.Name = gPlayers[v].Name .. "ball"
  1463. local rand = BrickColor.Random()
  1464. pchar.Head.Anchored = true
  1465. for i=0,340,20 do
  1466. wait()
  1467. for z=-90,70,20 do
  1468. local p = Instance.new("Part",model)
  1469. p.formFactor = "Custom"
  1470. p.BrickColor = rand
  1471. p.Transparency = 0.5
  1472. p.Size = Vector3.new(scale/5.5,scale/5.5,scale/140)
  1473. p.Anchored = true
  1474. p.TopSurface = 0
  1475. p.BottomSurface = 0
  1476. p.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(z),math.rad(i),0) * CFrame.new(0,0,-scale/2)
  1477. p:breakJoints()
  1478. end
  1479. end
  1480. weld(model:children())
  1481. for i,v in pairs(model:children()) do v.Anchored = false end
  1482. pchar.Head.Anchored = false
  1483. model:MakeJoints()
  1484. end
  1485.  
  1486. if pchar then
  1487. makeball(pchar.HumanoidRootPart.Position+Vector3.new(0,scale/2-2.5,0))
  1488. end
  1489. end
  1490. end)
  1491.  
  1492. addcmd('unball', 'makes a hamster ball for a player',{'unhamsterball','noball','nohamsterball'},
  1493. function(args, speaker)
  1494. local players = getPlayer(args[1], speaker)
  1495. for i,v in pairs(players)do
  1496. local pchar=_char(v)
  1497. for _, child in pairs( workspace:GetChildren()) do
  1498. if child.Name == gPlayers[v].Name .. "ball" then
  1499. child:Destroy()
  1500. end
  1501. end
  1502. end
  1503. end)
  1504.  
  1505. addcmd('loopkill', 'rip person',{'lkill'},
  1506. function(args, speaker)
  1507. local players = getPlayer(args[1], speaker)
  1508. for i,v in pairs(players)do
  1509. if not FindTable(loopkillT, _players[v].Name) then
  1510. table.insert(loopkillT, _players[v].Name)
  1511. if args[1] == "all" then
  1512. Notify('Loopkilling everyone')
  1513. elseif args[1] == "others" then
  1514. Notify('Loopkilling others')
  1515. elseif args[1] == "friends" then
  1516. Notify('Loopkilling friends')
  1517. elseif args[1] == "nonfriends" then
  1518. Notify('Loopkilling nonfriends')
  1519. elseif args[1] == "team" then
  1520. Notify('Loopkilling your team')
  1521. elseif args[1] == "nonteam" then
  1522. Notify('Loopkilling the opposing team')
  1523. elseif args[1] == "guests" then
  1524. Notify('Loopkilling guests')
  1525. elseif args[1] == "admins" then
  1526. Notify('Loopkilling admins')
  1527. elseif args[1] == "nonadmins" then
  1528. Notify('Loopkilling non admins')
  1529. else
  1530. Notify('Loopkilling ' .. gPlayers[v].Name)
  1531. end
  1532. end
  1533. end
  1534. end)
  1535.  
  1536. addcmd('unloopkill', 'un rip person',{'unlkill'},
  1537. function(args, speaker)
  1538. local players = getPlayer(args[1], speaker)
  1539. for i,v in pairs(players)do
  1540. if FindTable(loopkillT, _players[v].Name) then
  1541. table.remove(loopkillT, GetInTable(loopkillT, _players[v].Name))
  1542. if args[1] == "all" then
  1543. Notify('No longer loopkilling everyone')
  1544. elseif args[1] == "others" then
  1545. Notify('No longer loopkilling others')
  1546. elseif args[1] == "friends" then
  1547. Notify('No longer loopkilling friends')
  1548. elseif args[1] == "nonfriends" then
  1549. Notify('No longer loopkilling nonfriends')
  1550. elseif args[1] == "team" then
  1551. Notify('No longer loopkilling your team')
  1552. elseif args[1] == "nonteam" then
  1553. Notify('No longer loopkilling the opposing team')
  1554. elseif args[1] == "guests" then
  1555. Notify('No longer loopkilling guests')
  1556. elseif args[1] == "admins" then
  1557. Notify('No longer loopkilling admins')
  1558. elseif args[1] == "nonadmins" then
  1559. Notify('No longer loopkilling nonadmins')
  1560. else
  1561. Notify('No longer loopkilling ' .. gPlayers[v].Name)
  1562. end
  1563. end
  1564. end
  1565. end)
  1566.  
  1567. addcmd('disabletools', 'removes their tools',{'loopremovetools'},
  1568. function(args, speaker)
  1569. local players = getPlayer(args[1], speaker)
  1570. for i,v in pairs(players)do
  1571. if not FindTable(disabletoolsT, _players[v].Name) then
  1572. table.insert(disabletoolsT, _players[v].Name)
  1573. if args[1] == "all" then
  1574. Notify('Disabled tools for everyone')
  1575. elseif args[1] == "others" then
  1576. Notify('Disabled tools for others')
  1577. elseif args[1] == "friends" then
  1578. Notify('Disabled tools for friends')
  1579. elseif args[1] == "nonfriends" then
  1580. Notify('Disabled tools for nonfriends')
  1581. elseif args[1] == "team" then
  1582. Notify('Disabled tools for your team')
  1583. elseif args[1] == "nonteam" then
  1584. Notify('Disabled tools for the opposing team')
  1585. elseif args[1] == "guests" then
  1586. Notify('Disabled tools for guests')
  1587. elseif args[1] == "admins" then
  1588. Notify('Disabled tools for admins')
  1589. elseif args[1] == "nonadmins" then
  1590. Notify('Disabled tools for nonadmins')
  1591. else
  1592. Notify('Disabled tools for ' .. gPlayers[v].Name)
  1593. end
  1594. end
  1595. end
  1596. end)
  1597.  
  1598. local song = nil
  1599. addcmd('zinnia', 'asdf for moon',{},
  1600. function(args, speaker)
  1601. local players = getPlayer(args[1], speaker)
  1602. for i,v in pairs(players)do
  1603. function zinniaKick(name)
  1604. spawn(function()
  1605. if song == nil then
  1606. song = Instance.new("Sound",workspace)
  1607. song.SoundId = "rbxassetid://190423831"
  1608. song.Volume = 1
  1609. song.Looped = true
  1610. song:Play()
  1611. end
  1612. local zin = Instance.new("Part")
  1613. zin.Name = "CuteZinnia"
  1614. zin.Anchored = true
  1615. zin.CanCollide = false
  1616. local mesh = Instance.new("SpecialMesh")
  1617. mesh.MeshId = "rbxassetid://1175670539"
  1618. mesh.TextureId = "rbxassetid://1175670558"
  1619. mesh.Scale = Vector3.new(0.05,0.05,0.05)
  1620. mesh.Offset = Vector3.new(0,0.88,0)
  1621. mesh.Parent = zin
  1622. local char = game:GetService("Players")[name].Character
  1623. char.PrimaryPart = char.HumanoidRootPart
  1624. if char:FindFirstChild("Torso") then
  1625. char.Torso.Anchored = true
  1626. else
  1627. char.UpperTorso.Anchored = true
  1628. end
  1629. 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))
  1630. zin.Parent = workspace
  1631. 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)})
  1632. tween:Play()
  1633. wait(3)
  1634. for i = 50,1,-1 do
  1635. 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))
  1636. wait()
  1637. end
  1638. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  1639. wait(1)
  1640. local turns = 0
  1641.  
  1642. while turns < 200 do
  1643. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  1644. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  1645. turns = turns + 1
  1646. wait()
  1647. end
  1648. for i = 1,10 do
  1649. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  1650. char:SetPrimaryPartCFrame(zin.CFrame + CFrame.Angles(0,math.pi/2,0)*zin.CFrame.lookVector*3.5 + Vector3.new(0,3,0))
  1651. wait()
  1652. end
  1653. local rX,rZ = 0,0
  1654. repeat rX = math.random(-10000,10000) until math.abs(rX) > 5000
  1655. repeat rZ = math.random(-10000,10000) until math.abs(rZ) > 5000
  1656. local bv = Instance.new("BodyForce",char.HumanoidRootPart)
  1657. bv.Force = Vector3.new(rX,10000,rZ)
  1658. if char:FindFirstChild("Torso") then
  1659. char.Torso.Anchored = false
  1660. else
  1661. char.UpperTorso.Anchored = false
  1662. end
  1663. function KICK(P)
  1664. spawn(function()
  1665. for i = 1,5 do
  1666. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then
  1667. P.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  1668. local SP = Instance.new('SkateboardPlatform', P.Character) SP.Position = P.Character.HumanoidRootPart.Position SP.Transparency = 1
  1669. spawn(function()
  1670. repeat wait()
  1671. if P.Character and P.Character:FindFirstChild('HumanoidRootPart') then SP.Position = P.Character.HumanoidRootPart.Position end
  1672. until not game:GetService("Players"):FindFirstChild(P.Name)
  1673. end)
  1674. P.Character.HumanoidRootPart.Anchored = true
  1675. end
  1676. end
  1677. end)
  1678. end
  1679. spawn(function()
  1680. if game:GetService("Players")[name] == game:GetService("Players").LocalPlayer then wait(10) else wait(5) end
  1681. game:GetService("Players")[name].CharacterAdded:Connect(function()
  1682. wait()
  1683. KICK(game:GetService("Players")[name])
  1684. end)
  1685. KICK(game:GetService("Players")[name])
  1686. end)
  1687. for i = 1,20 do
  1688. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  1689. wait()
  1690. end
  1691. while turns > 0 do
  1692. zin.CFrame = zin.CFrame*CFrame.Angles(0,(-math.pi/3)*turns/200,0)
  1693. turns = turns - 5
  1694. wait()
  1695. end
  1696. wait(1)
  1697. zin.Name = "GoneZinnia"
  1698. local go = Instance.new("BodyVelocity",zin)
  1699. go.Velocity = zin.CFrame.lookVector * 100
  1700. go.MaxForce = Vector3.new(1000000,1000000,1000000)
  1701. zin.Anchored = false
  1702. wait(5)
  1703. if song and not workspace:FindFirstChild("CuteZinnia") then
  1704. song:Destroy()
  1705. song = nil
  1706. end
  1707. end)
  1708. end
  1709. function CreateInstance(cls,props)
  1710. local inst = Instance.new(cls)
  1711. for i,v in pairs(props) do
  1712. inst[i] = v
  1713. end
  1714. return inst
  1715. end
  1716. zinniaKick(gPlayers[v].Name)
  1717. end
  1718. end)
  1719.  
  1720. addcmd('rainbowname', 'color spam their name tag',{'rname'},
  1721. function(args, speaker)
  1722. local players = getPlayer(args[1], speaker)
  1723. for i,v in pairs(players)do
  1724. if not FindTable(rainbowT, _players[v].Name) then
  1725. table.insert(rainbowT, _players[v].Name)
  1726. if args[1] == "all" then
  1727. Notify('Gave everyone rainbow name')
  1728. elseif args[1] == "others" then
  1729. Notify('Gave others rainbow name')
  1730. elseif args[1] == "friends" then
  1731. Notify('Gave friends rainbow name')
  1732. elseif args[1] == "nonfriends" then
  1733. Notify('Gave nonfriends rainbow name')
  1734. elseif args[1] == "team" then
  1735. Notify('Gave your team rainbow name')
  1736. elseif args[1] == "nonteam" then
  1737. Notify('Gave the opposing team rainbow name')
  1738. elseif args[1] == "guests" then
  1739. Notify('Gave guests rainbow name')
  1740. elseif args[1] == "admins" then
  1741. Notify('Gave admins rainbowname')
  1742. elseif args[1] == "nonadmins" then
  1743. Notify('Gave nonadmins rainbow name')
  1744. else
  1745. Notify('Gave ' .. gPlayers[v].Name .. ' rainbow name')
  1746. end
  1747. end
  1748. end
  1749. end)
  1750.  
  1751. addcmd('unrainbowname', 'removes their colorful name',{'unrname'},
  1752. function(args, speaker)
  1753. local players = getPlayer(args[1], speaker)
  1754. for i,v in pairs(players)do
  1755. if FindTable(rainbowT, _players[v].Name) then
  1756. table.remove(rainbowT, GetInTable(rainbowT, _players[v].Name))
  1757. _players[v].Neutral = true
  1758. if args[1] == "all" then
  1759. Notify('Disabled rainbow name for everyone')
  1760. elseif args[1] == "others" then
  1761. Notify('Disabled others rainbow name')
  1762. elseif args[1] == "friends" then
  1763. Notify('Disabled friends rainbow name')
  1764. elseif args[1] == "nonfriends" then
  1765. Notify('Disabled non friends rainbow name')
  1766. elseif args[1] == "team" then
  1767. Notify('Disabled rainbow name for your team')
  1768. elseif args[1] == "nonteam" then
  1769. Notify('Disabled rainbow name for the opposing team')
  1770. elseif args[1] == "guests" then
  1771. Notify('Disabled rainbow name for guests')
  1772. elseif args[1] == "admins" then
  1773. Notify('Disabled rainbow name for admins')
  1774. elseif args[1] == "nonadmins" then
  1775. Notify('Disabled rainbow name for non admins')
  1776. else
  1777. Notify('Disabled rainbow name for ' .. gPlayers[v].Name)
  1778. end
  1779. end
  1780. end
  1781. end)
  1782.  
  1783. addcmd('terrain', 'gives you terrain tools',{'tt'},
  1784. function(args, speaker)
  1785. if speaker.userId ~= LP.userId then
  1786. lponly(speaker)
  1787. else
  1788. --Terrain Script
  1789. --Edge#3467/IoIman616
  1790.  
  1791. for _, child in pairs( game.Players.LocalPlayer.PlayerGui:GetChildren()) do
  1792. if child.Name == "MaterialGui" then
  1793. child:Destroy()
  1794. end
  1795. end
  1796.  
  1797. function sandbox(var,func)
  1798. local env = getfenv(func)
  1799. local newenv = setmetatable({},{
  1800. __index = function(self,k)
  1801. if k=="script" then
  1802. return var
  1803. else
  1804. return env[k]
  1805. end
  1806. end,
  1807. })
  1808. setfenv(func,newenv)
  1809. return func
  1810. end
  1811. cors = {}
  1812. mas = Instance.new("Model",game:GetService("Lighting"))
  1813. HopperBin0 = Instance.new("HopperBin")
  1814. HopperBin0.Name = "Terrain Build"
  1815. HopperBin0.Parent = mas
  1816. for i,v in pairs(mas:GetChildren()) do
  1817. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1818. pcall(function() v:MakeJoints() end)
  1819. end
  1820. mas:Destroy()
  1821. for i,v in pairs(cors) do
  1822. spawn(function()
  1823. pcall(v)
  1824. end)
  1825. end
  1826.  
  1827. wait(0.01)
  1828.  
  1829. function sandbox(var,func)
  1830. local env = getfenv(func)
  1831. local newenv = setmetatable({},{
  1832. __index = function(self,k)
  1833. if k=="script" then
  1834. return var
  1835. else
  1836. return env[k]
  1837. end
  1838. end,
  1839. })
  1840. setfenv(func,newenv)
  1841. return func
  1842. end
  1843. cors = {}
  1844. mas = Instance.new("Model",game:GetService("Lighting"))
  1845. ScreenGui0 = Instance.new("ScreenGui")
  1846. ImageLabel1 = Instance.new("ImageLabel")
  1847. ImageButton2 = Instance.new("ImageButton")
  1848. Frame3 = Instance.new("Frame")
  1849. NumberValue4 = Instance.new("NumberValue")
  1850. ImageButton5 = Instance.new("ImageButton")
  1851. Frame6 = Instance.new("Frame")
  1852. NumberValue7 = Instance.new("NumberValue")
  1853. ImageButton8 = Instance.new("ImageButton")
  1854. Frame9 = Instance.new("Frame")
  1855. NumberValue10 = Instance.new("NumberValue")
  1856. ImageButton11 = Instance.new("ImageButton")
  1857. Frame12 = Instance.new("Frame")
  1858. NumberValue13 = Instance.new("NumberValue")
  1859. ImageButton14 = Instance.new("ImageButton")
  1860. Frame15 = Instance.new("Frame")
  1861. NumberValue16 = Instance.new("NumberValue")
  1862. ImageButton17 = Instance.new("ImageButton")
  1863. Frame18 = Instance.new("Frame")
  1864. NumberValue19 = Instance.new("NumberValue")
  1865. ImageButton20 = Instance.new("ImageButton")
  1866. Frame21 = Instance.new("Frame")
  1867. NumberValue22 = Instance.new("NumberValue")
  1868. ImageButton23 = Instance.new("ImageButton")
  1869. Frame24 = Instance.new("Frame")
  1870. NumberValue25 = Instance.new("NumberValue")
  1871. ImageButton26 = Instance.new("ImageButton")
  1872. Frame27 = Instance.new("Frame")
  1873. NumberValue28 = Instance.new("NumberValue")
  1874. ImageButton29 = Instance.new("ImageButton")
  1875. Frame30 = Instance.new("Frame")
  1876. NumberValue31 = Instance.new("NumberValue")
  1877. ImageButton32 = Instance.new("ImageButton")
  1878. Frame33 = Instance.new("Frame")
  1879. NumberValue34 = Instance.new("NumberValue")
  1880. ImageButton35 = Instance.new("ImageButton")
  1881. Frame36 = Instance.new("Frame")
  1882. NumberValue37 = Instance.new("NumberValue")
  1883. ImageButton38 = Instance.new("ImageButton")
  1884. Frame39 = Instance.new("Frame")
  1885. NumberValue40 = Instance.new("NumberValue")
  1886. ImageButton41 = Instance.new("ImageButton")
  1887. Frame42 = Instance.new("Frame")
  1888. NumberValue43 = Instance.new("NumberValue")
  1889. ImageButton44 = Instance.new("ImageButton")
  1890. Frame45 = Instance.new("Frame")
  1891. NumberValue46 = Instance.new("NumberValue")
  1892. ImageButton47 = Instance.new("ImageButton")
  1893. Frame48 = Instance.new("Frame")
  1894. NumberValue49 = Instance.new("NumberValue")
  1895. ImageButton50 = Instance.new("ImageButton")
  1896. Frame51 = Instance.new("Frame")
  1897. NumberValue52 = Instance.new("NumberValue")
  1898. ImageButton53 = Instance.new("ImageButton")
  1899. Frame54 = Instance.new("Frame")
  1900. ScreenGui0.Name = "MaterialGui"
  1901. ScreenGui0.Parent = mas
  1902. ImageLabel1.Name = "MaterialMenu"
  1903. ImageLabel1.Parent = ScreenGui0
  1904. ImageLabel1.Transparency = 1
  1905. ImageLabel1.Size = UDim2.new(0, 100, 0, 450)
  1906. ImageLabel1.Position = UDim2.new(0, 0, 1, -550)
  1907. ImageLabel1.BackgroundTransparency = 1
  1908. ImageLabel1.ZIndex = 2
  1909. ImageLabel1.Image = "rbxasset://textures/ui/MaterialMenu.png"
  1910. ImageButton2.Name = "Grass"
  1911. ImageButton2.Parent = ImageLabel1
  1912. ImageButton2.Transparency = 1
  1913. ImageButton2.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  1914. ImageButton2.Position = UDim2.new(0.0700000003, 0, 0.0599999987, 0)
  1915. ImageButton2.BackgroundTransparency = 1
  1916. ImageButton2.ZIndex = 4
  1917. ImageButton2.Image = "http://www.roblox.com/asset/?id=56563112"
  1918. Frame3.Name = "Selection"
  1919. Frame3.Parent = ImageButton2
  1920. Frame3.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  1921. Frame3.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  1922. Frame3.BackgroundColor3 = Color3.new(1, 1, 1)
  1923. Frame3.BorderSizePixel = 0
  1924. Frame3.ZIndex = 3
  1925. NumberValue4.Name = "num"
  1926. NumberValue4.Parent = ImageButton2
  1927. NumberValue4.Value = 1
  1928. ImageButton5.Name = "Sand"
  1929. ImageButton5.Parent = ImageLabel1
  1930. ImageButton5.Transparency = 1
  1931. ImageButton5.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  1932. ImageButton5.Position = UDim2.new(0.524545431, 0, 0.0599999987, 0)
  1933. ImageButton5.BackgroundTransparency = 1
  1934. ImageButton5.ZIndex = 4
  1935. ImageButton5.Image = "http://www.roblox.com/asset/?id=62356652"
  1936. Frame6.Name = "Selection"
  1937. Frame6.Parent = ImageButton5
  1938. Frame6.Transparency = 1
  1939. Frame6.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  1940. Frame6.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  1941. Frame6.BackgroundColor3 = Color3.new(1, 1, 1)
  1942. Frame6.BackgroundTransparency = 1
  1943. Frame6.BorderSizePixel = 0
  1944. Frame6.ZIndex = 3
  1945. NumberValue7.Name = "num"
  1946. NumberValue7.Parent = ImageButton5
  1947. NumberValue7.Value = 2
  1948. ImageButton8.Name = "Brick"
  1949. ImageButton8.Parent = ImageLabel1
  1950. ImageButton8.Transparency = 1
  1951. ImageButton8.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  1952. ImageButton8.Position = UDim2.new(0.0700000003, 0, 0.161010101, 0)
  1953. ImageButton8.BackgroundTransparency = 1
  1954. ImageButton8.ZIndex = 4
  1955. ImageButton8.Image = "http://www.roblox.com/asset/?id=65961537"
  1956. Frame9.Name = "Selection"
  1957. Frame9.Parent = ImageButton8
  1958. Frame9.Transparency = 1
  1959. Frame9.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  1960. Frame9.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  1961. Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
  1962. Frame9.BackgroundTransparency = 1
  1963. Frame9.BorderSizePixel = 0
  1964. Frame9.ZIndex = 3
  1965. NumberValue10.Name = "num"
  1966. NumberValue10.Parent = ImageButton8
  1967. NumberValue10.Value = 3
  1968. ImageButton11.Name = "Granite"
  1969. ImageButton11.Parent = ImageLabel1
  1970. ImageButton11.Transparency = 1
  1971. ImageButton11.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  1972. ImageButton11.Position = UDim2.new(0.524545431, 0, 0.161010101, 0)
  1973. ImageButton11.BackgroundTransparency = 1
  1974. ImageButton11.ZIndex = 4
  1975. ImageButton11.Image = "http://www.roblox.com/asset/?id=67532153"
  1976. Frame12.Name = "Selection"
  1977. Frame12.Parent = ImageButton11
  1978. Frame12.Transparency = 1
  1979. Frame12.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  1980. Frame12.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  1981. Frame12.BackgroundColor3 = Color3.new(1, 1, 1)
  1982. Frame12.BackgroundTransparency = 1
  1983. Frame12.BorderSizePixel = 0
  1984. Frame12.ZIndex = 3
  1985. NumberValue13.Name = "num"
  1986. NumberValue13.Parent = ImageButton11
  1987. NumberValue13.Value = 4
  1988. ImageButton14.Name = "Asphalt"
  1989. ImageButton14.Parent = ImageLabel1
  1990. ImageButton14.Transparency = 1
  1991. ImageButton14.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  1992. ImageButton14.Position = UDim2.new(0.0700000003, 0, 0.2620202, 0)
  1993. ImageButton14.BackgroundTransparency = 1
  1994. ImageButton14.ZIndex = 4
  1995. ImageButton14.Image = "http://www.roblox.com/asset/?id=67532038"
  1996. Frame15.Name = "Selection"
  1997. Frame15.Parent = ImageButton14
  1998. Frame15.Transparency = 1
  1999. Frame15.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2000. Frame15.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2001. Frame15.BackgroundColor3 = Color3.new(1, 1, 1)
  2002. Frame15.BackgroundTransparency = 1
  2003. Frame15.BorderSizePixel = 0
  2004. Frame15.ZIndex = 3
  2005. NumberValue16.Name = "num"
  2006. NumberValue16.Parent = ImageButton14
  2007. NumberValue16.Value = 5
  2008. ImageButton17.Name = "Iron"
  2009. ImageButton17.Parent = ImageLabel1
  2010. ImageButton17.Transparency = 1
  2011. ImageButton17.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2012. ImageButton17.Position = UDim2.new(0.524545431, 0, 0.2620202, 0)
  2013. ImageButton17.BackgroundTransparency = 1
  2014. ImageButton17.ZIndex = 4
  2015. ImageButton17.Image = "http://www.roblox.com/asset/?id=67532093"
  2016. Frame18.Name = "Selection"
  2017. Frame18.Parent = ImageButton17
  2018. Frame18.Transparency = 1
  2019. Frame18.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2020. Frame18.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2021. Frame18.BackgroundColor3 = Color3.new(1, 1, 1)
  2022. Frame18.BackgroundTransparency = 1
  2023. Frame18.BorderSizePixel = 0
  2024. Frame18.ZIndex = 3
  2025. NumberValue19.Name = "num"
  2026. NumberValue19.Parent = ImageButton17
  2027. NumberValue19.Value = 6
  2028. ImageButton20.Name = "Aluminum"
  2029. ImageButton20.Parent = ImageLabel1
  2030. ImageButton20.Transparency = 1
  2031. ImageButton20.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2032. ImageButton20.Position = UDim2.new(0.0700000003, 0, 0.363030314, 0)
  2033. ImageButton20.BackgroundTransparency = 1
  2034. ImageButton20.ZIndex = 4
  2035. ImageButton20.Image = "http://www.roblox.com/asset/?id=67531995"
  2036. Frame21.Name = "Selection"
  2037. Frame21.Parent = ImageButton20
  2038. Frame21.Transparency = 1
  2039. Frame21.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2040. Frame21.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2041. Frame21.BackgroundColor3 = Color3.new(1, 1, 1)
  2042. Frame21.BackgroundTransparency = 1
  2043. Frame21.BorderSizePixel = 0
  2044. Frame21.ZIndex = 3
  2045. NumberValue22.Name = "num"
  2046. NumberValue22.Parent = ImageButton20
  2047. NumberValue22.Value = 7
  2048. ImageButton23.Name = "Gold"
  2049. ImageButton23.Parent = ImageLabel1
  2050. ImageButton23.Transparency = 1
  2051. ImageButton23.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2052. ImageButton23.Position = UDim2.new(0.524545431, 0, 0.363030314, 0)
  2053. ImageButton23.BackgroundTransparency = 1
  2054. ImageButton23.ZIndex = 4
  2055. ImageButton23.Image = "http://www.roblox.com/asset/?id=67532118"
  2056. Frame24.Name = "Selection"
  2057. Frame24.Parent = ImageButton23
  2058. Frame24.Transparency = 1
  2059. Frame24.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2060. Frame24.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2061. Frame24.BackgroundColor3 = Color3.new(1, 1, 1)
  2062. Frame24.BackgroundTransparency = 1
  2063. Frame24.BorderSizePixel = 0
  2064. Frame24.ZIndex = 3
  2065. NumberValue25.Name = "num"
  2066. NumberValue25.Parent = ImageButton23
  2067. NumberValue25.Value = 8
  2068. ImageButton26.Name = "Plank"
  2069. ImageButton26.Parent = ImageLabel1
  2070. ImageButton26.Transparency = 1
  2071. ImageButton26.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2072. ImageButton26.Position = UDim2.new(0.0700000003, 0, 0.464040399, 0)
  2073. ImageButton26.BackgroundTransparency = 1
  2074. ImageButton26.ZIndex = 4
  2075. ImageButton26.Image = "http://www.roblox.com/asset/?id=67532015"
  2076. Frame27.Name = "Selection"
  2077. Frame27.Parent = ImageButton26
  2078. Frame27.Transparency = 1
  2079. Frame27.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2080. Frame27.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2081. Frame27.BackgroundColor3 = Color3.new(1, 1, 1)
  2082. Frame27.BackgroundTransparency = 1
  2083. Frame27.BorderSizePixel = 0
  2084. Frame27.ZIndex = 3
  2085. NumberValue28.Name = "num"
  2086. NumberValue28.Parent = ImageButton26
  2087. NumberValue28.Value = 9
  2088. ImageButton29.Name = "Log"
  2089. ImageButton29.Parent = ImageLabel1
  2090. ImageButton29.Transparency = 1
  2091. ImageButton29.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2092. ImageButton29.Position = UDim2.new(0.524545431, 0, 0.464040399, 0)
  2093. ImageButton29.BackgroundTransparency = 1
  2094. ImageButton29.ZIndex = 4
  2095. ImageButton29.Image = "http://www.roblox.com/asset/?id=67532051"
  2096. Frame30.Name = "Selection"
  2097. Frame30.Parent = ImageButton29
  2098. Frame30.Transparency = 1
  2099. Frame30.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2100. Frame30.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2101. Frame30.BackgroundColor3 = Color3.new(1, 1, 1)
  2102. Frame30.BackgroundTransparency = 1
  2103. Frame30.BorderSizePixel = 0
  2104. Frame30.ZIndex = 3
  2105. NumberValue31.Name = "num"
  2106. NumberValue31.Parent = ImageButton29
  2107. NumberValue31.Value = 10
  2108. ImageButton32.Name = "Gravel"
  2109. ImageButton32.Parent = ImageLabel1
  2110. ImageButton32.Transparency = 1
  2111. ImageButton32.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2112. ImageButton32.Position = UDim2.new(0.0700000003, 0, 0.565050483, 0)
  2113. ImageButton32.BackgroundTransparency = 1
  2114. ImageButton32.ZIndex = 4
  2115. ImageButton32.Image = "http://www.roblox.com/asset/?id=67532206"
  2116. Frame33.Name = "Selection"
  2117. Frame33.Parent = ImageButton32
  2118. Frame33.Transparency = 1
  2119. Frame33.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2120. Frame33.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2121. Frame33.BackgroundColor3 = Color3.new(1, 1, 1)
  2122. Frame33.BackgroundTransparency = 1
  2123. Frame33.BorderSizePixel = 0
  2124. Frame33.ZIndex = 3
  2125. NumberValue34.Name = "num"
  2126. NumberValue34.Parent = ImageButton32
  2127. NumberValue34.Value = 11
  2128. ImageButton35.Name = "Cinder"
  2129. ImageButton35.Parent = ImageLabel1
  2130. ImageButton35.Transparency = 1
  2131. ImageButton35.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2132. ImageButton35.Position = UDim2.new(0.524545431, 0, 0.565050483, 0)
  2133. ImageButton35.BackgroundTransparency = 1
  2134. ImageButton35.ZIndex = 4
  2135. ImageButton35.Image = "http://www.roblox.com/asset/?id=67532103"
  2136. Frame36.Name = "Selection"
  2137. Frame36.Parent = ImageButton35
  2138. Frame36.Transparency = 1
  2139. Frame36.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2140. Frame36.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2141. Frame36.BackgroundColor3 = Color3.new(1, 1, 1)
  2142. Frame36.BackgroundTransparency = 1
  2143. Frame36.BorderSizePixel = 0
  2144. Frame36.ZIndex = 3
  2145. NumberValue37.Name = "num"
  2146. NumberValue37.Parent = ImageButton35
  2147. NumberValue37.Value = 12
  2148. ImageButton38.Name = "Stone"
  2149. ImageButton38.Parent = ImageLabel1
  2150. ImageButton38.Transparency = 1
  2151. ImageButton38.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2152. ImageButton38.Position = UDim2.new(0.0700000003, 0, 0.666060627, 0)
  2153. ImageButton38.BackgroundTransparency = 1
  2154. ImageButton38.ZIndex = 4
  2155. ImageButton38.Image = "http://www.roblox.com/asset/?id=67531804"
  2156. Frame39.Name = "Selection"
  2157. Frame39.Parent = ImageButton38
  2158. Frame39.Transparency = 1
  2159. Frame39.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2160. Frame39.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2161. Frame39.BackgroundColor3 = Color3.new(1, 1, 1)
  2162. Frame39.BackgroundTransparency = 1
  2163. Frame39.BorderSizePixel = 0
  2164. Frame39.ZIndex = 3
  2165. NumberValue40.Name = "num"
  2166. NumberValue40.Parent = ImageButton38
  2167. NumberValue40.Value = 13
  2168. ImageButton41.Name = "Cement"
  2169. ImageButton41.Parent = ImageLabel1
  2170. ImageButton41.Transparency = 1
  2171. ImageButton41.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2172. ImageButton41.Position = UDim2.new(0.524545431, 0, 0.666060627, 0)
  2173. ImageButton41.BackgroundTransparency = 1
  2174. ImageButton41.ZIndex = 4
  2175. ImageButton41.Image = "http://www.roblox.com/asset/?id=67532059"
  2176. Frame42.Name = "Selection"
  2177. Frame42.Parent = ImageButton41
  2178. Frame42.Transparency = 1
  2179. Frame42.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2180. Frame42.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2181. Frame42.BackgroundColor3 = Color3.new(1, 1, 1)
  2182. Frame42.BackgroundTransparency = 1
  2183. Frame42.BorderSizePixel = 0
  2184. Frame42.ZIndex = 3
  2185. NumberValue43.Name = "num"
  2186. NumberValue43.Parent = ImageButton41
  2187. NumberValue43.Value = 14
  2188. ImageButton44.Name = "Red Plastic"
  2189. ImageButton44.Parent = ImageLabel1
  2190. ImageButton44.Transparency = 1
  2191. ImageButton44.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2192. ImageButton44.Position = UDim2.new(0.0700000003, 0, 0.767070711, 0)
  2193. ImageButton44.BackgroundTransparency = 1
  2194. ImageButton44.ZIndex = 4
  2195. ImageButton44.Image = "http://www.roblox.com/asset/?id=67531848"
  2196. Frame45.Name = "Selection"
  2197. Frame45.Parent = ImageButton44
  2198. Frame45.Transparency = 1
  2199. Frame45.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2200. Frame45.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2201. Frame45.BackgroundColor3 = Color3.new(1, 1, 1)
  2202. Frame45.BackgroundTransparency = 1
  2203. Frame45.BorderSizePixel = 0
  2204. Frame45.ZIndex = 3
  2205. NumberValue46.Name = "num"
  2206. NumberValue46.Parent = ImageButton44
  2207. NumberValue46.Value = 15
  2208. ImageButton47.Name = "Blue Plastic"
  2209. ImageButton47.Parent = ImageLabel1
  2210. ImageButton47.Transparency = 1
  2211. ImageButton47.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2212. ImageButton47.Position = UDim2.new(0.524545431, 0, 0.767070711, 0)
  2213. ImageButton47.BackgroundTransparency = 1
  2214. ImageButton47.ZIndex = 4
  2215. ImageButton47.Image = "http://www.roblox.com/asset/?id=67531924"
  2216. Frame48.Name = "Selection"
  2217. Frame48.Parent = ImageButton47
  2218. Frame48.Transparency = 1
  2219. Frame48.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2220. Frame48.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2221. Frame48.BackgroundColor3 = Color3.new(1, 1, 1)
  2222. Frame48.BackgroundTransparency = 1
  2223. Frame48.BorderSizePixel = 0
  2224. Frame48.ZIndex = 3
  2225. NumberValue49.Name = "num"
  2226. NumberValue49.Parent = ImageButton47
  2227. NumberValue49.Value = 16
  2228. ImageButton50.Name = "Water"
  2229. ImageButton50.Parent = ImageLabel1
  2230. ImageButton50.Transparency = 1
  2231. ImageButton50.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2232. ImageButton50.Position = UDim2.new(0.0700000003, 0, 0.867999971, 0)
  2233. ImageButton50.BackgroundTransparency = 1
  2234. ImageButton50.ZIndex = 4
  2235. ImageButton50.Image = "https://www.roblox.com/Game/Tools/ThumbnailAsset.ashx?fmt=png&wd=75&ht=75&aid=82717697"
  2236. Frame51.Name = "Selection"
  2237. Frame51.Parent = ImageButton50
  2238. Frame51.Transparency = 1
  2239. Frame51.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2240. Frame51.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2241. Frame51.BackgroundColor3 = Color3.new(1, 1, 1)
  2242. Frame51.BackgroundTransparency = 1
  2243. Frame51.BorderSizePixel = 0
  2244. Frame51.ZIndex = 3
  2245. NumberValue52.Name = "num"
  2246. NumberValue52.Parent = ImageButton50
  2247. NumberValue52.Value = 17
  2248. ImageButton53.Name = "Dig"
  2249. ImageButton53.Parent = ImageLabel1
  2250. ImageButton53.Transparency = 1
  2251. ImageButton53.Size = UDim2.new(0.400000006, 0, 0.088888891, 0)
  2252. ImageButton53.Position = UDim2.new(0.524999976, 0, 0.867999971, 0)
  2253. ImageButton53.BackgroundTransparency = 1
  2254. ImageButton53.ZIndex = 4
  2255. ImageButton53.Image = "http://www.roblox.com/asset/?id=7814201"
  2256. Frame54.Name = "Selection"
  2257. Frame54.Parent = ImageButton53
  2258. Frame54.Transparency = 1
  2259. print('Terrain Script Loaded. Made by Edge#3467/IoIman616. :^3')
  2260. Frame54.Size = UDim2.new(1.10000002, 0, 1.10000002, 0)
  2261. Frame54.Position = UDim2.new(-0.0500000007, 0, -0.0500000007, 0)
  2262. Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
  2263. Frame54.BackgroundTransparency = 1
  2264. Frame54.BorderSizePixel = 0
  2265. Frame54.ZIndex = 3
  2266. for i,v in pairs(mas:GetChildren()) do
  2267. v.Parent = game.Players.LocalPlayer.PlayerGui
  2268. pcall(function() v:MakeJoints() end)
  2269. end
  2270. mas:Destroy()
  2271. for i,v in pairs(cors) do
  2272. spawn(function()
  2273. pcall(v)
  2274. end)
  2275. end
  2276. wait(0.01)
  2277. game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  2278. material = 1
  2279. local Terrain = game.Workspace.Terrain
  2280. local CC = game.Workspace.CurrentCamera
  2281.  
  2282. local SelB = Instance.new("SelectionBox")
  2283. SelB.Color = BrickColor.new("Bright green")
  2284.  
  2285. local SelP = Instance.new("Part")
  2286. SelP.Anchored = true
  2287. SelP.formFactor = Enum.FormFactor.Custom
  2288.  
  2289. HopperBin0.Selected:connect(function(M)
  2290. SelB.Parent = game.Players.LocalPlayer.PlayerGui
  2291. game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = true
  2292. SelB.Adornee = nil
  2293.  
  2294. local ClickState = "None"
  2295.  
  2296. local ClickType = 1
  2297.  
  2298. local TerrainClick = 1
  2299.  
  2300. local P1 = nil
  2301.  
  2302. M.KeyDown:connect(function(K)
  2303. if K == "q" then
  2304. ClickType = 1
  2305. elseif K == "e" then
  2306. ClickType = 2
  2307. elseif K == "z" then
  2308. TerrainClick = 0
  2309. elseif K == "x" then
  2310. TerrainClick = 1
  2311. elseif K == "c" then
  2312. TerrainClick = 2
  2313. elseif K == "v" then
  2314. TerrainClick = 3
  2315. elseif K == "b" then
  2316. TerrainClick = 4
  2317. end
  2318. end)
  2319.  
  2320. M.Button1Down:connect(function()
  2321. if not M.Target then return end
  2322. local Hit = M.Hit
  2323. local cellPos
  2324. if ClickType == 1 then
  2325. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2326. else
  2327. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2328. end
  2329. if ClickState == "None" then
  2330. ClickState = "Click1"
  2331. P1 = cellPos
  2332. end
  2333. end)
  2334. M.Button1Up:connect(function()
  2335. if not M.Target then return end
  2336. local Hit = M.Hit
  2337. local cellPos
  2338. if ClickType == 1 then
  2339. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2340. else
  2341. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2342. end
  2343. if ClickState == "Click1" then
  2344. ClickState = "None"
  2345. local MinX = math.min(P1.x,cellPos.x)
  2346. local MaxX = math.max(P1.x,cellPos.x)
  2347. local MinY = math.min(P1.y,cellPos.y)
  2348. local MaxY = math.max(P1.y,cellPos.y)
  2349. local MinZ = math.min(P1.z,cellPos.z)
  2350. local MaxZ = math.max(P1.z,cellPos.z)
  2351. for y=MinY,MaxY do
  2352. for x=MinX,MaxX do
  2353. for z=MinZ,MaxZ do
  2354. Terrain:SetCell(x, y, z, material, 0, 0)
  2355. end
  2356. end
  2357. wait()
  2358. end
  2359. SelB.Adornee = nil
  2360. end
  2361. end)
  2362. M.Move:connect(function()
  2363. if not M.Target then return end
  2364. local Hit = M.Hit
  2365. local cellPos
  2366. if ClickType == 1 then
  2367. cellPos = Terrain:WorldToCellPreferEmpty(Vector3.new(Hit.x, Hit.y, Hit.z))
  2368. else
  2369. cellPos = Terrain:WorldToCellPreferSolid(Vector3.new(Hit.x, Hit.y, Hit.z))
  2370. end
  2371. if ClickState == "Click1" then
  2372. SelB.Adornee = SelP
  2373. local W1 = Terrain:CellCenterToWorld(P1.x,P1.y,P1.z)
  2374. local W2 = Terrain:CellCenterToWorld(cellPos.x,cellPos.y,cellPos.z)
  2375. local Size = W1-W2
  2376. Size = Vector3.new(math.abs(Size.x),math.abs(Size.y),math.abs(Size.z))+Vector3.new(4,4,4)
  2377. local Pos = (W1+W2)/2
  2378. SelP.Size = Size
  2379. SelP.CFrame = CFrame.new(Pos)
  2380. end
  2381. end)
  2382. end)
  2383.  
  2384. HopperBin0.Deselected:connect(function()
  2385. SelB.Parent = nil
  2386. SelB.Adornee = nil
  2387. game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Visible = false
  2388. end)
  2389.  
  2390. game:GetService('RunService').Stepped:connect(function()
  2391. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("MaterialGui") then
  2392. for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  2393. if child:FindFirstChild("num") and material ~= child.num.Value then
  2394. child.Selection.BackgroundTransparency = 1
  2395. end
  2396. end
  2397. end
  2398. end)
  2399.  
  2400. for _, child in pairs( game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu:GetChildren()) do
  2401. local enterCon = child.MouseButton1Click:connect(function()
  2402. if child.ClassName == "ImageButton" and child:FindFirstChild("num") then
  2403. material = child.num.Value
  2404. if child:FindFirstChild("Selection") then
  2405. child.Selection.BackgroundTransparency = 0
  2406. end
  2407. end
  2408. end)
  2409. end
  2410.  
  2411. local clr = game.Players.LocalPlayer.PlayerGui.MaterialGui.MaterialMenu.Dig.MouseButton1Click:connect(function()
  2412. workspace.Terrain:Clear()
  2413. end)
  2414.  
  2415. function sandbox(var,func)
  2416. local env = getfenv(func)
  2417. local newenv = setmetatable({},{
  2418. __index = function(self,k)
  2419. if k=="script" then
  2420. return var
  2421. else
  2422. return env[k]
  2423. end
  2424. end,
  2425. })
  2426. setfenv(func,newenv)
  2427. return func
  2428. end
  2429. cors = {}
  2430. mas = Instance.new("Model",game:GetService("Lighting"))
  2431. HopperBin0 = Instance.new("HopperBin")
  2432. HopperBin0.Name = "Terrain Delete"
  2433. HopperBin0.Parent = mas
  2434. for i,v in pairs(mas:GetChildren()) do
  2435. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  2436. pcall(function() v:MakeJoints() end)
  2437. end
  2438. mas:Destroy()
  2439. for i,v in pairs(cors) do
  2440. spawn(function()
  2441. pcall(v)
  2442. end)
  2443. end
  2444.  
  2445. function onClick(mouse)
  2446. p = game.Players.LocalPlayer
  2447. if (p == nil) then return end
  2448. if (p.Character == nil) then return end
  2449.  
  2450. if (mouse.Hit.p - p.Character.HumanoidRootPart.Position).magnitude > 500 then return end
  2451.  
  2452. c = game.Workspace.Terrain
  2453.  
  2454. local cellPos = c:WorldToCellPreferSolid(Vector3.new(mouse.Hit.x, mouse.Hit.y, mouse.Hit.z))
  2455. local x = cellPos.x
  2456. local y = cellPos.y
  2457. local z = cellPos.z
  2458.  
  2459. c:SetCell(x, y, z, 0, 0, 0)
  2460.  
  2461. end
  2462.  
  2463.  
  2464. function onSelect(mouse)
  2465. mouse.Button1Down:connect(function () onClick(mouse) end)
  2466. end
  2467.  
  2468.  
  2469.  
  2470. HopperBin0.Selected:connect(onSelect)
  2471. end
  2472. end)
  2473.  
  2474. addcmd('devuzi', 'op af',{'uzi'},
  2475. function(args, speaker)
  2476. if speaker.userId ~= LP.userId then
  2477. lponly(speaker)
  2478. else
  2479. wait(0.25);
  2480.  
  2481.  
  2482. _clear=function()
  2483. local c={char;bag;gui;};
  2484. for i=1,#c do
  2485. local c=c[i]:children();
  2486. for i=1,#c do
  2487. if(c[i].Name==name)then
  2488. c[i].Parent=nil;
  2489. end;
  2490. end;
  2491. end;
  2492. local n=name..user.Name;
  2493. local c=workspace:children();
  2494. for i=1,#c do
  2495. if(c[i].Name==n)then
  2496. c[i].Parent=nil;
  2497. end;
  2498. end;
  2499. end;
  2500.  
  2501. _valid_key=function(object,key)
  2502. return object[key],key;
  2503. end;
  2504.  
  2505. _new=function(class)
  2506. return function(props)
  2507. if(type(list_base_props)=='table')then
  2508. for i,v in next,list_base_props do
  2509. if(props[i]==nil)then
  2510. props[i]=v;
  2511. end;
  2512. end;
  2513. end;
  2514.  
  2515. local object=class;
  2516.  
  2517. if(type(class)=='string')then
  2518. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  2519. end;
  2520.  
  2521. local parent=props[1];
  2522. props[1]=nil;
  2523.  
  2524. for i,v in next,props do
  2525. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  2526. if(not load)then
  2527. load,res,key=pcall(_valid_key,object,i);
  2528. end;
  2529.  
  2530. if(key)then
  2531. t=type(res);
  2532. s=tostring(res);
  2533. if(t=='userdata'and s=='Signal '..key)then
  2534. if(type(v)=='table')then
  2535. for i=1,#v do
  2536. res:connect(v[i]);
  2537. end;
  2538. else
  2539. res:connect(v);
  2540. end;
  2541. else
  2542. object[key]=v;
  2543. end;
  2544. end;
  2545. end;
  2546.  
  2547. if(parent)then
  2548. object.Parent=parent;
  2549. end;
  2550.  
  2551. return object;
  2552. end;
  2553. end;
  2554.  
  2555. _RGB=function(r,g,b)
  2556. return Color3.new(r/255,g/255,b/255);
  2557. end;
  2558.  
  2559. _copy=function(o)
  2560. local def=o.archivable;
  2561. o.archivable=true;
  2562. local c=o:clone();
  2563. o.archivable=def;
  2564. return c;
  2565. end;
  2566.  
  2567. _hum=function(char)
  2568. local hum=char:findFirstChild'Humanoid';
  2569. if(not hum or hum.className~='Humanoid')then
  2570. local c=char:children();
  2571. for i=1,#c do
  2572. if(c[i].className=='Humanoid')then
  2573. return c[i];
  2574. end;
  2575. end;
  2576. else
  2577. return hum;
  2578. end;
  2579. end;
  2580.  
  2581. _hum_tag=function(hum)
  2582. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  2583. c.Name='creator';
  2584. c.Value=user;
  2585. if(hum.Health==0 and not hum:findFirstChild'killed')then
  2586. Instance.new('BoolValue',hum).Name='killed';
  2587. bullets.clip=bullets.clip+10;
  2588. end;
  2589. end;
  2590.  
  2591. _hum_dam=function(hum,dam,percent)
  2592. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  2593. if(hum.Health<=hum.MaxHealth*0.1)then
  2594. _hum_tag(hum);
  2595. end;
  2596. end;
  2597.  
  2598. _ray=function(v0,v1,i)
  2599. local mag=(v0-v1).magnitude;
  2600. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  2601.  
  2602. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  2603. end;
  2604.  
  2605. _must=function(v0,v1,i)
  2606. local hit,pos=_ray(v0,v1,i);
  2607. return not hit and mouse.target or hit,pos;
  2608. end;
  2609.  
  2610. _cframe=function(x,y,z,r0,r1,r2)
  2611. return CFrame.Angles(
  2612. math.rad(r0 or 0),
  2613. math.rad(r1 or 0),
  2614. math.rad(r2 or 0)
  2615. )*CFrame.new(x,y,z);
  2616. end;
  2617.  
  2618. _update=function()
  2619. if(bool_active and not screen.Parent)then
  2620. screen.Parent=gui;
  2621. elseif(not bool_active and screen.Parent)then
  2622. screen.Parent=nil;
  2623. end;
  2624. end;
  2625.  
  2626. _light=function(v0,v1)
  2627. local mag=(v0-v1).magnitude;
  2628. local len=math.random(2,7);
  2629. len=len>mag/2 and mag/2 or len;
  2630.  
  2631. --local light=_new'part'{
  2632. -- cFrame=CFrame.new(v0,v1);
  2633. -- size=Vector3.new(1,1,1);
  2634. -- color=_RGB(255,255,0);
  2635. -- anchored=true;
  2636. -- inv;
  2637. --};
  2638. _new'blockMesh'{
  2639. scale=Vector3.new(0.2,0.2,len);
  2640. offset=Vector3.new(0,0,-len/2);
  2641. light;
  2642. };
  2643.  
  2644. local bb=_new'billboardGui'{
  2645. size=UDim2.new(2,0,2,0);
  2646. adornee=light;
  2647. light;
  2648. };
  2649. _new'imageLabel'{
  2650. image=url:format(109101526);
  2651. backgroundTransparency=1;
  2652. size=UDim2.new(1,0,1,0);
  2653. bb;
  2654. };
  2655.  
  2656. -- _rem(light,0.15);
  2657. end;
  2658.  
  2659. _rem=function(object,del)
  2660. if(del)then
  2661. delay(del,function()
  2662. if(object.Parent)then
  2663. object.Parent=nil;
  2664. end;
  2665. end);
  2666. else
  2667. pcall(function()
  2668. if(object.Parent)then
  2669. object.Parent=nil;
  2670. end;
  2671. end);
  2672. end;
  2673. end;
  2674.  
  2675. _blood=function(pos,count)
  2676. for i=1,count do
  2677. local p=_new'part'{
  2678. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  2679. position=pos+Vector3.new(math.random(),math.random(),math.random());
  2680. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  2681. size=Vector3.new(math.random(),math.random(),math.random())/3;
  2682. color=_RGB(255,0,0);
  2683. transparency=0.5;
  2684. canCollide=true;
  2685. bottomSurface=0;
  2686. topSurface=0;
  2687. formFactor=3;
  2688. locked=true;
  2689. inv;
  2690. };
  2691. delay(5,function()
  2692. p.Parent=nil;
  2693. end);
  2694. end;
  2695. end;
  2696.  
  2697. _make_hue=function()
  2698. h_hue=_new'part'{
  2699. size=Vector3.new(0.25,1.8,0.35);
  2700. color=_RGB(100,100,100);
  2701. formFactor=3;
  2702. name='hue';
  2703. handle;
  2704. };
  2705. hh_weld=_new'weld'{
  2706. c1=_cframe(0,0.5,0);
  2707. part0=handle;
  2708. part1=h_hue;
  2709. handle;
  2710. };
  2711. end;
  2712.  
  2713. _shot=function(v0,v1)
  2714. if(not time_left)then
  2715. time_left=0;
  2716. end;
  2717. if(time_left>time())then
  2718. return nil;
  2719. else
  2720. time_left=time()+math.random(1,10)/100;
  2721. end;
  2722.  
  2723. if(bullets.current<1)then
  2724. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  2725. soundId='rbxasset://sounds/SWITCH3.wav';
  2726. name='tick_sound';
  2727. volume=0.2;
  2728. pitch=2;
  2729. head;
  2730. };
  2731. tick_sound:play();
  2732. if(bullets.clip>0)then
  2733. time_left=time()+2;
  2734. h_hue:breakJoints();
  2735. h_hue.CanCollide=true;
  2736. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  2737. _rem(h_hue,10);
  2738. delay(1.9,function()
  2739. _make_hue();
  2740. local got=(bullets.clip>bullets.maximum and
  2741. bullets.maximum or
  2742. bullets.clip)-bullets.current;
  2743.  
  2744. bullets.clip=bullets.clip-got;
  2745. bullets.current=bullets.current+got;
  2746. end);
  2747. end;
  2748. return nil;
  2749. else
  2750. bullets.current=bullets.current-1;
  2751.  
  2752. h_weld.C1=_cframe(0,0.75,0,
  2753. -math.random(1000,1100)/10,180,0);
  2754. d_weld.C1=_cframe(0,-0.25,0.3);
  2755.  
  2756. lightstuff.Visible=true;
  2757. delay(0.1,function()
  2758. lightstuff.Visible=false;
  2759. end);
  2760.  
  2761. _rem(_new'part'{
  2762. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  2763. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  2764. size=Vector3.new(0.1,0.1,0.4);
  2765. color=_RGB(200,200,0);
  2766. material='Slate';
  2767. canCollide=true;
  2768. formFactor=3;
  2769. inv;
  2770. },5);
  2771.  
  2772. delay(0.1,function()
  2773. d_weld.C1=_cframe(0,-0.25,0);
  2774. if(bool_active)then
  2775. h_weld.C1=h_weld_cf_active;
  2776. end;
  2777. end)
  2778. end;
  2779.  
  2780. local hit,pos=_must(v0,v1,char);
  2781.  
  2782. shot_sound:play();
  2783.  
  2784.  
  2785. _rem(_new'part'{
  2786. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  2787. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  2788. color=_RGB(255,255,0);
  2789. transparency=0.6;
  2790. reflectance=0.5;
  2791. canCollide=false;
  2792. bottomSurface=0;
  2793. anchored=true;
  2794. formFactor=3;
  2795. topSurface=0;
  2796. inv;
  2797. },.15);
  2798. _light(v0,v1);
  2799.  
  2800. if(not hit)then return nil;end;
  2801.  
  2802. if(hit.Parent.className=='Hat')then
  2803. hit:breakJoints();
  2804. hit.CanCollide=true;
  2805. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  2806. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  2807. else
  2808. local hum=_hum(hit.Parent);
  2809. if(not hum)then
  2810. if(hit.Anchored==false and hit.Size.magnitude<4)then
  2811. hit:breakJoints();
  2812. hit.CanCollide=true;
  2813. end;
  2814. else
  2815. _hum_dam(hum,math.random(4,6));
  2816. _blood(pos,math.random(3,6));
  2817. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  2818. if(hit.Name=='Head')then
  2819. hum.Health=0;
  2820. _blood(pos,math.random(3,6));
  2821. delay(0.001,function()
  2822. _new(workspace:FindFirstChild'head_shot'or'sound'){
  2823. pitch=math.random(70,100)*0.01;
  2824. soundId=url:format(1876552);
  2825. name='head_shot';
  2826. workspace;
  2827. }:play();
  2828. end);
  2829. _hum_tag(hum);
  2830. _rem(_new'part'{
  2831. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  2832. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  2833. color=torso.Color;
  2834. transparency=0.5;
  2835. canCollide=false;
  2836. bottomSurface=0;
  2837. anchored=true;
  2838. formFactor=3;
  2839. topSurface=0;
  2840. inv;
  2841. },30);
  2842. hit.Parent=nil;
  2843. for b=0,1 do
  2844. for a=0,1 do
  2845. for i=0,1 do
  2846. _rem(_new'part'{
  2847. velocity=CFrame.new(v0,pos).lookVector*20;
  2848. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  2849. size=Vector3.new(0.5,0.5,0.5);
  2850. color=_RGB(255,255,255);
  2851. bottomSurface=0;
  2852. canCollide=true;
  2853. transparency=0;
  2854. formFactor=3;
  2855. topSurface=0;
  2856. hum;
  2857. },30);
  2858. end;
  2859. end;
  2860. end;
  2861. end;
  2862. end;
  2863. end;
  2864. end;
  2865.  
  2866.  
  2867.  
  2868. _cf_select=function(mouse)
  2869. mouse.Icon=url:format(109111387);--108999296
  2870. bool_active=true;
  2871.  
  2872. local arm=char:findFirstChild'Right Arm';
  2873. local weld=torso:findFirstChild'Right Shoulder';
  2874. if(arm and weld)then
  2875. h_weld.Part0=arm;
  2876. h_weld.C1=h_weld_cf_active;
  2877.  
  2878. weld.Part1=nil;
  2879. weld.Part0=nil;
  2880.  
  2881. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  2882. name='right_arml';
  2883. part0=torso;
  2884. part1=arm;
  2885. torso;
  2886. };
  2887.  
  2888. arml=(arml or 0)+1;
  2889. local alv=arml;
  2890. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  2891. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  2892. gyro.P=30000;
  2893. gyro.D=1000;
  2894. gyro.Name='p_gyro';
  2895. repeat
  2896. local pos=mouse.hit.p;
  2897. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  2898.  
  2899. val=-math.pi*0.5;
  2900. valp=val*-1;
  2901. p0=torso.CFrame;
  2902. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  2903. p1=p0+((p0.p-pos).unit*-2);
  2904. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  2905. hitpos=torso.Position;
  2906. cj=CFrame.new(hitpos);
  2907. c0=torso.CFrame:inverse()*cj;
  2908. c1=p2:inverse()*cj;
  2909. weld.C0=c0;
  2910. weld.C1=c1;
  2911.  
  2912. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  2913.  
  2914. wait(0.001);
  2915. until arml~=alv;
  2916. gyro.Parent=nil;
  2917. end;
  2918. end;
  2919.  
  2920. _cf_deselect=function()
  2921. bool_active=false;
  2922. arml=(arml or 0)+1;
  2923. loop_shot=(loop_shot or 0)+1;
  2924.  
  2925. h_weld.Part0=torso;
  2926. h_weld.C1=h_weld_cf_inactive;
  2927.  
  2928. local weld=torso:findFirstChild'right_arml';
  2929. if(weld)then
  2930. weld.Part1=nil;
  2931. weld.Part0=nil;
  2932. end;
  2933. local arm=char:findFirstChild'Right Arm';
  2934. local weld=torso:findFirstChild'Right Shoulder';
  2935. if(arm and weld)then
  2936. weld.Part0=torso;
  2937. weld.Part1=arm;
  2938. end;
  2939. end;
  2940.  
  2941. _cf_mouse=function(event,fun)
  2942. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  2943. if(bool_active)then
  2944. fun(...);
  2945. end;
  2946. end);
  2947. end;
  2948.  
  2949.  
  2950. do
  2951. local main=getfenv(0);
  2952. local c=game:children();
  2953. local check=function(v)
  2954. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  2955. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  2956. end;
  2957. end;
  2958. for i=1,#c do
  2959. pcall(check,c[i]);
  2960. end;
  2961. end;
  2962.  
  2963.  
  2964. bullets={
  2965. maximum=51111111111111111111111111110;
  2966. current=511111111111111111111111111111110;
  2967. clip=501111111111111111111111111111111*4;
  2968. };
  2969.  
  2970. list_base_props={
  2971. backgroundColor3=_RGB(0,0,0);
  2972. textColor3=_RGB(200,200,200);
  2973. borderSizePixel=0;
  2974. color=_RGB(0,0,0);
  2975. archivable=false;
  2976. canCollide=false;
  2977. bottomSurface=0;
  2978. topSurface=0;
  2979. formFactor=0;
  2980. locked=true;
  2981. };
  2982.  
  2983.  
  2984.  
  2985. user=players.localPlayer;
  2986. mouse=user:getMouse();
  2987. char=user.Character;
  2988. gui=user.PlayerGui;
  2989. bag=user.Backpack;
  2990. torso=char.Torso;
  2991. head=char.Head;
  2992. hum=_hum(char);
  2993.  
  2994. url='rbxassetid://%d';
  2995. name='dev-uzi';
  2996.  
  2997. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  2998. 0,90,-70);
  2999. h_weld_cf_active=_cframe(0,0.75,0,
  3000. -110,180,0);
  3001.  
  3002. assert(hum,'humanoid is not found');
  3003.  
  3004.  
  3005.  
  3006. _clear();
  3007.  
  3008.  
  3009. _cf_mouse('button1Down',function()
  3010. loop_shot=(loop_shot or 0)+1;
  3011. local vers=loop_shot;
  3012. local step=runService.Stepped;
  3013. repeat
  3014. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  3015. step:wait();--wait(0.001);
  3016. until vers~=loop_shot;
  3017. end);
  3018.  
  3019. _cf_mouse('button1Up',function()
  3020. loop_shot=(loop_shot or 0)+1;
  3021. end);
  3022.  
  3023. _cf_mouse('move',function()
  3024. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  3025. end);
  3026.  
  3027. _cf_mouse('keyDown',function(k)
  3028. if(k=='r')then
  3029. if(bullets.clip>0 and time_left<=time())then
  3030. local got=(bullets.clip>bullets.maximum and
  3031. bullets.maximum or
  3032. bullets.clip)-bullets.current;
  3033.  
  3034. bullets.clip=bullets.clip-got;
  3035. bullets.current=bullets.current+got;
  3036. if(got~=0)then
  3037. time_left=time()+2;
  3038. end;
  3039. end;
  3040. end;
  3041. end);
  3042.  
  3043.  
  3044. screen=_new'screenGui'{
  3045. name=name;
  3046. };
  3047.  
  3048. cross_f=_new'frame'{
  3049. size=UDim2.new(0,21,0,21);
  3050. backgroundTransparency=1;
  3051. screen;
  3052. };
  3053.  
  3054. for i=0,1 do
  3055. _new'frame'{
  3056. position=UDim2.new(0,13*i,0,11);
  3057. size=UDim2.new(0,10,0,1);
  3058. cross_f;
  3059. };
  3060. end;
  3061.  
  3062. for i=0,1 do
  3063. _new'frame'{
  3064. position=UDim2.new(0,11,0,13*i);
  3065. size=UDim2.new(0,1,0,10);
  3066. cross_f;
  3067. };
  3068. end;
  3069.  
  3070.  
  3071.  
  3072. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  3073. soundId=url:format(2920959);
  3074. pitch=1.4;
  3075. head;
  3076. };
  3077. if(shot_sound.Name~='2920959')then
  3078. shot_sound.Name='2920959';
  3079. shot_sound:play();
  3080. end;
  3081.  
  3082. bin=_new'hopperBin'{
  3083. deselected=_cf_deselect;
  3084. selected=_cf_select;
  3085. name=name;
  3086. bag;
  3087. };
  3088.  
  3089. inv=_new'model'{
  3090. name=name;
  3091. char;
  3092. };
  3093.  
  3094. handle=_new'part'{
  3095. size=Vector3.new(0.3,1.3,0.4);
  3096. color=_RGB(140,140,140);
  3097. name='handle';
  3098. formFactor=3;
  3099. inv;
  3100. touched=function(hit)
  3101. if(hit.Parent.className=='Model')then
  3102. local hum=_hum(hit.Parent);
  3103. if(hum~=nil)then
  3104. _hum_dam(hum,handle.Velocity.magnitude);
  3105. end;
  3106. end;
  3107. end;
  3108. };
  3109. h_weld=_new'weld'{
  3110. c1=h_weld_cf_inactive;
  3111. part1=handle;
  3112. part0=torso;
  3113. handle;
  3114. };
  3115. _make_hue();
  3116.  
  3117. h_part=_new'part'{
  3118. size=Vector3.new(0.4,0.4,1.4);
  3119. color=_RGB(140,140,140);
  3120. name='handle';
  3121. formFactor=3;
  3122. handle;
  3123. };
  3124. hp_weld=_new'weld'{
  3125. c1=_cframe(0,-1.3/2,-0.3,
  3126. 20,0,0);
  3127. part0=handle;
  3128. part1=h_part;
  3129. handle;
  3130. };
  3131.  
  3132. drag=_new'part'{
  3133. size=Vector3.new(0.5,0.45,1.5);
  3134. color=_RGB(100,100,100);
  3135. name='handle';
  3136. formFactor=3;
  3137. handle;
  3138. };
  3139. d_weld=_new'weld'{
  3140. c1=_cframe(0,-0.25,0);
  3141. part0=h_part;
  3142. part1=drag;
  3143. handle;
  3144. };
  3145.  
  3146. tube=_new'part'{
  3147. size=Vector3.new(0.2,0.2,1.5);
  3148. color=_RGB(0,0,0);
  3149. name='handle';
  3150. formFactor=3;
  3151. handle;
  3152. };
  3153. t_weld=_new'weld'{
  3154. c1=_cframe(0,-0.3,-0.1);
  3155. part0=h_part;
  3156. part1=tube;
  3157. handle;
  3158. };
  3159.  
  3160. bullets_label=_new'textLabel'{
  3161. textStrokeColor3=_RGB(0,0,0);
  3162. textColor3=_RGB(200,200,200);
  3163. textStrokeTransparency=0;
  3164. backgroundTransparency=1;
  3165. fontSize=5;
  3166. screen;
  3167. };
  3168.  
  3169. lightstuff=_new'frame'{
  3170. backgroundColor3=_RGB(255,255,255);
  3171. position=UDim2.new(0,0,0,-1);
  3172. backgroundTransparency=0.5;
  3173. size=UDim2.new(1,0,1,1);
  3174. borderSizePixel=0;
  3175. visible=false;
  3176. screen;
  3177. };
  3178.  
  3179. coroutine.wrap(function()
  3180. local red,white,green;
  3181. repeat
  3182. if(screen.Parent)then
  3183. if(not green and bullets.current==bullets.maximum)then
  3184. green=true;
  3185. bullets_label.TextColor3=_RGB(0,200,0);
  3186. elseif(not red and bullets.current==0)then
  3187. red=true;
  3188. bullets_label.TextColor3=_RGB(200,0,0);
  3189. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  3190. bullets_label.TextColor3=_RGB(200,200,200);
  3191. green=false;
  3192. red=false;
  3193. end;
  3194. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  3195. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  3196. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  3197. end;
  3198. wait(0.001);
  3199. until nil;
  3200. end)();
  3201.  
  3202.  
  3203. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  3204. local vers=_G.dev_pistol_version;
  3205. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  3206. if(hum.Health==0)then
  3207. _clear();
  3208. end;
  3209. end
  3210. end)
  3211.  
  3212. addcmd('enabletools', 'lets them have tools',{'unloopremovetools'},
  3213. function(args, speaker)
  3214. local players = getPlayer(args[1], speaker)
  3215. for i,v in pairs(players)do
  3216. if FindTable(disabletoolsT, _players[v].Name) then
  3217. table.remove(disabletoolsT, GetInTable(disabletoolsT, _players[v].Name))
  3218. if args[1] == "all" then
  3219. Notify('Enabled tools for everyone')
  3220. elseif args[1] == "others" then
  3221. Notify('Enabled tools for others')
  3222. elseif args[1] == "friends" then
  3223. Notify('Enabled tools for friends')
  3224. elseif args[1] == "nonfriends" then
  3225. Notify('Enabled tools for nonfriends')
  3226. elseif args[1] == "team" then
  3227. Notify('Enabled tools for your team')
  3228. elseif args[1] == "nonteam" then
  3229. Notify('Enabled tools for the opposing team')
  3230. elseif args[1] == "guests" then
  3231. Notify('Enabled tools for guests')
  3232. elseif args[1] == "admins" then
  3233. Notify('Enabled tools for admins')
  3234. elseif args[1] == "nonadmins" then
  3235. Notify('Enabled tools for nonadmins')
  3236. else
  3237. Notify('Enabled tools for ' .. gPlayers[v].Name)
  3238. end
  3239. end
  3240. end
  3241. end)
  3242.  
  3243. addcmd('nil', 'removes the player',{},
  3244. function(args, speaker)
  3245. local players = getPlayer(args[1], speaker)
  3246. for i,v in pairs(players)do
  3247. pcall(function() gPlayers[v].Character:Remove() end)
  3248. gPlayers[v].Character = nil
  3249. if args[1] == "all" then
  3250. Notify('Made everyone nil')
  3251. elseif args[1] == "others" then
  3252. Notify('Made others nil')
  3253. elseif args[1] == "friends" then
  3254. Notify('Made friends nil')
  3255. elseif args[1] == "nonfriends" then
  3256. Notify('Made non friends nil')
  3257. elseif args[1] == "team" then
  3258. Notify('Made your team nil')
  3259. elseif args[1] == "nonteam" then
  3260. Notify('Made the opposing team nil')
  3261. elseif args[1] == "guests" then
  3262. Notify('Made guests nil')
  3263. elseif args[1] == "admins" then
  3264. Notify('Made admins nil')
  3265. elseif args[1] == "nonadmins" then
  3266. Notify('Made nonadmins nil')
  3267. else
  3268. Notify('Made ' .. gPlayers[v].Name .. ' nil')
  3269. end
  3270. end
  3271. end)
  3272.  
  3273. addcmd('ban', 'goodbye ;)',{},
  3274. function(args, speaker)
  3275. local players = getPlayer(args[1], speaker)
  3276. for i,v in pairs(players)do
  3277. if args[1] == "all" then
  3278. Notify('Banned everyone')
  3279. elseif args[1] == "others" then
  3280. Notify('Banned others')
  3281. elseif args[1] == "friends" then
  3282. Notify('Banned friends')
  3283. elseif args[1] == "nonfriends" then
  3284. Notify('Banned nonfriends')
  3285. elseif args[1] == "team" then
  3286. Notify('Your team has been banned')
  3287. elseif args[1] == "nonteam" then
  3288. Notify('The opposing team has been banned')
  3289. elseif args[1] == "guests" then
  3290. Notify('Guests have been banned')
  3291. elseif args[1] == "nonadmins" then
  3292. Notify('Nonadmins have been banned')
  3293. else
  3294. Notify(gPlayers[v].Name .. ' has been banned')
  3295. end
  3296. spawn(function()
  3297. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
  3298. table.insert(banT, _players[v].userId)
  3299. table.insert(banname, _players[v].Name)
  3300. function Kick(PLAYER)
  3301. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  3302. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  3303. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  3304. Plat.Name = 'IYkick'
  3305. Plat.Size = Vector3.new(100, 1, 100)
  3306. local PART = Instance.new('Part', PLAYER.Character)
  3307. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  3308. PART.Size = Vector3.new(100, 1, 100)
  3309. PART.Anchored = true
  3310. PART.Transparency = 1
  3311. Plat.Transparency = 1
  3312. repeat wait(1)
  3313. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  3314. Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  3315. end
  3316. Kick(PLAYER)
  3317. until not game.Players:findFirstChild(PLAYER)
  3318. end
  3319. end
  3320. Kick(gPlayers[v])
  3321. else Notify('Why would you want to ban the creator of the admin you are using?')
  3322. end
  3323. end)
  3324. end
  3325. end)
  3326.  
  3327. addcmd('clearbans', 'welcome back!',{'clrbans'},
  3328. function(args, speaker)
  3329. banT = {}
  3330. banname = {}
  3331. Notify('Removed all bans')
  3332. end)
  3333.  
  3334. addcmd('unban','unbans a player',{},
  3335. function(args, speaker)
  3336. if FindTable(banT, game.Players:GetUserIdFromNameAsync(args[1])) then
  3337. table.remove(banT, GetInTable(banT, game.Players:GetUserIdFromNameAsync(args[1])))
  3338. table.remove(banname, GetInTable(banname, args[1]))
  3339. end
  3340. end)
  3341.  
  3342. addcmd('verify', 'dismiss',{''},
  3343. function(args, speaker)
  3344. local players = getPlayer(args[1], speaker)
  3345. for i,v in pairs(players)do
  3346. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  3347. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  3348. end
  3349. end
  3350. end)
  3351.  
  3352. addcmd('admin', 'ur an admin now ;o',{},
  3353. function(args, speaker)
  3354. if speaker.userId ~= LP.userId then
  3355. lponly(speaker)
  3356. else
  3357. local players = getPlayer(args[1], speaker)
  3358. for i,v in pairs(players)do
  3359. if not isAdmin(_players[v]) then
  3360. table.insert(adminT, _players[v].userId)
  3361. table.insert(adminname, _players[v].Name)
  3362. if args[1] == "all" then
  3363. Notify('Everyone has been given admin')
  3364. elseif args[1] == "others" then
  3365. Notify('Others have been given admin')
  3366. elseif args[1] == "friends" then
  3367. Notify('Friends have been given admin')
  3368. elseif args[1] == "team" then
  3369. Notify('Your team has been given admin')
  3370. elseif args[1] == "nonteam" then
  3371. Notify('The opposing team has been given admin')
  3372. else
  3373. Notify(gPlayers[v].Name .. ' has been given admin')
  3374. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are now an admin! The prefix is ' .. cmdprefix, 1)
  3375. updateevents(gPlayers[v])
  3376. for a, mod in pairs(gPlayers[v].Character:children()) do
  3377. if mod:FindFirstChild("TAG") then
  3378. gPlayers[v].Character.Head.Transparency = 0
  3379. mod:Destroy()
  3380. end
  3381. end
  3382. end
  3383. end
  3384. end
  3385. end
  3386. end)
  3387.  
  3388. adminname = {}
  3389. addcmd('admins','prints admins',{'adminlist'},
  3390. function(args, speaker)
  3391. if speaker.userId ~= LP.userId then
  3392. lponly(speaker)
  3393. else
  3394. print('ADMINS:')
  3395. wait(0.1)
  3396. for i, v in pairs (adminname) do print(v) end
  3397. Notify('Printed admins in the console (F9)')
  3398. end
  3399. end)
  3400.  
  3401. banname = {}
  3402. addcmd('bans','prints bans',{'banlist'},
  3403. function(args, speaker)
  3404. if speaker.userId ~= LP.userId then
  3405. lponly(speaker)
  3406. else
  3407. print('BANLAND:')
  3408. wait(0.1)
  3409. for i, v in pairs (banname) do print(v) end
  3410. Notify('Printed bans in the console (F9)')
  3411. end
  3412. end)
  3413.  
  3414. addcmd('bang','owo',{'rape'},
  3415. function(args, speaker)
  3416. local players = getPlayer(args[1], speaker)
  3417. for i,v in pairs(players)do
  3418. rape(_players[v].Name, speaker)
  3419. end
  3420. end)
  3421.  
  3422. addcmd('unadmin', 'removes the admin',{'noadmin'},
  3423. function(args, speaker)
  3424. if speaker.userId ~= LP.userId then
  3425. lponly(speaker)
  3426. else
  3427. local players = getPlayer(args[1], speaker)
  3428. for i,v in pairs(players)do
  3429. if isAdmin(_players[v]) and _players[v].userId ~= LP.userId then
  3430. if FindTable(adminT, _players[v].userId) then
  3431. table.remove(adminT, GetInTable(adminT, _players[v].userId))
  3432. table.remove(adminname, GetInTable(adminname, _players[v].Name))
  3433. if args[1] == "all" then
  3434. Notify('Removed everyones admin')
  3435. elseif args[1] == "others" then
  3436. Notify('Others no longer have admin')
  3437. elseif args[1] == "friends" then
  3438. Notify('Friends no longer have admin')
  3439. elseif args[1] == "team" then
  3440. Notify('Your team no longer has admin')
  3441. elseif args[1] == "nonteam" then
  3442. Notify('The opposing team no longer has admin')
  3443. else
  3444. Notify(gPlayers[v].Name .. ' no longer has admin')
  3445. end
  3446. end
  3447. game:GetService('Chat'):Chat(gPlayers[v].Character, 'You are no longer an admin', 2)
  3448. end
  3449. end
  3450. end
  3451. end)
  3452.  
  3453. addcmd('bgui', 'gives player billboard gui presenting text',{},
  3454. function(args, speaker)
  3455. local players = getPlayer(args[1], speaker)
  3456. for i,v in pairs(players)do
  3457. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  3458. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  3459. end
  3460.  
  3461. y = Instance.new("BillboardGui")
  3462. y.Size = UDim2.new(0,100,0,150)
  3463. y.StudsOffset = Vector3.new(0,1,0)
  3464. y.Parent = gPlayers[v].Character.Head
  3465. y.Adornee = gPlayers[v].Character.Head
  3466. f = Instance.new("TextLabel")
  3467. f.Parent = y
  3468. f.BackgroundTransparency = 1
  3469. f.Position = UDim2.new(0,0,0,-50)
  3470. f.Size = UDim2.new(0,100,0,100)
  3471. f.Font = "Highway"
  3472. f.FontSize = "Size48"
  3473. f.Text = GLS(false, 1)
  3474. f.TextStrokeColor3 = Color3.new(0,0,0)
  3475. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  3476. f.TextStrokeTransparency = 0
  3477. f.TextYAlignment = "Bottom"
  3478. end
  3479. end)
  3480.  
  3481. addcmd('unbgui', 'gives player billboard gui presenting text',{'nobgui'},
  3482. function(args, speaker)
  3483. local players = getPlayer(args[1], speaker)
  3484. for i,v in pairs(players)do
  3485. if gPlayers[v].Character.Head:FindFirstChild("BillboardGui") then
  3486. gPlayers[v].Character.Head:FindFirstChild("BillboardGui"):Remove()
  3487. end
  3488. end
  3489. end)
  3490.  
  3491. addcmd('esp', 'lets you see a players location',{},
  3492. function(args, speaker)
  3493. local players = getPlayer(args[1], speaker)
  3494. for i,v in pairs(players)do
  3495. if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
  3496. gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
  3497. end
  3498.  
  3499. y = Instance.new("BillboardGui")
  3500. y.Size = UDim2.new(0,100,0,150)
  3501. y.StudsOffset = Vector3.new(0,1,0)
  3502. y.Parent = gPlayers[v].Character.HumanoidRootPart
  3503. y.Adornee = gPlayers[v].Character.HumanoidRootPart
  3504. f = Instance.new("TextLabel")
  3505. f.Parent = y
  3506. f.BackgroundTransparency = 1
  3507. f.Position = UDim2.new(0,0,0,-50)
  3508. f.Size = UDim2.new(0,100,0,100)
  3509. f.Font = "Highway"
  3510. f.FontSize = "Size48"
  3511. f.Text = "v"
  3512. f.TextStrokeColor3 = Color3.new(0,0,0)
  3513. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  3514. f.TextStrokeTransparency = 0
  3515. f.TextYAlignment = "Bottom"
  3516. y.AlwaysOnTop = true
  3517. end
  3518. end)
  3519.  
  3520. addcmd('unesp', 'gives player billboard gui presenting text',{'noesp'},
  3521. function(args, speaker)
  3522. local players = getPlayer(args[1], speaker)
  3523. for i,v in pairs(players)do
  3524. if gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
  3525. gPlayers[v].Character.HumanoidRootPart:FindFirstChild("BillboardGui"):Remove()
  3526. end
  3527. end
  3528. end)
  3529.  
  3530. addcmd('rhats', 'no more hats',{'removehats'},
  3531. function(args, speaker)
  3532. local players = getPlayer(args[1], speaker)
  3533. for i,v in pairs(players) do
  3534. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3535. if v:IsA('Accessory') then
  3536. v:destroy()
  3537. end
  3538. end
  3539. end
  3540. end)
  3541.  
  3542. addcmd('removetools', 'no more tools',{'rtools','clrtools'},
  3543. function(args, speaker)
  3544. local players = getPlayer(args[1], speaker)
  3545. for i,v in pairs(players) do
  3546. for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
  3547. if v:IsA('Tool') or v:IsA('HopperBin') then
  3548. v:destroy()
  3549. end
  3550. for i,v in pairs(players) do
  3551. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3552. if v:IsA('Tool') or v:IsA('HopperBin') then
  3553. v:destroy()
  3554. end
  3555. end
  3556. end
  3557. end
  3558. end
  3559. end)
  3560.  
  3561. addcmd('copytools', 'copys the tools from a players backpack',{'ctools','clonetools'},
  3562. function(args, speaker)
  3563. local players = getPlayer(args[1], speaker)
  3564. for i,v in pairs(players) do
  3565. for i,v in pairs(gPlayers[v].Backpack:GetChildren()) do
  3566. if v:IsA('Tool') or v:IsA('HopperBin') then
  3567. v:Clone().Parent = speaker.Backpack
  3568. end
  3569. end
  3570. end
  3571. end)
  3572.  
  3573. addcmd('tools', 'steals tools from serverstorage and lighting',{'gears'},
  3574. function(args, speaker)
  3575. local players = getPlayer(args[1], speaker)
  3576. for i,v in pairs(players)do
  3577. local function copy(instance)
  3578. for i,c in pairs(instance:GetChildren())do
  3579. if c:IsA('Tool') or c:IsA('HopperBin') then
  3580. c:Clone().Parent = gPlayers[v].Backpack end
  3581. copy(c)
  3582. end
  3583. end
  3584. copy(game.Lighting)
  3585. end
  3586. for i,v in pairs(players)do
  3587. local function copy(instance)
  3588. for i,c in pairs(instance:GetChildren())do
  3589. if c:IsA('Tool') or c:IsA('HopperBin') then
  3590. c:Clone().Parent = gPlayers[v].Backpack end
  3591. copy(c)
  3592. end
  3593. end
  3594. copy(game.ReplicatedStorage)
  3595. end
  3596. end)
  3597.  
  3598. wdisco = false
  3599. addcmd('partdisco', 'color spams the workspace',{'pdisco'},
  3600. function(args, speaker)
  3601. if wdisco == false then
  3602. wdisco = true
  3603. presets = {"Bright red","Bright yellow","Bright orange","Bright violet","Bright blue","Bright bluish green","Bright green"}
  3604. repeat wait(1)
  3605. local function color(instance)
  3606. for i,v in pairs(instance:GetChildren())do
  3607. if v.className == "Part" then
  3608. v.BrickColor = BrickColor.new(presets[math.random(1,#presets)]) end
  3609. color(v)
  3610. end
  3611. end
  3612. color(workspace)
  3613. until wdisco == false
  3614. end
  3615. end)
  3616.  
  3617. addcmd('unpartdisco', 'stops workspacedisco',{'unpdisco','nopartdisco','nopdisco'},
  3618. function(args, speaker)
  3619. wdisco = false
  3620. end)
  3621.  
  3622. addcmd('gravity', 'workspace gravity',{''},
  3623. function(args, speaker)
  3624. workspace.Gravity = args[1]
  3625. Notify('Gravity set to ' .. args[1])
  3626. end)
  3627.  
  3628. SINFOGUIopen = false
  3629. function serverinfogui()
  3630. if SINFOGUIopen == false then
  3631. local Sinfo = Instance.new("ScreenGui") local PromptDialog = Instance.new("Frame")
  3632. 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")
  3633. 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")
  3634. 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")
  3635. Sinfo.Name = "Sinfo" Sinfo.Parent = game.CoreGui PromptDialog.Name = "PromptDialog" PromptDialog.Parent = Sinfo PromptDialog.Active = true
  3636. 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)
  3637. PromptDialog.Size = UDim2.new(0, 310, 0, 300) PromptDialog.ZIndex = 8 ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog
  3638. ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) ContainerFrame.Position = UDim2.new(0, 0, 0, 35) ContainerFrame.Size = UDim2.new(1, 0, 0.850000024, 0) ContainerFrame.ZIndex = 8
  3639. ContainerFrame.Style = Enum.FrameStyle.DropShadow TextLabel.Name = "Text Label" TextLabel.Parent = ContainerFrame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3640. 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)
  3641. TextLabel.ZIndex = 10 TextLabel.Font = Enum.Font.SourceSans TextLabel.FontSize = Enum.FontSize.Size24 TextLabel.Text = "Run Time:" TextLabel.TextColor3 = Color3.new(1, 1, 1)
  3642. TextLabel.TextStrokeTransparency = 0 TextLabel.TextXAlignment = Enum.TextXAlignment.Left TextLabel2.Name = "Text Label2" TextLabel2.Parent = ContainerFrame TextLabel2.BackgroundColor3 = Color3.new(1, 1, 1)
  3643. 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
  3644. TextLabel2.Font = Enum.Font.SourceSans TextLabel2.FontSize = Enum.FontSize.Size24 TextLabel2.Text = "Statistics:" TextLabel2.TextColor3 = Color3.new(1, 1, 1) TextLabel2.TextStrokeTransparency = 0
  3645. TextLabel2.TextXAlignment = Enum.TextXAlignment.Left TextLabel3.Name = "Text Label3" TextLabel3.Parent = ContainerFrame TextLabel3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel3.BackgroundTransparency = 1
  3646. 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
  3647. TextLabel3.FontSize = Enum.FontSize.Size24 TextLabel3.Text = "Local Player:" TextLabel3.TextColor3 = Color3.new(1, 1, 1) TextLabel3.TextStrokeTransparency = 0 TextLabel3.TextXAlignment = Enum.TextXAlignment.Left
  3648. 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)
  3649. 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..."
  3650. Time.TextColor3 = Color3.new(1, 1, 1) Time.TextStrokeTransparency = 0 Time.TextXAlignment = Enum.TextXAlignment.Left appearance.Name = "appearance" appearance.Parent = ContainerFrame
  3651. 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)
  3652. 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..."
  3653. appearance.TextColor3 = Color3.new(1, 1, 1) appearance.TextStrokeTransparency = 0 appearance.TextXAlignment = Enum.TextXAlignment.Left fe.Name = "fe" fe.Parent = ContainerFrame
  3654. 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)
  3655. 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
  3656. fe.TextXAlignment = Enum.TextXAlignment.Left maxplayers.Name = "maxplayers" maxplayers.Parent = ContainerFrame maxplayers.BackgroundColor3 = Color3.new(0, 0.8, 1) maxplayers.BackgroundTransparency = 1
  3657. 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
  3658. maxplayers.Font = Enum.Font.ArialBold maxplayers.FontSize = Enum.FontSize.Size14 maxplayers.Text = "Max Players Loading..." maxplayers.TextColor3 = Color3.new(1, 1, 1)
  3659. 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
  3660. 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
  3661. 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
  3662. 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)
  3663. 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)
  3664. placeid.TextStrokeTransparency = 0 placeid.TextXAlignment = Enum.TextXAlignment.Left playerid.Name = "playerid" playerid.Parent = ContainerFrame playerid.BackgroundColor3 = Color3.new(0, 0.8, 1)
  3665. 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)
  3666. 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)
  3667. playerid.TextStrokeTransparency = 0 playerid.TextXAlignment = Enum.TextXAlignment.Left players.Name = "players" players.Parent = ContainerFrame players.BackgroundColor3 = Color3.new(0, 0.8, 1)
  3668. 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
  3669. 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
  3670. 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
  3671. shadow.Size = UDim2.new(1, 0, 0.150000006, 0) shadow.ZIndex = 100 shadow.Style = Enum.FrameStyle.DropShadow Exit.Name = "Exit" Exit.Parent = shadow Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  3672. 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
  3673. Exit.FontSize = Enum.FontSize.Size14 Exit.Text = "" PopupText.Name = "PopupText" PopupText.Parent = shadow PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, -5)
  3674. PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.FontSize = Enum.FontSize.Size36 PopupText.Text = "Server"
  3675. PopupText.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText.TextStrokeTransparency = 0 PopupText.TextWrapped = true PopupText.TextYAlignment = Enum.TextYAlignment.Top
  3676. local SINFOGUI = game.CoreGui.Sinfo.PromptDialog.ContainerFrame
  3677. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, 100), "InOut", "Quad", 0.5, true, nil)
  3678. SINFOGUIopen = true wait(0.5)
  3679. SINFOGUI.name.Text = game.Name
  3680. game.CoreGui.Sinfo.PromptDialog.shadow.Exit.MouseButton1Click:Connect(function()
  3681. PromptDialog:TweenPosition(UDim2.new(0.5, -160, 0, -400), "InOut", "Quad", 0.5, true, nil)
  3682. wait(0.6) SINFOGUIopen = false SINFOGUI.Parent.Parent:Destroy() end)
  3683. SINFOGUI.playerid.Text = "Player ID: " ..game.Players.LocalPlayer.UserId
  3684. if game.Workspace.FilteringEnabled == true then
  3685. SINFOGUI.fe.Text = "Filtering Enabled"
  3686. elseif game.Workspace.FilteringEnabled == false then
  3687. SINFOGUI.fe.Text = "Filtering Disabled" end
  3688. SINFOGUI.maxplayers.Text = game.Players.MaxPlayers.. " Players Max"
  3689. SINFOGUI.placeid.Text = "Place ID: " ..game.PlaceId repeat
  3690. players = game.Players:getPlayers()
  3691. SINFOGUI.players.Text = #players.. " Player(s)"
  3692. SINFOGUI.appearance.Text = "Appearance: " ..game.Players.LocalPlayer.CharacterAppearanceId
  3693. local seconds = math.floor(workspace.DistributedGameTime)
  3694. local minutes = math.floor(workspace.DistributedGameTime / 60)
  3695. local hours = math.floor(workspace.DistributedGameTime / 60 / 60)
  3696. local seconds = seconds - (minutes * 60)
  3697. local minutes = minutes - (hours * 60)
  3698. if hours < 1 then if minutes < 1 then
  3699. SINFOGUI.Time.Text = seconds .. " Second(s)" else
  3700. SINFOGUI.Time.Text = minutes .. " Minute(s), " .. seconds .. " Second(s)" end else
  3701. SINFOGUI.Time.Text = hours .. " Hour(s), " .. minutes .. " Minute(s), " .. seconds .. " Second(s)"
  3702. end wait(1) until SINFOGUIopen == false end end
  3703. addcmd('serverinfo', 'gives you info about the server',{'info','sinfo'},
  3704. function(args, speaker)
  3705. if speaker.userId ~= LP.userId then
  3706. lponly(speaker)
  3707. else
  3708. serverinfogui()
  3709. end
  3710. end)
  3711.  
  3712. addcmd('sparkles', 'give a player sparkles',{},
  3713. function(args, speaker)
  3714. local players = getPlayer(args[1], speaker)
  3715. for i,v in pairs(players)do
  3716. spawn(function()
  3717. local pchar=_char(v)
  3718. local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  3719. local Sparkles2 = Instance.new("Sparkles", pchar.HumanoidRootPart)
  3720. local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  3721. local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  3722. local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  3723. local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  3724. if not args[2] then return end
  3725. Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3726. Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3727. Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3728. Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3729. Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3730. Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  3731. end)
  3732. end
  3733. end)
  3734.  
  3735. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
  3736. function(args, speaker)
  3737. local players = getPlayer(args[1], speaker)
  3738. for i,v in pairs(players)do
  3739. local pchar=_char(v)
  3740. for j,v1 in pairs(pchar.Head:GetChildren()) do
  3741. if v1:IsA("Sparkles") then
  3742. v1:Destroy()
  3743. end
  3744. end
  3745. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  3746. if v1:IsA("Sparkles") then
  3747. v1:Destroy()
  3748. end
  3749. end
  3750. for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  3751. if v1:IsA("Sparkles") then
  3752. v1:Destroy()
  3753. end
  3754. end
  3755. for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  3756. if v1:IsA("Sparkles") then
  3757. v1:Destroy()
  3758. end
  3759. end
  3760. for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  3761. if v1:IsA("Sparkles") then
  3762. v1:Destroy()
  3763. end
  3764. end
  3765. for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  3766. if v1:IsA("Sparkles") then
  3767. v1:Destroy()
  3768. end
  3769. end
  3770. end
  3771. end)
  3772.  
  3773. addcmd('smoke', 'give a player smoke',{},
  3774. function(args, speaker)
  3775. local players = getPlayer(args[1], speaker)
  3776. for i,v in pairs(players)do
  3777. local pchar=_char(v)
  3778. Instance.new("Smoke", pchar.HumanoidRootPart)
  3779. end
  3780. end)
  3781.  
  3782. addcmd('addstat', 'give a player a stat',{'stat'},
  3783. function(args, speaker)
  3784. local players = getPlayer(args[1], speaker)
  3785. for i,v in pairs(players)do
  3786. spawn(function()
  3787. if gPlayers[v]:FindFirstChild("leaderstats") then
  3788. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  3789. if child.Name == "STAT" then
  3790. child:Destroy()
  3791. end
  3792. end
  3793. local score = Instance.new("StringValue")
  3794. score.Name = "STAT"
  3795. score.Value = GLS(false, 1)
  3796. score.Parent = gPlayers[v].leaderstats
  3797. else
  3798. local stats = Instance.new("IntValue")
  3799. stats.Name = "leaderstats"
  3800. stats.Parent = gPlayers[v]
  3801. for _, child in pairs(gPlayers[v].leaderstats:GetChildren()) do
  3802. if child.Name == "STAT" then
  3803. child:Destroy()
  3804. end
  3805. end
  3806. local score = Instance.new("StringValue")
  3807. score.Name = "STAT"
  3808. score.Value = GLS(false, 1)
  3809. score.Parent = gPlayers[v].leaderstats
  3810. end
  3811. end)
  3812. end
  3813. end)
  3814.  
  3815. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  3816. function(args, speaker)
  3817. local players = getPlayer(args[1], speaker)
  3818. for i,v in pairs(players)do
  3819. local pchar=_char(v)
  3820. for j,v1 in pairs(pchar.HumanoidRootPart:GetChildren()) do
  3821. if v1:IsA("Smoke") then
  3822. v1:Destroy()
  3823. end
  3824. end
  3825. end
  3826. end)
  3827.  
  3828. addcmd('longneck', 'makes a player have a really long neck',{'giraffe'},
  3829. function(args, speaker)
  3830. local players = getPlayer(args[1], speaker)
  3831. for i,v in pairs(players)do
  3832. local pchar=_char(v)
  3833. for i,v in pairs(pchar:GetChildren()) do
  3834. if pchar.Torso:FindFirstChild("Neck") then
  3835. pchar.Torso.Neck.C0 = CFrame.new(0,3,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  3836. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  3837. Neck = Instance.new("Part", pchar) Neck.Name = "Neck" Neck.Size = Vector3.new(1,3,1)
  3838. Neck.Position = Vector3.new(0,100,0) Neck.BrickColor = BrickColor.new(tostring(pchar.Head.BrickColor)) Neck.Locked = true
  3839. local Mesh = Instance.new("CylinderMesh", Neck) Mesh.Scale = Vector3.new(0.7,1,0.7)
  3840. local Weld = Instance.new("Weld", Neck) Weld.Part0 = Neck Weld.Part1 = pchar.Torso Weld.C0 = CFrame.new(0,-2,0)
  3841. end
  3842. end
  3843. end
  3844. end)
  3845.  
  3846. addcmd('unlongneck', 'makes a player have a really long neck',{'nolongneck', 'ungiraffe', 'nogiraffe'},
  3847. function(args, speaker)
  3848. local players = getPlayer(args[1], speaker)
  3849. for i,v in pairs(players)do
  3850. local pchar=_char(v)
  3851. for i,v in pairs(pchar:GetChildren()) do
  3852. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(-math.rad(90),0,math.rad(180))
  3853. local Neck = pchar:FindFirstChild("Neck") if Neck then Neck:Destroy() end
  3854. end
  3855. end
  3856. end)
  3857.  
  3858. addcmd('removeterrain', 'rip terrain',{'noterrain','clrterrain'},
  3859. function(args, speaker)
  3860. game.Workspace.Terrain:Clear()
  3861. end)
  3862.  
  3863. addcmd('smite','get hit by lightning',{},
  3864. function(args, speaker)
  3865. local players = getPlayer(args[1], speaker)
  3866. for i,v in pairs(players)do
  3867. spawn(function()
  3868. local pchar=_char(v)
  3869. game.Lighting.Ambient = Color3.new(0,0,0)
  3870. game.Lighting.ClockTime = 0
  3871. game.Lighting.Brightness = 0
  3872. local s = Instance.new("Sound")
  3873. s.Name = "thunder"
  3874. s.SoundId = "http://www.roblox.com/asset/?id=357559831"
  3875. s.Volume = 10
  3876. s.Pitch = 1
  3877. s.Looped = false
  3878. s.archivable = true
  3879. s.Parent = pchar.Head
  3880. wait()
  3881. s:play()
  3882. wait(1)
  3883. local e = Instance.new("Explosion")
  3884. e.BlastRadius = 5
  3885. e.BlastPressure = 1000
  3886. e.Parent = game.Workspace
  3887. e.Position = pchar.HumanoidRootPart.Position
  3888. gPlayers[v].Character:BreakJoints()
  3889. System = {}
  3890. System.Create = function(a, c)
  3891. local e = Instance.new(a)
  3892. for d, a in pairs(c) do
  3893. local b, a = ypcall(function()
  3894. return e[d]
  3895. end)
  3896. if b then
  3897. e[d] = c[d]
  3898. end
  3899. end
  3900. return e
  3901. end
  3902. function b(d, b)
  3903. local c = getfenv(d)
  3904. local a = setmetatable({}, {
  3905. __index = function(a, a)
  3906. if a:lower() == 'script' then
  3907. return b
  3908. else
  3909. return c[a]
  3910. end
  3911. end
  3912. })
  3913. setfenv(d, a)
  3914. ypcall(function()
  3915. d()
  3916. end)
  3917. end
  3918. c = {}
  3919. mas = Instance.new("Model",game:GetService("Lighting"))
  3920. mas.Name = "CompiledModel"
  3921. o1 = System.Create("Model",{
  3922. ["Name"] = "SMITE",
  3923. ["Parent"] = mas,
  3924. })
  3925. o2 = System.Create("Part",{
  3926. ["Parent"] = o1,
  3927. ["Material"] = Enum.Material.Cobblestone,
  3928. ["BrickColor"] = BrickColor.new("New Yeller"),
  3929. ["Transparency"] = 0.60000002384186,
  3930. ["Position"] = pchar.HumanoidRootPart.Position,
  3931. ["Anchored"] = true,
  3932. ["CanCollide"] = false,
  3933. ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
  3934. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  3935. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3936. ["Color"] = Color3.new(1, 1, 0),
  3937. })
  3938. o3 = System.Create("Part",{
  3939. ["Parent"] = o1,
  3940. ["Material"] = Enum.Material.Foil,
  3941. ["BrickColor"] = BrickColor.new("New Yeller"),
  3942. ["Transparency"] = 0.40000000596046,
  3943. ["Position"] = pchar.HumanoidRootPart.Position,
  3944. ["Rotation"] = Vector3.new(-0, -90, 0),
  3945. ["Anchored"] = true,
  3946. ["CanCollide"] = false,
  3947. ["Size"] = Vector3.new(7.39999962, 578.400024, 7.39999962),
  3948. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  3949. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3950. ["Color"] = Color3.new(1, 1, 0),
  3951. })
  3952. o4 = System.Create("PointLight",{
  3953. ["Parent"] = o3,
  3954. ["Brightness"] = 10000000000,
  3955. ["Range"] = 60,
  3956. })
  3957. o5 = System.Create("Part",{
  3958. ["Parent"] = o1,
  3959. ["Material"] = Enum.Material.Cobblestone,
  3960. ["BrickColor"] = BrickColor.new("New Yeller"),
  3961. ["Transparency"] = 0.60000002384186,
  3962. ["Position"] = pchar.HumanoidRootPart.Position,
  3963. ["Rotation"] = Vector3.new(-0, -90, 0),
  3964. ["Anchored"] = true,
  3965. ["CanCollide"] = false,
  3966. ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
  3967. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  3968. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3969. ["Color"] = Color3.new(1, 1, 0),
  3970. })
  3971. o6 = System.Create("Part",{
  3972. ["Parent"] = o1,
  3973. ["Material"] = Enum.Material.Cobblestone,
  3974. ["BrickColor"] = BrickColor.new("New Yeller"),
  3975. ["Transparency"] = 0.60000002384186,
  3976. ["Position"] = pchar.HumanoidRootPart.Position,
  3977. ["Rotation"] = Vector3.new(-180, 0, -180),
  3978. ["Anchored"] = true,
  3979. ["CanCollide"] = false,
  3980. ["Size"] = Vector3.new(8.39999962, 578.400024, 0.99999994),
  3981. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  3982. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3983. ["Color"] = Color3.new(1, 1, 0),
  3984. })
  3985. o7 = System.Create("Part",{
  3986. ["Parent"] = o1,
  3987. ["Material"] = Enum.Material.Cobblestone,
  3988. ["BrickColor"] = BrickColor.new("New Yeller"),
  3989. ["Transparency"] = 0.60000002384186,
  3990. ["Position"] = pchar.HumanoidRootPart.Position,
  3991. ["Rotation"] = Vector3.new(0, 90, 0),
  3992. ["Anchored"] = true,
  3993. ["CanCollide"] = false,
  3994. ["Size"] = Vector3.new(8.39999962, 379.800018, 0.99999994),
  3995. ["BottomSurface"] = Enum.SurfaceType.Smooth,
  3996. ["TopSurface"] = Enum.SurfaceType.Smooth,
  3997. ["Color"] = Color3.new(1, 1, 0),
  3998. })
  3999. mas.Parent = workspace
  4000. mas:MakeJoints()
  4001. local b = mas:GetChildren()
  4002. for a = 1, #b do
  4003. b[a].Parent = workspace
  4004. ypcall(function()
  4005. b[a]:MakeJoints()
  4006. end)
  4007. end
  4008. mas:Destroy()
  4009. for a = 1, #c do
  4010. coroutine.resume(c[a])
  4011. end
  4012.  
  4013. wait(0.5)
  4014. game.workspace.SMITE:Destroy()
  4015.  
  4016.  
  4017. wait(1)
  4018. game.Lighting.Ambient = origsettings.abt
  4019. game.Lighting.Brightness = origsettings.brt
  4020. game.Lighting.TimeOfDay = origsettings.time
  4021. end)
  4022. end
  4023. end)
  4024.  
  4025. addcmd('asteroid','get hit by an asteroid',{'meteor', 'meteorite'},
  4026. function(args, speaker)
  4027. local players = getPlayer(args[1], speaker)
  4028. for i,v in pairs(players)do
  4029. spawn(function()
  4030. local pchar=_char(v)
  4031. 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)
  4032. local Mesh = Instance.new("SpecialMesh", Ast) Mesh.MeshId = "rbxassetid://1290033" Mesh.Scale = Vector3.new(6.2,6.2,6.2) Mesh.TextureId = "rbxassetid://1290030"
  4033. local Fire = Instance.new("Fire", Ast) Fire.Heat = 25 Fire.Size = 30
  4034. local Smoke = Instance.new("Smoke", Ast) Smoke.RiseVelocity = 10 Smoke.Size = 10
  4035. local f = Instance.new("Sound")
  4036. f.Name = "fly"
  4037. f.SoundId = "rbxassetid://179438534"
  4038. f.Volume = 3
  4039. f.Pitch = 1
  4040. f.Looped = true
  4041. f.archivable = true
  4042. f.Parent = Ast
  4043. f:play()
  4044. local Touched = false
  4045. coroutine.wrap(function()
  4046. repeat wait(0.1)
  4047. Ast.Position = Vector3.new(pchar.HumanoidRootPart.Position.X, Ast.Position.Y, pchar.HumanoidRootPart.Position.Z)
  4048. until not Ast or Ast.Parent == nil or Touched == true
  4049. end)()
  4050. Ast.Touched:connect(function(Part)
  4051. if Touched == false then
  4052. Touched = true
  4053. Part:BreakJoints()
  4054. local Boom = Instance.new("Explosion", workspace)
  4055. Boom.Position = Ast.Position
  4056. Boom.BlastPressure = 1000000
  4057. Boom.BlastRadius = 30
  4058. Fire.Heat = 0
  4059. Smoke.RiseVelocity = 0
  4060. f:Destroy()
  4061. local s = Instance.new("Sound")
  4062. s.Name = "boom"
  4063. s.SoundId = "rbxassetid://188590169"
  4064. s.Volume = 3
  4065. s.Pitch = 1
  4066. s.Looped = true
  4067. s.archivable = true
  4068. s.Parent = Ast
  4069. s:play()
  4070. coroutine.wrap(function()
  4071. wait(10)
  4072. s:Destroy()
  4073. if Ast and Ast.Parent ~= nil then
  4074. Ast:Destroy()
  4075. end
  4076. end)()
  4077. end
  4078. end)
  4079. end)
  4080. end
  4081. end)
  4082.  
  4083. addcmd('bomb','gives you a bomb vest',{'terrorist'},
  4084. function(args, speaker)
  4085. local players = getPlayer(args[1], speaker)
  4086. for i,v in pairs(players)do
  4087. spawn(function()
  4088. local Char=_char(v)
  4089. local HumanoidRootPart = Char.HumanoidRootPart
  4090. local TickWait = 1
  4091. local Dead = false
  4092.  
  4093. local Position = Vector3.new(0,100,0)
  4094. function NewPart(Parent)
  4095. local Part = Instance.new("Part", Parent)
  4096. Part.CanCollide = false
  4097. Part.Position = Position
  4098. Part.TopSurface = "Smooth"
  4099. Part.BottomSurface = "Smooth"
  4100. Position = Position + Vector3.new(0,10,0)
  4101. return Part
  4102. end
  4103.  
  4104. local Model = Char:FindFirstChild("Bomb")
  4105. if Model then Model:Destroy() end
  4106.  
  4107. local Model = Instance.new("Model", Char)
  4108. Model.Name = "Bomb"
  4109.  
  4110. local Belt = NewPart(Model)
  4111. Belt.Size = Vector3.new(2.2,0.5,1.2)
  4112. local Weld = Instance.new("Weld", Belt)
  4113. Weld.Part0 = Belt
  4114. Weld.Part1 = HumanoidRootPart
  4115. Weld.C0 = CFrame.new(0,1.1,0)
  4116. local Light = Instance.new("PointLight", Belt)
  4117. Light.Range = 15
  4118. Light.Brightness = 5
  4119. Light.Color = Color3.new(1,0,0)
  4120. local Beep = Instance.new("Sound", Belt)
  4121. Beep.SoundId = "http://www.roblox.com/asset/?id=188588790"
  4122. local ExplodeSound = Instance.new("Sound", Belt)
  4123. ExplodeSound.SoundId = "http://www.roblox.com/asset/?id="..(tonumber((math.ceil(1776.66^2)+17).."."..string.rep("36",3))*77)+0.00003
  4124. ExplodeSound.Pitch = 2.8
  4125. ExplodeSound.Volume = 3
  4126.  
  4127. local Back = NewPart(Model)
  4128. Back.Size = Vector3.new(1.5,1.5,0.5)
  4129. local Weld = Instance.new("Weld", Back)
  4130. Weld.Part0 = Back
  4131. Weld.Part1 = HumanoidRootPart
  4132. Weld.C0 = CFrame.new(0,0.1,-0.75)
  4133.  
  4134. local StrapLeft = NewPart(Model)
  4135. StrapLeft.Size = Vector3.new(0.2,0.5,1.6)
  4136. local Weld = Instance.new("Weld", StrapLeft)
  4137. Weld.Part0 = StrapLeft
  4138. Weld.Part1 = HumanoidRootPart
  4139. Weld.C0 = CFrame.new(0.65,-0.9,-0.2)
  4140.  
  4141. local BuckleLeft = NewPart(Model)
  4142. BuckleLeft.Size = Vector3.new(0.2,1.5,0.2)
  4143. local Weld = Instance.new("Weld", BuckleLeft)
  4144. Weld.Part0 = BuckleLeft
  4145. Weld.Part1 = HumanoidRootPart
  4146. Weld.C0 = CFrame.new(0.65,0.1,0.5)
  4147.  
  4148. local StrapRight = NewPart(Model)
  4149. StrapRight.Size = Vector3.new(0.2,0.5,1.6)
  4150. local Weld = Instance.new("Weld", StrapRight)
  4151. Weld.Part0 = StrapRight
  4152. Weld.Part1 = HumanoidRootPart
  4153. Weld.C0 = CFrame.new(-0.65,-0.9,-0.2)
  4154.  
  4155. local BuckleRight = NewPart(Model)
  4156. BuckleRight.Size = Vector3.new(0.2,1.5,0.2)
  4157. local Weld = Instance.new("Weld", BuckleRight)
  4158. Weld.Part0 = BuckleRight
  4159. Weld.Part1 = HumanoidRootPart
  4160. Weld.C0 = CFrame.new(-0.65,0.1,0.5)
  4161.  
  4162. LightEnabled = true
  4163. coroutine.wrap(function()
  4164. repeat
  4165. wait(TickWait)
  4166. LightEnabled = not LightEnabled
  4167. Light.Enabled = LightEnabled
  4168. Beep:Play()
  4169. until Dead == true or Char:FindFirstChild("Bomb") == nil
  4170. end)()
  4171.  
  4172. wait(10)
  4173. if Dead == false then
  4174. Dead = true
  4175. ExplodeSound:Play(); wait(1.4)
  4176. local Explosion = Instance.new("Explosion")
  4177. Explosion.Position = Belt.Position
  4178. Explosion.BlastPressure = 100000
  4179. Explosion.DestroyJointRadiusPercent = 0.7
  4180. Explosion.ExplosionType = "CratersAndDebris"
  4181. Explosion.BlastRadius = 50
  4182. Explosion.Parent = workspace
  4183. end
  4184. end)
  4185. end
  4186. end)
  4187.  
  4188. addcmd('btools', 'gives a player btools',{},
  4189. function(args, speaker)
  4190. local players = getPlayer(args[1], speaker)
  4191. if players ~= nil then
  4192. for i, v in pairs(players) do
  4193. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  4194. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  4195. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  4196. if args[1] == "all" then
  4197. Notify('Gave btools to everyone')
  4198. elseif args[1] == "others" then
  4199. Notify('Gave btools to others')
  4200. elseif args[1] == "friends" then
  4201. Notify('Gave btools to friends')
  4202. elseif args[1] == "nonfriends" then
  4203. Notify('Gave btools to non friends')
  4204. elseif args[1] == "team" then
  4205. Notify('Gave btools to your team')
  4206. elseif args[1] == "nonteam" then
  4207. Notify('Gave btools to the opposing team')
  4208. elseif args[1] == "guests" then
  4209. Notify('Gave btools to guests')
  4210. elseif args[1] == "admins" then
  4211. Notify('Gave btools to admins')
  4212. elseif args[1] == "nonadmins" then
  4213. Notify('Gave btools to nonadmins')
  4214. else
  4215. Notify('Gave btools to ' .. gPlayers[v].Name)
  4216. end
  4217. end
  4218. end
  4219. end)
  4220.  
  4221. addcmd('hatsize', 'changes players hat size',{''},
  4222. function(args, speaker)
  4223. local players = getPlayer(args[1], speaker)
  4224. for i,v in pairs(players) do
  4225. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  4226. if v:IsA('Accessory') then
  4227. for a,b in pairs(v.Handle:GetChildren()) do
  4228. if b:IsA('SpecialMesh') then
  4229. b.Scale = args[2] * Vector3.new(1, 1, 1)
  4230. end
  4231. end
  4232. end
  4233. end
  4234. end
  4235. end)
  4236.  
  4237. addcmd('headsize', 'changes players head size',{''},
  4238. function(args, speaker)
  4239. local players = getPlayer(args[1], speaker)
  4240. for i,v in pairs(players) do
  4241. local plrchar = _players[v].Character
  4242. if args[2] == 1 then
  4243. plrchar.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  4244. plrchar.Head.Mesh.Offset = Vector3.new(0, 0, 0)
  4245. else
  4246. plrchar.Head.Mesh.Scale = args[2] * Vector3.new(1.25, 1.25, 1.25)
  4247. end
  4248. end
  4249. end)
  4250.  
  4251. addcmd('change', 'changes a players stat',{'stat'},
  4252. function(args, speaker)
  4253. local players = getPlayer(args[1], speaker)
  4254. for i,v in pairs(players) do
  4255. if _players[v]:FindFirstChild('leaderstats') then
  4256. for i,v in pairs(_players[v].leaderstats:GetChildren()) do
  4257. if string.lower(v.Name) == string.lower(args[2]) and v:IsA('IntValue') or v:IsA('NumberValue') then
  4258. if args[3] then v.Value = tonumber(args[3]) end
  4259. end
  4260. end
  4261. end
  4262. end
  4263. end)
  4264.  
  4265. addcmd('draw', 'drawing tool',{},
  4266. function(args, speaker)
  4267. if speaker.userId ~= LP.userId then
  4268. lponly(speaker)
  4269. else
  4270. for i,v in next,game:children()do
  4271. pcall(function()
  4272. local c=v.className;
  4273. rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  4274. end);
  4275. end;
  4276.  
  4277.  
  4278. user=players.LocalPlayer;
  4279. uname=user.Name;
  4280. guis=game.CoreGui;
  4281. pack=user.Backpack;
  4282.  
  4283. keyDowns={};
  4284. freeKeys={};
  4285. shortcuts={};
  4286.  
  4287. _G.mine=_G.mine or{};
  4288.  
  4289. name='Draw3D';
  4290. url='http://www.roblox.com/asset/?id=%d';
  4291.  
  4292. iconNormal=url:format(96578285);
  4293. iconOnDown=url:format(96584484);
  4294.  
  4295. ver=0;
  4296. drawPixel=0.10;
  4297. _G.drawLimit=_G.drawLimit or 1000;
  4298.  
  4299. _G.drawColor=_G.drawColor or Color3.new();
  4300.  
  4301.  
  4302.  
  4303.  
  4304.  
  4305. destroy=game.remove;
  4306. find=game.findFirstChild;
  4307. new=Instance.new;
  4308. with=function(c)
  4309. return function(p)
  4310. local o=type(c)=='string'and new(c)or c;
  4311. local x=p.Parent;p.Parent=nil;
  4312. for i,v in next,p do
  4313. o[i]=v;
  4314. end;
  4315. if(x)then
  4316. o.Parent=x;
  4317. end;
  4318. return o;
  4319. end;
  4320. end;
  4321. getPlace=function()
  4322. if(find(workspace,'draw')==nil)then
  4323. new('Model',workspace).Name='draw';
  4324. end;
  4325. if(find(workspace.draw,uname)==nil)then
  4326. new('Model',workspace.draw).Name=uname;
  4327. end;
  4328. return workspace.draw[uname];
  4329. end;
  4330. drawLine=function(start,target)
  4331. local gui=with'BlockMesh'{
  4332. Parent=with'Part'{
  4333. CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  4334. Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  4335. Parent=getPlace();
  4336. Color=_G.drawColor;
  4337. BottomSurface=0;
  4338. Anchored=true;
  4339. TopSurface=0;
  4340. formFactor=3;
  4341. Name=name;
  4342. }}.Parent;
  4343. table.insert(_G.mine,gui);
  4344. return gui;
  4345. end;
  4346. onDown=function()
  4347. if(drawing)then
  4348. return nil;
  4349. end;
  4350. if(selectGui.Adornee)then
  4351. destroy(selectGui.Adornee);
  4352. end;
  4353.  
  4354. drawing=true;
  4355.  
  4356. mouse.Icon=iconOnDown;
  4357. ver=ver+1;
  4358.  
  4359.  
  4360. local cVer,start,target=ver,mouse.hit.p;
  4361.  
  4362. local group={};
  4363. repeat
  4364. Wait(0.02);
  4365.  
  4366. if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  4367.  
  4368. target=mouse.hit.p;
  4369.  
  4370. table.insert(group,drawLine(start,target));
  4371.  
  4372. start=target;
  4373. end;
  4374. until ver~=cVer;
  4375. drawing=false;
  4376.  
  4377. local groupM=new('Model',getPlace());
  4378. for i,v in next,group do
  4379. if(v:IsDescendantOf(Workspace))then
  4380. v.Parent=groupM;
  4381. end;
  4382. end;
  4383. if(next(groupM:children())==nil)then
  4384. destroy(groupM);
  4385. end;
  4386. end;
  4387. onUp=function()
  4388. mouse.Icon=iconNormal;
  4389. ver=ver+1;
  4390. end;
  4391. onKeyDown=function(k)
  4392. if(freeKeys[k]==false)then
  4393. return false;
  4394. end;
  4395. freeKeys[k]=false;
  4396. Wait(0.01);
  4397. if(keyDowns[k])then
  4398. keyDowns[k]();
  4399. elseif(shortcuts[k])then
  4400. shortcuts[k]();
  4401. end;
  4402. end;
  4403. onKeyUp=function(k)
  4404. freeKeys[k]=true;
  4405. end;
  4406. onMove=function()
  4407.  
  4408. end;
  4409. onSelect=function(lmouse)
  4410. frame.Visible=true;
  4411.  
  4412. mouse=lmouse;
  4413.  
  4414. mouse.Icon=iconNormal;
  4415.  
  4416. mouse.Button1Down:connect(onDown);
  4417. mouse.KeyDown:connect(onKeyDown);
  4418. mouse.Button1Up:connect(onUp);
  4419. mouse.KeyUp:connect(onKeyUp);
  4420. mouse.Move:connect(onMove);
  4421. end;
  4422. onDeselect=function()
  4423. ver=ver+1;
  4424. frame.Visible=false;
  4425. selectGui.Adornee=nil;
  4426. mouse.Icon=iconNormal;
  4427. for i,v in next,freeKeys do
  4428. freeKeys[i]=true;
  4429. end;
  4430. end;
  4431. addButton=function(title,shortcut,fun)
  4432. with'TextButton'{
  4433. Text=string.format(' %s (%s)',title,shortcut);
  4434. TextXAlignment=0;
  4435. Parent=frame;
  4436. }.MouseButton1Up:connect(fun);
  4437.  
  4438. shortcuts[shortcut]=fun;
  4439.  
  4440. local c=#frame:children();
  4441. for i,v in next,frame:children()do
  4442. v.Position=UDim2.new(0,0,0,20*(i-1));
  4443. v.Size=UDim2.new(1,0,0,20);
  4444. end;
  4445.  
  4446. frame.Position=UDim2.new(1,-152,.5,-c*10);
  4447. frame.Size=UDim2.new(0,150,0,c*20);
  4448. end;
  4449.  
  4450.  
  4451.  
  4452.  
  4453.  
  4454.  
  4455.  
  4456.  
  4457. for i,v in next,{guis;pack;}do
  4458. pcall(function()
  4459. repeat until destroy(v[name]);
  4460. end);
  4461. end;
  4462.  
  4463.  
  4464.  
  4465. tool=with'HopperBin'{
  4466. Parent=pack;
  4467. Name=name;
  4468. };
  4469. tool.Deselected:connect(onDeselect);
  4470. tool.Selected:connect(onSelect);
  4471.  
  4472.  
  4473.  
  4474.  
  4475. screen=with'ScreenGui'{
  4476. Parent=guis;
  4477. Name=name;
  4478. };
  4479. frame=with'Frame'{
  4480. Parent=screen;
  4481. Visible=false;
  4482. };
  4483. clframe=with'Frame'{
  4484. Position=UDim2.new(.5,-50,.5,-50);
  4485. Size=UDim2.new(0,100,0,100);
  4486. Visible=false;
  4487. Parent=screen;
  4488. };
  4489. selectGui=with'SelectionBox'{
  4490. Parent=screen;
  4491. };
  4492.  
  4493. local c=0;
  4494. for y=0,7 do
  4495. for x=0,7 do
  4496. local color=BrickColor.palette(c).Color;
  4497.  
  4498. with'ImageButton'{
  4499. Position=UDim2.new(.125*x,0,.125*y);
  4500. Size=UDim2.new(.125,0,.125);
  4501. BackgroundColor3=color;
  4502. Parent=clframe;
  4503. }.MouseButton1Up:connect(function()
  4504. clframe.Visible=false;
  4505. _G.drawColor=color;
  4506. end);
  4507.  
  4508. c=c+1;
  4509. end;
  4510. end;
  4511.  
  4512. addButton('Color','c',function()
  4513. clframe.Visible=true;
  4514. end);
  4515. addButton('Remove your draws','r',function()
  4516. repeat
  4517. destroy(_G.mine[1]);
  4518. table.remove(_G.mine,1);
  4519. Wait(0.01);
  4520. until nil;
  4521. end);
  4522. addButton('Remove global draws','k',function()
  4523. destroy(workspace.draw);
  4524. while(_G.mine[1])do
  4525. destroy(_G.mine[1]);
  4526. table.remove(_G.mine,1);
  4527. end;
  4528. end);
  4529. addButton('Remove selected','x',function()
  4530. repeat
  4531. if(find(workspace,'draw'))then
  4532. local dt=mouse.target;
  4533. if(dt and dt:IsDescendantOf(workspace.draw))then
  4534. selectGui.Adornee=dt.Parent;
  4535. else
  4536. selectGui.Adornee=nil;
  4537. end;
  4538. else
  4539. selectGui.Adornee=nil;
  4540. end;
  4541. Wait(0.01);
  4542. until freeKeys.x;
  4543. selectGui.Adornee=nil;
  4544. end);
  4545.  
  4546.  
  4547.  
  4548.  
  4549. repeat
  4550. Wait(0.01);
  4551. if(next(_G.mine)and _G.mine[_G.drawLimit])then
  4552. destroy(_G.mine[1]);
  4553. table.remove(_G.mine,1);
  4554. end;
  4555. until script.Parent==nil or tool.Parent==nil;
  4556. script.Disabled=true;
  4557. destroy(screen);
  4558. end
  4559. end)
  4560.  
  4561. addcmd('god', 'gods player',{},
  4562. function(args, speaker)
  4563. local players = getPlayer(args[1], speaker)
  4564. for i,v in pairs(players)do
  4565. local pchar=_char(v)
  4566. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  4567. end
  4568. end)
  4569.  
  4570. addcmd('sgod', 'silently gods player',{},
  4571. function(args, speaker)
  4572. local players = getPlayer(args[1], speaker)
  4573. for i,v in pairs(players)do
  4574. local pchar=_char(v)
  4575. spawn(function()
  4576. pchar.Humanoid.MaxHealth = 10000000
  4577. wait()
  4578. pchar.Humanoid.Health = 10000000
  4579. if args[1] == "all" then
  4580. Notify('Godded everyone')
  4581. elseif args[1] == "others" then
  4582. Notify('Godded others')
  4583. elseif args[1] == "friends" then
  4584. Notify('Godded friends')
  4585. elseif args[1] == "nonfriends" then
  4586. Notify('Godded non friends')
  4587. elseif args[1] == "team" then
  4588. Notify('Godded your team')
  4589. elseif args[1] == "nonteam" then
  4590. Notify('Godded the opposing team')
  4591. elseif args[1] == "guests" then
  4592. Notify('Godded guests')
  4593. elseif args[1] == "admins" then
  4594. Notify('Godded admins')
  4595. elseif args[1] == "nonadmins" then
  4596. Notify('Godded nonadmins')
  4597. else
  4598. Notify('Godded ' .. gPlayers[v].Name)
  4599. end
  4600. end)
  4601. end
  4602. end)
  4603.  
  4604. addcmd('ungod', 'removes god from a player',{},
  4605. function(args, speaker)
  4606. local players = getPlayer(args[1], speaker)
  4607. for i,v in pairs(players)do
  4608. local pchar=_char(v)
  4609. if pchar then
  4610. pchar.Humanoid.MaxHealth=100
  4611. pchar.Humanoid.Health=100
  4612. end
  4613. end
  4614. end)
  4615.  
  4616. addcmd('heal', 'resets a players health',{},
  4617. function(args, speaker)
  4618. local players = getPlayer(args[1], speaker)
  4619. for i,v in pairs(players)do
  4620. local pchar=_char(v)
  4621. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  4622. end
  4623. end)
  4624.  
  4625. addcmd('fart', 'makes u fart',{},
  4626. function(args, speaker)
  4627. local players = getPlayer(args[1], speaker)
  4628. for i,v in pairs(players)do
  4629. spawn(function()
  4630. local pchar=_char(v)
  4631. fart = Instance.new("Smoke")
  4632. fart.Parent = pchar.HumanoidRootPart
  4633. fart.Color = Color3.new(255/255, 255/255, 0)
  4634. fart.Opacity = 0.4
  4635. fart.Size = 1.0
  4636. fart.RiseVelocity = 8
  4637. fartsound = Instance.new("Sound", workspace)
  4638. fsound = "http://www.roblox.com/asset?id=251309043"
  4639. fartsound.SoundId = fsound
  4640. fartsound.Volume = 1.0
  4641. fartsound:Play()
  4642. wait(9.0)
  4643. fartsound:Destroy()
  4644. pchar.HumanoidRootPart.Smoke:Destroy()
  4645. end)
  4646. end
  4647. end)
  4648.  
  4649. addcmd('decalspam', 'you can already guess...',{},
  4650. function(args, speaker)
  4651. Notify('Decal Spammed ID: ' ..args[1])
  4652. wait(4)
  4653. decalID = args[1]
  4654. function exPro(root)
  4655. for _, v in pairs(root:GetChildren()) do
  4656. if v:IsA("BasePart") then
  4657. local One = Instance.new("Decal", v)
  4658. local Two = Instance.new("Decal", v)
  4659. local Three = Instance.new("Decal", v)
  4660. local Four = Instance.new("Decal", v)
  4661. local Five = Instance.new("Decal", v)
  4662. local Six = Instance.new("Decal", v)
  4663. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  4664. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  4665. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  4666. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  4667. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  4668. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  4669. One.Face = "Front"
  4670. Two.Face = "Back"
  4671. Three.Face = "Right"
  4672. Four.Face = "Left"
  4673. Five.Face = "Top"
  4674. Six.Face = "Bottom"
  4675. One.Name = "IYdecal"
  4676. Two.Name = "IYdecal"
  4677. Three.Name = "IYdecal"
  4678. Four.Name = "IYdecal"
  4679. Five.Name = "IYdecal"
  4680. Six.Name = "IYdecal"
  4681. end
  4682. exPro(v)
  4683. end
  4684. end
  4685. function asdf(root)
  4686. for _, v in pairs(root:GetChildren()) do
  4687. asdf(v)
  4688. end
  4689. end
  4690. exPro(game.Workspace)
  4691. asdf(game.Workspace)
  4692. end)
  4693.  
  4694. addcmd('undecalspam', 'removes the mess',{},
  4695. function(args, speaker)
  4696. Notify('Removing Decal Spam...')
  4697. wait(4)
  4698. function exPro(root)
  4699. for _, v in pairs(root:GetChildren()) do
  4700. if v:IsA("Decal") and v.Texture == "http://www.roblox.com/asset/?id="..decalID then
  4701. v.Parent = nil
  4702. end
  4703. exPro(v)
  4704. end
  4705. end
  4706. function asdf(root)
  4707. for _, v in pairs(root:GetChildren()) do
  4708. asdf(v)
  4709. end
  4710. end
  4711. exPro(game.Workspace)
  4712. asdf(game.Workspace)
  4713. end)
  4714.  
  4715. addcmd('sky', 'sets the sky',{'skybox'},
  4716. function(args, speaker)
  4717. s = Instance.new("Sky")
  4718. s.Name = "Sky"
  4719. s.Parent = game.Lighting
  4720. skyboxID = args[1]
  4721. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  4722. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  4723. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  4724. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  4725. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  4726. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  4727. game.Lighting.TimeOfDay = 12
  4728. end)
  4729.  
  4730. addcmd('freeze', 'freezes a player',{'fr'},
  4731. function(args, speaker)
  4732. local players = getPlayer(args[1], speaker)
  4733. if players ~= nil then
  4734. for i, v in pairs(players) do
  4735. for i, x in next, _char(v):GetChildren() do if not x.Anchored then x.Anchored = true end
  4736. end
  4737. end
  4738. end
  4739. end)
  4740.  
  4741. addcmd('thaw', 'unfreezes a player',{'unfreeze','unfr'},
  4742. function(args, speaker)
  4743. local players = getPlayer(args[1], speaker)
  4744. if players ~= nil then
  4745. for i, v in pairs(players) do
  4746. for i, x in next, _char(v):GetChildren() do if x.Anchored then x.Anchored = false end
  4747. end
  4748. end
  4749. end
  4750. end)
  4751.  
  4752. addcmd('spawn', 'places a spawn',{'spawnpoint'},
  4753. function(args, speaker)
  4754. local players = getPlayer(args[1], speaker)
  4755. if players ~= nil then
  4756. for i, v in pairs(players) do
  4757. local M = Instance.new('SpawnLocation', workspace) M.Name = 'IYspawn'
  4758. M.CFrame = _char(v).HumanoidRootPart.CFrame
  4759. M.BrickColor = BrickColor.new('Really black') M.Material = 'Neon' M.Size = Vector3.new(6, 1, 6)
  4760. M.Position = _char(v).HumanoidRootPart.Position + Vector3.new(0, -3.5, 0)
  4761. M.Anchored = true
  4762. end
  4763. end
  4764. end)
  4765.  
  4766. addcmd('deletespawns', 'places a spawn',{'removespawns'},
  4767. function(args, speaker)
  4768. for i,v in pairs(workspace:GetDescendants()) do
  4769. if v:IsA("SpawnLocation") then
  4770. v:Destroy()
  4771. end
  4772. end
  4773. end)
  4774.  
  4775. addcmd('neon', 'makes a player neon',{},
  4776. function(args, speaker)
  4777. local players = getPlayer(args[1], speaker)
  4778. if players ~= nil then
  4779. for i, v in pairs(players) do
  4780. for _, child in pairs( _char(v):GetChildren()) do
  4781. if child.ClassName == "CharacterMesh" then
  4782. child:Destroy()
  4783. end
  4784. end
  4785. for _, child in pairs( _char(v):GetChildren()) do
  4786. if child.ClassName == "Shirt" then
  4787. child:Destroy()
  4788. end
  4789. end
  4790. for _, child in pairs( _char(v):GetChildren()) do
  4791. if child.ClassName == "Pants" then
  4792. child:Destroy()
  4793. end
  4794. end
  4795. for _, child in pairs( _char(v):GetChildren()) do
  4796. if child.ClassName == "Part" then
  4797. child.Material = "Neon"
  4798. end
  4799. end
  4800. end
  4801. end
  4802. end)
  4803.  
  4804. addcmd('kill', 'kills a player',{},
  4805. function(args, speaker)
  4806. local players = getPlayer(args[1], speaker)
  4807. for i,v in pairs(players)do
  4808. local pchar=_char(v)
  4809. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  4810. end
  4811. end)
  4812.  
  4813. addcmd('delete', 'removes any part with a certain name from the workspace',{'remove'},
  4814. function(args, speaker)
  4815. part = GLS(false, 0)
  4816. local function dels(instance)
  4817. for i,v in pairs(instance:GetChildren())do
  4818. if v.Name == part then v:Destroy() end
  4819. dels(v)
  4820. end
  4821. end
  4822. dels(workspace)
  4823. Notify('Deleted ' ..GLS(false, 0))
  4824. end)
  4825.  
  4826. addcmd('blur', 'adjusts blur',{},
  4827. function(args, speaker)
  4828. local function dels(instance)
  4829. for i,v in pairs(instance:GetChildren())do
  4830. if v:IsA'BlurEffect'then v:Destroy()end
  4831. dels(v)
  4832. end
  4833. end
  4834. dels(game.Lighting)
  4835.  
  4836. local b = Instance.new("BlurEffect", game.Lighting)
  4837. b.Name = "IYblur"
  4838. b.Size = args[1]
  4839. end)
  4840.  
  4841.  
  4842. addcmd('volume','changes volume of sound',{},
  4843. function(args, speaker)
  4844. for i,v in pairs(game.Workspace:GetChildren())do
  4845. if v:IsA("Sound") and v.Name == "IYsound" then
  4846. v.Volume = args[1]
  4847. Notify('Changed volume to ' .. args[1])
  4848. end
  4849. end
  4850. end)
  4851.  
  4852. addcmd('pitch','changes pitch of sound',{},
  4853. function(args, speaker)
  4854. for i,v in pairs(game.Workspace:GetChildren())do
  4855. if v:IsA("Sound") and v.Name == "IYsound" then
  4856. v.Pitch = args[1]
  4857. Notify('Changed pitch to ' .. args[1])
  4858. end
  4859. end
  4860. end)
  4861.  
  4862. addcmd('loadmap', 'spawns a map',{},
  4863. function(args, speaker)
  4864. local m = args[1]
  4865.  
  4866. for i,v in pairs(game.Workspace:GetChildren()) do
  4867. if v.Name ~= "Terrain" and v.Name ~= "Camera" then
  4868. v:Destroy()
  4869. end
  4870. end
  4871.  
  4872. game.Lighting.FogEnd = 1999999999
  4873. game.Lighting.TimeOfDay = 14
  4874.  
  4875. for i,v in pairs(game.Lighting:GetChildren()) do
  4876. if v:IsA('Sky') then
  4877. v:Remove()
  4878. end
  4879. end
  4880.  
  4881. for i,v in pairs(game.Players:GetChildren()) do
  4882. if v.Character ~= nil then
  4883. local M = Instance.new('Model', game.Workspace) M.Name = 'respawn_iy'
  4884. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  4885. Instance.new('Humanoid', M)
  4886. v.Character = M
  4887. wait(1)
  4888. game:GetObjects('rbxassetid://'..m..'')[1].Parent = workspace
  4889. wait(1)
  4890. end
  4891. end
  4892. end)
  4893.  
  4894. addcmd('loadm','loads global messaging',{},
  4895. function(args, speaker)
  4896. msghook()
  4897. if MSGhook == false then
  4898. wait(0.1)
  4899.  
  4900. localp = game:GetService'Players'.LocalPlayer
  4901. localp.CharacterAppearanceId = 20018
  4902. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  4903. wait(3)
  4904. game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
  4905. wait(0.5)
  4906. repeat wait() until game.Players.LocalPlayer.Character.Humanoid.Health > 0
  4907. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  4908. repeat wait() until localp.Character:FindFirstChild'BunnyEarsOfCaprice'
  4909. _G.mainhat = localp.Character:FindFirstChild'BunnyEarsOfCaprice':Clone()
  4910. print'loaded hat successfully'
  4911. localp.CharacterAppearanceId = 0
  4912. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  4913. print'Resetting'
  4914. if _G.mainhat ~= nil then
  4915. local main = _G.mainhat.Handle.BunnyTools.EggScript3:Clone()
  4916. local localp = game:GetService'Players'.LocalPlayer
  4917. local part = Instance.new('Part')
  4918. part.Anchored = true
  4919. part.Transparency = 1
  4920. main.Disabled = false
  4921. main.Parent = part
  4922. _G.mainhat.Handle.BunnyTools.EggMesh3:Clone().Parent = part
  4923. Instance.new('ForceField', localp.Character)
  4924. localp.Character.HumanoidRootPart.Anchored = true
  4925. part.Parent = localp.Character
  4926. part.CFrame = localp.Character.HumanoidRootPart.CFrame
  4927. wait(0.5)
  4928. localp.Character.HumanoidRootPart.Anchored = false
  4929. repeat wait() until localp:FindFirstChild'ChessMsg'
  4930. part:Remove()
  4931. local message = localp:FindFirstChild'ChessMsg'
  4932. message.Text = ''
  4933. message.Parent = workspace
  4934. message.Name = "IYmessage"
  4935. if part ~= nil then part:Remove() end
  4936. localp.Character.HumanoidRootPart.Anchored = false
  4937. for _, child in pairs( workspace:GetChildren()) do
  4938. if child.Name == "Part" and child.Size == Vector3.new(8, 0.4, 8) then
  4939. child:Destroy()
  4940. end
  4941. end
  4942. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  4943. if localp.Character:FindFirstChild'ForceField' then localp.Character.ForceField:Remove() end
  4944. if _G.msg ~= nil then
  4945. print'Loaded Message System'
  4946. Notify('Loaded global message bypass')
  4947. else
  4948. warn'failed sadly'
  4949. end
  4950. end
  4951. elseif MSGhook == true then
  4952. Notify('Messages already loaded!')
  4953. end
  4954. end)
  4955.  
  4956. addcmd('countdown', 'makes a countdown', {},
  4957. function(args, speaker)
  4958. local players = getPlayer(args[1], speaker)
  4959. if args[1] ~= string then
  4960. local time = args[1]
  4961. msghook()
  4962. if MSGhook == true then
  4963. local h = game.Workspace.IYmessage
  4964. for i = time, 1, -1 do
  4965. wait(1)
  4966. h.Text = "Countdown: "..i..""
  4967. end
  4968. wait(1)
  4969. h.Text = "Times Up!"
  4970. wait(2)
  4971. h.Text = ''
  4972. elseif MSGhook == false then
  4973. execCmd("loadm")
  4974. repeat wait() until workspace:FindFirstChild("IYmessage")
  4975. local h = game.Workspace.IYmessage
  4976. for i = time, 1, -1 do
  4977. wait(1)
  4978. h.Text = "Countdown: "..i..""
  4979. end
  4980. wait(1)
  4981. h.Text = "Times Up!"
  4982. wait(2)
  4983. h.Text = ''
  4984. end
  4985. end
  4986. end)
  4987.  
  4988. addcmd('explode', 'explode a player', {},
  4989. function(args, speaker)
  4990. local players = getPlayer(args[1], speaker)
  4991. for i, v in pairs(players) do
  4992. local char = _char(v)
  4993. if char:FindFirstChild("HumanoidRootPart") then
  4994. Instance.new("Explosion", char).Position = char.HumanoidRootPart.Position
  4995. end
  4996. end
  4997. end)
  4998.  
  4999. addcmd('flood', 'makes a flood e.e', {},
  5000. function(args, speaker)
  5001. game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  5002. end)
  5003.  
  5004. addcmd('spookyify', 'makes it sp00ky', {},
  5005. function(args, speaker)
  5006. local music = Instance.new("Sound", workspace)
  5007. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  5008. music.Volume = 20
  5009. music.Looped = true
  5010. music:Play()
  5011.  
  5012. tex1 = "http://www.roblox.com/asset/?id=185495987"
  5013. tex2 = "http://www.roblox.com/asset/?id=260858020"
  5014. tex3 = "http://www.roblox.com/asset/?id=149213919"
  5015. tex4 = "http://www.roblox.com/asset/?id=171905673"
  5016.  
  5017. local w = game.Workspace:GetChildren()
  5018.  
  5019. for i= 1,#w do
  5020. if w[i]:isA("BasePart") then
  5021. pe = Instance.new("ParticleEmitter", w[i])
  5022. pe.Texture = tex4
  5023. pe.VelocitySpread = 5
  5024. end
  5025. end
  5026.  
  5027. local playerLeaderstats = {}
  5028. for i, v in pairs(game.Players:GetChildren()) do
  5029. table.insert(playerLeaderstats, v)
  5030. end
  5031. for i, v in pairs(playerLeaderstats) do
  5032. pe = Instance.new("ParticleEmitter",v.Character.HumanoidRootPart)
  5033. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  5034. pe.VelocitySpread = 50
  5035. end
  5036.  
  5037. texture = "http://www.roblox.com/asset/?id=185495987"
  5038.  
  5039. local A = game.Workspace:GetChildren()
  5040. local B = game.Workspace:GetChildren()
  5041. local C = game.Workspace:GetChildren()
  5042. local D = game.Workspace:GetChildren()
  5043. local E = game.Workspace:GetChildren()
  5044. local F = game.Workspace:GetChildren()
  5045. for i,v in pairs(A) do
  5046. if v:IsA("Part") then
  5047. local d = Instance.new("Decal",v)
  5048. v.Decal.Face = "Top"
  5049. v.Decal.Texture = texture
  5050. v.Anchored = true
  5051. end
  5052. end
  5053.  
  5054. for i,v in pairs(B) do
  5055. if v:IsA("Part") then
  5056. local s = Instance.new("Decal",v)
  5057. s.Face = "Front"
  5058. s.Texture = texture
  5059. end
  5060. end
  5061.  
  5062. for i,v in pairs(C) do
  5063. if v:IsA("Part") then
  5064. local h = Instance.new("Decal",v)
  5065. h.Face = "Back"
  5066. h.Texture = texture
  5067. end
  5068. end
  5069.  
  5070. for i,v in pairs(D) do
  5071. if v:IsA("Part") then
  5072. local j = Instance.new("Decal",v)
  5073. j.Face = "Left"
  5074. j.Texture = texture
  5075. end
  5076. end
  5077.  
  5078. for i,v in pairs(E) do
  5079. if v:IsA("Part") then
  5080. local k = Instance.new("Decal",v)
  5081. k.Face = "Right"
  5082. k.Texture = texture
  5083. end
  5084. end
  5085.  
  5086. for i,v in pairs(F) do
  5087. if v:IsA("Part") then
  5088. local l = Instance.new("Decal",v)
  5089. l.Face = "Bottom"
  5090. l.Texture = texture
  5091. end
  5092.  
  5093. imageOne = "http://www.roblox.com/asset/?id=169585459"
  5094. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  5095. imageThree = "http://www.roblox.com/asset/?id=169585485"
  5096. imageFour = "http://www.roblox.com/asset/?id=169585502"
  5097. imageFive = "http://www.roblox.com/asset/?id=169585515"
  5098. imageSix = "http://www.roblox.com/asset/?id=169585502"
  5099. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  5100. imageEight = "http://www.roblox.com/asset/?id=169585475"
  5101.  
  5102. Spooky = Instance.new("Sound", workspace)
  5103. Spooky.Name = "Spooky"
  5104. Spooky.SoundId = "rbxassetid://174270407"
  5105. Spooky.Volume = 15
  5106. Spooky.Looped = true
  5107. Spooky:Play()
  5108.  
  5109. Sky = Instance.new("Sky", game.Lighting)
  5110. Sky.SkyboxBk = imageOne
  5111. Sky.SkyboxDn = imageOne
  5112. Sky.SkyboxFt = imageOne
  5113. Sky.SkyboxLf = imageOne
  5114. Sky.SkyboxRt = imageOne
  5115. Sky.SkyboxUp = imageOne
  5116.  
  5117.  
  5118. while true do
  5119. Sky.SkyboxBk = imageOne
  5120. Sky.SkyboxDn = imageOne
  5121. Sky.SkyboxFt = imageOne
  5122. Sky.SkyboxLf = imageOne
  5123. Sky.SkyboxRt = imageOne
  5124. Sky.SkyboxUp = imageOne
  5125. wait(0.15)
  5126. Sky.SkyboxBk = imageTwo
  5127. Sky.SkyboxDn = imageTwo
  5128. Sky.SkyboxFt = imageTwo
  5129. Sky.SkyboxLf = imageTwo
  5130. Sky.SkyboxRt = imageTwo
  5131. Sky.SkyboxUp = imageTwo
  5132. wait(0.15)
  5133. Sky.SkyboxBk = imageThree
  5134. Sky.SkyboxDn = imageThree
  5135. Sky.SkyboxFt = imageThree
  5136. Sky.SkyboxLf = imageThree
  5137. Sky.SkyboxRt = imageThree
  5138. Sky.SkyboxUp = imageThree
  5139. wait(0.15)
  5140. Sky.SkyboxBk = imageFour
  5141. Sky.SkyboxDn = imageFour
  5142. Sky.SkyboxFt = imageFour
  5143. Sky.SkyboxLf = imageFour
  5144. Sky.SkyboxRt = imageFour
  5145. Sky.SkyboxUp = imageFour
  5146. wait(0.15)
  5147. Sky.SkyboxBk = imageFive
  5148. Sky.SkyboxDn = imageFive
  5149. Sky.SkyboxFt = imageFive
  5150. Sky.SkyboxLf = imageFive
  5151. Sky.SkyboxRt = imageFive
  5152. Sky.SkyboxUp = imageFive
  5153. wait(0.15)
  5154. Sky.SkyboxBk = imageSix
  5155. Sky.SkyboxDn = imageSix
  5156. Sky.SkyboxFt = imageSix
  5157. Sky.SkyboxLf = imageSix
  5158. Sky.SkyboxRt = imageSix
  5159. Sky.SkyboxUp = imageSix
  5160. wait(0.15)
  5161. Sky.SkyboxBk = imageSeven
  5162. Sky.SkyboxDn = imageSeven
  5163. Sky.SkyboxFt = imageSeven
  5164. Sky.SkyboxLf = imageSeven
  5165. Sky.SkyboxRt = imageSeven
  5166. Sky.SkyboxUp = imageSeven
  5167. wait(0.15)
  5168. Sky.SkyboxBk = imageEight
  5169. Sky.SkyboxDn = imageEight
  5170. Sky.SkyboxFt = imageEight
  5171. Sky.SkyboxLf = imageEight
  5172. Sky.SkyboxRt = imageEight
  5173. Sky.SkyboxUp = imageEight
  5174. wait(0.15)
  5175.  
  5176. end
  5177. end
  5178. end)
  5179.  
  5180. addcmd('invisible', 'make a player invisible',{'invis'},
  5181. function(args, speaker)
  5182. local players = getPlayer(args[1], speaker)
  5183. for i, v in pairs(players) do
  5184. for k, v2 in pairs(_char(v):GetChildren()) do
  5185. if v2.className == "Part" then
  5186. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  5187. elseif v2.className == "Accessory" then
  5188. if v2:FindFirstChild("Handle") then
  5189. v2.Handle.Transparency = 1
  5190. end
  5191. end
  5192. if v2:FindFirstChild("face") then
  5193. v2.face.Transparency = 1
  5194. end
  5195. end
  5196. end
  5197. end)
  5198.  
  5199. addcmd('visible', 'make a player visible',{'vis'},
  5200. function(args, speaker)
  5201. local players = getPlayer(args[1], speaker)
  5202. for i, v in pairs(players) do
  5203. for k, v2 in pairs(_char(v):GetChildren()) do
  5204. if v2.className == "Part" then
  5205. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end elseif v2.className == "Accessory" then
  5206. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  5207. end
  5208. if v2:FindFirstChild("face") then
  5209. v2.face.Transparency = 0
  5210. end
  5211. end
  5212. end
  5213. end)
  5214.  
  5215. addcmd('goto', 'go to a player',{},
  5216. function(args, speaker)
  5217. local players = getPlayer(args[1], speaker)
  5218. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  5219. speaker.Character.HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  5220. end
  5221. end)
  5222.  
  5223. addcmd('bring', 'bring a player to you',{},
  5224. function(args, speaker)
  5225. local players = getPlayer(args[1], speaker)
  5226. for i,v in pairs(players) do
  5227. if _char(v):FindFirstChild("HumanoidRootPart") then
  5228. _char(v).HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
  5229. end
  5230. end
  5231. end)
  5232.  
  5233. addcmd('tp', 'teleport player 1 to player 2',{},
  5234. function(args, speaker)
  5235. local players1=getPlayer(args[1], speaker)
  5236. local players2=getPlayer(args[2], speaker)
  5237. if not players2[1] then return end
  5238. for i,v in pairs(players1) do
  5239. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  5240. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  5241. wait(0.1)
  5242. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  5243. end
  5244. end
  5245. end)
  5246.  
  5247. addcmd('charplr','charplr [plr] [plr]',{'cp'},
  5248. function(args, speaker)
  5249. local players1, players2 = getPlayer(args[1], speaker), getPlayer(args[2], speaker)
  5250. for i,v in pairs(players1) do for a,b in pairs(players2) do
  5251. if _players[v].Character and _players[b].Character then
  5252. _players[v].CharacterAppearanceId = _players[b].userId
  5253. _players[v].Character:BreakJoints()
  5254. end
  5255. end
  5256. end
  5257. end)
  5258.  
  5259. addcmd('char', 'change a players appearance',{},
  5260. function(args, speaker)
  5261. local players = getPlayer(args[1], speaker)
  5262. if not args[1]or not args[2]then return end
  5263. local id=args[2]
  5264. if players ~= nil then
  5265. for i,v in pairs(players) do
  5266. gPlayers[v].CharacterAppearanceId = id
  5267. gPlayers[v].Character:BreakJoints()
  5268. end
  5269. end
  5270. end)
  5271.  
  5272. addcmd('unchar', 'change a players appearance to default',{'nochar','uncp','nocp','uncharplr','nocharplr'},
  5273. function(args, speaker)
  5274. local players = getPlayer(args[1], speaker)
  5275. if players ~= nil then
  5276. for i,v in pairs(players) do
  5277. gPlayers[v].CharacterAppearanceId = 0
  5278. if _char(v):FindFirstChild("Head") then
  5279. _char(v).Head:Destroy()
  5280. end
  5281. end
  5282. end
  5283. end)
  5284.  
  5285. addcmd('speed', 'change a players walkspeed',{'ws'},
  5286. function(args, speaker)
  5287. local players = getPlayer(args[1], speaker)
  5288. if not args[1]or not args[2]then return end
  5289. local num=args[2]
  5290. for i,v in pairs(players) do
  5291. if _char(v):FindFirstChild("Humanoid") then
  5292. _char(v).Humanoid.WalkSpeed=tonumber(num)
  5293. end
  5294. end
  5295. end)
  5296.  
  5297. addcmd('jpower', 'change a players jump height',{'grav','jumppower','jp'},
  5298. function(args, speaker)
  5299. local players = getPlayer(args[1], speaker)
  5300. if not args[1]or not args[2]then return end
  5301. local num=args[2]
  5302. for i,v in pairs(players) do
  5303. if _char(v):FindFirstChild("Humanoid") then
  5304. _char(v).Humanoid.JumpPower=tonumber(num)
  5305. end
  5306. end
  5307. end)
  5308.  
  5309. addcmd('confuse', 'confusing...',{},
  5310. function(args, speaker)
  5311. local players = getPlayer(args[1], speaker)
  5312. for i,v in pairs(players) do
  5313. spawn(function()
  5314. if _char(v):FindFirstChild("Humanoid") then
  5315. _char(v).Humanoid.Name = "ConfusedNigga"
  5316. while true do
  5317. _char(v).ConfusedNigga.CameraOffset = Vector3.new(2, 4, 6)
  5318. _char(v).ConfusedNigga.WalkToPoint = Vector3.new(math.random(1,100), math.random(1,100), math.random(1,100))
  5319. wait(0.1)
  5320. end
  5321.  
  5322. end
  5323. end)
  5324. end
  5325. end)
  5326.  
  5327. addcmd('unconfuse', 'not confusing...',{},
  5328. function(args, speaker)
  5329. local players = getPlayer(args[1], speaker)
  5330. for i,v in pairs(players) do
  5331. spawn(function()
  5332. if _char(v):FindFirstChild("ConfusedNigga") then
  5333. _char(v).ConfusedNigga.Name = "Humanoid"
  5334. wait(0.3)
  5335. _char(v).Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  5336.  
  5337. end
  5338. end)
  5339. end
  5340. end)
  5341.  
  5342. addcmd('cripple', 'cripples a player xddd',{'stun'},
  5343. function(args, speaker)
  5344. local players = getPlayer(args[1], speaker)
  5345. for i,v in pairs(players) do
  5346. if _char(v):FindFirstChild("Humanoid") then
  5347. _char(v).Humanoid.PlatformStand = true
  5348. end
  5349. end
  5350. end)
  5351.  
  5352. addcmd('uncripple', 'un cripples a player xddd',{'unstun'},
  5353. function(args, speaker)
  5354. local players = getPlayer(args[1], speaker)
  5355. for i,v in pairs(players) do
  5356. if _char(v):FindFirstChild("Humanoid") then
  5357. _char(v).Humanoid.PlatformStand = false
  5358. end
  5359. end
  5360. end)
  5361.  
  5362. addcmd('hipheight', 'adjusts hip height',{'hheight'},
  5363. function(args, speaker)
  5364. local players = getPlayer(args[1], speaker)
  5365. for i,v in pairs(players) do
  5366. if _char(v):FindFirstChild("Humanoid") then
  5367. _char(v).Humanoid.HipHeight = args[2]
  5368. end
  5369. end
  5370. end)
  5371.  
  5372. addcmd('face', 'change a players face',{},
  5373. function(args, speaker)
  5374. local players = getPlayer(args[1], speaker)
  5375. for i,v in pairs(players) do
  5376. if _char(v).Head:FindFirstChild("face") then
  5377. _char(v).Head.face.Texture = "rbxassetid://" .. args[2]
  5378. end
  5379. end
  5380. end)
  5381.  
  5382. addcmd('time', 'change the time of day',{},
  5383. function(args, speaker)
  5384. if not args[1]then return end
  5385. Notify('Time set to ' .. args[1])
  5386. game.Lighting.ClockTime = args[1]
  5387. end)
  5388.  
  5389. addcmd('globalshadows', 'changes the lighting property',{'gshadows'},
  5390. function(args, speaker)
  5391. Notify('Turned on global shadows')
  5392. game.Lighting.GlobalShadows = true
  5393. end)
  5394.  
  5395. addcmd('unglobalshadows', 'changes the lighting property',{'nogshadows','ungshadows','noglobalshadows'},
  5396. function(args, speaker)
  5397. Notify('Turned off global shadows')
  5398. game.Lighting.GlobalShadows = false
  5399. end)
  5400.  
  5401. addcmd('age','tells you the age of a player',{},
  5402. function(args, speaker)
  5403. local players = getPlayer(args[1], speaker)
  5404. if speaker.userId ~= LP.userId then
  5405. lponly(speaker)
  5406. else
  5407. for i,v in pairs(players) do
  5408. Notify(_players[v].Name .. ': ' .. _players[v].AccountAge)
  5409. end
  5410. end
  5411. end)
  5412.  
  5413. addcmd('remotespy', 'prints remotes',{'remotes'},
  5414. function(args, speaker)
  5415. if speaker.userId ~= LP.userId then
  5416. lponly(speaker)
  5417. else
  5418. Notify('Printing Remotes')
  5419. function getem(o)
  5420. for i,v in pairs(o:children())do
  5421. if string.match(v.ClassName, "RemoteEvent") or string.match(v.ClassName, "RemoteFunction") then
  5422. print("Name: "..v.Name.." | ".."Type: "..v.ClassName.." | ".."Location: ".."game."..v:GetFullName())
  5423. end
  5424. getem(v)
  5425. end
  5426. end
  5427. pcall(getem,game)
  5428. end
  5429. end)
  5430.  
  5431. addcmd('f3x', 'loads f3x tools',{'fex'},
  5432. function(args, speaker)
  5433. if speaker.userId ~= LP.userId then
  5434. lponly(speaker)
  5435. else
  5436. loadstring(game:GetObjects("rbxassetid://1059691823")[1].Source)()
  5437. end
  5438. end)
  5439.  
  5440. addcmd('kick', 'kick a player',{},
  5441. function(args, speaker)
  5442. local players = getPlayer(args[1], speaker)
  5443. for i,v in pairs(players) do
  5444. if args[1] == "all" then
  5445. Notify('Kicked everyone')
  5446. elseif args[1] == "others" then
  5447. Notify('Kicked others')
  5448. elseif args[1] == "friends" then
  5449. Notify('Kicked friends')
  5450. elseif args[1] == "nonfriends" then
  5451. Notify('Kicked non friends')
  5452. elseif args[1] == "team" then
  5453. Notify('Kicked your team')
  5454. elseif args[1] == "nonteam" then
  5455. Notify('Kicked the opposing team')
  5456. elseif args[1] == "guests" then
  5457. Notify('Kicked guests')
  5458. elseif args[1] == "nonadmins" then
  5459. Notify('Kicked nonadmins')
  5460. else
  5461. Notify('Kicked ' .. gPlayers[v].Name)
  5462. end
  5463. spawn(function()
  5464. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
  5465. function Kick(PLAYER)
  5466. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  5467. PLAYER.Character.HumanoidRootPart.Position = Vector3.new(math.random(999000, 1001000), 10000, 0)
  5468. local Plat = Instance.new('SkateboardPlatform', PLAYER.Character) Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  5469. Plat.Name = 'IYkick'
  5470. Plat.Size = Vector3.new(100, 1, 100)
  5471. local PART = Instance.new('Part', PLAYER.Character)
  5472. PART.Position = Plat.Position - Vector3.new(0, 3, 0)
  5473. PART.Size = Vector3.new(100, 1, 100)
  5474. PART.Anchored = true
  5475. PART.Transparency = 1
  5476. Plat.Transparency = 1
  5477. repeat wait(1)
  5478. if PLAYER.Character and PLAYER.Character:FindFirstChild('HumanoidRootPart') then
  5479. Plat.Position = PLAYER.Character.HumanoidRootPart.Position
  5480. end
  5481. Kick(PLAYER)
  5482. until not game.Players:findFirstChild(PLAYER)
  5483. end
  5484. end
  5485. Kick(gPlayers[v])
  5486. else Notify('Why would you want to kick the creator of the admin you are using?')
  5487. end
  5488. end)
  5489. end
  5490. end)
  5491.  
  5492. addcmd('serverlock', 'lock teh server',{'slock'},
  5493. function(args, speaker)
  5494. slock = true
  5495. Notify('Locked Server')
  5496. end)
  5497.  
  5498. addcmd('unserverlock', 'unlock teh server',{'unslock'},
  5499. function(args, speaker)
  5500. slock = false
  5501. Notify('Unlocked Server')
  5502. end)
  5503.  
  5504. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  5505. function(args, speaker)
  5506. Notify('Workspace unlocked')
  5507. wait(1)
  5508. local function unlock(instance)
  5509. for i,v in pairs(instance:GetChildren()) do
  5510. if v:IsA("BasePart") then
  5511. v.Locked = false
  5512. end
  5513. unlock(v)
  5514. end
  5515. end
  5516. unlock(workspace)
  5517. end)
  5518.  
  5519. addcmd('lockws', 'lock the whole workspace',{'lock'},
  5520. function(args, speaker)
  5521. Notify('Workspace locked')
  5522. wait(1)
  5523. local function lock(instance)
  5524. for i,v in pairs(instance:GetChildren()) do
  5525. if v:IsA("BasePart") then
  5526. v.Locked = true
  5527. end
  5528. lock(v)
  5529. end
  5530. end
  5531. lock(workspace)
  5532. end)
  5533.  
  5534. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  5535. function(args, speaker)
  5536. local function unanchor(instance)
  5537. for i,v in pairs(instance:GetChildren()) do
  5538. if v:IsA("BasePart") then
  5539. v.Anchored=false
  5540. end
  5541. unanchor(v)
  5542. end
  5543. end
  5544. unanchor(workspace)
  5545. end)
  5546.  
  5547. addcmd('anchorws', 'anchor the whole workspace',{'anchor'},
  5548. function(args, speaker)
  5549. local function anchor(instance)
  5550. for i,v in pairs(instance:GetChildren()) do
  5551. if v:IsA("BasePart") then
  5552. v.Anchored=true
  5553. end
  5554. anchor(v)
  5555. end
  5556. end
  5557. anchor(workspace)
  5558. end)
  5559.  
  5560. addcmd('clear', 'resets Workspace to a baseplate',{'clearws','clearworkspace'},
  5561. function()
  5562. for _,v in pairs(game.Workspace:GetChildren()) do
  5563. if not v:IsA("Terrain") and v ~= game.Workspace.CurrentCamera and not game.Players:GetPlayerFromCharacter(v) then
  5564. v:Remove()
  5565. elseif v:IsA("Terrain") then
  5566. v:Clear()
  5567. end
  5568. end
  5569. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end
  5570. local p = Instance.new("Part", game.Workspace)
  5571. p.Anchored = true
  5572. p.FormFactor = "Symmetric"
  5573. p.Size = Vector3.new(1000,1,1000)
  5574. p.Position = Vector3.new(0,0,0)
  5575. p.BrickColor = BrickColor.new("Bright green")
  5576. p.Material = "Grass"
  5577. p.Locked = true
  5578. end)
  5579.  
  5580. addcmd('headshake', 'shakes a players head',{},
  5581. function(args, speaker)
  5582. local players = getPlayer(args[1], speaker)
  5583. for i,v in pairs(players) do
  5584. spawn(function()
  5585. local shaken = gPlayers[v].Character
  5586. for X = 1, math.huge, 0.2 do
  5587. wait()
  5588. shaken.Torso.Neck.C0 = CFrame.new(math.sin(X) / 1,1.5,0)
  5589. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  5590. end
  5591. for X = 1, math.huge, 0.1 do
  5592. wait()
  5593. shaken.Torso.Neck.C0 = CFrame.new(0,1.5,0) * CFrame.fromAxisAngle(Vector3.new(0,1,0), X)
  5594. shaken.Torso.Neck.C1 = CFrame.new(0,0,0)
  5595. end
  5596. for _,c in pairs(game.Players:GetChildren()) do
  5597. c.Character.Head.Mesh.Scale = Vector3.new(100, 100, 100)
  5598. end
  5599. for _,c in pairs(game.Players:GetChildren()) do
  5600. c.Character.Head.Mesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  5601. end
  5602. end)
  5603. end
  5604. end)
  5605.  
  5606. addcmd('explorer', 'opens DEX',{'dex'},
  5607. function(args, speaker)
  5608. if speaker.userId ~= LP.userId then
  5609. lponly(speaker)
  5610. else
  5611. loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
  5612. end
  5613. end)
  5614.  
  5615. addcmd('firstp', 'forces player to go into first person',{},
  5616. function(args, speaker)
  5617. local players = getPlayer(args[1], speaker)
  5618. for i,v in pairs(players)do
  5619. gPlayers[v].CameraMode = "LockFirstPerson"
  5620. end
  5621. end)
  5622.  
  5623. addcmd('base', 'spawns a base',{},
  5624. function(args, speaker)
  5625. local pt = Instance.new("Part")
  5626. pt.BrickColor = BrickColor.new("Silver")
  5627. pt.Anchored = true
  5628. pt.CanCollide = true
  5629. pt.BottomSurface = "Weld"
  5630. pt.Parent = workspace
  5631. pt.Name = (math.random(1,1000000))
  5632. pt.Size = Vector3.new(1000, 1, 1000)
  5633. pt.Locked = true
  5634. Notify('Created new base')
  5635. end)
  5636.  
  5637. addcmd('unblur', 'removes all blur instances',{'noblur'},
  5638. function(args, speaker)
  5639. for i,v in pairs(game.Lighting:GetChildren()) do
  5640. if v:IsA('BlurEffect') then
  5641. v:Remove()
  5642. end
  5643. end
  5644. end)
  5645.  
  5646. addcmd('thirdp', 'allows player to go into third person',{},
  5647. function(args, speaker)
  5648. local players = getPlayer(args[1], speaker)
  5649. for i,v in pairs(players)do
  5650. gPlayers[v].CameraMode = "Classic"
  5651. end
  5652. end)
  5653.  
  5654. addcmd('chat', 'forces player to chat what you input',{},
  5655. function(args, speaker)
  5656. local players = getPlayer(args[1], speaker)
  5657. for i,v in pairs(players)do
  5658. game:GetService('Chat'):Chat(gPlayers[v].Character, GLS(false, 1), 3)
  5659. end
  5660. end)
  5661.  
  5662. addcmd('nohead', 'names player',{'unhead'},
  5663. function(args, speaker)
  5664. local players = getPlayer(args[1], speaker)
  5665. if not args[1] then return end
  5666. for i,v in pairs(players) do
  5667. for a, mod in pairs(gPlayers[v].Character:children()) do
  5668. if mod:FindFirstChild("TAG") then
  5669. mod:Destroy()
  5670. end
  5671. gPlayers[v].Character.Head.Transparency = 1
  5672. end
  5673. end
  5674. end)
  5675.  
  5676. addcmd('head', 'unnames player',{'addhead'},
  5677. function(args, speaker)
  5678. local players = getPlayer(args[1], speaker)
  5679. local name = (args[2])
  5680. for i,v in pairs(players) do
  5681. for a, mod in pairs(gPlayers[v].Character:children()) do
  5682. if mod:FindFirstChild("TAG") then
  5683. mod:Destroy()
  5684. end
  5685. gPlayers[v].Character.Head.Transparency = 0
  5686. end
  5687. end
  5688. end)
  5689.  
  5690. addcmd('name', 'names player',{},
  5691. function(args, speaker)
  5692. local players = getPlayer(args[1], speaker)
  5693. if not args[1] then return end
  5694. for i,v in pairs(players) do
  5695. for a, mod in pairs(gPlayers[v].Character:children()) do
  5696. if mod:FindFirstChild("TAG") then
  5697. gPlayers[v].Character.Head.Transparency = 0
  5698. mod:Destroy()
  5699. end
  5700. end
  5701.  
  5702. local char = gPlayers[v].Character
  5703. local model = Instance.new("Model", char)
  5704. local clone = char.Head:Clone()
  5705. local hum = Instance.new("Humanoid", model)
  5706. local weld = Instance.new("Weld", clone)
  5707. model.Name = GLS(false, 1)
  5708. clone.Parent = model
  5709. hum.Name = "TAG"
  5710. hum.MaxHealth = 100
  5711. hum.Health = 100
  5712. weld.Part0 = clone
  5713. weld.Part1 = char.Head
  5714. char.Head.Transparency = 1
  5715. end
  5716. end)
  5717.  
  5718. addcmd('unname', 'unnames player',{'unhidename'},
  5719. function(args, speaker)
  5720. local players = getPlayer(args[1], speaker)
  5721. local name = (args[2])
  5722. for i,v in pairs(players) do
  5723. for a, mod in pairs(gPlayers[v].Character:children()) do
  5724. if mod:FindFirstChild("TAG") then
  5725. gPlayers[v].Character.Head.Transparency = 0
  5726. mod:Destroy()
  5727. end
  5728. end
  5729. end
  5730. end)
  5731.  
  5732. addcmd('noname', 'hides the players name',{'hidename'},
  5733. function(args, speaker)
  5734. local players = getPlayer(args[1], speaker)
  5735. for i,v in pairs(players) do
  5736. for a, mod in pairs(gPlayers[v].Character:children()) do
  5737. if mod:FindFirstChild("TAG") then
  5738. gPlayers[v].Character.Head.Transparency = 0
  5739. mod:Destroy()
  5740. end
  5741. end
  5742.  
  5743. local char = gPlayers[v].Character
  5744. local model = Instance.new("Model", char)
  5745. local clone = char.Head:Clone()
  5746. local hum = Instance.new("Humanoid", model)
  5747. local weld = Instance.new("Weld", clone)
  5748. model.Name = ""
  5749. clone.Parent = model
  5750. hum.Name = "TAG"
  5751. hum.MaxHealth = 100
  5752. hum.Health = 100
  5753. weld.Part0 = clone
  5754. weld.Part1 = char.Head
  5755. char.Head.Transparency = 1
  5756. end
  5757. end)
  5758.  
  5759. addcmd('damage', 'damages a player',{},
  5760. function(args, speaker)
  5761. local players = getPlayer(args[1], speaker)
  5762. for i,v in pairs(players) do
  5763. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  5764. end
  5765. end)
  5766.  
  5767. addcmd('view', 'views player',{},
  5768. function(args, speaker)
  5769. local players = getPlayer(args[1], speaker)
  5770. for i,v in pairs(players) do
  5771. game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  5772. Notify('Viewing ' .. gPlayers[v].Name)
  5773. end
  5774. end)
  5775.  
  5776. addcmd('unview', 'stops viewing player',{},
  5777. function()
  5778. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  5779. Notify('View turned off')
  5780. end)
  5781.  
  5782. addcmd('nolimbs', 'removes limbs from player',{},
  5783. function(args, speaker)
  5784. local players = getPlayer(args[1], speaker)
  5785. for i,v in pairs(players) do
  5786. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5787. if v:IsA("BasePart") and
  5788. v.Name == "Right Leg" or
  5789. v.Name == "Left Leg" or
  5790. v.Name == "Right Arm" or
  5791. v.Name == "Left Arm" then
  5792. v:Remove()
  5793. end
  5794. end
  5795. end
  5796. end)
  5797.  
  5798. addcmd('box', 'creates a box around player',{},
  5799. function(args, speaker)
  5800. local players = getPlayer(args[1], speaker)
  5801. for i,v in pairs(players)do
  5802. local pchar=_char(v)
  5803. local SB = Instance.new("SelectionBox", pchar)
  5804. SB.Adornee = SB.Parent
  5805. end
  5806. end)
  5807.  
  5808. addcmd('nobox', 'takes away box from player',{'unbox'},
  5809. function(args, speaker)
  5810. local players = getPlayer(args[1], speaker)
  5811. for i,v in pairs(players)do
  5812. local pchar=_char(v)
  5813. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5814. if v:IsA("SelectionBox") then
  5815. v:Destroy()
  5816. end
  5817. end
  5818. end
  5819. end)
  5820.  
  5821. addcmd('ghost', 'ghostifys player',{},
  5822. function(args, speaker)
  5823. local players = getPlayer(args[1], speaker)
  5824. for i,v in pairs(players)do
  5825. local pchar=gPlayers[v].Character
  5826. pchar.Head.Transparency = 0.5
  5827. pchar.Torso.Transparency = 0.5
  5828. pchar["Left Arm"].Transparency = 0.5
  5829. pchar["Right Arm"].Transparency = 0.5
  5830. pchar["Left Leg"].Transparency = 0.5
  5831. pchar["Right Leg"].Transparency = 0.5
  5832. pchar.Head.face.Transparency = 0.5
  5833. end
  5834. end)
  5835.  
  5836. addcmd('sphere', 'puts sphere around player',{},
  5837. function(args, speaker)
  5838. local players = getPlayer(args[1], speaker)
  5839. for i,v in pairs(players)do
  5840. local pchar=gPlayers[v].Character
  5841. local SS = Instance.new("SelectionSphere", pchar)
  5842. SS.Adornee = SS.Parent
  5843. end
  5844. end)
  5845.  
  5846. addcmd('sphere', 'puts sphere around player',{},
  5847. function(args, speaker)
  5848. local players = getPlayer(args[1], speaker)
  5849. for i,v in pairs(players)do
  5850. local pchar=gPlayers[v].Character
  5851. local SS = Instance.new("SelectionSphere", pchar)
  5852. SS.Adornee = SS.Parent
  5853. end
  5854. end)
  5855.  
  5856. addcmd('unsphere', 'removes sphere around player',{},
  5857. function(args, speaker)
  5858. local players = getPlayer(args[1], speaker)
  5859. for i,v in pairs(players)do
  5860. local pchar=_char(v)
  5861. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  5862. if v:IsA("SelectionSphere") then
  5863. v:Destroy()
  5864. end
  5865. end
  5866. end
  5867. end)
  5868.  
  5869. addcmd('ambient','changes ambient',{},
  5870. function(args, speaker)
  5871. game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  5872. end)
  5873.  
  5874. addcmd('fogend','changes the fogend',{},
  5875. function(args, speaker)
  5876. game.Lighting.FogEnd = args[1]
  5877. end)
  5878.  
  5879. addcmd('fogcolor','changes the fogs color',{},
  5880. function(args, speaker)
  5881. game.Lighting.FogColor = Color3.new(args[1],args[2],args[3])
  5882. end)
  5883.  
  5884. injail = {}
  5885. addcmd('jail','jails player',{},
  5886. function(args, speaker)
  5887. local players = getPlayer(args[1], speaker)
  5888. for i,v in pairs(players)do
  5889. spawn(function()
  5890. if FindTable(injail, _players[v].Name) then return end
  5891. table.insert(injail, _players[v].Name)
  5892. local pchar=gPlayers[v].Character
  5893. local J = DATA.JAIL:Clone() J.Parent = workspace J:MoveTo(pchar.HumanoidRootPart.Position) J.Name = 'JAIL_' .. _players[v].Name
  5894. repeat wait(0.5)
  5895. 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
  5896. until not FindTable(injail, _players[v].Name)
  5897. end)
  5898. end
  5899. end)
  5900.  
  5901. addcmd('unjail','unjails player',{},
  5902. function(args, speaker)
  5903. local players = getPlayer(args[1], speaker)
  5904. for i,v in pairs(players)do
  5905. spawn(function()
  5906. for a,b in pairs(injail) do if b == _players[v].Name then table.remove(injail, a) end end
  5907. game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  5908. end)
  5909. end
  5910. end)
  5911.  
  5912. addcmd('loopbring','loop brings a player lol',{},
  5913. function(args, speaker)
  5914. local players = getPlayer(args[1], speaker)
  5915. for i,v in pairs(players)do
  5916. spawn(function()
  5917. if FindTable(bringT, _players[v].Name) then return end
  5918. table.insert(bringT, _players[v].Name)
  5919. local pchar=gPlayers[v].Character
  5920. repeat wait(0.5)
  5921. pchar = _players[v].Character
  5922. for i,c in pairs(players) do
  5923. if pchar:FindFirstChild("HumanoidRootPart") then
  5924. pchar.HumanoidRootPart.CFrame = speaker.Character.HumanoidRootPart.CFrame
  5925. end
  5926. end
  5927. until not FindTable(bringT, _players[v].Name)
  5928. end)
  5929. end
  5930. end)
  5931.  
  5932. addcmd('feinvisible','fe invisible',{},
  5933. function(args, speaker)
  5934. -- Elite1337#9377 & Timeless#4044
  5935. Local = game:GetService('Players').LocalPlayer
  5936. Char = Local.Character
  5937. touched,tpdback = false, false
  5938. Local.CharacterAdded:connect(function(char)
  5939. if script.Disabled ~= true then
  5940. wait(.25)
  5941. loc = Char.HumanoidRootPart.Position
  5942. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  5943. end
  5944. end)
  5945. game:GetService('UserInputService').InputBegan:connect(function(key)
  5946. if key.KeyCode == Enum.KeyCode.Equals then
  5947. if script.Disabled ~= true then
  5948. script.Disabled = true
  5949. print'you may re-execute'
  5950. end
  5951. end
  5952. end)
  5953. box = Instance.new('Part',workspace)
  5954. box.Anchored = true
  5955. box.CanCollide = true
  5956. box.Size = Vector3.new(10,1,10)
  5957. box.Position = Vector3.new(0,10000,0)
  5958. box.Touched:connect(function(part)
  5959. if (part.Parent.Name == Local.Name) then
  5960. if touched == false then
  5961. touched = true
  5962. function apply()
  5963. if script.Disabled ~= true then
  5964. no = Char.HumanoidRootPart:Clone()
  5965. wait(.25)
  5966. Char.HumanoidRootPart:Destroy()
  5967. no.Parent = Char
  5968. Char:MoveTo(loc)
  5969. touched = false
  5970. end end
  5971. if Char then
  5972. apply()
  5973. end
  5974. end
  5975. end
  5976. end)
  5977. repeat wait() until Char
  5978. loc = Char.HumanoidRootPart.Position
  5979. Char:MoveTo(box.Position + Vector3.new(0,.5,0))
  5980. end)
  5981.  
  5982. addcmd('unloopbring','unjails player',{'noloopbring'},
  5983. function(args, speaker)
  5984. local players = getPlayer(args[1], speaker)
  5985. for i,v in pairs(players)do
  5986. spawn(function()
  5987. for a,b in pairs(bringT) do if b == _players[v].Name then table.remove(bringT, a) end end
  5988. end)
  5989. end
  5990. end)
  5991.  
  5992. strobe = false
  5993. addcmd('strobe','makes the server flash',{'flash'},
  5994. function(args, speaker)
  5995. if strobe == false then
  5996. strobep = Instance.new("ColorCorrectionEffect")
  5997. strobep.Brightness = 1
  5998. strobep.Parent = game.Lighting
  5999. strobe = true
  6000. repeat wait(0.01)
  6001. strobep.Enabled = true
  6002. wait(0.01)
  6003. strobep.Enabled = false
  6004. until strobe == false
  6005. end
  6006. end)
  6007.  
  6008. addcmd('unstrobe','makes the server flash',{'noflash','nostrobe','unflash','unstrobe'},
  6009. function(args, speaker)
  6010. strobe = false
  6011. strobep:Destroy()
  6012. end)
  6013.  
  6014. addcmd('shutdown', 'shuts the server down',{},
  6015. function(args, speaker)
  6016. Notify('Shutting Down...')
  6017. wait(1)
  6018. workspace.Gravity = 1/0*0
  6019. end)
  6020.  
  6021. addcmd('animation','makes player animate',{'anim'},
  6022. function(args, speaker)
  6023. local players = getPlayer(args[1], speaker)
  6024. for i,v in pairs(players)do
  6025. local pchar = gPlayers[v].Character
  6026. local ID = args[2]
  6027.  
  6028. if args[2] == "climb" then
  6029. ID = "180436334"
  6030. end
  6031. if args[2] == "fall" then
  6032. ID = "180436148"
  6033. end
  6034. if args[2] == "jump" then
  6035. ID = "125750702"
  6036. end
  6037. if args[2] == "sit" then
  6038. ID = "178130996"
  6039. end
  6040. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  6041. if x:IsA("StringValue") then
  6042. for _,c in pairs(x:GetChildren()) do
  6043. if c:IsA("Animation") then
  6044. c.AnimationId = "rbxassetid://" .. ID
  6045. end
  6046. end
  6047. end
  6048. end
  6049. end
  6050. end)
  6051.  
  6052. addcmd('normal','turns player back to normal',{},
  6053. function(args, speaker)
  6054. local players = getPlayer(args[1], speaker)
  6055. for i,v in pairs(players)do
  6056. local pchar = gPlayers[v].Character
  6057.  
  6058. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6059. pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  6060. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  6061. pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  6062. pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  6063.  
  6064. for i,v in pairs(pchar.Head:GetChildren()) do
  6065. if v:IsA("SpecialMesh") then
  6066. v:Destroy()
  6067. end
  6068. end
  6069.  
  6070. for i,v in pairs(pchar:GetChildren()) do
  6071. if v:IsA("Shirt") then
  6072. v:Destroy()
  6073. end
  6074. end
  6075.  
  6076. for i,v in pairs(pchar:GetChildren()) do
  6077. if v:IsA("Pants") then
  6078. v:Destroy()
  6079. end
  6080. end
  6081.  
  6082. if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  6083. Player.Character["Shirt Graphic"].Graphic = ""
  6084. end
  6085.  
  6086. local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  6087. HeadMesh.MeshType = "Head"
  6088. HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  6089.  
  6090. pchar.Head.Transparency = 0
  6091. pchar.Torso.Transparency = 0
  6092. pchar["Left Arm"].Transparency = 0
  6093. pchar["Right Arm"].Transparency = 0
  6094. pchar["Left Leg"].Transparency = 0
  6095. pchar["Right Leg"].Transparency = 0
  6096.  
  6097. for i,v in pairs(pchar.Head:GetChildren()) do
  6098. if v:IsA("Decal") then
  6099. v:Destroy()
  6100. end
  6101. end
  6102.  
  6103. local face = Instance.new("Decal", pchar.Head)
  6104. face.Name = "face"
  6105. face.Texture = "rbxasset://textures/face.png"
  6106. face.Face = "Front"
  6107.  
  6108. for i,v in pairs(pchar:GetChildren()) do
  6109. if v:IsA("Seat") then
  6110. v:Destroy()
  6111. end
  6112. end
  6113.  
  6114. for i,v in pairs(pchar.Torso:GetChildren()) do
  6115. if v:IsA("Weld") then
  6116. v:Destroy()
  6117. end
  6118. end
  6119.  
  6120. for i,v in pairs(pchar.Torso:GetChildren()) do
  6121. if v:IsA("SpecialMesh") then
  6122. v:Destroy()
  6123. end
  6124. end
  6125.  
  6126. pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  6127. pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  6128. pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  6129. pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  6130. pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  6131. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  6132. for _,v in pairs(Player.Character:GetChildren()) do
  6133. if v:IsA("Accessory") then
  6134. v:Destroy()
  6135. end
  6136. end
  6137. end
  6138. end)
  6139.  
  6140. addcmd('creeper','make the player a creeper',{'crpr'},
  6141. function(args, speaker)
  6142. local players = getPlayer(args[1], speaker)
  6143. for i,v in pairs(players)do
  6144. local pchar = gPlayers[v].Character
  6145. if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  6146. if pchar:FindFirstChild("Shirt") then
  6147. pchar.Shirt.Parent = pchar.Torso
  6148. end
  6149. if pchar:FindFirstChild("Pants") then
  6150. pchar.Pants.Parent = pchar.Torso
  6151. end
  6152. if pchar:FindFirstChild("Shirt Graphic") then
  6153. pchar["Shirt Graphic"].Graphic = ""
  6154. end
  6155. for i,v in pairs(pchar:GetChildren()) do
  6156. if v:IsA("Accessory") then
  6157. v:Destroy()
  6158. end
  6159. end
  6160. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6161. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  6162. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  6163. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  6164. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  6165. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  6166. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  6167. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  6168. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  6169. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  6170. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  6171. end
  6172. end
  6173. end)
  6174.  
  6175. addcmd('uncreeper','makes player back to normal',{},
  6176. function(args, speaker)
  6177. local players = getPlayer(args[1], speaker)
  6178. for i,v in pairs(players)do
  6179. execCmd("normal " .. gPlayers[v].Name, Player)
  6180. end
  6181. end)
  6182.  
  6183. addcmd('crash','crashes a player',{},
  6184. function(args, speaker)
  6185. local players = getPlayer(args[1], speaker)
  6186. for i,v in pairs(players)do
  6187. if gPlayers[v].Name ~= "IoIman616" and gPlayers[v].Name ~= "DesiredUsername1233" and gPlayers[v].Name ~= "sweg2hipALT" then
  6188. if args[1] == "all" then
  6189. Notify('Everyone has been crashed')
  6190. elseif args[1] == "others" then
  6191. Notify('Crashed others')
  6192. elseif args[1] == "friends" then
  6193. Notify('Crashed friends')
  6194. elseif args[1] == "nonfriends" then
  6195. Notify('Crashed non friends')
  6196. elseif args[1] == "team" then
  6197. Notify('Crashed your team')
  6198. elseif args[1] == "nonteam" then
  6199. Notify('Crashed the opposing team')
  6200. elseif args[1] == "guests" then
  6201. Notify('Crashed guests')
  6202. elseif args[1] == "nonadmins" then
  6203. Notify('Crashed nonadmins')
  6204. else
  6205. Notify(gPlayers[v].Name .. ' has been crashed')
  6206. end
  6207. wait(4)
  6208. local play = gPlayers[v]
  6209. if play ~= nil then
  6210. for i=1,3600 do
  6211. Instance.new("HopperBin",play.Backpack).Name = "nig"
  6212. end
  6213. wait()
  6214. for i=1,3600 do
  6215. Instance.new("HopperBin",play.Backpack).Name = "nog"
  6216. end
  6217. wait()
  6218. end
  6219. else Notify('Why would you want to crash the creator of the admin you are using?')
  6220. end
  6221. end
  6222. end)
  6223.  
  6224. addcmd('shrek', 'makes player shrek',{},
  6225. function(args, speaker)
  6226. local players = getPlayer(args[1], speaker)
  6227. for i,v in pairs(players) do
  6228. local pchar = gPlayers[v].Character
  6229. for i,v in pairs(pchar:GetChildren()) do
  6230. if v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants")
  6231. then
  6232. v:Destroy()
  6233. end
  6234. end
  6235. for i,v in pairs(pchar.Head:GetChildren()) do
  6236. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  6237. v:Destroy()
  6238. end
  6239. end
  6240.  
  6241. local mesh = Instance.new("SpecialMesh", pchar.Head)
  6242. mesh.MeshType = "FileMesh"
  6243. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  6244. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  6245. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  6246.  
  6247. local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  6248. local Pants = Instance.new("Pants", gPlayers[v].Character)
  6249.  
  6250. Shirt.ShirtTemplate = "rbxassetid://133078194"
  6251. Pants.PantsTemplate = "rbxassetid://133078204"
  6252. end
  6253. end)
  6254.  
  6255. addcmd('unshrek','makes player back to normal',{},
  6256. function(args, speaker)
  6257. local players = getPlayer(args[1], speaker)
  6258. for i,v in pairs(players)do
  6259. execCmd("normal " .. gPlayers[v].Name, Player)
  6260. end
  6261. end)
  6262.  
  6263. addcmd('oof','good things happen',{},
  6264. function(args, speaker)
  6265. local players = getPlayer(args[1], speaker)
  6266. for i,v in pairs(players)do
  6267. spawn(function()
  6268. 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
  6269. gPlayers[v].Character.Head.Died.Volume = 10
  6270. gPlayers[v].Character.Head.Died.Pitch = 0.5
  6271. end
  6272. execCmd("size " .. gPlayers[v].Name .. ' -1')
  6273. execCmd("hheight " .. gPlayers[v].Name .. ' 1000000000')
  6274. wait(5)
  6275. execCmd("explode " .. gPlayers[v].Name)
  6276. wait(0.1)
  6277. gPlayers[v].Character.Humanoid.Health = 0
  6278. end)
  6279. end
  6280. end)
  6281.  
  6282. addcmd('control','controls player',{},
  6283. function(args, speaker)
  6284. local players = getPlayer(args[1], speaker)
  6285. for i,v in pairs(players)do
  6286. local pchar = gPlayers[v].Character
  6287. if gPlayers[v] and pchar then
  6288. pchar.Humanoid.PlatformStand = true
  6289. local w = Instance.new("Weld", speaker.Character.Torso)
  6290. w.Part0 = speaker.Character.Torso
  6291. w.Part1 = pchar.Torso
  6292. local w2 = Instance.new("Weld", speaker.Character.Head)
  6293. w2.Part0 = speaker.Character.Head
  6294. w2.Part1 = pchar.Head
  6295. local w3 = Instance.new("Weld", speaker.Character:findFirstChild("Right Arm"))
  6296. w3.Part0 = speaker.Character:findFirstChild("Right Arm")
  6297. w3.Part1 = pchar:findFirstChild("Right Arm")
  6298. local w4 = Instance.new("Weld", speaker.Character:findFirstChild("Left Arm"))
  6299. w4.Part0 = speaker.Character:findFirstChild("Left Arm")
  6300. w4.Part1 = pchar:findFirstChild("Left Arm")
  6301. local w5 = Instance.new("Weld", speaker.Character:findFirstChild("Right Leg"))
  6302. w5.Part0 = speaker.Character:findFirstChild("Right Leg")
  6303. w5.Part1 = pchar:findFirstChild("Right Leg")
  6304. local w6 = Instance.new("Weld", speaker.Character:findFirstChild("Left Leg"))
  6305. w6.Part0 = speaker.Character:findFirstChild("Left Leg")
  6306. w6.Part1 = pchar:findFirstChild("Left Leg")
  6307. char.Head.face:Destroy()
  6308. for i,v in pairs(pchar:GetChildren()) do
  6309. if v:IsA("BasePart") then
  6310. v.CanCollide = false
  6311. end
  6312. end
  6313. for i,v in pairs(char:GetChildren()) do
  6314. if v:IsA("BasePart") then
  6315. v.Transparency = 1
  6316. elseif v:IsA("Accessory") then
  6317. v:Destroy()
  6318. end
  6319. end
  6320. pchar.Parent = char
  6321. pchar.Humanoid.Changed:connect(function()
  6322. pchar.Humanoid.PlatformStand = true
  6323. end)
  6324. end
  6325. end
  6326. end)
  6327.  
  6328. addcmd('nuke','nukes player',{},
  6329. function(args, speaker)
  6330. local players = getPlayer(args[1], speaker)
  6331. for i,v in pairs(players)do
  6332. local pchar = gPlayers[v].Character
  6333. if gPlayers[v] and pchar and pchar:FindFirstChild("HumanoidRootPart") then
  6334. local nuke = Instance.new("Part", game.Workspace)
  6335. nuke.Anchored = true
  6336. nuke.CanCollide = false
  6337. nuke.FormFactor = "Symmetric"
  6338. nuke.Shape = "Ball"
  6339. nuke.Size = Vector3.new(1,1,1)
  6340. nuke.BrickColor = BrickColor.new("New Yeller")
  6341. nuke.Transparency = 0.5
  6342. nuke.Reflectance = 0.2
  6343. nuke.TopSurface = 0
  6344. nuke.BottomSurface = 0
  6345. nuke.Touched:connect(function (hit)
  6346. if hit and hit.Parent then
  6347. local boom = Instance.new("Explosion", game.Workspace)
  6348. boom.Position = hit.Position
  6349. boom.BlastRadius = 11
  6350. boom.BlastPressure = math.huge
  6351. end
  6352. end)
  6353. local CF = pchar.HumanoidRootPart.CFrame
  6354. nuke.CFrame = CF
  6355. for i = 1,333 do
  6356. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  6357. nuke.CFrame = CF
  6358. wait(1/44)
  6359. end
  6360. nuke:Destroy()
  6361. end
  6362. end
  6363. end)
  6364.  
  6365. addcmd('infect','infects player',{},
  6366. function(args, speaker)
  6367. local players = getPlayer(args[1], speaker)
  6368. for i,v in pairs(players)do
  6369. function infect(rip)
  6370. local pchar = gPlayers[v].Character
  6371. for i,v in pairs(pchar:GetChildren()) do
  6372. if v:IsA("Accessory") or v:IsA("Shirt") or v:IsA("Pants") then
  6373. v:Destroy()
  6374. end
  6375. end
  6376. if pchar.Torso:FindFirstChild("roblox") then
  6377. pchar.Torso.roblox:Destroy()
  6378. end
  6379. if pchar.Head:FindFirstChild("face") then
  6380. pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  6381. end
  6382. if pchar:FindFirstChild("Body Colors") then
  6383. local Colors = pchar["Body Colors"]
  6384. local Skin = BrickColor.new("Pastel green")
  6385. local Clothes = BrickColor.new("Reddish brown")
  6386. Colors.HeadColor = Skin
  6387. Colors.LeftArmColor = Skin
  6388. Colors.RightArmColor = Skin
  6389. Colors.LeftLegColor = Clothes
  6390. Colors.RightLegColor = Clothes
  6391. Colors.TorsoColor = Clothes
  6392. end
  6393. local w1 = Instance.new("Weld", pchar)
  6394. w1.Part0 = pchar["Right Arm"]
  6395. w1.Part1 = pchar.Torso
  6396. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  6397. local w2 = Instance.new("Weld", pchar)
  6398. w2.Part0 = pchar["Left Arm"]
  6399. w2.Part1 = pchar.Torso
  6400. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  6401. local rip = false
  6402. local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  6403. if connect1 == false then
  6404. connect1 = true
  6405. if game.Players:FindFirstChild(hit.Parent.Name) then
  6406. infect(game.Players[hit.Parent.Name])
  6407. end
  6408. wait(0.5)
  6409. connect1 = true
  6410. end
  6411. end)
  6412. local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  6413. if connect2 == false then
  6414. connect2 = true
  6415. if game.Players:FindFirstChild(hit.Parent.Name) then
  6416. infect(game.Players[hit.Parent.Name])
  6417. end
  6418. wait(0.5)
  6419. connect2 = true
  6420. end
  6421. end)
  6422. local IV = Instance.new("IntValue", pchar)
  6423. IV.Name = "Infected"
  6424. IV.Value = 0
  6425. IV.Changed:connect(function()
  6426. connect1:disconnect()
  6427. connect2:disconnect()
  6428. end)
  6429. end
  6430. infect(v)
  6431. end
  6432. end)
  6433.  
  6434. addcmd('uninfect','makes player back to normal',{},
  6435. function(args, speaker)
  6436. local players = getPlayer(args[1], speaker)
  6437. for i,v in pairs(players)do
  6438. execCmd("normal " .. gPlayers[v].Name, Player)
  6439. end
  6440. end)
  6441.  
  6442. addcmd('duck','makes players head a duck',{},
  6443. function(args, speaker)
  6444. local players = getPlayer(args[1], speaker)
  6445. for i,v in pairs(players)do
  6446. local pchar = gPlayers[v].Character
  6447. for i,v in pairs(pchar.Torso:GetChildren()) do
  6448. if v:IsA("Decal") then
  6449. v:Destroy()
  6450. end
  6451. end
  6452. for i,v in pairs(pchar:GetChildren()) do
  6453. if v:IsA("Accessory") then
  6454. v:Destroy()
  6455. end
  6456. end
  6457. local duck = Instance.new("SpecialMesh", pchar.Torso)
  6458. duck.MeshType = "FileMesh"
  6459. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  6460. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  6461. duck.Scale = Vector3.new(5, 5, 5)
  6462. pchar.Head.Transparency = 1
  6463. pchar["Left Arm"].Transparency = 1
  6464. pchar["Right Arm"].Transparency = 1
  6465. pchar["Left Leg"].Transparency = 1
  6466. pchar["Right Leg"].Transparency = 1
  6467. pchar.Head.face.Transparency = 1
  6468. end
  6469. end)
  6470.  
  6471. addcmd('unduck','makes player back to normal',{},
  6472. function(args, speaker)
  6473. local players = getPlayer(args[1], speaker)
  6474. for i,v in pairs(players)do
  6475. execCmd("normal " .. gPlayers[v].Name, Player)
  6476. end
  6477. end)
  6478.  
  6479. addcmd('mesh','makes a player into a mesh',{},
  6480. function(args, speaker)
  6481. local players = getPlayer(args[1], speaker)
  6482. for i,v in pairs(players)do
  6483. local pchar = gPlayers[v].Character
  6484. for i,v in pairs(pchar.Torso:GetChildren()) do
  6485. if v:IsA("Decal") then
  6486. v:Destroy()
  6487. end
  6488. end
  6489. for i,v in pairs(pchar:GetChildren()) do
  6490. if v:IsA("Accessory") then
  6491. v:Destroy()
  6492. end
  6493. end
  6494. pchar.Head.Transparency = 1
  6495. pchar["Left Arm"].Transparency = 1
  6496. pchar["Right Arm"].Transparency = 1
  6497. pchar["Left Leg"].Transparency = 1
  6498. pchar["Right Leg"].Transparency = 1
  6499. pchar.Head.face.Transparency = 1
  6500. local msh = Instance.new("SpecialMesh", pchar.Torso)
  6501. msh.MeshType = "FileMesh"
  6502. msh.Scale = Vector3.new(3, 3, 3)
  6503. msh.MeshId = "http://www.roblox.com/asset/?id=" ..args[2]
  6504. msh.TextureId = "http://www.roblox.com/asset/?id=" .. args[3]
  6505. msh.Scale = Vector3.new(3, 3, 3)
  6506. end
  6507. end)
  6508.  
  6509. addcmd('disable','removes players humanoid',{},
  6510. function(args, speaker)
  6511. local players = getPlayer(args[1], speaker)
  6512. for i,v in pairs(players)do
  6513. local pchar = gPlayers[v].Character
  6514. if pchar:FindFirstChild("Humanoid") then
  6515. pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  6516. local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  6517. humanoid.Parent = game.ContextActionService
  6518. if args[1] == "all" then
  6519. Notify('Everyone has been disabled')
  6520. elseif args[1] == "others" then
  6521. Notify('Others have been disabled')
  6522. elseif args[1] == "friends" then
  6523. Notify('Friends have been disabled')
  6524. elseif args[1] == "nonfriends" then
  6525. Notify('Non friends have been disabled')
  6526. elseif args[1] == "team" then
  6527. Notify('Your team has been disabled')
  6528. elseif args[1] == "nonteam" then
  6529. Notify('The opossing team been disabled')
  6530. elseif args[1] == "guests" then
  6531. Notify('Guests have been disabled')
  6532. elseif args[1] == "nonadmins" then
  6533. Notify('Nonadmins have been disabled')
  6534. else
  6535. Notify(gPlayers[v].Name .. ' has been disabled')
  6536. end
  6537. end
  6538. end
  6539. end)
  6540.  
  6541. addcmd('enable','gives player humanoid',{},
  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. if pchar:FindFirstChild("Humanoid") then
  6547. return
  6548. else
  6549. local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  6550. humanoid.Parent = pchar
  6551. humanoid.Name = "Humanoid"
  6552. if args[1] == "all" then
  6553. Notify('Everyone has been enabled')
  6554. elseif args[1] == "others" then
  6555. Notify('Others have been enabled')
  6556. elseif args[1] == "friends" then
  6557. Notify('Friends have been enabled')
  6558. elseif args[1] == "nonfriends" then
  6559. Notify('Non friends have been enabled')
  6560. elseif args[1] == "team" then
  6561. Notify('Your team has been enabled')
  6562. elseif args[1] == "nonteam" then
  6563. Notify('The opossing team has been enabled')
  6564. elseif args[1] == "guests" then
  6565. Notify('Guests have been enabled')
  6566. elseif args[1] == "nonadmins" then
  6567. Notify('Nonadmins have been enabled')
  6568. elseif args[1] == "admins" then
  6569. Notify('Admins have been enabled')
  6570. else
  6571. Notify(gPlayers[v].Name .. ' has been enabled')
  6572. end
  6573. end
  6574. end
  6575. end)
  6576.  
  6577. addcmd('size','changes size of player',{},
  6578. function(args, speaker)
  6579. local players = getPlayer(args[1], speaker)
  6580. for i,v in pairs(players)do
  6581. local pchar = gPlayers[v].Character
  6582. local function scale(chr,scl)
  6583.  
  6584. for _,v in pairs(pchar:GetChildren()) do
  6585. if v:IsA("Accessory") then
  6586. v:Clone()
  6587. v.Parent = game.Lighting
  6588. end
  6589. end
  6590.  
  6591. local Head = chr['Head']
  6592. local Torso = chr['Torso']
  6593. local LA = chr['Left Arm']
  6594. local RA = chr['Right Arm']
  6595. local LL = chr['Left Leg']
  6596. local RL = chr['Right Leg']
  6597. local HRP = chr['HumanoidRootPart']
  6598.  
  6599. wait(0.1)
  6600.  
  6601. Head.formFactor = 3
  6602. Torso.formFactor = 3
  6603. LA.formFactor = 3
  6604. RA.formFactor = 3
  6605. LL.formFactor = 3
  6606. RL.formFactor = 3
  6607. HRP.formFactor = 3
  6608.  
  6609. Head.Size = Vector3.new(scl * 2, scl, scl)
  6610. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  6611. LA.Size = Vector3.new(scl, scl * 2, scl)
  6612. RA.Size = Vector3.new(scl, scl * 2, scl)
  6613. LL.Size = Vector3.new(scl, scl * 2, scl)
  6614. RL.Size = Vector3.new(scl, scl * 2, scl)
  6615. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  6616.  
  6617. local Motor1 = Instance.new('Motor6D', Torso)
  6618. Motor1.Part0 = Torso
  6619. Motor1.Part1 = Head
  6620. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6621. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  6622. Motor1.Name = "Neck"
  6623.  
  6624. local Motor2 = Instance.new('Motor6D', Torso)
  6625. Motor2.Part0 = Torso
  6626. Motor2.Part1 = LA
  6627. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6628. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6629. Motor2.Name = "Left Shoulder"
  6630.  
  6631. local Motor3 = Instance.new('Motor6D', Torso)
  6632. Motor3.Part0 = Torso
  6633. Motor3.Part1 = RA
  6634. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6635. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6636. Motor3.Name = "Right Shoulder"
  6637.  
  6638. local Motor4 = Instance.new('Motor6D', Torso)
  6639. Motor4.Part0 = Torso
  6640. Motor4.Part1 = LL
  6641. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6642. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  6643. Motor4.Name = "Left Hip"
  6644.  
  6645. local Motor5 = Instance.new('Motor6D', Torso)
  6646. Motor5.Part0 = Torso
  6647. Motor5.Part1 = RL
  6648. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6649. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  6650. Motor5.Name = "Right Hip"
  6651.  
  6652. local Motor6 = Instance.new('Motor6D', HRP)
  6653. Motor6.Part0 = HRP
  6654. Motor6.Part1 = Torso
  6655. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6656. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  6657.  
  6658. end
  6659.  
  6660. scale(pchar, args[2])
  6661.  
  6662. for _,v in pairs(game.Lighting:GetChildren()) do
  6663. if v:IsA("Accessory") then
  6664. v.Parent = pchar
  6665. end
  6666. end
  6667. end
  6668. end)
  6669.  
  6670. addcmd('clone','clones player',{},
  6671. function(args, speaker)
  6672. local players = getPlayer(args[1], speaker)
  6673. for i,v in pairs(players)do
  6674. local pchar = gPlayers[v].Character
  6675. pchar.Archivable = true
  6676. local clone = pchar:Clone()
  6677. clone.Parent = game.Workspace
  6678. clone:MoveTo(pchar:GetModelCFrame().p)
  6679. clone:MakeJoints()
  6680. pchar.Archivable = false
  6681. end
  6682. end)
  6683.  
  6684. addcmd('spin','spins player',{},
  6685. function(args, speaker)
  6686. local players = getPlayer(args[1], speaker)
  6687. for i,v in pairs(players)do
  6688. local pchar = gPlayers[v].Character
  6689. for i,v in pairs(pchar.Torso:GetChildren()) do
  6690. if v.Name == "Spinning" then
  6691. v:Destroy()
  6692. end
  6693. end
  6694. local Torso = pchar.Torso
  6695. local BG = Instance.new("BodyGyro", Torso)
  6696. BG.Name = "Spinning"
  6697. BG.maxTorque = Vector3.new(0, math.huge, 0)
  6698. BG.P = 11111
  6699. BG.cframe = Torso.CFrame
  6700. repeat wait(1/44)
  6701. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  6702. until not BG or BG.Parent ~= Torso
  6703. end
  6704. end)
  6705.  
  6706. addcmd('unspin','stops spinning player',{},
  6707. function(args, speaker)
  6708. local players = getPlayer(args[1], speaker)
  6709. for i,v in pairs(players)do
  6710. local pchar = gPlayers[v].Character
  6711. for i,v in pairs(pchar.Torso:GetChildren()) do
  6712. if v.Name == "Spinning" then
  6713. v:Destroy()
  6714. end
  6715. end
  6716. end
  6717. end)
  6718.  
  6719. addcmd('dog','makes player a dog',{},
  6720. function(args, speaker)
  6721. local players = getPlayer(args[1], speaker)
  6722. for i,v in pairs(players)do
  6723. local pchar = gPlayers[v].Character
  6724. if pchar:FindFirstChild("Shirt") then
  6725. pchar.Shirt:Destroy()
  6726. end
  6727. if pchar:FindFirstChild("Pants") then
  6728. pchar.Pants:Destroy()
  6729. end
  6730. if pchar:FindFirstChild("Shirt Graphic") then
  6731. pchar["Shirt Graphic"].Graphic = ""
  6732. end
  6733. pchar.Torso.Transparency = 1
  6734. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  6735. pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  6736. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  6737. pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  6738. pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  6739. local FakeTorso = Instance.new("Seat", pchar)
  6740. FakeTorso.Name = "FakeTorso"
  6741. FakeTorso.FormFactor = "Symmetric"
  6742. FakeTorso.TopSurface = 0
  6743. FakeTorso.BottomSurface = 0
  6744. FakeTorso.Size = Vector3.new(3,1,4)
  6745. FakeTorso.BrickColor = BrickColor.new("Brown")
  6746. FakeTorso.CFrame = pchar.Torso.CFrame
  6747. local BF = Instance.new("BodyForce", FakeTorso)
  6748. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  6749. local W = Instance.new("Weld", pchar.Torso)
  6750. W.Part0 = pchar.Torso
  6751. W.Part1 = FakeTorso
  6752. W.C0 = CFrame.new(0,-.5,0)
  6753. local BC = pchar["Body Colors"]
  6754. BC.HeadColor = BrickColor.new("Brown")
  6755. BC.LeftArmColor = BrickColor.new("Brown")
  6756. BC.LeftLegColor = BrickColor.new("Brown")
  6757. BC.RightArmColor = BrickColor.new("Brown")
  6758. BC.RightLegColor = BrickColor.new("Brown")
  6759. BC.TorsoColor = BrickColor.new("Brown")
  6760. end
  6761. end)
  6762.  
  6763. addcmd('undog','makes player back to normal',{},
  6764. function(args, speaker)
  6765. local players = getPlayer(args[1], speaker)
  6766. for i,v in pairs(players)do
  6767. execCmd("normal " .. gPlayers[v].Name, Player)
  6768. end
  6769. end)
  6770.  
  6771. addcmd('loopheal','loop heals player',{},
  6772. function(args, speaker)
  6773. local players = getPlayer(args[1], speaker)
  6774. for i,v in pairs(players)do
  6775. spawn(function()
  6776. local pchar = gPlayers[v].Character
  6777. if pchar:FindFirstChild("LoopHeal") then
  6778. pchar.LoopHeal.Name = "NotLoopHeal"
  6779. wait(0.1)
  6780. pchar.NotLoopHeal:Destroy()
  6781. end
  6782. local LoopHeal = Instance.new("StringValue", pchar)
  6783. LoopHeal.Name = "LoopHeal"
  6784. repeat wait(0.1)
  6785. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  6786. until LoopHeal.Name == "NotLoopHeal"
  6787. end)
  6788. end
  6789. end)
  6790.  
  6791. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  6792. function(args, speaker)
  6793. local players = getPlayer(args[1], speaker)
  6794. for i,v in pairs(players)do
  6795. local pchar = gPlayers[v].Character
  6796. if pchar:FindFirstChild("LoopHeal") then
  6797. pchar.LoopHeal.Name = "NotLoopHeal"
  6798. wait(0.1)
  6799. pchar.NotLoopHeal:Destroy()
  6800. end
  6801. end
  6802. end)
  6803.  
  6804. addcmd('fling','flings player',{},
  6805. function(args, speaker)
  6806. local players = getPlayer(args[1], speaker)
  6807. for i,v in pairs(players)do
  6808. local pchar = gPlayers[v].Character
  6809. if pchar:FindFirstChild("Humanoid") then
  6810. local xran
  6811. local zran
  6812. repeat
  6813. xran = math.random(-9999,9999)
  6814. until math.abs(xran) >= 5555
  6815. repeat
  6816. zran = math.random(-9999,9999)
  6817. until math.abs(zran) >= 5555
  6818. pchar.Humanoid.Sit = true
  6819. pchar.HumanoidRootPart.Velocity = Vector3.new(0,0,0)
  6820. local BF = Instance.new("BodyForce", pchar.HumanoidRootPart)
  6821. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  6822. end
  6823. end
  6824. end)
  6825.  
  6826. addcmd('seizure','makes player have a seizure',{''},
  6827. function(args, speaker)
  6828. local players = getPlayer(args[1], speaker)
  6829. for i,v in pairs(players)do
  6830. local pchar = gPlayers[v].Character
  6831. if pchar:FindFirstChild("Seizure") then
  6832.  
  6833. end
  6834. local Seizure = Instance.new("StringValue", pchar)
  6835. Seizure.Name = "Seizure"
  6836. pchar.Humanoid.PlatformStand = true
  6837. repeat wait()
  6838. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  6839. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  6840. until Seizure.Name == "NotSeizure"
  6841. end
  6842. end)
  6843.  
  6844. addcmd('fegod','gods you in fe games',{''},
  6845. function(args, speaker)
  6846. if speaker.userId ~= LP.userId then
  6847. lponly(speaker)
  6848. else
  6849. game.Players.LocalPlayer.Character.Humanoid.Name = 1
  6850. local l = game.Players.LocalPlayer.Character["1"]:Clone()
  6851. l.Parent = game.Players.LocalPlayer.Character
  6852. l.Name = "Humanoid"
  6853. wait(0.1)
  6854. game.Players.LocalPlayer.Character["1"]:Destroy()
  6855. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  6856. game.Players.LocalPlayer.Character.Animate.Disabled = true
  6857. wait(0.1)
  6858. game.Players.LocalPlayer.Character.Animate.Disabled = false
  6859. game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
  6860. end
  6861. end)
  6862.  
  6863. addcmd('unseizure','makes player stop having a seizure',{''},
  6864. function(args, speaker)
  6865. local players = getPlayer(args[1], speaker)
  6866. for i,v in pairs(players)do
  6867. local pchar = gPlayers[v].Character
  6868. if pchar:FindFirstChild("Seizure") then
  6869. pchar.Humanoid.PlatformStand = false
  6870. pchar.Seizure.Name = "NotSeizure"
  6871. wait(0.1)
  6872. pchar.NotSeizure:Destroy()
  6873. end
  6874. end
  6875. end)
  6876.  
  6877. addcmd('m','makes a global message',{'message'},
  6878. function(args, speaker)
  6879. local MSG = GLS(false, 0)
  6880. local newMSG = GLS(false, 0)
  6881. _G.msg(MSG)
  6882. end)
  6883.  
  6884. addcmd('fe','checks filtering status',{'filtering'},
  6885. function(args, speaker)
  6886. if game.Workspace.FilteringEnabled == true then
  6887. Notify('Filtering ENABLED')
  6888. elseif game.Workspace.FilteringEnabled == false then
  6889. Notify('Filtering Disabled')
  6890. end
  6891. end)
  6892.  
  6893. addcmd('paper','makes player thin as paper',{''},
  6894. function(args, speaker)
  6895. local players = getPlayer(args[1], speaker)
  6896. for i,v in pairs(players)do
  6897. local pchar = gPlayers[v].Character
  6898. for _, child in pairs( pchar:GetChildren()) do
  6899. if child.ClassName == "CharacterMesh" then
  6900. child:Destroy()
  6901. end
  6902. end
  6903. local LA = DATA.Paper:Clone()
  6904. LA.Parent = pchar["Left Arm"]
  6905. local RA = DATA.Paper:Clone()
  6906. RA.Parent = pchar["Right Arm"]
  6907. local LL = DATA.Paper:Clone()
  6908. LL.Parent = pchar["Left Leg"]
  6909. local RL = DATA.Paper:Clone()
  6910. RL.Parent = pchar["Right Leg"]
  6911. local T = DATA.Paper:Clone()
  6912. T.Parent = pchar.Torso
  6913. local H = DATA.Paper:Clone()
  6914. H.Parent = pchar.Head
  6915. pchar.Head.face:Destroy()
  6916. end
  6917. end)
  6918.  
  6919. addcmd('particles','gives a player particles',{''},
  6920. function(args, speaker)
  6921. local players = getPlayer(args[1], speaker)
  6922. for i,v in pairs(players)do
  6923. local char = gPlayers[v].Character
  6924. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  6925. if v:IsA('ParticleEmitter') then
  6926. v:destroy()
  6927. end
  6928. end
  6929. local prt = Instance.new('ParticleEmitter', char.HumanoidRootPart)
  6930. prt.Texture = 'rbxassetid://' .. args[2]
  6931. prt.Rate = 10
  6932. prt.SpreadAngle = Vector2.new(50, 50)
  6933. end
  6934. end)
  6935.  
  6936. addcmd('unparticles','gives a player particles',{'noparticles'},
  6937. function(args, speaker)
  6938. local players = getPlayer(args[1], speaker)
  6939. for i,v in pairs(players)do
  6940. local char = gPlayers[v].Character
  6941. for i,v in pairs(char.HumanoidRootPart:GetChildren()) do
  6942. if v:IsA('ParticleEmitter') then
  6943. v:destroy()
  6944. end
  6945. end
  6946. end
  6947. end)
  6948.  
  6949. addcmd('punish','punishs player',{''},
  6950. function(args, speaker)
  6951. local players = getPlayer(args[1], speaker)
  6952. for i,v in pairs(players)do
  6953. local pchar = gPlayers[v].Character
  6954. pchar.Parent = game.Lighting
  6955. end
  6956. end)
  6957.  
  6958. addcmd('unpunish','unpunishs player',{''},
  6959. function(args, speaker)
  6960. local players = getPlayer(args[1], speaker)
  6961. for i,v in pairs(players)do
  6962. if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  6963. game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  6964. end
  6965. end
  6966. end)
  6967.  
  6968. addcmd('bait',';)',{'troll'},
  6969. function(args, speaker)
  6970. spawn(function()
  6971. local M = Instance.new('Model', workspace) M.Name = 'IYbait'
  6972. 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)
  6973. y = Instance.new("BillboardGui")
  6974. y.Size = UDim2.new(0,100,0,150)
  6975. y.StudsOffset = Vector3.new(0,1,0)
  6976. y.Parent = P
  6977. y.Adornee = P
  6978. f = Instance.new("TextLabel")
  6979. f.Parent = y
  6980. f.BackgroundTransparency = 1
  6981. f.Position = UDim2.new(0,0,0,-50)
  6982. f.Size = UDim2.new(0,100,0,100)
  6983. f.Font = "Highway"
  6984. f.FontSize = "Size48"
  6985. f.Text = "Touch for admin!"
  6986. f.TextStrokeColor3 = Color3.new(0,0,0)
  6987. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  6988. f.TextStrokeTransparency = 0
  6989. f.TextYAlignment = "Bottom"
  6990. 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)
  6991. end)
  6992. end)
  6993.  
  6994. addcmd('removebait','clears bait parts',{'nobait'},
  6995. function(args, speaker)
  6996. local function dels(instance)
  6997. for i,v in pairs(instance:GetChildren())do
  6998. if v.name == "IYbait"then v:Destroy()end
  6999. dels(v)
  7000. end
  7001. end
  7002. dels(workspace)
  7003. end)
  7004.  
  7005. addcmd('disco','disco party',{''},
  7006. function(args, speaker)
  7007. Disco = true
  7008. if Disco == true then
  7009. repeat wait(0.3)
  7010. game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  7011. until Disco == false
  7012. end
  7013. end)
  7014.  
  7015. function CreateInstance(cls,props)
  7016. local inst = Instance.new(cls)
  7017. for i,v in pairs(props) do
  7018. inst[i] = v
  7019. end
  7020. return inst end
  7021. local function createSoundFrame()
  7022. 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)
  7023. 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
  7024. 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)
  7025. 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})
  7026. 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})
  7027. 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)
  7028. 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)
  7029. 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})
  7030. 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
  7031. 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
  7032. 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)
  7033. 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})
  7034. 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})
  7035. 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)
  7036. 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})
  7037. 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})
  7038. 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
  7039. 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)
  7040. return soundFrame end
  7041. local soundFrame = createSoundFrame()
  7042. soundFrame.Visible = true
  7043. local MusicPlayer do
  7044. MusicPlayer = {}
  7045. local playlist = {}
  7046. local currentSong = 1
  7047. local playlistHook = nil
  7048. --local soundFrame = script.Parent:WaitForChild("Sound")
  7049. local soundLine = soundFrame:WaitForChild("Pos")
  7050. local soundTouch = soundLine:WaitForChild("Touch")
  7051. local soundPlayStop = soundFrame:WaitForChild("PlayStop")
  7052. local soundPause = soundFrame:WaitForChild("Pause")
  7053. local soundNext = soundFrame:WaitForChild("NextSong")
  7054. local soundPrev = soundFrame:WaitForChild("PrevSong")
  7055. local soundButtons = {soundPlayStop,soundPause,soundNext,soundPrev}
  7056. local mouseDrag = false
  7057. local mouse = game.Players.LocalPlayer:GetMouse()
  7058. local lineBar = soundFrame:WaitForChild("Pos")
  7059. adminSound = Instance.new("Sound",workspace)
  7060. adminSound.Name = "IYsound"
  7061. adminSound.Looped = true
  7062. local function timeConvert(num)
  7063. local mins = math.floor(num/60)
  7064. local secs = math.floor(num % 60)
  7065. return tostring(mins)..":"..(math.floor(secs/10)==0 and "0" or "")..tostring(secs)
  7066. end
  7067. local function updateSongLine()
  7068. local linePos = mouse.X - soundLine.AbsolutePosition.X
  7069. if linePos >= 0 and linePos <= soundLine.AbsoluteSize.X then
  7070. local movePos = linePos/soundLine.AbsoluteSize.X
  7071. soundTouch.Position = UDim2.new(movePos,0,0,0)
  7072. elseif linePos < 0 then
  7073. soundTouch.Position = UDim2.new(0,0,0,0)
  7074. else
  7075. soundTouch.Position = UDim2.new(1,0,0,0)
  7076. end
  7077. local newTimePos = soundTouch.Position.X.Scale * adminSound.TimeLength
  7078. adminSound.TimePosition = newTimePos
  7079. soundFrame.TimeStart.Text = timeConvert(newTimePos)
  7080. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  7081. end
  7082. local function updateDetails(id)
  7083. local info = game:GetService("MarketplaceService"):GetProductInfo(id)
  7084. soundFrame.SName.Text = info.Name
  7085. end
  7086. local function setPlaylistHook()
  7087. if playlistHook then playlistHook:Disconnect() playlistHook = nil end
  7088. if #playlist == 0 then return end
  7089. playlistHook = adminSound.DidLoop:connect(function()
  7090. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  7091. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7092. MusicPlayer:Play(playlist[currentSong],true)
  7093. end)
  7094. end
  7095. local function disconnectPlaylistHook()
  7096. if playlistHook then playlistHook:disconnect() playlistHook = nil end
  7097. end
  7098. game:GetService("RunService").RenderStepped:Connect(function()
  7099. if adminSound.Playing then
  7100. soundTouch.Position = UDim2.new(adminSound.TimePosition/adminSound.TimeLength,0,0,0)
  7101. soundFrame.TimeStart.Text = timeConvert(adminSound.TimePosition)
  7102. soundFrame.TimeEnd.Text = timeConvert(adminSound.TimeLength)
  7103. end
  7104. end)
  7105. lineBar.InputBegan:connect(function(input)
  7106. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  7107. mouseDrag = true
  7108. updateSongLine()
  7109. end
  7110. end)
  7111. lineBar.InputEnded:connect(function(input)
  7112. if input.UserInputType == Enum.UserInputType.MouseButton1 then
  7113. mouseDrag = false
  7114. end
  7115. end)
  7116. mouse.Move:connect(function(prop)
  7117. if mouseDrag then
  7118. updateSongLine()
  7119. end
  7120. end)
  7121. function MusicPlayer:Play(id,plist)
  7122. if not plist then playlist = {} disconnectPlaylistHook() soundFrame.PlaylistCount.Visible = false soundFrame.NextSong.Visible = false soundFrame.PrevSong.Visible = false end
  7123. adminSound:Stop()
  7124. if adminSound.Parent == nil then
  7125. adminSound = Instance.new("Sound",workspace)
  7126. adminSound.Name = "IYsound"
  7127. adminSound.Looped = true
  7128. if plist then setPlaylistHook() end
  7129. end
  7130. adminSound.SoundId = "rbxassetid://"..tostring(id)
  7131. adminSound.TimePosition = 0
  7132. --repeat wait() until adminSound.IsLoaded
  7133. adminSound:Play()
  7134. soundPlayStop.BackgroundTransparency = 0
  7135. soundPlayStop.ImageTransparency = 1
  7136. updateDetails(id)
  7137. end
  7138. function MusicPlayer:Playlist(list)
  7139. playlist = list
  7140. soundFrame.PlaylistCount.Visible = true soundFrame.NextSong.Visible = true soundFrame.PrevSong.Visible = true
  7141. currentSong = 1
  7142. if adminSound.Parent == nil then
  7143. adminSound = Instance.new("Sound",workspace)
  7144. adminSound.Name = "IYsound"
  7145. adminSound.Looped = true
  7146. end
  7147. soundFrame.PlaylistCount.Text = "1/"..tostring(#playlist)
  7148. MusicPlayer:Play(playlist[1],true)
  7149. setPlaylistHook()
  7150. end
  7151. function MusicPlayer:Stop()
  7152. adminSound:Stop()
  7153. adminSound.TimePosition = 0
  7154. soundTouch.Position = UDim2.new(0,0,0,0)
  7155. soundFrame.TimeStart.Text = "0:00"
  7156. soundPlayStop.BackgroundTransparency = 1
  7157. soundPlayStop.ImageTransparency = 0
  7158. end
  7159. function MusicPlayer:Pause()
  7160. adminSound:Pause()
  7161. soundPlayStop.BackgroundTransparency = 1
  7162. soundPlayStop.ImageTransparency = 0
  7163. end
  7164. function MusicPlayer:Resume()
  7165. adminSound:Resume()
  7166. soundPlayStop.BackgroundTransparency = 0
  7167. soundPlayStop.ImageTransparency = 1
  7168. setPlaylistHook()
  7169. end
  7170. function MusicPlayer:NextSong()
  7171. if #playlist == 0 then return end
  7172. if currentSong == #playlist then currentSong = 1 else currentSong = currentSong + 1 end
  7173. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7174. MusicPlayer:Play(playlist[currentSong],true)
  7175. end
  7176. function MusicPlayer:PrevSong()
  7177. if #playlist == 0 then return end
  7178. if currentSong == 1 then currentSong = #playlist else currentSong = currentSong - 1 end
  7179. soundFrame.PlaylistCount.Text = tostring(currentSong).."/"..tostring(#playlist)
  7180. MusicPlayer:Play(playlist[currentSong],true)
  7181. end
  7182. function MusicPlayer:SetSong(ind)
  7183. if ind > #playlist or ind <= 0 then return end
  7184. soundFrame.PlaylistCount.Text = tostring(ind).."/"..tostring(#playlist)
  7185. MusicPlayer:Play(playlist[ind],true)
  7186. end
  7187. playerenabled = false
  7188. function MusicPlayer:Show()
  7189. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-72),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  7190. end
  7191. function MusicPlayer:Hide()
  7192. soundFrame:TweenPosition(UDim2.new(0.5,-350,0,-150),Enum.EasingDirection.Out,Enum.EasingStyle.Quart,0.5,true)
  7193. end
  7194. function colorFrames(obj,col)
  7195. for i,v in pairs(obj:GetChildren()) do
  7196. if v:IsA("ImageLabel") then
  7197. v.ImageColor3 = col
  7198. end
  7199. v.BackgroundColor3 = col
  7200. end
  7201. end
  7202. for i,v in pairs(soundButtons) do
  7203. v.MouseEnter:connect(function()
  7204. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(1,1,1) end
  7205. if v:IsA("TextButton") then v.TextColor3 = Color3.new(1,1,1) end
  7206. v.BackgroundColor3 = Color3.new(1,1,1)
  7207. colorFrames(v,Color3.new(1,1,1))
  7208. end)
  7209. v.MouseLeave:connect(function()
  7210. if v:IsA("ImageButton") then v.ImageColor3 = Color3.new(230/255, 230/255, 230/255) end
  7211. if v:IsA("TextButton") then v.TextColor3 = Color3.new(230/255, 230/255, 230/255) end
  7212. v.BackgroundColor3 = Color3.new(230/255, 230/255, 230/255)
  7213. colorFrames(v,Color3.new(230/255, 230/255, 230/255))
  7214. end)
  7215. end
  7216. soundPlayStop.MouseButton1Click:connect(function()
  7217. if adminSound.Playing then
  7218. MusicPlayer:Stop()
  7219. else
  7220. MusicPlayer:Resume()
  7221. end
  7222. end)
  7223. soundPause.MouseButton1Click:connect(function()
  7224. MusicPlayer:Pause()
  7225. end)
  7226. soundNext.MouseButton1Click:connect(MusicPlayer.NextSong)
  7227. soundPrev.MouseButton1Click:connect(MusicPlayer.PrevSong)
  7228. end
  7229. local testgui = Instance.new("ScreenGui",game.CoreGui)
  7230. soundFrame.Parent = testgui
  7231. addcmd('playlist','makes a noice playlist',{'ids'},
  7232. function(args, speaker)
  7233. if #args > 0 then
  7234. local function dels(instance)
  7235. for i,v in pairs(instance:GetChildren())do
  7236. if v:IsA'Sound'then v:Destroy()end
  7237. dels(v)
  7238. end
  7239. end
  7240. dels(workspace) wait(0.1)
  7241. if adminSound.Parent == nil then
  7242. adminSound = Instance.new("Sound",workspace)
  7243. adminSound.Name = "IYsound"
  7244. adminSound.Looped = true
  7245. end
  7246. local idlist = splitString(args[1])
  7247. local workingIds = {}
  7248. for i,v in pairs(idlist) do if tonumber(v) then table.insert(workingIds,tonumber(v)) end end
  7249. if #workingIds > 0 then
  7250. playerenabled = true
  7251. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
  7252. MusicPlayer:Playlist(workingIds)
  7253. MusicPlayer:Show() if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  7254. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  7255. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  7256. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false end end
  7257. else MusicPlayer:Show() NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil) if qopen == true then quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  7258. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  7259. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) playerenabled = true
  7260. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false end end end)
  7261. local function isNumber(str)
  7262. return tonumber(str) ~= nil
  7263. end
  7264. addcmd('sound', 'plays a sound',{'music','play'},
  7265. function(args, speaker)
  7266. if isNumber(args[1]) then
  7267. local function dels(instance)
  7268. for i,v in pairs(instance:GetChildren())do
  7269. if v:IsA'Sound'then v:Destroy()end
  7270. dels(v)
  7271. end
  7272. end
  7273. dels(workspace)
  7274. local c = args[1] or 'stop'
  7275. if std.inTable({'stop'}, c:lower()) then return end
  7276. local s = Instance.new("Sound", workspace)
  7277. s.Name = "IYsound"
  7278. s.Looped = true
  7279. s.SoundId = "rbxassetid://" .. c
  7280. s.Volume = 1
  7281. s:Play()
  7282. local Asset = game:GetService("MarketplaceService"):GetProductInfo(c)
  7283. playerenabled = false
  7284. Notify('Playing: ' .. Asset.Name)
  7285. else
  7286. local name = GLS(false, 0)
  7287. playerenabled = false
  7288. Notify('Stopped Audio')
  7289. local function dels(instance)
  7290. for i,v in pairs(instance:GetChildren())do
  7291. if v:IsA'Sound'then v:Destroy()end
  7292. dels(v)
  7293. end
  7294. end
  7295. dels(workspace)
  7296. if args[1] ~= "stop" and args[1] ~= "off" then
  7297. local song = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. name, true)
  7298. if song ~= "[]" then
  7299. local Sound = Instance.new("Sound", workspace)
  7300. Sound.Name = "IYsound"
  7301. song = song:sub(13)
  7302. song = song:sub(1, song:find(",") - 1)
  7303. Sound.SoundId = "rbxassetid://" .. song
  7304. Sound.Looped = true
  7305. Sound:Play()
  7306. local Asset = game:GetService("MarketplaceService"):GetProductInfo(song)
  7307. Notify('Playing: ' .. Asset.Name) end
  7308. end end end)
  7309. addcmd('undisco','rip disco party',{''},
  7310. function(args, speaker)
  7311. Disco = false
  7312. wait(0.1)
  7313. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  7314. end)
  7315. addcmd('setsong','goto a song',{'tosong'},
  7316. function(args, speaker)
  7317. MusicPlayer:SetSong(tonumber(args[1]))
  7318. end)
  7319. addcmd('nextsong','forward a song',{'nxtsong'},
  7320. function(args, speaker)
  7321. MusicPlayer:NextSong()
  7322. end)
  7323. addcmd('prevsong','back a song',{'previoussong'},
  7324. function(args, speaker)
  7325. MusicPlayer:PrevSong()
  7326. end)
  7327.  
  7328. addcmd('fix', 'restores lighting and what not',{},
  7329. function(args, speaker)
  7330. workspace.Gravity = 200
  7331. playerenabled = false
  7332. game.Lighting.Ambient = origsettings.abt
  7333. game.Lighting.OutdoorAmbient = origsettings.oabt
  7334. game.Lighting.Brightness = origsettings.brt
  7335. game.Lighting.TimeOfDay = origsettings.time
  7336. game.Lighting.FogColor = origsettings.fclr
  7337. game.Lighting.FogEnd = origsettings.fe
  7338. game.Lighting.FogStart = origsettings.fs
  7339. 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)
  7340. for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('Sky') then v:Remove() end end
  7341. for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('BloomEffect') then v:Remove() end end
  7342. for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('BlurEffect') then v:Remove() end end
  7343. for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('ColorCorrectionEffect') then v:Remove() end end
  7344. for i,v in pairs(game.Lighting:GetChildren()) do if v:IsA('SunRaysEffect') then v:Remove() end end
  7345. for i,v in pairs(workspace.Terrain:GetChildren()) do v:Remove() end Notify('Reset') end)
  7346.  
  7347. Floating = false
  7348.  
  7349. addcmd('float', 'makes player float',{},
  7350. function(args,speaker)
  7351. Floating = true
  7352. local players = getPlayer(args[1], speaker)
  7353. for _,v in pairs(players) do
  7354. local pchar = gPlayers[v].Character
  7355. if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  7356. spawn(function()
  7357. local float = DATA.Float:Clone()
  7358. float.Parent = pchar
  7359. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  7360. spawn(function()
  7361. while wait(0.1) do
  7362. if pchar:FindFirstChild("Float") then
  7363. float.CFrame = pchar.HumanoidRootPart.CFrame * CFrame.new(0,-3.5,0)
  7364. else
  7365. break
  7366. end
  7367. end
  7368. end)
  7369. end)
  7370. end
  7371. end
  7372. end)
  7373.  
  7374. addcmd('unfloat','disables floating',{},
  7375. function(args, speaker)
  7376. Floating = false
  7377. local players = getPlayer(args[1], speaker)
  7378. for i,v in pairs(players)do
  7379. local pchar = gPlayers[v].Character
  7380. if pchar:FindFirstChild("Float") then
  7381. pchar.Float:Destroy()
  7382. end
  7383. end
  7384. end)
  7385.  
  7386. Clip = true
  7387. addcmd('noclip','noclip',{},
  7388. function(args, speaker)
  7389. Notify('Noclip enabled')
  7390. Clip = false
  7391. wait(0.1)
  7392. Name = speaker.Name
  7393. game:GetService('RunService').Stepped:connect(function ()
  7394. game.Workspace[Name].Torso.CanCollide = Clip
  7395. game.Workspace[Name].Head.CanCollide = Clip
  7396. end)
  7397. game.Workspace[Name].Torso.Changed:connect(function()
  7398. game.Workspace[Name].Torso.CanCollide = Clip
  7399. game.Workspace[Name].Head.CanCollide = Clip
  7400. end)
  7401. end)
  7402.  
  7403. addcmd('clip','clip',{},
  7404. function(args, speaker)
  7405. Notify('Noclip disabled')
  7406. Clip = true
  7407. end)
  7408.  
  7409. addcmd('prefix','changes prefix',{},
  7410. function(args, speaker)
  7411. cmdprefix = args[1]
  7412. Notify('Set prefix to "' .. args[1] .. '"')
  7413. end)
  7414.  
  7415. addcmd('respawn','respawns',{},
  7416. function(args, speaker)
  7417. local players = getPlayer(args[1], speaker)
  7418. for i,v in pairs(players) do
  7419. local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_iy'
  7420. local H = Instance.new('Humanoid', M)
  7421. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  7422. gPlayers[v].Character = M
  7423. end
  7424. end)
  7425.  
  7426. addcmd('version','shows version',{''},
  7427. function(args, speaker)
  7428. if speaker.userId ~= LP.userId then
  7429. lponly(speaker)
  7430. else
  7431. Notify("Version is " .. Version)
  7432. end
  7433. end)
  7434. local CTPenabled = false
  7435. Mouse.KeyDown:connect(function (Key)
  7436. if Key:byte() == 29 then
  7437. if FLYING == false then
  7438. execCmd("fly me", Player)
  7439. elseif FLYING == true then
  7440. execCmd("unfly me", Player)
  7441. end
  7442. end
  7443. if Key:byte() == 30 then
  7444. if Clip == true then
  7445. execCmd("noclip", Player)
  7446. elseif Clip == false then
  7447. execCmd("clip", Player)
  7448. end
  7449. end
  7450. Key = Key:lower()
  7451. if Key:byte() == 27 then
  7452. CTPenabled = true
  7453. end
  7454. end)
  7455. Mouse.KeyUp:connect(function(Key)
  7456. Key = Key:lower()
  7457. if Key:byte() == 27 then
  7458. CTPenabled = false
  7459. end
  7460. end)
  7461. Mouse.Button1Down:connect(function()
  7462. local charx = game.Players.LocalPlayer.Character
  7463. if charx and CTPenabled == true then
  7464. charx.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,7,0)
  7465. end
  7466. end)
  7467. -------------------
  7468. ----Command bar----
  7469. -------------------
  7470. cmdbarbind = ";"
  7471. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  7472. CMDbar.Name = 'GUI'
  7473. cont = Instance.new("Frame")
  7474. cmdBAR = Instance.new('TextBox', cont)
  7475. cont.Name = "cont"
  7476. cont.BackgroundTransparency = 1
  7477. cont.Position = UDim2.new(1, -265, 0, -75)
  7478. cont.Size = UDim2.new(0, 270, 0, 45)
  7479. cont.Parent = CMDbar
  7480. cont.Active = true cont.Draggable = true
  7481. cmdBAR.Name = "CMDbar"
  7482. cmdBAR.Parent = cont
  7483. cmdBAR.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7484. cmdBAR.BackgroundTransparency = 0.7
  7485. cmdBAR.BorderColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  7486. cmdBAR.BorderSizePixel = 0
  7487. cmdBAR.Position = UDim2.new(0, 10, 1, -35)
  7488. cmdBAR.Size = UDim2.new(0, 250, 0, 25)
  7489. cmdBAR.Font = Enum.Font.SourceSans
  7490. cmdBAR.FontSize = Enum.FontSize.Size18
  7491. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  7492. cmdBAR.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  7493. -------------------
  7494. ----Data Folder----
  7495. -------------------
  7496. DATA = Instance.new('Folder', game.ContextActionService)
  7497. DATA.Name = 'Data'
  7498.  
  7499. Paper = Instance.new('BlockMesh', DATA)
  7500. Paper.Name = 'Paper'
  7501. Paper.Scale = Vector3.new(1,1,0.1)
  7502.  
  7503. ayylmao = Instance.new('Hat', DATA)
  7504. ayylmao.Name = 'ayylmao'
  7505. ayyHandle = Instance.new('Part', ayylmao)
  7506. ayyHandle.Name = 'Handle'
  7507. ayyHandle.Size = Vector3.new(2,2.4,2)
  7508. ayyHandle.FormFactor = 'Plate'
  7509. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  7510. ayyMesh.Scale = Vector3.new(1,1.02,1)
  7511. ayyMesh.MeshType = 'FileMesh'
  7512. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  7513. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  7514.  
  7515. Float = Instance.new('Part', DATA)
  7516. Float.Name = 'Float'
  7517. Float.Transparency = 1
  7518. Float.Size = Vector3.new(6,1,6)
  7519. Float.Anchored = true
  7520.  
  7521. function C3(R, G, B) return Color3.new(R/255, G/255, B/255) end
  7522. missile = Instance.new('Part', DATA)
  7523. missile.Name = 'IY_missile'
  7524. missile.CanCollide = false
  7525. missile.Size = Vector3.new(2, 5, 2)
  7526. Instance.new('CylinderMesh', missile)
  7527. local F = Instance.new('Part', missile)
  7528. F.BrickColor = BrickColor.new('Black')
  7529. F.CanCollide = false
  7530. F.Size = Vector3.new(2, 0.2, 2)
  7531. Instance.new('CylinderMesh', F)
  7532. local fire = Instance.new('Fire', F)
  7533. fire.Size = "15"
  7534. fire.Heat = "25"
  7535. local head = Instance.new('Part', missile)
  7536. head.CanCollide = false
  7537. head.Shape = 'Ball'
  7538. head.Size = Vector3.new(2, 2, 2)
  7539. head.TopSurface = 'Smooth'
  7540. head.BottomSurface = 'Smooth'
  7541. local BF = Instance.new('BodyForce', missile)
  7542. BF.Name = 'force'
  7543. BF.Force = Vector3.new(0, 0, 0)
  7544. local W1 = Instance.new('Weld', missile)
  7545. W1.Part0 = missile
  7546. W1.Part1 = F
  7547. W1.C1 = CFrame.new(0, 2.6, 0)
  7548. local W2 = Instance.new('Weld', missile)
  7549. W2.Part0 = missile
  7550. W2.Part1 = head
  7551. W2.C1 = CFrame.new(0, -2.6, 0)
  7552. ------------------------------
  7553. ---Commands/Settings Window---
  7554. ------------------------------
  7555. cp = Instance.new('ScreenGui', DATA)
  7556. local Frame = Instance.new("Frame")
  7557. local holder = Instance.new("Frame")
  7558. local bar = Instance.new("Frame")
  7559. local cmdss = Instance.new("TextButton")
  7560. local settings = Instance.new("TextButton")
  7561. local Hide = Instance.new("TextButton")
  7562. local Exit = Instance.new("TextButton")
  7563. local FeedbackMain = Instance.new("Frame")
  7564. local Title = Instance.new("TextLabel")
  7565. local checkboxText = Instance.new("TextLabel")
  7566. local CheckBox = Instance.new("ImageButton")
  7567. local bindInput = Instance.new("TextButton")
  7568. Input = Instance.new("TextBox")
  7569. local preText = Instance.new("TextLabel")
  7570. local setpre = Instance.new("TextButton")
  7571. local everyone = Instance.new("TextButton")
  7572. local JLtext = Instance.new("TextLabel")
  7573. local CheckBoxJL = Instance.new("ImageButton")
  7574. local friends = Instance.new("TextButton")
  7575. local InputBox = Instance.new("TextButton")
  7576. Input_2 = Instance.new("TextBox")
  7577. local MTText = Instance.new("TextLabel")
  7578. local setMT = Instance.new("TextButton")
  7579. local CheckBoxS = Instance.new("ImageButton")
  7580. local slocktext = Instance.new("TextLabel")
  7581. local barBind = Instance.new("TextLabel")
  7582. local setBind = Instance.new("TextButton")
  7583. local MtimeInput = Instance.new("TextButton")
  7584. Input_3 = Instance.new("TextBox")
  7585. local size = Instance.new("Frame")
  7586. local MAIN = Instance.new("Frame")
  7587. local Title_2 = Instance.new("TextLabel")
  7588. local Examplee = Instance.new("TextLabel")
  7589. local Search = Instance.new("TextBox")
  7590. local CMDss = Instance.new("ScrollingFrame")
  7591. cp.Name = "cp"
  7592. Frame.Parent = cp
  7593. Frame.Active = true
  7594. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  7595. Frame.BackgroundTransparency = 1
  7596. Frame.Draggable = true
  7597. Frame.Position = UDim2.new(1, -300, 1, -330)
  7598. Frame.Size = UDim2.new(0, 300, 0, 40)
  7599. holder.Name = "holder"
  7600. holder.Parent = Frame
  7601. holder.BackgroundColor3 = Color3.new(1, 1, 1)
  7602. holder.BackgroundTransparency = 1
  7603. holder.BorderSizePixel = 2
  7604. holder.ClipsDescendants = true
  7605. holder.Size = UDim2.new(0, 300, 0, 330)
  7606. holder.ZIndex = 2
  7607. bar.Name = "bar"
  7608. bar.Parent = holder
  7609. bar.BackgroundColor3 = Color3.new(1, 1, 1)
  7610. bar.Position = UDim2.new(1, -300, 1, -330)
  7611. bar.Size = UDim2.new(0, 300, 0, 40)
  7612. bar.Style = Enum.FrameStyle.DropShadow
  7613. cmdss.Name = "cmds"
  7614. cmdss.Parent = bar
  7615. cmdss.BackgroundColor3 = Color3.new(0, 0, 0)
  7616. cmdss.BackgroundTransparency = 0.80000001192093
  7617. cmdss.BorderColor3 = Color3.new(1, 1, 1)
  7618. cmdss.Position = UDim2.new(0, 0, 0, 1)
  7619. cmdss.Size = UDim2.new(0, 70, 0, 20)
  7620. cmdss.Font = Enum.Font.SourceSans
  7621. cmdss.FontSize = Enum.FontSize.Size14
  7622. cmdss.Text = "Commands"
  7623. cmdss.TextColor3 = Color3.new(1, 1, 1)
  7624. settings.Name = "settings"
  7625. settings.Parent = bar
  7626. settings.BackgroundColor3 = Color3.new(0, 0, 0)
  7627. settings.BackgroundTransparency = 0.80000001192093
  7628. settings.BorderColor3 = Color3.new(1, 1, 1)
  7629. settings.Position = UDim2.new(0, 75, 0, 1)
  7630. settings.Size = UDim2.new(0, 70, 0, 20)
  7631. settings.Font = Enum.Font.SourceSans
  7632. settings.FontSize = Enum.FontSize.Size14
  7633. settings.Text = "Settings"
  7634. settings.TextColor3 = Color3.new(1, 1, 1)
  7635. Hide.Name = "Hide"
  7636. Hide.Parent = bar
  7637. Hide.BackgroundColor3 = Color3.new(1, 1, 1)
  7638. Hide.BackgroundTransparency = 0.30000001192093
  7639. Hide.BorderColor3 = Color3.new(1, 1, 1)
  7640. Hide.Position = UDim2.new(0, 240, 0, 1)
  7641. Hide.Size = UDim2.new(0, 20, 0, 20)
  7642. Hide.FontSize = Enum.FontSize.Size14
  7643. Hide.Text = ""
  7644. Exit.Name = "Exit"
  7645. Exit.Parent = bar
  7646. Exit.BackgroundColor3 = Color3.new(1, 0, 0)
  7647. Exit.BackgroundTransparency = 0.30000001192093
  7648. Exit.BorderColor3 = Color3.new(1, 0, 0)
  7649. Exit.Position = UDim2.new(0, 264, 0, 1)
  7650. Exit.Size = UDim2.new(0, 20, 0, 20)
  7651. Exit.FontSize = Enum.FontSize.Size14
  7652. Exit.Text = ""
  7653. FeedbackMain.Name = "FeedbackMain"
  7654. FeedbackMain.Parent = holder
  7655. FeedbackMain.BackgroundColor3 = Color3.new(1, 1, 1)
  7656. FeedbackMain.Position = UDim2.new(1, -300, 1, -300)
  7657. FeedbackMain.Size = UDim2.new(0, 300, 0, 290)
  7658. FeedbackMain.Style = Enum.FrameStyle.DropShadow
  7659. Title.Name = "Title"
  7660. Title.Parent = FeedbackMain
  7661. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  7662. Title.BackgroundTransparency = 1
  7663. Title.Size = UDim2.new(1, 0, 0, 30)
  7664. Title.Font = Enum.Font.SourceSansBold
  7665. Title.FontSize = Enum.FontSize.Size24
  7666. Title.Text = "Settings"
  7667. Title.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7668. checkboxText.Name = "checkboxText"
  7669. checkboxText.Parent = FeedbackMain
  7670. checkboxText.BackgroundColor3 = Color3.new(1, 1, 1)
  7671. checkboxText.BackgroundTransparency = 1
  7672. checkboxText.Position = UDim2.new(0, 0, 0, 40)
  7673. checkboxText.Size = UDim2.new(1, 0, 0, 30)
  7674. checkboxText.Font = Enum.Font.SourceSansBold
  7675. checkboxText.FontSize = Enum.FontSize.Size18
  7676. checkboxText.Text = "Suggestions"
  7677. checkboxText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7678. CheckBox.Name = "CheckBox"
  7679. CheckBox.Parent = FeedbackMain
  7680. CheckBox.BackgroundTransparency = 1
  7681. CheckBox.Position = UDim2.new(0, 10, 0, 40)
  7682. CheckBox.Size = UDim2.new(0, 30, 0, 30)
  7683. CheckBox.Image = "http://www.roblox.com/asset/?id=65492641"
  7684. bindInput.Name = "bindInput"
  7685. bindInput.Parent = FeedbackMain
  7686. bindInput.BackgroundColor3 = Color3.new(1, 1, 1)
  7687. bindInput.Position = UDim2.new(0, 8, 0, 241)
  7688. bindInput.Size = UDim2.new(0, 30, 0, 30)
  7689. bindInput.AutoButtonColor = false
  7690. bindInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7691. bindInput.Font = Enum.Font.SourceSans
  7692. bindInput.FontSize = Enum.FontSize.Size14
  7693. bindInput.Text = ""
  7694. Input.Name = "Input"
  7695. Input.Parent = bindInput
  7696. Input.BackgroundColor3 = Color3.new(1, 1, 1)
  7697. Input.BackgroundTransparency = 1
  7698. Input.Position = UDim2.new(0, -8, 0, -8)
  7699. Input.Size = UDim2.new(0, 20, 0, 20)
  7700. Input.Font = Enum.Font.SourceSansBold
  7701. Input.FontSize = Enum.FontSize.Size18
  7702. Input.MultiLine = true
  7703. Input.Text = cmdbarbind
  7704. Input.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  7705. Input.TextWrapped = true
  7706. Input.TextXAlignment = Enum.TextXAlignment.Center
  7707. Input.TextYAlignment = Enum.TextYAlignment.Top
  7708. preText.Name = "preText"
  7709. preText.Parent = FeedbackMain
  7710. preText.BackgroundColor3 = Color3.new(1, 1, 1)
  7711. preText.BackgroundTransparency = 1
  7712. preText.Position = UDim2.new(0, 0, 0, 118)
  7713. preText.Size = UDim2.new(1, 0, 0, 30)
  7714. preText.Font = Enum.Font.SourceSansBold
  7715. preText.FontSize = Enum.FontSize.Size18
  7716. preText.Text = "Prefix"
  7717. preText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7718. setpre.Name = "setpre"
  7719. setpre.Parent = FeedbackMain
  7720. setpre.BackgroundColor3 = Color3.new(1, 1, 1)
  7721. setpre.BorderSizePixel = 5
  7722. setpre.Position = UDim2.new(0, 235, 0, 120)
  7723. setpre.Size = UDim2.new(0, 40, 0, 25)
  7724. setpre.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7725. setpre.Font = Enum.Font.ArialBold
  7726. setpre.FontSize = Enum.FontSize.Size18
  7727. setpre.Text = "Set"
  7728. everyone.Name = "everyone"
  7729. everyone.Parent = FeedbackMain
  7730. everyone.BackgroundColor3 = Color3.new(0, 0, 0)
  7731. everyone.BackgroundTransparency = 0.80000001192093
  7732. everyone.BorderColor3 = Color3.new(0, 0, 0)
  7733. everyone.Position = UDim2.new(0, 230, 0, 217)
  7734. everyone.Size = UDim2.new(0, 50, 0, 20)
  7735. everyone.Font = Enum.Font.SourceSans
  7736. everyone.FontSize = Enum.FontSize.Size14
  7737. everyone.Text = "Everyone"
  7738. everyone.TextColor3 = Color3.new(1, 1, 1)
  7739. JLtext.Name = "JLtext"
  7740. JLtext.Parent = FeedbackMain
  7741. JLtext.BackgroundColor3 = Color3.new(1, 1, 1)
  7742. JLtext.BackgroundTransparency = 1
  7743. JLtext.Position = UDim2.new(0, 0, 0, 197)
  7744. JLtext.Size = UDim2.new(1, 0, 0, 30)
  7745. JLtext.Font = Enum.Font.SourceSansBold
  7746. JLtext.FontSize = Enum.FontSize.Size14
  7747. JLtext.Text = "Joined / Left Notifications"
  7748. JLtext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7749. CheckBoxJL.Name = "CheckBoxJL"
  7750. CheckBoxJL.Parent = FeedbackMain
  7751. CheckBoxJL.BackgroundTransparency = 1
  7752. CheckBoxJL.Position = UDim2.new(0, 10, 0, 197)
  7753. CheckBoxJL.Size = UDim2.new(0, 30, 0, 30)
  7754. CheckBoxJL.Image = "http://www.roblox.com/asset/?id=65492641"
  7755. friends.Name = "friends"
  7756. friends.Parent = FeedbackMain
  7757. friends.BackgroundColor3 = Color3.new(0, 0, 0)
  7758. friends.BackgroundTransparency = 0.80000001192093
  7759. friends.BorderColor3 = Color3.new(1, 1, 1)
  7760. friends.Position = UDim2.new(0, 230, 0, 192)
  7761. friends.Size = UDim2.new(0, 50, 0, 20)
  7762. friends.Font = Enum.Font.SourceSans
  7763. friends.FontSize = Enum.FontSize.Size14
  7764. friends.Text = "Friends"
  7765. friends.TextColor3 = Color3.new(1, 1, 1)
  7766. InputBox.Name = "InputBox"
  7767. InputBox.Parent = FeedbackMain
  7768. InputBox.BackgroundColor3 = Color3.new(1, 1, 1)
  7769. InputBox.Position = UDim2.new(0, 8, 0, 120)
  7770. InputBox.Size = UDim2.new(0, 30, 0, 30)
  7771. InputBox.AutoButtonColor = false
  7772. InputBox.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7773. InputBox.Font = Enum.Font.SourceSans
  7774. InputBox.FontSize = Enum.FontSize.Size14
  7775. InputBox.Text = ""
  7776. Input_2.Name = "Input"
  7777. Input_2.Parent = InputBox
  7778. Input_2.BackgroundColor3 = Color3.new(1, 1, 1)
  7779. Input_2.BackgroundTransparency = 1
  7780. Input_2.Position = UDim2.new(0, -8, 0, -8)
  7781. Input_2.Size = UDim2.new(0, 20, 0, 20)
  7782. Input_2.Font = Enum.Font.SourceSansBold
  7783. Input_2.FontSize = Enum.FontSize.Size18
  7784. Input_2.MultiLine = true
  7785. Input_2.Text = cmdprefix
  7786. Input_2.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  7787. Input_2.TextWrapped = true
  7788. Input_2.TextXAlignment = Enum.TextXAlignment.Center
  7789. Input_2.TextYAlignment = Enum.TextYAlignment.Top
  7790. MTText.Name = "MTText"
  7791. MTText.Parent = FeedbackMain
  7792. MTText.BackgroundColor3 = Color3.new(1, 1, 1)
  7793. MTText.BackgroundTransparency = 1
  7794. MTText.Position = UDim2.new(0, 0, 0, 158)
  7795. MTText.Size = UDim2.new(1, 0, 0, 30)
  7796. MTText.Font = Enum.Font.SourceSansBold
  7797. MTText.FontSize = Enum.FontSize.Size18
  7798. MTText.Text = "Message Seconds"
  7799. MTText.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7800. setMT.Name = "setMT"
  7801. setMT.Parent = FeedbackMain
  7802. setMT.BackgroundColor3 = Color3.new(1, 1, 1)
  7803. setMT.BorderSizePixel = 5
  7804. setMT.Position = UDim2.new(0, 235, 0, 159)
  7805. setMT.Size = UDim2.new(0, 40, 0, 25)
  7806. setMT.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7807. setMT.Font = Enum.Font.ArialBold
  7808. setMT.FontSize = Enum.FontSize.Size18
  7809. setMT.Text = "Set"
  7810. CheckBoxS.Name = "CheckBoxS"
  7811. CheckBoxS.Parent = FeedbackMain
  7812. CheckBoxS.BackgroundTransparency = 1
  7813. CheckBoxS.Position = UDim2.new(0, 10, 0, 78)
  7814. CheckBoxS.Size = UDim2.new(0, 30, 0, 30)
  7815. CheckBoxS.Image = "http://www.roblox.com/asset/?id=65492641"
  7816. slocktext.Name = "slocktext"
  7817. slocktext.Parent = FeedbackMain
  7818. slocktext.BackgroundColor3 = Color3.new(1, 1, 1)
  7819. slocktext.BackgroundTransparency = 1
  7820. slocktext.Position = UDim2.new(0, 0, 0, 79)
  7821. slocktext.Size = UDim2.new(1, 0, 0, 30)
  7822. slocktext.Font = Enum.Font.SourceSansBold
  7823. slocktext.FontSize = Enum.FontSize.Size14
  7824. slocktext.Text = "Allow Friends On Serverlock"
  7825. slocktext.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7826. barBind.Name = "barBind"
  7827. barBind.Parent = FeedbackMain
  7828. barBind.BackgroundColor3 = Color3.new(1, 1, 1)
  7829. barBind.BackgroundTransparency = 1
  7830. barBind.Position = UDim2.new(0, 0, 0, 242)
  7831. barBind.Size = UDim2.new(1, 0, 0, 30)
  7832. barBind.Font = Enum.Font.SourceSansBold
  7833. barBind.FontSize = Enum.FontSize.Size18
  7834. barBind.Text = "Command Bar Keybind"
  7835. barBind.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7836. setBind.Name = "setBind"
  7837. setBind.Parent = FeedbackMain
  7838. setBind.BackgroundColor3 = Color3.new(1, 1, 1)
  7839. setBind.BorderSizePixel = 5
  7840. setBind.Position = UDim2.new(0, 235, 0, 245)
  7841. setBind.Size = UDim2.new(0, 40, 0, 25)
  7842. setBind.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7843. setBind.Font = Enum.Font.ArialBold
  7844. setBind.FontSize = Enum.FontSize.Size18
  7845. setBind.Text = "Set"
  7846. MtimeInput.Name = "MtimeInput"
  7847. MtimeInput.Parent = FeedbackMain
  7848. MtimeInput.BackgroundColor3 = Color3.new(1, 1, 1)
  7849. MtimeInput.Position = UDim2.new(0, 8, 0, 159)
  7850. MtimeInput.Size = UDim2.new(0, 30, 0, 30)
  7851. MtimeInput.AutoButtonColor = false
  7852. MtimeInput.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  7853. MtimeInput.Font = Enum.Font.SourceSans
  7854. MtimeInput.FontSize = Enum.FontSize.Size14
  7855. MtimeInput.Text = ""
  7856. Input_3.Name = "Input"
  7857. Input_3.Parent = MtimeInput
  7858. Input_3.BackgroundColor3 = Color3.new(1, 1, 1)
  7859. Input_3.BackgroundTransparency = 1
  7860. Input_3.Position = UDim2.new(0, -8, 0, -8)
  7861. Input_3.Size = UDim2.new(0, 20, 0, 20)
  7862. Input_3.Font = Enum.Font.SourceSansBold
  7863. Input_3.FontSize = Enum.FontSize.Size18
  7864. Input_3.MultiLine = true
  7865. Input_3.Text = Mseconds
  7866. Input_3.TextColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  7867. Input_3.TextWrapped = true
  7868. Input_3.TextXAlignment = Enum.TextXAlignment.Center
  7869. Input_3.TextYAlignment = Enum.TextYAlignment.Top
  7870. size.Name = "size"
  7871. size.Parent = holder
  7872. size.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  7873. size.BackgroundTransparency = 1
  7874. size.Position = UDim2.new(1, -600, 1, -300)
  7875. size.Size = UDim2.new(0, 275, 0, 300)
  7876. size.ZIndex = 2
  7877. MAIN.Name = "MAIN"
  7878. MAIN.Parent = size
  7879. MAIN.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  7880. MAIN.Position = UDim2.new(0, 1, 1, -300)
  7881. MAIN.Size = UDim2.new(0, 300, 0, 300)
  7882. MAIN.Style = Enum.FrameStyle.DropShadow
  7883. Title_2.Name = "Title"
  7884. Title_2.Parent = MAIN
  7885. Title_2.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  7886. Title_2.BackgroundTransparency = 1
  7887. Title_2.Size = UDim2.new(1, 0, 0, 30)
  7888. Title_2.Font = Enum.Font.SourceSansBold
  7889. Title_2.FontSize = Enum.FontSize.Size24
  7890. Title_2.Text = "Commands"
  7891. Title_2.TextColor3 = Color3.new(0.980392, 0.980392, 0.980392)
  7892. Examplee.Name = "Example"
  7893. Examplee.Parent = MAIN
  7894. Examplee.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7895. Examplee.BackgroundTransparency = 1
  7896. Examplee.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7897. Examplee.BorderSizePixel = 0
  7898. Examplee.Size = UDim2.new(0, 190, 0, 20)
  7899. Examplee.Visible = false
  7900. Examplee.Font = Enum.Font.SourceSansBold
  7901. Examplee.FontSize = Enum.FontSize.Size24
  7902. Examplee.Text = "txt"
  7903. Examplee.TextStrokeTransparency = 0
  7904. Examplee.TextColor3 = Color3.new(0.972549, 0.972549, 0.972549)
  7905. Examplee.TextXAlignment = Enum.TextXAlignment.Left
  7906. Search.Name = "Search"
  7907. Search.Parent = MAIN
  7908. Search.BackgroundColor3 = Color3.new(0, 0, 0)
  7909. Search.BackgroundTransparency = 0.69999998807907
  7910. Search.BorderColor3 = Color3.new(1, 1, 1)
  7911. Search.Position = UDim2.new(0.5, -127, 0.200000003, -25)
  7912. Search.Size = UDim2.new(0, 250, 0, 20)
  7913. Search.ClearTextOnFocus = false
  7914. Search.Font = Enum.Font.SourceSansBold
  7915. Search.FontSize = Enum.FontSize.Size18
  7916. Search.Text = "Search"
  7917. Search.TextColor3 = Color3.new(1, 1, 1)
  7918. Search.TextStrokeColor3 = Color3.new(0.258824, 0.258824, 0.258824)
  7919. Search.TextStrokeTransparency = 0
  7920. CMDss.Name = "CMDs"
  7921. CMDss.Parent = MAIN
  7922. CMDss.BackgroundColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7923. CMDss.BackgroundTransparency = 1
  7924. CMDss.BorderColor3 = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7925. CMDss.BorderSizePixel = 0
  7926. CMDss.Position = UDim2.new(0, 0, 0, 55)
  7927. CMDss.Size = UDim2.new(0, 285, 0, 230)
  7928. CMDss.BottomImage = "rbxasset://textures/blackBkg_square.png"
  7929. CMDss.CanvasSize = UDim2.new(0, 0, 0, 4000)
  7930. CMDss.MidImage = "rbxasset://textures/blackBkg_square.png"
  7931. CMDss.ScrollBarThickness = 8
  7932. CMDss.TopImage = "rbxasset://textures/blackBkg_square.png"
  7933.  
  7934. --notify
  7935. notifyMAIN = Instance.new('ScreenGui', DATA)
  7936. notifyMAIN.Name = 'Notification'
  7937. notifyNOT = Instance.new('Frame', notifyMAIN)
  7938. notifyNOT.Name = 'NOTIFY'
  7939. notifyNOT.BackgroundColor = BrickColor.new(0,0,0)
  7940. notifyNOT.BackgroundTransparency = 1
  7941. notifyNOT.BorderColor = BrickColor.new(0,0,0)
  7942. notifyNOT.BorderSizePixel = 2
  7943. notifyNOT.Position = UDim2.new(0,0,-0.06,0)
  7944. notifyNOT.Size = UDim2.new(1,0,0,-40)
  7945. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  7946. notifyNOTE.Name = 'NOTE'
  7947. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  7948. notifyNOTE.BackgroundTransparency = 1
  7949. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  7950. notifyNOTE.BorderSizePixel = 0
  7951. notifyNOTE.Size = UDim2.new(1,0,1,0)
  7952. notifyNOTE.ZIndex = 10
  7953. notifyNOTE.FontSize = 'Size18'
  7954. notifyNOTE.Font = 'SourceSansBold'
  7955. notifyNOTE.Text = 'NOTIFY'
  7956. notifyNOTE.TextColor = BrickColor.new(255,255,255)
  7957. notifyNOTE.TextStrokeColor3 = Color3.new(0,0,0)
  7958. notifyNOTE.TextStrokeTransparency = 0.8
  7959. --jail
  7960. jail = Instance.new('Model', DATA)
  7961. jail.Name = 'JAIL'
  7962. local B = Instance.new('Part', jail)
  7963. B.Name = 'BUTTOM'
  7964. B.BrickColor = BrickColor.new('Black')
  7965. B.Transparency = 0.5
  7966. B.Anchored = true
  7967. B.Locked = true
  7968. B.Size = Vector3.new(6, 1, 6)
  7969. B.TopSurface = 'Smooth'
  7970. B.BottomSurface = 'Smooth'
  7971. local M = Instance.new('Part', jail)
  7972. M.Name = 'MAIN'
  7973. M.BrickColor = BrickColor.new('Black')
  7974. M.Transparency = 1
  7975. M.Anchored = true
  7976. M.CanCollide = false
  7977. M.Locked = true
  7978. M.Position = B.Position + Vector3.new(0, 3, 0)
  7979. M.Size = Vector3.new(1, 1, 1)
  7980. local P1 = Instance.new('Part', jail)
  7981. P1.BrickColor = BrickColor.new('Black')
  7982. P1.Transparency = 0.5
  7983. P1.Position = B.Position + Vector3.new(0, 3.5, -2.5)
  7984. P1.Rotation = Vector3.new(0, 90, 0)
  7985. P1.Anchored = true
  7986. P1.Locked = true
  7987. P1.Size = Vector3.new(1, 6, 6)
  7988. local P2 = Instance.new('Part', jail)
  7989. P2.BrickColor = BrickColor.new('Black')
  7990. P2.Transparency = 0.5
  7991. P2.Position = B.Position + Vector3.new(-2.5, 3.5, 0)
  7992. P2.Rotation = Vector3.new(-180, 0, -180)
  7993. P2.Anchored = true
  7994. P2.Locked = true
  7995. P2.Size = Vector3.new(1, 6, 4)
  7996. local P3 = Instance.new('Part', jail)
  7997. P3.BrickColor = BrickColor.new('Black')
  7998. P3.Transparency = 0.5
  7999. P3.Position = B.Position + Vector3.new(2.5, 3.5, 0)
  8000. P3.Rotation = Vector3.new(0, 0, 0)
  8001. P3.Anchored = true
  8002. P3.Locked = true
  8003. P3.Size = Vector3.new(1, 6, 4)
  8004. local P4 = Instance.new('Part', jail)
  8005. P4.BrickColor = BrickColor.new('Black')
  8006. P4.Transparency = 0.5
  8007. P4.Position = B.Position + Vector3.new(0, 3.5, 2.5)
  8008. P4.Rotation = Vector3.new(0, 90, 0)
  8009. P4.Anchored = true
  8010. P4.Locked = true
  8011. P4.Size = Vector3.new(1, 6, 6)
  8012. local TOP = Instance.new('Part', jail)
  8013. TOP.BrickColor = BrickColor.new('Black')
  8014. TOP.Transparency = 0.5
  8015. TOP.Position = B.Position + Vector3.new(0, 7, 0)
  8016. TOP.Rotation = Vector3.new(0, 0, 0)
  8017. TOP.Anchored = true
  8018. TOP.Locked = true
  8019. TOP.Size = Vector3.new(6, 1, 6)
  8020. TOP.TopSurface = 'Smooth'
  8021. TOP.BottomSurface = 'Smooth'
  8022.  
  8023. addcmd('ayylmao','ayy lmao',{'alien'},
  8024. function(args, speaker)
  8025. local players = getPlayer(args[1], speaker)
  8026. for i,v in pairs(players)do
  8027. local pchar = gPlayers[v].Character
  8028. if pchar:FindFirstChild("Shirt") then
  8029. pchar.Shirt:Destroy()
  8030. end
  8031. if pchar:FindFirstChild("Pants") then
  8032. pchar.Pants:Destroy()
  8033. end
  8034. if pchar:FindFirstChild("Shirt Graphic") then
  8035. pchar["Shirt Graphic"].Graphic = ""
  8036. end
  8037. for i,v in pairs(pchar:GetChildren()) do
  8038. if v:IsA("Accessory") then
  8039. v:Destroy()
  8040. end
  8041. end
  8042. local ayylmao = DATA.ayylmao:Clone()
  8043. ayylmao.Parent = pchar
  8044. local BC = pchar["Body Colors"]
  8045. BC.HeadColor = BrickColor.new("Fossil")
  8046. BC.LeftArmColor = BrickColor.new("Fossil")
  8047. BC.LeftLegColor = BrickColor.new("Fossil")
  8048. BC.RightArmColor = BrickColor.new("Fossil")
  8049. BC.RightLegColor = BrickColor.new("Fossil")
  8050. BC.TorsoColor = BrickColor.new("Fossil")
  8051. end
  8052. end)
  8053.  
  8054. ----------------------
  8055. -----Commands GUI-----
  8056. ----------------------
  8057. CMDsFolder = Instance.new("Folder", game.CoreGui)
  8058. for i,v in pairs(CMDs) do
  8059. CMDsValue = Instance.new("StringValue", CMDsFolder)
  8060. CMDsValue.Value = v
  8061. CMDsValue.RobloxLocked = true
  8062. end
  8063. cmdOpen = false
  8064. local function commands()
  8065. if cmdOpen == false then
  8066. cmdOpen = true
  8067. local cmds = cp:Clone()
  8068. cmds.Parent = game.CoreGui
  8069. local CMDsV = CMDsFolder:GetChildren()
  8070. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quint",0.01,true) wait(0.01)
  8071. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
  8072. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true)
  8073. SettingsGUI = game.CoreGui.cp.Frame.holder if MODE == 1 then
  8074. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8075. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) elseif MODE == 2 then
  8076. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8077. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8078. end
  8079. --joined/left friend option
  8080. game.Players.PlayerAdded:connect(playerAdded)
  8081. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
  8082. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8083. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  8084. end)
  8085. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
  8086. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8087. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8088. end)
  8089. game.Players.PlayerRemoving:connect(PlayerRemoving)
  8090. SettingsGUI.FeedbackMain.friends.MouseButton1Click:connect(function() changeOptions(1)
  8091. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8092. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0)
  8093. end)
  8094. SettingsGUI.FeedbackMain.everyone.MouseButton1Click:connect(function() changeOptions(2)
  8095. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(0,0,0)
  8096. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(1,1,1)
  8097. end)
  8098. --Message time
  8099. SettingsGUI.FeedbackMain.setMT.MouseButton1Click:Connect(function()
  8100. wait()
  8101. Mseconds = SettingsGUI.FeedbackMain.MtimeInput.Input.Text
  8102. Notify('Set message time to ' ..SettingsGUI.FeedbackMain.MtimeInput.Input.Text.. ' second(s)')
  8103. end)
  8104. --CMDBAR keybind
  8105. SettingsGUI.FeedbackMain.setBind.MouseButton1Click:Connect(function()
  8106. wait()
  8107. cmdbarbind = SettingsGUI.FeedbackMain.bindInput.Input.Text
  8108. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  8109. Notify('Set the command bar keybind to "' ..SettingsGUI.FeedbackMain.bindInput.Input.Text .. '"' )
  8110. end)
  8111. --Change prefix
  8112. SettingsGUI.FeedbackMain.setpre.MouseButton1Click:Connect(function()
  8113. wait()
  8114. cmdprefix = SettingsGUI.FeedbackMain.InputBox.Input.Text
  8115. Notify('Set prefix to "' .. SettingsGUI.FeedbackMain.InputBox.Input.Text .. '"')
  8116. end)
  8117. --Check Box for notify
  8118. checked = "http://www.roblox.com/asset/?id=65492641"
  8119. unchecked = "http://www.roblox.com/asset/?id=65492651"
  8120. if suggestionstoggle == true then
  8121. SettingsGUI.FeedbackMain.CheckBox.Image = checked else
  8122. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked end
  8123. SettingsGUI.FeedbackMain.CheckBox.MouseButton1Down:connect(function()
  8124. if suggestionstoggle == true then suggestionstoggle = false
  8125. SettingsGUI.FeedbackMain.CheckBox.Image = unchecked else
  8126. suggestionstoggle = true
  8127. SettingsGUI.FeedbackMain.CheckBox.Image = checked end end)
  8128. --Check Box for allow friends on serverlock
  8129. checked2 = "http://www.roblox.com/asset/?id=65492641"
  8130. unchecked2 = "http://www.roblox.com/asset/?id=65492651"
  8131. if allowfriends == true then
  8132. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 else
  8133. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 end
  8134. SettingsGUI.FeedbackMain.CheckBoxS.MouseButton1Down:connect(function()
  8135. if allowfriends == true then allowfriends = false
  8136. SettingsGUI.FeedbackMain.CheckBoxS.Image = unchecked2 else
  8137. allowfriends = true
  8138. SettingsGUI.FeedbackMain.CheckBoxS.Image = checked2 end end)
  8139. --Check Box for JoinedLeft notifications
  8140. checked3 = "http://www.roblox.com/asset/?id=65492641"
  8141. unchecked3 = "http://www.roblox.com/asset/?id=65492651"
  8142. if JLnotify == true then
  8143. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 else
  8144. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 end
  8145. SettingsGUI.FeedbackMain.CheckBoxJL.MouseButton1Down:connect(function()
  8146. if JLnotify == true then JLnotify = false MODE = -1
  8147. SettingsGUI.FeedbackMain.CheckBoxJL.Image = unchecked3 else JLnotify = true
  8148. SettingsGUI.FeedbackMain.CheckBoxJL.Image = checked3 MODE = 1
  8149. SettingsGUI.FeedbackMain.friends.BorderColor3 = Color3.new(1,1,1)
  8150. SettingsGUI.FeedbackMain.everyone.BorderColor3 = Color3.new(0,0,0) end end) closed = false
  8151. cmds.Frame.holder.bar.cmds.MouseButton1Click:Connect(function() closed = false
  8152. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
  8153. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true) wait(0.2)
  8154. cmds.Frame.holder.bar.Hide.Visible = true
  8155. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
  8156. cmds.Frame.holder.bar.settings.MouseButton1Click:Connect(function() closed = false
  8157. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true) wait(0.1)
  8158. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true) wait(0.2)
  8159. cmds.Frame.holder.bar.Hide.Visible = true
  8160. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
  8161. cmds.Frame.holder.bar.Hide.MouseButton1Click:Connect(function()
  8162. if closed == false then closed = true
  8163. cmds.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-640),"Out","Quint",0.2,true)
  8164. cmds.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-640),"Out","Quint",0.2,true) wait(0.2)
  8165. cmds.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,0),"Out","Quint",0.2,true) wait(0.2)
  8166. cmds.Frame.holder.bar.Hide.Visible = false end end)
  8167. cmds.Frame.holder.bar.Exit.MouseButton1Click:Connect(function() closed = false
  8168. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  8169. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,0),"Out","Quint",0.2,true) wait(0.3)
  8170. cmds:Destroy() cmdOpen = false end)
  8171. cmds.Frame.holder:TweenSize(UDim2.new(0,300,0,330),"Out","Quint",0.2,true)
  8172. searchbar()
  8173. for i = 1, #CMDsV do
  8174. local YSize = 25
  8175. local Position = ((i * YSize) - YSize)
  8176. local newcmd = cmds.Frame.holder.size.MAIN.Example:Clone()
  8177. newcmd.Parent = cmds.Frame.holder.size.MAIN.CMDs
  8178. newcmd.Visible = true
  8179. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  8180. newcmd.Text = "" .. CMDsV[i].Value
  8181. CMDss.CanvasSize = UDim2.new(0,0,0, Position + 30)
  8182. Input.Text = cmdbarbind Input_2.Text = cmdprefix Input_3.Text = Mseconds
  8183. end
  8184. else closed = false
  8185. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,0,1,-300),"Out","Quint",0.2,true) wait(0.1)
  8186. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-301,1,-300),"Out","Quint",0.2,true) wait(0.2)
  8187. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  8188. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end end
  8189. function searchbar()
  8190. local CSP = game.CoreGui.cp.Frame.holder.size.MAIN
  8191. local main = CSP
  8192. local frame = CSP:WaitForChild('CMDs')
  8193. local gui = CSP:WaitForChild('Search')
  8194. local focused = false
  8195. Match = function(name,str)
  8196. return name:lower():find(str:lower()) and true
  8197. end
  8198. gui.FocusLost:connect(function(enterpressed)
  8199. gui.Text = "Search"
  8200. end)
  8201. IndexContents = function(str,bool)
  8202. local Index,SizeY = 0,0
  8203. for i,v in next, frame:GetChildren() do
  8204. if bool then
  8205. if Match(v.Text,str) then
  8206. Index = Index + 1
  8207. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  8208. v.Visible = true
  8209. SizeY = SizeY + v.AbsoluteSize.Y
  8210. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  8211. else
  8212. v.Visible = false
  8213. end
  8214. else
  8215. v.Visible = true
  8216. SizeY = SizeY + v.AbsoluteSize.Y
  8217. frame.CanvasSize = UDim2.new(0,0,0,SizeY)
  8218. end
  8219. end
  8220. end
  8221. game:GetService('RunService').Stepped:connect(function()
  8222. if gui:IsFocused() and gui.Text == "Search" then
  8223. gui.Text = ''
  8224. end
  8225. end)
  8226. gui.Changed:connect(function()
  8227. if gui:IsFocused() then IndexContents(gui.Text,true) end
  8228. end)
  8229.  
  8230. IndexContents('',true)
  8231. end
  8232.  
  8233. addcmd('settings','opens settings window',{'toggles'},
  8234. function(args, speaker)
  8235. if speaker.userId ~= LP.userId then
  8236. lponly(speaker)
  8237. else
  8238. commands()
  8239. searchbar()
  8240. wait(0.1)
  8241. closed = false
  8242. game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true)
  8243. wait(0.1)
  8244. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true)
  8245. wait(0.1)
  8246. game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true
  8247. game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true)
  8248. end
  8249. end)
  8250.  
  8251. addcmd('cmds','opens cmds window',{'commands'},
  8252. function(args, speaker)
  8253. if speaker.userId ~= LP.userId then
  8254. if speaker.Character.Head:FindFirstChild("BillboardGui") then
  8255. speaker.Character.Head:FindFirstChild("BillboardGui"):Remove()
  8256. end
  8257.  
  8258. y = Instance.new("BillboardGui")
  8259. y.Size = UDim2.new(0,100,0,150)
  8260. y.StudsOffset = Vector3.new(0,1,0)
  8261. y.Parent = speaker.Character.Head
  8262. y.Adornee = speaker.Character.Head
  8263. f = Instance.new("TextLabel")
  8264. f.Parent = y
  8265. f.BackgroundTransparency = 1
  8266. f.Position = UDim2.new(0,0,0,-50)
  8267. f.Size = UDim2.new(0,100,0,100)
  8268. f.Font = "ArialBold"
  8269. f.TextSize = 20
  8270. f.Text = "Commands: cmds.infiniteyield.x10host.com (say " .. cmdprefix .. "verify me to dismiss)"
  8271. f.TextStrokeColor3 = Color3.new(0,0,0)
  8272. f.TextColor3 = Color3.new(255/255,255/255,255/255)
  8273. f.TextStrokeTransparency = 0
  8274. f.TextYAlignment = "Bottom"
  8275. else
  8276. commands()
  8277. wait(0.2)
  8278. searchbar()
  8279. end
  8280. end)
  8281. cmdBAR.FocusLost:connect(function(enterpressed)
  8282. if enterpressed and cmdBAR.Text ~= "" then
  8283. spawn(function ()
  8284. execCmd(cmdBAR.Text, Player)
  8285. end)
  8286. end
  8287. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true)
  8288. cmdBAR.BorderSizePixel = 1
  8289. wait(0.1)
  8290. cmdBAR.BorderSizePixel = 0
  8291. cmdBAR.Text = 'Press ' ..cmdbarbind.. ' to focus the cmd bar'
  8292. end)
  8293. Mouse.KeyDown:connect(function(Key)
  8294. if (Key==cmdbarbind) then
  8295. cmdBAR:CaptureFocus()
  8296. cmdBAR.BorderSizePixel = 1
  8297. wait(0.1)
  8298. cmdBAR.BorderSizePixel = 2
  8299. end
  8300. end)
  8301. cmdBAR.Changed:connect(function (property)
  8302. if suggestionstoggle == true and cmdBAR:IsFocused() then IndexContents2(cmdBAR.Text,true) game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quint",0.3,true) end
  8303. end)
  8304.  
  8305. NOTIFY = DATA.Notification
  8306. NOTIFY.Parent = game.CoreGui
  8307. local usingNOTE = false
  8308. function Notify(msg)
  8309. spawn(function()
  8310. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  8311. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
  8312. wait(0.5)
  8313. MusicPlayer:Hide()
  8314. if qopen == true then
  8315. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8316. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8317. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8318. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false
  8319. NOTIFY.NOTIFY.NOTE.Text = msg
  8320. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil)
  8321. if playerenabled == true then
  8322. wait(4)
  8323. if playerenabled == true then
  8324. MusicPlayer:Show()
  8325. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
  8326. end
  8327. end
  8328. else
  8329. NOTIFY.NOTIFY.NOTE.Text = msg
  8330. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil)
  8331. if playerenabled == true then
  8332. wait(4)
  8333. if playerenabled == true then
  8334. MusicPlayer:Show()
  8335. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
  8336. end
  8337. end
  8338. end end end) end
  8339. 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
  8340. 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)
  8341. 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
  8342. 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
  8343. 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)
  8344. ba.BorderSizePixel = 0 ba.Size = UDim2.new(0, 0, 1, 0) wait(0.1)
  8345. Loading.ba:TweenSize(UDim2.new(0.3, 0, 1, 0), "InOut", "Quad", 1, true, nil) wait(0.2)
  8346. commands() wait(0.01) game.CoreGui.cp:Destroy() cmdOpen = false
  8347. o1 = Instance.new("ScreenGui") o2 = Instance.new("Frame") o3 = Instance.new("Frame") o4 = Instance.new("Frame") o5 = Instance.new("ScrollingFrame") o6 = Instance.new("TextLabel")
  8348. o7 = Instance.new("ScrollingFrame") o8 = Instance.new("TextLabel") o9 = Instance.new("Frame") o10 = Instance.new("ScrollingFrame") o11 = Instance.new("ScrollingFrame")
  8349. o1.Name = "IntroGui" o1.Parent = game.CoreGui o2.Name = "MainFrame" o2.Parent = o1 o2.Size = UDim2.new(1,0,1,0) o2.BackgroundColor3 = Color3.new(0, 0, 0) o2.BackgroundTransparency = 1
  8350. o2.BorderSizePixel = 0 o3.Name = "Intro" o3.Parent = o2 o3.Size = UDim2.new(1,0,1,0) o3.BackgroundColor3 = Color3.new(0, 0, 0) o3.BackgroundTransparency = 1 o3.BorderSizePixel = 0 o3.ZIndex = 2
  8351. o4.Name = "presents" o4.Parent = o3 o4.Position = UDim2.new(0,0,1,0) o4.Size = UDim2.new(1,0,1,0) o4.Position = UDim2.new(0,0,1,0) o4.BackgroundColor3 = Color3.new(0, 0, 0) o4.BackgroundTransparency = 0.69999998807907
  8352. o4.BorderSizePixel = 0 o4.ZIndex = 3 o5.Name = "text1" o5.Parent = o4 o5.Position = UDim2.new(0,0,0.5,-50) o5.Size = UDim2.new(1,0,0,100) o5.Position = UDim2.new(0,0,0.5,-50) o5.CanvasSize = UDim2.new(0,0,0,0)
  8353. o5.BackgroundColor3 = Color3.new(1, 1, 1) o5.BackgroundTransparency = 1 o5.BorderSizePixel = 0 o5.ZIndex = 3 o5.ScrollBarThickness = 0 o6.Name = "MainTL" o6.Parent = o5
  8354. o6.Position = UDim2.new(0,0,0,100) o6.Size = UDim2.new(1,0,0,100) o6.Text = "Infinite Yield" o6.Position = UDim2.new(0,0,0,100) o6.BackgroundColor3 = Color3.new(1, 1, 1) o6.BackgroundTransparency = 1
  8355. o6.BorderSizePixel = 0 o6.ZIndex = 5 o6.Font = Enum.Font.Highway o6.FontSize = Enum.FontSize.Size14 o6.TextColor3 = Color3.new(1, 1, 1) o6.TextScaled = true o6.TextWrapped = true o7.Name = "text2"
  8356. o7.Parent = o4 o7.Position = UDim2.new(0,0,0.5,50) o7.Size = UDim2.new(1,0,0,30) o7.Position = UDim2.new(0,0,0.5,50) o7.CanvasSize = UDim2.new(0,0,0,0) o7.BackgroundColor3 = Color3.new(1, 1, 1) o7.BackgroundTransparency = 1
  8357. o7.BorderSizePixel = 0 o7.ZIndex = 3 o7.ScrollBarThickness = 0 o8.Name = "MainTL" o8.Parent = o7 o8.Position = UDim2.new(0,0,0,-31) o8.Size = UDim2.new(1,0,0,30) o8.Text = "Admin Commands"
  8358. o8.Position = UDim2.new(0,0,0,-31) o8.BackgroundColor3 = Color3.new(1, 1, 1) o8.BackgroundTransparency = 1 o8.BorderSizePixel = 0 o8.ZIndex = 5 o8.Font = Enum.Font.Highway
  8359. o8.FontSize = Enum.FontSize.Size36 o8.TextColor3 = Color3.new(1, 1, 1) o8.TextWrapped = true o9.Name = "gametitle" o9.Parent = o3 o9.Position = UDim2.new(0,0,1,0) o9.Size = UDim2.new(1,0,1,0)
  8360. o9.Position = UDim2.new(0,0,1,0) o9.BackgroundColor3 = Color3.new(0, 0, 0) o9.BackgroundTransparency = 0.69999998807907 o9.BorderSizePixel = 0 o9.ZIndex = 3 o10.Name = "text1"
  8361. o10.Parent = o9 o10.Position = UDim2.new(0,0,0.5,-50) o10.Size = UDim2.new(1,0,0,100) o10.Position = UDim2.new(0,0,0.5,-50) o10.CanvasSize = UDim2.new(0,0,0,0) o10.BackgroundColor3 = Color3.new(1, 1, 1) o10.BackgroundTransparency = 1
  8362. o10.BorderSizePixel = 0 o10.ZIndex = 3 o10.ScrollBarThickness = 0 o11.Name = "text2" o11.Parent = o9 o11.Position = UDim2.new(0,0,0.5,50) o11.Size = UDim2.new(1,0,0,40) o11.Position = UDim2.new(0,0,0.5,50)
  8363. o11.CanvasSize = UDim2.new(0,0,0,0) o11.BackgroundColor3 = Color3.new(1, 1, 1) o11.BackgroundTransparency = 1 o11.BorderSizePixel = 0 o11.ZIndex = 3 o11.ScrollBarThickness = 0
  8364. Loading.ba:TweenSize(UDim2.new(0.45, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8365. local presents = game.CoreGui.IntroGui.MainFrame.Intro.presents
  8366. local presents_text1_mtl = presents.text1.MainTL
  8367. local presents_text2_mtl = presents.text2.MainTL
  8368. local gtitle = game.CoreGui.IntroGui.MainFrame.Intro.gametitle
  8369. presents:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0) wait(0.5)
  8370. presents_text1_mtl:TweenPosition(UDim2.new(0,0,0.5,-54),"Out","Quad",1) wait(0.5)
  8371. presents_text2_mtl:TweenPosition(UDim2.new(0,0,0.5,-18),"Out","Quad",0.3) wait(1)
  8372. if game.Workspace.FilteringEnabled == true then Notify('Filtering ENABLED')
  8373. elseif game.Workspace.FilteringEnabled == false then Notify('Filtering Disabled') end
  8374. local Asset = game:GetService("MarketplaceService"):GetProductInfo(01203480675) wait(0.3)
  8375. if Asset.Name == "Infinite Yield " .. Version then
  8376. print('Infinite Yield is up to date! (Version ' .. Version .. ')') UTD = true else
  8377. UTD = false local Update = Instance.new("ScreenGui") local Notification = Instance.new("Frame")
  8378. local Help = Instance.new("Frame") local helpframe = Instance.new("Frame") local Help_2 = Instance.new("Frame") local Notice = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local OKButton = Instance.new("TextButton")
  8379. local Notice_2 = Instance.new("Frame") local TextLabel_2 = Instance.new("TextLabel") local ButtonSeparator = Instance.new("Frame") local HelpButton = Instance.new("TextButton") local OKButton_2 = Instance.new("TextButton")
  8380. local Bar = Instance.new("Frame") Update.Name = "Update" Update.Parent = game.CoreGui Notification.Name = "Notification" Notification.Parent = Update
  8381. Notification.BackgroundColor3 = Color3.new(0, 0, 0) Notification.BackgroundTransparency = 0.5 Notification.BorderSizePixel = 0 Notification.Size = UDim2.new(1, 0, 0, 65) Help.Name = "Help"
  8382. Help.Parent = Notification Help.BackgroundColor3 = Color3.new(0, 0, 0) Help.BackgroundTransparency = 1 Help.BorderSizePixel = 0 Help.Position = UDim2.new(0, 0, 0, 65) Help.Size = UDim2.new(1, 0, 1, -22)
  8383. Help.Visible = false helpframe.Name = "helpframe" helpframe.Parent = Help helpframe.BackgroundColor3 = Color3.new(0, 0, 0) helpframe.BackgroundTransparency = 0.5 helpframe.BorderSizePixel = 0 helpframe.Size = UDim2.new(1, 0, 0, 65)
  8384. Help_2.Name = "Help" Help_2.Parent = helpframe Help_2.BackgroundColor3 = Color3.new(0, 0, 0) Help_2.BackgroundTransparency = 1 Help_2.BorderSizePixel = 0 Help_2.Position = UDim2.new(0, 0, 0, 200) Help_2.Size = UDim2.new(1, 0, 1, -22)
  8385. Notice.Name = "Notice" Notice.Parent = helpframe Notice.BackgroundColor3 = Color3.new(0, 0, 0) Notice.BackgroundTransparency = 1 Notice.BorderSizePixel = 0 Notice.Position = UDim2.new(0, 0, 0, 2) Notice.Size = UDim2.new(1, 0, 1, -22)
  8386. TextLabel.Parent = Notice TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) TextLabel.BackgroundTransparency = 1 TextLabel.BorderColor3 = Color3.new(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Size = UDim2.new(1, 0, 1, 0)
  8387. TextLabel.Font = Enum.Font.SourceSansBold TextLabel.FontSize = Enum.FontSize.Size14 TextLabel.Text = "You can go to our site at infiniteyield.x10host.com to download the latest version. Otherwise join the discord: discord.gg/9MByKtG" TextLabel.TextColor3 = Color3.new(1, 1, 1)
  8388. TextLabel.TextStrokeColor3 = Color3.new(0, 0, 0) TextLabel.TextStrokeTransparency = 0.80000001192093 TextLabel.TextWrapped = true Notice_2.Name = "Notice" Notice_2.Parent = Notification
  8389. Notice_2.BackgroundColor3 = Color3.new(0, 0, 0) Notice_2.BackgroundTransparency = 1 Notice_2.BorderSizePixel = 0 Notice_2.Position = UDim2.new(0, 0, 0, 2) Notice_2.Size = UDim2.new(1, 0, 1, -22) TextLabel_2.Parent = Notice_2
  8390. TextLabel_2.BackgroundColor3 = Color3.new(0, 0, 0) TextLabel_2.BackgroundTransparency = 1 TextLabel_2.BorderColor3 = Color3.new(0, 0, 0) TextLabel_2.BorderSizePixel = 0 TextLabel_2.Size = UDim2.new(1, 0, 1, 0)
  8391. TextLabel_2.Font = Enum.Font.SourceSansBold TextLabel_2.FontSize = Enum.FontSize.Size14 TextLabel_2.Text = "The version of Infinite Yield you are using is outdated! (Using version " .. Version .. " when " .. Asset.Name .. " is avalable)" TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  8392. TextLabel_2.TextStrokeColor3 = Color3.new(0, 0, 0) TextLabel_2.TextStrokeTransparency = 0.80000001192093 TextLabel_2.TextWrapped = true ButtonSeparator.Name = "ButtonSeparator" ButtonSeparator.Parent = Notification
  8393. ButtonSeparator.BackgroundColor3 = Color3.new(0, 0, 0) ButtonSeparator.BackgroundTransparency = 0.5 ButtonSeparator.BorderColor3 = Color3.new(1, 1, 1) ButtonSeparator.BorderSizePixel = 0 ButtonSeparator.Position = UDim2.new(0.5, 0, 1, -22)
  8394. ButtonSeparator.Size = UDim2.new(0, 2, 0, 22) HelpButton.Name = "HelpButton" HelpButton.Parent = Notification HelpButton.BackgroundColor3 = Color3.new(0, 0, 0) HelpButton.BackgroundTransparency = 0.80000001192093 HelpButton.BorderColor3 = Color3.new(0, 0, 0)
  8395. HelpButton.BorderSizePixel = 0 HelpButton.Position = UDim2.new(0.5, 0, 1, -22) HelpButton.Size = UDim2.new(0.5, 0, 0, 22) HelpButton.Font = Enum.Font.Highway HelpButton.FontSize = Enum.FontSize.Size18 HelpButton.Text = "What should I do?"
  8396. HelpButton.TextColor3 = Color3.new(1, 1, 1) OKButton_2.Name = "OKButton" OKButton_2.Parent = Notification OKButton_2.BackgroundColor3 = Color3.new(0, 0, 0) OKButton_2.BackgroundTransparency = 0.80000001192093 OKButton_2.BorderColor3 = Color3.new(0, 0, 0)
  8397. OKButton_2.BorderSizePixel = 0 OKButton_2.Position = UDim2.new(0, 0, 1, -22) OKButton_2.Size = UDim2.new(0.5, 0, 0, 22) OKButton_2.Font = Enum.Font.Highway OKButton_2.FontSize = Enum.FontSize.Size18 OKButton_2.Text = "Ignore"
  8398. OKButton_2.TextColor3 = Color3.new(1, 1, 1) Bar.Name = "Bar" Bar.Parent = Notification Bar.BackgroundColor3 = Color3.new(1, 0, 0) Bar.BorderSizePixel = 0 Bar.Size = UDim2.new(1, 0, 0, 2)
  8399. Loading.ba:TweenSize(UDim2.new(0.55, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) end if UTD == false then
  8400. game.CoreGui.Update.Notification.HelpButton.MouseButton1Click:Connect(function() wait() game.CoreGui.Update.Notification.Help.Visible = true end) end
  8401. if UTD ==false then game.CoreGui.Update.Notification.OKButton.MouseButton1Click:Connect(function() wait() game.CoreGui.Update:Destroy() end) end
  8402. local iy = Instance.new("ImageButton") local sheild = Instance.new("Frame") local cmds = Instance.new("ImageButton") local cmds_2 = Instance.new("TextLabel")
  8403. local settings = Instance.new("ImageButton") local settings_2 = Instance.new("TextLabel") local updates = Instance.new("ImageButton") local updates_2 = Instance.new("TextLabel")
  8404. 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
  8405. 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)
  8406. 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)
  8407. 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)
  8408. 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
  8409. settings.Name = "settings" settings.Parent = sheild settings.BackgroundTransparency = 1 settings.Position = UDim2.new(0, 135, 0, 0) settings.Size = UDim2.new(0, 60, 0, 36) settings.AutoButtonColor = false
  8410. 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)
  8411. settings_2.Size = UDim2.new(0, 60, 0, 40) settings_2.Font = Enum.Font.Arial settings_2.FontSize = Enum.FontSize.Size14 settings_2.Text = "Settings" settings_2.TextColor3 = Color3.new(1, 1, 1)
  8412. settings_2.TextStrokeTransparency = 0.69999998807907 updates.Name = "updates" updates.Parent = sheild updates.BackgroundTransparency = 1 updates.Position = UDim2.new(0, 200, 0, 0)
  8413. 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
  8414. 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
  8415. 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, 265, 0, 0)
  8416. 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)
  8417. 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)
  8418. 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)
  8419. 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
  8420. Loading.ba:TweenSize(UDim2.new(0.7, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) wait(0.3) quickmenu = game.CoreGui.RobloxGui.TopBarContainer.iy
  8421. 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)
  8422. 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
  8423. 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
  8424. 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)
  8425. 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)
  8426. 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
  8427. 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)
  8428. 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"
  8429. 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
  8430. 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
  8431. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true)
  8432. local CSP2 = game.CoreGui.sugg.suggestions
  8433. local main2 = CSP2
  8434. local frame2 = CSP2:WaitForChild('SUG')
  8435. Match2 = function(name,str) return name:lower():find(str:lower()) and true end
  8436. IndexContents2 = function(str,bool)
  8437. local Index,SizeY = 0,0
  8438. for i,v in next, frame2:GetChildren() do
  8439. if bool then
  8440. if Match2(v.Text,str) then
  8441. Index = Index + 1
  8442. v.Position = UDim2.new(0,0,0,Index*v.AbsoluteSize.Y-v.AbsoluteSize.Y)
  8443. v.Visible = true
  8444. SizeY = SizeY + v.AbsoluteSize.Y
  8445. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) else v.Visible = false end else
  8446. v.Visible = true
  8447. SizeY = SizeY + v.AbsoluteSize.Y
  8448. frame2.CanvasSize = UDim2.new(0,0,0,SizeY) end end end
  8449. IndexContents2('',true)
  8450. Loading.ba:TweenSize(UDim2.new(1, 0, 1, 0), "InOut", "Quad", 0.5, true, nil) wait(0.3) wait(0.1)
  8451. presents:TweenPosition(UDim2.new(0,0,-1,0),"Out","Quad",0.5)
  8452. gtitle:TweenPosition(UDim2.new(0,0,0,0),"Out","Quad",0.5) wait(0.6)
  8453. gtitle:TweenPosition(UDim2.new(0,0,1,0),"Out","Quad",0.5)
  8454. presents:TweenPosition(UDim2.new(0,0,-1,-38),"Out","Quad",0) wait(0.1)
  8455. wait(0.5) o1:Destroy() Loading:TweenPosition(UDim2.new(0.25, 0, 1.5, 0), "InOut", "Quad", 0.5, true, nil) wait(0.7) Loading.Parent:Destroy()
  8456. if game.Players.LocalPlayer.PlayerGui:FindFirstChild("Chat") and game.Players.LocalPlayer.PlayerGui.Chat:FindFirstChild("Frame") and game.Players.LocalPlayer.PlayerGui.Chat.Frame:FindFirstChild("ChatBarParentFrame") and
  8457. game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame:FindFirstChild("Frame") and game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame:FindFirstChild("BoxFrame") then
  8458. chatbox = game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar chatbox.Changed:connect(function (property) if suggestionstoggle == true and property == "Text" then
  8459. if game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar:IsFocused() then IndexContents2(game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(2),true) end
  8460. if game.Players.LocalPlayer.PlayerGui.Chat.Frame.ChatBarParentFrame.Frame.BoxFrame.Frame.ChatBar.Text:lower():sub(1,1) == cmdprefix then
  8461. game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 200),"Out","Quint",0.3,true) else game.CoreGui.sugg.suggestions:TweenSize(UDim2.new(0, 300, 0, 0),"Out","Quint",0.2,true) end end end) else print('Custom chat detected. Will not provide suggestions for the chat.') end
  8462. game:GetService("GuiService"):SetGlobalGuiInset(0,72,0,0) wait(1) -- SET SCREEN SIZE
  8463. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8464. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8465. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8466. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8467. qopen = false quickmenu.MouseButton1Click:connect(function()
  8468. if qopen == false then NOTIFY.NOTIFY:TweenPosition(UDim2.new(0,0,0,-100), "InOut", "Quad", 0.5, true, nil)
  8469. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8470. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8471. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) MusicPlayer:Hide()
  8472. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, 0), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = true else
  8473. quickmenu.sheild.cmds:TweenPosition(UDim2.new(0, 50, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8474. quickmenu.sheild.settings:TweenPosition(UDim2.new(0, 135, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8475. quickmenu.sheild.updates:TweenPosition(UDim2.new(0, 200, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2)
  8476. quickmenu.sheild.info:TweenPosition(UDim2.new(0, 265, 0, -50), "InOut", "Quad", 0.5, true, nil) wait(0.2) qopen = false if playerenabled == true then MusicPlayer:Show() else NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0, -38), "InOut", "Quad", 0.5, true, nil) end end end)
  8477. quickmenu.sheild.cmds.MouseButton1Click:connect(function() commands() end)
  8478. quickmenu.sheild.settings.MouseButton1Click:connect(function() commands() wait(0.2) searchbar() wait(0.3) closed = false game.CoreGui.cp.Frame.holder.size:TweenPosition(UDim2.new(1,-600,1,-300),"Out","Quint",0.2,true) wait(0.1)
  8479. game.CoreGui.cp.Frame.holder.FeedbackMain:TweenPosition(UDim2.new(1,-300,1,-300),"Out","Quint",0.2,true) wait(0.2) game.CoreGui.cp.Frame.holder.bar.Hide.Visible = true game.CoreGui.cp.Frame.holder.bar.Hide:TweenSize(UDim2.new(0,20,0,20),"Out","Quint",0.2,true) end)
  8480. infopen = false quickmenu.sheild.info.MouseButton1Click:connect(function() if infopen == false then infopen = true
  8481. Updates = Instance.new("ScreenGui")
  8482. PromptDialog = Instance.new("Frame")
  8483. local ContainerFrame = Instance.new("Frame")
  8484. local PopupText5 = Instance.new("TextLabel")
  8485. local PopupText3 = Instance.new("TextLabel")
  8486. local PopupText4 = Instance.new("TextLabel")
  8487. local UTDV = Instance.new("TextLabel")
  8488. local LOG = Instance.new("TextLabel")
  8489. local shadow = Instance.new("Frame")
  8490. Exit = Instance.new("TextButton")
  8491. local PopupText = Instance.new("TextLabel")
  8492. local vers = Instance.new("TextLabel")
  8493. Updates.Name = "Updates" Updates.Parent = game.CoreGui PromptDialog.Name = "PromptDialog"
  8494. PromptDialog.Parent = Updates PromptDialog.Active = true PromptDialog.BackgroundColor3 = Color3.new(0, 0, 0) PromptDialog.BackgroundTransparency = 1 PromptDialog.BorderSizePixel = 0
  8495. PromptDialog.Position = UDim2.new(0.5, -219, 0, -400) PromptDialog.Size = UDim2.new(0, 438, 0, 300) PromptDialog.ZIndex = 8
  8496. ContainerFrame.Name = "ContainerFrame" ContainerFrame.Parent = PromptDialog ContainerFrame.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059)
  8497. ContainerFrame.Position = UDim2.new(0, 0, 0, 45) ContainerFrame.ZIndex = 8
  8498. ContainerFrame.Size = UDim2.new(1, 0, 0.8, 0) -- THIS WILL ADJUST THE SIZE
  8499. ContainerFrame.Style = Enum.FrameStyle.DropShadow PopupText5.Name = "PopupText5" PopupText5.Parent = ContainerFrame PopupText5.BackgroundTransparency = 1 PopupText5.Position = UDim2.new(0, 8, 0, 70)
  8500. 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:"
  8501. PopupText5.TextColor3 = Color3.new(0.97, 0.97, 0.97) PopupText5.TextStrokeTransparency = 0 PopupText5.TextWrapped = true PopupText5.TextYAlignment = Enum.TextYAlignment.Top PopupText3.Name = "PopupText3"
  8502. 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
  8503. 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)
  8504. PopupText3.TextStrokeTransparency = 0 PopupText3.TextWrapped = true PopupText3.TextScaled = true PopupText3.TextYAlignment = Enum.TextYAlignment.Top PopupText4.Name = "PopupText4" PopupText4.Parent = ContainerFrame
  8505. 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
  8506. 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
  8507. 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)
  8508. 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)
  8509. UTDV.TextStrokeTransparency = 0 UTDV.TextWrapped = true UTDV.TextYAlignment = Enum.TextYAlignment.Top LOG.Name = "LOG"
  8510. 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
  8511. LOG.Text = "Not much new in this update. I have been pretty busy recently. Added click TP by holding F2 and clicking to the desired place. Also added trail plr, untrail plr, and improved car plr." -- UPDATE LOG
  8512. LOG.TextColor3 = Color3.new(0.97, 0.97, 0.97) LOG.TextStrokeTransparency = 0 LOG.TextWrapped = true LOG.TextYAlignment = Enum.TextYAlignment.Top
  8513. shadow.Name = "shadow" shadow.Parent = PromptDialog shadow.BackgroundColor3 = Color3.new(0.639216, 0.631373, 0.647059) shadow.Size = UDim2.new(1, 0, 0.180000007, 0) shadow.ZIndex = 100
  8514. 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)
  8515. 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
  8516. PopupText.BackgroundTransparency = 1 PopupText.Position = UDim2.new(0, 8, 0, 1) PopupText.Size = UDim2.new(1, -16, 0.800000012, 0) PopupText.ZIndex = 110 PopupText.Font = Enum.Font.SourceSansBold PopupText.FontSize = Enum.FontSize.Size36 PopupText.Text = "Information"
  8517. 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
  8518. vers.BackgroundTransparency = 1 vers.Position = UDim2.new(0, 2, 0, 1) vers.Size = UDim2.new(0.200000003, -16, 0.400000006, 0) vers.ZIndex = 110 vers.Font = Enum.Font.SourceSansBold vers.FontSize = Enum.FontSize.Size24
  8519. 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
  8520. if UTD == true then UTDV.Text = "Up to date version: Yes" else UTDV.Text = "Up to date version: No" end end
  8521. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, 100), "InOut", "Quad", 0.5, true, nil) Exit.MouseButton1Click:connect(function()
  8522. PromptDialog:TweenPosition(UDim2.new(0.5, -219, 0, -400), "InOut", "Quad", 0.5, true, nil) wait(0.5) infopen = false Updates:Destroy() end) end)
  8523. quickmenu.sheild.updates.MouseButton1Click:connect(function() serverinfogui() end)
Add Comment
Please, Sign In to add comment