Advertisement
zombieslayerwtf

Nexul admin [Leaked]

May 25th, 2018
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.65 KB | None | 0 0
  1. -- __ __ ___
  2. --/\ \/\ \ /\_ \ __
  3. --\ \ `\\ \ __ __ _ __ __\//\ \ /\_\ ____
  4. -- \ \ , ` \ /'__`\/\ \/'\/\ \/\ \ \ \ \ \/\ \ /',__\
  5. -- \ \ \`\ \/\ __/\/> </\ \ \_\ \ \_\ \_\ \ \/\__, `\
  6. -- \ \_\ \_\ \____\/\_/\_\\ \____/ /\____\\ \_\/\____/
  7. -- \/_/\/_/\/____/\//\/_/ \/___/ \/____/ \/_/\/___/
  8. --------------------------Version Beta--------------------------
  9. ---------------------------------------------------------------
  10. ---------------------------N3xul---------------------------
  11. ---------------------------------------------------------------
  12.  
  13. local gCoreGui = game:GetService('CoreGui')
  14. local gPlayers = game:GetService('Players')
  15. local gLighting = game:GetService('Lighting')
  16. local gWorkspace = game:GetService('Workspace')
  17. local Player = game.Players.LocalPlayer
  18. local Mouse = Player:GetMouse()
  19. local char = Player.Character
  20. local LP = gPlayers.LocalPlayer
  21. local MOUSE = LP:GetMouse()
  22.  
  23. local gPlayers = game:GetService("Players")
  24. local admin = gPlayers.LocalPlayer.Name
  25.  
  26. local services={}
  27. local cmds={}
  28. local std={}
  29. local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe =
  30. game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  31. function FIND_CHILD(PATH, NAME) if PATH:FindFirstChild(NAME) then return true end return false end
  32.  
  33. local Version = '1.9'
  34.  
  35. wait(0.1)
  36.  
  37. services.players=gPlayers
  38. services.lighting=game:GetService('Lighting')
  39. services.workspace=game:GetService('Workspace')
  40. services.events = {}
  41. local user = gPlayers.LocalPlayer
  42. local gCoreGui = game:GetService('CoreGui')
  43. local gPlayers = game:GetService('Players')
  44. local gLighting = game:GetService('Lighting')
  45. local gWorkspace = game:GetService('Workspace')
  46.  
  47. local cmdprefix='\\'
  48. local scriptprefix='\\'
  49. local split=" "
  50.  
  51. -------------------------
  52. -----Ban information-----
  53. -------------------------
  54.  
  55. local BanFolder = Instance.new("Fire", game.ContextActionService)
  56. BanFolder.Name = "BanList"
  57. BanFolder.RobloxLocked = true
  58. _G.Banned = function(Ban)
  59. local SValue = Instance.new("StringValue", BanFolder)
  60. SValue.Value = Ban
  61. SValue.RobloxLocked = true
  62. end
  63.  
  64. BannedPlayers = {
  65. 'norma832', -- oh my god leave me alone
  66. 'LordCrazy13' -- u are just annoying
  67. }
  68.  
  69. ------------------------
  70. -------Admin Data-------
  71. ------------------------
  72.  
  73. local AdminFolder = Instance.new("Folder", game.ContextActionService)
  74. AdminFolder.Name = "AdminList"
  75. AdminFolder.RobloxLocked = true
  76. _G.Admin = function(Admin)
  77. local SValue = Instance.new("StringValue", AdminFolder)
  78. SValue.Value = Admin
  79. SValue.RobloxLocked = true
  80. end
  81.  
  82. ------------------------
  83. -----Defines Admins-----
  84. ------------------------
  85.  
  86. local admins = {
  87. 'DontAddAnything(MakesItBug)',
  88. }
  89.  
  90. -------------------------------------------
  91. ---Commands that show up in the CMD list---
  92. -------------------------------------------
  93.  
  94. CMDs = {
  95. '1. ff player',
  96. '2. unff player',
  97. '3. fire player',
  98. '4. unfire player',
  99. '5. sparkles player',
  100. '6. unsparkles player',
  101. '7. smoke player',
  102. '8. unsmoke player',
  103. '9. btools player',
  104. '10. god player',
  105. '11. sgod player',
  106. '12. ungod player',
  107. '13. heal player',
  108. '14. freeze player',
  109. '15. thaw player',
  110. '16. kill player',
  111. '17. sound',
  112. '18. volume',
  113. '19. pitch',
  114. '20. explode player',
  115. '21. invisible player',
  116. '22. visible player',
  117. '23. goto player',
  118. '24. bring player',
  119. '25. tp player',
  120. '26. char player',
  121. '27. speed player',
  122. '28. time',
  123. '29. kick player',
  124. '30. ban player',
  125. '31. unlockws',
  126. '32. unanchorws',
  127. '33. hat player',
  128. '34. gear player',
  129. '35. m "message"',
  130. '36. skick player',
  131. '37. admin player',
  132. '38. unadmin player',
  133. '39. firstp player',
  134. '40. thirdp player',
  135. '41. chat player',
  136. '42. insert',
  137. '43. name player',
  138. '44. unname player',
  139. '45. stun player',
  140. '46. unstun player',
  141. '47. sit player',
  142. '48. guest player',
  143. '49. damage player',
  144. '50. view player',
  145. '51. unview player',
  146. '52. nolimbs player',
  147. '53. box player 1012',
  148. '54. nobox player',
  149. '55. ghost player',
  150. '56. sphere player',
  151. '57. loadmap',
  152. '58. sky',
  153. '59. ambient',
  154. '60. gui',
  155. '61. jail player',
  156. '62. unjail player',
  157. '63. shutdown',
  158. '64. animation player',
  159. '65. normal player',
  160. '66. creeper player',
  161. '67. uncreeper player',
  162. '68. shrek player',
  163. '69. unshrek player',
  164. '70. spam',
  165. '71. nospam',
  166. '72. control player',
  167. '73. nuke player',
  168. '74. infect player',
  169. '75. uninfect player',
  170. '76. duck player',
  171. '77. unduck player',
  172. '78. disable player',
  173. '79. enable player',
  174. '80. size player',
  175. '81. confuse player',
  176. '82. unconfuse player',
  177. '83. clone player',
  178. '84. spin player',
  179. '85. unspin player',
  180. '86. dog player',
  181. '87. undog player',
  182. '88. tptool',
  183. '89. loopsit player',
  184. '90. unloopsit player',
  185. '91. loopjump player',
  186. '92. unloopjump player',
  187. '93. loopheal player',
  188. '94. unloopheal player',
  189. '95. fling player',
  190. '96. ayylmao player',
  191. '97. nograv player',
  192. '98. grav player',
  193. '99. seizure player',
  194. '100. unseizure player',
  195. '101. cape 1012',
  196. '102. uncape',
  197. '103. paper player',
  198. '104. punish player',
  199. '105. unpunish player',
  200. '106. disco',
  201. '107. undisco',
  202. '108. lockws',
  203. '109. base',
  204. '110. fix',
  205. '111. flood',
  206. '112. spookyify',
  207. '113. explorer (Possible crash)',
  208. '114. decalspam ID',
  209. '115. wtrbtools',
  210. '116. respawn',
  211. '117. lightsaber',
  212. '118. draw',
  213. '119. devuzi',
  214. '- float player',
  215. '- unfloat player',
  216. '- noclip',
  217. '- clip',
  218. '- prefix <string>',
  219. '- admins',
  220. '- bans',
  221. '- cmds',
  222. '- version'
  223. }
  224.  
  225. -------
  226. --Lib--
  227. -------
  228.  
  229. updateevents=function()
  230. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  231. for i,v in pairs(gPlayers:players())do
  232. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  233. services.events[#services.events+1] = ev
  234. end
  235. end
  236.  
  237. std.inTable=function(tbl,val)
  238. if tbl==nil then return false end
  239.  
  240. for _,v in pairs(tbl)do
  241. if v==val then return true end
  242. end
  243. return false
  244. end
  245.  
  246. std.out=function(str)
  247. print(str)
  248. end
  249.  
  250. std.list=function(tbl)
  251. local str=''
  252. for i,v in pairs(tbl)do
  253. str=str..tostring(v)
  254. if i~=#tbl then str=str..', ' end
  255. end
  256. return str
  257. end
  258.  
  259. std.endat=function(str,val)
  260. local z=str:find(val)
  261. if z then
  262. return str:sub(0,z-string.len(val)),true
  263. else
  264. return str,false
  265. end
  266. end
  267.  
  268. std.first=function(str) return str:sub(1,1) end
  269.  
  270. isAdmin=function(name)
  271. if name==admin then
  272. return true
  273. elseif admins[name]==true then
  274. return true
  275. end
  276. return false
  277. end
  278.  
  279. local exec=function(str)
  280. spawn(function()
  281. local script, loaderr = loadstring(str)
  282. if not script then
  283. error(loaderr)
  284. else
  285. script()
  286. end
  287. end)
  288. end
  289.  
  290. local findCmd=function(cmd_name)
  291. for i,v in pairs(cmds)do
  292. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  293. return v
  294. end
  295. end
  296. end
  297.  
  298. local getCmd=function(msg)
  299. local cmd,hassplit=std.endat(msg:lower(),split)
  300. if hassplit then
  301. return {cmd,true}
  302. else
  303. return {cmd,false}
  304. end
  305. end
  306.  
  307. local getprfx=function(strn)
  308. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  309. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  310. end return
  311. end
  312.  
  313. local getArgs=function(str)
  314. local args={}
  315. local new_arg=nil
  316. local hassplit=nil
  317. local s=str
  318. repeat
  319. new_arg,hassplit=std.endat(s:lower(),split)
  320. if new_arg~='' then
  321. args[#args+1]=new_arg
  322. s=s:sub(string.len(new_arg)+string.len(split)+1)
  323. end
  324. until hassplit==false
  325. return args
  326. end
  327.  
  328. local function execCmd(str, plr)
  329. local s_cmd
  330. local a
  331. local cmd
  332. s_cmd = getCmd(str)
  333. cmd = findCmd(s_cmd[1])
  334. if cmd == nil then return end
  335. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)
  336. local args=getArgs(a)
  337.  
  338. pcall(function()
  339. cmd.FUNC(args, plr)
  340. end)
  341. end
  342.  
  343. function do_exec(str,plr)
  344. if not isAdmin(plr.Name)then return end
  345.  
  346. str=str:gsub('/e ','')
  347.  
  348. local t=getprfx(str)
  349. if t==nil then return end
  350. str=str:sub(t[2])
  351. if t[1]=='exec' then
  352. exec(str)
  353. elseif t[1]=='cmd' then
  354. execCmd(str, plr)
  355. end
  356. end
  357.  
  358. updateevents()
  359. _G.exec_cmd = execCmd
  360. --game.Players.LocalPlayer.Chatted:connect(doexec)
  361.  
  362. local _char=function(plr_name)
  363. for i,v in pairs(game.Players:GetChildren())do
  364. if v:IsA'Player'then
  365. if v.Name==plr_name then return v.Character end
  366. end
  367. end
  368. return
  369. end
  370.  
  371. local _plr=function(plr_name)
  372. for i,v in pairs(game.Players:GetChildren())do
  373. if v:IsA'Player'then
  374. if v.Name==plr_name then return v end
  375. end
  376. end
  377. return
  378. end
  379.  
  380. function addcmd(name,desc,alias,func)
  381. cmds[#cmds+1]=
  382. {
  383. NAME=name;
  384. DESC=desc;
  385. ALIAS=alias;
  386. FUNC=func;
  387. }
  388. end
  389.  
  390. local function getPlayer(name)
  391. local nameTable = {}
  392. name=name:lower()
  393. if name == "me" then
  394. nameTable[#nameTable+1]=admin
  395. elseif name == "others" then
  396. for i,v in pairs(gPlayers:GetChildren()) do
  397. if v:IsA'Player'then
  398. if v.Name~=admin then
  399. nameTable[#nameTable+1]=v.Name
  400. end
  401. end
  402. end
  403. elseif name == "all" then
  404. for i,v in pairs(gPlayers:GetChildren()) do
  405. if v:IsA'Player'then
  406. nameTable[#nameTable+1]=v.Name
  407. end
  408. end
  409. else
  410. for i,v in pairs(gPlayers:GetChildren()) do
  411. local lname = v.Name:lower()
  412. local i,j = lname:find(name)
  413. if i == 1 then
  414. return {v.Name}
  415. end
  416. end
  417. end
  418. return nameTable
  419. end
  420.  
  421. ---------------
  422. ---Cape Info---
  423. ---------------
  424.  
  425. local capeColor = 1012
  426.  
  427. function Cape(playerCaped)
  428.  
  429. if playerCaped.Character:FindFirstChild("Cape") ~= nil then
  430. playerCaped.Character.Cape:Destroy()
  431. end
  432.  
  433. repeat
  434. wait()
  435. until playerCaped and playerCaped.Character and playerCaped.Character:FindFirstChild("Torso")
  436.  
  437. local Torso = playerCaped.Character.Torso
  438.  
  439. local Cape = Instance.new("Part", Torso.Parent)
  440. Cape.Name = "Cape"
  441. Cape.Anchored = false
  442. Cape.CanCollide = false
  443. Cape.TopSurface = 0
  444. Cape.BottomSurface = 0
  445. Cape.BrickColor = BrickColor.new("" .. capeColor)
  446. Cape.Material = "Neon"
  447. Cape.formFactor = "Custom"
  448. Cape.Size = Vector3.new(0.2,0.2,0.2)
  449.  
  450. local msh = Instance.new("BlockMesh", Cape)
  451. msh.Scale = Vector3.new(9,17.5,.5)
  452.  
  453. local motor1 = Instance.new("Motor", Cape)
  454. motor1.Part0 = Cape
  455. motor1.Part1 = Torso
  456.  
  457. motor1.MaxVelocity = 1
  458. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  459. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  460.  
  461. local wave = false
  462.  
  463. repeat wait(1/44)
  464. local ang = 0.2
  465. local oldmag = Torso.Velocity.magnitude
  466. local mv = .1
  467.  
  468. if wave then
  469. ang = ang + ((Torso.Velocity.magnitude/10) * .05) + 1
  470. wave = false
  471. else
  472. wave = false
  473. end
  474. ang = ang + math.min(Torso.Velocity.magnitude/30, 1)
  475. motor1.MaxVelocity = math.min((Torso.Velocity.magnitude/10), .04) + mv
  476. motor1.DesiredAngle = -ang
  477. if motor1.CurrentAngle < -.05 and motor1.DesiredAngle > -.05 then
  478. motor1.MaxVelocity = .04
  479. end
  480. repeat
  481. wait()
  482. until
  483. motor1.CurrentAngle == motor1.DesiredAngle or math.abs(Torso.Velocity.magnitude - oldmag) >= (Torso.Velocity.magnitude/10) + 1
  484. if Torso.Velocity.magnitude < .1 then
  485. wait(.1)
  486. end
  487. until not Cape or Cape.Parent ~= Torso.Parent
  488. end
  489.  
  490. game.Lighting.Outlines = false -- outlines look ugly
  491.  
  492. ----------------
  493. ----Commands----
  494. ----------------
  495.  
  496. addcmd('ff','gives ff to player',{},
  497. function(args)
  498. local players = getPlayer(args[1])
  499. for i,v in pairs(players)do
  500. local pchar=_char(v)
  501. Instance.new("ForceField", pchar)
  502. end
  503. end)
  504.  
  505. addcmd('unff', 'takes away ff from player',{'unff'},
  506. function(args)
  507. local players = getPlayer(args[1])
  508. for i,v in pairs(players)do
  509. local pchar=_char(v)
  510. for j,v1 in pairs(pchar:GetChildren()) do
  511. if v1:IsA("ForceField") then
  512. v1:Destroy()
  513. end
  514. end
  515. end
  516. end)
  517.  
  518. addcmd('fire', 'set a player on fire',{},
  519. function(args)
  520. local players = getPlayer(args[1])
  521. for i,v in pairs(players)do
  522. local pchar=_char(v)
  523. local Fire1 = Instance.new("Fire", pchar.Head)
  524. local Fire2 = Instance.new("Fire", pchar.Torso)
  525. local Fire3 = Instance.new("Fire", pchar["Left Arm"])
  526. local Fire4 = Instance.new("Fire", pchar["Right Arm"])
  527. local Fire5 = Instance.new("Fire", pchar["Left Leg"])
  528. local Fire6 = Instance.new("Fire", pchar["Right Leg"])
  529. Fire1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  530. Fire1.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  531. Fire2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  532. Fire2.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  533. Fire3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  534. Fire3.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  535. Fire4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  536. Fire4.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  537. Fire5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  538. Fire5.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  539. Fire6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  540. Fire6.SecondaryColor = Color3.new((args[2]),(args[3]),(args[4]))
  541. end
  542. end)
  543.  
  544. addcmd('nofire', 'extinguish a player',{'unfire'},
  545. function(args)
  546. local players = getPlayer(args[1])
  547. for i,v in pairs(players)do
  548. local pchar=_char(v)
  549. for j,v1 in pairs(pchar.Head:GetChildren()) do
  550. if v1:IsA("Fire") then
  551. v1:Destroy()
  552. end
  553. end
  554. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  555. if v1:IsA("Fire") then
  556. v1:Destroy()
  557. end
  558. end
  559. for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  560. if v1:IsA("Fire") then
  561. v1:Destroy()
  562. end
  563. end
  564. for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  565. if v1:IsA("Fire") then
  566. v1:Destroy()
  567. end
  568. end
  569. for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  570. if v1:IsA("Fire") then
  571. v1:Destroy()
  572. end
  573. end
  574. for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  575. if v1:IsA("Fire") then
  576. v1:Destroy()
  577. end
  578. end
  579. end
  580. end)
  581.  
  582. addcmd('sparkles', 'give a player sparkles',{},
  583. function(args)
  584. local players = getPlayer(args[1])
  585. for i,v in pairs(players)do
  586. local pchar=_char(v)
  587. local Sparkles1 = Instance.new("Sparkles", pchar.Head)
  588. local Sparkles2 = Instance.new("Sparkles", pchar.Torso)
  589. local Sparkles3 = Instance.new("Sparkles", pchar["Left Arm"])
  590. local Sparkles4 = Instance.new("Sparkles", pchar["Right Arm"])
  591. local Sparkles5 = Instance.new("Sparkles", pchar["Left Leg"])
  592. local Sparkles6 = Instance.new("Sparkles", pchar["Right Leg"])
  593. Sparkles1.Color = Color3.new((args[2]),(args[3]),(args[4]))
  594. Sparkles2.Color = Color3.new((args[2]),(args[3]),(args[4]))
  595. Sparkles3.Color = Color3.new((args[2]),(args[3]),(args[4]))
  596. Sparkles4.Color = Color3.new((args[2]),(args[3]),(args[4]))
  597. Sparkles5.Color = Color3.new((args[2]),(args[3]),(args[4]))
  598. Sparkles6.Color = Color3.new((args[2]),(args[3]),(args[4]))
  599. end
  600. end)
  601.  
  602. addcmd('nosparkles', 'remove sparkles from a player',{'unsparkles'},
  603. function(args)
  604. local players = getPlayer(args[1])
  605. for i,v in pairs(players)do
  606. local pchar=_char(v)
  607. for j,v1 in pairs(pchar.Head:GetChildren()) do
  608. if v1:IsA("Sparkles") then
  609. v1:Destroy()
  610. end
  611. end
  612. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  613. if v1:IsA("Sparkles") then
  614. v1:Destroy()
  615. end
  616. end
  617. for j,v1 in pairs(pchar["Left Arm"]:GetChildren()) do
  618. if v1:IsA("Sparkles") then
  619. v1:Destroy()
  620. end
  621. end
  622. for j,v1 in pairs(pchar["Right Arm"]:GetChildren()) do
  623. if v1:IsA("Sparkles") then
  624. v1:Destroy()
  625. end
  626. end
  627. for j,v1 in pairs(pchar["Left Leg"]:GetChildren()) do
  628. if v1:IsA("Sparkles") then
  629. v1:Destroy()
  630. end
  631. end
  632. for j,v1 in pairs(pchar["Right Leg"]:GetChildren()) do
  633. if v1:IsA("Sparkles") then
  634. v1:Destroy()
  635. end
  636. end
  637. end
  638. end)
  639.  
  640. addcmd('smoke', 'give a player smoke',{},
  641. function(args)
  642. local players = getPlayer(args[1])
  643. for i,v in pairs(players)do
  644. local pchar=_char(v)
  645. Instance.new("Smoke", pchar.Torso)
  646. end
  647. end)
  648.  
  649. addcmd('unsmoke', 'remove smoke from a player',{'nosmoke'},
  650. function(args)
  651. local players = getPlayer(args[1])
  652. for i,v in pairs(players)do
  653. local pchar=_char(v)
  654. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  655. if v1:IsA("Smoke") then
  656. v1:Destroy()
  657. end
  658. end
  659. end
  660. end)
  661.  
  662. addcmd('btools', 'gives a player btools',{},
  663. function(args)
  664. local players = getPlayer(args[1])
  665. if players ~= nil then
  666. for i, v in pairs(players) do
  667. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  668. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  669. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  670. Notify('Gave ' .. gPlayers[v].Name .. ' btools')
  671. end
  672. end
  673. end)
  674.  
  675. addcmd('devuzi', 'its da dev uzi',{},
  676. function(args)
  677. wait(0.001);
  678.  
  679. --------------------------------------------------------------------------------------
  680.  
  681. _clear=function()
  682. local c={char;bag;gui;};
  683. for i=1,#c do
  684. local c=c[i]:children();
  685. for i=1,#c do
  686. if(c[i].Name==name)then
  687. c[i].Parent=nil;
  688. end;
  689. end;
  690. end;
  691. local n=name..user.Name;
  692. local c=workspace:children();
  693. for i=1,#c do
  694. if(c[i].Name==n)then
  695. c[i].Parent=nil;
  696. end;
  697. end;
  698. end;
  699.  
  700. _valid_key=function(object,key)
  701. return object[key],key;
  702. end;
  703.  
  704. _new=function(class)
  705. return function(props)
  706. if(type(list_base_props)=='table')then
  707. for i,v in next,list_base_props do
  708. if(props[i]==nil)then
  709. props[i]=v;
  710. end;
  711. end;
  712. end;
  713.  
  714. local object=class;
  715.  
  716. if(type(class)=='string')then
  717. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  718. end;
  719.  
  720. local parent=props[1];
  721. props[1]=nil;
  722.  
  723. for i,v in next,props do
  724. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  725. if(not load)then
  726. load,res,key=pcall(_valid_key,object,i);
  727. end;
  728.  
  729. if(key)then
  730. t=type(res);
  731. s=tostring(res);
  732. if(t=='userdata'and s=='Signal '..key)then
  733. if(type(v)=='table')then
  734. for i=1,#v do
  735. res:connect(v[i]);
  736. end;
  737. else
  738. res:connect(v);
  739. end;
  740. else
  741. object[key]=v;
  742. end;
  743. end;
  744. end;
  745.  
  746. if(parent)then
  747. object.Parent=parent;
  748. end;
  749.  
  750. return object;
  751. end;
  752. end;
  753.  
  754. _RGB=function(r,g,b)
  755. return Color3.new(r/255,g/255,b/255);
  756. end;
  757.  
  758. _copy=function(o)
  759. local def=o.archivable;
  760. o.archivable=true;
  761. local c=o:clone();
  762. o.archivable=def;
  763. return c;
  764. end;
  765.  
  766. _hum=function(char)
  767. local hum=char:findFirstChild'Humanoid';
  768. if(not hum or hum.className~='Humanoid')then
  769. local c=char:children();
  770. for i=1,#c do
  771. if(c[i].className=='Humanoid')then
  772. return c[i];
  773. end;
  774. end;
  775. else
  776. return hum;
  777. end;
  778. end;
  779.  
  780. _hum_tag=function(hum)
  781. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  782. c.Name='creator';
  783. c.Value=user;
  784. if(hum.Health==0 and not hum:findFirstChild'killed')then
  785. Instance.new('BoolValue',hum).Name='killed';
  786. bullets.clip=bullets.clip+10;
  787. end;
  788. end;
  789.  
  790. _hum_dam=function(hum,dam,percent)
  791. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  792. if(hum.Health<=hum.MaxHealth*0.1)then
  793. _hum_tag(hum);
  794. end;
  795. end;
  796.  
  797. _ray=function(v0,v1,i)
  798. local mag=(v0-v1).magnitude;
  799. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  800.  
  801. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  802. end;
  803.  
  804. _must=function(v0,v1,i)
  805. local hit,pos=_ray(v0,v1,i);
  806. return not hit and mouse.target or hit,pos;
  807. end;
  808.  
  809. _cframe=function(x,y,z,r0,r1,r2)
  810. return CFrame.Angles(
  811. math.rad(r0 or 0),
  812. math.rad(r1 or 0),
  813. math.rad(r2 or 0)
  814. )*CFrame.new(x,y,z);
  815. end;
  816.  
  817. _update=function()
  818. if(bool_active and not screen.Parent)then
  819. screen.Parent=gui;
  820. elseif(not bool_active and screen.Parent)then
  821. screen.Parent=nil;
  822. end;
  823. end;
  824.  
  825. _light=function(v0,v1)
  826. local mag=(v0-v1).magnitude;
  827. local len=math.random(2,7);
  828. len=len>mag/2 and mag/2 or len;
  829.  
  830. local light=_new'part'{
  831. cFrame=CFrame.new(v0,v1);
  832. size=Vector3.new(1,1,1);
  833. color=_RGB(255,255,0);
  834. anchored=true;
  835. inv;
  836. };
  837. _new'blockMesh'{
  838. scale=Vector3.new(0.2,0.2,len);
  839. offset=Vector3.new(0,0,-len/2);
  840. light;
  841. };
  842.  
  843. local bb=_new'billboardGui'{
  844. size=UDim2.new(2,0,2,0);
  845. adornee=light;
  846. light;
  847. };
  848. _new'imageLabel'{
  849. image=url:format(109101526);
  850. backgroundTransparency=1;
  851. size=UDim2.new(1,0,1,0);
  852. bb;
  853. };
  854.  
  855. _rem(light,0.15);
  856. end;
  857.  
  858. _rem=function(object,del)
  859. if(del)then
  860. delay(del,function()
  861. if(object.Parent)then
  862. object.Parent=nil;
  863. end;
  864. end);
  865. else
  866. pcall(function()
  867. if(object.Parent)then
  868. object.Parent=nil;
  869. end;
  870. end);
  871. end;
  872. end;
  873.  
  874. _blood=function(pos,count)
  875. for i=1,count do
  876. local p=_new'part'{
  877. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  878. position=pos+Vector3.new(math.random(),math.random(),math.random());
  879. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  880. size=Vector3.new(math.random(),math.random(),math.random())/3;
  881. color=_RGB(255,0,0);
  882. transparency=0.5;
  883. canCollide=true;
  884. bottomSurface=0;
  885. topSurface=0;
  886. formFactor=3;
  887. locked=true;
  888. inv;
  889. };
  890. delay(5,function()
  891. p.Parent=nil;
  892. end);
  893. end;
  894. end;
  895.  
  896. _make_hue=function()
  897. h_hue=_new'part'{
  898. size=Vector3.new(0.25,1.8,0.35);
  899. color=_RGB(100,100,100);
  900. formFactor=3;
  901. name='hue';
  902. handle;
  903. };
  904. hh_weld=_new'weld'{
  905. c1=_cframe(0,0.5,0);
  906. part0=handle;
  907. part1=h_hue;
  908. handle;
  909. };
  910. end;
  911.  
  912. _shot=function(v0,v1)
  913. if(not time_left)then
  914. time_left=0;
  915. end;
  916. if(time_left>time())then
  917. return nil;
  918. else
  919. time_left=time()+math.random(1,10)/100;
  920. end;
  921.  
  922. if(bullets.current<1)then
  923. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  924. soundId='rbxasset://sounds/SWITCH3.wav';
  925. name='tick_sound';
  926. volume=0.2;
  927. pitch=2;
  928. head;
  929. };
  930. tick_sound:play();
  931. if(bullets.clip>0)then
  932. time_left=time()+2;
  933. h_hue:breakJoints();
  934. h_hue.CanCollide=true;
  935. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  936. _rem(h_hue,10);
  937. delay(1.9,function()
  938. _make_hue();
  939. local got=(bullets.clip>bullets.maximum and
  940. bullets.maximum or
  941. bullets.clip)-bullets.current;
  942.  
  943. bullets.clip=bullets.clip-got;
  944. bullets.current=bullets.current+got;
  945. end);
  946. end;
  947. return nil;
  948. else
  949. bullets.current=bullets.current-1;
  950.  
  951. h_weld.C1=_cframe(0,0.75,0,
  952. -math.random(1000,1100)/10,180,0);
  953. d_weld.C1=_cframe(0,-0.25,0.3);
  954.  
  955. lightstuff.Visible=true;
  956. delay(0.1,function()
  957. lightstuff.Visible=false;
  958. end);
  959.  
  960. _rem(_new'part'{
  961. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  962. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  963. size=Vector3.new(0.1,0.1,0.4);
  964. color=_RGB(200,200,0);
  965. material='Slate';
  966. canCollide=true;
  967. formFactor=3;
  968. inv;
  969. },5);
  970. delay(0.1,function()
  971. d_weld.C1=_cframe(0,-0.25,0);
  972. if(bool_active)then
  973. h_weld.C1=h_weld_cf_active;
  974. end;
  975. end)
  976. end;
  977.  
  978. local hit,pos=_must(v0,v1,char);
  979.  
  980. shot_sound:play();
  981.  
  982. _light(v0,v1);
  983.  
  984. if(not hit)then return nil;end;
  985.  
  986. if(hit.Parent.className=='Hat')then
  987. hit:breakJoints();
  988. hit.CanCollide=true;
  989. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  990. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  991. else
  992. local hum=_hum(hit.Parent);
  993. if(not hum)then
  994. if(hit.Anchored==false and hit.Size.magnitude<4)then
  995. hit:breakJoints();
  996. hit.CanCollide=true;
  997. end;
  998. else
  999. _hum_dam(hum,math.random(4,6));
  1000. _blood(pos,math.random(3,6));
  1001. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  1002. if(hit.Name=='Head')then
  1003. hum.Health=0;
  1004. _blood(pos,math.random(3,6));
  1005. delay(0.001,function()
  1006. _new(workspace:FindFirstChild'head_shot'or'sound'){
  1007. pitch=math.random(70,100)*0.01;
  1008. soundId=url:format(1876552);
  1009. name='head_shot';
  1010. workspace;
  1011. }:play();
  1012. end);
  1013. _hum_tag(hum);
  1014. _rem(_new'part'{
  1015. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  1016. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  1017. color=torso.Color;
  1018. transparency=0.5;
  1019. canCollide=false;
  1020. bottomSurface=0;
  1021. anchored=true;
  1022. formFactor=3;
  1023. topSurface=0;
  1024. inv;
  1025. },30);
  1026. hit.Parent=nil;
  1027. for b=0,1 do
  1028. for a=0,1 do
  1029. for i=0,1 do
  1030. _rem(_new'part'{
  1031. velocity=CFrame.new(v0,pos).lookVector*20;
  1032. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  1033. size=Vector3.new(0.5,0.5,0.5);
  1034. color=_RGB(255,255,255);
  1035. bottomSurface=0;
  1036. canCollide=true;
  1037. transparency=0;
  1038. formFactor=3;
  1039. topSurface=0;
  1040. hum;
  1041. },30);
  1042. end;
  1043. end;
  1044. end;
  1045. end;
  1046. end;
  1047. end;
  1048. end;
  1049.  
  1050. ----------------------------------------------------------------------------------------
  1051.  
  1052. _cf_select=function(mouse)
  1053. mouse.Icon=url:format(109111387);--108999296
  1054. bool_active=true;
  1055.  
  1056. local arm=char:findFirstChild'Right Arm';
  1057. local weld=torso:findFirstChild'Right Shoulder';
  1058. if(arm and weld)then
  1059. h_weld.Part0=arm;
  1060. h_weld.C1=h_weld_cf_active;
  1061.  
  1062. weld.Part1=nil;
  1063. weld.Part0=nil;
  1064.  
  1065. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  1066. name='right_arml';
  1067. part0=torso;
  1068. part1=arm;
  1069. torso;
  1070. };
  1071.  
  1072. arml=(arml or 0)+1;
  1073. local alv=arml;
  1074. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  1075. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  1076. gyro.P=30000;
  1077. gyro.D=1000;
  1078. gyro.Name='p_gyro';
  1079. repeat
  1080. local pos=mouse.hit.p;
  1081. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  1082.  
  1083. val=-math.pi*0.5;
  1084. valp=val*-1;
  1085. p0=torso.CFrame;
  1086. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  1087. p1=p0+((p0.p-pos).unit*-2);
  1088. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  1089. hitpos=torso.Position;
  1090. cj=CFrame.new(hitpos);
  1091. c0=torso.CFrame:inverse()*cj;
  1092. c1=p2:inverse()*cj;
  1093. weld.C0=c0;
  1094. weld.C1=c1;
  1095.  
  1096. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  1097.  
  1098. wait(0.001);
  1099. until arml~=alv;
  1100. gyro.Parent=nil;
  1101. end;
  1102. end;
  1103.  
  1104. _cf_deselect=function()
  1105. bool_active=false;
  1106. arml=(arml or 0)+1;
  1107. loop_shot=(loop_shot or 0)+1;
  1108.  
  1109. h_weld.Part0=torso;
  1110. h_weld.C1=h_weld_cf_inactive;
  1111.  
  1112. local weld=torso:findFirstChild'right_arml';
  1113. if(weld)then
  1114. weld.Part1=nil;
  1115. weld.Part0=nil;
  1116. end;
  1117. local arm=char:findFirstChild'Right Arm';
  1118. local weld=torso:findFirstChild'Right Shoulder';
  1119. if(arm and weld)then
  1120. weld.Part0=torso;
  1121. weld.Part1=arm;
  1122. end;
  1123. end;
  1124.  
  1125. _cf_mouse=function(event,fun)
  1126. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  1127. if(bool_active)then
  1128. fun(...);
  1129. end;
  1130. end);
  1131. end;
  1132.  
  1133. ----------------------------------------------------------------------------------------
  1134.  
  1135. do
  1136. local main=getfenv(0);
  1137. local c=game:children();
  1138. local check=function(v)
  1139. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  1140. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  1141. end;
  1142. end;
  1143. for i=1,#c do
  1144. pcall(check,c[i]);
  1145. end;
  1146. end;
  1147.  
  1148. ----------------------------------------------------------------------------------------
  1149.  
  1150. bullets={
  1151. maximum=51111111111111111111111111110;
  1152. current=511111111111111111111111111111110;
  1153. clip=501111111111111111111111111111111*4;
  1154. };
  1155.  
  1156. list_base_props={
  1157. backgroundColor3=_RGB(0,0,0);
  1158. textColor3=_RGB(200,200,200);
  1159. borderSizePixel=0;
  1160. color=_RGB(0,0,0);
  1161. archivable=false;
  1162. canCollide=false;
  1163. bottomSurface=0;
  1164. topSurface=0;
  1165. formFactor=0;
  1166. locked=true;
  1167. };
  1168.  
  1169. ----------------------------------------------------------------------------------------
  1170.  
  1171. user=players.localPlayer;
  1172. mouse=user:getMouse();
  1173. char=user.Character;
  1174. gui=user.PlayerGui;
  1175. bag=user.Backpack;
  1176. torso=char.Torso;
  1177. head=char.Head;
  1178. hum=_hum(char);
  1179.  
  1180. url='rbxassetid://%d';
  1181. name='dev-uzi';
  1182.  
  1183. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  1184. 0,90,-70);
  1185. h_weld_cf_active=_cframe(0,0.75,0,
  1186. -110,180,0);
  1187.  
  1188. assert(hum,'humanoid is not found');
  1189.  
  1190. ----------------------------------------------------------------------------------------
  1191.  
  1192. _clear();
  1193.  
  1194. ----------------------------------------------------------------------------------------
  1195.  
  1196. _cf_mouse('button1Down',function()
  1197. loop_shot=(loop_shot or 0)+1;
  1198. local vers=loop_shot;
  1199. local step=runService.Stepped;
  1200. repeat
  1201. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  1202. step:wait();--wait(0.001);
  1203. until vers~=loop_shot;
  1204. end);
  1205.  
  1206. _cf_mouse('button1Up',function()
  1207. loop_shot=(loop_shot or 0)+1;
  1208. end);
  1209.  
  1210. _cf_mouse('move',function()
  1211. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  1212. end);
  1213.  
  1214. _cf_mouse('keyDown',function(k)
  1215. if(k=='r')then
  1216. if(bullets.clip>0 and time_left<=time())then
  1217. local got=(bullets.clip>bullets.maximum and
  1218. bullets.maximum or
  1219. bullets.clip)-bullets.current;
  1220.  
  1221. bullets.clip=bullets.clip-got;
  1222. bullets.current=bullets.current+got;
  1223. if(got~=0)then
  1224. time_left=time()+2;
  1225. end;
  1226. end;
  1227. end;
  1228. end);
  1229.  
  1230. ----------------------------------------------------------------------------------------
  1231.  
  1232. screen=_new'screenGui'{
  1233. name=name;
  1234. };
  1235.  
  1236. cross_f=_new'frame'{
  1237. size=UDim2.new(0,21,0,21);
  1238. backgroundTransparency=1;
  1239. screen;
  1240. };
  1241.  
  1242. for i=0,1 do
  1243. _new'frame'{
  1244. position=UDim2.new(0,13*i,0,11);
  1245. size=UDim2.new(0,10,0,1);
  1246. cross_f;
  1247. };
  1248. end;
  1249.  
  1250. for i=0,1 do
  1251. _new'frame'{
  1252. position=UDim2.new(0,11,0,13*i);
  1253. size=UDim2.new(0,1,0,10);
  1254. cross_f;
  1255. };
  1256. end;
  1257.  
  1258. ----------------------------------------------------------------------------------------
  1259.  
  1260. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  1261. soundId=url:format(2920959);
  1262. pitch=1.4;
  1263. head;
  1264. };
  1265. if(shot_sound.Name~='2920959')then
  1266. shot_sound.Name='2920959';
  1267. shot_sound:play();
  1268. end;
  1269.  
  1270. bin=_new'hopperBin'{
  1271. deselected=_cf_deselect;
  1272. selected=_cf_select;
  1273. name=name;
  1274. bag;
  1275. };
  1276.  
  1277. inv=_new'model'{
  1278. name=name;
  1279. char;
  1280. };
  1281.  
  1282. handle=_new'part'{
  1283. size=Vector3.new(0.3,1.3,0.4);
  1284. color=_RGB(140,140,140);
  1285. name='handle';
  1286. formFactor=3;
  1287. inv;
  1288. touched=function(hit)
  1289. if(hit.Parent.className=='Model')then
  1290. local hum=_hum(hit.Parent);
  1291. if(hum~=nil)then
  1292. _hum_dam(hum,handle.Velocity.magnitude);
  1293. end;
  1294. end;
  1295. end;
  1296. };
  1297. h_weld=_new'weld'{
  1298. c1=h_weld_cf_inactive;
  1299. part1=handle;
  1300. part0=torso;
  1301. handle;
  1302. };
  1303. _make_hue();
  1304.  
  1305. h_part=_new'part'{
  1306. size=Vector3.new(0.4,0.4,1.4);
  1307. color=_RGB(140,140,140);
  1308. name='handle';
  1309. formFactor=3;
  1310. handle;
  1311. };
  1312. hp_weld=_new'weld'{
  1313. c1=_cframe(0,-1.3/2,-0.3,
  1314. 20,0,0);
  1315. part0=handle;
  1316. part1=h_part;
  1317. handle;
  1318. };
  1319.  
  1320. drag=_new'part'{
  1321. size=Vector3.new(0.5,0.45,1.5);
  1322. color=_RGB(100,100,100);
  1323. name='handle';
  1324. formFactor=3;
  1325. handle;
  1326. };
  1327. d_weld=_new'weld'{
  1328. c1=_cframe(0,-0.25,0);
  1329. part0=h_part;
  1330. part1=drag;
  1331. handle;
  1332. };
  1333.  
  1334. tube=_new'part'{
  1335. size=Vector3.new(0.2,0.2,1.5);
  1336. color=_RGB(0,0,0);
  1337. name='handle';
  1338. formFactor=3;
  1339. handle;
  1340. };
  1341. t_weld=_new'weld'{
  1342. c1=_cframe(0,-0.3,-0.1);
  1343. part0=h_part;
  1344. part1=tube;
  1345. handle;
  1346. };
  1347.  
  1348. bullets_label=_new'textLabel'{
  1349. textStrokeColor3=_RGB(0,0,0);
  1350. textColor3=_RGB(200,200,200);
  1351. textStrokeTransparency=0;
  1352. backgroundTransparency=1;
  1353. fontSize=5;
  1354. screen;
  1355. };
  1356.  
  1357. lightstuff=_new'frame'{
  1358. backgroundColor3=_RGB(255,255,255);
  1359. position=UDim2.new(0,0,0,-1);
  1360. backgroundTransparency=0.5;
  1361. size=UDim2.new(1,0,1,1);
  1362. borderSizePixel=0;
  1363. visible=false;
  1364. screen;
  1365. };
  1366.  
  1367. coroutine.wrap(function()
  1368. local red,white,green;
  1369. repeat
  1370. if(screen.Parent)then
  1371. if(not green and bullets.current==bullets.maximum)then
  1372. green=true;
  1373. bullets_label.TextColor3=_RGB(0,200,0);
  1374. elseif(not red and bullets.current==0)then
  1375. red=true;
  1376. bullets_label.TextColor3=_RGB(200,0,0);
  1377. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  1378. bullets_label.TextColor3=_RGB(200,200,200);
  1379. green=false;
  1380. red=false;
  1381. end;
  1382. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  1383. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  1384. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  1385. end;
  1386. wait(0.001);
  1387. until nil;
  1388. end)();
  1389.  
  1390. ----------------------------------------------------------------------------------------
  1391.  
  1392. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  1393. local vers=_G.dev_pistol_version;
  1394. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  1395. if(hum.Health==0)then
  1396. _clear();
  1397. end;
  1398. script.Disabled=true;
  1399.  
  1400. --mediafire-----------------------------------------------------------------------------
  1401.  
  1402.  
  1403.  
  1404. end)
  1405.  
  1406. addcmd('draw', 'drawing tool',{},
  1407. function(args)
  1408. for i,v in next,game:children()do
  1409. pcall(function()
  1410. local c=v.className;
  1411. rawset(getfenv(0),c:sub(1,1):lower()..c:sub(2),game:service(c));
  1412. end);
  1413. end;
  1414.  
  1415.  
  1416. user=players.LocalPlayer;
  1417. uname=user.Name;
  1418. guis=user.PlayerGui;
  1419. pack=user.Backpack;
  1420.  
  1421. keyDowns={};
  1422. freeKeys={};
  1423. shortcuts={};
  1424.  
  1425. _G.mine=_G.mine or{};
  1426.  
  1427. name='Draw3D';
  1428. url='http://www.roblox.com/asset/?id=%d';
  1429.  
  1430. iconNormal=url:format(96578285);
  1431. iconOnDown=url:format(96584484);
  1432.  
  1433. ver=0;
  1434. drawPixel=0.10;
  1435. _G.drawLimit=_G.drawLimit or 1000;
  1436.  
  1437. _G.drawColor=_G.drawColor or Color3.new();
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443. destroy=game.remove;
  1444. find=game.findFirstChild;
  1445. new=Instance.new;
  1446. with=function(c)
  1447. return function(p)
  1448. local o=type(c)=='string'and new(c)or c;
  1449. local x=p.Parent;p.Parent=nil;
  1450. for i,v in next,p do
  1451. o[i]=v;
  1452. end;
  1453. if(x)then
  1454. o.Parent=x;
  1455. end;
  1456. return o;
  1457. end;
  1458. end;
  1459. getPlace=function()
  1460. if(find(workspace,'draw')==nil)then
  1461. new('Model',workspace).Name='draw';
  1462. end;
  1463. if(find(workspace.draw,uname)==nil)then
  1464. new('Model',workspace.draw).Name=uname;
  1465. end;
  1466. return workspace.draw[uname];
  1467. end;
  1468. drawLine=function(start,target)
  1469. local gui=with'BlockMesh'{
  1470. Parent=with'Part'{
  1471. CFrame=CFrame.new(start,target)*CFrame.new(0,0,-(start-target).magnitude/2);
  1472. Size=Vector3.new(drawPixel,drawPixel,(start-target).magnitude+.325*drawPixel);
  1473. Parent=getPlace();
  1474. Color=_G.drawColor;
  1475. BottomSurface=0;
  1476. Anchored=true;
  1477. TopSurface=0;
  1478. formFactor=3;
  1479. Name=name;
  1480. }}.Parent;
  1481. table.insert(_G.mine,gui);
  1482. return gui;
  1483. end;
  1484. onDown=function()
  1485. if(drawing)then
  1486. return nil;
  1487. end;
  1488. if(selectGui.Adornee)then
  1489. destroy(selectGui.Adornee);
  1490. end;
  1491.  
  1492. drawing=true;
  1493.  
  1494. mouse.Icon=iconOnDown;
  1495. ver=ver+1;
  1496.  
  1497.  
  1498. local cVer,start,target=ver,mouse.hit.p;
  1499.  
  1500. local group={};
  1501. repeat
  1502. Wait(0.02);
  1503.  
  1504. if(mouse.target and mouse.target.Name~=name and mouse.hit.p~=start)then
  1505.  
  1506. target=mouse.hit.p;
  1507.  
  1508. table.insert(group,drawLine(start,target));
  1509.  
  1510. start=target;
  1511. end;
  1512. until ver~=cVer;
  1513. drawing=false;
  1514.  
  1515. local groupM=new('Model',getPlace());
  1516. for i,v in next,group do
  1517. if(v:IsDescendantOf(Workspace))then
  1518. v.Parent=groupM;
  1519. end;
  1520. end;
  1521. if(next(groupM:children())==nil)then
  1522. destroy(groupM);
  1523. end;
  1524. end;
  1525. onUp=function()
  1526. mouse.Icon=iconNormal;
  1527. ver=ver+1;
  1528. end;
  1529. onKeyDown=function(k)
  1530. if(freeKeys[k]==false)then
  1531. return false;
  1532. end;
  1533. freeKeys[k]=false;
  1534. Wait(0.01);
  1535. if(keyDowns[k])then
  1536. keyDowns[k]();
  1537. elseif(shortcuts[k])then
  1538. shortcuts[k]();
  1539. end;
  1540. end;
  1541. onKeyUp=function(k)
  1542. freeKeys[k]=true;
  1543. end;
  1544. onMove=function()
  1545.  
  1546. end;
  1547. onSelect=function(lmouse)
  1548. frame.Visible=true;
  1549.  
  1550. mouse=lmouse;
  1551.  
  1552. mouse.Icon=iconNormal;
  1553.  
  1554. mouse.Button1Down:connect(onDown);
  1555. mouse.KeyDown:connect(onKeyDown);
  1556. mouse.Button1Up:connect(onUp);
  1557. mouse.KeyUp:connect(onKeyUp);
  1558. mouse.Move:connect(onMove);
  1559. end;
  1560. onDeselect=function()
  1561. ver=ver+1;
  1562. frame.Visible=false;
  1563. selectGui.Adornee=nil;
  1564. mouse.Icon=iconNormal;
  1565. for i,v in next,freeKeys do
  1566. freeKeys[i]=true;
  1567. end;
  1568. end;
  1569. addButton=function(title,shortcut,fun)
  1570. with'TextButton'{
  1571. Text=string.format(' %s (%s)',title,shortcut);
  1572. TextXAlignment=0;
  1573. Parent=frame;
  1574. }.MouseButton1Up:connect(fun);
  1575.  
  1576. shortcuts[shortcut]=fun;
  1577.  
  1578. local c=#frame:children();
  1579. for i,v in next,frame:children()do
  1580. v.Position=UDim2.new(0,0,0,20*(i-1));
  1581. v.Size=UDim2.new(1,0,0,20);
  1582. end;
  1583.  
  1584. frame.Position=UDim2.new(1,-152,.5,-c*10);
  1585. frame.Size=UDim2.new(0,150,0,c*20);
  1586. end;
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595. for i,v in next,{guis;pack;}do
  1596. pcall(function()
  1597. repeat until destroy(v[name]);
  1598. end);
  1599. end;
  1600.  
  1601.  
  1602.  
  1603. tool=with'HopperBin'{
  1604. Parent=pack;
  1605. Name=name;
  1606. };
  1607. tool.Deselected:connect(onDeselect);
  1608. tool.Selected:connect(onSelect);
  1609.  
  1610.  
  1611.  
  1612.  
  1613. screen=with'ScreenGui'{
  1614. Parent=guis;
  1615. Name=name;
  1616. };
  1617. frame=with'Frame'{
  1618. Parent=screen;
  1619. Visible=false;
  1620. };
  1621. clframe=with'Frame'{
  1622. Position=UDim2.new(.5,-50,.5,-50);
  1623. Size=UDim2.new(0,100,0,100);
  1624. Visible=false;
  1625. Parent=screen;
  1626. };
  1627. selectGui=with'SelectionBox'{
  1628. Parent=screen;
  1629. };
  1630.  
  1631. local c=0;
  1632. for y=0,7 do
  1633. for x=0,7 do
  1634. local color=BrickColor.palette(c).Color;
  1635.  
  1636. with'ImageButton'{
  1637. Position=UDim2.new(.125*x,0,.125*y);
  1638. Size=UDim2.new(.125,0,.125);
  1639. BackgroundColor3=color;
  1640. Parent=clframe;
  1641. }.MouseButton1Up:connect(function()
  1642. clframe.Visible=false;
  1643. _G.drawColor=color;
  1644. end);
  1645.  
  1646. c=c+1;
  1647. end;
  1648. end;
  1649.  
  1650. addButton('Color','c',function()
  1651. clframe.Visible=true;
  1652. end);
  1653. addButton('Remove your draws','r',function()
  1654. repeat
  1655. destroy(_G.mine[1]);
  1656. table.remove(_G.mine,1);
  1657. Wait(0.01);
  1658. until nil;
  1659. end);
  1660. addButton('Remove global draws','k',function()
  1661. destroy(workspace.draw);
  1662. while(_G.mine[1])do
  1663. destroy(_G.mine[1]);
  1664. table.remove(_G.mine,1);
  1665. end;
  1666. end);
  1667. addButton('Remove selected','x',function()
  1668. repeat
  1669. if(find(workspace,'draw'))then
  1670. local dt=mouse.target;
  1671. if(dt and dt:IsDescendantOf(workspace.draw))then
  1672. selectGui.Adornee=dt.Parent;
  1673. else
  1674. selectGui.Adornee=nil;
  1675. end;
  1676. else
  1677. selectGui.Adornee=nil;
  1678. end;
  1679. Wait(0.01);
  1680. until freeKeys.x;
  1681. selectGui.Adornee=nil;
  1682. end);
  1683.  
  1684.  
  1685.  
  1686.  
  1687. repeat
  1688. Wait(0.01);
  1689. if(next(_G.mine)and _G.mine[_G.drawLimit])then
  1690. destroy(_G.mine[1]);
  1691. table.remove(_G.mine,1);
  1692. end;
  1693. until script.Parent==nil or tool.Parent==nil;
  1694. script.Disabled=true;
  1695. destroy(screen);
  1696.  
  1697. end)
  1698.  
  1699. addcmd('god', 'gods player',{},
  1700. function(args)
  1701. local players = getPlayer(args[1])
  1702. for i,v in pairs(players)do
  1703. local pchar=_char(v)
  1704. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  1705. end
  1706. end)
  1707.  
  1708. addcmd('sgod', 'silently gods player',{},
  1709. function(args)
  1710. local players = getPlayer(args[1])
  1711. for i,v in pairs(players)do
  1712. local pchar=_char(v)
  1713. spawn(function()
  1714. pchar.Humanoid.MaxHealth = 10000000
  1715. wait()
  1716. pchar.Humanoid.Health = 10000000
  1717. Notify('Godded ' .. gPlayers[v].Name)
  1718. end)
  1719. end
  1720. end)
  1721.  
  1722. addcmd('ungod', 'removes god from a player',{},
  1723. function(args)
  1724. local players = getPlayer(args[1])
  1725. for i,v in pairs(players)do
  1726. local pchar=_char(v)
  1727. if pchar then
  1728. pchar.Humanoid.MaxHealth=100
  1729. pchar.Humanoid.Health=100
  1730. end
  1731. end
  1732. end)
  1733.  
  1734. addcmd('heal', 'resets a players health',{},
  1735. function(args)
  1736. local players = getPlayer(args[1])
  1737. for i,v in pairs(players)do
  1738. local pchar=_char(v)
  1739. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  1740. end
  1741. end)
  1742.  
  1743. addcmd('decalspam', 'you can already guess...',{},
  1744. function(args)
  1745. Notify('Decal Spammed ID: ' ..args[1])
  1746. decalID = args[1]
  1747. function exPro(root)
  1748. for _, v in pairs(root:GetChildren()) do
  1749. if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id="..decalID then
  1750. v.Parent = nil
  1751. elseif v:IsA("BasePart") then
  1752. v.Material = "Plastic"
  1753. v.Transparency = 0
  1754. local One = Instance.new("Decal", v)
  1755. local Two = Instance.new("Decal", v)
  1756. local Three = Instance.new("Decal", v)
  1757. local Four = Instance.new("Decal", v)
  1758. local Five = Instance.new("Decal", v)
  1759. local Six = Instance.new("Decal", v)
  1760. One.Texture = "http://www.roblox.com/asset/?id="..decalID
  1761. Two.Texture = "http://www.roblox.com/asset/?id="..decalID
  1762. Three.Texture = "http://www.roblox.com/asset/?id="..decalID
  1763. Four.Texture = "http://www.roblox.com/asset/?id="..decalID
  1764. Five.Texture = "http://www.roblox.com/asset/?id="..decalID
  1765. Six.Texture = "http://www.roblox.com/asset/?id="..decalID
  1766. One.Face = "Front"
  1767. Two.Face = "Back"
  1768. Three.Face = "Right"
  1769. Four.Face = "Left"
  1770. Five.Face = "Top"
  1771. Six.Face = "Bottom"
  1772. end
  1773. exPro(v)
  1774. end
  1775. end
  1776. function asdf(root)
  1777. for _, v in pairs(root:GetChildren()) do
  1778. asdf(v)
  1779. end
  1780. end
  1781. exPro(game.Workspace)
  1782. asdf(game.Workspace)
  1783. end)
  1784.  
  1785. addcmd('sky', 'sets the sky',{},
  1786. function(args)
  1787. s = Instance.new("Sky")
  1788. s.Name = "Sky"
  1789. s.Parent = game.Lighting
  1790. skyboxID = args[1]
  1791. s.SkyboxBk = "http://www.roblox.com/asset/?id="..skyboxID
  1792. s.SkyboxDn = "http://www.roblox.com/asset/?id="..skyboxID
  1793. s.SkyboxFt = "http://www.roblox.com/asset/?id="..skyboxID
  1794. s.SkyboxLf = "http://www.roblox.com/asset/?id="..skyboxID
  1795. s.SkyboxRt = "http://www.roblox.com/asset/?id="..skyboxID
  1796. s.SkyboxUp = "http://www.roblox.com/asset/?id="..skyboxID
  1797. game.Lighting.TimeOfDay = 12
  1798. end)
  1799.  
  1800. addcmd('freeze', 'freezes a player',{'freeze'},
  1801. function(args)
  1802. local players = getPlayer(args[1])
  1803. if players ~= nil then
  1804. for i, v in pairs(players) do
  1805. _char(v).Torso.Anchored = true
  1806. end
  1807. end
  1808. end)
  1809.  
  1810. addcmd('thaw', 'unfreezes a player',{},
  1811. function(args)
  1812. local players = getPlayer(args[1])
  1813. if players ~= nil then
  1814. for i, v in pairs(players) do
  1815. _char(v).Torso.Anchored = false
  1816. end
  1817. end
  1818. end)
  1819.  
  1820. addcmd('kill', 'kills a player',{},
  1821. function(args)
  1822. local players = getPlayer(args[1])
  1823. for i,v in pairs(players)do
  1824. local pchar=_char(v)
  1825. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  1826. Notify('RIP ' .. gPlayers[v].Name)
  1827. end
  1828. end)
  1829.  
  1830. addcmd('sound', 'plays a sound',{},
  1831. function(args)
  1832. local function dels(instance)
  1833. for i,v in pairs(instance:GetChildren())do
  1834. if v:IsA'Sound'then v:Destroy()end
  1835. dels(v)
  1836. end
  1837. end
  1838. dels(workspace)
  1839.  
  1840. local c = args[1] or 'stop'
  1841. if std.inTable({'stop'}, c:lower()) then return end
  1842. local s = Instance.new("Sound", workspace)
  1843. s.Name = "IYsound"
  1844. s.Looped = true
  1845. s.SoundId = "rbxassetid://" .. c
  1846. s.Volume = 1
  1847. s:Play()
  1848. Notify('Playing ' .. c)
  1849. end)
  1850.  
  1851. addcmd('volume','changes volume of sound',{},
  1852. function(args)
  1853. for i,v in pairs(game.Workspace:GetChildren())do
  1854. if v:IsA("Sound") and v.Name == "IYsound" then
  1855. v.Volume = args[1]
  1856. Notify('Changed volume to ' .. args[1])
  1857. end
  1858. end
  1859. end)
  1860.  
  1861. addcmd('pitch','changes pitch of sound',{},
  1862. function(args)
  1863. for i,v in pairs(game.Workspace:GetChildren())do
  1864. if v:IsA("Sound") and v.Name == "IYsound" then
  1865. v.Pitch = args[1]
  1866. Notify('Changed pitch to ' .. args[1])
  1867. end
  1868. end
  1869. end)
  1870.  
  1871. addcmd('explode', 'explode a player', {},
  1872. function(args)
  1873. local players = getPlayer(args[1])
  1874. for i, v in pairs(players) do
  1875. local char = _char(v)
  1876. if char:FindFirstChild("Torso") then
  1877. Instance.new("Explosion", char).Position = char.Torso.Position
  1878. end
  1879. end
  1880. end)
  1881.  
  1882. addcmd('flood', 'makes a flood e.e', {},
  1883. function(args)
  1884. game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  1885. end)
  1886.  
  1887. addcmd('spookyify', 'makes it sp00ky', {},
  1888. function(args)
  1889. local music = Instance.new("Sound", workspace)
  1890. music.SoundId = "http://www.roblox.com/asset/?id=257569267"
  1891. music.Volume = 20
  1892. music.Looped = true
  1893. music:Play()
  1894.  
  1895. tex1 = "http://www.roblox.com/asset/?id=185495987"
  1896. tex2 = "http://www.roblox.com/asset/?id=260858020"
  1897. tex3 = "http://www.roblox.com/asset/?id=149213919"
  1898. tex4 = "http://www.roblox.com/asset/?id=171905673"
  1899.  
  1900. local w = game.Workspace:GetChildren()
  1901.  
  1902. for i= 1,#w do
  1903. if w[i]:isA("BasePart") then
  1904. pe = Instance.new("ParticleEmitter", w[i])
  1905. pe.Texture = tex4
  1906. pe.VelocitySpread = 5
  1907. end
  1908. end
  1909.  
  1910. local playerLeaderstats = {}
  1911. for i, v in pairs(game.Players:GetChildren()) do
  1912. table.insert(playerLeaderstats, v)
  1913. end
  1914. for i, v in pairs(playerLeaderstats) do
  1915. pe = Instance.new("ParticleEmitter",v.Character.Torso)
  1916. pe.Texture = "http://www.roblox.com/asset/?id=171905673"
  1917. pe.VelocitySpread = 50
  1918. end
  1919.  
  1920. texture = "http://www.roblox.com/asset/?id=185495987"
  1921.  
  1922. local A = game.Workspace:GetChildren()
  1923. local B = game.Workspace:GetChildren()
  1924. local C = game.Workspace:GetChildren()
  1925. local D = game.Workspace:GetChildren()
  1926. local E = game.Workspace:GetChildren()
  1927. local F = game.Workspace:GetChildren()
  1928. for i,v in pairs(A) do
  1929. if v:IsA("Part") then
  1930. local d = Instance.new("Decal",v)
  1931. v.Decal.Face = "Top"
  1932. v.Decal.Texture = texture
  1933. v.Anchored = true
  1934. end
  1935. end
  1936.  
  1937. for i,v in pairs(B) do
  1938. if v:IsA("Part") then
  1939. local s = Instance.new("Decal",v)
  1940. s.Face = "Front"
  1941. s.Texture = texture
  1942. end
  1943. end
  1944.  
  1945. for i,v in pairs(C) do
  1946. if v:IsA("Part") then
  1947. local h = Instance.new("Decal",v)
  1948. h.Face = "Back"
  1949. h.Texture = texture
  1950. end
  1951. end
  1952.  
  1953. for i,v in pairs(D) do
  1954. if v:IsA("Part") then
  1955. local j = Instance.new("Decal",v)
  1956. j.Face = "Left"
  1957. j.Texture = texture
  1958. end
  1959. end
  1960.  
  1961. for i,v in pairs(E) do
  1962. if v:IsA("Part") then
  1963. local k = Instance.new("Decal",v)
  1964. k.Face = "Right"
  1965. k.Texture = texture
  1966. end
  1967. end
  1968.  
  1969. for i,v in pairs(F) do
  1970. if v:IsA("Part") then
  1971. local l = Instance.new("Decal",v)
  1972. l.Face = "Bottom"
  1973. l.Texture = texture
  1974. end
  1975.  
  1976. imageOne = "http://www.roblox.com/asset/?id=169585459"
  1977. imageTwo = "http://www.roblox.com/asset/?id=169585475"
  1978. imageThree = "http://www.roblox.com/asset/?id=169585485"
  1979. imageFour = "http://www.roblox.com/asset/?id=169585502"
  1980. imageFive = "http://www.roblox.com/asset/?id=169585515"
  1981. imageSix = "http://www.roblox.com/asset/?id=169585502"
  1982. imageSeven = "http://www.roblox.com/asset/?id=169585485"
  1983. imageEight = "http://www.roblox.com/asset/?id=169585475"
  1984.  
  1985. Spooky = Instance.new("Sound", workspace)
  1986. Spooky.Name = "Spooky"
  1987. Spooky.SoundId = "rbxassetid://174270407"
  1988. Spooky.Volume = 15
  1989. Spooky.Looped = true
  1990. Spooky:Play()
  1991.  
  1992. Sky = Instance.new("Sky", game.Lighting)
  1993. Sky.SkyboxBk = imageOne
  1994. Sky.SkyboxDn = imageOne
  1995. Sky.SkyboxFt = imageOne
  1996. Sky.SkyboxLf = imageOne
  1997. Sky.SkyboxRt = imageOne
  1998. Sky.SkyboxUp = imageOne
  1999.  
  2000.  
  2001. while true do
  2002. Sky.SkyboxBk = imageOne
  2003. Sky.SkyboxDn = imageOne
  2004. Sky.SkyboxFt = imageOne
  2005. Sky.SkyboxLf = imageOne
  2006. Sky.SkyboxRt = imageOne
  2007. Sky.SkyboxUp = imageOne
  2008. wait(0.15)
  2009. Sky.SkyboxBk = imageTwo
  2010. Sky.SkyboxDn = imageTwo
  2011. Sky.SkyboxFt = imageTwo
  2012. Sky.SkyboxLf = imageTwo
  2013. Sky.SkyboxRt = imageTwo
  2014. Sky.SkyboxUp = imageTwo
  2015. wait(0.15)
  2016. Sky.SkyboxBk = imageThree
  2017. Sky.SkyboxDn = imageThree
  2018. Sky.SkyboxFt = imageThree
  2019. Sky.SkyboxLf = imageThree
  2020. Sky.SkyboxRt = imageThree
  2021. Sky.SkyboxUp = imageThree
  2022. wait(0.15)
  2023. Sky.SkyboxBk = imageFour
  2024. Sky.SkyboxDn = imageFour
  2025. Sky.SkyboxFt = imageFour
  2026. Sky.SkyboxLf = imageFour
  2027. Sky.SkyboxRt = imageFour
  2028. Sky.SkyboxUp = imageFour
  2029. wait(0.15)
  2030. Sky.SkyboxBk = imageFive
  2031. Sky.SkyboxDn = imageFive
  2032. Sky.SkyboxFt = imageFive
  2033. Sky.SkyboxLf = imageFive
  2034. Sky.SkyboxRt = imageFive
  2035. Sky.SkyboxUp = imageFive
  2036. wait(0.15)
  2037. Sky.SkyboxBk = imageSix
  2038. Sky.SkyboxDn = imageSix
  2039. Sky.SkyboxFt = imageSix
  2040. Sky.SkyboxLf = imageSix
  2041. Sky.SkyboxRt = imageSix
  2042. Sky.SkyboxUp = imageSix
  2043. wait(0.15)
  2044. Sky.SkyboxBk = imageSeven
  2045. Sky.SkyboxDn = imageSeven
  2046. Sky.SkyboxFt = imageSeven
  2047. Sky.SkyboxLf = imageSeven
  2048. Sky.SkyboxRt = imageSeven
  2049. Sky.SkyboxUp = imageSeven
  2050. wait(0.15)
  2051. Sky.SkyboxBk = imageEight
  2052. Sky.SkyboxDn = imageEight
  2053. Sky.SkyboxFt = imageEight
  2054. Sky.SkyboxLf = imageEight
  2055. Sky.SkyboxRt = imageEight
  2056. Sky.SkyboxUp = imageEight
  2057. wait(0.15)
  2058.  
  2059. end
  2060. end
  2061. end)
  2062.  
  2063. addcmd('invisible', 'make a player invisible',{},
  2064. function(args)
  2065. local players = getPlayer(args[1])
  2066. for i, v in pairs(players) do
  2067. for k, v2 in pairs(_char(v):GetChildren()) do
  2068. if v2.className == "Part" then
  2069. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  2070. elseif v2.className == "Hat" then
  2071. if v2:FindFirstChild("Handle") then
  2072. v2.Handle.Transparency = 1
  2073. Notify(gPlayers[v].Name .. ' is now invisible')
  2074. end
  2075. end
  2076. if v2:FindFirstChild("face") then
  2077. v2.face:Destroy()
  2078. end
  2079. end
  2080. end
  2081. end)
  2082.  
  2083. addcmd('visible', 'make a player visible',{},
  2084. function(args)
  2085. local players = getPlayer(args[1])
  2086. for i, v in pairs(players) do
  2087. for k, v2 in pairs(_char(v):GetChildren()) do
  2088. if v2.className == "Part" then
  2089. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  2090. elseif v2.className == "Hat" then
  2091. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  2092. Notify(gPlayers[v].Name .. ' is now visible')
  2093. end
  2094. if v2:FindFirstChild("face") then
  2095. v2.face:Destroy()
  2096. end
  2097. end
  2098. end
  2099. end)
  2100.  
  2101. addcmd('goto', 'go to a player',{},
  2102. function(args)
  2103. local players = getPlayer(args[1])
  2104. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  2105. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  2106. end
  2107. end)
  2108.  
  2109. addcmd('bring', 'bring a player to you',{},
  2110. function(args)
  2111. local players = getPlayer(args[1])
  2112. for i,v in pairs(players) do
  2113. if _char(v):FindFirstChild("HumanoidRootPart") then
  2114. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  2115. end
  2116. end
  2117. end)
  2118.  
  2119. addcmd('tp', 'teleport player 1 to player 2',{},
  2120. function(args)
  2121. local players1=getPlayer(args[1])
  2122. local players2=getPlayer(args[2])
  2123. if not players2[1] then return end
  2124. for i,v in pairs(players1) do
  2125. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  2126. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  2127. wait(0.1)
  2128. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  2129. end
  2130. end
  2131. end)
  2132.  
  2133. addcmd('char', 'change a players appearance',{},
  2134. function(args)
  2135. local players = getPlayer(args[1])
  2136. if not args[1]or not args[2]then return end
  2137. local id=args[2]
  2138. if players ~= nil then
  2139. for i,v in pairs(players) do
  2140. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  2141. if _char(v):FindFirstChild("Head") then
  2142. _char(v).Head:Destroy()
  2143. end
  2144. end
  2145. end
  2146. end)
  2147.  
  2148. addcmd('speed', 'change a players walkspeed',{},
  2149. function(args)
  2150. local players = getPlayer(args[1])
  2151. if not args[1]or not args[2]then return end
  2152. local num=args[2]
  2153. for i,v in pairs(players) do
  2154. if _char(v):FindFirstChild("Humanoid") then
  2155. _char(v).Humanoid.WalkSpeed=tonumber(num)
  2156. Notify(gPlayers[v].Name .. ' now has speed set to ' .. args[2])
  2157. end
  2158. end
  2159. end)
  2160.  
  2161. addcmd('lightsaber', 'gives lightsaber',{},
  2162. function(args)
  2163. Players = game:GetService("Players")
  2164. Player = Players.LocalPlayer
  2165. Bp = Player.Backpack
  2166. Pg = Player.PlayerGui
  2167. Char = Player.Character
  2168. Head = Char.Head
  2169. Torso = Char.Torso
  2170. Hum = Char.Humanoid
  2171. Humanoid = Hum
  2172. Neck = Torso["Neck"]
  2173. LS = Torso["Left Shoulder"]
  2174. RS = Torso["Right Shoulder"]
  2175. Ra = Char["Right Arm"]
  2176. La = Char["Left Arm"]
  2177. mouse = nil
  2178. Mouse = nil
  2179.  
  2180. bets =
  2181. {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
  2182. inew = Instance.new
  2183. it = Instance.new
  2184. bc = BrickColor.new
  2185. vn = Vector3.new
  2186. cn = CFrame.new
  2187. ca = CFrame.Angles
  2188. mpi = math.pi
  2189. v3 = vn
  2190. mr = math.rad
  2191. br = BrickColor.new
  2192. cf = CFrame.new
  2193. ca = CFrame.Angles
  2194. Colors = {"Really Red"}
  2195. BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
  2196. TrailColor = BladeColor
  2197. HopperName = "light saber"
  2198. Rage = 100000
  2199. MaxRage = Rage
  2200. SwordType = "Single"
  2201. LeftDebounce = {}
  2202. RightDebounce = {}
  2203. OtherDebounce = {}
  2204. Anim = {key = {}}
  2205. for i=1,#bets do table.insert(Anim.key,bets) end
  2206. Anim.Move = "None"
  2207. Anim.Click = false
  2208. Anim.Button = false
  2209. Anim.CanBerserk = 0
  2210. Anim.ComboBreak = false
  2211. Anim.Equipped = false
  2212. keydown = false
  2213. Speed = 2
  2214. RageIncome = 500
  2215. Left = false
  2216. Right = false
  2217. Anim.Act = false
  2218. RealSpeed = 35
  2219. DebounceSpeed = 0.85/Speed
  2220. RageCost = {
  2221. ["Berserk"] = 200;
  2222. ["RotorBlade"] = 30;
  2223. ["Blocking"] = 0.1;
  2224. ["Boomerang"] = 30;
  2225. ["RageRegening"] = -0.7;
  2226. ["BoulderForce"] = 45;
  2227. ["ForceWave"] = 65;
  2228. ["ForceWave"] = 32;
  2229. ["Teleport"] = 25;
  2230. ["DualSpin"] = 4;
  2231. }
  2232. MagnitudeHit = {
  2233. ["ForceWave"] = 500;
  2234. }
  2235. Damage = {
  2236. ["RotorBlade"] = 8;
  2237. ["BoulderForce"] = 100;
  2238. ["Boomerang"] = 100;
  2239. ["ForceWave"] = 100;
  2240. ["DualSpin"] = 5;
  2241. }
  2242. Props = {}
  2243. Props.MaxTeleDistance = 500
  2244. Props.Buff = 1
  2245. BlastMesh = Instance.new("FileMesh")
  2246. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2247. RingMesh = Instance.new("FileMesh")
  2248. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2249. RockMesh = Instance.new("FileMesh")
  2250. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  2251. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  2252. DiamondMesh = Instance.new("FileMesh")
  2253. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2254. RingMesh = Instance.new("FileMesh")
  2255. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2256. RockMesh = Instance.new("FileMesh")
  2257. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  2258. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  2259. DiamondMesh = Instance.new("FileMesh")
  2260. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2261. RockMesh = Instance.new("FileMesh")
  2262. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  2263. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  2264. DiamondMesh = Instance.new("FileMesh")
  2265. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2266. DiamondMesh = Instance.new("FileMesh")
  2267. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  2268.  
  2269. function rayCast(Pos, Dir, Max, Ignore)
  2270. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2271. end
  2272. function MinusRage(raggge)
  2273. Rage = Rage - raggge
  2274. if Rage < 0 then Rage = 0 end
  2275. end
  2276.  
  2277. function r(zParent,zName)
  2278. if zParent:findFirstChild(zName) ~= nil then
  2279. zParent[zName]:Remove()
  2280. else
  2281. end
  2282. end
  2283. function rclass(zParent,zClass)
  2284. local ch = zParent:GetChildren()
  2285. for i=1,#ch do
  2286. if (ch.className == zClass) then
  2287. ch:Remove()
  2288. else
  2289. end
  2290. end
  2291. end
  2292.  
  2293. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  2294. local funcw = Instance.new("Weld")
  2295. funcw.Name = zName
  2296. funcw.Parent = zParent
  2297. funcw.Part0 = zPart0
  2298. funcw.Part1 = zPart1
  2299. if (zCoco == true) then
  2300. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  2301. else
  2302. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  2303. end
  2304. return funcw
  2305. end
  2306. function Dash(ob,se,mes,of)
  2307. local off = nil
  2308. if of == nil then off = 0 else off = of end
  2309. pcall(function()
  2310. coroutine.resume(coroutine.create(function()
  2311. local dashin = true
  2312. local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
  2313. coroutine.resume(coroutine.create(function()
  2314. wait(se) dashin = false end))
  2315. for i=1,9999 do
  2316. if dashin == false then break end
  2317. local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  2318. local np = Instance.new("Part")
  2319. np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
  2320. np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
  2321. np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
  2322. local mp = nil
  2323. if mes ~= nil then
  2324. np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
  2325. np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
  2326. np.CFrame = CFrame.new(newpos,oldpos)
  2327. np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
  2328. if mes == BlastMesh.MeshId then np.CFrame = np.CFrame *ca(mr(-90),0,0) else np.CFrame = np.CFrame *ca(0,0,mr(-45)) end
  2329. oldpos = newpos
  2330. coroutine.resume(coroutine.create(function()
  2331. for i=1,0,-0.1 do
  2332. np.Transparency = np.Transparency + 0.03
  2333. --if mes ~= nil then
  2334. --mp.Scale = Vector3.new(i,mag,i) else
  2335. mp.Scale = Vector3.new(i,i,1) -- end
  2336. wait()
  2337. end
  2338. np:Remove()
  2339. end))
  2340. wait(0.08)
  2341. end
  2342. end))
  2343. end)
  2344. end
  2345. Sounds = {
  2346. Boom = "http://www.roblox.com/asset/?id=16976189";
  2347. SniperFire = "http://www.roblox.com/asset/?id=1369158";
  2348. ShotgunFire2 = "http://www.roblox.com/asset/?id=1868836";
  2349. MinigunFire = "http://www.roblox.com/asset/?id=2692806";
  2350. MinigunCharge = "http://www.roblox.com/asset/?id=2692844";
  2351. MinigunDischarge = "http://www.roblox.com/asset/?id=1753007";
  2352. Flashbang = "http://www.roblox.com/asset/?id=16976189";
  2353. Beep = "http://www.roblox.com/asset/?id=15666462";
  2354. Smash = "http://www.roblox.com/asset/?id=2801263";
  2355. Punch = "http://www.roblox.com/asset/?id=31173820";
  2356. Slash = "rbxasset://sounds/swordslash.wav";
  2357. Falcon = "http://www.roblox.com/asset/?id=1387390";
  2358. Cast = "http://www.roblox.com/asset/?id=2101137";
  2359. Spin = "http://www.roblox.com/asset/?id=1369159";
  2360. Abscond = "http://www.roblox.com/asset/?id=2767090";
  2361. ElectricalCharge = "http://www.roblox.com/asset/?id=2800815";
  2362. FireExplosion = "http://www.roblox.com/asset/?id=3264793";
  2363. SaberLightUp = "http://www.roblox.com/asset/?id=10209303";
  2364. SaberSlash = "http://www.roblox.com/asset/?id=10209280";
  2365. SaberHit = "http://www.roblox.com/asset/?id=44463749";
  2366. EnergyBlast = "http://www.roblox.com/asset/?id=10209268";
  2367. }
  2368. function Sound(sid,pit,vol)
  2369. local ss = Instance.new("Sound")
  2370. ss.Name = "Sound"
  2371. ss.Parent = Head
  2372. ss.SoundId = sid
  2373. ss.Pitch = pit
  2374. ss.Volume = vol
  2375. ss.PlayOnRemove = true
  2376. wait()
  2377. ss:Remove()
  2378. end
  2379.  
  2380.  
  2381. r(Char,"SwordPack")
  2382. r(Char,"Suit")
  2383. r(Char,"Saber" ..Player.Name)
  2384. r(Pg,"Sabers")
  2385. Suit = inew("Model")
  2386. Suit.Name = "Suit"
  2387. Suit.Parent = Char
  2388. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  2389. local fp = it("Part",pa)
  2390. fp.formFactor = "Custom"
  2391. fp.Shape = sh
  2392. fp.Size = v3(x,y,z)
  2393. fp.CanCollide = c
  2394. fp.Anchored = a
  2395. fp.BrickColor = br(bc)
  2396. fp.Transparency = tr
  2397. fp.Reflectance = re
  2398. fp.BottomSurface = 0
  2399. fp.TopSurface = 0
  2400. fp.CFrame = Torso.CFrame
  2401. fp:BreakJoints()
  2402. return fp
  2403. end
  2404. function weld(pa,p0,p1,x,y,z,a,b,c)
  2405. local fw = it("Weld",pa)
  2406. fw.Part0 = p0
  2407. fw.Part1 = p1
  2408. fw.C0 = cf(x,y,z) *ca(a,b,c)
  2409. return fw
  2410. end
  2411. function ft(tab,nam)
  2412. if tab == nil or nam == nil then print("U: Fail table") return false end
  2413. for i=1,#tab do
  2414. if tab == nam then
  2415. return i
  2416. else
  2417. end
  2418. end
  2419. return nil
  2420. end
  2421. function spm(ty,pa,ssx,ssy,ssz)
  2422. local sp = it("SpecialMesh",pa)
  2423. sp.MeshType = ty
  2424. sp.Scale = Vector3.new(ssx,ssy,ssz)
  2425. return sp
  2426. end
  2427. Torso.Transparency = 1
  2428. Torm = Instance.new("Model",Char)
  2429. Torm.Name = "Saber" ..Player.Name
  2430. Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
  2431. Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
  2432. pcall(function() Char.Shirt:Clone().Parent = Torm end)
  2433. pcall(function() Char.Pants:Clone().Parent = Torm end)
  2434. function ShockWave(onb,scale,col)
  2435. coroutine.resume(coroutine.create(function()
  2436. local e1 = Instance.new("Part")
  2437. e1.Anchored = true
  2438. e1.formFactor = "Custom"
  2439. e1.CanCollide = false
  2440. e1.Size = Vector3.new(1,1,1)
  2441. e1.BrickColor = BrickColor.new(col)
  2442. e1.Transparency = 0.6
  2443. e1.TopSurface = 0
  2444. e1.BottomSurface = 0
  2445. e1.Parent = Torm
  2446. e1.CFrame = onb.CFrame
  2447. e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
  2448. local e1m = Instance.new("SpecialMesh")
  2449. e1m.MeshType = "FileMesh"
  2450. e1m.Scale = Vector3.new(3,3,3)
  2451. e1m.Parent = e1
  2452. e1m.MeshId = RingMesh.MeshId
  2453. local r1 = Instance.new("Part")
  2454. r1.Anchored = true
  2455. r1.formFactor = "Custom"
  2456. r1.CanCollide = false
  2457. r1.Size = Vector3.new(1,1,1)
  2458. r1.BrickColor = BrickColor.new(col)
  2459. r1.Transparency = 0.6
  2460. r1.TopSurface = 0
  2461. r1.BottomSurface = 0
  2462. r1.Parent = Torm
  2463. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
  2464. local r1m = Instance.new("SpecialMesh")
  2465. r1m.MeshType = "FileMesh"
  2466. r1m.Scale = Vector3.new(3,3,3)
  2467. r1m.Parent = r1
  2468. r1m.MeshId = BlastMesh.MeshId
  2469. for i=1,30 do
  2470. local pluscal = scale/38
  2471. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2472. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  2473. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  2474. wait()
  2475. end
  2476. for i=1,30 do
  2477. local pluscal = scale/38
  2478. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2479. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/4,pluscal/1.5)
  2480. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  2481. e1.Transparency = e1.Transparency + 0.1
  2482. r1.Transparency = r1.Transparency + 0.1
  2483. wait()
  2484. end
  2485. e1:Remove()
  2486. r1:Remove()
  2487. end))
  2488. end
  2489.  
  2490. function Explode(onb,scale,col)
  2491. coroutine.resume(coroutine.create(function()
  2492. local e1 = Instance.new("Part")
  2493. e1.Anchored = true
  2494. e1.formFactor = "Custom"
  2495. e1.CanCollide = false
  2496. e1.Size = Vector3.new(1,1,1)
  2497. e1.BrickColor = BrickColor.new(col)
  2498. e1.Transparency = 0.6
  2499. e1.TopSurface = 0
  2500. e1.BottomSurface = 0
  2501. e1.Parent = Torm
  2502. e1.CFrame = onb.CFrame
  2503. local e1m = Instance.new("SpecialMesh")
  2504. e1m.MeshType = "Sphere"
  2505. e1m.Parent = e1
  2506. local r1 = Instance.new("Part")
  2507. r1.Anchored = true
  2508. r1.formFactor = "Custom"
  2509. r1.CanCollide = false
  2510. r1.Size = Vector3.new(1,1,1)
  2511. r1.BrickColor = BrickColor.new(col)
  2512. r1.Transparency = 0.6
  2513. r1.TopSurface = 0
  2514. r1.BottomSurface = 0
  2515. r1.Parent = Torm
  2516. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
  2517. local r1m = Instance.new("SpecialMesh")
  2518. r1m.MeshType = "FileMesh"
  2519. r1m.Scale = Vector3.new(3,3,3)
  2520. r1m.Parent = r1
  2521. r1m.MeshId = RingMesh.MeshId
  2522. local r2 = Instance.new("Part")
  2523. r2.Anchored = true
  2524. r2.formFactor = "Custom"
  2525. r2.CanCollide = false
  2526. r2.Size = Vector3.new(1,1,1)
  2527. r2.BrickColor = BrickColor.new(col)
  2528. r2.Transparency = 0.6
  2529. r2.TopSurface = 0
  2530. r2.BottomSurface = 0
  2531. r2.Parent = Torm
  2532. r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
  2533. local r2m = Instance.new("SpecialMesh")
  2534. r2m.MeshType = "FileMesh"
  2535. r2m.Parent = r2
  2536. r2m.Scale = Vector3.new(3,3,3)
  2537. r2m.MeshId = RingMesh.MeshId
  2538. local bla = Instance.new("Part")
  2539. bla.Anchored = true
  2540. bla.formFactor = "Custom"
  2541. bla.CanCollide = false
  2542. bla.Size = Vector3.new(1,1,1)
  2543. bla.BrickColor = BrickColor.new(col)
  2544. bla.Transparency = 0.6
  2545. bla.TopSurface = 0
  2546. bla.BottomSurface = 0
  2547. bla.Parent = Torm
  2548. bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
  2549. local blam = Instance.new("SpecialMesh")
  2550. blam.MeshType = "FileMesh"
  2551. blam.Parent = bla
  2552. blam.Scale = Vector3.new(5,5,5)
  2553. blam.MeshId = BlastMesh.MeshId
  2554. for i=1,30 do
  2555. local pluscal = scale/38
  2556. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2557. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2558. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2559. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
  2560. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  2561. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  2562. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  2563. wait()
  2564. end
  2565. for i=1,30 do
  2566. local pluscal = scale/38
  2567. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2568. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2569. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  2570. blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  2571. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  2572. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  2573. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  2574. bla.Transparency = bla.Transparency + 0.1
  2575. e1.Transparency = e1.Transparency + 0.1
  2576. r1.Transparency = r1.Transparency + 0.1
  2577. r2.Transparency = r2.Transparency + 0.1
  2578. wait()
  2579. end
  2580. e1:Remove()
  2581. r1:Remove()
  2582. r2:Remove()
  2583. end))
  2584. end
  2585. H1 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H1,1,1.3,1)
  2586. H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
  2587. H2 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H2,1,1.3,1)
  2588. H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
  2589. Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
  2590. Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
  2591. Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
  2592. Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
  2593. Des21 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des21m = Instance.new("CylinderMesh",Des21) Des21m.Scale = Vector3.new(1,0.6,1)
  2594. Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
  2595. Des22 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des22m = Instance.new("CylinderMesh",Des22) Des22m.Scale = Vector3.new(1,0.6,1)
  2596. Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
  2597.  
  2598. Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
  2599. Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
  2600. Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
  2601. Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
  2602. Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
  2603. Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
  2604. Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
  2605. Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
  2606.  
  2607. r(Bp,HopperName)
  2608. bin = inew("HopperBin")
  2609. bin.Name = HopperName
  2610. bin.Parent = Bp
  2611.  
  2612. Gui = Instance.new("ScreenGui",Pg)
  2613. Gui.Name = "Sabers"
  2614. Frame = Instance.new("Frame",Gui)
  2615. Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
  2616. ImageGui = Instance.new("ImageLabel",Frame)
  2617. ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
  2618. ImageGui.BackgroundTransparency = 1
  2619. ImageGui.Size = UDim2.new(0.3,0,0.075,0)
  2620. HealthBar = Instance.new("ImageLabel",Frame)
  2621. HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
  2622. HealthBar.BorderSizePixel = 0
  2623. HealthBar.Size = UDim2.new(0.23,0,0.017,0)
  2624. HealthBar.Position = UDim2.new(0.06,0,0.017,0)
  2625. RageBar = Instance.new("ImageLabel",Frame)
  2626. RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
  2627. RageBar.BorderSizePixel = 0
  2628. RageBar.Size = UDim2.new(0.165,0,0.012,0)
  2629. RageBar.Position = UDim2.new(0.06,0,0.04,0)
  2630. RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
  2631. SelectBar = Instance.new("ImageButton",Frame)
  2632. SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
  2633. SelectBar.BorderSizePixel = 0
  2634. SelectBar.Size = UDim2.new(0.1,0,0.07,0)
  2635. SelectBar.Position = UDim2.new(0.8,0,0.6,0)
  2636. SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
  2637. SelectrBar = Instance.new("TextLabel",SelectBar)
  2638. SelectrBar.BackgroundTransparency = 1
  2639. SelectrBar.BorderSizePixel = 0
  2640. SelectrBar.Size = UDim2.new(0,0,0,0)
  2641. SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
  2642. SelectrBar.Font = "ArialBold"
  2643. SelectrBar.FontSize = "Size18"
  2644. SelectBar.MouseButton1Up:connect(function()
  2645. if Anim.Move ~= "None" then return end
  2646. if Anim.Act == true then return end
  2647. if Anim.Equipped == false then return end
  2648. if SwordType == "Single" then
  2649. Anim.Move = "Changing"
  2650. Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
  2651. Anim.Move = "None"
  2652. else
  2653. Anim.Move = "Changing"
  2654. Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
  2655. Anim.Move = "None"
  2656. end
  2657. end)
  2658. coroutine.resume(coroutine.create(function()
  2659. while true do
  2660. wait(0.05)
  2661. local hh = Hum.Health local hmh = Hum.MaxHealth
  2662. HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
  2663. if ((hh/hmh)*100) > 75 then
  2664. HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
  2665. elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
  2666. HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
  2667. elseif ((hh/hmh)*100) < 26 then
  2668. HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
  2669. end
  2670. RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
  2671. SelectrBar.Text = SwordType
  2672. end
  2673. end))
  2674. -------
  2675. function TellXPos(brick1,posd)
  2676. local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  2677. lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
  2678. local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  2679. rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
  2680. local posml = math.abs((posd - rb.Position).magnitude)
  2681. local posmr = math.abs((posd - lb.Position).magnitude)
  2682. if posml > posmr then
  2683. return "left"
  2684. else
  2685. return "right"
  2686. end
  2687. end
  2688. function GetNearPlayer(urpos,maxmag)
  2689. if maxmag == nil then return nil end
  2690. for i,v in pairs(game.Players:GetChildren()) do
  2691. if v.Character ~= Char and v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude) < maxmag then
  2692. return v.Character.Torso
  2693. end
  2694. end
  2695. return nil
  2696. end
  2697. function Dmgz(hum,dmg)
  2698. dmg = dmg*Props.Buff
  2699. hum.Health = hum.Health - dmg
  2700. Rage = Rage + ((dmg/1.25)*RageIncome)
  2701. if Rage > MaxRage then Rage = MaxRage end
  2702. end
  2703. coroutine.resume(coroutine.create(function()
  2704. while true do
  2705. wait()
  2706. if Right == true and Anim.Move == "ForceWave" then
  2707. for i,v in pairs(workspace:GetChildren()) do
  2708. coroutine.resume(coroutine.create(function()
  2709. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
  2710. local hit = v.Torso
  2711. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  2712. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  2713. table.insert(RightDebounce,hit.Parent.Name)
  2714. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  2715. end
  2716. else
  2717. if v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then v:BreakJoints() v.Velocity = cf(Blad2.Position,v.Position).lookVector*30 + Vector3.new(0,20,0) end
  2718. end
  2719. end))
  2720. end -- for
  2721. end
  2722. end
  2723. end))
  2724. Blad1.Touched:connect(function(hit)
  2725. if Left == true then
  2726. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
  2727. coroutine.resume(coroutine.create(function()
  2728. table.insert(LeftDebounce,hit.Parent.Name)
  2729. wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
  2730. end))
  2731. Sound(Sounds.SaberHit,1,1)
  2732. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  2733. else
  2734. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector*30 end
  2735. end
  2736. end
  2737. end)
  2738.  
  2739. Blad2.Touched:connect(function(hit)
  2740. if Right == true then
  2741. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  2742. coroutine.resume(coroutine.create(function()
  2743. table.insert(RightDebounce,hit.Parent.Name)
  2744. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  2745. end))
  2746. Sound(Sounds.SaberHit,1,1)
  2747. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  2748. else
  2749. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector*30 end
  2750. end
  2751. end
  2752. end)
  2753. LW = inew("Weld")
  2754. RW = inew("Weld")
  2755. Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  2756. Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  2757. Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
  2758. Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
  2759. Flaw.C1 = CFrame.new(0,0.5,0)
  2760. Fraw.C1 = CFrame.new(0,0.5,0)
  2761.  
  2762. Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  2763. Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  2764. Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
  2765. Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
  2766.  
  2767. function FeetWeld(yesorno,lhh,rhh)
  2768. if yesorno == false then
  2769. lhh.Parent = nil
  2770. rhh.Parent = nil
  2771. Lh.Parent = Torso
  2772. Rh.Parent = Torso
  2773. Lh.Part0 = Tor
  2774. Rh.Part0 = Tor
  2775. Lh.Part1 = Char["Left Leg"]
  2776. Rh.Part1 = Char["Right Leg"]
  2777. return Lh,Rh
  2778. else
  2779. Rh.Parent = nil
  2780. Lh.Parent = nil
  2781. local hl,hr = it("Weld",Torso),it("Weld",Torso)
  2782. hl.Part0 = Fll
  2783. hr.Part0 = Frl
  2784. hl.Part1 = Char["Left Leg"]
  2785. hr.Part1 = Char["Right Leg"]
  2786. hr.C1 = cf(-0.5,1.75,0)
  2787. hl.C1 = cf(0.5,1.75,0)
  2788. return hl,hr
  2789. end
  2790. end
  2791. Anims = {}
  2792. Anims.Equip = function(i1,i2,is)
  2793. Anim.Act = true
  2794. for i=i1,i2,is do
  2795. RW.C1 = ca(mr(40*i),mr(20*i),0)
  2796. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  2797. wait()
  2798. end
  2799. H1w.Part0 = Ra
  2800. H1w.Part1 = H1
  2801. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
  2802. Sound(Sounds.Slash,1,1)
  2803. for i=i1,i2,is do
  2804. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  2805. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  2806. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  2807. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  2808. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  2809. wait()
  2810. end
  2811. Sound(Sounds.SaberLightUp,3,1)
  2812. for i=i1,i2,is do
  2813. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  2814. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  2815. M1.Scale = Vector3.new(1,1*i,1)
  2816. M2.Scale = Vector3.new(1,1*i,1)
  2817. Blad1.Transparency = 0.9-(1*i)
  2818. Blad2.Transparency = 0.9-(1*i)
  2819. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  2820. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  2821. GM1.Scale = Vector3.new(1,1*i,1)
  2822. GM2.Scale = Vector3.new(1,1*i,1)
  2823. Glow1.Transparency = 1.05-(0.5*i)
  2824. Glow2.Transparency = 1.05-(0.5*i)
  2825. wait()
  2826. end
  2827. Anim.Act = false
  2828. end
  2829. Anims.UnEquip = function(i1,i2,is)
  2830. Anim.Act = true
  2831. Sound(Sounds.SaberLightUp,3,1)
  2832. for i=i1,i2,is do
  2833. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  2834. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  2835. M1.Scale = Vector3.new(1,1*i,1)
  2836. M2.Scale = Vector3.new(1,1*i,1)
  2837. Blad1.Transparency = 0.9-(1*i)
  2838. Blad2.Transparency = 0.9-(1*i)
  2839. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  2840. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  2841. GM1.Scale = Vector3.new(1,1*i,1)
  2842. GM2.Scale = Vector3.new(1,1*i,1)
  2843. Glow1.Transparency = 1.05-(0.5*i)
  2844. Glow2.Transparency = 1.05-(0.5*i)
  2845. wait()
  2846. end
  2847. Sound(Sounds.Slash,1,1)
  2848. for i=i1,i2,is do
  2849. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  2850. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  2851. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  2852. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  2853. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  2854. wait()
  2855. end
  2856. H1w.Part0 = Torso
  2857. H1w.Part1 = H1
  2858. H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
  2859. H1w.C1 = cf(0,0,0) *ca(0,0,0)
  2860. for i=i1,i2,is do
  2861. RW.C1 = ca(mr(40*i),mr(20*i),0)
  2862. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  2863. wait()
  2864. end
  2865. Anim.Act = false
  2866. end
  2867. Anims.ChangeToDual = function(i1,i2,is)
  2868. Anim.Act = true
  2869. for i=i1,i2,is*Speed do
  2870. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  2871. wait()
  2872. end
  2873. Sound(Sounds.SaberHit,1,1)
  2874. Sound(Sounds.SaberLightUp,2,0.5)
  2875. H1w.Part0 = La
  2876. H1w.Part1 = H1
  2877. H2w.Part0 = Ra
  2878. H2w.Part1 = H2
  2879. H2w.C1 = ca(mr(-90),0,0)
  2880. for i=i1,i2,is*Speed do
  2881. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  2882. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  2883. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  2884. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  2885. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  2886. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  2887. wait()
  2888. end
  2889. Anim.Act = false
  2890. end
  2891. Anims.ChangeToSingle = function(i1,i2,is)
  2892. Anim.Act = true
  2893. for i=i2,i1,-is*Speed do
  2894. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  2895. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  2896. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  2897. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  2898. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  2899. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  2900. wait()
  2901. end
  2902. H1w.Part0 = Ra
  2903. H1w.Part1 = H1
  2904. H2w.Part0 = H1
  2905. H2w.Part1 = H2
  2906. H2w.C1 = ca(0,0,0)
  2907. H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
  2908. Sound(Sounds.SaberLightUp,2,0.5)
  2909. Sound(Sounds.SaberHit,1,1)
  2910. for i=i2,i1,-is*Speed do
  2911. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  2912. wait()
  2913. end
  2914. Anim.Act = false
  2915. end
  2916. Anims.RotorBlade = function(i1,i2,is,RaigCost)
  2917. local lolpos = (Torso.Position - mouse.hit.p).unit
  2918. local allx = (lolpos.y*80)-10
  2919. local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
  2920. Anim.Act = true
  2921. for i=i1,i2,is do
  2922. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  2923. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  2924. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  2925. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  2926. Torw.C1 = ca(0,mr(-90*i),0)
  2927. wait()
  2928. end
  2929. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  2930. Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
  2931. Left = true
  2932. Right = true
  2933. Dash(Blad1,2/Speed,nil,2)
  2934. Dash(Blad2,2/Speed,nil,2)
  2935. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  2936. local soundtime = 0
  2937. for i=i1,i2*4,is do
  2938. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  2939. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
  2940. wait()
  2941. end
  2942. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  2943. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  2944. Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
  2945. Left = false
  2946. Right = false
  2947. for i=i2,i1,-is do
  2948. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  2949. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  2950. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  2951. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  2952. Torw.C1 = ca(0,mr(-90*i),0)
  2953. wait()
  2954. end
  2955. Torw.C1 = ca(0,0,0)
  2956. Anim.Act = false
  2957. end
  2958. -------
  2959. Anims.Boomerang = function(i1,i2,is,RaigCost)
  2960. MinusRage(RaigCost)
  2961. local lolpos = (Head.Position - mouse.hit.p).unit
  2962. local allx = (lolpos.y*80)-10
  2963. Anim.Act = true
  2964. for i=i1,i2,is do
  2965. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  2966. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  2967. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  2968. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  2969. Torw.C1 = ca(0,mr(-60*i),0)
  2970. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  2971. wait()
  2972. end
  2973. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  2974. Left = true
  2975. Right = true
  2976. Dash(Blad1,3.8/Speed,nil,2)
  2977. Dash(Blad2,3.8/Speed,nil,2)
  2978. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  2979. local soundtime = 0
  2980. for i=i1,i2,is/2 do
  2981. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  2982. H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
  2983. wait()
  2984. end
  2985. for i=i1,i2,is/2 do
  2986. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  2987. H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
  2988. wait()
  2989. end
  2990. for i=i1,i2,is/2 do
  2991. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  2992. H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
  2993. wait()
  2994. end
  2995. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  2996. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  2997. Left = false
  2998. Right = false
  2999. for i=i2,i1,-is do
  3000. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  3001. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  3002. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  3003. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  3004. Torw.C1 = ca(0,mr(-60*i),0)
  3005. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  3006. wait()
  3007. end
  3008. Torw.C1 = ca(0,0,0)
  3009. Anim.Act = false
  3010. end
  3011. Anims.BoulderForce = function(i1,i2,is,RaigCost)
  3012. MinusRage(RaigCost)
  3013. Anim.Act = true
  3014. for i=i1,i2,is do
  3015. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  3016. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  3017. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  3018. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  3019. Torw.C1 = ca(0,mr(50*i),0)
  3020. wait()
  3021. end
  3022. local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
  3023. local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
  3024. bould.Elasticity = 0 bould.Friction = 2 bould.CFrame = cf(Torso.Position.x+(math.random(-14,14)),Torso.Position.y-5,Torso.Position.z+(math.random(-14,14))) *CFrame.Angles(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  3025. local warpdes = true
  3026. local bpos = bould.Position
  3027. Sound(Sounds.Cast,0.95,0.8)
  3028. coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
  3029. for i=0,1,0.08 do bould.CFrame = CFrame.new(bpos.x,bpos.y,bpos.z) + Vector3.new(0,20*i,0) wait() end wait(1) bould.CFrame = CFrame.new(bpos.x,bpos.y+20,bpos.z) bould.CFrame = cf(bould.Position,mouse.hit.p)
  3030. bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
  3031. wait(0.5)
  3032. warpdes = false
  3033. game.Debris:AddItem(bould,10)
  3034. for i=i2,i1,-is do
  3035. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  3036. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  3037. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  3038. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  3039. Torw.C1 = ca(0,mr(50*i),0)
  3040. wait()
  3041. end
  3042. Torw.C1 = ca(0,0,0)
  3043. Anim.Act = false
  3044. end
  3045. Anims.ForceWave = function(i1,i2,is,RaigCost)
  3046. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  3047. if Hit == nil then Anim.Act = false return end
  3048. MinusRage(RaigCost)
  3049. Anim.Act = true
  3050. lh2,rh2 = FeetWeld(true,Lh,Rh)
  3051. local bp2 = Instance.new("BodyPosition",Torso)
  3052. bp2.maxForce = Vector3.new(0,math.huge,0)
  3053. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  3054. DebounceSpeed = DebounceSpeed + (1.1*Speed)
  3055. bp2.position = Torso.Position + Vector3.new(0,25,0)
  3056. Dash(Blad1,2.5/Speed)
  3057. Dash(Blad2,2.5/Speed)
  3058. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
  3059. local wavm = BlastMesh:Clone()
  3060. wavm.Parent = wav
  3061. wavm.Scale = Vector3.new(15,6,15)
  3062. local cff = Torso.CFrame - Vector3.new(0,0,0)
  3063. coroutine.resume(coroutine.create(function()
  3064. Dash(Blad1,4/Speed)
  3065. Dash(Blad2,4/Speed)
  3066. for i=i1,i2,is*Speed do
  3067. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  3068. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  3069. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  3070. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  3071. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3072. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3073. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3074. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3075. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  3076. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  3077. wait()
  3078. end for i=i1,i2*3,is*Speed do H1w.C1 = ca(mr(-50),mr(360*i),0) wait() end end)) Sound(Sounds.Cast,0.45,1) for i=i1,i2*5,is do Functions.BrickWarpDesign(Torso,13) wav.CFrame = cff *ca(0,mr(180*i),0) wait() end
  3079. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  3080. for i=i2,i1,-is*Speed do
  3081. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  3082. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  3083. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  3084. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  3085. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3086. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3087. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3088. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3089. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  3090. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  3091. wait()
  3092. end
  3093. bp2:Remove()
  3094. local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  3095. local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
  3096. rpos = math.abs(hitpos.y - Torso.Position.y)
  3097. rpos = rpos - 1.2
  3098. local tpos = Torso.Position
  3099. Hum.WalkSpeed = 0
  3100. Hum.PlatformStand = true
  3101. Dash(Blad2,1.6/Speed,RingMesh.MeshId)
  3102. for i=i1,i2,is do
  3103. bp.position = tpos - Vector3.new(0,rpos*i,0)
  3104. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  3105. Torw.C1 = ca(mr(20*i),0,0)
  3106. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  3107. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  3108. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  3109. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  3110. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  3111. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  3112. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  3113. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  3114. wait()
  3115. end
  3116. wait(0.25)
  3117. Sound(Sounds.Boom,0.5,1)
  3118. Sound(Sounds.EnergyBlast,0.9,1)
  3119. Right = true
  3120. ShockWave(Torso,50,BladeColor)
  3121. wait(1.5)
  3122. Right = false
  3123. local t2pos = Torso.Position
  3124. for i=i2,i1,-is do
  3125. bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
  3126. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  3127. Torw.C1 = ca(mr(20*i),0,0)
  3128. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  3129. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  3130. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  3131. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  3132. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  3133. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  3134. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  3135. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  3136. wait()
  3137. end
  3138. DebounceSpeed = DebounceSpeed - (1.1*Speed)
  3139. bp:Remove()
  3140. bg:Remove()
  3141. Hum.PlatformStand = false
  3142. Hum.WalkSpeed = RealSpeed
  3143. Torw.C1 = ca(0,0,0)
  3144. Anim.Act = false
  3145. Lh,Rh = FeetWeld(false,lh2,rh2)
  3146. end
  3147. Anims.DualSpin = function(i1,i2,is,RaigCost)
  3148. MinusRage(RaigCost)
  3149. Anim.Act = true
  3150. for i=i1,i2,is*Speed do
  3151. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  3152. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  3153. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  3154. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  3155. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  3156. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  3157. wait()
  3158. end
  3159. DebounceSpeed = DebounceSpeed - (0.5*Speed) Right = true Left = true Dash(Blad1,2.6/Speed,nil,2) Dash(Blad2,2.6/Speed,nil,2) local x,y,z = Neck.C0:toEulerAnglesXYZ()
  3160. local soundtime = 0
  3161. for i=i1,i2*4,is*Speed do if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end Torw.C1 = ca(0,mr(i*360),0) Neck.C0 = cf(0,1,0) *ca(x,y,z+mr(-360*i)) wait() end Neck.C0 = cf(0,1,0) *ca(x,y,z)Torw.C1 = ca(0,0,0)
  3162. DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
  3163. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  3164. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  3165. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  3166. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  3167. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  3168. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  3169. wait()
  3170. end Right = false Left = false
  3171. Anim.Act = false
  3172. end
  3173.  
  3174. ----------------------------
  3175. ----------------------------
  3176. ----------------------------
  3177. ----------------------------
  3178.  
  3179. Lh = Torso["Left Hip"]
  3180. Rh = Torso["Right Hip"]
  3181.  
  3182. Functions = {}
  3183. Functions.BoulderTouch = function(hit2,bould)
  3184. print(bould.Name)
  3185. for i,v in pairs(workspace:GetChildren()) do
  3186. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
  3187. if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
  3188. Sound(Sounds.Smash,1,1)
  3189. Dmgz(v.Humanoid,Damage["BoulderForce"])
  3190. table.insert(RightDebounce,v.Name)
  3191. print(v.Name)
  3192. coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
  3193. end
  3194. else
  3195. if v ~= bould and v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-bould.Position).magnitude) < 11 then v:BreakJoints() v.Velocity = cf(bould.Position,v.Position).lookVector*10 + Vector3.new(0,10,0) end
  3196. end
  3197. end -- for
  3198. end
  3199. Functions.Sparkle = function(bb,scal,si)
  3200. if si == nil then si = 1 end
  3201. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  3202. local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
  3203. np.CFrame = cf(rand.x,rand.y,rand.z) *ca(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  3204. local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
  3205. coroutine.resume(coroutine.create(function()
  3206. for i=0,1*si,0.1*si do
  3207. dm.Scale = Vector3.new(1*i,1.25*i,1*i)
  3208. wait()
  3209. end
  3210. end))
  3211. coroutine.resume(coroutine.create(function()
  3212. wait(0.1)
  3213. for i=0,1,0.1 do
  3214. np.Transparency = i
  3215. wait()
  3216. end
  3217. np:Remove()
  3218. end))
  3219. end
  3220. Functions.BrickWarpDesign = function(bb,scal)
  3221. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  3222. local mag = (rand - bb.Position).magnitude
  3223. local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
  3224. np.CFrame = cf(bb.Position,rand)
  3225. np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
  3226. coroutine.resume(coroutine.create(function()
  3227. for i=0.1,1,0.05 do
  3228. np.Transparency = i
  3229. wait()
  3230. end
  3231. np:Remove()
  3232. end))
  3233. end
  3234. Functions.RageRegen = function()
  3235. local lostcontrol = false
  3236. local hpos = Torso.Position.y + 10
  3237. Anim.Move = "RageRegening"
  3238. Anim.Act = true
  3239. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
  3240. local wavm = BlastMesh:Clone()
  3241. wavm.Parent = wav
  3242. local wavv = 0
  3243. wavm.Scale = Vector3.new(5,3.5,5)
  3244. wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
  3245. local bp = Instance.new("BodyPosition",Torso)
  3246. bp.maxForce = Vector3.new(0,math.huge,0)
  3247. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  3248. bp.position = Torso.Position + Vector3.new(0,10,0)
  3249. local bpos = bp.position
  3250. coroutine.resume(coroutine.create(function()
  3251. lh2,rh2 = FeetWeld(true,Lh,Rh)
  3252. if SwordType == "Single" then
  3253. for i=0,1,0.1*Speed do
  3254. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  3255. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  3256. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  3257. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  3258. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3259. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3260. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3261. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3262. wait()
  3263. end
  3264. else
  3265. for i=0,1,0.1*Speed do
  3266. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  3267. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  3268. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  3269. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  3270. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3271. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3272. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3273. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3274. wait()
  3275. end
  3276. end
  3277. local function movezx(i1,i2,is,bp)
  3278. if SwordType == "Single" then
  3279. for i=i1,i2,is*Speed do
  3280. LW.C1 = ca(mr(-120+(20*i)),0,0)
  3281. LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  3282. RW.C1 = ca(mr(-120+(20*i)),0,0)
  3283. RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  3284. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  3285. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  3286. lh2.C0 = cf(-0.7,-1.9,0.35)
  3287. rh2.C0 = cf(0.7,-1.9,0.35)
  3288. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  3289. wait()
  3290. end
  3291. else
  3292. for i=i1,i2,is*Speed do
  3293. LW.C1 = ca(mr(-110),mr(0),0)
  3294. LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  3295. RW.C1 = ca(mr(-110),mr(0),0)
  3296. RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  3297. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  3298. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  3299. lh2.C0 = cf(-0.7,-1.9,0.35)
  3300. rh2.C0 = cf(0.7,-1.9,0.35)
  3301. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  3302. wait()
  3303. end
  3304. end
  3305. end
  3306. local moved = 2
  3307. repeat
  3308. if Rage >= MaxRage or Anim.key.z == false then break end
  3309. if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
  3310. until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
  3311. if SwordType == "Single" then
  3312. for i=1,0,-0.1*Speed do
  3313. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  3314. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  3315. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  3316. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  3317. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3318. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3319. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3320. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3321. wait()
  3322. end
  3323. else
  3324. for i=1,0,-0.1*Speed do
  3325. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  3326. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  3327. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  3328. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  3329. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  3330. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  3331. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  3332. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  3333. wait()
  3334. end
  3335. end
  3336. Lh,Rh = FeetWeld(false,lh2,rh2)
  3337. wait(0.6)
  3338. Anim.Act = false
  3339. Anim.Move = "None"
  3340. end))
  3341. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
  3342. rpos = 0
  3343. Sound(Sounds.Cast,0.8,1)
  3344. repeat wait()
  3345. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  3346. if Hit == nil then lostcontrol = true break end
  3347. hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
  3348. if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
  3349. wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
  3350. until Rage >= MaxRage or Anim.key.z == false
  3351. for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  3352. bp:Remove()
  3353. Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
  3354. end
  3355. Functions.Teleport = function(i1,i2,is,RaigCost)
  3356. Anim.Act = true
  3357. for i=i1,i2,is*Speed do
  3358. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  3359. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  3360. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  3361. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  3362. Torw.C1 = ca(0,mr(50*i),0)
  3363. wait()
  3364. end
  3365. local tele = false
  3366. local tele2 = false -- for mouse
  3367. local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
  3368. coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
  3369. local telepos = Torso.Position
  3370. local telehit = nil
  3371. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
  3372. local wavm = BlastMesh:Clone()
  3373. wavm.Parent = wav
  3374. local wavv = 0
  3375. wavm.Scale = Vector3.new(3.5,2,3.5)
  3376. repeat
  3377. local mpos = mouse.hit.p + Vector3.new(0,2,0)
  3378. telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
  3379. wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
  3380. if telehit ~= nil then wav.Transparency = 0 wav.CFrame = cf(telepos.x,telepos.y+1,telepos.z) *ca(0,mr(wavv),0) else wav.Transparency = 1 end
  3381. wait() until tele == true or tele2 == true mouseact:disconnect()
  3382. if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
  3383. Sound(Sounds.Punch,1,1) for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  3384. wav:Remove()
  3385. else
  3386. MinusRage(RaigCost)
  3387. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  3388. ShockWave(Torso,7,BladeColor)
  3389. Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
  3390. ShockWave(Torso,7,BladeColor)
  3391. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  3392. for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  3393. end
  3394. for i=i2,i1,-is*Speed do
  3395. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  3396. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  3397. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  3398. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  3399. Torw.C1 = ca(0,mr(50*i),0)
  3400. wait()
  3401. end
  3402. Anim.Act = false
  3403. end
  3404.  
  3405. --------------------------------------------------------------------------------------------------------------
  3406. --------------------------------------------------------------------------------------------------------------
  3407. --------------------------------------------------------------------------------------------------------------
  3408. --------------------------------------------------------------------------------------------------------------
  3409. bin.Selected:connect(function(mm)
  3410. Mouse = mouse
  3411. mouse = mm
  3412. Torso["Left Hip"].Part0 = Tor
  3413. Torso["Right Hip"].Part0 = Tor
  3414. RS.Parent = nil
  3415. LS.Parent = nil
  3416. RW.Parent = Torso
  3417. RW.Part0 = Fra
  3418. RW.Part1 = Ra
  3419. LW.Parent = Torso
  3420. LW.Part0 = Fla
  3421. LW.Part1 = La
  3422. RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
  3423. LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
  3424. Anims.Equip(0,1,0.07*Speed)
  3425. Anim.Equipped = true
  3426. mouse.KeyDown:connect(function(key)
  3427. key:lower()
  3428. pcall(function() Anim.key[key:lower()] = true end)
  3429. keydown = true
  3430. if key == "z" and Anim.Move == "None" and not Anim.Act then
  3431. Functions.RageRegen()
  3432. end
  3433. if SwordType == "Single" then
  3434. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
  3435. Anim.Move = "RotorBlade"
  3436. Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
  3437. Anim.Move = "None"
  3438. elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
  3439. Anim.Move = "Boomerang"
  3440. Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
  3441. Anim.Move = "None"
  3442. elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
  3443. Anim.Move = "BoulderForce"
  3444. Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
  3445. Anim.Move = "None"
  3446. elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
  3447. Anim.Move = "ForceWave"
  3448. Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
  3449. Anim.Move = "None"
  3450. elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
  3451. Anim.Move = "Teleport"
  3452. Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
  3453. Anim.Move = "None"
  3454. end
  3455. elseif SwordType == "Dual" then
  3456. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
  3457. Anim.Move = "DualSpin"
  3458. Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
  3459. Anim.Move = "None"
  3460. end
  3461. end
  3462. end)
  3463. mouse.KeyUp:connect(function(key)
  3464. pcall(function() Anim.key[key:lower()] = false end)
  3465. keydown = false
  3466. end)
  3467.  
  3468. mouse.Button1Down:connect(function() Anim.Button = true
  3469. if not Anim.Click and Anim.Move == "None" and not Anim.Act then
  3470. Anim.Click = true
  3471. if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
  3472. if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
  3473. Rage = Rage - RageCost["Berserk"]
  3474. Anim.ComboBreak = true
  3475. Speed = Speed + 0.5
  3476. Anim.CanBerserk = Anim.CanBerserk + 1
  3477. --Anim.Move = "LeftPunch"
  3478. --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
  3479. elseif Anim.CanBerserk == 2 then
  3480. Anim.CanBerserk = 0
  3481. end
  3482. coroutine.resume(coroutine.create(function() local oldcomb = Anim.CanBerserk wait(0.5) if Anim.ComboBreak == true and Anim.CanBerserk == oldcomb then Anim.ComboBreak = false Speed = Speed -0.5 Anim.CanBerserk = 0 end end))
  3483. wait(0.1)
  3484. Anim.Click = false
  3485. end
  3486. end)
  3487. mouse.Button1Up:connect(function() Anim.Button = false
  3488. end)
  3489. end)
  3490. bin.Deselected:connect(function(mouse)
  3491. Anim.Equipped = false
  3492. if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
  3493. Anims.UnEquip(1,0,-0.08*Speed)
  3494. RW.Parent = nil
  3495. LW.Parent = nil
  3496. RS.Parent = Torso
  3497. RS.Part0 = Torso
  3498. RS.Part1 = Ra
  3499. LS.Parent = Torso
  3500. LS.Part0 = Torso
  3501. LS.Part1 = La
  3502. if Rh.Parent == nil then
  3503. FeetWeld(false,Lh,Rh)
  3504. end
  3505. Torso["Left Hip"].Part0 = Torso
  3506. Torso["Right Hip"].Part0 = Torso
  3507. end)
  3508. Hum.WalkSpeed = RealSpeed
  3509. Rage = 100000
  3510. wait(5)
  3511. end)
  3512.  
  3513. addcmd('time', 'change the time of day',{},
  3514. function(args)
  3515. if not args[1]then return end
  3516. local time_=tonumber(args[1])
  3517. Notify('Time set to ' .. args[1])
  3518.  
  3519. game.Lighting:SetMinutesAfterMidnight(time_*60)
  3520. end)
  3521.  
  3522. addcmd('kick', 'kick a player',{},
  3523. function(args)
  3524. local players = getPlayer(args[1])
  3525. for i,v in pairs(players) do
  3526. lol=function(wt) -- thx man
  3527. if(wt~=nil)then
  3528. spawn(function()
  3529. pcall(function()
  3530. local vic=wt
  3531.  
  3532. local skt=Instance.new("SkateboardPlatform", vic)
  3533. skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
  3534. skt.CanCollide=false
  3535. skt.Anchored=false
  3536. skt.Transparency=1
  3537. skt.Size=Vector3.new(5,1,5)
  3538. vic.Humanoid.WalkSpeed=0
  3539. vic.Humanoid.Jump=true
  3540. wait(.2)
  3541. local wld=Instance.new("Weld", workspace)
  3542. wld.Part0=vic.Torso
  3543. wld.Part1=skt
  3544. wld.C0=CFrame.new(0,-500,0)
  3545. wait(.5)
  3546. skt.Anchored=true
  3547. wld:Destroy()
  3548. Notify('Kicked ' .. gPlayers[v].Name)
  3549. end)
  3550. end);
  3551. end;
  3552. end;
  3553. lol(gPlayers[v].Character)
  3554. end
  3555. end)
  3556.  
  3557. addcmd('ban', 'ban a player',{},
  3558. function(args)
  3559. game:GetService("RunService").Heartbeat:connect(function(heart)
  3560. local players = getPlayer(args[1])
  3561. for i,v in pairs(players) do
  3562. lol=function(wt) -- thx man
  3563. if(wt~=nil)then
  3564. spawn(function()
  3565. pcall(function()
  3566. local vic=wt
  3567.  
  3568. local skt=Instance.new("SkateboardPlatform", vic)
  3569. skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
  3570. skt.CanCollide=false
  3571. skt.Anchored=false
  3572. skt.Transparency=1
  3573. skt.Size=Vector3.new(5,1,5)
  3574. vic.Humanoid.WalkSpeed=0
  3575. vic.Humanoid.Jump=true
  3576. wait(.2)
  3577. local wld=Instance.new("Weld", workspace)
  3578. wld.Part0=vic.Torso
  3579. wld.Part1=skt
  3580. wld.C0=CFrame.new(0,-500,0)
  3581. wait(.5)
  3582. skt.Anchored=true
  3583. wld:Destroy()
  3584. Notify('Banned ' .. gPlayers[v].Name)
  3585. end)
  3586. end);
  3587. end;
  3588. end;
  3589. lol(gPlayers[v].Character)
  3590. end
  3591. end)
  3592. end)
  3593.  
  3594. addcmd('unlockws', 'unlock the whole workspace',{'unlock'},
  3595. function(args)
  3596. Notify('Workspace unlocked')
  3597. wait(1)
  3598. local function unlock(instance)
  3599. for i,v in pairs(instance:GetChildren()) do
  3600. if v:IsA("BasePart") then
  3601. v.Locked = false
  3602. end
  3603. unlock(v)
  3604. end
  3605. end
  3606. unlock(workspace)
  3607. end)
  3608.  
  3609. addcmd('lockws', 'lock the whole workspace',{'lock'},
  3610. function(args)
  3611. Notify('Workspace locked')
  3612. wait(1)
  3613. local function lock(instance)
  3614. for i,v in pairs(instance:GetChildren()) do
  3615. if v:IsA("BasePart") then
  3616. v.Locked = true
  3617. end
  3618. lock(v)
  3619. end
  3620. end
  3621. lock(workspace)
  3622. end)
  3623.  
  3624. addcmd('unanchorws', 'unanchor the whole workspace',{'unanchor', 'unanchr'},
  3625. function(args)
  3626. Notify('What have you done ' .. Player.Name .. '!?')
  3627. wait(1)
  3628. local function unanchor(instance)
  3629. for i,v in pairs(instance:GetChildren()) do
  3630. if v:IsA("BasePart") then
  3631. v.Anchored=false
  3632. end
  3633. unanchor(v)
  3634. end
  3635. end
  3636. unanchor(workspace)
  3637. end)
  3638.  
  3639. addcmd('hat', 'give player a hat ingame',{},
  3640. function(args)
  3641. if not args[1] or not args[2] then return end
  3642. local players = getPlayer(args[1])
  3643. local id=args[2]
  3644. local hat = game:GetService("InsertService"):LoadAsset(id)
  3645. if hat:IsA("Hat") then
  3646. for i,v in pairs(players) do
  3647. hat:clone().Parent = _char(v)
  3648. end
  3649. end
  3650. hat:Destroy()
  3651. end)
  3652.  
  3653. addcmd('gear', 'give player a gear ingame',{},
  3654. function(args)
  3655. spawn(function()
  3656. if not args[1] or not args[2] then return end
  3657. local players = getPlayer(args[1])
  3658. local id=args[2]
  3659. local model = game:GetService("InsertService"):LoadAsset(id)
  3660. for i,v in pairs(players) do
  3661. for _,j in pairs(model:GetChildren()) do
  3662. if j:IsA("Tool") then
  3663. j:Clone().Parent = gPlayers[v].Backpack
  3664. Notify('Gave ' .. gPlayers[v].Name .. ' ' .. args[2])
  3665. end
  3666. end
  3667. end
  3668. model:Destroy()
  3669. end)
  3670. end)
  3671.  
  3672. addcmd('skick','kicks a player by shutting them down, takes a few seconds',{},
  3673. function(args)
  3674. local players = getPlayer(args[1])
  3675. for i,v in pairs(players) do
  3676. spawn(function()
  3677. gPlayers[v].PersonalServerRank = 240
  3678. gPlayers[v].Backpack:WaitForChild("ClassicTool")
  3679. gPlayers[v].PersonalServerRank = 0
  3680. end)
  3681. end
  3682. end)
  3683.  
  3684. addcmd('admin', 'gives a player admin',{},
  3685. function(args)
  3686. if not args[1]then return end
  3687. local players = getPlayer(args[1])
  3688. table.foreach(players,function(k,v)
  3689. admins[v]=true
  3690. Notify('Gave' .. gPlayers[v].Name .. ' admin.')
  3691. end)
  3692. for i,v in pairs(players) do
  3693. local pchar = gPlayers[v].Character
  3694. game.Chat:Chat(pchar.Head, "You've been given admin.")
  3695. wait(2.5)
  3696. game.Chat:Chat(pchar.Head, 'Prefix is "' .. cmdprefix .. '"')
  3697. end
  3698. end)
  3699.  
  3700. addcmd('unadmin', 'removes a players admin',{},
  3701. function(args)
  3702. if not args[1] then return end
  3703. local players = getPlayer(args[1])
  3704. table.foreach(players,function(k,v)
  3705. admins[v]=nil
  3706. Notify(gPlayers[v].Name .. ' no longer has Admin.')
  3707. end)
  3708. end)
  3709.  
  3710. addcmd('explorer', 'opens DEX',{},
  3711. function(args)
  3712. function makeThread(str)
  3713. local newstr = "coroutine.resume(coroutine.create(function()\n"
  3714. newstr = newstr .. str .. "\n"
  3715. newstr = newstr .. "end))\n"
  3716. return newstr
  3717. end
  3718.  
  3719. local gui = game:GetObjects("rbxassetid://464671430")[1]
  3720. gui.ExplorerPanel.LocalScript.Source = string.gsub(gui.ExplorerPanel.LocalScript.Source,"script.Parent","game.CoreGui.Dex.ExplorerPanel")
  3721. gui.PropertiesFrame.Properties.Source = string.gsub(gui.PropertiesFrame.Properties.Source,"script.Parent.Parent","game.CoreGui.Dex")
  3722. gui.Selection.Source = string.gsub(gui.Selection.Source,"script.Parent","game.CoreGui.Dex")
  3723. gui.ScriptEditor.LocalScript.Source = string.gsub(gui.ScriptEditor.LocalScript.Source,"script.Parent","game.CoreGui.Dex.ScriptEditor")
  3724. gui.Parent = game.CoreGui
  3725.  
  3726. local a = makeThread(gui.ExplorerPanel.LocalScript.Source)
  3727. local b = makeThread(gui.PropertiesFrame.Properties.Source)
  3728. local c = makeThread(gui.Selection.Source)
  3729. local d = makeThread(gui.ScriptEditor.LocalScript.Source)
  3730.  
  3731. loadstring(a..b..c..d)()
  3732. end)
  3733.  
  3734. addcmd('firstp', 'forces player to go into first person',{},
  3735. function(args)
  3736. local players = getPlayer(args[1])
  3737. for i,v in pairs(players)do
  3738. gPlayers[v].CameraMode = "LockFirstPerson"
  3739. Notify(gPlayers[v].Name .. ' is now first person')
  3740. end
  3741. end)
  3742.  
  3743. addcmd('base', 'spawns a base',{},
  3744. function(args)
  3745. local pt = Instance.new("Part")
  3746. pt.BrickColor = BrickColor.new("Silver")
  3747. pt.Anchored = true
  3748. pt.CanCollide = true
  3749. pt.BottomSurface = "Weld"
  3750. pt.Parent = workspace
  3751. pt.Name = (math.random(1,1000000))
  3752. pt.Size = Vector3.new(1000, 1, 1000)
  3753. Notify('Created new base')
  3754. end)
  3755.  
  3756. addcmd('fix', 'restores lighting and what not',{},
  3757. function(args)
  3758. game.Lighting.Ambient = origsettings.abt
  3759. game.Lighting.Brightness = origsettings.brt
  3760. game.Lighting.TimeOfDay = origsettings.time
  3761. game.Lighting.FogColor = origsettings.fclr
  3762. game.Lighting.FogEnd = origsettings.fe
  3763. game.Lighting.FogStart = origsettings.fs
  3764. end)
  3765.  
  3766. addcmd('thirdp', 'allows player to go into third person',{},
  3767. function(args)
  3768. local players = getPlayer(args[1])
  3769. for i,v in pairs(players)do
  3770. gPlayers[v].CameraMode = "Classic"
  3771. Notify(gPlayers[v].Name .. ' is now third person')
  3772. end
  3773. end)
  3774.  
  3775. addcmd('chat', 'forces player to chat what you input',{},
  3776. function(args)
  3777. local players = getPlayer(args[1])
  3778. local MSG = table.concat(args, " ")
  3779. local newMSG = string.gsub(MSG, args[1] .. " ", "")
  3780. for i,v in pairs(players)do
  3781. game.Chat:Chat(gPlayers[v].Character.Head, newMSG)
  3782. end
  3783. end)
  3784.  
  3785. addcmd('insert', 'inserts a model',{},
  3786. function(args)
  3787. local model = game:GetService("InsertService"):LoadAsset(args[1])
  3788. model.Parent = game.Workspace
  3789. model:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  3790. model:MakeJoints()
  3791. end)
  3792.  
  3793. addcmd('name', 'names player',{},
  3794. function(args)
  3795. local players = getPlayer(args[1])
  3796. local msg = table.concat(args, " ")
  3797. local newmsg = string.gsub(msg, args[1] .. " ", "")
  3798. for i,v in pairs(players) do
  3799. for a, mod in pairs(gPlayers[v].Character:children()) do
  3800. if mod:FindFirstChild("TAG") then
  3801. gPlayers[v].Character.Head.Transparency = 0
  3802. mod:Destroy()
  3803. end
  3804. end
  3805.  
  3806. local char = gPlayers[v].Character
  3807. local model = Instance.new("Model", char)
  3808. local clone = char.Head:Clone()
  3809. local hum = Instance.new("Humanoid", model)
  3810. local weld = Instance.new("Weld", clone)
  3811. model.Name = newmsg
  3812. clone.Parent = model
  3813. hum.Name = "TAG"
  3814. hum.MaxHealth = 100
  3815. hum.Health = 100
  3816. weld.Part0 = clone
  3817. weld.Part1 = char.Head
  3818. char.Head.Transparency = 1
  3819. Notify(gPlayers[v].Name .. ' name set to ' ..newmsg)
  3820. end
  3821. end)
  3822.  
  3823. addcmd('unname', 'unnames player',{},
  3824. function(args)
  3825. local players = getPlayer(args[1])
  3826. local name = (args[2])
  3827. for i,v in pairs(players) do
  3828. for a, mod in pairs(gPlayers[v].Character:children()) do
  3829. if mod:FindFirstChild("TAG") then
  3830. gPlayers[v].Character.Head.Transparency = 0
  3831. mod:Destroy()
  3832. Notify('Unnamed ' ..gPlayers[v].Name)
  3833. end
  3834. end
  3835. end
  3836. end)
  3837.  
  3838. addcmd('stun', 'stuns player',{},
  3839. function(args)
  3840. local players = getPlayer(args[1])
  3841. for i,v in pairs(players) do
  3842. gPlayers[v].Character.Humanoid.PlatformStand = true
  3843. end
  3844. end)
  3845.  
  3846. addcmd('unstun', 'stuns player',{},
  3847. function(args)
  3848. local players = getPlayer(args[1])
  3849. for i,v in pairs(players) do
  3850. gPlayers[v].Character.Humanoid.PlatformStand = false
  3851. end
  3852. end)
  3853.  
  3854. addcmd('sit', 'stuns player',{},
  3855. function(args)
  3856. local players = getPlayer(args[1])
  3857. for i,v in pairs(players) do
  3858. gPlayers[v].Character.Humanoid.Sit = true
  3859. end
  3860. end)
  3861.  
  3862. addcmd('guest', 'ew a guest',{},
  3863. function(args)
  3864. local players = getPlayer(args[1])
  3865. for i,v in pairs(players) do
  3866. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  3867. gPlayers[v].Character:BreakJoints()
  3868. end
  3869. end)
  3870.  
  3871. addcmd('damage', 'damages a player',{},
  3872. function(args)
  3873. local players = getPlayer(args[1])
  3874. for i,v in pairs(players) do
  3875. gPlayers[v].Character.Humanoid.Health = gPlayers[v].Character.Humanoid.Health - 25
  3876. Notify('Gave ' .. gPlayers[v].Name .. ' damage')
  3877. end
  3878. end)
  3879.  
  3880. addcmd('view', 'views player',{},
  3881. function(args)
  3882. local players = getPlayer(args[1])
  3883. for i,v in pairs(players) do
  3884. game.Workspace.CurrentCamera.CameraSubject = gPlayers[v].Character
  3885. Notify('Viewing ' .. gPlayers[v].Name)
  3886. end
  3887. end)
  3888.  
  3889. addcmd('unview', 'stops viewing player',{},
  3890. function()
  3891. game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
  3892. Notify('View turned off')
  3893. end)
  3894.  
  3895. addcmd('nolimbs', 'removes limbs from player',{},
  3896. function(args)
  3897. local players = getPlayer(args[1])
  3898. for i,v in pairs(players) do
  3899. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3900. if v:IsA("BasePart") and
  3901. v.Name == "Right Leg" or
  3902. v.Name == "Left Leg" or
  3903. v.Name == "Right Arm" or
  3904. v.Name == "Left Arm" then
  3905. v:Remove()
  3906. end
  3907. end
  3908. end
  3909. end)
  3910.  
  3911. addcmd('box', 'creates a box around player',{},
  3912. function(args)
  3913. local players = getPlayer(args[1])
  3914. for i,v in pairs(players)do
  3915. local pchar=_char(v)
  3916. local SB = Instance.new("SelectionBox", pchar)
  3917. SB.Adornee = SB.Parent
  3918. SB.Color = BrickColor.new("" .. (args[2]))
  3919. end
  3920. end)
  3921.  
  3922. addcmd('nobox', 'takes away box from player',{'unbox'},
  3923. function(args)
  3924. local players = getPlayer(args[1])
  3925. for i,v in pairs(players)do
  3926. local pchar=_char(v)
  3927. for i,v in pairs(gPlayers[v].Character:GetChildren()) do
  3928. if v:IsA("SelectionBox") then
  3929. v:Destroy()
  3930. end
  3931. end
  3932. end
  3933. end)
  3934.  
  3935. addcmd('ghost', 'ghostifys player',{},
  3936. function(args)
  3937. local players = getPlayer(args[1])
  3938. for i,v in pairs(players)do
  3939. local pchar=gPlayers[v].Character
  3940. pchar.Head.Transparency = 0.5
  3941. pchar.Torso.Transparency = 0.5
  3942. pchar["Left Arm"].Transparency = 0.5
  3943. pchar["Right Arm"].Transparency = 0.5
  3944. pchar["Left Leg"].Transparency = 0.5
  3945. pchar["Right Leg"].Transparency = 0.5
  3946. pchar.Head.face.Transparency = 0.5
  3947. end
  3948. end)
  3949.  
  3950. addcmd('sphere', 'puts sphere around player',{},
  3951. function(args)
  3952. local players = getPlayer(args[1])
  3953. for i,v in pairs(players)do
  3954. local pchar=gPlayers[v].Character
  3955. local SS = Instance.new("SelectionSphere", pchar)
  3956. SS.Adornee = SS.Parent
  3957. end
  3958. end)
  3959.  
  3960. addcmd('loadmap','loads map from model',{},
  3961. function(args)
  3962. pcall(function()
  3963. for i,v in pairs(workspace:GetChildren()) do
  3964. if v.Name~="Camera" and v.Name~="Terrain" then
  3965. v:Destroy()
  3966. end
  3967. end
  3968. workspace.Terrain:Clear()
  3969. for i,v in pairs(game.Players:GetChildren()) do
  3970. local plr = v
  3971. local prt = Instance.new("Model", workspace)
  3972. Instance.new("Part", prt).Name="Torso"
  3973. Instance.new("Part", prt).Name="Head"
  3974. Instance.new("Humanoid", prt).Name="Humanoid"
  3975. plr.Character = prt
  3976. end
  3977. if (args[1]) == "sfotho" then
  3978. local b = Insert(296400126, game.Workspace, "sfotho")
  3979. b:MakeJoints()
  3980. end
  3981. local b = Insert(args[1], game.Workspace, "LoadedMap")
  3982. b:MakeJoints()
  3983. end)
  3984. Notify('Loaded Map')
  3985. end)
  3986.  
  3987. addcmd('ambient','changes ambient',{},
  3988. function(args)
  3989. game.Lighting.Ambient = Color3.new(args[1],args[2],args[3])
  3990. end)
  3991.  
  3992. addcmd('gui','gives YourMom GUI',{},
  3993. function(args)
  3994. loadstring(Insert(289110135, game.CoreGui.RobloxGui).Source)()
  3995. end)
  3996.  
  3997. addcmd('jail','jails player',{},
  3998. function(args)
  3999. local players = getPlayer(args[1])
  4000. for i,v in pairs(players)do
  4001. local pchar=gPlayers[v].Character
  4002. local JailPlayer = DATA.JAIL:Clone()
  4003. JailPlayer.Parent = game.Workspace
  4004. JailPlayer:MoveTo(pchar.Torso.Position)
  4005. JailPlayer.Name = "JAIL_" .. gPlayers[v].Name
  4006. if pchar:FindFirstChild("HumanoidRootPart") then
  4007. pchar.HumanoidRootPart.CFrame = JailPlayer.MAIN.CFrame
  4008. end
  4009. end
  4010. end)
  4011.  
  4012. addcmd('unjail','unjails player',{},
  4013. function(args)
  4014. local players = getPlayer(args[1])
  4015. for i,v in pairs(players)do
  4016. game.Workspace["JAIL_" .. gPlayers[v].Name]:Destroy()
  4017. end
  4018. end)
  4019.  
  4020. addcmd('shutdown', 'shuts the server down',{},
  4021. function(args)
  4022. local function ShutDown(Base)
  4023. for i,v in pairs(Base:GetChildren()) do
  4024. v:Destroy()
  4025. Notify('Shutting Down...')
  4026. end
  4027. end
  4028. ShutDown(game.Players)
  4029. end)
  4030.  
  4031. addcmd('animation','makes player animate',{'anim'},
  4032. function(args)
  4033. local players = getPlayer(args[1])
  4034. for i,v in pairs(players)do
  4035. local pchar = gPlayers[v].Character
  4036. local ID = args[2]
  4037.  
  4038. if args[2] == "climb" then
  4039. ID = "180436334"
  4040. end
  4041. if args[2] == "fall" then
  4042. ID = "180436148"
  4043. end
  4044. if args[2] == "jump" then
  4045. ID = "125750702"
  4046. end
  4047. if args[2] == "sit" then
  4048. ID = "178130996"
  4049. end
  4050. for _,x in pairs(gPlayers[v].Character.Animate:GetChildren()) do
  4051. if x:IsA("StringValue") then
  4052. for _,c in pairs(x:GetChildren()) do
  4053. if c:IsA("Animation") then
  4054. c.AnimationId = "rbxassetid://" .. ID
  4055. end
  4056. end
  4057. end
  4058. end
  4059. end
  4060. end)
  4061.  
  4062. addcmd('normal','turns player back to normal',{},
  4063. function(args)
  4064. local players = getPlayer(args[1])
  4065. for i,v in pairs(players)do
  4066. local pchar = gPlayers[v].Character
  4067.  
  4068. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  4069. pchar.Torso["Right Shoulder"].C0 = CFrame.new(1,0.5,0) * CFrame.Angles(0,math.rad(90),0)
  4070. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-1,0.5,0) * CFrame.Angles(0,math.rad(-90),0)
  4071. pchar.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  4072. pchar.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  4073.  
  4074. for i,v in pairs(pchar.Head:GetChildren()) do
  4075. if v:IsA("SpecialMesh") then
  4076. v:Destroy()
  4077. end
  4078. end
  4079.  
  4080. for i,v in pairs(pchar:GetChildren()) do
  4081. if v:IsA("Shirt") then
  4082. v:Destroy()
  4083. end
  4084. end
  4085.  
  4086. for i,v in pairs(pchar:GetChildren()) do
  4087. if v:IsA("Pants") then
  4088. v:Destroy()
  4089. end
  4090. end
  4091.  
  4092. if Player.Character:FindFirstChild("Shirt Graphic") ~= nil then
  4093. Player.Character["Shirt Graphic"].Graphic = ""
  4094. end
  4095.  
  4096. local HeadMesh = Instance.new("SpecialMesh", pchar.Head)
  4097. HeadMesh.MeshType = "Head"
  4098. HeadMesh.Scale = Vector3.new(1.25, 1.25, 1.25)
  4099.  
  4100. pchar.Head.Transparency = 0
  4101. pchar.Torso.Transparency = 0
  4102. pchar["Left Arm"].Transparency = 0
  4103. pchar["Right Arm"].Transparency = 0
  4104. pchar["Left Leg"].Transparency = 0
  4105. pchar["Right Leg"].Transparency = 0
  4106.  
  4107. for i,v in pairs(pchar.Head:GetChildren()) do
  4108. if v:IsA("Decal") then
  4109. v:Destroy()
  4110. end
  4111. end
  4112.  
  4113. local face = Instance.new("Decal", pchar.Head)
  4114. face.Name = "face"
  4115. face.Texture = "rbxasset://textures/face.png"
  4116. face.Face = "Front"
  4117.  
  4118. for i,v in pairs(pchar:GetChildren()) do
  4119. if v:IsA("Seat") then
  4120. v:Destroy()
  4121. end
  4122. end
  4123.  
  4124. for i,v in pairs(pchar.Torso:GetChildren()) do
  4125. if v:IsA("Weld") then
  4126. v:Destroy()
  4127. end
  4128. end
  4129.  
  4130. for i,v in pairs(pchar.Torso:GetChildren()) do
  4131. if v:IsA("SpecialMesh") then
  4132. v:Destroy()
  4133. end
  4134. end
  4135.  
  4136. pchar["Body Colors"].HeadColor = BrickColor.new("Cool yellow")
  4137. pchar["Body Colors"].LeftArmColor = BrickColor.new("Cool yellow")
  4138. pchar["Body Colors"].LeftLegColor = BrickColor.new("Medium blue")
  4139. pchar["Body Colors"].RightArmColor = BrickColor.new("Cool yellow")
  4140. pchar["Body Colors"].RightLegColor = BrickColor.new("Medium blue")
  4141. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright blue")
  4142. for _,v in pairs(Player.Character:GetChildren()) do
  4143. if v:IsA("Hat") then
  4144. v:Destroy()
  4145. end
  4146. end
  4147. end
  4148. end)
  4149.  
  4150. addcmd('creeper','make the player a creeper',{'crpr'},
  4151. function(args)
  4152. local players = getPlayer(args[1])
  4153. for i,v in pairs(players)do
  4154. local pchar = gPlayers[v].Character
  4155. if gPlayers[v] and pchar and pchar:findFirstChild("Torso") then
  4156. if pchar:FindFirstChild("Shirt") then
  4157. pchar.Shirt.Parent = pchar.Torso
  4158. end
  4159. if pchar:FindFirstChild("Pants") then
  4160. pchar.Pants.Parent = pchar.Torso
  4161. end
  4162. if pchar:FindFirstChild("Shirt Graphic") then
  4163. pchar["Shirt Graphic"].Graphic = ""
  4164. end
  4165. for i,v in pairs(pchar:GetChildren()) do
  4166. if v:IsA("Hat") then
  4167. v:Destroy()
  4168. end
  4169. end
  4170. pchar.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  4171. pchar.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  4172. pchar.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  4173. pchar.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  4174. pchar.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  4175. pchar["Body Colors"].HeadColor = BrickColor.new("Bright green")
  4176. pchar["Body Colors"].LeftArmColor = BrickColor.new("Bright green")
  4177. pchar["Body Colors"].LeftLegColor = BrickColor.new("Bright green")
  4178. pchar["Body Colors"].RightArmColor = BrickColor.new("Bright green")
  4179. pchar["Body Colors"].RightLegColor = BrickColor.new("Bright green")
  4180. pchar["Body Colors"].TorsoColor = BrickColor.new("Bright green")
  4181. end
  4182. end
  4183. end)
  4184.  
  4185. addcmd('uncreeper','makes player back to normal',{},
  4186. function(args)
  4187. local players = getPlayer(args[1])
  4188. for i,v in pairs(players)do
  4189. execCmd("fix " .. gPlayers[v].Name, Player)
  4190. end
  4191. end)
  4192.  
  4193. addcmd('shrek', 'makes player shrek',{},
  4194. function(args)
  4195. local players = getPlayer(args[1])
  4196. for i,v in pairs(players) do
  4197. local pchar = gPlayers[v].Character
  4198. for i,v in pairs(pchar:GetChildren()) do
  4199. if v:IsA("Hat") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  4200. v:Destroy()
  4201. end
  4202. end
  4203. for i,v in pairs(pchar.Head:GetChildren()) do
  4204. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  4205. v:Destroy()
  4206. end
  4207. end
  4208.  
  4209. local mesh = Instance.new("SpecialMesh", pchar.Head)
  4210. mesh.MeshType = "FileMesh"
  4211. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  4212. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  4213. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  4214.  
  4215. local Shirt = Instance.new("Shirt", gPlayers[v].Character)
  4216. local Pants = Instance.new("Pants", gPlayers[v].Character)
  4217.  
  4218. Shirt.ShirtTemplate = "rbxassetid://133078194"
  4219. Pants.PantsTemplate = "rbxassetid://133078204"
  4220. end
  4221. end)
  4222.  
  4223. addcmd('unshrek','makes player back to normal',{},
  4224. function(args)
  4225. local players = getPlayer(args[1])
  4226. for i,v in pairs(players)do
  4227. execCmd("fix " .. gPlayers[v].Name, Player)
  4228. end
  4229. end)
  4230.  
  4231. local Spamming = false
  4232.  
  4233. addcmd('spam','spams text',{},
  4234. function(args)
  4235. Spamming = true
  4236. spawn(function()
  4237. while wait(0) do
  4238. if Spamming == true then
  4239. while wait(0.1) do
  4240. if Spamming == true then
  4241. game.Players:Chat("" .. args[1])
  4242. elseif Spamming == false then
  4243. return
  4244. end
  4245. end
  4246. end
  4247. end
  4248. end)
  4249. end)
  4250.  
  4251. addcmd('nospam','stops spamming',{},
  4252. function(args)
  4253. Spamming = false
  4254. end)
  4255.  
  4256. addcmd('control','controls player',{},
  4257. function(args)
  4258. local players = getPlayer(args[1])
  4259. for i,v in pairs(players)do
  4260. local pchar = gPlayers[v].Character
  4261. if gPlayers[v] and pchar then
  4262. pchar.Humanoid.PlatformStand = true
  4263. local w = Instance.new("Weld", Player.Character.Torso)
  4264. w.Part0 = Player.Character.Torso
  4265. w.Part1 = pchar.Torso
  4266. local w2 = Instance.new("Weld", Player.Character.Head)
  4267. w2.Part0 = Player.Character.Head
  4268. w2.Part1 = pchar.Head
  4269. local w3 = Instance.new("Weld", Player.Character:findFirstChild("Right Arm"))
  4270. w3.Part0 = Player.Character:findFirstChild("Right Arm")
  4271. w3.Part1 = pchar:findFirstChild("Right Arm")
  4272. local w4 = Instance.new("Weld", Player.Character:findFirstChild("Left Arm"))
  4273. w4.Part0 = Player.Character:findFirstChild("Left Arm")
  4274. w4.Part1 = pchar:findFirstChild("Left Arm")
  4275. local w5 = Instance.new("Weld", Player.Character:findFirstChild("Right Leg"))
  4276. w5.Part0 = Player.Character:findFirstChild("Right Leg")
  4277. w5.Part1 = pchar:findFirstChild("Right Leg")
  4278. local w6 = Instance.new("Weld", Player.Character:findFirstChild("Left Leg"))
  4279. w6.Part0 = Player.Character:findFirstChild("Left Leg")
  4280. w6.Part1 = pchar:findFirstChild("Left Leg")
  4281. char.Head.face:Destroy()
  4282. for i,v in pairs(pchar:GetChildren()) do
  4283. if v:IsA("BasePart") then
  4284. v.CanCollide = false
  4285. end
  4286. end
  4287. for i,v in pairs(char:GetChildren()) do
  4288. if v:IsA("BasePart") then
  4289. v.Transparency = 1
  4290. elseif v:IsA("Hat") then
  4291. v:Destroy()
  4292. end
  4293. end
  4294. pchar.Parent = char
  4295. pchar.Humanoid.Changed:connect(function()
  4296. pchar.Humanoid.PlatformStand = true
  4297. end)
  4298. end
  4299. end
  4300. end)
  4301.  
  4302. addcmd('nuke','nukes player',{},
  4303. function(args)
  4304. local players = getPlayer(args[1])
  4305. for i,v in pairs(players)do
  4306. local pchar = gPlayers[v].Character
  4307. if gPlayers[v] and pchar and pchar:FindFirstChild("Torso") then
  4308. local nuke = Instance.new("Part", game.Workspace)
  4309. nuke.Anchored = true
  4310. nuke.CanCollide = false
  4311. nuke.FormFactor = "Symmetric"
  4312. nuke.Shape = "Ball"
  4313. nuke.Size = Vector3.new(1,1,1)
  4314. nuke.BrickColor = BrickColor.new("New Yeller")
  4315. nuke.Transparency = 0.5
  4316. nuke.Reflectance = 0.2
  4317. nuke.TopSurface = 0
  4318. nuke.BottomSurface = 0
  4319. nuke.Touched:connect(function (hit)
  4320. if hit and hit.Parent then
  4321. local boom = Instance.new("Explosion", game.Workspace)
  4322. boom.Position = hit.Position
  4323. boom.BlastRadius = 11
  4324. boom.BlastPressure = math.huge
  4325. end
  4326. end)
  4327. local CF = pchar.Torso.CFrame
  4328. nuke.CFrame = CF
  4329. for i = 1,333 do
  4330. nuke.Size = nuke.Size + Vector3.new(3,3,3)
  4331. nuke.CFrame = CF
  4332. wait(1/44)
  4333. end
  4334. nuke:Destroy()
  4335. end
  4336. end
  4337. end)
  4338.  
  4339. addcmd('infect','infects player',{},
  4340. function(args)
  4341. local players = getPlayer(args[1])
  4342. for i,v in pairs(players)do
  4343. function infect(rip)
  4344. local pchar = gPlayers[v].Character
  4345. for i,v in pairs(pchar:GetChildren()) do
  4346. if v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") then
  4347. v:Destroy()
  4348. Notify(gPlayers[v].Name .. ' is now infected')
  4349. end
  4350. end
  4351. if pchar.Torso:FindFirstChild("roblox") then
  4352. pchar.Torso.roblox:Destroy()
  4353. end
  4354. if pchar.Head:FindFirstChild("face") then
  4355. pchar.Head.face.Texture = "http://www.roblox.com/asset/?id=94634491"
  4356. end
  4357. if pchar:FindFirstChild("Body Colors") then
  4358. local Colors = pchar["Body Colors"]
  4359. local Skin = BrickColor.new("Pastel green")
  4360. local Clothes = BrickColor.new("Reddish brown")
  4361. Colors.HeadColor = Skin
  4362. Colors.LeftArmColor = Skin
  4363. Colors.RightArmColor = Skin
  4364. Colors.LeftLegColor = Clothes
  4365. Colors.RightLegColor = Clothes
  4366. Colors.TorsoColor = Clothes
  4367. end
  4368. local w1 = Instance.new("Weld", pchar)
  4369. w1.Part0 = pchar["Right Arm"]
  4370. w1.Part1 = pchar.Torso
  4371. w1.C0 = CFrame.new(-1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  4372. local w2 = Instance.new("Weld", pchar)
  4373. w2.Part0 = pchar["Left Arm"]
  4374. w2.Part1 = pchar.Torso
  4375. w2.C0 = CFrame.new(1.5, 0.5, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(0))
  4376. local rip = false
  4377. local connect1 = pchar["Left Arm"].Touched:connect(function(hit)
  4378. if connect1 == false then
  4379. connect1 = true
  4380. if game.Players:FindFirstChild(hit.Parent.Name) then
  4381. infect(game.Players[hit.Parent.Name])
  4382. end
  4383. wait(0.5)
  4384. connect1 = true
  4385. end
  4386. end)
  4387. local connect2 = pchar["Right Arm"].Touched:connect(function(hit)
  4388. if connect2 == false then
  4389. connect2 = true
  4390. if game.Players:FindFirstChild(hit.Parent.Name) then
  4391. infect(game.Players[hit.Parent.Name])
  4392. end
  4393. wait(0.5)
  4394. connect2 = true
  4395. end
  4396. end)
  4397. local IV = Instance.new("IntValue", pchar)
  4398. IV.Name = "Infected"
  4399. IV.Value = 0
  4400. IV.Changed:connect(function()
  4401. connect1:disconnect()
  4402. connect2:disconnect()
  4403. end)
  4404. end
  4405. infect(v)
  4406. end
  4407. end)
  4408.  
  4409. addcmd('uninfect','makes player back to normal',{},
  4410. function(args)
  4411. local players = getPlayer(args[1])
  4412. for i,v in pairs(players)do
  4413. execCmd("fix " .. gPlayers[v].Name, Player)
  4414. Notify(gPlayers[v].Name .. 'is no longer infected')
  4415. end
  4416. end)
  4417.  
  4418. addcmd('duck','makes players head a duck',{},
  4419. function(args)
  4420. local players = getPlayer(args[1])
  4421. for i,v in pairs(players)do
  4422. local pchar = gPlayers[v].Character
  4423. for i,v in pairs(pchar.Torso:GetChildren()) do
  4424. if v:IsA("Decal") then
  4425. v:Destroy()
  4426. end
  4427. end
  4428. for i,v in pairs(pchar:GetChildren()) do
  4429. if v:IsA("Hat") then
  4430. v:Destroy()
  4431. end
  4432. end
  4433. local duck = Instance.new("SpecialMesh", pchar.Torso)
  4434. duck.MeshType = "FileMesh"
  4435. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  4436. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  4437. duck.Scale = Vector3.new(5, 5, 5)
  4438. pchar.Head.Transparency = 1
  4439. pchar["Left Arm"].Transparency = 1
  4440. pchar["Right Arm"].Transparency = 1
  4441. pchar["Left Leg"].Transparency = 1
  4442. pchar["Right Leg"].Transparency = 1
  4443. pchar.Head.face.Transparency = 1
  4444. end
  4445. end)
  4446.  
  4447. addcmd('unduck','makes player back to normal',{},
  4448. function(args)
  4449. local players = getPlayer(args[1])
  4450. for i,v in pairs(players)do
  4451. execCmd("fix " .. gPlayers[v].Name, Player)
  4452. end
  4453. end)
  4454.  
  4455. addcmd('disable','removes players humanoid',{},
  4456. function(args)
  4457. local players = getPlayer(args[1])
  4458. for i,v in pairs(players)do
  4459. local pchar = gPlayers[v].Character
  4460. if pchar:FindFirstChild("Humanoid") then
  4461. pchar.Humanoid.Name = "HUMANOID_" .. gPlayers[v].Name
  4462. local humanoid = pchar["HUMANOID_" .. gPlayers[v].Name]
  4463. humanoid.Parent = game.ContextActionService
  4464. Notify(gPlayers[v].Name .. ' has been disabled')
  4465. end
  4466. end
  4467. end)
  4468.  
  4469. addcmd('enable','gives player humanoid',{},
  4470. function(args)
  4471. local players = getPlayer(args[1])
  4472. for i,v in pairs(players)do
  4473. local pchar = gPlayers[v].Character
  4474. if pchar:FindFirstChild("Humanoid") then
  4475. return
  4476. else
  4477. local humanoid = game.ContextActionService["HUMANOID_" .. gPlayers[v].Name]
  4478. humanoid.Parent = pchar
  4479. humanoid.Name = "Humanoid"
  4480. Notify(gPlayers[v].Name .. ' has been enabled')
  4481. end
  4482. end
  4483. end)
  4484.  
  4485. addcmd('size','changes size of player',{},
  4486. function(args)
  4487. local players = getPlayer(args[1])
  4488. for i,v in pairs(players)do
  4489. local pchar = gPlayers[v].Character
  4490. local function scale(chr,scl)
  4491.  
  4492. for _,v in pairs(pchar:GetChildren()) do
  4493. if v:IsA("Hat") then
  4494. v:Clone()
  4495. v.Parent = game.Lighting
  4496. end
  4497. end
  4498.  
  4499. local Head = chr['Head']
  4500. local Torso = chr['Torso']
  4501. local LA = chr['Left Arm']
  4502. local RA = chr['Right Arm']
  4503. local LL = chr['Left Leg']
  4504. local RL = chr['Right Leg']
  4505. local HRP = chr['HumanoidRootPart']
  4506.  
  4507. wait(0.1)
  4508.  
  4509. Head.formFactor = 3
  4510. Torso.formFactor = 3
  4511. LA.formFactor = 3
  4512. RA.formFactor = 3
  4513. LL.formFactor = 3
  4514. RL.formFactor = 3
  4515. HRP.formFactor = 3
  4516.  
  4517. Head.Size = Vector3.new(scl * 2, scl, scl)
  4518. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  4519. LA.Size = Vector3.new(scl, scl * 2, scl)
  4520. RA.Size = Vector3.new(scl, scl * 2, scl)
  4521. LL.Size = Vector3.new(scl, scl * 2, scl)
  4522. RL.Size = Vector3.new(scl, scl * 2, scl)
  4523. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  4524.  
  4525. local Motor1 = Instance.new('Motor6D', Torso)
  4526. Motor1.Part0 = Torso
  4527. Motor1.Part1 = Head
  4528. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  4529. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  4530. Motor1.Name = "Neck"
  4531.  
  4532. local Motor2 = Instance.new('Motor6D', Torso)
  4533. Motor2.Part0 = Torso
  4534. Motor2.Part1 = LA
  4535. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4536. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4537. Motor2.Name = "Left Shoulder"
  4538.  
  4539. local Motor3 = Instance.new('Motor6D', Torso)
  4540. Motor3.Part0 = Torso
  4541. Motor3.Part1 = RA
  4542. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4543. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4544. Motor3.Name = "Right Shoulder"
  4545.  
  4546. local Motor4 = Instance.new('Motor6D', Torso)
  4547. Motor4.Part0 = Torso
  4548. Motor4.Part1 = LL
  4549. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4550. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  4551. Motor4.Name = "Left Hip"
  4552.  
  4553. local Motor5 = Instance.new('Motor6D', Torso)
  4554. Motor5.Part0 = Torso
  4555. Motor5.Part1 = RL
  4556. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4557. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  4558. Motor5.Name = "Right Hip"
  4559.  
  4560. local Motor6 = Instance.new('Motor6D', HRP)
  4561. Motor6.Part0 = HRP
  4562. Motor6.Part1 = Torso
  4563. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  4564. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  4565.  
  4566. end
  4567.  
  4568. scale(pchar, args[2])
  4569.  
  4570. for _,v in pairs(game.Lighting:GetChildren()) do
  4571. if v:IsA("Hat") then
  4572. v.Parent = pchar
  4573. end
  4574. end
  4575. end
  4576. end)
  4577.  
  4578. addcmd('confuse','reverses players speed',{'reverse'},
  4579. function(args)
  4580. local players = getPlayer(args[1])
  4581. for i,v in pairs(players)do
  4582. local pchar = gPlayers[v].Character
  4583. pchar.Humanoid.WalkSpeed = tonumber(-16)
  4584. end
  4585. end)
  4586.  
  4587. addcmd('unconfuse','reverses players speed',{'unreverse'},
  4588. function(args)
  4589. local players = getPlayer(args[1])
  4590. for i,v in pairs(players)do
  4591. local pchar = gPlayers[v].Character
  4592. pchar.Humanoid.WalkSpeed = tonumber(16)
  4593. end
  4594. end)
  4595.  
  4596. addcmd('clone','clones player',{},
  4597. function(args)
  4598. local players = getPlayer(args[1])
  4599. for i,v in pairs(players)do
  4600. local pchar = gPlayers[v].Character
  4601. pchar.Archivable = true
  4602. local clone = pchar:Clone()
  4603. clone.Parent = game.Workspace
  4604. clone:MoveTo(pchar:GetModelCFrame().p)
  4605. clone:MakeJoints()
  4606. pchar.Archivable = false
  4607. end
  4608. end)
  4609.  
  4610. addcmd('spin','spins player',{},
  4611. function(args)
  4612. local players = getPlayer(args[1])
  4613. for i,v in pairs(players)do
  4614. local pchar = gPlayers[v].Character
  4615. for i,v in pairs(pchar.Torso:GetChildren()) do
  4616. if v.Name == "Spinning" then
  4617. v:Destroy()
  4618. end
  4619. end
  4620. local Torso = pchar.Torso
  4621. local BG = Instance.new("BodyGyro", Torso)
  4622. BG.Name = "Spinning"
  4623. BG.maxTorque = Vector3.new(0, math.huge, 0)
  4624. BG.P = 11111
  4625. BG.cframe = Torso.CFrame
  4626. repeat wait(1/44)
  4627. BG.CFrame = BG.CFrame * CFrame.Angles(0,math.rad(30),0)
  4628. until not BG or BG.Parent ~= Torso
  4629. end
  4630. end)
  4631.  
  4632. addcmd('unspin','stops spinning player',{},
  4633. function(args)
  4634. local players = getPlayer(args[1])
  4635. for i,v in pairs(players)do
  4636. local pchar = gPlayers[v].Character
  4637. for i,v in pairs(pchar.Torso:GetChildren()) do
  4638. if v.Name == "Spinning" then
  4639. v:Destroy()
  4640. end
  4641. end
  4642. end
  4643. end)
  4644.  
  4645. addcmd('dog','makes player a dog',{},
  4646. function(args)
  4647. local players = getPlayer(args[1])
  4648. for i,v in pairs(players)do
  4649. local pchar = gPlayers[v].Character
  4650. if pchar:FindFirstChild("Shirt") then
  4651. pchar.Shirt:Destroy()
  4652. end
  4653. if pchar:FindFirstChild("Pants") then
  4654. pchar.Pants:Destroy()
  4655. end
  4656. if pchar:FindFirstChild("Shirt Graphic") then
  4657. pchar["Shirt Graphic"].Graphic = ""
  4658. end
  4659. pchar.Torso.Transparency = 1
  4660. pchar.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  4661. pchar.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  4662. pchar.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  4663. pchar.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  4664. pchar.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  4665. local FakeTorso = Instance.new("Seat", pchar)
  4666. FakeTorso.Name = "FakeTorso"
  4667. FakeTorso.FormFactor = "Symmetric"
  4668. FakeTorso.TopSurface = 0
  4669. FakeTorso.BottomSurface = 0
  4670. FakeTorso.Size = Vector3.new(3,1,4)
  4671. FakeTorso.BrickColor = BrickColor.new("Brown")
  4672. FakeTorso.CFrame = pchar.Torso.CFrame
  4673. local BF = Instance.new("BodyForce", FakeTorso)
  4674. BF.Force = Vector3.new(0, FakeTorso:GetMass() * 196.25, 0)
  4675. local W = Instance.new("Weld", pchar.Torso)
  4676. W.Part0 = pchar.Torso
  4677. W.Part1 = FakeTorso
  4678. W.C0 = CFrame.new(0,-.5,0)
  4679. local BC = pchar["Body Colors"]
  4680. BC.HeadColor = BrickColor.new("Brown")
  4681. BC.LeftArmColor = BrickColor.new("Brown")
  4682. BC.LeftLegColor = BrickColor.new("Brown")
  4683. BC.RightArmColor = BrickColor.new("Brown")
  4684. BC.RightLegColor = BrickColor.new("Brown")
  4685. BC.TorsoColor = BrickColor.new("Brown")
  4686. end
  4687. end)
  4688.  
  4689. addcmd('undog','makes player back to normal',{},
  4690. function(args)
  4691. local players = getPlayer(args[1])
  4692. for i,v in pairs(players)do
  4693. execCmd("fix " .. gPlayers[v].Name, Player)
  4694. end
  4695. end)
  4696.  
  4697. addcmd('tptool','gives player tptool',{''},
  4698. function(args)
  4699. local tool = DATA.Teleport:Clone()
  4700. tool.Parent = Player.Backpack
  4701. end)
  4702.  
  4703. addcmd('loopsit','loop sits player',{},
  4704. function(args)
  4705. local players = getPlayer(args[1])
  4706. for i,v in pairs(players)do
  4707. local pchar = gPlayers[v].Character
  4708. if pchar:FindFirstChild("LoopSit") then
  4709. pchar.LoopSit.Name = "NotLoopSit"
  4710. wait(0.1)
  4711. pchar.NotLoopSit:Destroy()
  4712. end
  4713. local LoopSit = Instance.new("StringValue", pchar)
  4714. LoopSit.Name = "LoopSit"
  4715. Notify(gPlayers[v].Name .. ' is now loopsitting')
  4716. repeat wait(0.1)
  4717. pchar.Humanoid.Sit = true
  4718. Notify(gPlayers[v].Name .. ' is now loopsitting')
  4719. until LoopSit.Name == "NotLoopSit"
  4720. end
  4721. end)
  4722.  
  4723. addcmd('unloopsit','stops loop sit on player',{'noloopsit'},
  4724. function(args)
  4725. local players = getPlayer(args[1])
  4726. for i,v in pairs(players)do
  4727. local pchar = gPlayers[v].Character
  4728. if pchar:FindFirstChild("LoopSit") then
  4729. pchar.LoopSit.Name = "NotLoopSit"
  4730. wait(0.1)
  4731. pchar.NotLoopSit:Destroy()
  4732. Notify(gPlayers[v].Name .. ' is no longer loopsitting')
  4733. end
  4734. end
  4735. end)
  4736.  
  4737. addcmd('loopjump','loop jumps player',{},
  4738. function(args)
  4739. local players = getPlayer(args[1])
  4740. for i,v in pairs(players)do
  4741. local pchar = gPlayers[v].Character
  4742. if pchar:FindFirstChild("LoopJump") then
  4743. pchar.LoopJump.Name = "NotLoopJump"
  4744. wait(0.1)
  4745. pchar.NotLoopJump:Destroy()
  4746. end
  4747. local LoopJump = Instance.new("StringValue", pchar)
  4748. LoopJump.Name = "LoopJump"
  4749. Notify('loopjumping ' .. gPlayers[v].Name)
  4750. repeat wait(0.1)
  4751. pchar.Humanoid.Jump = true
  4752. until LoopJump.Name == "NotLoopJump"
  4753. end
  4754. end)
  4755.  
  4756. addcmd('unloopjump','stops loop jump on player',{'noloopjump'},
  4757. function(args)
  4758. local players = getPlayer(args[1])
  4759. for i,v in pairs(players)do
  4760. local pchar = gPlayers[v].Character
  4761. if pchar:FindFirstChild("LoopJump") then
  4762. pchar.LoopJump.Name = "NotLoopJump"
  4763. wait(0.1)
  4764. pchar.NotLoopJump:Destroy()
  4765. Notify(gPlayers[v].Name .. ' is no longer loopjumping')
  4766. end
  4767. end
  4768. end)
  4769.  
  4770. addcmd('loopheal','loop heals player',{},
  4771. function(args)
  4772. local players = getPlayer(args[1])
  4773. for i,v in pairs(players)do
  4774. local pchar = gPlayers[v].Character
  4775. if pchar:FindFirstChild("LoopHeal") then
  4776. pchar.LoopHeal.Name = "NotLoopHeal"
  4777. wait(0.1)
  4778. pchar.NotLoopHeal:Destroy()
  4779. end
  4780. local LoopHeal = Instance.new("StringValue", pchar)
  4781. LoopHeal.Name = "LoopHeal"
  4782. Notify('loophealing' .. gPlayers[v].Name)
  4783. repeat wait(0.1)
  4784. pchar.Humanoid.Health = pchar.Humanoid.MaxHealth
  4785. until LoopHeal.Name == "NotLoopHeal"
  4786. end
  4787. end)
  4788.  
  4789. addcmd('unloopheal','stops loop heal on player',{'noloopheal'},
  4790. function(args)
  4791. local players = getPlayer(args[1])
  4792. for i,v in pairs(players)do
  4793. local pchar = gPlayers[v].Character
  4794. if pchar:FindFirstChild("LoopHeal") then
  4795. pchar.LoopHeal.Name = "NotLoopHeal"
  4796. wait(0.1)
  4797. pchar.NotLoopHeal:Destroy()
  4798. Notify(gPlayers[v].Name .. ' no longer has loopheal')
  4799. end
  4800. end
  4801. end)
  4802.  
  4803. addcmd('fling','flings player',{},
  4804. function(args)
  4805. local players = getPlayer(args[1])
  4806. for i,v in pairs(players)do
  4807. local pchar = gPlayers[v].Character
  4808. if pchar:FindFirstChild("Humanoid") then
  4809. local xran
  4810. local zran
  4811. repeat
  4812. xran = math.random(-9999,9999)
  4813. until math.abs(xran) >= 5555
  4814. repeat
  4815. zran = math.random(-9999,9999)
  4816. until math.abs(zran) >= 5555
  4817. pchar.Humanoid.Sit = true
  4818. pchar.Torso.Velocity = Vector3.new(0,0,0)
  4819. local BF = Instance.new("BodyForce", pchar.Torso)
  4820. BF.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
  4821. Notify('Flung ' .. gPlayers[v].Name .. ' :D')
  4822. end
  4823. end
  4824. end)
  4825.  
  4826. addcmd('nograv','makes player have moon gravity',{''},
  4827. function(args)
  4828. local players = getPlayer(args[1])
  4829. for i,v in pairs(players)do
  4830. local pchar = gPlayers[v].Character
  4831. for i,v in pairs(pchar.Torso:GetChildren()) do
  4832. if v.Name == "NoGrav" then
  4833. v:Destroy()
  4834. end
  4835. end
  4836. local BF = Instance.new("BodyForce", pchar.Torso)
  4837. BF.Name = "NoGrav"
  4838. BF.Force = Vector3.new(0,2700,0)
  4839. Notify(gPlayers[v].Name .. ' now has nograv')
  4840. end
  4841. end)
  4842.  
  4843. addcmd('grav','makes player have normal gravity',{''},
  4844. function(args)
  4845. local players = getPlayer(args[1])
  4846. for i,v in pairs(players)do
  4847. local pchar = gPlayers[v].Character
  4848. for i,v in pairs(pchar.Torso:GetChildren()) do
  4849. if v.Name == "NoGrav" then
  4850. v:Destroy()
  4851. Notify(gPlayers[v].Name .. ' now has grav')
  4852. end
  4853. end
  4854. end
  4855. end)
  4856.  
  4857. addcmd('seizure','makes player have a seizure',{''},
  4858. function(args)
  4859. local players = getPlayer(args[1])
  4860. for i,v in pairs(players)do
  4861. local pchar = gPlayers[v].Character
  4862. if pchar:FindFirstChild("Seizure") then
  4863.  
  4864. end
  4865. local Seizure = Instance.new("StringValue", pchar)
  4866. Seizure.Name = "Seizure"
  4867. pchar.Humanoid.PlatformStand = true
  4868. repeat wait()
  4869. pchar.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  4870. pchar.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  4871. until Seizure.Name == "NotSeizure"
  4872. end
  4873. end)
  4874.  
  4875. addcmd('unseizure','makes player stop having a seizure',{''},
  4876. function(args)
  4877. local players = getPlayer(args[1])
  4878. for i,v in pairs(players)do
  4879. local pchar = gPlayers[v].Character
  4880. if pchar:FindFirstChild("Seizure") then
  4881. pchar.Humanoid.PlatformStand = false
  4882. pchar.Seizure.Name = "NotSeizure"
  4883. wait(0.1)
  4884. pchar.NotSeizure:Destroy()
  4885. end
  4886. end
  4887. end)
  4888.  
  4889. addcmd('wtrbtools', 'tools from welcome to roblox building',{},
  4890. function(args)
  4891. x = game:GetService("InsertService"):LoadAsset(73089166)
  4892. for i,v in pairs(x:GetChildren()) do
  4893. v.Parent = game.Players.LocalPlayer.Backpack
  4894. end
  4895. x:Remove()
  4896. x = game:GetService("InsertService"):LoadAsset(73089204)
  4897. for i,v in pairs(x:GetChildren()) do
  4898. v.Parent = game.Players.LocalPlayer.Backpack
  4899. end
  4900. x:Remove()
  4901. x = game:GetService("InsertService"):LoadAsset(73089190)
  4902. for i,v in pairs(x:GetChildren()) do
  4903. v.Parent = game.Players.LocalPlayer.Backpack
  4904. end
  4905. x:Remove()
  4906. x = game:GetService("InsertService"):LoadAsset(58880579)
  4907. for i,v in pairs(x:GetChildren()) do
  4908. v.Parent = game.Players.LocalPlayer.Backpack
  4909. end
  4910. x:Remove()
  4911. x = game:GetService("InsertService"):LoadAsset(60791062)
  4912. for i,v in pairs(x:GetChildren()) do
  4913. v.Parent = game.Players.LocalPlayer.Backpack
  4914. end
  4915. x:Remove()
  4916. x = game:GetService("InsertService"):LoadAsset(73089239)
  4917. for i,v in pairs(x:GetChildren()) do
  4918. v.Parent = game.Players.LocalPlayer.Backpack
  4919. end
  4920. x:Remove()
  4921. end)
  4922.  
  4923. addcmd('cape','gives you a cape',{''},
  4924. function(args)
  4925. if not args[1] then
  4926. args[1] = 1012
  4927. end
  4928. capeColor = args[1]
  4929. Cape(Player)
  4930. end)
  4931.  
  4932. addcmd('m','makes a global message :0',{''},
  4933. function(args)
  4934. local MSG = table.concat(args, " ")
  4935. local newMSG = string.gsub(MSG, args[1] .. " ", "")
  4936. _G.msg(MSG)
  4937. end)
  4938.  
  4939. addcmd('uncape','takes cape away from you',{''},
  4940. function(args)
  4941. if char:FindFirstChild("Cape") ~= nil then
  4942. char.Cape:Destroy()
  4943. end
  4944. end)
  4945.  
  4946. addcmd('paper','makes player thin as paper',{''},
  4947. function(args)
  4948. local players = getPlayer(args[1])
  4949. for i,v in pairs(players)do
  4950. local pchar = gPlayers[v].Character
  4951. local LA = DATA.Paper:Clone()
  4952. LA.Parent = pchar["Left Arm"]
  4953. local RA = DATA.Paper:Clone()
  4954. RA.Parent = pchar["Right Arm"]
  4955. local LL = DATA.Paper:Clone()
  4956. LL.Parent = pchar["Left Leg"]
  4957. local RL = DATA.Paper:Clone()
  4958. RL.Parent = pchar["Right Leg"]
  4959. local T = DATA.Paper:Clone()
  4960. T.Parent = pchar.Torso
  4961. local H = DATA.Paper:Clone()
  4962. H.Parent = pchar.Head
  4963. pchar.Head.face:Destroy()
  4964. end
  4965. end)
  4966.  
  4967. addcmd('punish','punishs player',{''},
  4968. function(args)
  4969. local players = getPlayer(args[1])
  4970. for i,v in pairs(players)do
  4971. local pchar = gPlayers[v].Character
  4972. pchar.Parent = game.Lighting
  4973. Notify(gPlayers[v].Name .. ' has been punished')
  4974. end
  4975. end)
  4976.  
  4977. addcmd('unpunish','unpunishs player',{''},
  4978. function(args)
  4979. local players = getPlayer(args[1])
  4980. for i,v in pairs(players)do
  4981. if game.Lighting:FindFirstChild("" .. gPlayers[v].Name) then
  4982. game.Lighting:FindFirstChild("" .. gPlayers[v].Name).Parent = game.Workspace
  4983. Notify(gPlayers[v].Name .. ' has been unpunished')
  4984. end
  4985. end
  4986. end)
  4987.  
  4988. addcmd('disco','disco party',{''},
  4989. function(args)
  4990. Disco = true
  4991. if Disco == true then
  4992. repeat wait(0.3)
  4993. game.Lighting.Ambient = Color3.new(math.random(),math.random(),math.random())
  4994. until Disco == false
  4995. end
  4996. end)
  4997.  
  4998. addcmd('undisco','rip disco party',{''},
  4999. function(args)
  5000. Disco = false
  5001. wait(0.1)
  5002. game.Lighting.Ambient = Color3.new(0.5,0.5,0.5)
  5003. end)
  5004.  
  5005. -----------
  5006. ---Extra---
  5007. -----------
  5008.  
  5009. Floating = false
  5010.  
  5011. addcmd('float', 'makes player float',{},
  5012. function(args,speaker)
  5013. Floating = true
  5014. local players = getPlayer(args[1])
  5015. for _,v in pairs(players) do
  5016. local pchar = gPlayers[v].Character
  5017. if gPlayers[v] and pchar and not pchar:FindFirstChild("Float") then
  5018. spawn(function()
  5019. local float = DATA.Float:Clone()
  5020. float.Parent = pchar
  5021. float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  5022. spawn(function()
  5023. Notify(gPlayers[v].Name .. ' now has float')
  5024. while wait(0.1) do
  5025. if pchar:FindFirstChild("Float") then
  5026. float.CFrame = pchar.Torso.CFrame * CFrame.new(0,-3.5,0)
  5027. else
  5028. break
  5029. end
  5030. end
  5031. end)
  5032. end)
  5033. end
  5034. end
  5035. end)
  5036.  
  5037. addcmd('unfloat','disables floating',{},
  5038. function(args)
  5039. Floating = false
  5040. local players = getPlayer(args[1])
  5041. for i,v in pairs(players)do
  5042. local pchar = gPlayers[v].Character
  5043. if pchar:FindFirstChild("Float") then
  5044. pchar.Float:Destroy()
  5045. Notify(gPlayers[v].Name .. ' no longer has float')
  5046. end
  5047. end
  5048. end)
  5049.  
  5050. local Clip = true
  5051.  
  5052. addcmd('noclip','enables noclip',{},
  5053. function(args)
  5054. Notify('NoClip enabled')
  5055. Clip = false
  5056. wait(1)
  5057. Name = game.Players.LocalPlayer.Name
  5058. game:GetService('Players').LocalPlayer.PlayerGui.ChildAdded:connect(function (NC)
  5059. delay(0, function()
  5060. if NC.Name ~= "Memes" then
  5061. NC:Destroy()
  5062. end
  5063. end)
  5064. end)
  5065. game:GetService('RunService').Stepped:connect(function ()
  5066. game.Workspace[Name].Torso.CanCollide = Clip
  5067. game.Workspace[Name].Head.CanCollide = Clip
  5068. end)
  5069. game.Workspace[Name].Torso.Changed:connect(function()
  5070. game.Workspace[Name].Torso.CanCollide = Clip
  5071. game.Workspace[Name].Head.CanCollide = Clip
  5072. end)
  5073. end)
  5074.  
  5075. addcmd('clip','disables noclip',{},
  5076. function(args)
  5077. Notify('NoClip disabled')
  5078. Clip = true
  5079. end)
  5080.  
  5081. wait(0.1)
  5082.  
  5083. addcmd('prefix','changes prefix',{},
  5084. function(args)
  5085. cmdprefix = args[1]
  5086. Notify('Changed prefix to "' .. args[1] .. '"')
  5087. end)
  5088.  
  5089. addcmd('admins','prints admins',{},
  5090. function(args)
  5091. for i,v in pairs(AdminFolder:GetChildren()) do
  5092. if v:IsA("StringValue") then
  5093. print("-" .. v.Value)
  5094. Notify('Printed Admins, Check Console')
  5095. end
  5096. end
  5097. end)
  5098.  
  5099. addcmd('respawn','respawns',{},
  5100. function(args)
  5101. local players = getPlayer(args[1])
  5102. for i,v in pairs(players) do
  5103. local M = Instance.new('Model', gWorkspace) M.Name = 'respawn_seth'
  5104. local H = Instance.new('Humanoid', M)
  5105. local T = Instance.new('Part', M) T.Name = 'Torso' T.CanCollide = false T.Transparency = 1
  5106. gPlayers[v].Character = M
  5107. end
  5108. end)
  5109.  
  5110. addcmd('bans','prints bans',{},
  5111. function(args)
  5112. for i,v in pairs(BanFolder:GetChildren()) do
  5113. if v:IsA("StringValue") then
  5114. print("-" .. v.Value)
  5115. Notify('Printed Bans, Check Console (F9)')
  5116. end
  5117. end
  5118. end)
  5119.  
  5120. addcmd('version','shows version',{''},
  5121. function(args)
  5122. Notify("Version is " .. Version)
  5123. end)
  5124.  
  5125. -----------------------
  5126. -----Floating data-----
  5127. -----------------------
  5128.  
  5129. Mouse.KeyDown:connect(function (Key)
  5130. if Key:byte() == 29 then
  5131. if Floating == false then
  5132. execCmd("float me", Player)
  5133. Floating = true
  5134. elseif Floating == true then
  5135. execCmd("unfloat me", Player)
  5136. Floating = false
  5137. end
  5138. end
  5139. end)
  5140.  
  5141. --------------
  5142. ---Ban data---
  5143. --------------
  5144.  
  5145. for i,v in pairs(BannedPlayers) do
  5146. local ban = Instance.new("StringValue", BanFolder)
  5147. ban.Value = v
  5148. ban.RobloxLocked = true
  5149. end
  5150.  
  5151. spawn(function ()
  5152. while wait(0.1) do
  5153. for _,a in pairs(game.ContextActionService:GetChildren()) do
  5154. if a.Name == "BanList" then
  5155. for _,b in pairs(a:GetChildren()) do
  5156. if b:IsA("StringValue") then
  5157. for _,c in pairs(game.Players:GetChildren()) do
  5158. if c.Name == b.Value then
  5159. c.PersonalServerRank = 200
  5160. wait(0.1)
  5161. c.PersonalServerRank = 0
  5162. end
  5163. end
  5164. end
  5165. end
  5166. end
  5167. end
  5168. end
  5169. end)
  5170.  
  5171. ---------
  5172. --Admin--
  5173. ---------
  5174.  
  5175. for i,v in pairs(admins) do
  5176. local admin = Instance.new("StringValue", AdminFolder)
  5177. admin.Value = v
  5178. admin.RobloxLocked = true
  5179. end
  5180.  
  5181. spawn(function ()
  5182. while wait(0.1) do
  5183. for _,a in pairs(game.ContextActionService:GetChildren()) do
  5184. if a.Name == "AdminList" then
  5185. for _,b in pairs(a:GetChildren()) do
  5186. if b:IsA("StringValue") then
  5187. for _,c in pairs(game.Players:GetChildren()) do
  5188. if c.Name == b.Value then
  5189. execCmd('admin ' .. c.Name)
  5190. end
  5191. end
  5192. end
  5193. end
  5194. end
  5195. end
  5196. end
  5197. end)
  5198.  
  5199.  
  5200.  
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206.  
  5207.  
  5208.  
  5209.  
  5210.  
  5211.  
  5212. -------------------------
  5213. -----Long space lmao-----
  5214. -------------------------
  5215.  
  5216.  
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224.  
  5225.  
  5226.  
  5227.  
  5228. -------------------
  5229. ----Command bar----
  5230. -------------------
  5231.  
  5232. CMDbar = Instance.new('ScreenGui', game.CoreGui)
  5233. CMDbar.Name = 'GUI'
  5234. cmdBAR = Instance.new('TextBox', CMDbar)
  5235. cmdBAR.Name = 'CMDbar'
  5236. cmdBAR.Active = true
  5237. cmdBAR.BackgroundColor = BrickColor.new(255,255,255)
  5238. cmdBAR.BackgroundTransparency = 0.5
  5239. cmdBAR.BorderColor = BrickColor.new(255,255,255)
  5240. cmdBAR.BorderSizePixel = 0
  5241. cmdBAR.Position = UDim2.new(0,0,-25,-25)
  5242. cmdBAR.Size = UDim2.new(0,200,0,20)
  5243. cmdBAR.Font = 'SourceSans'
  5244. cmdBAR.FontSize = 'Size18'
  5245. cmdBAR.Text = 'Press ; to Execute a Command'
  5246. cmdBAR.TextColor = BrickColor.new(0,0,0)
  5247.  
  5248. -------------------
  5249. ----Random data----
  5250. -------------------
  5251.  
  5252. DATA = Instance.new('Folder', game.ContextActionService)
  5253. DATA.Name = 'Data'
  5254.  
  5255. Paper = Instance.new('BlockMesh', DATA)
  5256. Paper.Name = 'Paper'
  5257. Paper.Scale = Vector3.new(1,1,0.1)
  5258.  
  5259. ayylmao = Instance.new('Hat', DATA)
  5260. ayylmao.Name = 'ayylmao'
  5261. ayyHandle = Instance.new('Part', ayylmao)
  5262. ayyHandle.Name = 'Handle'
  5263. ayyHandle.Size = Vector3.new(2,2.4,2)
  5264. ayyHandle.FormFactor = 'Plate'
  5265. ayyMesh = Instance.new('SpecialMesh', ayyHandle)
  5266. ayyMesh.Scale = Vector3.new(1,1.02,1)
  5267. ayyMesh.MeshType = 'FileMesh'
  5268. ayyMesh.MeshId = 'http://www.roblox.com/asset/?id=13827689'
  5269. ayyMesh.TextureId = 'http://www.roblox.com/asset/?id=13827796'
  5270.  
  5271. Float = Instance.new('Part', DATA)
  5272. Float.Name = 'Float'
  5273. Float.Transparency = 1
  5274. Float.Size = Vector3.new(6,1,6)
  5275. Float.Anchored = true
  5276.  
  5277. ---------------------------
  5278. --Commands GUI properties--
  5279. ---------------------------
  5280.  
  5281. cmdGUI = Instance.new('ScreenGui', DATA)
  5282. cmdGUI.Name = 'CMDs'
  5283. cmdMAIN = Instance.new('Frame', cmdGUI)
  5284. cmdMAIN.Name = 'MAIN'
  5285. cmdMAIN.Active = true
  5286. cmdMAIN.BackgroundColor = BrickColor.new(255,255,255)
  5287. cmdMAIN.BackgroundTransparency = 0.5
  5288. cmdMAIN.BorderColor = BrickColor.new(0,0,0)
  5289. cmdMAIN.BorderSizePixel = 0
  5290. cmdMAIN.Position = UDim2.new(0, 0, 0.7, 0)
  5291. cmdMAIN.Size = UDim2.new(0,170,0,15)
  5292. cmdMAIN.Draggable = true
  5293. cmdCMDs = Instance.new('ScrollingFrame', cmdMAIN)
  5294. cmdCMDs.Name = 'CMDs'
  5295. cmdCMDs.BackgroundColor = BrickColor.new(255,255,255)
  5296. cmdCMDs.BackgroundTransparency = 0.8
  5297. cmdCMDs.BorderColor = BrickColor.new(0,0,0)
  5298. cmdCMDs.BorderSizePixel = 0
  5299. cmdCMDs.Position = UDim2.new(0,0,0,15)
  5300. cmdCMDs.Size = UDim2.new(0,200,0,150)
  5301. cmdCMDs.CanvasSize = UDim2.new(0,0,0,0)
  5302. cmdCMDs.TopImage = 'rbxasset://textures/blackBkg_square.png'
  5303. cmdCMDs.MidImage = 'rbxasset://textures/blackBkg_square.png'
  5304. cmdCMDs.BottomImage = 'rbxasset://textures/blackBkg_square.png'
  5305. cmdCMDs.ScrollBarThickness = 5
  5306. cmdExit = Instance.new('TextButton', cmdMAIN)
  5307. cmdExit.Name = 'Exit'
  5308. cmdExit.BackgroundColor = BrickColor.new(255,0,0)
  5309. cmdExit.BackgroundTransparency = 0.5
  5310. cmdExit.BorderColor = BrickColor.new(255,0,0)
  5311. cmdExit.BorderSizePixel = 0
  5312. cmdExit.Position = UDim2.new(0,185,0,0)
  5313. cmdExit.Size = UDim2.new(0,15,0,15)
  5314. cmdExit.Text = ""
  5315. ExitScript = Instance.new('LocalScript', cmdExit)
  5316. ExitScript.Source =
  5317. [[
  5318. script.Parent.MouseButton1Down:connect(function()
  5319. script.Parent.Parent.CMDs:Destroy()
  5320. end)
  5321. ]]
  5322. cmdMin = Instance.new('TextButton', cmdMAIN)
  5323. cmdMin.Name = 'MM'
  5324. cmdMin.BackgroundColor = BrickColor.new(0.3,0.3,0.3)
  5325. cmdMin.BackgroundTransparency = 0.5
  5326. cmdMin.BorderColor = BrickColor.new(140,140,140)
  5327. cmdMin.BorderSizePixel = 0
  5328. cmdMin.Position = UDim2.new(0,170,0,0)
  5329. cmdMin.Size = UDim2.new(0,15,0,15)
  5330. cmdMin.Text = ""
  5331. MinScript = Instance.new('LocalScript', cmdMin)
  5332. MinScript.Source =
  5333. [[
  5334. local CMDs = script.Parent.Parent.CMDs
  5335.  
  5336. script.Parent.MouseButton1Down:connect(function()
  5337. if CMDs.Visible == true then
  5338. CMDs.Visible = false
  5339. elseif CMDs.Visible == false then
  5340. CMDs.Visible = true
  5341. end
  5342. end)
  5343. ]]
  5344. cmdEx = Instance.new('TextLabel', cmdMAIN)
  5345. cmdEx.Name = 'Example'
  5346. cmdEx.BackgroundColor = BrickColor.new(0,0,0)
  5347. cmdEx.BackgroundTransparency = 0.8
  5348. cmdEx.BorderColor = BrickColor.new(0,0,0)
  5349. cmdEx.BorderSizePixel = 0
  5350. cmdEx.Position = UDim2.new(0,5,0,20)
  5351. cmdEx.Size = UDim2.new(0,190,0,20)
  5352. cmdEx.Visible = false
  5353. cmdEx.TextColor = BrickColor.new(255,255,255)
  5354. cmdEx.TextXAlignment = 'Left'
  5355.  
  5356. memeGUI = Instance.new('ScreenGui', DATA)
  5357. memeGUI.Name = 'Memes'
  5358. memeImage = Instance.new('ImageLabel', memeGUI)
  5359. memeImage.BackgroundTransparency = 1
  5360. memeImage.Position = UDim2.new(0,-300,1,-150)
  5361. memeImage.Size = UDim2.new(0,300,0,300)
  5362. memeImage.Rotation = -30
  5363. memeImage.Image = 'rbxassetid://343377229'
  5364. memeScript = Instance.new('LocalScript', memeGUI)
  5365. memeScript.Source =
  5366. [[
  5367. local meme = script.Parent.ImageLabel
  5368.  
  5369. wait(2)
  5370.  
  5371. meme:TweenPosition(UDim2.new(1, 0, 1, -150), "InOut", "Quad", 3, true, nil)
  5372. ]]
  5373.  
  5374. espMAIN = Instance.new('BillboardGui', DATA)
  5375. espMAIN.Name = 'MAIN'
  5376. espMAIN.AlwaysOnTop = true
  5377. espMAIN.ExtentsOffset = Vector3.new(0,1,0)
  5378. espMAIN.Size = UDim2.new(0,5,0,5)
  5379. espMAIN.StudsOffset = Vector3.new(0,1,0)
  5380. espDot = Instance.new('Frame', espMAIN)
  5381. espDot.BackgroundColor = BrickColor.new(42,181,255)
  5382. espDot.BackgroundTransparency = 0.3
  5383. espDot.BorderSizePixel = 0
  5384. espDot.Position = UDim2.new(-0.5,0,-0.5,0)
  5385. espDot.Size = UDim2.new(2,0,2,0)
  5386. espDot.Visible = false
  5387. espDot.ZIndex = 10
  5388. espName = Instance.new('TextLabel', espMAIN)
  5389. espName.Name = 'Name'
  5390. espName.BackgroundColor = BrickColor.new(0,0,0)
  5391. espName.BackgroundTransparency = 1
  5392. espName.BorderColor = BrickColor.new(0,0,0)
  5393. espName.BorderSizePixel = 0
  5394. espName.Position = UDim2.new(0,0,0,-35)
  5395. espName.Size = UDim2.new(1,0,10,0)
  5396. espName.Visible = false
  5397. espName.ZIndex = 10
  5398.  
  5399. -------------------------
  5400. ----Notify properties----
  5401. -------------------------
  5402.  
  5403. notifyMAIN = Instance.new('ScreenGui', DATA)
  5404. notifyMAIN.Name = 'Notification'
  5405. notifyNOT = Instance.new('Frame', notifyMAIN)
  5406. notifyNOT.Name = 'NOTIFY'
  5407. notifyNOT.BackgroundColor = BrickColor.new(255,255,255)
  5408. notifyNOT.BackgroundTransparency = 0.5
  5409. notifyNOT.BorderColor = BrickColor.new(255,255,255)
  5410. notifyNOT.BorderSizePixel = 2
  5411. notifyNOT.Position = UDim2.new(0,-200,0.7,0)
  5412. notifyNOT.Size = UDim2.new(0,400,0,50)
  5413. notifyNOTE = Instance.new('TextLabel', notifyNOT)
  5414. notifyNOTE.Name = 'NOTE'
  5415. notifyNOTE.BackgroundColor = BrickColor.new(255,255,255)
  5416. notifyNOTE.BackgroundTransparency = 1
  5417. notifyNOTE.BorderColor = BrickColor.new(255,255,255)
  5418. notifyNOTE.BorderSizePixel = 0
  5419. notifyNOTE.Size = UDim2.new(1,0,1,0)
  5420. notifyNOTE.ZIndex = 10
  5421. notifyNOTE.FontSize = 'Size24'
  5422. notifyNOTE.Font = 'SourceSans'
  5423. notifyNOTE.Text = 'NOTIFY'
  5424. notifyNOTE.TextColor = BrickColor.new(0,0,0)
  5425. notifyNOTE.TextStrokeColor3 = Color3.new(255,255,255)
  5426. notifyNOTE.TextStrokeTransparency = 0.8
  5427.  
  5428. tpTool = Instance.new('HopperBin', DATA)
  5429. tpTool.Name = 'Teleport'
  5430. tpScript = Instance.new('LocalScript', tpTool)
  5431. tpScript.Source =
  5432. [[
  5433. local Player = game.Players.LocalPlayer
  5434. local Mouse = Player:GetMouse()
  5435.  
  5436. local Tool = script.Parent
  5437.  
  5438. Mouse.Button1Down:connect(function()
  5439. if Mouse.Target and Tool.Active then
  5440. Player.Character.HumanoidRootPart.CFrame = Mouse.Hit + Vector3.new(0,2,0)
  5441. end
  5442. end)
  5443. ]]
  5444.  
  5445. modJAIL = Instance.new('Model', DATA)
  5446. modJAIL.Name = 'JAIL'
  5447. botJAIL = Instance.new('Part', modJAIL)
  5448. botJAIL.Name = 'BOTTOM'
  5449. botJAIL.BrickColor = BrickColor.new('Black')
  5450. botJAIL.Transparency = 0.5
  5451. botJAIL.Position = Vector3.new(-6.2,0.5,-11.6)
  5452. botJAIL.Anchored = true
  5453. botJAIL.Locked = true
  5454. botJAIL.Size = Vector3.new(6,1,6)
  5455. botJAIL.TopSurface = 'Smooth'
  5456. botJAIL.BottomSurface = 'Smooth'
  5457. topJAIL = Instance.new('Part', modJAIL)
  5458. topJAIL.Name = 'BOTTOM'
  5459. topJAIL.BrickColor = BrickColor.new('Black')
  5460. topJAIL.Transparency = 0.5
  5461. topJAIL.Position = Vector3.new(-6.2,7.5,-11.6)
  5462. topJAIL.Anchored = true
  5463. topJAIL.Locked = true
  5464. topJAIL.Size = Vector3.new(6,1,6)
  5465. topJAIL.TopSurface = 'Smooth'
  5466. topJAIL.BottomSurface = 'Smooth'
  5467. p1 = Instance.new('Part', modJAIL)
  5468. p1.Name = 'MAIN'
  5469. p1.BrickColor = BrickColor.new('Black')
  5470. p1.Transparency = 1
  5471. p1.Position = Vector3.new(-8.7,4,-11.6)
  5472. p1.Rotation = Vector3.new(-180,0,-180)
  5473. p1.Anchored = true
  5474. p1.Locked = true
  5475. p1.Size = Vector3.new(1,6,4)
  5476. p1.TopSurface = 'Smooth'
  5477. p1.BottomSurface = 'Smooth'
  5478. p2 = Instance.new('Part', modJAIL)
  5479. p2.BrickColor = BrickColor.new('Black')
  5480. p2.Transparency = 0.5
  5481. p2.Position = Vector3.new(-3.7,4,-14.1)
  5482. p2.Anchored = true
  5483. p2.Locked = true
  5484. p2.Size = Vector3.new(1,6,1)
  5485. p2.TopSurface = 'Smooth'
  5486. p2.BottomSurface = 'Smooth'
  5487. p3 = Instance.new('Part', modJAIL)
  5488. p3.BrickColor = BrickColor.new('Black')
  5489. p3.Transparency = 0.5
  5490. p3.Position = Vector3.new(-8.7,4,-9.1)
  5491. p3.Anchored = true
  5492. p3.Locked = true
  5493. p3.Size = Vector3.new(1,6,1)
  5494. p3.TopSurface = 'Smooth'
  5495. p3.BottomSurface = 'Smooth'
  5496. p4 = Instance.new('Part', modJAIL)
  5497. p4.BrickColor = BrickColor.new('Black')
  5498. p4.Transparency = 0.5
  5499. p4.Position = Vector3.new(-3.7,4,-9.1)
  5500. p4.Anchored = true
  5501. p4.Locked = true
  5502. p4.Size = Vector3.new(1,6,1)
  5503. p4.TopSurface = 'Smooth'
  5504. p4.BottomSurface = 'Smooth'
  5505. p5 = Instance.new('Part', modJAIL)
  5506. p5.BrickColor = BrickColor.new('Black')
  5507. p5.Transparency = 0.5
  5508. p5.Position = Vector3.new(-8.7,4,-14.1)
  5509. p5.Anchored = true
  5510. p5.Locked = true
  5511. p5.Size = Vector3.new(1,6,1)
  5512. p5.TopSurface = 'Smooth'
  5513. p5.BottomSurface = 'Smooth'
  5514. p6 = Instance.new('Part', modJAIL)
  5515. p6.BrickColor = BrickColor.new('Black')
  5516. p6.Transparency = 1
  5517. p6.Position = Vector3.new(-6.2,4,-14.1)
  5518. p6.Rotation = Vector3.new(0,90,0)
  5519. p6.Anchored = true
  5520. p6.Locked = true
  5521. p6.Size = Vector3.new(1,6,4)
  5522. p6.TopSurface = 'Smooth'
  5523. p6.BottomSurface = 'Smooth'
  5524. p7 = Instance.new('Part', modJAIL)
  5525. p7.BrickColor = BrickColor.new('Black')
  5526. p7.Transparency = 1
  5527. p7.Position = Vector3.new(-3.7,4,-11.6)
  5528. p7.Anchored = true
  5529. p7.Locked = true
  5530. p7.Size = Vector3.new(1,6,4)
  5531. p7.TopSurface = 'Smooth'
  5532. p7.BottomSurface = 'Smooth'
  5533. p8 = Instance.new('Part', modJAIL)
  5534. p8.BrickColor = BrickColor.new('Black')
  5535. p8.Transparency = 1
  5536. p8.Position = Vector3.new(-6.2,4,-9.1)
  5537. p8.Rotation = Vector3.new(0,90,0)
  5538. p8.Anchored = true
  5539. p8.Locked = true
  5540. p8.Size = Vector3.new(1,6,4)
  5541. p8.TopSurface = 'Smooth'
  5542. p8.BottomSurface = 'Smooth'
  5543.  
  5544. ------------------------
  5545. ---Even more commands---
  5546. ------------------------
  5547.  
  5548. addcmd('ayylmao','ayy lmao',{''},
  5549. function(args)
  5550. local players = getPlayer(args[1])
  5551. for i,v in pairs(players)do
  5552. local pchar = gPlayers[v].Character
  5553. if pchar:FindFirstChild("Shirt") then
  5554. pchar.Shirt:Destroy()
  5555. end
  5556. if pchar:FindFirstChild("Pants") then
  5557. pchar.Pants:Destroy()
  5558. end
  5559. if pchar:FindFirstChild("Shirt Graphic") then
  5560. pchar["Shirt Graphic"].Graphic = ""
  5561. end
  5562. for i,v in pairs(pchar:GetChildren()) do
  5563. if v:IsA("Hat") then
  5564. v:Destroy()
  5565. end
  5566. end
  5567. local ayylmao = DATA.ayylmao:Clone()
  5568. ayylmao.Parent = pchar
  5569. local BC = pchar["Body Colors"]
  5570. BC.HeadColor = BrickColor.new("Fossil")
  5571. BC.LeftArmColor = BrickColor.new("Fossil")
  5572. BC.LeftLegColor = BrickColor.new("Fossil")
  5573. BC.RightArmColor = BrickColor.new("Fossil")
  5574. BC.RightLegColor = BrickColor.new("Fossil")
  5575. BC.TorsoColor = BrickColor.new("Fossil")
  5576. end
  5577. end)
  5578.  
  5579. ----------------------
  5580. -----Commands GUI-----
  5581. ----------------------
  5582.  
  5583. CMDsFolder = Instance.new("Folder", game.CoreGui)
  5584.  
  5585. for i,v in pairs(CMDs) do
  5586. CMDsValue = Instance.new("StringValue", CMDsFolder)
  5587. CMDsValue.Value = v
  5588. CMDsValue.RobloxLocked = true
  5589. end
  5590.  
  5591. local function commands()
  5592. local cmds = DATA.CMDs:Clone()
  5593. cmds.Parent = Player.PlayerGui
  5594. local CMDsV = CMDsFolder:GetChildren()
  5595. for i = 1, #CMDsV do
  5596. local YSize = 25
  5597. local Position = ((i * YSize) - YSize)
  5598. local newcmd = cmds.MAIN.Example:Clone()
  5599. newcmd.Parent = cmds.MAIN.CMDs
  5600. newcmd.Visible = true
  5601. newcmd.Position = UDim2.new(0,5,0, Position + 5)
  5602. newcmd.Text = "" .. CMDsV[i].Value
  5603. cmds.MAIN.CMDs.CanvasSize = UDim2.new(0,0,0, Position + 30)
  5604. end
  5605. end
  5606.  
  5607. addcmd('cmds','prints cmds',{},
  5608. function(args)
  5609. commands()
  5610. end)
  5611.  
  5612. -----------------
  5613. ---Command Bar---
  5614. -----------------
  5615.  
  5616. CMDbar.CMDbar.FocusLost:connect(function(enterpressed)
  5617. if enterpressed and CMDbar.CMDbar.Text ~= "" then
  5618. spawn(function ()
  5619. execCmd(CMDbar.CMDbar.Text, Player)
  5620. end)
  5621. end
  5622. CMDbar.CMDbar:TweenPosition(UDim2.new(0, -500, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  5623. end)
  5624.  
  5625. Mouse.KeyDown:connect(function(Key)
  5626. if Key:byte() == 59 then
  5627. CMDbar.CMDbar:TweenPosition(UDim2.new(0, 0, 0.4, 0), "InOut", "Quad", 0.5, true, nil)
  5628. CMDbar.CMDbar:CaptureFocus()
  5629. end
  5630. end)
  5631.  
  5632. ----------------
  5633. --ESP function--
  5634. ----------------
  5635.  
  5636. local ESP = false
  5637. local track = false
  5638.  
  5639. function Create(base, team)
  5640. local MAIN = DATA.MAIN:Clone()
  5641. local F = MAIN.DOT
  5642. local ESP = MAIN.NAME
  5643.  
  5644. MAIN.Parent = Player.PlayerGui
  5645. MAIN.Adornee = base
  5646.  
  5647. F.Visible = true
  5648.  
  5649. ESP.Text = base.Parent.Name:upper()
  5650. ESP.Visible = true
  5651. end
  5652.  
  5653. function Clear()
  5654. for _,v in pairs(Player.PlayerGui:children()) do
  5655. if v.Name == "MAIN" and v:IsA("BillboardGui") then
  5656. v:Destroy()
  5657. end
  5658. end
  5659. end
  5660.  
  5661. function Find()
  5662. Clear()
  5663. track = true
  5664. spawn(function()
  5665. while wait() do
  5666. if track then
  5667. Clear()
  5668. for i,v in pairs(game.Players:players()) do
  5669. if v.Character and v.Character.Head then
  5670. Create(v.Character.Head, true)
  5671. end
  5672. end
  5673. end
  5674. wait(1)
  5675. end
  5676. end)
  5677. end
  5678.  
  5679. -------
  5680. --ESP--
  5681. -------
  5682.  
  5683. Mouse.KeyDown:connect(function(Key)
  5684. if Key:byte() == 30 then
  5685. if ESP == false then
  5686. Find()
  5687. ESP = true
  5688. elseif ESP == true then
  5689. Clear()
  5690. track = false
  5691. ESP = false
  5692. end
  5693. end
  5694. end)
  5695.  
  5696. ---------------------------------
  5697. ----Notify animation/movement----
  5698. ---------------------------------
  5699.  
  5700. local NOTIFY = DATA.Notification
  5701. NOTIFY.Parent = game.CoreGui
  5702.  
  5703. local memes = DATA.Memes:Clone()
  5704. memes.Parent = Player.PlayerGui
  5705.  
  5706. local usingNOTE = false
  5707.  
  5708. function Notify(msg)
  5709. if usingNOTE == false then
  5710. if NOTIFY.NOTIFY and NOTIFY.NOTIFY.NOTE then
  5711. spawn(function()
  5712. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, 0, 0.4, 0), "InOut", "Quad", 0.5, true, nil)
  5713. NOTIFY.NOTIFY.NOTE.Text = msg
  5714. usingNOTE = true
  5715. wait(2.5)
  5716. NOTIFY.NOTIFY:TweenPosition(UDim2.new(0, -500, 0.7, 0), "InOut", "Quad", 0.5, true, nil)
  5717. usingNOTE = false
  5718. end)
  5719. end
  5720. end
  5721. end
  5722.  
  5723. -------------------------
  5724. --Startup notifications--
  5725. -------------------------
  5726.  
  5727. wait(1)
  5728.  
  5729. if game.Workspace.FilteringEnabled == true then
  5730. NOTIFY.NOTIFY.BorderColor = BrickColor.new(255,0,0)
  5731. Notify('Filtering Status: ENABLED!')
  5732. elseif game.Workspace.FilteringEnabled == false then
  5733. NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,0)
  5734. Notify('Filtering Status: Disabled.')
  5735. end
  5736.  
  5737. wait(2.6)
  5738.  
  5739. NOTIFY.NOTIFY.BorderColor = BrickColor.new(0,255,255)
  5740.  
  5741. Notify('N3xulis Loaded ' .. #cmds .. ' Commands.')
  5742.  
  5743. wait(2.6)
  5744.  
  5745. Notify('Welcome ' .. Player.Name .. '!')
  5746.  
  5747. wait(3)
  5748.  
  5749. Notify('Push ; for the command bar.')
  5750.  
  5751. wait(2.6)
  5752.  
  5753. Notify('Say ;cmds for commands')
  5754.  
  5755. wait(3)
  5756.  
  5757. Player.PlayerGui.Memes:Destroy()
  5758.  
  5759. -- __ __ ___
  5760. -- \/\ \ /\_ \ __
  5761. --\ \ `\\ \ __ __ _ __ __\//\ \ /\_\ ____
  5762. -- \ \ , ` \ /'__`\/\ \/'\/\ \/\ \ \ \ \ \/\ \ /',__\
  5763. -- \ \ \`\ \/\ __/\/> </\ \ \_\ \ \_\ \_\ \ \/\__, `\
  5764. -- \ \_\ \_\ \____\/\_/\_\\ \____/ /\____\\ \_\/\____/
  5765. -- \/_/\/_/\/____/\//\/_/ \/___/ \/____/ \/_/\/___/ ---------------------------------------------------------------
  5766. --------------------------Version Beta--------------------------
  5767. ---------------------------------------------------------------
  5768. ---------------------------N3xul---------------------------
  5769. ---------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement