Advertisement
Guest User

DySploit

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