Advertisement
Rampetom

LOL

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