RoomaticViner

SPADMIN

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