Advertisement
Darkaf

pas

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