Its_Sky

fffff

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