Advertisement
Guest User

asdf

a guest
Feb 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 467.81 KB | None | 0 0
  1. -- Objects
  2.  
  3. local fe = game.workspace.FilteringEnabled
  4. local p = game.Players.LocalPlayer
  5. local ScreenGui = Instance.new("ScreenGui", p.PlayerGui)
  6. local LoginFrame = Instance.new("Frame")
  7. local user = Instance.new("TextBox")
  8. local pass = Instance.new("TextBox")
  9. local bar = Instance.new("Frame")
  10. local submit = Instance.new("TextButton")
  11. local ScriptFrame = Instance.new("Frame")
  12. local exit = Instance.new("TextButton")
  13. local script2 = Instance.new("TextButton")
  14. local script1 = Instance.new("TextButton")
  15. local script3 = Instance.new("TextButton")
  16. local soonscam = Instance.new("TextButton")
  17.  
  18. -- Properties
  19. if fe == true then
  20. print("Filtering Enabled")
  21. else
  22. print("Filtering Disabled")
  23. end
  24. ScreenGui.Parent = p.PlayerGui
  25.  
  26. LoginFrame.Name = "LoginFrame"
  27. LoginFrame.Parent = ScreenGui
  28. LoginFrame.Active = true
  29. LoginFrame.BackgroundColor3 = Color3.new(1, 0, 0)
  30. LoginFrame.BorderSizePixel = 2
  31. LoginFrame.Draggable = true
  32. LoginFrame.Position = UDim2.new(0.423626781, 0, 0.132530123, 0)
  33. LoginFrame.Size = UDim2.new(0, 268, 0, 249)
  34.  
  35. user.Name = "user"
  36. user.Parent = LoginFrame
  37. user.BackgroundColor3 = Color3.new(1, 1, 1)
  38. user.Position = UDim2.new(0.12686567, 0, 0.228915647, 0)
  39. user.Size = UDim2.new(0, 200, 0, 25)
  40. user.Font = Enum.Font.SourceSans
  41. user.Text = "Username"
  42. user.TextSize = 14
  43. user.TextXAlignment = Enum.TextXAlignment.Left
  44.  
  45. pass.Name = "pass"
  46. pass.Parent = LoginFrame
  47. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  48. pass.Position = UDim2.new(0.12686567, 0, 0.44979918, 0)
  49. pass.Size = UDim2.new(0, 200, 0, 25)
  50. pass.Font = Enum.Font.SourceSans
  51. pass.Text = "Whitelist Key"
  52. pass.TextSize = 14
  53. pass.TextXAlignment = Enum.TextXAlignment.Left
  54.  
  55. bar.Name = "bar"
  56. bar.Parent = LoginFrame
  57. bar.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  58. bar.Size = UDim2.new(0, 268, 0, 8)
  59.  
  60. submit.Name = "submit"
  61. submit.Parent = LoginFrame
  62. submit.BackgroundColor3 = Color3.new(1, 1, 1)
  63. submit.Position = UDim2.new(0.222014934, 0, 0.730923653, 0)
  64. submit.Size = UDim2.new(0, 149, 0, 40)
  65. submit.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  66. submit.Font = Enum.Font.SourceSans
  67. submit.Text = "Submit"
  68. submit.TextSize = 33
  69. submit.MouseButton1Down:connect(function()
  70. if user.Text == "crow" and pass.Text == "Tester" then
  71. ScriptFrame.Visible = true
  72. LoginFrame.Visible = false
  73. else
  74. p.Character.Humanoid.Health = 0
  75. end
  76. end)
  77. ScriptFrame.Name = "ScriptFrame"
  78. ScriptFrame.Parent = ScreenGui
  79. ScriptFrame.Active = true
  80. ScriptFrame.BackgroundColor3 = Color3.new(1, 0, 0)
  81. ScriptFrame.BorderSizePixel = 2
  82. ScriptFrame.Draggable = true
  83. ScriptFrame.Position = UDim2.new(0.0255831461, 0, 0.406626493, 0)
  84. ScriptFrame.Size = UDim2.new(0, 284, 0, 243)
  85. ScriptFrame.Visible = false
  86.  
  87. exit.Name = "exit"
  88. exit.Parent = ScriptFrame
  89. exit.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  90. exit.Position = UDim2.new(0.880281687, 0, 0, 0)
  91. exit.Size = UDim2.new(0, 27, 0, 30)
  92. exit.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  93. exit.Font = Enum.Font.SourceSans
  94. exit.Text = "X"
  95. exit.TextSize = 14
  96.  
  97. script2.Name = "script2"
  98. script2.Parent = ScriptFrame
  99. script2.BackgroundColor3 = Color3.new(1, 1, 1)
  100. script2.Position = UDim2.new(0.380281687, 0, 0.0452674888, 0)
  101. script2.Size = UDim2.new(0, 67, 0, 37)
  102. script2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  103. script2.Font = Enum.Font.SourceSans
  104. script2.Text = "Admin"
  105. script2.TextSize = 15
  106. script2.TextWrapped = true
  107. script2.MouseButton1Down:connect(function()
  108. local NOCLIP = false
  109. local JESUSFLY = false
  110. local SWIM = false
  111.  
  112. game:GetService('RunService').Stepped:connect(function()
  113. if NOCLIP then
  114. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  115. elseif JESUSFLY then
  116. game.Players.LocalPlayer.Character.Humanoid:ChangeState(12)
  117. elseif SWIM then
  118. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  119. end
  120. end)
  121.  
  122. _G.Rc7Notification = function(a,b,c)
  123. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://571324445", c)
  124. end
  125.  
  126. local gPlayers = game:GetService("Players")
  127. local admin = gPlayers.LocalPlayer.Name
  128. local bannedplyrs = {}
  129.  
  130. local admins = {'NAME','NAME'} -- names here of people who have access to your commands! (Your name doesn't need to be in here.)
  131.  
  132. -- declare services / init stuff --
  133. local services={}
  134. local cmds={}
  135. local std={}
  136. function KICK(PLAYER_KICK)
  137. if PLAYER_KICK.Character:FindFirstChild('Humanoid') then
  138. local KICK_1 = Instance.new('SkateboardPlatform', PLAYER_KICK.Character)
  139. KICK_1.Name = ''
  140. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  141. KICK_1.CanCollide = false
  142. KICK_1.Transparency = 1
  143.  
  144. PLAYER_KICK.Character.Humanoid.WalkSpeed = 0
  145.  
  146. wait()
  147.  
  148. local WELD_1 = Instance.new('Weld', KICK_1)
  149. WELD_1.Name = ''
  150. WELD_1.Part0 = PLAYER_KICK.Character.Torso
  151. WELD_1.Part1 = KICK_1
  152. WELD_1.C0 = CFrame.new(0, -400, 0)
  153.  
  154. wait()
  155.  
  156. KICK_1.Anchored = true
  157. WELD_1:remove()
  158. end
  159. end
  160.  
  161.  
  162. local serverLocked = false
  163.  
  164. game.Players.PlayerAdded:connect(function(player)
  165. if serverLocked == true then
  166. player.CharacterAdded:connect(function()
  167. wait(2)
  168. KICK(player)
  169. end)
  170. end
  171. end)
  172. function FIX_LIGHTING()
  173. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  174. game.Lighting.Brightness = 1
  175. game.Lighting.GlobalShadows = true
  176. game.Lighting.Outlines = false
  177. game.Lighting.TimeOfDay = 14
  178. game.Lighting.FogEnd = 100000
  179. end
  180.  
  181. services.players=gPlayers
  182. services.lighting=game:GetService('Lighting')
  183. services.workspace=game:GetService('Workspace')
  184. services.events = {}
  185. local user = gPlayers.LocalPlayer
  186.  
  187. local cmdprefix=';'
  188. local scriptprefix='/'
  189. local split=" "
  190.  
  191.  
  192. updateevents=function()
  193. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  194. for i,v in pairs(gPlayers:players())do
  195. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  196. services.events[#services.events+1] = ev
  197. end
  198. end
  199.  
  200. -- safazi's lib --
  201.  
  202. std.inTable=function(tbl,val)
  203. if tbl==nil then return false end
  204.  
  205. for _,v in pairs(tbl)do
  206. if v==val then return true end
  207. end
  208. return false
  209. end
  210.  
  211. std.out=function(str)
  212. print(str)
  213. end
  214.  
  215. std.list=function(tbl) --turns table into list with commas
  216. local str=''
  217. for i,v in pairs(tbl)do
  218. str=str..tostring(v)
  219. if i~=#tbl then str=str..', ' end
  220. end
  221. return str
  222. end
  223.  
  224. std.endat=function(str,val)
  225. local z=str:find(val)
  226. if z then
  227. return str:sub(0,z-string.len(val)),true
  228. else
  229. return str,false
  230. end
  231. end
  232.  
  233. std.first=function(str) return str:sub(1,1) end
  234.  
  235. isAdmin=function(name)
  236. if name==admin then
  237. return true
  238. elseif admins[name]==true then
  239. return true
  240. end
  241. return false
  242. end
  243.  
  244. gPlayers.PlayerAdded:connect(function(player)
  245. for i,v in pairs(bannedplyrs) do
  246. if player == v then player:Destroy() end
  247. end
  248. end)
  249.  
  250. local exec=function(str)
  251. spawn(function()
  252. local script, loaderr = loadstring(str)
  253. if not script then
  254. error(loaderr)
  255. else
  256. script()
  257. end
  258. end)
  259. end
  260.  
  261. local findCmd=function(cmd_name)
  262. for i,v in pairs(cmds)do
  263. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  264. return v
  265. end
  266. end
  267. end
  268.  
  269. local getCmd=function(msg)
  270. local cmd,hassplit=std.endat(msg:lower(),split)
  271. if hassplit then
  272. return {cmd,true}
  273. else
  274. return {cmd,false}
  275. end
  276. end
  277.  
  278. local getprfx=function(strn)
  279. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  280. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  281. end return
  282. end
  283.  
  284. local getArgs=function(str)
  285. local args={}
  286. local new_arg=nil
  287. local hassplit=nil
  288. local s=str
  289. repeat
  290. new_arg,hassplit=std.endat(s:lower(),split)
  291. if new_arg~='' then
  292. args[#args+1]=new_arg
  293. s=s:sub(string.len(new_arg)+string.len(split)+1)
  294. end
  295. until hassplit==false
  296. return args
  297. end
  298.  
  299. local function execCmd(str, plr)
  300. local s_cmd
  301. local a
  302. local cmd
  303. s_cmd = getCmd(str) --separate command from string using split {command name,arg bool (for arg system)}
  304. cmd = findCmd(s_cmd[1]) --get command object {NAME,DESC,{ALIASES},function(args)}
  305. if cmd == nil then return end
  306. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)--start string "a" after command and split
  307. local args=getArgs(a)--gets us a nice table of arguments
  308.  
  309. pcall(function()
  310. cmd.FUNC(args, plr)
  311. end)
  312. end
  313.  
  314. function do_exec(str,plr)
  315. if not isAdmin(plr.Name)then return end
  316.  
  317. str=str:gsub('/e ','')--remove "/e " the easy way!
  318.  
  319. local t=getprfx(str)
  320. if t==nil then return end
  321. str=str:sub(t[2])
  322. if t[1]=='exec' then
  323. exec(str)
  324. elseif t[1]=='cmd' then
  325. execCmd(str, plr)
  326. end
  327. end
  328.  
  329. updateevents()
  330. _G.exec_cmd = execCmd
  331. --game.Players.LocalPlayer.Chatted:connect(doexec)
  332.  
  333. local _char=function(plr_name)
  334. for i,v in pairs(game.Players:GetChildren())do
  335. if v:IsA'Player'then
  336. if v.Name==plr_name then return v.Character end
  337. end
  338. end
  339. return
  340. end
  341.  
  342. local _plr=function(plr_name)
  343. for i,v in pairs(game.Players:GetChildren())do
  344. if v:IsA'Player'then
  345. if v.Name==plr_name then return v end
  346. end
  347. end
  348. return
  349. end
  350.  
  351. function addcmd(name,desc,alias,func)
  352. cmds[#cmds+1]=
  353. {
  354. NAME=name;
  355. DESC=desc;
  356. ALIAS=alias;
  357. FUNC=func;
  358. }
  359. end
  360.  
  361. local function getPlayer(name)
  362. local nameTable = {}
  363. name=name:lower()
  364. if name == "me" then
  365. return {admin}
  366. elseif name == "others" then
  367. for i,v in pairs(gPlayers:GetChildren()) do
  368. if v:IsA'Player'then
  369. if v.Name~=admin then
  370. nameTable[#nameTable+1]=v.Name
  371. end
  372. end
  373. end
  374. elseif name == "all" then
  375. for i,v in pairs(gPlayers:GetChildren()) do
  376. if v:IsA'Player'then
  377. nameTable[#nameTable+1]=v.Name
  378. end
  379. end
  380. else
  381. for i,v in pairs(gPlayers:GetChildren()) do
  382. local lname = v.Name:lower()
  383. local i,j = lname:find(name)
  384. if i == 1 then
  385. return {v.Name}
  386. end
  387. end
  388. end
  389. return nameTable
  390. end
  391.  
  392. -- commands --
  393.  
  394. addcmd('ff',"ff's a player",{},
  395. function(args)
  396. local players=getPlayer(args[1])
  397. for i,v in pairs(players)do
  398. local pchar=_char(v)
  399. Instance.new("ForceField", pchar)
  400. end
  401. end)
  402.  
  403. addcmd('noff',"unff's a player",{'unff'},
  404. function(args)
  405. local players=getPlayer(args[1])
  406. for i,v in pairs(players)do
  407. local pchar=_char(v)
  408. for j,v1 in pairs(pchar:GetChildren()) do
  409. if v1:IsA("ForceField") then
  410. v1:Destroy()
  411. end
  412. end
  413. end
  414. end)
  415.  
  416. addcmd('fire','set a player on fire',{},
  417. function(args)
  418. local players=getPlayer(args[1])
  419. for i,v in pairs(players)do
  420. local pchar=_char(v)
  421. Instance.new("Fire", pchar.Torso)
  422. end
  423. end)
  424.  
  425. addcmd('nofire','extinguish a player',{'unfire'},
  426. function(args)
  427. local players=getPlayer(args[1])
  428. for i,v in pairs(players)do
  429. local pchar=_char(v)
  430. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  431. if v1:IsA("Fire") then
  432. v1:Destroy()
  433. end
  434. end
  435. end
  436. end)
  437.  
  438. addcmd('sp','give a player sparkles',{},
  439. function(args)
  440. local players=getPlayer(args[1])
  441. for i,v in pairs(players)do
  442. local pchar=_char(v)
  443. Instance.new("Sparkles", pchar.Torso)
  444. end
  445. end)
  446.  
  447. addcmd('nosp','remove sparkles from a player',{'unsp'},
  448. function(args)
  449. local players=getPlayer(args[1])
  450. for i,v in pairs(players)do
  451. local pchar=_char(v)
  452. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  453. if v1:IsA("Sparkles") then
  454. v1:Destroy()
  455. end
  456. end
  457. end
  458. end)
  459.  
  460. addcmd('smoke','give a player smoke',{},
  461. function(args)
  462. local players=getPlayer(args[1])
  463. for i,v in pairs(players)do
  464. local pchar=_char(v)
  465. Instance.new("Smoke", pchar.Torso)
  466. end
  467. end)
  468.  
  469. addcmd('nosmoke','remove smoke from a player',{},
  470. function(args)
  471. local players=getPlayer(args[1])
  472. for i,v in pairs(players)do
  473. local pchar=_char(v)
  474. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  475. if v1:IsA("Smoke") then
  476. v1:Destroy()
  477. end
  478. end
  479. end
  480. end)
  481.  
  482. addcmd('btools','gives a player btools',{},
  483. function(args)
  484. local players=getPlayer(args[1])
  485. if players ~= nil then
  486. for i, v in pairs(players) do
  487. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  488. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  489. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  490. end
  491. end
  492. end)
  493.  
  494. addcmd('god','gods player',{},
  495. function(args)
  496. local players=getPlayer(args[1])
  497. for i,v in pairs(players)do
  498. local pchar=_char(v)
  499. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  500. end
  501. end)
  502.  
  503. addcmd('sgod','silently gods player',{},
  504. function(args)
  505. local players=getPlayer(args[1])
  506. for i,v in pairs(players)do
  507. local pchar=_char(v)
  508. spawn(function()
  509. pchar.Humanoid.MaxHealth = 10000000
  510. wait()
  511. pchar.Humanoid.Health = 10000000
  512. end)
  513. end
  514. end)
  515.  
  516. addcmd('ungod','removes god from a player',{},
  517. function(args)
  518. local players=getPlayer(args[1])
  519. for i,v in pairs(players)do
  520. local pchar=_char(v)
  521. if pchar then
  522. pchar.Humanoid.MaxHealth=100
  523. pchar.Humanoid.Health=100
  524. end
  525. end
  526. end)
  527.  
  528. addcmd('heal','resets a players health',{},
  529. function(args)
  530. local players=getPlayer(args[1])
  531. for i,v in pairs(players)do
  532. local pchar=_char(v)
  533. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  534. end
  535. end)
  536.  
  537. addcmd('freeze','freezes a player',{},
  538. function(args)
  539. local players = getPlayer(args[1])
  540. if players ~= nil then
  541. for i, v in pairs(players) do
  542. _char(v).Torso.Anchored = true
  543. end
  544. end
  545. end)
  546.  
  547. addcmd('thaw','freezes a player',{},
  548. function(args)
  549. local players = getPlayer(args[1])
  550. if players ~= nil then
  551. for i, v in pairs(players) do
  552. _char(v).Torso.Anchored = false
  553. end
  554. end
  555. end)
  556.  
  557. addcmd('kill','kills a player',{},
  558. function(args)
  559. local players=getPlayer(args[1])
  560. for i,v in pairs(players)do
  561. local pchar=_char(v)
  562. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  563. end
  564. end)
  565.  
  566. addcmd('sound','plays a sound',{},
  567. function(args)
  568. local function dels(instance)
  569. for i,v in pairs(instance:GetChildren())do
  570. if v:IsA'Sound'then v:Destroy()end
  571. dels(v)
  572. end
  573. end
  574. dels(workspace)
  575.  
  576. local c=args[1]or'stop'
  577. if std.inTable({'stop'},c:lower())then return end
  578. local s=Instance.new("Sound", workspace)
  579. s.Looped = true
  580. s.SoundId = "rbxassetid://"..c
  581. s.Volume=1
  582. s:Play() s.Name = "Musickek"
  583. end)
  584.  
  585. addcmd('explode','explode a player', {},
  586. function(args)
  587. local players=getPlayer(args[1])
  588. for i, v in pairs(players) do
  589. local char = _char(v)
  590. if char:FindFirstChild("Torso") then
  591. Instance.new("Explosion", char).Position = char.Torso.Position
  592. end
  593. end
  594. end)
  595.  
  596. addcmd('invis','make a player invisible',{},
  597. function(args)
  598. local players=getPlayer(args[1])
  599. for i, v in pairs(players) do
  600. for k, v2 in pairs(_char(v):GetChildren()) do
  601. if v2.className == "Part" then
  602. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  603. elseif v2.className == "Hat" then
  604. if v2:FindFirstChild("Handle") then
  605. v2.Handle.Transparency = 1
  606. end
  607. end
  608. if v2:FindFirstChild("face") then
  609. v2.face:Destroy()
  610. end
  611. end
  612. end
  613. end)
  614.  
  615. addcmd('vis','make a player visible',{},
  616. function(args)
  617. local players=getPlayer(args[1])
  618. for i, v in pairs(players) do
  619. for k, v2 in pairs(_char(v):GetChildren()) do
  620. if v2.className == "Part" then
  621. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  622. elseif v2.className == "Hat" then
  623. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  624. end
  625. if v2:FindFirstChild("face") then
  626. v2.face:Destroy()
  627. end
  628. end
  629. end
  630. end)
  631.  
  632. addcmd('goto','go to a player',{},
  633. function(args)
  634. local players=getPlayer(args[1])
  635. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  636. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  637. end
  638. end)
  639.  
  640. addcmd('bring','bring a player to you',{},
  641. function(args)
  642. local players=getPlayer(args[1])
  643. for i,v in pairs(players) do
  644. if _char(v):FindFirstChild("HumanoidRootPart") then
  645. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  646. end
  647. end
  648. end)
  649.  
  650. addcmd('tp','teleport player 1 to player 2',{},
  651. function(args)
  652. local players1=getPlayer(args[1])
  653. local players2=getPlayer(args[2])
  654. if not players2[1] then return end
  655. for i,v in pairs(players1) do
  656. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  657. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  658. end
  659. end
  660. end)
  661.  
  662. addcmd('char','change a players appearance',{},
  663. function(args)
  664. local players=getPlayer(args[1])
  665. if not args[1]or not args[2]then return end
  666. local id=args[2]
  667. if players ~= nil then
  668. for i,v in pairs(players) do
  669. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  670. if _char(v):FindFirstChild("Head") then
  671. _char(v).Head:Destroy()
  672. end
  673. end
  674. end
  675. end)
  676.  
  677. addcmd('ws','change a players walkspeed',{},
  678. function(args)
  679. local players=getPlayer(args[1])
  680. if not args[1]or not args[2]then return end
  681. local num=args[2]
  682. for i,v in pairs(players) do
  683. if _char(v):FindFirstChild("Humanoid") then
  684. _char(v).Humanoid.WalkSpeed=tonumber(num)
  685. end
  686. end
  687. end)
  688.  
  689. addcmd('time','change the time of day',{},
  690. function(args)
  691. if not args[1]then return end
  692. local time_=tonumber(args[1])
  693.  
  694. game.Lighting:SetMinutesAfterMidnight(time_*60)
  695. end)
  696.  
  697. addcmd('unlockws','unlock the whole workspace',{},
  698. function(args)
  699. local function unlock(instance)
  700. for i,v in pairs(instance:GetChildren()) do
  701. if v:IsA("BasePart") then
  702. v.Locked = false
  703. end
  704. unlock(v)
  705. end
  706. end
  707. unlock(workspace)
  708. end)
  709.  
  710. addcmd('unanchorws','unanchor the whole workspace',{},
  711. function(args)
  712. local function unanchor(instance)
  713. for i,v in pairs(instance:GetChildren()) do
  714. if v:IsA("BasePart") then
  715. v.Anchored=false
  716. end
  717. unanchor(v)
  718. end
  719. end
  720. unanchor(workspace)
  721. end)
  722.  
  723. addcmd('admin','gives a player admin',{},
  724. function(args)
  725. if not args[1]then return end
  726. local players=getPlayer(args[1])
  727. table.foreach(players,function(k,v)
  728. admins[v]=true
  729. end)
  730. end)
  731.  
  732. addcmd('unadmin','removes a players admin',{},
  733. function(args)
  734. if not args[1] then return end
  735. local players=getPlayer(args[1])
  736. table.foreach(players,function(k,v)
  737. admins[v]=nil
  738. end)
  739. end)
  740.  
  741. addcmd('view','view player',{},
  742. function(args)
  743. local players=getPlayer(args[1])
  744. workspace.CurrentCamera.CameraSubject = game.Players[players[1]].Character
  745. end)
  746.  
  747. addcmd('noclip','noclips local player',nil,
  748. function(args,speaker)
  749. NOCLIP = true
  750. JESUSFLY = false
  751. SWIM = false
  752. end)
  753.  
  754. addcmd('clip','clips local player',nil,
  755. function(args,speaker)
  756. NOCLIP = false
  757. end)
  758. addcmd('jesusfly','jesusfly',nil,
  759. function(args,speaker)
  760. NOCLIP = false
  761. JESUSFLY = true
  762. SWIM = false
  763. end)
  764. addcmd('nofly','nofly',nil,
  765. function(args)
  766. JESUSFLY = false
  767. end)
  768. addcmd('swim','swim',nil,
  769. function(args)
  770. NOCLIP = false
  771. JESUSFLY = false
  772. SWIM = true
  773. end)
  774. addcmd('noswim','noswim',nil,
  775. function(args)
  776. SWIM = false
  777. end)
  778. addcmd('skybox','sky <id>',nil,
  779. function(args)
  780. for i,v in pairs(game.Lighting:GetChildren()) do
  781. if v:IsA('Sky') then
  782. v:remove()
  783. end
  784. end
  785. local ID = (args[1])
  786. local sky = Instance.new('Sky', game.Lighting)
  787. sky.SkyboxBk = 'rbxassetid://' .. ID
  788. sky.SkyboxDn = 'rbxassetid://' .. ID
  789. sky.SkyboxFt = 'rbxassetid://' .. ID
  790. sky.SkyboxLf = 'rbxassetid://' .. ID
  791. sky.SkyboxRt = 'rbxassetid://' .. ID
  792. sky.SkyboxUp = 'rbxassetid://' .. ID
  793. end)
  794. addcmd('shrek','shrek <p>',nil,
  795. function(args)
  796. local players = getPlayer(args[1])
  797. for i,v in pairs(players) do
  798. local pchar = gPlayers[v].Character
  799. for i,v in pairs(pchar:GetChildren()) do
  800. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  801. v:remove()
  802. end
  803. end
  804. for i,v in pairs(pchar.Head:GetChildren()) do
  805. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  806. v:remove()
  807. end
  808. end
  809. if pchar:FindFirstChild('Shirt Graphic') then
  810. pchar['Shirt Graphic'].Archivable = false
  811. pchar['Shirt Graphic'].Graphic = ''
  812. end
  813. local mesh = Instance.new('SpecialMesh', pchar.Head)
  814. mesh.MeshType = 'FileMesh'
  815. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  816. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  817. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  818. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  819. local Pants = Instance.new('Pants', gPlayers[v].Character)
  820. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  821. Pants.PantsTemplate = 'rbxassetid://133078204'
  822. end
  823. end)
  824. addcmd('ambient','ambient <n> <n> <n>',nil,
  825. function(args)
  826. game.Lighting.Ambient = Color3.new(args[1], args[2], args[3])
  827. end)
  828. addcmd('fetp','fetp',nil,
  829. function(args)
  830. local last_pos = game.Players.LocalPlayer.Character.Torso.CFrame
  831. for _, Player in pairs(game:GetService("Players"):GetChildren()) do
  832. if game.Workspace:findFirstChild(Player.Name) then
  833. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  834. w.Part0 = w.Parent
  835. w.Part1 = Player.Character.Torso
  836. w.C0 = last_pos
  837. w.C1 = last_pos
  838. wait(0.1)
  839. w:Destroy()
  840. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  841. end
  842. end
  843. wait(1)
  844. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  845. end)
  846. addcmd('fogend','fogend <n>',nil,
  847. function(args)
  848. game.Lighting.FogEnd = args[1]
  849. end)
  850. addcmd('slock','serverlock',nil,
  851. function(args)
  852. serverLocked = true
  853. end)
  854.  
  855. addcmd('unslock','unserverlock',nil,
  856. function(args)
  857. serverLocked = false
  858. end)
  859. addcmd('fogend','fogend <n>',{},
  860. function(args)
  861. game.Lighting.FogEnd = args[1]
  862. end)
  863. addcmd('fogcolor','fogcolor <n> <n> <n>',{},
  864. function(args)
  865. game.Lighting.FogColor = Color3.new(args[1], args[2], args[3])
  866. end)
  867. addcmd('fixl','fixlighting',nil,
  868. function(args)
  869. FIX_LIGHTING()
  870. end)
  871. addcmd('particles','particles <p> <id>',{'pts'},
  872. function(args)
  873. local players = getPlayer(args[1])
  874. for i,v in pairs(players) do
  875. local pchar = gPlayers[v].Character
  876. for i,v in pairs(pchar.Torso:GetChildren()) do
  877. if v:IsA('ParticleEmitter') then
  878. v:remove()
  879. end
  880. end
  881. wait()
  882. Instance.new('ParticleEmitter', pchar.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. args[2] - 1
  883. end
  884. end)
  885.  
  886. _G.Rc7Notification("Loaded 49 Cmds","Raindrop Admin V.1",5)
  887. wait(5)
  888. if game.Workspace.FilteringEnabled == true then
  889. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  890. else
  891. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  892. end
  893. end)
  894. script1.Name = "script1"
  895. script1.Parent = ScriptFrame
  896. script1.BackgroundColor3 = Color3.new(1, 1, 1)
  897. script1.Position = UDim2.new(0.0880281627, 0, 0.0452674888, 0)
  898. script1.Size = UDim2.new(0, 67, 0, 37)
  899. script1.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  900. script1.Font = Enum.Font.SourceSans
  901. script1.Text = "Ro Xploit"
  902. script1.TextSize = 12
  903. script1.TextWrapped = true
  904. script1.MouseButton1Down:connect(function()
  905. Folder = game.Players.LocalPlayer.PlayerGui
  906. script=Instance.new('LocalScript')
  907.  
  908. local 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
  909. local A,B,C,D,F,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  910. local Aa,Ba,Ca,Da,Fa,Ea,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za
  911. local IntroSFX = nil
  912. local IntroDone,Toggle,taco = false
  913. local Folders, Selected, Banned, WayPoint = nil
  914. local CId = Instance.new("IntValue") CId.Value = 0
  915. local LPCId = Instance.new("IntValue") LPCId.Value = 0
  916. local SId = Instance.new("IntValue")
  917. SId.Value = 0
  918. local MId = Instance.new("IntValue")
  919. MId.Value = 0
  920. local MPId = Instance.new("IntValue")
  921. MPId.Value = 0
  922. local GId = Instance.new("IntValue")
  923. GId.Value = 0
  924. local GPId = Instance.new("IntValue")
  925. GPId.Value = 0
  926. local HId = Instance.new("IntValue")
  927. HId.Value = 0
  928. local HPId = Instance.new("IntValue")
  929. HPId.Value = 0
  930. local SDId = Instance.new("IntValue")
  931. SDId.Value = 0
  932. local WId = Instance.new("IntValue") WId.Value = 0 local WMId = Instance.new("IntValue") WMId.Value = 0 local LCId = Instance.new("IntValue") LCId.Value = 0 local TCId = Instance.new("IntValue") TCId.Value = 0 local MEId = Instance.new("IntValue") MEId.Value = 1 local MEPId = Instance.new("IntValue") MEPId.Value = 0 local SkyId = Instance.new("IntValue") SkyId.Value = 1 local SkypId = Instance.new("IntValue") SkypId.Value = 0 local TabId = Instance.new("IntValue") TabId.Value = 0
  933. local EmptySP = UDim2.new(0,0,0,0)
  934. local PrivateServer = false
  935.  
  936. function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end
  937. function PlaySFX(SoundId,Volume,Pitch,Looped)
  938. A=Instance.new("Sound",workspace)
  939. A.PlayOnRemove = true
  940. A.SoundId = "rbxassetid://" .. SoundId
  941. A.Volume = Volume
  942. A.Pitch = Pitch
  943. A.Looped = Looped
  944. A:Play()
  945. return A
  946. end
  947. function Frame(parent,Size,Position)
  948. B=Instance.new("Frame",parent)
  949. B.Size = Size
  950. B.Position = Position
  951. return B
  952. end
  953. function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end
  954. function Label(parent,Text,Size,Position,value) C=Instance.new("TextLabel",parent) C.Size = Size C.Position = Position C.Text = Text C.BackgroundTransparency = 1 C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true if value ~= nil then if value == 1 then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
  955. function Button(parent,Text,Size,Position,func,value) C=Instance.new("TextButton",parent) C.Size = Size C.Position = Position C.Text = Text C.Style = "RobloxButton" C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true C.MouseButton1Click:connect(function() ypcall(function() PlaySFX(156785206,0.75,1.25); func() end) end) if value ~= nil then if Size == EmptySP then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
  956. function TextBox(parent,text,Size,Position) C = Instance.new("TextBox") C.Parent = parent C.Name = text C.Text = text if text == "ValueBox" then C.Text = "0" end C.Size = Size C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C.Position = Position C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.Font = 2 C.FontSize = Enum.FontSize.Size12 C.TextWrapped = true return C end letters = { "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"; " "; ":"; "/" }
  957. function CheckForNumbers(textbox)
  958. for i = 1, #letters do
  959. n = string.find(string.lower(textbox.Text), letters[i])
  960. if n ~= nil then
  961. textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1)
  962. end
  963. end
  964. end
  965. function NumTextBox(textbox) ypcall(function() Execute(function() wait(0.25) textbox.Changed:connect(function(property) if property == "Text" then CheckForNumbers(textbox) end end) end) end) end
  966. function TextUsedButton(parents,name,func,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,5,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Button(x,name,UDim2.new(0,70,0,25),UDim2.new(1,-75,0,5),function() if y.Text ~= "" and type ~= nil then func() else func() end end) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 z.Style = "Custom" if value ~= nil then value.Value = value.Value + 1 end return x end
  967. function TextUsedLabel(parents,name,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,80,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Label(x,name,UDim2.new(0,70,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 if value ~= nil then value.Value = value.Value + 1 end return x end
  968. function ToggleButton(parent,name,func1,func2,value) x=Frame(parent,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,35*value.Value)) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 z=Label(x,name,UDim2.new(1,-160,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 y=Button(x,"On",UDim2.new(0,-70,0,25),UDim2.new(1,-80,0,5),function() func1() end) y.BackgroundTransparency = 0.85 y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.Style = "Custom" y.Name = "On" g=Button(x,"Off",UDim2.new(0,-70,0,25),UDim2.new(1,-5,0,5),function() func2() end) g.BackgroundTransparency = 0.85 g.BackgroundColor3 = Color3.new(0,75/255,150/255) g.Style = "Custom" g.Name = "Off" if value ~= nil then value.Value = value.Value + 1 end return x end
  969. function ImageLabel(parent,Image,Size,Position) C = nil C=Instance.new("ImageLabel",parent) C.Image = "rbxassetid://" .. Image C.Size = Size C.Position = Position C.BackgroundTransparency = 1 return C end
  970. function ToggleMenu() if Toggle == true then PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,-0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Quad",.25,true) Toggle = false else PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,-50,1,-50),"Out","Quad",.25,true) Toggle = true end end
  971. function AddTab(parent,tabparent,text,cValue) if cValue ~= nil then D=Frame(tabparent,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) D.Transparency = 1 D.BorderSizePixel = 0 D.Name = text D.Visible = false if cValue.Value == 0 then D.Visible = true end Instance.new("IntValue",D).Name = "IsATab" C=Button(parent,text,UDim2.new(1,-10,0,35),UDim2.new(0,5,0,5+(40*cValue.Value)),function() for i, v in pairs(tabparent:GetChildren()) do if v.Name == text then v.Visible = true else v.Visible = false end end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 Instance.new("IntValue",C).Name = "IsATabButton" if cValue ~= nil then cValue.Value = cValue.Value + 1 end if parent.Parent.ClassName == "ScrollingFrame" then parent.Parent.CanvasSize = UDim2.new(0,0,0,5+(40*(cValue.Value))) end return D end end
  972. function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end
  973. function CreateFolder(parent,name)
  974. C=Instance.new("Folder",parent)
  975. C.Name = name
  976. return C
  977. end
  978. function AddValue(Folder,name)
  979. if Folder ~= nil then
  980. C=Instance.new("StringValue")
  981. C.Name = name
  982. C.Value = name
  983. C.Parent =
  984. Folder
  985. end
  986. end
  987. function RemoveValue(Folder,name)
  988. if Folder ~= nil then
  989. if Folder:FindFirstChild(name) ~= nil then
  990. Folder:FindFirstChild(name):Remove()
  991. end
  992. end
  993. end
  994. function VerifyValue(Folder,name)
  995. if Folder ~= nil then
  996. if Folder:FindFirstChild(name) ~= nil then
  997. return true
  998. else
  999. return false
  1000. end
  1001. end
  1002. end
  1003. local Mouse
  1004. function AddHotkey(key,func) Mouse = game.Players.LocalPlayer:GetMouse() if Mouse ~= nil then Mouse.KeyDown:connect(function(Key) if Key == string.lower(string.char(key)) then func() end end) else Mouse = game.Players.LocalPlayer:GetMouse() end end local STR = " : False"
  1005. function SetPlayerList(parent) ClearFolder(parent) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Selected,v.Name) then STR = " : True" else STR = " : False" end C=Button(parent,v.Name .. STR,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Selected,v.Name) then RemoveValue(Selected,v.Name) else AddValue(Selected,v.Name) end SetPlayerList(parent) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end) end
  1006. function SetBannedList(parent) ClearFolder(parent) for i,v in pairs(Banned:GetChildren()) do C=Button(parent,v.Name,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Banned,v.Name) then RemoveValue(Banned,v.Name) end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end function IsLocalPlayer(aname) if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Name == aname then return true else return false end end end end local ContentProvider = game:GetService("ContentProvider"); local function LoadAssets(AssetList) for _, AssetId in pairs(AssetList) do ContentProvider:Preload("rbxassetid://" .. AssetId); end end LoadAssets({364328150,278201073,145487017,278208523,278208523}) local PRT = Instance.new("ScreenGui",Folder) Label(PRT,"Currently Preloading Data, Please Wait!",UDim2.new(1,0,0,20),UDim2.new(0,0,0,0)) while (ContentProvider.RequestQueueSize > 0) do wait(); end if Folder:FindFirstChild("GlobalData") ~= nil then for i,v in pairs(Folder:FindFirstChild("GlobalData"):GetChildren()) do v.Parent = Folder end Folder:FindFirstChild("GlobalData"):Remove() end for i,v in pairs(Folder:GetChildren()) do if v.Name == "GearData" or v.Name == "HatData" or v.Name == "MemeData" or v.Name == "SkyData" then for k,c in pairs(v:GetChildren()) do LoadAssets({c.Value}) end end end PRT:Remove() function spamColor(v) if v.ClassName == ("BasePart") then v.BrickColor = BrickColor.Random() else for a,b in pairs(v:GetChildren()) do spamColor(b) end end end function UnAnchore(v) if v.ClassName == ("BasePart") then v.Anchored = false else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then UnAnchore(b) end end end end function Anchore(v) if v.ClassName == ("BasePart") then v.Anchored = true else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then Anchore(b) end end end end function clearW(v) v:ClearAllChildren() end function GenerateMenuPart2() local Color = Color3.new(0,75/255,150/255) X=AddTab(M,N,"Hat Giver",TabId) X.Size = UDim2.new(1,10,1,0) T=AddTab(M,N,"Music Player",TabId) T.Size = UDim2.new(1,10,1,0) local MPitch=TextUsedLabel(T,"Pitch",MId,1) local MVolume=TextUsedLabel(T,"Volume",MId,1) local MIds=TextUsedLabel(T,"SoundId",MId,0) if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil then MPitch:FindFirstChild("ValueBox").Text = 1 MVolume:FindFirstChild("ValueBox").Text = 0.5 end local Music = nil ToggleButton(T,"Music",function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end Music=Instance.new("Sound",game.workspace) Music.Name = "Ro-MusicPlayer" Music.Looped = true if MIds:FindFirstChild("ValueBox") ~= nil then Music.SoundId = "rbxassetid://"..MIds:FindFirstChild("ValueBox").Text end if MVolume:FindFirstChild("ValueBox") ~= nil then Music.Volume = MVolume:FindFirstChild("ValueBox").Text end if MPitch:FindFirstChild("ValueBox") ~= nil then Music.Pitch = MPitch:FindFirstChild("ValueBox").Text end wait() Music:Play() end, function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end end,MId) U=ScrollFrame(T,UDim2.new(1,0,1,-(35*(MId.Value))),UDim2.new(0,0,0,35*(MId.Value))) U.Transparency = .85 U.BorderSizePixel = 0 U.CanvasSize = UDim2.new(0,0,0,0) U.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("MusicData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MusicData"):GetChildren()) do Button(U,v.Name,EmptySP,EmptySP,function() if v:IsA("Sound") then for _,b in pairs(MPitch:GetChildren()) do end if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil and MIds:FindFirstChild("ValueBox") ~= nil then MIds:FindFirstChild("ValueBox").Text = v.SoundId end end end ,MPId) MPId.Value = i U.CanvasSize = UDim2.new(0,0,0,35*MPId.Value) end end end V=AddTab(M,N,"Gear Giver",TabId) V.Size = UDim2.new(1,10,1,0) local GiveGear GiveGear=TextUsedButton(V,"Give Gear",function() if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveGear:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Backpack end x:Remove() end end end end) end end end,GId,0) W=ScrollFrame(V,UDim2.new(1,0,1,-(35*(GId.Value))),UDim2.new(0,0,0,35*(GId.Value))) W.Transparency = .85 W.BorderSizePixel = 0 W.CanvasSize = UDim2.new(0,0,0,0) W.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("GearData") ~= nil then for i, v in pairs(Folder:FindFirstChild("GearData"):GetChildren()) do Button(W,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then GiveGear:FindFirstChild("ValueBox").Text = v.Value end end end end,GPId) GPId.Value = i W.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end local GiveHat GiveHat=TextUsedButton(X,"Give Hat",function() if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveHat:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Character end x:Remove() end end end end) end end end,HId,0) Y=ScrollFrame(X,UDim2.new(1,0,1,-(35*(HId.Value))),UDim2.new(0,0,0,35*(HId.Value))) Y.Transparency = .85 Y.BorderSizePixel = 0 Y.CanvasSize = UDim2.new(0,0,0,0) Y.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("HatData") ~= nil then for i, v in pairs(Folder:FindFirstChild("HatData"):GetChildren()) do Button(Y,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then GiveHat:FindFirstChild("ValueBox").Text = v.Value end end end end,HPId) HPId.Value = i Y.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end o=AddTab(M,N,"Banned Player",TabId) p=ScrollFrame(o,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) p.Transparency = 1 p.BorderSizePixel = 0 p.CanvasSize = UDim2.new(0,0,0,0) game.Players.ChildAdded:connect(function(child) if VerifyValue(Banned,child.Name) then wait(0.35) child:Remove() end if PrivateServer == true then wait(0.35) child:Remove() end end) Banned.ChildAdded:connect(function(child) SetBannedList(p) end) Banned.ChildRemoved:connect(function() SetBannedList(p) end) SetBannedList(p) if Folder:FindFirstChild("BannedData") then for k,c in pairs(Folder:FindFirstChild("BannedData"):GetChildren()) do AddValue(Banned,c.Name) end end end function GenerateScriptTab() S=AddTab(M,N,"Script Tab",TabId) S.ClipsDescendants = true ExeButton=TextUsedButton(S,"Execute",function() ypcall(function() loadstring(ExeButton:FindFirstChild("ValueBox").Text)() end) end, SId) ExeButton.Size = UDim2.new(1,0,0,35) aFrame=Instance.new("Frame",S) aFrame.Size = UDim2.new(1,0,1,-35) aFrame.BackgroundTransparency = 1 aFrame.Position = UDim2.new(0,0,0,35) local Current = Instance.new("IntValue",S) Current.Value = 1 local Max = 0 local Color = Color3.new(0,75/255,150/255) local Pos = UDim2.new(0.5,-75,0.5,-50) local Size = UDim2.new(0,150,0,150) local Size2 = UDim2.new(0,75,0,75) local K local runLocalScript = function(SC) if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.PlayerGui ~= nil then ypcall(function() K = Instance.new("LocalScript",game.Players.LocalPlayer.PlayerGui) K.Disabled = true K.Source = SC wait() K.Disabled = false end) end end end local search = Instance.new("TextBox",aFrame) search.BackgroundColor3 = Color search.BackgroundTransparency = 0.85 search.BorderSizePixel = 0 search.Position = UDim2.new(0.5,-100,0,0) search.Size = UDim2.new(0,200,0,20) search.Font = "Legacy" search.FontSize = "Size10" search.TextColor3 = Color3.new(1,1,1) search.TextStrokeTransparency = 0.5 search.TextWrapped = true search.Text = "" search.ClearTextOnFocus = true search.FocusLost:connect(function(p) if p then for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Title") ~= nil then if v:FindFirstChild("Id") ~= nil then if string.match(string.lower(search.Text),v:FindFirstChild("Id").Value) then Current.Value = v:FindFirstChild("Id").Value elseif string.match(string.lower(v:FindFirstChild("Title").Text),string.lower(search.Text)) then if v:FindFirstChild("Id") ~= nil then Current.Value = v:FindFirstChild("Id").Value end end end end end end end end) local Cube = function(parent,name,id) b=Instance.new("Frame",parent) b.BorderSizePixel = 0 b.Name = "Cube" b.BackgroundTransparency = 0.85 b.BackgroundColor3 = Color e=Instance.new("IntValue",b) e.Name = "Id" e.Value = id f=Instance.new("TextLabel",b) f.Text = " ID: "..id f.BackgroundTransparency = 1 f.Size = UDim2.new(0,100,0,20) f.Font = "Legacy" f.TextColor3 = Color3.new(1,1,1) f.TextStrokeTransparency = 0.5 f.TextXAlignment = "Left" g=Instance.new("TextLabel",b) g.Text = name g.BackgroundTransparency = 1 g.Size = UDim2.new(1,0,0.10,0) g.Position = UDim2.new(0,0,0.15,0) g.Font = "Legacy" g.TextScaled = true g.TextColor3 = Color3.new(1,1,1) g.TextStrokeTransparency = 0.5 g.Name = "Title" h=Instance.new("TextButton",b) h.Text = "Execute" h.BackgroundColor3 = Color h.BackgroundTransparency = 0.85 h.Size = UDim2.new(0.75,0,0.2,0) h.Position = UDim2.new(0.5-(0.75/2),0,1-0.25,0) h.Font = "Legacy" h.TextScaled = true h.TextColor3 = Color3.new(1,1,1) h.TextStrokeTransparency = 0.5 h.BorderSizePixel = 0 h.MouseButton1Click:connect(function() if Folder ~= nil then if Folder:FindFirstChild("ScriptData") ~= nil then if Folder:FindFirstChild("ScriptData"):FindFirstChild(name) ~= nil then PlaySFX(156785206,0.75,1.25) loadstring("script.Name = 'DeathDeletepl0x'; " .. string.reverse(Folder:FindFirstChild("ScriptData"):FindFirstChild(name).Source) .. " script.Name = 'DeathDeletepl0x';" .. [==[ game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() script.Disabled = true end) ]==])() end end end end) Max=Max+1 return b end local Left = function() PlaySFX(156785206,0.75,1.25) if Current.Value > 1 then Current.Value = Current.Value - 1 else Current.Value = Max end end local c = Instance.new("TextButton",aFrame) c.Size = UDim2.new(0,50,1,0) c.Text = "<" c.BackgroundTransparency = 0.85 c.BackgroundColor3 = Color c.BorderSizePixel = 0 c.Font = "Legacy" c.FontSize = "Size36" c.TextStrokeTransparency = 0.5 c.TextColor3 = Color3.new(1,1,1) c.ZIndex = 3 c.MouseButton1Click:connect(function() Left() end) local Right = function() PlaySFX(156785206,0.75,1.25) if Current.Value < Max then Current.Value = Current.Value + 1 else Current.Value = 1 end end local d = Instance.new("TextButton",aFrame) d.Size = UDim2.new(0,50,1,0) d.Position = UDim2.new(1,-50,0,0) d.BackgroundTransparency = 0.85 d.BackgroundColor3 = Color d.BorderSizePixel = 0 d.Text = ">" d.Font = "Legacy" d.FontSize = "Size36" d.TextStrokeTransparency = 0.5 d.TextColor3 = Color3.new(1,1,1) d.ZIndex = 3 d.MouseButton1Click:connect(function() Right() end) AddHotkey(string.byte("q"),function() if Toggle == true then if S.Visible == true then Left() end end end) AddHotkey(string.byte("e"),function() if Toggle == true then if S.Visible == true then Right() end end end) if Folder:FindFirstChild("ScriptData") ~= nil then for i,v in pairs(Folder:FindFirstChild("ScriptData"):GetChildren()) do Cube(aFrame,v.Name,i) end end local refresh = function() for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Id") ~= nil then if v:FindFirstChild("Id").Value == Current.Value then v:TweenSizeAndPosition(Size,Pos,"Out","Quad",0.75,true) for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 2 end end elseif v:FindFirstChild("Id").Value > Current.Value then if v:FindFirstChild("Id").Value > Current.Value + 1 then v:TweenSizeAndPosition(Size2,UDim2.new(1.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.75,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end elseif v:FindFirstChild("Id").Value < Current.Value then if v:FindFirstChild("Id").Value < Current.Value - 1 then v:TweenSizeAndPosition(Size2,UDim2.new(-0.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.25,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end end end end end end Current.Changed:connect(function() refresh() end) refresh() end function GeneratePlayerCommand() Q=AddTab(M,N,"Player Commands",TabId) R=ScrollFrame(Q,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) R.Transparency = 1 R.BorderSizePixel = 0 R.CanvasSize = UDim2.new(0,0,0,0) CId.Changed:connect(function() if R:IsA("ScrollingFrame") then R.CanvasSize = UDim2.new(0,0,0,35*CId.Value) end end) Button(R,"Ban",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do if not VerifyValue(Banned,v.Name) then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then AddValue(Banned,v.Name) end else game.Players:Chat("I'm a jerk ass trying to ban my own script provider!") end end end end,CId) Button(R,"Kick",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then b:Remove() end else game.Players:Chat("I'm a jerk ass trying to kick my own script provider!") end end end end end,CId) Button(R,"Kill",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then b.Character:BreakJoints() end end end end end,CId) local Ex Button(R,"Explode",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then Ex=Instance.new("Explosion",b.Character:FindFirstChild("Torso")) Ex.Position = b.Character:FindFirstChild("Torso").Position end end end end end end,CId) Button(R,"Respawn",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then local ack2 = Instance.new("Model") ack2.Parent = game.Workspace local ack4 = Instance.new("Part") ack4.Transparency = 1 ack4.CanCollide = false ack4.Anchored = true ack4.Name = "Torso" ack4.Position = Vector3.new(10000,10000,10000) ack4.Parent = ack2 local ack3 = Instance.new("Humanoid") ack3.Torso = ack4 ack3.Parent = ack2 b.Character = ack2 end end end end,CId) Button(R,"Lag",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then for i = 1,10000 do g = Instance.new("HopperBin") g.Parent = b.Backpack end else game.Players:Chat("I'm a jerk ass trying to lag my own script provider!") end end end end end,CId) ToggleButton(R,"ForceField",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then Instance.new("ForceField",b.Character) end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c ~= nil then if c:IsA("ForceField") then c:Remove() end end end end end end end end,CId) ToggleButton(R,"InVisible",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 1 if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 1 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 0 if c.Name == "HumanoidRootPart" then c.Transparency = 1 end if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 0 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end end end end end end end end,CId) local TP TP=ToggleButton(R,"Teleport",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then b.Character:MoveTo(game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position) end end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then game.Players.LocalPlayer.Character:MoveTo(b.Character:FindFirstChild("Torso").Position) end end end end end end end end end,CId) TP.On.Text = "Tp To Me" TP.Off.Text = "Tp To Them" local BT,T1,T2,T3 BT=ToggleButton(R,"Build Tools",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then T1 = Instance.new("HopperBin",b.Backpack); T1.BinType = "Grab"; T1.Name = "Grab" T2 = Instance.new("HopperBin",b.Backpack); T2.BinType = "Clone"; T2.Name = "Clone" T3 = Instance.new("HopperBin",b.Backpack); T3.BinType = "Hammer"; T3.Name = "Hammer" end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then for k,c in pairs(b.Backpack:GetChildren()) do if c.Name == "Grab" or c.Name == "Clone" or c.Name == "Hammer" then c:Remove() end end end end end end end end end,CId) BT.On.Text = "Give" BT.Off.Text = "Remove" local NameButton,na,nb,nc NameButton=TextUsedButton(R,"Set Name",function() ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for m,n in pairs(b.Character:GetChildren()) do if n.ClassName == "Model" then for c,k in pairs(n:GetChildren()) do if k.Name == "FakeHumanoidBro" then n:Remove() end end end end na = Instance.new("Model",b.Character) na.Name = NameButton:FindFirstChild("ValueBox").Text nb = b.Character:FindFirstChild("Head"):Clone() local weld = Instance.new("Weld", nb) weld.Part0 = nb weld.Part1 = b.Character:FindFirstChild("Head") b.Character:FindFirstChild("Head").Transparency = 1 nb.Transparency = 0 nb.Parent = na nb.Name = "Head" nb.CanCollide = false nc=Instance.new("Humanoid",na) nc.Name = "FakeHumanoidBro" nc.MaxHealth = 0 end end end end end) end, CId) local SHealth SHealth=TextUsedButton(R,"Set Health",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SHealth:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").MaxHealth = SHealth:FindFirstChild("ValueBox").Text b.Character:FindFirstChild("Humanoid").Health = SHealth:FindFirstChild("ValueBox").Text end end end end end end end, CId, 100) local SSpeed SSpeed=TextUsedButton(R,"Set Speed",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SSpeed:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").WalkSpeed = SSpeed:FindFirstChild("ValueBox").Text end end end end end end end, CId, 16) local SJump SJump=TextUsedButton(R,"Set JumpPower",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SJump:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").JumpPower = SJump:FindFirstChild("ValueBox").Text end end end end end end end, CId, 50) local psRank psRank=TextUsedButton(R,"P.S. Rank",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then ypcall(function() if psRank:FindFirstChild("ValueBox") ~= nil then b.PersonalServerRank=psRank:FindFirstChild("ValueBox").Text end end) end end end end,CId,255) local sChat sChat=TextUsedButton(R,"Chat",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Head") ~= nil then if sChat:FindFirstChild("ValueBox") ~= nil then game:GetService("Chat"):Chat(b.Character:FindFirstChild("Head"),sChat:FindFirstChild("ValueBox").Text,Enum.ChatColor.Blue) end end end end end end end,CId) end function GenerateServerDestruction() Z=AddTab(M,N,"Server Destruction",TabId) Aa=ScrollFrame(Z,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Aa.Transparency = 1 Aa.BorderSizePixel = 0 Aa.CanvasSize = UDim2.new(0,0,0,0) SDId.Changed:connect(function() if Aa:IsA("ScrollingFrame") then Aa.CanvasSize = UDim2.new(0,0,0,35*SDId.Value) end end) Button(Aa,"Flood",EmptySP,EmptySP,function() game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") end,SDId) Button(Aa,"Clear Terrain",EmptySP,EmptySP,function() game.Workspace.Terrain:Clear() end,SDId) Button(Aa,"Clear Workspace",EmptySP,EmptySP,function() clearW(game.Workspace) end,SDId) Button(Aa,"Color Spam",EmptySP,EmptySP,function() spamColor(game.Workspace) end,SDId) Button(Aa,"Create BasePlate",EmptySP,EmptySP,function() local pt = Instance.new("Part") pt.BrickColor = BrickColor.new("Bright green") pt.Anchored = true pt.CanCollide = true pt.BottomSurface = 0 pt.TopSurface = 0 pt.Name = (math.random(1,1000000)) pt.Size = Vector3.new(1000, 1, 1000) pt.Parent = game.Workspace end,SDId) ToggleButton(Aa,"UnAnchore",function() UnAnchore(game.Workspace) end, function() Anchore(game.Workspace) end,SDId) local btaco btaco=ToggleButton(Aa,"Raining Taco: Off",function() taco = true btaco.TextLabel.Text = "Raining Taco: On" end, function() taco = false btaco.TextLabel.Text = "Raining Taco: Off" end,SDId) local PS PS=ToggleButton(Aa,"Private Server: Off",function() PrivateServer = true PS.TextLabel.Text = "Private Server: On" end, function() PrivateServer = false PS.TextLabel.Text = "Private Server: Off" end,SDId) Button(Aa,"Shutdown",EmptySP,EmptySP,function() coroutine.resume(coroutine.create(function() while wait() do ypcall(function() for _, v in pairs(game.Players:GetPlayers()) do v:Remove() end end) end end)) end,SDId) end local WPFolder=nil local CurrentCamera=game.Workspace.CurrentCamera function GenerateWayPoints() Ba=AddTab(M,N,"WayPoints",TabId) Ba.Size = UDim2.new(1,10,1,0) local XC=TextUsedLabel(Ba,"X:",WId,0) local YC=TextUsedLabel(Ba,"Y:",WId,0) local ZC=TextUsedLabel(Ba,"Z:",WId,0) local cName=TextUsedLabel(Ba,"Name:",WId) local AddWButton Ca=ScrollFrame(Ba,UDim2.new(1,0,1,-(35*(WId.Value+1))),UDim2.new(0,0,0,(35*(WId.Value+1)))) Ca.Transparency = .85 Ca.BorderSizePixel = 0 Ca.CanvasSize = UDim2.new(0,0,0,0) Ca.BackgroundColor3 = Color3.new(0,75/255,150/255) local cWColor3 AddWButton=ToggleButton(Ba,"Add WayPoints",function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = Vector3.new(XC.ValueBox.Text,YC.ValueBox.Text,ZC.ValueBox.Text) cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end) end, function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end end end end end) end,WId) AddWButton.On.Text = "Custom Position" AddWButton.Off.Text = "Current Position" GenerateWFolder() end function ClearWScroll() for i,v in pairs(Ca:GetChildren()) do v:Remove() end end function ClearWFolder() if WPFolder ~= nil then for i,v in pairs(WPFolder:GetChildren()) do v:Remove() end end end local WButton function MakeWButton(name,id) if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then WMId.Value = id-1 WButton=ToggleButton(Ca,name.Name .. " X:" .. math.floor(name.Value.X) .. " ,Y:" ..math.floor(name.Value.Y) .. " ,Z:" .. math.floor(name.Value.Z),function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then game.Players.LocalPlayer.Character:MoveTo(Vector3.new(name.Value.X,name.Value.Y,name.Value.Z)) end end end end end end end, function() if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then name:Remove() end end end,WMId) WButton.On.Text = "Tp To" WButton.Off.Text = "Delete" Ca.CanvasSize = UDim2.new(0,0,0,(35*(WMId.Value))) end end end function GenerateWFolder() if CurrentCamera ~= nil then if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("WayPoint") == nil then WPFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if WPFolder == nil then WPFolder=Instance.new("Folder",CurrentCamera) WPFolder.Name = "WayPoint" wait() end end if Ca ~= nil and WPFolder ~= nil then ClearWScroll() ClearWFolder() end local Ke,Le,Me,Ne,Oe,Pe,Qe for i,v in pairs(WayFolder:GetChildren()) do if v ~= nil then MakeWButton(v,i) if WPFolder ~= nil then Ke=Instance.new("Model",WPFolder) Ke.Name = v.Name .. " X:" .. math.floor(v.Value.X) .. " ,Y:" .. math.floor(v.Value.Y) .. " ,Z:" .. math.floor(v.Value.Z) Le=Instance.new("Part",Ke) Le.Name = "Head" Le.Anchored = true Le.CanCollide = false Le.Transparency = 0.5 Le.Material = 288 Le.Size = Vector3.new(2,2,2) Le.Position = v.Value if v:FindFirstChild("SColor") ~= nil then Le.BrickColor = BrickColor.new(v:FindFirstChild("SColor").Value) else Le.BrickColor = BrickColor.Random() end Me=Instance.new("SelectionBox",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Ne=Instance.new("Humanoid",Ke) Ne.MaxHealth = 0 if string.lower(v.Name) == string.lower("Serntimon") then if Me ~= nil then Me:Remove() Me=nil end Me=Instance.new("SelectionSphere",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Me.SurfaceColor3 = Le.BrickColor.Color Me.Transparency = 0.75 Me.SurfaceTransparency = 0.75 Ke.Name = "Serntimon Was Here!" Oe=Instance.new("SpecialMesh",Le) Oe.MeshType = "FileMesh" Oe.MeshId = "http://www.roblox.com/asset/?id=50380638" Oe.TextureId = "" Oe.Scale = Vector3.new(1.5,1.5,1.5) Pe=Instance.new("Fire",Le) Pe.Color = Le.BrickColor.Color Pe.SecondaryColor = Le.BrickColor.Color Pe.Size = 4 Pe.Heat = 6 Qe=Instance.new("PointLight",Le) Qe.Range = 12 Qe.Color = Le.BrickColor.Color Qe.Brightness = 1.5 Qe.Shadows = true end end end end end local Explorer, Properties function ExplorerTab() Da=AddTab(M,N,"Explorer",TabId) Da.Size = UDim2.new(1,10,1,0) if Folder:FindFirstChild("MainData") ~= nil then if Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel") ~= nil then Explorer=Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel"):clone() Explorer.Parent = Da Explorer.Visible = true end if Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel") ~= nil then Properties=Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel"):clone() Properties.Parent = Da Properties.Visible = true end for i,v in pairs(Explorer:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end for i,v in pairs(Properties:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end end end local NClip = false local Esp = false local EspFolder = nil local Ae,Be,Ce,De,Ee,Fe,Ge function GenerateBox(Target,Color) Ae=Instance.new("BillboardGui",EspFolder) Ae.Name = "EspBox" Ae.Size = UDim2.new(4.5,0,6,0) Ae.Adornee = Target Ae.AlwaysOnTop = true Ae.SizeOffset = Vector2.new(0, -0.100000001) Be=Instance.new("Frame",Ae) Be.Transparency = 1 Be.Size = UDim2.new(1,0,1,0) Ce=Instance.new("Frame",Ae) Ce.Transparency = 0.5 Ce.Size = UDim2.new(1,0,0.05, 0) Ce.BorderSizePixel = 0 Ce.BackgroundColor3 = Color De=Ce:clone() De.Size = UDim2.new(0.05,0,1, 0) De.Parent = Ae Ee=De:clone() Ee.Position = UDim2.new(1-0.05,0,0, 0) Ee.Parent = Ae Fe=Ce:clone() Fe.Position = UDim2.new(0,0,1-0.05, 0) Fe.Parent = Ae end function XrayOn(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0.75 end XrayOn(v) end end function XrayOff(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0 end XrayOff(v) end end function GenerateLocalCommand() Ea=AddTab(M,N,"Local Commands",TabId) Fa=ScrollFrame(Ea,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Fa.Transparency = 1 Fa.BorderSizePixel = 0 Fa.CanvasSize = UDim2.new(0,0,0,0) LPCId.Changed:connect(function() if Fa:IsA("ScrollingFrame") then Fa.CanvasSize = UDim2.new(0,0,0,35*LPCId.Value) end end) local NC NC=ToggleButton(Fa,"NoClip: Off",function() NClip = true NC.TextLabel.Text = "NoClip: On" end, function() NClip = false NC.TextLabel.Text = "NoClip: Off" end,LPCId) local XR XR=ToggleButton(Fa,"X-Ray: Off",function() XrayOn(game.Workspace) XR.TextLabel.Text = "X-Ray: On" end, function() XrayOff(game.Workspace) XR.TextLabel.Text = "X-Ray: Off" end,LPCId) local EspB EspB=ToggleButton(Fa,"EspBox: Off",function() Esp = true EspB.TextLabel.Text = "EspBox: On" end, function() Esp = false EspB.TextLabel.Text = "EspBox: Off" ypcall(function() if EspFolder ~= nil then for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end end end) end,LPCId) game:service("RunService").Stepped:connect(function() ypcall(function() local mesh1anan = Instance.new("SpecialMesh") mesh1anan.MeshType = Enum.MeshType.FileMesh mesh1anan.Scale = Vector3.new(3,3,3) mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" if taco == true then local locationanan local char if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then char = game.Players.LocalPlayer.Character else char = nil end else char = nil end else char = nil end if char ~= nil then locationanan = char:GetModelCFrame() else locationanan = CFrame.new(0,0,0) end local tacoa = Instance.new("Part") tacoa.CanCollide = false tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) local meshanananan = mesh1anan:clone() meshanananan.Parent = tacoa meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) tacoa.Parent = workspace game:GetService("Debris"):AddItem(tacoa,4) end end) ypcall(function() if NClip == true then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then game.Players.LocalPlayer.Character.Torso.CanCollide = false game.Players.LocalPlayer.Character.Head.CanCollide = false end end end end end end end) ypcall(function() if Esp == true then Execute(function() while wait() do if Esp == true then ypcall(function() if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("Esp") == nil then EspFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if EspFolder == nil then if CurrentCamera ~= nil then EspFolder=CreateFolder(CurrentCamera,"Esp") else CurrentCamera = game.Workspace.CurrentCamera end end for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end for i,v in pairs(game.Players:GetChildren()) do if v ~= nil then if v.Character ~= nil then if v.Character:FindFirstChild("Torso") ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if v.Name ~= game.Players.LocalPlayer.Name then GenerateBox(v.Character:FindFirstChild("Torso"),v.TeamColor.Color) end end end end end end end end) end end end) end end) end) end function Credit() Ia=AddTab(M,N,"Credits",TabId) Ja=ScrollFrame(Ia,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ja.Transparency = 1 Ja.BorderSizePixel = 0 Ja.CanvasSize = UDim2.new(0,0,0,0) TCId.Changed:connect(function() if Ja:IsA("ScrollingFrame") then Ja.CanvasSize = UDim2.new(0,0,0,35*TCId.Value) end end) Ja.ChildAdded:connect(function() TCId.Value = TCId.Value + 1 end) Label(Ja,"[CREATOR]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[POSTER & TESTER]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Serntimon",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[TESTERS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Walter White",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"TimberMan",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Mr. Waffles",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Green Hat L33t",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Pulkit",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"LaserTic_",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[SCRIPTS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam For KrystalDance & Tweaking X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"RadiationMatrix For X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Other Unknown Person For Other Scripts",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) end local memevalue = Instance.new("StringValue") memevalue.Value = "Krystal" local oldmeme = memevalue.Value local memeid = Instance.new("IntValue") memeid.Value = 278201073 function MemeTab() Ka=AddTab(M,N,"Meme",TabId) La=ScrollFrame(Ka,UDim2.new(1,-100,1,-105),UDim2.new(0,0,0,105)) La.Transparency = 1 La.BorderSizePixel = 0 La.CanvasSize = UDim2.new(0,0,0,0) Ma=Frame(Ka,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) Ma.BackgroundColor3 = Color3.new(0,75/255,150/255) Ma.Transparency = 0.75 Ma.BorderSizePixel = 0 Na=ImageLabel(Ka,278201073,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) Na.BorderSizePixel = 0 Na.ZIndex = 2 Oa=Frame(Ka,UDim2.new(1,-90,0,105),UDim2.new(0,0,0,0)) Oa.Transparency = 1 Oa.BorderSizePixel = 0 Pa=Label(Oa," Selected Meme: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) Pa.TextXAlignment = "Left" memevalue.Changed:connect(function() Pa.Text = " Selected Meme: " .. memevalue.Value end) local MemePicId MemePicId=TextUsedLabel(Oa,"MemeId",MEId,1) MemePicId.ValueBox.Text=memeid.Value MemePicId.ValueBox.Changed:connect(function() local found = false memeid.Value = MemePicId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do if memeid.Value == v.Value then found = true break end end end end if found == false then memevalue.Value = "Custom" Pa.Text = " Selected Meme: Custom" end found = false end) memeid.Changed:connect(function() Na.Image = "rbxassetid://" .. memeid.Value end) Qa=Frame(Ka,UDim2.new(0,10,1,-105),UDim2.new(1,-110,0,105)) Qa.BackgroundColor3 = Color3.new(0,75/255,150/255) Qa.Transparency = 0.85 Qa.BorderSizePixel = 0 local FaceMeme = Instance.new("BillboardGui") FaceMeme.Size = UDim2.new(3,0,3,0) FaceMeme.AlwaysOnTop = true FaceMeme.Name = "RO-MEMEFACES" ImageLabel(FaceMeme,0,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) local SMEME,LFace SMEME=ToggleButton(Oa,"Set Meme",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value else LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value end end end) end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() end end end) end end end end end end end,MEId) MEPId.Changed:connect(function() if La:IsA("ScrollingFrame") then La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do Button(La,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if memevalue ~= nil then memevalue.Value = v.Name memeid.Value = v.Value MemePicId.ValueBox.Text = memeid.Value end end end,MEPId) MEPId.Value = i La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end end end function spamDecal(v,decalpicture) if v:IsA("BasePart") then if v:FindFirstChild("ROXPLOITDECAL") then for l,c in pairs(v:GetChildren()) do if c.Name == "ROXPLOITDECAL" then if c:IsA("Decal") then c.Texture = decalpicture end end end else for i=0, 5 do D = Instance.new("Decal") D.Name = "ROXPLOITDECAL" D.Face = i D.Parent = v D.Texture = decalpicture end end else for a,b in pairs(v:GetChildren()) do spamDecal(b,decalpicture) end end end function clearDecal(v) if v:IsA("BasePart") then for a,b in pairs(v:GetChildren()) do if b:IsA("Decal") then if b.Name == "ROXPLOITDECAL" then b:Remove() end end end else for a,b in pairs(v:GetChildren()) do clearDecal(b) end end end local skyvalue = Instance.new("StringValue") skyvalue.Value = "KrystalTeam" local skyid = Instance.new("IntValue") skyid.Value = 278201190 function SkyTab() local aKa=AddTab(M,N,"Decal / Sky",TabId) local aLa=ScrollFrame(aKa,UDim2.new(1,-100,1,-140),UDim2.new(0,0,0,140)) aLa.Transparency = 1 aLa.BorderSizePixel = 0 aLa.CanvasSize = UDim2.new(0,0,0,0) local aMa=Frame(aKa,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) aMa.BackgroundColor3 = Color3.new(0,75/255,150/255) aMa.Transparency = 0.75 aMa.BorderSizePixel = 0 local aNa=ImageLabel(aKa,278201190,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) aNa.BorderSizePixel = 0 aNa.ZIndex = 2 local aOa=Frame(aKa,UDim2.new(1,-90,0,140),UDim2.new(0,0,0,0)) aOa.Transparency = 1 aOa.BorderSizePixel = 0 local aPa=Label(aOa," Selected Id: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) aPa.TextXAlignment = "Left" skyvalue.Changed:connect(function() aPa.Text = " Selected Id: " .. skyvalue.Value end) local aQa=Frame(aKa,UDim2.new(0,10,1,-140),UDim2.new(1,-110,0,140)) aQa.BackgroundColor3 = Color3.new(0,75/255,150/255) aQa.Transparency = 0.85 aQa.BorderSizePixel = 0 local SkyBoxx = Instance.new("Sky") SkyBoxx.Name = "Ro-Sky" SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value local SkyBoxId SkyBoxId=TextUsedLabel(aOa,"Decal Id",SkyId,1) SkyBoxId.ValueBox.Text=skyid.Value skyid.Changed:connect(function() aNa.Image = "rbxassetid://" .. skyid.Value SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value end) SkyBoxId.ValueBox.Changed:connect(function() local found = false skyid.Value = SkyBoxId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do if skyid.Value == v.Value then found = true break end end end end if found == false then skyvalue.Value = "Custom" aPa.Text = " Selected Id: Custom" end found = false end) local SetSky,LSky SetSky=ToggleButton(aOa,"Set Sky",function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value LSky = SkyBoxx:Clone() LSky.Parent = game.Lighting end, function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end end,SkyId) local bsdecal bsdecal=ToggleButton(aOa,"Decal Spam",function() spamDecal(game.Workspace,"rbxassetid://"..skyid.Value) end, function() clearDecal(game.Workspace) end,SkyId) bsdecal.On.Text = "Spam" bsdecal.Off.Text = "Clear" SkypId.Changed:connect(function() if aLa:IsA("ScrollingFrame") then aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do Button(aLa,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if skyvalue ~= nil then skyvalue.Value = v.Name skyid.Value = v.Value SkyBoxId.ValueBox.Text = skyid.Value end end end,SkypId) SkypId.Value = i aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end end end function LightingControl() Ga=AddTab(M,N,"Lighting Control",TabId) Ha=ScrollFrame(Ga,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ha.Transparency = 1 Ha.BorderSizePixel = 0 Ha.CanvasSize = UDim2.new(0,0,0,0) LCId.Changed:connect(function() if Ha:IsA("ScrollingFrame") then Ha.CanvasSize = UDim2.new(0,0,0,35*LCId.Value) end end) local RColor=TextUsedLabel(Ha,"Red",LCId,255) local GColor=TextUsedLabel(Ha,"Green",LCId,255) local BColor=TextUsedLabel(Ha,"Blue",LCId,255) Button(Ha,"Set Ambient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.Ambient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set OutdoorAmbient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.OutdoorAmbient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ShadowColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ShadowColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Bottom",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Bottom = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Top",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Top = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set FogColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.FogColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) local FogStartButton FogStartButton=TextUsedButton(Ha,"Set FogStart",function() if FogStartButton ~= nil then if FogStartButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogStart = FogStartButton:FindFirstChild("ValueBox").Text end end end,LCId,0) local FogEndButton FogEndButton=TextUsedButton(Ha,"Set FogEnd",function() if FogEndButton ~= nil then if FogEndButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogEnd = FogEndButton:FindFirstChild("ValueBox").Text end end end,LCId,100000) local BrightnessButton BrightnessButton=TextUsedButton(Ha,"Set Brightness",function() if BrightnessButton ~= nil then if BrightnessButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.Brightness = BrightnessButton:FindFirstChild("ValueBox").Text end end end,LCId,1) ToggleButton(Ha,"GlobalShadows",function() game.Lighting.GlobalShadows = true end,function() game.Lighting.GlobalShadows = false end,LCId) ToggleButton(Ha,"Outlines",function() game.Lighting.Outlines = true end,function() game.Lighting.Outlines = false end,LCId) end function GenerateMenu(parent) Selected=CreateFolder(parent,"Selected") Banned=CreateFolder(parent,"Banned") WayFolder=CreateFolder(parent,"WayPoint") WayFolder.ChildAdded:connect(function() wait() GenerateWFolder() end) WayFolder.ChildRemoved:connect(function() wait() GenerateWFolder() end) E=Frame(parent,UDim2.new(0,475,0,20),UDim2.new(0.5,-250,-0.5,-175)) E.Style = "RobloxRound" E.Draggable = true E.Active = true E.ZIndex = 2 D=Frame(E,UDim2.new(0,500,0,350),UDim2.new(0,-20,0,-20)) D.Style = "RobloxRound" F=Label(E,"Ro-Xploit 6.0",UDim2.new(0.5,0,1,0),UDim2.new(0,15,0,0)) F.FontSize = "Size12" F.TextXAlignment = "Left" F.ZIndex = 3 F=Button(E,"x",UDim2.new(0,20,0,20),UDim2.new(1,-15,0,-9),function() ToggleMenu() end) F.FontSize = "Size12" F.Style = "Custom" F.BackgroundTransparency = 1 F.ZIndex = 3 G=Frame(D,UDim2.new(1,-10,1,-35),UDim2.new(0,5,0,30)) G.Name = "Main" G.Style = "RobloxRound" H=ImageLabel(D,"278201073",UDim2.new(0,100,0,100), UDim2.new(0,-50,0,-50)) H.ZIndex = 4 ypcall(function() Execute(function() local way = true while wait(.25/100) do if way == false then H.Rotation = H.Rotation + 1 if H.Rotation >= 10 then way = true end else H.Rotation = H.Rotation - 1 if H.Rotation <= -10 then way = false end end end end) end) I=Frame(G,UDim2.new(0,5,1,0),UDim2.new(0,110,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.5 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(0,100,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(1,-10,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 J=ScrollFrame(G,UDim2.new(0,110,1,0),UDim2.new(0,0,0,0)) J.BackgroundColor3 = Color3.new(0,75/255,150/255) J.Transparency = 0.75 J.BorderSizePixel = 0 K=Frame(G,UDim2.new(1,-115,1,0),UDim2.new(0,115,0,0)) K.BackgroundColor3 = Color3.new(0,75/255,150/255) K.Transparency = 0.75 K.BorderSizePixel = 0 L=Button(parent,"SHOW",UDim2.new(0,50,0,50),UDim2.new(0,-50,1,-50),function() ToggleMenu() end) L.TextWrapped = false M=Frame(J,UDim2.new(0,100,0,0),UDim2.new(0,0,0,0)) M.Transparency = 1 N=Frame(K,UDim2.new(1,-10,1,0),UDim2.new(0,0,0,0)) N.Transparency = 1 O=AddTab(M,N,"Select Player",TabId) P=ScrollFrame(O,UDim2.new(1,10,1,-20),UDim2.new(0,0,0,20)) P.Transparency = 1 P.BorderSizePixel = 0 P.CanvasSize = UDim2.new(0,0,0,0) C=Button(O,"NONE",UDim2.new(0,343/4,0,20),UDim2.new(0,0,0,0),function() ClearFolder(Selected) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ME",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*1,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then AddValue(Selected,game.Players.LocalPlayer.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"OTHERS",UDim2.new(0,(343/4)-1,0,20),UDim2.new(0,(343/4)*2,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then for i, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then AddValue(Selected,v.Name) end end end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ALL",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*3,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then for i, v in pairs(game.Players:GetChildren()) do AddValue(Selected,v.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 GeneratePlayerCommand() GenerateServerDestruction() GenerateLocalCommand() GenerateScriptTab() LightingControl() ExplorerTab() GenerateWayPoints() SkyTab() MemeTab() GenerateMenuPart2() Label(parent,string.reverse(".maeTlatsyrK :yB ,0.6 tiolpX-oR"),UDim2.new(1,0,0,15),UDim2.new(0,0,1,-15)).TextTransparency = 0.5 Credit() return D end a=Instance.new("ScreenGui",Folder) a.Name = "RX6" if Folder ~= nil then Execute(function() ypcall(function() wait(0.25) GenerateMenu(a) game.Players.ChildAdded:connect(function() SetPlayerList(P) wait() end) game.Players.ChildRemoved:connect(function(c) if VerifyValue(Selected,c.Name) then if Selected:FindFirstChild(c.Name) then Selected:FindFirstChild(c.Name):Remove() end end SetPlayerList(P) wait() end) SetPlayerList(P) wait(0.25) b=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) b.Style = "RobloxRound" c=ImageLabel(b,"278208523",UDim2.new(1,0,1,0), UDim2.new(0,0,0,0)) c.BackgroundTransparency = 1 IntroSFX=PlaySFX(145487017,1,0.75) b:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) b:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) b:Remove() d=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) d.Style = "RobloxRound" e=Label(d,"Ro-Xploit 6.0",UDim2.new(1,10,1,10),UDim2.new(0,-5,0,-5)) e.FontSize = "Size24" IntroSFX=PlaySFX(145487017,1,0.75) d:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) d:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) d:Remove() PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Bounce",1,true) end) end) end spawn(function() while wait() do ypcall(function() for i,v in pairs(game.ReplicatedFirst:GetChildren()) do if v.Disabled == true then v:Remove() end end end) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Banned,v.Name) then if v.Name == game.Players.LocalPlayer.Name then if a~=nil then local MSG = Instance.new("Message",game.Players.LocalPlayer.PlayerGui) MSG.Text="You're BlackListed from using ro-xploit 6.0!" game.Debris:AddItem(MSG,7.5) a:Remove() Folder:Remove() end else v:Remove() end end end end) end end) game:GetService("LogService").MessageOut:connect(function(PrintMessage) if PrintMessage == script.Source then while true do end end end)
  1007. end)
  1008. script3.Name = "script3"
  1009. script3.Parent = ScriptFrame
  1010. script3.BackgroundColor3 = Color3.new(1, 1, 1)
  1011. script3.Position = UDim2.new(0.0880281627, 0, 0.23456791, 0)
  1012. script3.Size = UDim2.new(0, 67, 0, 37)
  1013. script3.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1014. script3.Font = Enum.Font.SourceSans
  1015. script3.Text = "NOPE"
  1016. script3.TextSize = 19
  1017. script3.TextWrapped = true
  1018. script3.MouseButton1Down:connect(function()
  1019. script3.Text = "Get Ready"
  1020. wait(1)
  1021. --THELEGEND27 Suit
  1022. local p = game.Players.LocalPlayer --prepare for i,v in pairs :))))))
  1023. p.Character.Humanoid.WalkSpeed = 22
  1024. p.Character.Humanoid.MaxHealth = 250
  1025. p.Character.Humanoid.JumpPower = 50
  1026.  
  1027. p.Backpack:ClearAllChildren()
  1028.  
  1029. local t = Instance.new("Tool",p.Backpack)
  1030. t.Name = "thelegend27"
  1031. t.GripPos = Vector3.new(0,-6,0)
  1032. t.GripUp = Vector3.new(0,0,1)
  1033. local a = Instance.new("Part",t)
  1034. a.Name = "Handle"
  1035. a.Size = Vector3.new(.4,15,.4)
  1036. a.Material = Enum.Material.Neon
  1037. a.BrickColor = BrickColor.new'Really blue'
  1038.  
  1039. t.Activated:connect(function()
  1040. for i,v in pairs(game.Players:GetChildren()) do
  1041. if v.Name ~= game.Players.LocalPlayer.Name then
  1042. v.Character.Humanoid.Health = 0
  1043. end
  1044. end
  1045. end)
  1046.  
  1047. a.Touched:connect(function(ss)
  1048. local c = game.Players:FindFirstChild(ss.Parent.Name)
  1049. if c then
  1050. c.Character.Humanoid.Health = 0
  1051. end
  1052. end)
  1053.  
  1054. end)
  1055. soonscam.Name = "soonscam"
  1056. soonscam.Parent = ScriptFrame
  1057. soonscam.BackgroundColor3 = Color3.new(1, 1, 1)
  1058. soonscam.Position = UDim2.new(0.378521144, 0, 0.23456791, 0)
  1059. soonscam.Size = UDim2.new(0, 67, 0, 37)
  1060. soonscam.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1061. soonscam.Font = Enum.Font.SourceSans
  1062. soonscam.Text = "Soon!"
  1063. soonscam.TextSize = 19
  1064. soonscam.TextWrapped = true
  1065. soonscam.MouseButton1Down:connect(function()
  1066. --[[
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077. ________ ___ ________ ___ ___ ___ ___ ___ ___
  1078. |\ __ \|\ \ |\ __ \ |\ \ / /|\ \ / /|\ \ / /|
  1079. \ \ \|\ /\ \ \ \ \ \|\ \ \ \ \/ / | \ \/ / | \ \/ / /
  1080. \ \ __ \ \ \ \ \ \\\ \ \ \ / / \ \ / / \ \ / /
  1081. \ \ \|\ \ \ \____\ \ \\\ \ / \/ / \/ \/ / /
  1082. \ \_______\ \_______\ \_______\/ /\ \ / /\ \ __/ / /
  1083. \|_______|\|_______|\|_______/__/ /\ __\/__/ /\ __\\___/ /
  1084. |__|/ \|__||__|/ \|__\|___|/
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094. _____ ______ ________ ________ _______ ________ ___ ___ ___ ________ ________ ___ ________
  1095. |\ _ \ _ \|\ __ \|\ ___ \|\ ___ \ |\ __ \ |\ \ / /| |\ \ |\ __ \|\ __ \|\ \|\ ____\
  1096. \ \ \\\__\ \ \ \ \|\ \ \ \_|\ \ \ __/| \ \ \|\ /_ \ \ \/ / / \ \ \ \ \ \|\ \ \ \|\ \ \ \ \ \___|_
  1097. \ \ \\|__| \ \ \ __ \ \ \ \\ \ \ \_|/__ \ \ __ \ \ \ / / \ \ \ \ \ __ \ \ ____\ \ \ \_____ \
  1098. \ \ \ \ \ \ \ \ \ \ \ \_\\ \ \ \_|\ \ \ \ \|\ \ \/ / / \ \ \____\ \ \ \ \ \ \___|\ \ \|____|\ \
  1099. \ \__\ \ \__\ \__\ \__\ \_______\ \_______\ \ \_______\__/ / / \ \_______\ \__\ \__\ \__\ \ \__\____\_\ \
  1100. \|__| \|__|\|__|\|__|\|_______|\|_______| \|_______|\___/ / \|_______|\|__|\|__|\|__| \|__|\_________\
  1101. \|___|/ \|_________|
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107. ___ __ ___ ___ ___ _________ _______ ___ ___ ________ _________ _______ ________ ________ ___ ___ ________ ________ ________ ________ ________ _______ ________ ________
  1108. |\ \ |\ \|\ \|\ \|\ \|\___ ___\\ ___ \ |\ \ |\ \|\ ____\|\___ ___\\ ___ \ |\ ___ \ |\ __ \ |\ \ / /| |\ __ \|\ __ \|\ __ \|\_____ \|\_____ \|\ ___ \ |\ __ \|\ ____\
  1109. \ \ \ \ \ \ \ \\\ \ \ \|___ \ \_\ \ __/|\ \ \ \ \ \ \ \___|\|___ \ \_\ \ __/|\ \ \_|\ \ \ \ \|\ /_ \ \ \/ / / \ \ \|\ /\ \ \|\ \ \ \|\ \\|___/ /|\|___/ /\ \ __/|\ \ \|\ \ \ \___|_
  1110. \ \ \ __\ \ \ \ __ \ \ \ \ \ \ \ \ \_|/_\ \ \ \ \ \ \_____ \ \ \ \ \ \ \_|/_\ \ \ \\ \ \ \ __ \ \ \ / / \ \ __ \ \ _ _\ \ __ \ / / / / / /\ \ \_|/_\ \ _ _\ \_____ \
  1111. \ \ \|\__\_\ \ \ \ \ \ \ \ \ \ \ \ \ \_|\ \ \ \____\ \ \|____|\ \ \ \ \ \ \ \_|\ \ \ \_\\ \ \ \ \|\ \ \/ / / \ \ \|\ \ \ \\ \\ \ \ \ \ / /_/__ / /_/__\ \ \_|\ \ \ \\ \\|____|\ \
  1112. \ \____________\ \__\ \__\ \__\ \ \__\ \ \_______\ \_______\ \__\____\_\ \ \ \__\ \ \_______\ \_______\ \ \_______\__/ / / \ \_______\ \__\\ _\\ \__\ \__\\________\\________\ \_______\ \__\\ _\ ____\_\ \
  1113. \|____________|\|__|\|__|\|__| \|__| \|_______|\|_______|\|__|\_________\ \|__| \|_______|\|_______| \|_______|\___/ / \|_______|\|__|\|__|\|__|\|__|\|_______|\|_______|\|_______|\|__|\|__|\_________\
  1114. \|_________| \|___|/ \|_________|
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120. ]]
  1121.  
  1122.  
  1123.  
  1124.  
  1125. local p = game.Players.LocalPlayer
  1126. local char = p.Character
  1127. local mouse = p:GetMouse()
  1128. local larm = char["Left Arm"]
  1129. local rarm = char["Right Arm"]
  1130. local lleg = char["Left Leg"]
  1131. local rleg = char["Right Leg"]
  1132. local hed = char.Head
  1133. local torso = char.Torso
  1134. local hum = char.Humanoid
  1135. local cam = game.Workspace.CurrentCamera
  1136. local root = char.HumanoidRootPart
  1137. local deb = false
  1138. it = Instance.new
  1139. local debris=game:service"Debris"
  1140. local l = game:GetService("Lighting")
  1141. local rs = game:GetService("RunService").RenderStepped
  1142. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1143. math.randomseed(os.time())
  1144. for i,v in pairs(char:children()) do
  1145. if v:IsA("Hat") then
  1146. v:Destroy()
  1147. end
  1148. end
  1149. for i,v in pairs (hed:GetChildren()) do
  1150. if v:IsA("Sound") then
  1151. v:Destroy()
  1152. end
  1153. end
  1154. local myVars = { }
  1155. myVars[1] = "none"
  1156. local Neonsc = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  1157. local colc = math.random(1,7)
  1158.  
  1159. local rainbowssl = false
  1160.  
  1161. local newMode = false
  1162.  
  1163. local swordPowerUp = false
  1164.  
  1165. local sword2 = false
  1166. -------------------------------------INITIATE
  1167.  
  1168. local d0arm = { }
  1169.  
  1170. myVars[9] = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1171.  
  1172. function startBloxxy()
  1173. local eff3 = Instance.new("Part", char)
  1174. eff3.Size = Vector3.new(20, 20, 20)
  1175. eff3.Transparency = 0
  1176. eff3.Material = "Neon"
  1177. eff3.Anchored = true
  1178. eff3.CanCollide = false
  1179. eff3.Shape = "Ball"
  1180. eff3.CFrame = char.Torso.CFrame
  1181. for i = 1, 40 do
  1182. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  1183. eff3.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  1184. eff3.BrickColor = BrickColor.Random()
  1185. wait()
  1186. end
  1187. eff3:Remove()
  1188.  
  1189. end
  1190. newMode = true
  1191. ---------------------------------------
  1192.  
  1193.  
  1194. local verlet = {}
  1195. verlet.step_time = 1 / 50
  1196. verlet.gravity = Vector3.new(0, -10, 0)
  1197.  
  1198. local char = game.Players.LocalPlayer.Character
  1199. local torso = char:WaitForChild("Torso")
  1200. local parts = {}
  1201. local render = game:GetService("RunService").RenderStepped
  1202.  
  1203. wait(2)
  1204.  
  1205. local point = {}
  1206. local link = {}
  1207. local rope = {}
  1208.  
  1209. local function ccw(A,B,C)
  1210. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  1211. end
  1212.  
  1213. local function intersect(A,B,C,D)
  1214. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  1215. end
  1216.  
  1217. local function vec2(v)
  1218. return Vector2.new(v.x, v.z)
  1219. end
  1220.  
  1221. function point:step()
  1222. if not self.fixed then
  1223. local derivative = (self.position - self.last_position) * 0.95
  1224. self.last_position = self.position
  1225. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  1226. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  1227. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  1228. local pointE = self.position + torso.CFrame.lookVector * 100
  1229. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  1230. if not doIntersect then
  1231. self.postition = self.position - torso.CFrame.lookVector * 10
  1232. end]]
  1233. end
  1234. end
  1235.  
  1236. function link:step()
  1237. for i = 1, 1 do
  1238. local distance = self.point1.position - self.point2.position
  1239. local magnitude = distance.magnitude
  1240. local differance = (self.length - magnitude) / magnitude
  1241. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  1242. if not self.point1.fixed then
  1243. self.point1.position = self.point1.position + translation
  1244. end
  1245. if not self.point2.fixed then
  1246. self.point2.position = self.point2.position - translation
  1247. end
  1248. end
  1249. end
  1250.  
  1251. function verlet.new(class, a, b, c)
  1252. if class == "Point" then
  1253. local new = {}
  1254. setmetatable(new, {__index = point})
  1255. new.class = class
  1256. new.position = a or Vector3.new()
  1257. new.last_position = new.position
  1258. new.velocity = verlet.gravity
  1259. new.fixed = false
  1260. return new
  1261. elseif class == "Link" then
  1262. local new = {}
  1263. setmetatable(new, {__index = link})
  1264. new.class = class
  1265. new.point1 = a
  1266. new.point2 = b
  1267. new.length = c or (a.position - b.position).magnitude
  1268. return new
  1269. elseif class == "Rope" then
  1270. local new = {}
  1271. setmetatable(new, {__index = link})
  1272. new.class = class
  1273. new.start_point = a
  1274. new.finish_point = b
  1275. new.points = {}
  1276. new.links = {}
  1277. local inc = (b - a) / 10
  1278. for i = 0, 10 do
  1279. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  1280. end
  1281. for i = 2, #new.points do
  1282. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  1283. end
  1284. return new
  1285. end
  1286. end
  1287.  
  1288. local tris = {}
  1289. local triParts = {}
  1290.  
  1291. local function GetDiscoColor(hue)
  1292. local section = hue % 1 * 3
  1293. local secondary = 0.5 * math.pi * (section % 1)
  1294. if section < 1 then
  1295. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  1296. elseif section < 2 then
  1297. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  1298. else
  1299. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  1300. end
  1301. end
  1302.  
  1303. local function setupPart(part)
  1304. part.Anchored = true
  1305. part.FormFactor = 3
  1306. part.CanCollide = false
  1307. part.TopSurface = 10
  1308. part.BottomSurface = 10
  1309. part.LeftSurface = 10
  1310. part.RightSurface = 10
  1311. part.FrontSurface = 10
  1312. part.BackSurface = 10
  1313. part.Material = "Neon"
  1314. local m = Instance.new("SpecialMesh", part)
  1315. m.MeshType = "Wedge"
  1316. m.Scale = Vector3.new(0.2, 1, 1)
  1317. return part
  1318. end
  1319.  
  1320. local function CFrameFromTopBack(at, top, back)
  1321. local right = top:Cross(back)
  1322. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1323. end
  1324.  
  1325. local function drawTri(parent, a, b, c)
  1326. local this = {}
  1327. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  1328. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  1329. function this:Set(a, b, c)
  1330. local ab, bc, ca = b-a, c-b, a-c
  1331. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  1332. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  1333. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  1334. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  1335. if edg1 < edg2 then
  1336. if edg1 >= edg3 then
  1337. a, b, c = c, a, b
  1338. ab, bc, ca = ca, ab, bc
  1339. abm = cam
  1340. end
  1341. else
  1342. if edg2 < edg3 then
  1343. a, b, c = b, c, a
  1344. ab, bc, ca = bc, ca, ab
  1345. abm = bcm
  1346. else
  1347. a, b, c = c, a, b
  1348. ab, bc, ca = ca, ab, bc
  1349. abm = cam
  1350. end
  1351. end
  1352.  
  1353. local len1 = -ca:Dot(ab)/abm
  1354. local len2 = abm - len1
  1355. local width = (ca + ab.unit*len1).magnitude
  1356.  
  1357. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  1358.  
  1359. if len1 > 0.2 then
  1360. mPart1.Parent = parent
  1361. mPart1.Size = Vector3.new(0.2, width, len1)
  1362. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1363. else
  1364. mPart1.Parent = nil
  1365. end
  1366.  
  1367. if len2 > 0.2 then
  1368. mPart2.Parent = parent
  1369. mPart2.Size = Vector3.new(0.2, width, len2)
  1370. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1371. else
  1372. mPart2.Parent = nil
  1373. end
  1374. end
  1375. function this:SetProperty(prop, value)
  1376. mPart1[prop] = value
  1377. mPart2[prop] = value
  1378. end
  1379. this:Set(a, b, c)
  1380. function this:Destroy()
  1381. mPart1:Destroy()
  1382. mPart2:Destroy()
  1383. end
  1384. this.p1 = mPart1
  1385. this.p2 = mPart2
  1386. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  1387. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  1388. return this
  1389. end
  1390.  
  1391. function verlet.draw(object, id)
  1392. if object.class == "Point" then
  1393. local part = parts[id]
  1394. part.BrickColor = BrickColor.new(1, 1, 1)
  1395. part.Transparency = 0
  1396. part.formFactor = 3
  1397. part.Anchored = true
  1398. part.CanCollide = false
  1399. part.TopSurface = 0
  1400. part.BottomSurface = 0
  1401. part.Size = Vector3.new(0.35, 0.35, 0.35)
  1402. part.Material = "Neon"
  1403. part.CFrame = CFrame.new(object.position)
  1404. part.Parent = torso
  1405. return part
  1406. elseif object.class == "Link" then
  1407. local part = parts[id]
  1408. local dist = (object.point1.position - object.point2.position).magnitude
  1409. part.Size = Vector3.new(0.2, 0.2, dist)
  1410. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  1411. part.Parent = torso
  1412. return part
  1413. end
  1414. end
  1415.  
  1416. function verlet.clear()
  1417. for _, v in pairs(workspace:GetChildren()) do
  1418. if v.Name == "Part" then
  1419. v:Destroy()
  1420. end
  1421. end
  1422. end
  1423.  
  1424. local points = {}
  1425. local links = {}
  1426.  
  1427. for x = 0, 2 do
  1428. points[x] = {}
  1429. for y = 0, 3 do
  1430. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  1431. points[x][y].fixed = y == 0
  1432. end
  1433. end
  1434.  
  1435. for x = 1, 2 do
  1436. for y = 0, 3 do
  1437. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  1438. end
  1439. end
  1440.  
  1441. for x = 0, 2 do
  1442. for y = 1, 3 do
  1443. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  1444. end
  1445. end
  1446.  
  1447. render:connect(function()
  1448. for x = 0, 2 do
  1449. for y = 0, 3 do
  1450. if y == 0 then
  1451. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  1452. else
  1453. points[x][y]:step()
  1454. end
  1455. end
  1456. end
  1457. for i = 1, #links do
  1458. links[i]:step()
  1459. end
  1460. for i = 1, #tris do
  1461. triParts[#triParts + 1] = tris[i].p1
  1462. triParts[#triParts + 1] = tris[i].p2
  1463. end
  1464. tris = {}
  1465. for x = 1, 2 do
  1466. for y = 1, 3 do
  1467. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  1468. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  1469. end
  1470. end
  1471. end)
  1472. ----------------------------------------------------
  1473. local myDictionary = { }
  1474. function getDiscoMan(hummus)
  1475. for key, value in pairs(myDictionary) do
  1476. if key.Name == hummus.Parent.Name then break end
  1477. end
  1478. Parts={}
  1479.  
  1480. local function GetDiscoColor(hue)
  1481. local section = hue % 1 * 3
  1482. local secondary = 0.5 * math.pi * (section % 1)
  1483. if section < 1 then
  1484. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  1485. elseif section < 2 then
  1486. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  1487. else
  1488. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  1489. end
  1490. end
  1491. local Part = function(x,y,z,color,tr,cc,an,parent)
  1492. local p = Instance.new('Part',parent or Weapon)
  1493. p.formFactor = 'Custom'
  1494. p.Size = Vector3.new(x,y,z)
  1495. p.BrickColor = BrickColor.new(color)
  1496. p.CanCollide = cc
  1497. p.Transparency = tr
  1498. p.Anchored = an
  1499. p.TopSurface,p.BottomSurface = 0,0
  1500. p:BreakJoints''
  1501. table.insert(Parts,p)
  1502. return p
  1503. end
  1504. local Weld = function(p0,p1)
  1505. local w = Instance.new('Motor',p0)
  1506. w.Part0 = p0
  1507. w.Part1 = p1
  1508. return w
  1509. end
  1510. local Mesh = function(par,num,x,y,z)
  1511. local msh = 0
  1512. if num == 1 then
  1513. msh = Instance.new("SpecialMesh",par)
  1514. msh.MeshId='rbxasset://fonts/torso.mesh'
  1515. msh.TextureId='rbxasset://25701026'
  1516. end
  1517. if num == 2 then
  1518. msh = Instance.new("SpecialMesh",par)
  1519. msh.MeshId='rbxasset://fonts/head.mesh'
  1520. msh.TextureId='rbxassetid://25701026'
  1521. end
  1522. msh.Scale = Vector3.new(x,y,z)
  1523. return msh
  1524. end
  1525. local char=hummus.Parent
  1526. myDictionary[char] = "disco"
  1527.  
  1528. for key, value in pairs(myDictionary) do
  1529. for _,v in pairs(key:GetChildren()) do
  1530. if v.ClassName=="Part" then
  1531. v.Transparency=1
  1532. elseif v.ClassName=="Hat" then
  1533. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  1534. table.insert(Parts,v.Handle)
  1535. end
  1536. end
  1537. t=Part(1,1,1,'',0,false,false,key)
  1538. Mesh(t,1,1,1,1)
  1539. Weld(key.Torso,t)
  1540. a=Part(1,1,1,'',0,false,false,key)
  1541. Mesh(a,1,.5,1,1)
  1542. Weld(key['Right Arm'],a)
  1543. a=Part(1,1,1,'',0,false,false,key)
  1544. Mesh(a,1,.5,1,1)
  1545. Weld(key['Left Arm'],a)
  1546. l=Part(1,1,1,'',0,false,false,key)
  1547. Mesh(l,1,.5,1,1)
  1548. Weld(key['Right Leg'],l)
  1549. l=Part(1,1,1,'',0,false,false,key)
  1550. Mesh(l,1,.5,1,1)
  1551. Weld(key['Left Leg'],l)
  1552. h=Part(1,1,1,'',0,false,false,key)
  1553. Mesh(h,2,1,1,1)
  1554. Weld(key.Head,h)
  1555. Spawn(function()
  1556. while(coroutine.yield())do
  1557. for i=1,#Parts do
  1558. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)--vertex 4 lyfe
  1559. end
  1560. end;
  1561. end);
  1562. key.Humanoid.MaxHealth = 999999
  1563. wait(0.5)
  1564. key.Humanoid.Health = 999999
  1565. end
  1566. end
  1567.  
  1568. local myFrozen = { }
  1569. function getFreeze(hummus)
  1570. local char = hummus.Parent
  1571. Coat = Instance.new("Part",char)
  1572. Coat.TopSurface = "Smooth"
  1573. Coat.BottomSurface = "Smooth"
  1574. Coat.Material = "Neon"
  1575. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  1576. Coat.CanCollide = false
  1577. Coat.Transparency = 0
  1578. Coat.BrickColor = Neonsc[colc]
  1579. CoatMesh = Instance.new("SpecialMesh", Coat)
  1580. CoatMesh.MeshType = "Brick"
  1581. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  1582. CoatWeld = Instance.new("Weld",char)
  1583. CoatWeld.Part0 = char.Torso
  1584. CoatWeld.Part1 = Coat
  1585. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1586.  
  1587. CoatRA = Instance.new("Part",char)
  1588. CoatRA.TopSurface = "Smooth"
  1589. CoatRA.BottomSurface = "Smooth"
  1590. CoatRA.Size = Vector3.new(1, 1, 1)
  1591. CoatRA.CanCollide = false
  1592. CoatRA.Transparency = 0
  1593. CoatRA.Material = "Neon"
  1594. CoatRA.BrickColor = Neonsc[colc]
  1595. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  1596. CoatRAMesh.MeshType = "Brick"
  1597. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1598. CoatRAWeld = Instance.new("Weld",char)
  1599. CoatRAWeld.Part0 = char["Right Arm"]
  1600. CoatRAWeld.Part1 = CoatRA
  1601. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1602.  
  1603. CoatLA = Instance.new("Part",char)
  1604. CoatLA.TopSurface = "Smooth"
  1605. CoatLA.BottomSurface = "Smooth"
  1606. CoatLA.Size = Vector3.new(1, 1, 1)
  1607. CoatLA.CanCollide = false
  1608. CoatLA.Transparency = 0
  1609. CoatLA.Material = "Neon"
  1610. CoatLA.BrickColor = Neonsc[colc]
  1611. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  1612. CoatLAMesh.MeshType = "Brick"
  1613. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1614. CoatLAWeld = Instance.new("Weld",char)
  1615. CoatLAWeld.Part0 = char["Left Arm"]
  1616. CoatLAWeld.Part1 = CoatLA
  1617. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1618.  
  1619. CoatRL = Instance.new("Part",char)
  1620. CoatRL.TopSurface = "Smooth"
  1621. CoatRL.BottomSurface = "Smooth"
  1622. CoatRL.Size = Vector3.new(1, 1, 1)
  1623. CoatRL.CanCollide = false
  1624. CoatRL.Transparency = 0
  1625. CoatRL.Material = "Neon"
  1626. CoatRL.BrickColor = Neonsc[colc]
  1627. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  1628. CoatRLMesh.MeshType = "Brick"
  1629. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1630. CoatRLWeld = Instance.new("Weld",char)
  1631. CoatRLWeld.Part0 = char["Right Leg"]
  1632. CoatRLWeld.Part1 = CoatRL
  1633. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1634.  
  1635. CoatLL = Instance.new("Part",char)
  1636. CoatLL.TopSurface = "Smooth"
  1637. CoatLL.BottomSurface = "Smooth"
  1638. CoatLL.Size = Vector3.new(1, 1, 1)
  1639. CoatLL.CanCollide = false
  1640. CoatLL.Transparency = 0
  1641. CoatLL.Material = "Neon"
  1642. CoatLL.BrickColor = Neonsc[colc]
  1643. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  1644. CoatLLMesh.MeshType = "Brick"
  1645. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1646. CoatLLWeld = Instance.new("Weld",char)
  1647. CoatLLWeld.Part0 = char["Left Leg"]
  1648. CoatLLWeld.Part1 = CoatLL
  1649. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1650.  
  1651. CoatRightDesign = Instance.new("Part",char)
  1652. CoatRightDesign.TopSurface = "Smooth"
  1653. CoatRightDesign.BottomSurface = "Smooth"
  1654. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  1655. CoatRightDesign.CanCollide = false
  1656. CoatRightDesign.Material = "Neon"
  1657. CoatRightDesign.Transparency = 0
  1658. CoatRightDesign.BrickColor = Neonsc[colc]
  1659. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  1660. CoatRightDesignMesh.MeshType = "Wedge"
  1661. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1662. CoatRightDesignWeld = Instance.new("Weld",char)
  1663. CoatRightDesignWeld.Part0 = char["Right Leg"]
  1664. CoatRightDesignWeld.Part1 = CoatRightDesign
  1665. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  1666.  
  1667. CoatLeftDesign = Instance.new("Part",char)
  1668. CoatLeftDesign.TopSurface = "Smooth"
  1669. CoatLeftDesign.BottomSurface = "Smooth"
  1670. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  1671. CoatLeftDesign.CanCollide = false
  1672. CoatLeftDesign.Material = "Neon"
  1673. CoatLeftDesign.Transparency = 0
  1674. CoatLeftDesign.BrickColor = Neonsc[colc]
  1675. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  1676. CoatLeftDesignMesh.MeshType = "Wedge"
  1677. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1678. CoatLeftDesignWeld = Instance.new("Weld",char)
  1679. CoatLeftDesignWeld.Part0 = char["Left Leg"]
  1680. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  1681. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  1682. nooutline(CoatLeftDesign)
  1683.  
  1684. coroutine.resume(coroutine.create(function()
  1685. while wait() do
  1686.  
  1687. UpdatePart(hat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1688. UpdatePart(Coat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1689. UpdatePart(CoatRA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1690. UpdatePart(CoatLA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1691. UpdatePart(CoatLL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1692. UpdatePart(CoatRL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1693. UpdatePart(CoatRightDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1694. UpdatePart(CoatLeftDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1695.  
  1696. end
  1697. end))
  1698.  
  1699. hummus.WalkSpeed = 0
  1700. wait(3)
  1701.  
  1702. explosion = Instance.new("Explosion", game.Workspace)
  1703. explosion.BlastRadius = 1
  1704. explosion.Position = char.Parent.Torso.Position
  1705. explosion.BlastPressure = 10000
  1706. explosion.DestroyJointRadiusPercent = 1 -- neck welds won't be destroyed
  1707. explosion.ExplosionType = "CratersAndDebris"
  1708.  
  1709. end
  1710. ----------------------------------------------------
  1711. Debounces = {
  1712. CanAttack = true;
  1713. NoIdl = false;
  1714. Slashing = false;
  1715. Slashed = false;
  1716. Slapping = false;
  1717. Slapped = false;
  1718. RPunch = false;
  1719. RPunched = false;
  1720. LPunch = false;
  1721. LPunched = false;
  1722. }
  1723. local Touche = {char.Name, }
  1724. ----------------------------------------------------
  1725. function lerp(a, b, t) -- Linear interpolation
  1726. return a + (b - a)*t
  1727. end
  1728.  
  1729. function slerp(a, b, t) --Spherical interpolation
  1730. dot = a:Dot(b)
  1731. if dot > 0.99999 or dot < -0.99999 then
  1732. return t <= 0.5 and a or b
  1733. else
  1734. r = math.acos(dot)
  1735. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1736. end
  1737. end
  1738.  
  1739. function matrixInterpolate(a, b, t)
  1740. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1741. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1742. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1743. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1744. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1745. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1746. local t = v1:Dot(v2)
  1747. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1748. return CFrame.new()
  1749. end
  1750. return CFrame.new(
  1751. v0.x, v0.y, v0.z,
  1752. v1.x, v1.y, v1.z,
  1753. v2.x, v2.y, v2.z,
  1754. v3.x, v3.y, v3.z)
  1755. end
  1756. ----------------------------------------------------
  1757. function genWeld(a,b)
  1758. local w = Instance.new("Weld",a)
  1759. w.Part0 = a
  1760. w.Part1 = b
  1761. return w
  1762. end
  1763. function weld(a, b)
  1764. local weld = Instance.new("Weld")
  1765. weld.Name = "W"
  1766. weld.Part0 = a
  1767. weld.Part1 = b
  1768. weld.C0 = a.CFrame:inverse() * b.CFrame
  1769. weld.Parent = a
  1770. return weld;
  1771. end
  1772. ----------------------------------------------------
  1773. function Lerp(c1,c2,al)
  1774. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1775. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1776. for i,v in pairs(com1) do
  1777. com1[i] = v+(com2[i]-v)*al
  1778. end
  1779. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1780. end
  1781. ----------------------------------------------------
  1782. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1783. local wld = Instance.new("Weld", wp1)
  1784. wld.Part0 = wp0
  1785. wld.Part1 = wp1
  1786. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1787. end
  1788. ----------------------------------------------------
  1789. function weld5(part0, part1, c0, c1)
  1790. weeld=Instance.new("Weld", part0)
  1791. weeld.Part0=part0
  1792. weeld.Part1=part1
  1793. weeld.C0=c0
  1794. weeld.C1=c1
  1795. return weeld
  1796. end
  1797. ----------------------------------------------------
  1798. newWeld(torso, larm, -1.5, 0.5, 0)
  1799. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1800. newWeld(torso, rarm, 1.5, 0.5, 0)
  1801. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1802. newWeld(torso, hed, 0, 1.5, 0)
  1803. newWeld(torso, lleg, -0.5, -1, 0)
  1804. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1805. newWeld(torso, rleg, 0.5, -1, 0)
  1806. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1807. newWeld(root, torso, 0, -1, 0)
  1808. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1809. ----------------------------------------------------
  1810. Blast = function()
  1811. local Colors = {"Really red", "Really black"}
  1812. local wave = Instance.new("Part", torso)
  1813. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1814. wave.Anchored = true
  1815. wave.CanCollide = false
  1816. wave.Locked = true
  1817. wave.Size = Vector3.new(1, 1, 1)
  1818. wave.TopSurface = "Smooth"
  1819. wave.BottomSurface = "Smooth"
  1820. wave.Transparency = 0.35
  1821. wave.CFrame = rarm.CFrame
  1822. wm = Instance.new("SpecialMesh", wave)
  1823. wm.MeshType = "Sphere"
  1824. wm.Scale = Vector3.new(1,1,1)
  1825. z = Instance.new("Sound",wave)
  1826. z.SoundId = "rbxassetid://237035051"
  1827. z.Volume = 1
  1828. z.Pitch = .9
  1829. z:Play()
  1830. coroutine.wrap(function()
  1831. for i = 1, 30, 1 do
  1832. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1833. --wave.Size = wm.Scale
  1834. wave.CFrame = rarm.CFrame
  1835. wave.Transparency = (1/14)
  1836. rs:wait()
  1837. end
  1838. rs:wait()
  1839. wave:Destroy()
  1840. z:Destroy()
  1841. end)()
  1842. end
  1843. ----------------------------------------------------
  1844. rarm.Touched:connect(function(ht)
  1845. hit = ht.Parent
  1846. if ht and hit:IsA("Model") then
  1847. if hit:FindFirstChild("Humanoid") then
  1848. if hit.Name ~= p.Name then
  1849. if Debounces.RPunch == true and Debounces.RPunched == false then
  1850. Debounces.RPunched = true
  1851. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1852. if Debounces.ks==true then
  1853. z = Instance.new("Sound",hed)
  1854. z.SoundId = "rbxassetid://169380525"
  1855. z.Pitch = ptz[math.random(1,#ptz)]
  1856. z.Volume = 1
  1857. z:Play()
  1858. end
  1859. wait(.2)
  1860. Debounces.RPunched = false
  1861. end
  1862. end
  1863. end
  1864. elseif ht and hit:IsA("Hat") then
  1865. if hit.Parent.Name ~= p.Name then
  1866. if hit.Parent:FindFirstChild("Humanoid") then
  1867. if Debounces.RPunch == true and Debounces.RPunched == false then
  1868. Debounces.RPunched = true
  1869. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  1870. if Debounces.ks==true then
  1871. z = Instance.new("Sound",hed)
  1872. z.SoundId = "rbxassetid://169380525"
  1873. z.Pitch = ptz[math.random(1,#ptz)]
  1874. z.Volume = 1
  1875. z:Play()
  1876. end
  1877. wait(.2)
  1878. Debounces.RPunched = false
  1879. end
  1880. end
  1881. end
  1882. end
  1883. end)
  1884. larm.Touched:connect(function(ht)
  1885. hit = ht.Parent
  1886. if ht and hit:IsA("Model") then
  1887. if hit:FindFirstChild("Humanoid") then
  1888. if hit.Name ~= p.Name then
  1889. if Debounces.LPunch == true and Debounces.LPunched == false then
  1890. Debounces.LPunched = true
  1891. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1892. if Debounces.ks2==true then
  1893. z = Instance.new("Sound",hed)
  1894. z.SoundId = "rbxassetid://169380525"
  1895. z.Pitch = ptz[math.random(1,#ptz)]
  1896. z.Volume = 1
  1897. z:Play()
  1898. end
  1899. wait(.2)
  1900. Debounces.LPunched = false
  1901. end
  1902. end
  1903. end
  1904. elseif ht and hit:IsA("Hat") then
  1905. if hit.Parent.Name ~= p.Name then
  1906. if hit.Parent:FindFirstChild("Humanoid") then
  1907. if Debounces.LPunch == true and Debounces.LPunched == false then
  1908. Debounces.LPunched = true
  1909. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1910. if Debounces.ks2==true then
  1911. z = Instance.new("Sound",hed)
  1912. z.SoundId = "rbxassetid://169380525"
  1913. z.Pitch = ptz[math.random(1,#ptz)]
  1914. z.Volume = 1
  1915. z:Play()
  1916. end
  1917. wait(.2)
  1918. Debounces.LPunched = false
  1919. end
  1920. end
  1921. end
  1922. end
  1923. end)
  1924. ----------------------------------------------------
  1925.  
  1926. ptez = {0.7, 0.8, 0.9, 1}
  1927.  
  1928. function FindNearestTorso(Position,Distance,SinglePlayer)
  1929. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1930. local List = {}
  1931. for i,v in pairs(workspace:GetChildren())do
  1932. if v:IsA("Model")then
  1933. if v:findFirstChild("Torso")then
  1934. if v ~= char then
  1935. if(v.Torso.Position -Position).magnitude <= Distance then
  1936. table.insert(List,v)
  1937. end
  1938. end
  1939. end
  1940. end
  1941. end
  1942. return List
  1943. end
  1944.  
  1945. function Punch()
  1946. part=Instance.new('Part',mod4)
  1947. part.Anchored=true
  1948. part.CanCollide=false
  1949. part.FormFactor='Custom'
  1950. part.Size=Vector3.new(.2,.2,.2)
  1951. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1952. part.Transparency=.7
  1953. part.BrickColor=BrickColor.new('Really black')
  1954. mesh=Instance.new('SpecialMesh',part)
  1955. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1956. mesh.Scale=Vector3.new(3,3,3)
  1957. part2=Instance.new('Part',mod4)
  1958. part2.Anchored=true
  1959. part2.CanCollide=false
  1960. part2.FormFactor='Custom'
  1961. part2.Size=Vector3.new(.2,.2,.2)
  1962. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1963. part2.Transparency=.7
  1964. part2.BrickColor=BrickColor.new('Really red')
  1965. mesh2=Instance.new('SpecialMesh',part2)
  1966. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1967. mesh2.Scale=Vector3.new(3,1.5,3)
  1968. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1969. if v:FindFirstChild('Humanoid') then
  1970. v.Humanoid:TakeDamage(math.random(2,6))
  1971. end
  1972. end
  1973. coroutine.resume(coroutine.create(function()
  1974. for i=0,0.62,0.4 do
  1975. wait()
  1976. part.CFrame=part.CFrame
  1977. part.Transparency=i
  1978. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1979. part2.CFrame=part2.CFrame
  1980. part2.Transparency=i
  1981. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1982. end
  1983. part.Parent=nil
  1984. part2.Parent=nil
  1985. end))
  1986. end
  1987. ----------------------------------------------------
  1988. rarm.Touched:connect(function(ht)
  1989. hit = ht.Parent
  1990. if ht and hit:IsA("Model") then
  1991. if hit:FindFirstChild("Humanoid") then
  1992. if hit.Name ~= p.Name then
  1993. if Debounces.RPunch == true and Debounces.RPunched == false then
  1994. Debounces.RPunched = true
  1995. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1996. if Debounces.ks==true then
  1997. z = Instance.new("Sound",hed)
  1998. z.SoundId = "rbxassetid://169380525"
  1999. z.Pitch = ptz[math.random(1,#ptz)]
  2000. z.Volume = 1
  2001. z:Play()
  2002. end
  2003. wait(.2)
  2004. Debounces.RPunched = false
  2005. end
  2006. end
  2007. end
  2008. elseif ht and hit:IsA("Hat") then
  2009. if hit.Parent.Name ~= p.Name then
  2010. if hit.Parent:FindFirstChild("Humanoid") then
  2011. if Debounces.RPunch == true and Debounces.RPunched == false then
  2012. Debounces.RPunched = true
  2013. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  2014. if Debounces.ks==true then
  2015. z = Instance.new("Sound",hed)
  2016. z.SoundId = "rbxassetid://169380525"
  2017. z.Pitch = ptz[math.random(1,#ptz)]
  2018. z.Volume = 1
  2019. z:Play()
  2020. end
  2021. wait(.2)
  2022. Debounces.RPunched = false
  2023. end
  2024. end
  2025. end
  2026. end
  2027. end)
  2028. larm.Touched:connect(function(ht)
  2029. hit = ht.Parent
  2030. if ht and hit:IsA("Model") then
  2031. if hit:FindFirstChild("Humanoid") then
  2032. if hit.Name ~= p.Name then
  2033. if Debounces.LPunch == true and Debounces.LPunched == false then
  2034. Debounces.LPunched = true
  2035. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  2036. if Debounces.ks2==true then
  2037. z = Instance.new("Sound",hed)
  2038. z.SoundId = "rbxassetid://169380525"
  2039. z.Pitch = ptz[math.random(1,#ptz)]
  2040. z.Volume = 1
  2041. z:Play()
  2042. end
  2043. wait(.2)
  2044. Debounces.LPunched = false
  2045. end
  2046. end
  2047. end
  2048. elseif ht and hit:IsA("Hat") then
  2049. if hit.Parent.Name ~= p.Name then
  2050. if hit.Parent:FindFirstChild("Humanoid") then
  2051. if Debounces.LPunch == true and Debounces.LPunched == false then
  2052. Debounces.LPunched = true
  2053. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  2054. if Debounces.ks2==true then
  2055. z = Instance.new("Sound",hed)
  2056. z.SoundId = "rbxassetid://169380525"
  2057. z.Pitch = ptz[math.random(1,#ptz)]
  2058. z.Volume = 1
  2059. z:Play()
  2060. end
  2061. wait(.2)
  2062. Debounces.LPunched = false
  2063. end
  2064. end
  2065. end
  2066. end
  2067. end)
  2068. ----------------------------------------------------
  2069. function newRay(start,face,range,wat)
  2070. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  2071. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  2072. return rey,hit,pos
  2073. end
  2074. ----------------------------------------------------
  2075. function HasntTouched(plrname)
  2076. local ret = true
  2077. for _, v in pairs(Touche) do
  2078. if v == plrname then
  2079. ret = false
  2080. end
  2081. end
  2082. return ret
  2083. end
  2084. ----------------------------------------------------
  2085. mod=Instance.new('Model',char)
  2086.  
  2087. function Burst()
  2088. part=Instance.new('Part',mod)
  2089. part.Anchored=true
  2090. part.CanCollide=false
  2091. part.FormFactor='Custom'
  2092. part.Size=Vector3.new(.2,.2,.2)
  2093. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  2094. part.Transparency=.7
  2095. part.BrickColor=BrickColor.new('Really black')
  2096. mesh=Instance.new('SpecialMesh',part)
  2097. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2098. mesh.Scale=Vector3.new(10,5,10)
  2099. part2=part:clone()
  2100. part2.Parent=mod
  2101. part2.BrickColor=BrickColor.new('Bright red')
  2102. mesh2=mesh:clone()
  2103. mesh2.Parent=part2
  2104. mesh2.Scale=Vector3.new(5,2.5,5)
  2105. coroutine.resume(coroutine.create(function()
  2106. for i=0,1,0.1 do
  2107. wait()
  2108. part.CFrame=part.CFrame
  2109. part.Transparency=i
  2110. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  2111. part2.CFrame=part2.CFrame
  2112. part2.Transparency=i
  2113. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  2114. end
  2115. part.Parent=nil
  2116. part2.Parent=nil
  2117. end))
  2118. end
  2119. ----------------------------------------------------
  2120.  
  2121. ----------------------------------------------------
  2122. mod4 = Instance.new("Model",char)
  2123.  
  2124. ptez = {0.7, 0.8, 0.9, 1}
  2125.  
  2126. function FindNearestTorso(Position,Distance,SinglePlayer)
  2127. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2128. local List = {}
  2129. for i,v in pairs(workspace:GetChildren())do
  2130. if v:IsA("Model")then
  2131. if v:findFirstChild("Torso")then
  2132. if v ~= char then
  2133. if(v.Torso.Position -Position).magnitude <= Distance then
  2134. table.insert(List,v)
  2135. end
  2136. end
  2137. end
  2138. end
  2139. end
  2140. return List
  2141. end
  2142.  
  2143. function Slam()
  2144. part=Instance.new('Part',mod4)
  2145. part.Anchored=true
  2146. part.CanCollide=false
  2147. part.FormFactor='Custom'
  2148. part.Size=Vector3.new(.2,.2,.2)
  2149. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  2150. part.Transparency=.7
  2151. part.BrickColor=BrickColor.new('Really black')
  2152. mesh=Instance.new('SpecialMesh',part)
  2153. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  2154. mesh.Scale=Vector3.new(3,3,3)
  2155. part2=Instance.new('Part',mod4)
  2156. part2.Anchored=true
  2157. part2.CanCollide=false
  2158. part2.FormFactor='Custom'
  2159. part2.Size=Vector3.new(.2,.2,.2)
  2160. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  2161. part2.Transparency=.7
  2162. part2.BrickColor=BrickColor.new('Royal purple')
  2163. mesh2=Instance.new('SpecialMesh',part2)
  2164. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  2165. mesh2.Scale=Vector3.new(3,1.5,3)
  2166. x = Instance.new("Sound",char)
  2167. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  2168. x.Pitch = ptez[math.random(1,#ptez)]
  2169. x.Volume = 1
  2170. wait(.1)
  2171. x1 = Instance.new("Sound",char)
  2172. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  2173. x1.Pitch = ptez[math.random(1,#ptez)]
  2174. x1.Volume = 1
  2175. wait(.1)
  2176. x:Play()
  2177. x1:Play()
  2178. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  2179. if v:FindFirstChild('Humanoid') then
  2180. v.Humanoid:TakeDamage(math.random(30,45))
  2181. end
  2182. end
  2183. coroutine.resume(coroutine.create(function()
  2184. for i=0,0.62,0.13 do
  2185. wait()
  2186. part.CFrame=part.CFrame
  2187. part.Transparency=i
  2188. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  2189. part2.CFrame=part2.CFrame
  2190. part2.Transparency=i
  2191. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  2192. end
  2193. part.Parent=nil
  2194. part2.Parent=nil
  2195. x:Destroy()
  2196. end))
  2197. end
  2198. ----------------------------------------------------
  2199.  
  2200. rsi = game:GetService'RunService'
  2201. plrs = game:GetService'Players'
  2202. lp = plrs.LocalPlayer
  2203. c = lp.Character
  2204. root = lp.Character.HumanoidRootPart
  2205. human = c.Humanoid
  2206. FPS = 0
  2207. inf = 0
  2208. opos1 = Vector3.new()
  2209. opos2 = Vector3.new()
  2210. opos3 = Vector3.new()
  2211. waves = Instance.new("Model", c)
  2212. res = Instance.new("Model", c)
  2213. local function a()
  2214. local t=tick();
  2215. local l=t%1*3;
  2216. local t=.5*math.pi*(l%1);
  2217. if l<1 then
  2218. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  2219. elseif l<2 then
  2220. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  2221. else
  2222. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  2223. end;
  2224. end;
  2225. speedParts = function()
  2226.  
  2227. for i = 1, 4 do
  2228. local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -c.HumanoidRootPart.Velocity / 5) * (math.sin(tick()) + 2)
  2229. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  2230. local opos
  2231. if i == 1 then
  2232. opos = opos1
  2233. elseif i == 2 then
  2234. opos = opos2
  2235. else
  2236. opos = opos3
  2237. end
  2238. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  2239. local e
  2240. if #res:children() <= 3 then
  2241. e = Instance.new("Part")
  2242. else
  2243. e = res:FindFirstChild("Trail")
  2244. end
  2245. e.Parent = waves
  2246. e.Anchored = true
  2247. e.CanCollide = false
  2248. e.Transparency = 0
  2249. e.Material = "Neon"
  2250. e.Name = "Trail"
  2251. e.Color = a();
  2252. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  2253. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  2254. end
  2255. if i == 1 then
  2256. opos1 = CFramepos
  2257. elseif i == 2 then
  2258. opos2 = CFramepos
  2259. else
  2260. opos3 = CFramepos
  2261. end
  2262. end
  2263. end
  2264.  
  2265.  
  2266. local player = game.Players.LocalPlayer
  2267. local pchar = player.Character
  2268. local mouse = player:GetMouse()
  2269. local cam = workspace.CurrentCamera
  2270.  
  2271. local rad = math.rad
  2272.  
  2273. local keysDown = {}
  2274. local flySpeed = 70
  2275. local MAX_FLY_SPEED = 350
  2276.  
  2277. local canFly = false
  2278. local flyToggled = false
  2279.  
  2280. local forward, side = 0, 0
  2281. local lastForward, lastSide = 0, 0
  2282.  
  2283. local floatBP = Instance.new("BodyPosition")
  2284. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  2285. local flyBV = Instance.new("BodyVelocity")
  2286. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2287. local turnBG = Instance.new("BodyGyro")
  2288. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2289.  
  2290. mouse.KeyDown:connect(function(key)
  2291. keysDown[key] = true
  2292.  
  2293.  
  2294.  
  2295. if key == "f" then
  2296. flyToggled = not flyToggled
  2297.  
  2298. if not flyToggled then
  2299. stanceToggle = "Normal"
  2300. floatBP.Parent = nil
  2301. flyBV.Parent = nil
  2302. turnBG.Parent = nil
  2303. root.Velocity = Vector3.new()
  2304. pchar.Humanoid.PlatformStand = false
  2305. end
  2306. end
  2307.  
  2308. end)
  2309. mouse.KeyUp:connect(function(key)
  2310. keysDown[key] = nil
  2311. end)
  2312.  
  2313. local function updateFly()
  2314.  
  2315. if not flyToggled then return end
  2316.  
  2317. lastForward = forward
  2318. lastSide = side
  2319.  
  2320. forward = 0
  2321. side = 0
  2322.  
  2323. if keysDown.w then
  2324. forward = forward + 1
  2325. end
  2326. if keysDown.s then
  2327. forward = forward - 1
  2328. end
  2329. if keysDown.a then
  2330. side = side - 1
  2331. end
  2332. if keysDown.d then
  2333. side = side + 1
  2334. end
  2335.  
  2336. canFly = (forward ~= 0 or side ~= 0)
  2337.  
  2338. if canFly then
  2339. stanceToggle = "Floating"
  2340. turnBG.Parent = root
  2341. floatBP.Parent = nil
  2342. flyBV.Parent = root
  2343.  
  2344. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  2345. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  2346. else
  2347. floatBP.position = root.Position
  2348. floatBP.Parent = root
  2349.  
  2350. flySpeed = flySpeed - 1
  2351. if flySpeed < 0 then flySpeed = 0 end
  2352. end
  2353.  
  2354. local camCF = cam.CoordinateFrame
  2355. local in_forward = canFly and forward or lastForward
  2356. local in_side = canFly and side or lastSide
  2357.  
  2358. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  2359. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  2360.  
  2361. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  2362. 0)
  2363. end
  2364.  
  2365. game:service'RunService'.RenderStepped:connect(function()
  2366. if flyToggled then
  2367. pchar.Humanoid.PlatformStand = true
  2368. end
  2369. updateFly()
  2370. end)
  2371. rsi.RenderStepped:connect(function()
  2372. if flyToggled then
  2373. FPS = 1 / rsi.RenderStepped:wait()
  2374. for i, v in pairs (waves:children()) do
  2375. v.Transparency = v.Transparency + .05 / (FPS / 60)
  2376. if v.Transparency >= .98 then
  2377. v.Transparency = 1
  2378. v.Parent = res
  2379. end
  2380. end
  2381. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  2382. speedParts()
  2383. end
  2384. end)
  2385. -------------------------------
  2386. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  2387. local pancho = false
  2388. mouse.KeyDown:connect(function(key)
  2389. if key == "x" then
  2390. if rainbowHands == false then
  2391. pancho = false
  2392. if Debounces.CanAttack == true then
  2393. Debounces.CanAttack = false
  2394. Debounces.NoIdl = true
  2395. Debounces.on = true
  2396. Debounces.ks = true
  2397. larm.Touched:connect(function(ht)
  2398. hit = ht.Parent
  2399.  
  2400. if ht and hit:IsA("Model") then
  2401. if hit:FindFirstChild("Humanoid") then
  2402. if hit.Name ~= p.Name then
  2403. if Debounces.Slapping == true and Debounces.Slapped == false then
  2404. Debounces.Slapped = true
  2405. hit:BreakJoints()
  2406. if Debounces.ks==true then
  2407. z = Instance.new("Sound",hed)
  2408. z.SoundId = "rbxassetid://169380525"
  2409. z.Volume = 1
  2410. z:Play()
  2411. z1 = Instance.new("Sound",char)
  2412. z1.SoundId = "rbxassetid://261010715"
  2413. z1.Pitch = pts[math.random(1,#pts)]
  2414. z1.Volume = 1
  2415. z2 = Instance.new("Sound",char)
  2416. z2.SoundId = "rbxassetid://261010715"
  2417. z2.Pitch = z1.Pitch
  2418. z2.Volume = 1
  2419. z3 = Instance.new("Sound",char)
  2420. z3.SoundId = "rbxassetid://261010715"
  2421. z3.Pitch = z1.Pitch
  2422. z3.Volume = 1
  2423. z1:Play()
  2424. z2:Play()
  2425. z3:Play()
  2426. Debounces.ks=false
  2427. end
  2428. hit:FindFirstChild("Humanoid"):TakeDamage(100)
  2429.  
  2430. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  2431. wait(.5)
  2432. Debounces.Slapped = false
  2433. z:Destroy()
  2434. z1:Destroy()
  2435. z2:Destroy()
  2436. z3:Destroy()
  2437. end
  2438. end
  2439. end
  2440. elseif ht and hit:IsA("Hat") then
  2441. if hit.Parent.Name ~= p.Name then
  2442. if hit.Parent:FindFirstChild("Humanoid") then
  2443. if Debounces.Slapping == true and Debounces.Slapped == false then
  2444. Debounces.Slapped = true
  2445. if Debounces.ks==true then
  2446. z = Instance.new("Sound",hed)
  2447. z.SoundId = "rbxassetid://169380525"
  2448. z.Volume = 1
  2449. z:Play()
  2450. z1 = Instance.new("Sound",char)
  2451. z1.SoundId = "rbxassetid://261010715"
  2452. z1.Pitch = pts[math.random(1,#pts)]
  2453. z1.Volume = 1
  2454. z2 = Instance.new("Sound",char)
  2455. z2.SoundId = "rbxassetid://261010715"
  2456. z2.Pitch = z1.Pitch
  2457. z2.Volume = 1
  2458. z3 = Instance.new("Sound",char)
  2459. z3.SoundId = "rbxassetid://261010715"
  2460. z3.Pitch = z1.Pitch
  2461. z3.Volume = 1
  2462. z1:Play()
  2463. z2:Play()
  2464. z3:Play()
  2465. Debounces.ks=false
  2466. end
  2467. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  2468. hit:FindFirstChild("Torso"):BreakJoints()
  2469. wait(.5)
  2470. Debounces.Slapped = false
  2471. z:Destroy()
  2472. z1:Destroy()
  2473. z2:Destroy()
  2474. z3:Destroy()
  2475. end
  2476. end
  2477. end
  2478. end
  2479. end)
  2480. for i = 1, 14 do
  2481. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5)
  2482. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5)
  2483. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  2484. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5)
  2485. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2486. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2487. if Debounces.on==false then break end
  2488. rs:wait(2)
  2489. end
  2490. Debounces.Slapping = true
  2491. for i = 1, 20 do
  2492. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6)
  2493. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6)
  2494. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6)
  2495. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6)
  2496. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2497. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2498. if Debounces.on==false then break end
  2499. rs:wait(2)
  2500. end
  2501. Debounces.Slapping = false
  2502. if Debounces.CanAttack == false then
  2503. Debounces.CanAttack = true
  2504. Debounces.NoIdl = false
  2505. Debounces.on = false
  2506. end
  2507. end
  2508. end
  2509. end
  2510. end)
  2511. -------------------------------
  2512. Charging = false
  2513. mouse.KeyDown:connect(function(key)
  2514. if key == "r" then
  2515. if Charging == false then
  2516. Charging = true
  2517. if Debounces.CanAttack == true then
  2518. Debounces.CanAttack = false
  2519. Debounces.NoIdl = true
  2520. Debounces.on = true
  2521. for i = 1,20 do
  2522. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
  2523. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
  2524. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2525. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2526. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2527. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
  2528. if Debounces.on == false then break end
  2529. rs:wait()
  2530. end
  2531. --[[for i = 1,20 do
  2532. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
  2533. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
  2534. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2535. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
  2536. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2537. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2538. if Debounces.on == false then break end
  2539. rs:wait()
  2540. end]]--
  2541. pt=Instance.new('Part',torso)
  2542. pt.Anchored=true
  2543. pt.CanCollide=false
  2544. pt.Locked = true
  2545. pt.FormFactor='Custom'
  2546. pt.Size=Vector3.new(1,1,1)
  2547. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2548. pt.Transparency=.6
  2549. pt.BrickColor=BrickColor.new('Really black')
  2550. msh=Instance.new('SpecialMesh',pt)
  2551. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2552. msh.Scale=Vector3.new(8,4,8)
  2553. pt2=pt:clone()
  2554. pt2.Parent = torso
  2555. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2556. pt2.BrickColor=BrickColor.new("Royal purple")
  2557. msh2=msh:clone()
  2558. msh2.Parent=pt2
  2559. msh2.Scale=Vector3.new(10,5,10)
  2560.  
  2561. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  2562.  
  2563. bl = Instance.new("Part", char)
  2564. bl.Locked = true
  2565. bl.Name = "Shell"
  2566. bl.BrickColor = BrickColor.new("Really black")
  2567. bl.Anchored = true
  2568. bl.CanCollide = false
  2569. bl.Transparency = 0
  2570. bl.Reflectance = 0
  2571. bl.BottomSurface = 0
  2572. bl.TopSurface = 0
  2573. bl.Shape = 0
  2574. blm = Instance.new("SpecialMesh",bl)
  2575. blm.MeshType = "Sphere"
  2576. blm.Scale = Vector3.new(1,1,1)
  2577. blm.MeshId = "rbxassetid://9982590"
  2578.  
  2579. coroutine.resume(coroutine.create(function()
  2580. for i=1, math.huge, 4 do
  2581. if Charging == true then
  2582. rs:wait()
  2583. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2584. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2585. bl.Transparency = bl.Transparency + 0.005
  2586. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2587. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2588. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2589. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2590. elseif Charging == false then break
  2591. end
  2592. end
  2593. end))
  2594.  
  2595. repeat
  2596. local p = Instance.new('Part',torso)
  2597. p.formFactor = 'Custom'
  2598. p.Size = Vector3.new(1,1,1)
  2599. p.BrickColor = workspace.Base.BrickColor
  2600. p.CanCollide = false
  2601. p.Transparency = 0
  2602. p.Anchored = true
  2603. p.Locked=true
  2604. p.Material = workspace.Base.Material
  2605. s = math.random(1,40)/10
  2606. local m = Instance.new("BlockMesh",p)
  2607. m.Scale = Vector3.new(s,s,s)
  2608. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  2609. --[[coroutine.wrap(function()
  2610. wait(2)
  2611. while Charging == true do
  2612. wait(2)
  2613. GroundWave1()
  2614. wait(2)
  2615. end
  2616. end)()]]--
  2617. Spawn(function()
  2618. while rs:wait() do
  2619. if Charging == true then
  2620. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  2621. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  2622. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  2623. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2624. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  2625. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  2626. elseif Charging == false then break
  2627. end
  2628. end
  2629. end)
  2630. Spawn(function()
  2631. while rs:wait() do
  2632. if p.Transparency >= 1 then p:Destroy() break end
  2633. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2634. p.Transparency = p.Transparency+0.01
  2635. end
  2636. end)
  2637. wait(.3)
  2638. until Charging == false
  2639. end
  2640. end
  2641. end
  2642. end)
  2643. ----------------------------------------------------
  2644. function spawnHair()
  2645. local m = Instance.new("Model")
  2646. m.Name = "Hair"
  2647. p1 = Instance.new("Part", m)
  2648. colc = math.random(1,7)
  2649. p1.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2650. p1.FormFactor = Enum.FormFactor.Symmetric
  2651. p1.Size = Vector3.new(1, 1, 1)
  2652. p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006)
  2653. p1.CanCollide = false
  2654. p1.Locked = true
  2655. p1.BottomSurface = Enum.SurfaceType.Smooth
  2656. p1.TopSurface = Enum.SurfaceType.Smooth
  2657. b1 = Instance.new("SpecialMesh", p1)
  2658. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2659. b1.TextureId = ""
  2660. b1.MeshType = Enum.MeshType.FileMesh
  2661. b1.Name = "Mesh"
  2662. b1.VertexColor = Vector3.new(0, 0, 0)
  2663. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2664. p2 = Instance.new("Part", m)
  2665. p2.BrickColor = BrickColor.new("Pastel brown")
  2666. p2.Transparency = 1
  2667. p2.Name = "Head"
  2668. p2.FormFactor = Enum.FormFactor.Symmetric
  2669. p2.Size = Vector3.new(2, 1, 1)
  2670. p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006)
  2671. p2.CanCollide = false
  2672. p2.Locked = true
  2673. p2.TopSurface = Enum.SurfaceType.Smooth
  2674. b2 = Instance.new("SpecialMesh", p2)
  2675. b2.MeshType = Enum.MeshType.Head
  2676. b2.Name = "Mesh"
  2677. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2678. p3 = Instance.new("Part", m)
  2679. p3.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2680. p3.FormFactor = Enum.FormFactor.Symmetric
  2681. p3.Size = Vector3.new(2, 2, 2)
  2682. p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006)
  2683. p3.CanCollide = false
  2684. p3.Locked = true
  2685. p3.BottomSurface = Enum.SurfaceType.Smooth
  2686. p3.TopSurface = Enum.SurfaceType.Smooth
  2687. b3 = Instance.new("SpecialMesh", p3)
  2688. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2689. b3.TextureId = ""
  2690. b3.MeshType = Enum.MeshType.FileMesh
  2691. b3.Name = "Mesh"
  2692. b3.VertexColor = Vector3.new(0, 0, 0)
  2693. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2694. p4 = Instance.new("Part", m)
  2695. p4.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2696. p4.FormFactor = Enum.FormFactor.Symmetric
  2697. p4.Size = Vector3.new(1, 1, 1)
  2698. p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006)
  2699. p4.CanCollide = false
  2700. p4.Locked = true
  2701. p4.BottomSurface = Enum.SurfaceType.Smooth
  2702. p4.TopSurface = Enum.SurfaceType.Smooth
  2703. b4 = Instance.new("SpecialMesh", p4)
  2704. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  2705. b4.TextureId = ""
  2706. b4.MeshType = Enum.MeshType.FileMesh
  2707. b4.Name = "Mesh"
  2708. b4.VertexColor = Vector3.new(0, 0, 0)
  2709. p5 = Instance.new("Part", m)
  2710. p5.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2711. p5.FormFactor = Enum.FormFactor.Symmetric
  2712. p5.Size = Vector3.new(1, 1, 1)
  2713. p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007)
  2714. p5.CanCollide = false
  2715. p5.Locked = true
  2716. p5.BottomSurface = Enum.SurfaceType.Smooth
  2717. p5.TopSurface = Enum.SurfaceType.Smooth
  2718. b5 = Instance.new("SpecialMesh", p5)
  2719. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  2720. b5.TextureId = ""
  2721. b5.MeshType = Enum.MeshType.FileMesh
  2722. b5.Name = "Mesh"
  2723. b5.VertexColor = Vector3.new(0, 0, 0)
  2724. b5.Scale = Vector3.new(1, 0.899999976, 1)
  2725. p6 = Instance.new("Part", m)
  2726. p6.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2727. p6.FormFactor = Enum.FormFactor.Symmetric
  2728. p6.Size = Vector3.new(1, 1, 1)
  2729. p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007)
  2730. p6.CanCollide = false
  2731. p6.Locked = true
  2732. p6.BottomSurface = Enum.SurfaceType.Smooth
  2733. p6.TopSurface = Enum.SurfaceType.Smooth
  2734. b6 = Instance.new("SpecialMesh", p6)
  2735. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  2736. b6.TextureId = ""
  2737. b6.MeshType = Enum.MeshType.FileMesh
  2738. b6.Name = "Mesh"
  2739. b6.VertexColor = Vector3.new(0, 0, 0)
  2740. p7 = Instance.new("Part", m)
  2741. p7.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2742. p7.FormFactor = Enum.FormFactor.Symmetric
  2743. p7.Size = Vector3.new(1, 1, 1)
  2744. p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007)
  2745. p7.CanCollide = false
  2746. p7.Locked = true
  2747. p7.BottomSurface = Enum.SurfaceType.Smooth
  2748. p7.TopSurface = Enum.SurfaceType.Smooth
  2749. b7 = Instance.new("SpecialMesh", p7)
  2750. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  2751. b7.TextureId = ""
  2752. b7.MeshType = Enum.MeshType.FileMesh
  2753. b7.Name = "Mesh"
  2754. b7.VertexColor = Vector3.new(0, 0, 0)
  2755. p8 = Instance.new("Part", m)
  2756. p8.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2757. p8.FormFactor = Enum.FormFactor.Symmetric
  2758. p8.Size = Vector3.new(1, 1, 1)
  2759. p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007)
  2760. p8.CanCollide = false
  2761. p8.Locked = true
  2762. p8.BottomSurface = Enum.SurfaceType.Smooth
  2763. p8.TopSurface = Enum.SurfaceType.Smooth
  2764. b8 = Instance.new("SpecialMesh", p8)
  2765. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2766. b8.TextureId = ""
  2767. b8.MeshType = Enum.MeshType.FileMesh
  2768. b8.Name = "Mesh"
  2769. b8.VertexColor = Vector3.new(0, 0, 0)
  2770. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2771. p9 = Instance.new("Part", m)
  2772. p9.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2773. p9.FormFactor = Enum.FormFactor.Symmetric
  2774. p9.Size = Vector3.new(2, 1, 2)
  2775. p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007)
  2776. p9.CanCollide = false
  2777. p9.Locked = true
  2778. p9.BottomSurface = Enum.SurfaceType.Smooth
  2779. p9.TopSurface = Enum.SurfaceType.Smooth
  2780. b9 = Instance.new("SpecialMesh", p9)
  2781. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  2782. b9.TextureId = ""
  2783. b9.MeshType = Enum.MeshType.FileMesh
  2784. b9.Name = "Mesh"
  2785. b9.VertexColor = Vector3.new(0, 0, 0)
  2786. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  2787. p10 = Instance.new("Part", m)
  2788. p10.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2789. p10.FormFactor = Enum.FormFactor.Symmetric
  2790. p10.Size = Vector3.new(1, 1, 1)
  2791. p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007)
  2792. p10.CanCollide = false
  2793. p10.Locked = true
  2794. p10.BottomSurface = Enum.SurfaceType.Smooth
  2795. p10.TopSurface = Enum.SurfaceType.Smooth
  2796. b10 = Instance.new("SpecialMesh", p10)
  2797. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2798. b10.TextureId = ""
  2799. b10.MeshType = Enum.MeshType.FileMesh
  2800. b10.Name = "Mesh"
  2801. b10.VertexColor = Vector3.new(0, 0, 0)
  2802. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2803. p11 = Instance.new("Part", m)
  2804. p11.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2805. p11.FormFactor = Enum.FormFactor.Symmetric
  2806. p11.Size = Vector3.new(1, 1, 1)
  2807. p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007)
  2808. p11.CanCollide = false
  2809. p11.Locked = true
  2810. p11.BottomSurface = Enum.SurfaceType.Smooth
  2811. p11.TopSurface = Enum.SurfaceType.Smooth
  2812. b11 = Instance.new("SpecialMesh", p11)
  2813. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2814. b11.TextureId = ""
  2815. b11.MeshType = Enum.MeshType.FileMesh
  2816. b11.Name = "Mesh"
  2817. b11.VertexColor = Vector3.new(0, 0, 0)
  2818. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2819. p12 = Instance.new("Part", m)
  2820. p12.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2821. p12.FormFactor = Enum.FormFactor.Custom
  2822. p12.Size = Vector3.new(1, 3.5, 1)
  2823. p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007)
  2824. p12.CanCollide = false
  2825. p12.Locked = true
  2826. p12.BottomSurface = Enum.SurfaceType.Smooth
  2827. p12.TopSurface = Enum.SurfaceType.Smooth
  2828. b12 = Instance.new("SpecialMesh", p12)
  2829. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2830. b12.TextureId = ""
  2831. b12.MeshType = Enum.MeshType.FileMesh
  2832. b12.Name = "Mesh"
  2833. b12.VertexColor = Vector3.new(0, 0, 0)
  2834. b12.Scale = Vector3.new(1, 3, 1.29999995)
  2835. p13 = Instance.new("Part", m)
  2836. p13.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2837. p13.FormFactor = Enum.FormFactor.Custom
  2838. p13.Size = Vector3.new(1, 2, 1)
  2839. p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007)
  2840. p13.CanCollide = false
  2841. p13.Locked = true
  2842. p13.BottomSurface = Enum.SurfaceType.Smooth
  2843. p13.TopSurface = Enum.SurfaceType.Smooth
  2844. b13 = Instance.new("SpecialMesh", p13)
  2845. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2846. b13.TextureId = ""
  2847. b13.MeshType = Enum.MeshType.FileMesh
  2848. b13.Name = "Mesh"
  2849. b13.VertexColor = Vector3.new(0, 0, 0)
  2850. b13.Scale = Vector3.new(1, 3, 1.29999995)
  2851. p14 = Instance.new("Part", m)
  2852. p14.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2853. p14.FormFactor = Enum.FormFactor.Custom
  2854. p14.Size = Vector3.new(1, 2, 1)
  2855. p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007)
  2856. p14.CanCollide = false
  2857. p14.Locked = true
  2858. p14.BottomSurface = Enum.SurfaceType.Smooth
  2859. p14.TopSurface = Enum.SurfaceType.Smooth
  2860. b14 = Instance.new("SpecialMesh", p14)
  2861. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2862. b14.TextureId = ""
  2863. b14.MeshType = Enum.MeshType.FileMesh
  2864. b14.Name = "Mesh"
  2865. b14.VertexColor = Vector3.new(0, 0, 0)
  2866. b14.Scale = Vector3.new(1, 3, 1.29999995)
  2867. p15 = Instance.new("Part", m)
  2868. p15.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2869. p15.FormFactor = Enum.FormFactor.Custom
  2870. p15.Size = Vector3.new(1, 2.5, 1)
  2871. p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281)
  2872. p15.CanCollide = false
  2873. p15.Locked = true
  2874. p15.BottomSurface = Enum.SurfaceType.Smooth
  2875. p15.TopSurface = Enum.SurfaceType.Smooth
  2876. b15 = Instance.new("SpecialMesh", p15)
  2877. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2878. b15.TextureId = ""
  2879. b15.MeshType = Enum.MeshType.FileMesh
  2880. b15.Name = "Mesh"
  2881. b15.VertexColor = Vector3.new(0, 0, 0)
  2882. b15.Scale = Vector3.new(1, 3, 1.29999995)
  2883. p16 = Instance.new("Part", m)
  2884. p16.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2885. p16.FormFactor = Enum.FormFactor.Custom
  2886. p16.Size = Vector3.new(1, 2.5, 1)
  2887. p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779)
  2888. p16.CanCollide = false
  2889. p16.Locked = true
  2890. p16.BottomSurface = Enum.SurfaceType.Smooth
  2891. p16.TopSurface = Enum.SurfaceType.Smooth
  2892. b16 = Instance.new("SpecialMesh", p16)
  2893. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2894. b16.TextureId = ""
  2895. b16.MeshType = Enum.MeshType.FileMesh
  2896. b16.Name = "Mesh"
  2897. b16.VertexColor = Vector3.new(0, 0, 0)
  2898. b16.Scale = Vector3.new(1, 3, 1.29999995)
  2899. p17 = Instance.new("Part", m)
  2900. p17.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2901. p17.FormFactor = Enum.FormFactor.Custom
  2902. p17.Size = Vector3.new(1, 2.4000001, 1)
  2903. p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007)
  2904. p17.CanCollide = false
  2905. p17.Locked = true
  2906. p17.BottomSurface = Enum.SurfaceType.Smooth
  2907. p17.TopSurface = Enum.SurfaceType.Smooth
  2908. b17 = Instance.new("SpecialMesh", p17)
  2909. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2910. b17.TextureId = ""
  2911. b17.MeshType = Enum.MeshType.FileMesh
  2912. b17.Name = "Mesh"
  2913. b17.VertexColor = Vector3.new(0, 0, 0)
  2914. b17.Scale = Vector3.new(1, 3, 1.29999995)
  2915. p18 = Instance.new("Part", m)
  2916. p18.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2917. p18.FormFactor = Enum.FormFactor.Custom
  2918. p18.Size = Vector3.new(2, 2, 2)
  2919. p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006)
  2920. p18.CanCollide = false
  2921. p18.Locked = true
  2922. p18.BottomSurface = Enum.SurfaceType.Smooth
  2923. p18.TopSurface = Enum.SurfaceType.Smooth
  2924. b18 = Instance.new("SpecialMesh", p18)
  2925. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2926. b18.TextureId = ""
  2927. b18.MeshType = Enum.MeshType.FileMesh
  2928. b18.Name = "Mesh"
  2929. b18.VertexColor = Vector3.new(0, 0, 0)
  2930. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2931. w1 = Instance.new("Weld", p1)
  2932. w1.Name = "Head_Weld"
  2933. w1.Part0 = p1
  2934. w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006)
  2935. w1.Part1 = p2
  2936. w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  2937. w2 = Instance.new("Weld", p2)
  2938. w2.Name = "Part_Weld"
  2939. w2.Part0 = p2
  2940. w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006)
  2941. w2.Part1 = p3
  2942. w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  2943. w3 = Instance.new("Weld", p3)
  2944. w3.Name = "Part_Weld"
  2945. w3.Part0 = p3
  2946. w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006)
  2947. w3.Part1 = p4
  2948. w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  2949. w4 = Instance.new("Weld", p4)
  2950. w4.Name = "Part_Weld"
  2951. w4.Part0 = p4
  2952. w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006)
  2953. w4.Part1 = p5
  2954. w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  2955. w5 = Instance.new("Weld", p5)
  2956. w5.Name = "Part_Weld"
  2957. w5.Part0 = p5
  2958. w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007)
  2959. w5.Part1 = p6
  2960. w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  2961. w6 = Instance.new("Weld", p6)
  2962. w6.Name = "Part_Weld"
  2963. w6.Part0 = p6
  2964. w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007)
  2965. w6.Part1 = p7
  2966. w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  2967. w7 = Instance.new("Weld", p7)
  2968. w7.Name = "Part_Weld"
  2969. w7.Part0 = p7
  2970. w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007)
  2971. w7.Part1 = p8
  2972. w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  2973. w8 = Instance.new("Weld", p8)
  2974. w8.Name = "Part_Weld"
  2975. w8.Part0 = p8
  2976. w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007)
  2977. w8.Part1 = p9
  2978. w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  2979. w9 = Instance.new("Weld", p9)
  2980. w9.Name = "Part_Weld"
  2981. w9.Part0 = p9
  2982. w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007)
  2983. w9.Part1 = p10
  2984. w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  2985. w10 = Instance.new("Weld", p10)
  2986. w10.Name = "Part_Weld"
  2987. w10.Part0 = p10
  2988. w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007)
  2989. w10.Part1 = p11
  2990. w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  2991. w11 = Instance.new("Weld", p11)
  2992. w11.Name = "Part_Weld"
  2993. w11.Part0 = p11
  2994. w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007)
  2995. w11.Part1 = p12
  2996. w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  2997. w12 = Instance.new("Weld", p12)
  2998. w12.Name = "Part_Weld"
  2999. w12.Part0 = p12
  3000. w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007)
  3001. w12.Part1 = p13
  3002. w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  3003. w13 = Instance.new("Weld", p13)
  3004. w13.Name = "Part_Weld"
  3005. w13.Part0 = p13
  3006. w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007)
  3007. w13.Part1 = p14
  3008. w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  3009. w14 = Instance.new("Weld", p14)
  3010. w14.Name = "Part_Weld"
  3011. w14.Part0 = p14
  3012. w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007)
  3013. w14.Part1 = p15
  3014. w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  3015. w15 = Instance.new("Weld", p15)
  3016. w15.Name = "Part_Weld"
  3017. w15.Part0 = p15
  3018. w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775)
  3019. w15.Part1 = p16
  3020. w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  3021. w16 = Instance.new("Weld", p16)
  3022. w16.Name = "Part_Weld"
  3023. w16.Part0 = p16
  3024. w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928)
  3025. w16.Part1 = p17
  3026. w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  3027. w17 = Instance.new("Weld", p17)
  3028. w17.Name = "Part_Weld"
  3029. w17.Part0 = p17
  3030. w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007)
  3031. w17.Part1 = p18
  3032. w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006)
  3033. m.Parent = char
  3034. m:MakeJoints()
  3035. ----------------------------------------------------
  3036. local cor = Instance.new("Part", char.Hair)
  3037. cor.Name = "Link"
  3038. cor.Locked = true
  3039. cor.BottomSurface = 0
  3040. cor.CanCollide = false
  3041. cor.Size = Vector3.new(1, 9, 1)
  3042. cor.Transparency = 1
  3043. cor.TopSurface = 0
  3044. corw = Instance.new("Weld", cor)
  3045. corw.Part0 = hed
  3046. corw.Part1 = cor
  3047. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3048. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3049. weld1 = Instance.new("Weld", char.Hair)
  3050. weld1.Part0 = cor
  3051. weld1.Part1 = char.Hair.Head
  3052. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3053. end
  3054. ----------------------------------------------------
  3055. local rainbowHands = false
  3056. mouse.KeyDown:connect(function(key)
  3057. if key == "t" then
  3058. if Grab == false then
  3059. if rainbowssl == true then
  3060. if rainbowHands == true then
  3061. if d0arm[3] ~= "true" then
  3062. rainbowHands = false
  3063. d0arm[3] = "true"
  3064. do2()
  3065. end
  3066. elseif rainbowHands == false then
  3067. if d0arm[3] ~= "false" then
  3068. d0arm[3] = "false"
  3069. d0arm[1].Enabled = false
  3070. d0arm[2].Enabled = false
  3071. end
  3072. end
  3073. end
  3074. end
  3075. end
  3076. end)
  3077. ----------------------------------------------------
  3078.  
  3079. mouse.KeyDown:connect(function(key)
  3080. if key == "c" then
  3081.  
  3082.  
  3083. if rainbowHands == false then
  3084. if d0arm[3] == "true" then
  3085. d0arm[3] = "false"
  3086. d0arm[1].Enabled = false
  3087. d0arm[2].Enabled = false
  3088. end
  3089. if Debounces.CanAttack == true then
  3090. Debounces.CanAttack = false
  3091. Debounces.NoIdl = true
  3092. end
  3093. equipanim()
  3094. Debounces.CanAttack = true
  3095. Debounces.NoIdl = false
  3096. rainbowHands = true
  3097. z = Instance.new("Sound",hed)
  3098. z.SoundId = "rbxassetid://169380525"
  3099. z.Volume = 1
  3100. z:Play()
  3101.  
  3102. else
  3103. rainbowHands = false
  3104. end
  3105. end
  3106. end)
  3107. Player = game:GetService("Players").LocalPlayer
  3108. Character = Player.Character
  3109. PlayerGui = Player.PlayerGui
  3110. Backpack = Player.Backpack
  3111. Torso = Character.Torso
  3112. Head = Character.Head
  3113. Humanoid = Character.Humanoid
  3114. LeftArm = Character["Left Arm"]
  3115. LeftLeg = Character["Left Leg"]
  3116. RightArm = Character["Right Arm"]
  3117. RightLeg = Character["Right Leg"]
  3118. LS = Torso["Left Shoulder"]
  3119. LH = Torso["Left Hip"]
  3120. RS = Torso["Right Shoulder"]
  3121. RH = Torso["Right Hip"]
  3122. Neck = Torso.Neck
  3123. it = Instance.new
  3124. vt = Vector3.new
  3125. cf = CFrame.new
  3126. euler = CFrame.fromEulerAnglesXYZ
  3127. angles = CFrame.Angles
  3128. mr = math.rad
  3129. mr2 = math.random
  3130. RootPart = Character.HumanoidRootPart
  3131. RootJoint = RootPart.RootJoint
  3132. RootCF = euler(-1.57, 0, 3.14)
  3133. attack = false
  3134. attackdebounce = false
  3135. MMouse = Player:GetMouse()
  3136. combo = 0
  3137. local hitfloor, posfloor = nil, nil
  3138. local Effects = {}
  3139. local Weapon = {}
  3140. local Welds = {}
  3141. local Saber = {}
  3142. local Buster = {}
  3143. local decreaseatk = 0
  3144. local decreasedef = 0
  3145. local decreasemvmt = 0
  3146. local manainc = 16
  3147. local handle = nil
  3148. local floating = false
  3149. local testpart = it("Part")
  3150. testpart.Anchored = true
  3151. local Mode = "Normal"
  3152. local cbuster = false
  3153. local cshoot = false
  3154. local cdebounce = false
  3155. local sbreaker = false
  3156. local shockshoot = false
  3157. local shockdebounce = false
  3158. local TehM = nil
  3159. local sblazing = false
  3160. local starshoot = false
  3161. local stardebounce = false
  3162. local busterlaser = false
  3163. local sbreakerII = false
  3164. local galacblazing = false
  3165. local prising = false
  3166. local move1 = "(Z)\nChaos Buster"
  3167. local move2 = "(X)\nShocker Breaker"
  3168. local move3 = "(C)\nStar Blazing"
  3169. local move4 = "(V)\n"
  3170. player = nil
  3171. RSH = nil
  3172. LSH = nil
  3173.  
  3174. TorsoColor = Torso.BrickColor
  3175. NewCol = BrickColor.new("Ghost grey").Color
  3176. NewCol2 = BrickColor.new("Smoky grey").Color
  3177. NewCol3 = BrickColor.new("Pearl").Color
  3178.  
  3179.  
  3180. local Neons = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  3181.  
  3182.  
  3183. ArtificialHB = Instance.new("BindableEvent", script)
  3184. ArtificialHB.Name = "Heartbeat"
  3185.  
  3186. script:WaitForChild("Heartbeat")
  3187.  
  3188. frame = 1 / 40
  3189. tf = 0
  3190. allowframeloss = true
  3191. tossremainder = false
  3192. lastframe = tick()
  3193. script.Heartbeat:Fire()
  3194.  
  3195. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3196. tf = tf + s
  3197. if tf >= frame then
  3198. if allowframeloss then
  3199. script.Heartbeat:Fire()
  3200. lastframe = tick()
  3201. else
  3202. for i = 1, math.floor(tf / frame) do
  3203. script.Heartbeat:Fire()
  3204. end
  3205. lastframe = tick()
  3206. end
  3207. if tossremainder then
  3208. tf = 0
  3209. else
  3210. tf = tf - frame * math.floor(tf / frame)
  3211. end
  3212. end
  3213. end)
  3214.  
  3215. function swait(num)
  3216. if num == 0 or num == nil then
  3217. ArtificialHB.Event:wait()
  3218. else
  3219. for i = 0, num do
  3220. ArtificialHB.Event:wait()
  3221. end
  3222. end
  3223. end
  3224.  
  3225.  
  3226.  
  3227.  
  3228. local Stats = Instance.new("BoolValue")
  3229. Stats.Name = "Stats"
  3230. Stats.Parent = Character
  3231. local Atk = Instance.new("NumberValue")
  3232. Atk.Name = "Damage"
  3233. Atk.Parent = Stats
  3234. Atk.Value = 1
  3235. local Def = Instance.new("NumberValue")
  3236. Def.Name = "Defense"
  3237. Def.Parent = Stats
  3238. Def.Value = 1
  3239. local Mvmt = Instance.new("NumberValue")
  3240. Mvmt.Name = "Movement"
  3241. Mvmt.Parent = Stats
  3242. Mvmt.Value = 1
  3243. local Block = Instance.new("BoolValue")
  3244. Block.Name = "Block"
  3245. Block.Parent = Stats
  3246. Block.Value = false
  3247. local Stun = Instance.new("NumberValue")
  3248. Stun.Name = "Stun"
  3249. Stun.Parent = Stats
  3250. Stun.Value = 0
  3251. local StunT = Instance.new("NumberValue")
  3252. StunT.Name = "StunThreshold"
  3253. StunT.Parent = Stats
  3254. StunT.Value = 80
  3255. local Rooted = Instance.new("BoolValue")
  3256. Rooted.Name = "Rooted"
  3257. Rooted.Parent = Stats
  3258. Rooted.Value = false
  3259. local Stunned = Instance.new("BoolValue")
  3260. Stunned.Name = "Stunned"
  3261. Stunned.Parent = Stats
  3262. Stunned.Value = false
  3263. local Stagger = Instance.new("BoolValue")
  3264. Stagger.Name = "Stagger"
  3265. Stagger.Parent = Stats
  3266. Stagger.Value = false
  3267. local StaggerHit = Instance.new("BoolValue")
  3268. StaggerHit.Name = "StaggerHit"
  3269. StaggerHit.Parent = Stats
  3270. StaggerHit.Value = false
  3271. local RecentEnemy = Instance.new("ObjectValue")
  3272. RecentEnemy.Name = "RecentEnemy"
  3273. RecentEnemy.Parent = Stats
  3274. RecentEnemy.Value = nil
  3275. local Decrease = Instance.new("BoolValue")
  3276. Decrease.Name = "Decrease"
  3277. Decrease.Parent = Stats
  3278. Decrease.Value = false
  3279. local mana = Instance.new("NumberValue")
  3280. mana.Name = "Mana"
  3281. mana.Parent = Stats
  3282. mana.Value = 0
  3283. local passive1 = Instance.new("NumberValue", Decrease)
  3284. passive1.Name = "DecreaseMvmt"
  3285. passive1.Value = -0.1
  3286. local passive2 = Instance.new("NumberValue", Decrease)
  3287. passive2.Name = "DecreaseDef"
  3288. passive2.Value = 0
  3289. NoOutline = function(Part)
  3290. Part.TopSurface = 10
  3291. end
  3292.  
  3293. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  3294. local fp = it("Part")
  3295. fp.formFactor = formfactor
  3296. fp.Parent = parent
  3297. fp.Reflectance = reflectance
  3298. fp.Transparency = transparency
  3299. fp.CanCollide = false
  3300. fp.Locked = true
  3301. fp.BrickColor = brickcolor
  3302. fp.Name = name
  3303. fp.Size = size
  3304. fp.Position = Torso.Position
  3305. NoOutline(fp)
  3306. fp.Material = "Neon"
  3307. fp:BreakJoints()
  3308. return fp
  3309. end
  3310.  
  3311. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  3312. local mesh = it(Mesh)
  3313. mesh.Parent = part
  3314. if Mesh == "SpecialMesh" then
  3315. mesh.MeshType = meshtype
  3316. if meshid ~= "nil" then
  3317. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  3318. end
  3319. end
  3320. mesh.Offset = offset
  3321. mesh.Scale = scale
  3322. return mesh
  3323. end
  3324.  
  3325. weld = function(parent, part0, part1, c0)
  3326. local weld = it("Motor")
  3327. weld.Parent = parent
  3328. weld.Part0 = part0
  3329. weld.Part1 = part1
  3330. weld.C0 = c0
  3331. return weld
  3332. end
  3333.  
  3334.  
  3335.  
  3336. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  3337. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  3338. prt.Material = neon
  3339. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  3340. wld = weld(handle, prt, wldpar, ceef)
  3341. v = it("NumberValue", prt)
  3342. v.Value = trans
  3343. v.Name = "MainTransparency"
  3344. return prt, msh, wld
  3345. end
  3346.  
  3347. local nr = NumberRange.new
  3348. local ns = NumberSequence.new
  3349. local cs = ColorSequence.new
  3350. local nsk = NumberSequenceKeypoint.new
  3351. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  3352. local fp = it("ParticleEmitter")
  3353. fp.Parent = parent
  3354. fp.Color = cs(col1, col2)
  3355. fp.LightEmission = lightemis
  3356. fp.Size = size
  3357. fp.Texture = texture
  3358. fp.Transparency = transparency
  3359. fp.ZOffset = zoffset
  3360. fp.Acceleration = accel
  3361. fp.Drag = drag
  3362. fp.LockedToPart = ltp
  3363. fp.VelocityInheritance = velinher
  3364. fp.EmissionDirection = emisdir
  3365. fp.Enabled = enabled
  3366. fp.Lifetime = lifetime
  3367. fp.Rate = rate
  3368. fp.Rotation = rotation
  3369. fp.RotSpeed = rotspeed
  3370. fp.Speed = speed
  3371. fp.VelocitySpread = velspread
  3372. return fp
  3373. end
  3374. local modelzorz = Instance.new("Model")
  3375. modelzorz.Parent = Character
  3376. modelzorz.Name = "Chaos Saber"
  3377. RainbowVals = function(parent, sval, bval)
  3378. d = it("NumberValue", parent)
  3379. d.Name = "Size"
  3380. d.Value = sval
  3381. b = it("NumberValue", parent)
  3382. b.Name = "Weld"
  3383. b.Value = bval
  3384. return d, b
  3385. end
  3386.  
  3387. rmain1, rmrmsh1, rmwld1 = AesthPart(model3, handle4, 1, 0, NewCol, "RainbowMain", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  3388. rmain1a, rmrmsh1a, rmwld1a = AesthPart(model3, handle5, 1, 0, NewCol, "RainbowMaina", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  3389. rainbow1, rmsh1, rwld1 = AesthPart(model3, rmain1, 0, 0, Neons[7].Color, "Rainbow1", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, 0.1))
  3390. rainbow1a, rmsh1a, rwld1a = AesthPart(model3, rmain1a, 0, 0, Neons[7].Color, "Rainbow1a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, -0.1))
  3391. rainbow2, rmsh2, rwld2 = AesthPart(model3, rmain1, 0, 0, Neons[6].Color, "Rainbow2", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, 0.1))
  3392. rainbow2a, rmsh2a, rwld2a = AesthPart(model3, rmain1a, 0, 0, Neons[6].Color, "Rainbow2a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, -0.1))
  3393. rainbow3, rmsh3, rwld3 = AesthPart(model3, rmain1, 0, 0, Neons[5].Color, "Rainbow3", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, 0.1))
  3394. rainbow3a, rmsh3a, rwld3a = AesthPart(model3, rmain1a, 0, 0, Neons[5].Color, "Rainbow3a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, -0.1))
  3395. rainbow4, rmsh4, rwld4 = AesthPart(model3, rmain1, 0, 0, Neons[4].Color, "Rainbow4", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, 0.1))
  3396. rainbow4a, rmsh4a, rwld4a = AesthPart(model3, rmain1a, 0, 0, Neons[4].Color, "Rainbow4a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, -0.1))
  3397. rainbow5, rmsh5, rwld5 = AesthPart(model3, rmain1, 0, 0, Neons[3].Color, "Rainbow5", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, 0.1))
  3398. rainbow5a, rmsh5a, rwld5a = AesthPart(model3, rmain1a, 0, 0, Neons[3].Color, "Rainbow5a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, -0.1))
  3399. rainbow6, rmsh6, rwld6 = AesthPart(model3, rmain1, 0, 0, Neons[2].Color, "Rainbow6", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, 0.1))
  3400. rainbow6a, rmsh6a, rwld6a = AesthPart(model3, rmain1a, 0, 0, Neons[2].Color, "Rainbow6a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, -0.1))
  3401. rainbow7, rmsh7, rwld7 = AesthPart(model3, rmain1, 0, 0, Neons[1].Color, "Rainbow7", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, 0.1))
  3402. rainbow7a, rmsh7a, rwld7a = AesthPart(model3, rmain1a, 0, 0, Neons[1].Color, "Rainbow7a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, -0.1))
  3403. local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  3404. hitbox.Anchored = true
  3405. local hitboxCF = cf(0, 0, 0)
  3406. sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  3407. transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  3408. local starsparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.5, sizeseq, "http://www.roblox.com/asset/?id=146120327", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 40, nr(-360, 360), nr(-200, 200), nr(8), 180)
  3409. starsparti.Parent = Torso
  3410. sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  3411. transseq = ns({nsk(0, 0), nsk(1, 1)})
  3412. local lparti1 = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=243098098", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(0.2, 0.2), 500, nr(-360, 360), nr(0, 0), nr(0), 0)
  3413. lparti1.Parent = Torso
  3414. sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  3415. transseq = ns({nsk(0, 0), nsk(1, 1)})
  3416. local sparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=82057200", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 50, nr(-360, 360), nr(400, 500), nr(5), 180)
  3417. sparti.Parent = Torso
  3418. local effects = it("Model", modelzorz)
  3419. effects.Name = "Effects"
  3420. hboxpos = Instance.new("BodyPosition", nil)
  3421. hboxpos.P = 2000
  3422. hboxpos.D = 100
  3423. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  3424.  
  3425. local bodvel = Instance.new("BodyVelocity")
  3426. local bg = Instance.new("BodyGyro")
  3427. so = function(id, par, vol, pit)
  3428. local sou = Instance.new("Sound", par or workspace)
  3429. sou.Volume = vol
  3430. sou.Pitch = pit or 1
  3431. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  3432. coroutine.resume(coroutine.create(function(Sound)
  3433. swait()
  3434. Sound:play()
  3435. end
  3436. ), sou)
  3437. game:GetService("Debris"):AddItem(sou, 6)
  3438. end
  3439.  
  3440.  
  3441.  
  3442.  
  3443. rayCast = function(Pos, Dir, Max, Ignore)
  3444. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3445. end
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3452. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3453. prt.Anchored = true
  3454. prt.CFrame = cframe
  3455. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3456. game:GetService("Debris"):AddItem(prt, 10)
  3457. if Type == 1 or Type == nil then
  3458. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3459. else
  3460. if Type == 2 then
  3461. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3462. else
  3463. if Type == 3 then
  3464. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3465. else
  3466. if Type == 4 then
  3467. table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  3468. end
  3469. end
  3470. end
  3471. end
  3472. end
  3473.  
  3474. MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3475. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3476. prt.Material = "Neon"
  3477. prt.Anchored = true
  3478. prt.CFrame = cframe
  3479. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3480. game:GetService("Debris"):AddItem(prt, 10)
  3481. if Type == 1 or Type == nil then
  3482. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3483. else
  3484. if Type == 2 then
  3485. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3486. else
  3487. if Type == 3 then
  3488. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3489. end
  3490. end
  3491. end
  3492. end
  3493.  
  3494. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3495. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3496. prt.Material = "Neon"
  3497. prt.Anchored = true
  3498. prt.CFrame = cframe
  3499. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3500. game:GetService("Debris"):AddItem(prt, 10)
  3501. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3502. end
  3503.  
  3504. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  3505. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3506. prt.Anchored = true
  3507. prt.CFrame = cframe
  3508. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3509. game:GetService("Debris"):AddItem(prt, 10)
  3510. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  3511. end
  3512.  
  3513. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3514. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3515. prt.Material = "Neon"
  3516. prt.Anchored = true
  3517. prt.CFrame = cframe
  3518. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3519. game:GetService("Debris"):AddItem(prt, 10)
  3520. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3521. end
  3522.  
  3523. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3524. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3525. prt.Anchored = true
  3526. prt.CFrame = cframe
  3527. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3528. game:GetService("Debris"):AddItem(prt, 10)
  3529. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3530. end
  3531.  
  3532. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  3533. local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt())
  3534. prt.Anchored = true
  3535. prt.CFrame = cframe
  3536. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  3537. game:GetService("Debris"):AddItem(prt, 10)
  3538. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  3539. end
  3540.  
  3541. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3542. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3543. prt.Anchored = true
  3544. prt.CFrame = cframe
  3545. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3546. game:GetService("Debris"):AddItem(prt, 10)
  3547. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3548. end
  3549.  
  3550. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3551. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3552. prt.Anchored = true
  3553. prt.CFrame = cframe
  3554. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  3555. game:GetService("Debris"):AddItem(prt, 10)
  3556. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3557. end
  3558.  
  3559. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  3560. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3561. prt.Anchored = true
  3562. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3563. game:GetService("Debris"):AddItem(prt, 10)
  3564. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3565. local num = math.random(10, 50) / 1000
  3566. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  3567. end
  3568.  
  3569. MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3570. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3571. prt.Material = "Neon"
  3572. prt.Anchored = true
  3573. prt.CFrame = cframe
  3574. local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  3575. game:GetService("Debris"):AddItem(prt, 10)
  3576. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3577. end
  3578. ----------------------------------------------------
  3579. mouse.KeyDown:connect(function(key)
  3580. if key == "p" then
  3581. if myVars[5] == "ssl3" then
  3582. print("Bash ran.")
  3583. Debounces.CanAttack = false
  3584. Debounces.NoIdl = true
  3585. Bash()
  3586. Debounces.CanAttack = true
  3587. Debounces.NoIdl = false
  3588. end
  3589. end
  3590. end)
  3591. ----------------------------------------------------
  3592. function makeSwordUpgrade()
  3593.  
  3594. end
  3595. makeSwordUpgrade()
  3596. ----------------------------------------------------
  3597. Grab = false
  3598. local humanoidR = nil
  3599. mouse.KeyDown:connect(function(key)
  3600. if key == "z" then
  3601. humanoidR = nil
  3602. Debounces.on = true
  3603. Debounces.NoIdl = true
  3604. Debounces.ks = true
  3605. if Grab == false then
  3606. gp = nil
  3607. for i = 1, 20 do
  3608. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  3609. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  3610. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  3611. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  3612. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  3613. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  3614. if Debounces.on == false then break end
  3615. rs:wait(2)
  3616. end
  3617. con1=larm.Touched:connect(function(hit) -- this is grab
  3618. ht = hit.Parent
  3619. hum1=ht:FindFirstChild('Humanoid')
  3620. if hum1 ~= nil then
  3621. if Debounces.ks==true then
  3622. z = Instance.new("Sound",hed)
  3623. z.SoundId = "rbxassetid://169380525"
  3624. z.Volume = 1
  3625. z:Play()
  3626. Debounces.ks=false
  3627. end
  3628.  
  3629. humanoidR = hum1
  3630. hum1.PlatformStand=true
  3631. gp = ht
  3632. Grab = true
  3633. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  3634. asd.Parent = larm
  3635. asd.Name = "asd"
  3636. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  3637. stanceToggle = "Grabbed"
  3638.  
  3639. end
  3640. end)
  3641. for i = 1, 20 do
  3642. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  3643. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  3644. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  3645. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  3646. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  3647. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  3648. if Debounces.on == false then break end
  3649. rs:wait(2)
  3650. end
  3651. con1:disconnect()
  3652. Debounces.on = false
  3653. Debounces.NoIdl = false
  3654.  
  3655. elseif Grab == true then
  3656. Grab = false
  3657. for i = 1, 16 do
  3658. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  3659. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3)
  3660. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  3661. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  3662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  3663. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  3664. if Debounces.on == false then end
  3665. rs:wait()
  3666. end
  3667. if gp ~= nil then
  3668. for i,v in pairs(larm:GetChildren()) do
  3669. if v.Name == "asd" and v:IsA("Weld") then
  3670. v:Remove()
  3671. end
  3672. end
  3673. for i = 1, 16 do
  3674. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  3675. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3)
  3676. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  3677. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  3678. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  3679. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  3680. if Debounces.on == false then end
  3681. rs:wait()
  3682. end
  3683. stanceToggle = "Normal"
  3684. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3685. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3686. bv.P = 125000
  3687. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3688. ht=nil
  3689. Debounces.on = false
  3690. Debounces.NoIdl = false
  3691. elseif ht == nil then wait()
  3692. Grab = false
  3693. humanoidR.PlatformStand = true
  3694. Debounces.on = false
  3695. Debounces.NoIdl = false
  3696. end
  3697. end
  3698. end
  3699. end)
  3700. -------------------------------------------------
  3701. givePower = function()
  3702. humanoidR.Health = 0
  3703. end
  3704. -------------------------------------------------
  3705. myVars[4] = "Normal"
  3706. mouse.KeyDown:connect(function(key)
  3707. if key == "v" then
  3708. if myVars[4] == "Normal" then
  3709. if Debounces.CanAttack == true then
  3710. Debounces.CanAttack = false
  3711. Debounces.NoIdl = true
  3712. Debounces.on = true
  3713. char.Humanoid.WalkSpeed = 0.1
  3714. myVars[4] = "Sitting"
  3715. sitting()
  3716. end
  3717. elseif myVars[4] == "Sitting" then
  3718. print("STOPPED SITTING_")
  3719. char.Humanoid.WalkSpeed = 16
  3720. myVars[4] = "Normal"
  3721. Debounces.CanAttack = true
  3722. Debounces.NoIdl = false
  3723. Debounces.on = false
  3724. end
  3725. end
  3726. end)
  3727. -------------------------------BEAMSTUFF
  3728.  
  3729. startBloxxy()
  3730.  
  3731.  
  3732. local Humanoid=char.Humanoid
  3733. local m=Instance.new('Model',char)
  3734. local it=Instance.new
  3735. local attacktype=1
  3736. local vt=Vector3.new
  3737. local cf=CFrame.new
  3738. local euler=CFrame.fromEulerAnglesXYZ
  3739. local angles=CFrame.Angles
  3740. function NoOutline(Part)
  3741. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3742. end
  3743. local RootPart = char.HumanoidRootPart
  3744.  
  3745.  
  3746.  
  3747.  
  3748. local mouse=Player:GetMouse()
  3749.  
  3750. local player=p
  3751. local ch=char
  3752. local attack = false
  3753. local attackdebounce = false
  3754. player=nil
  3755. local cam = workspace.CurrentCamera
  3756. local ZTarget = nil
  3757. local RocketTarget = nil
  3758. local Targetting = false
  3759.  
  3760.  
  3761. local Neoncol = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  3762.  
  3763.  
  3764. function swaito(num)
  3765. if num==0 or num==nil then
  3766. game:service'RunService'.Heartbeat:wait(0)
  3767. else
  3768. for i=0,num do
  3769. game:service'RunService'.Heartbeat:wait(0)
  3770. end
  3771. end
  3772. end
  3773.  
  3774. function nooutline(part)
  3775. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3776. end
  3777.  
  3778. function parto(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3779. local fp=it("Part")
  3780. fp.formFactor=formfactor
  3781. fp.Parent=parent
  3782. fp.Reflectance=reflectance
  3783. fp.Transparency=transparency
  3784. fp.CanCollide=false
  3785. fp.Locked=true
  3786. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3787. fp.Name=name
  3788. fp.Size=size
  3789. fp.Position=Character.Torso.Position
  3790. nooutline(fp)
  3791. fp.Material=material
  3792. fp:BreakJoints()
  3793. return fp
  3794. end
  3795.  
  3796. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  3797. local mesh=it(Mesh)
  3798. mesh.Parent=part
  3799. if Mesh=="SpecialMesh" then
  3800. mesh.MeshType=meshtype
  3801. mesh.MeshId=meshid
  3802. end
  3803. mesh.Offset=offset
  3804. mesh.Scale=scale
  3805. return mesh
  3806. end
  3807.  
  3808. function weldo(parent,part0,part1,c0,c1)
  3809. local weld=it("Weld")
  3810. weld.Parent=parent
  3811. weld.Part0=part0
  3812. weld.Part1=part1
  3813. weld.C0=c0
  3814. weld.C1=c1
  3815. return weld
  3816. end
  3817.  
  3818.  
  3819.  
  3820.  
  3821. local function CFrameFromTopBack(at, top, back)
  3822. local right = top:Cross(back)
  3823. return CFrame.new(at.x, at.y, at.z,
  3824. right.x, top.x, back.x,
  3825. right.y, top.y, back.y,
  3826. right.z, top.z, back.z)
  3827. end
  3828.  
  3829. so = function(id,par,vol,pit)
  3830. coroutine.resume(coroutine.create(function()
  3831. local sou = Instance.new("Sound",par or workspace)
  3832. sou.Volume=vol
  3833. sou.Pitch=pit or 1
  3834. sou.SoundId=id
  3835. swait()
  3836. sou:play()
  3837. game:GetService("Debris"):AddItem(sou,6)
  3838. end))
  3839. end
  3840.  
  3841. function Triangle(a, b, c)
  3842. local edg1 = (c-a):Dot((b-a).unit)
  3843. local edg2 = (a-b):Dot((c-b).unit)
  3844. local edg3 = (b-c):Dot((a-c).unit)
  3845. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3846. a, b, c = a, b, c
  3847. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3848. a, b, c = b, c, a
  3849. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3850. a, b, c = c, a, b
  3851. else
  3852. assert(false, "unreachable")
  3853. end
  3854.  
  3855. local len1 = (c-a):Dot((b-a).unit)
  3856. local len2 = (b-a).magnitude - len1
  3857. local width = (a + (b-a).unit*len1 - c).magnitude
  3858.  
  3859. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3860.  
  3861. local list = {}
  3862.  
  3863. local TrailColor = ("Dark grey")
  3864.  
  3865. if len1 > 0.01 then
  3866. local w1 = Instance.new('WedgePart', m)
  3867. game:GetService("Debris"):AddItem(w1,5)
  3868. w1.Material = "Neon"
  3869. w1.FormFactor = 'Custom'
  3870. w1.BrickColor = BrickColor.new(TrailColor)
  3871. w1.Transparency = 0
  3872. w1.Reflectance = 0
  3873. w1.Material = "Neon"
  3874. w1.CanCollide = false
  3875. NoOutline(w1)
  3876. local sz = Vector3.new(0.2, width, len1)
  3877. w1.Size = sz
  3878. local sp = Instance.new("SpecialMesh",w1)
  3879. sp.MeshType = "Wedge"
  3880. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3881. w1:BreakJoints()
  3882. w1.Anchored = true
  3883. w1.Parent = workspace
  3884. w1.Transparency = 0.7
  3885. table.insert(fx,{w1,"Disappear",.01})
  3886. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3887. table.insert(list,w1)
  3888. end
  3889.  
  3890. if len2 > 0.01 then
  3891. local w2 = Instance.new('WedgePart', m)
  3892. game:GetService("Debris"):AddItem(w2,5)
  3893. w2.Material = "Neon"
  3894. w2.FormFactor = 'Custom'
  3895. w2.BrickColor = BrickColor.new(TrailColor)
  3896. w2.Transparency = 0
  3897. w2.Reflectance = 0
  3898. w2.Material = "Neon"
  3899. w2.CanCollide = false
  3900. NoOutline(w2)
  3901. local sz = Vector3.new(0.2, width, len2)
  3902. w2.Size = sz
  3903. local sp = Instance.new("SpecialMesh",w2)
  3904. sp.MeshType = "Wedge"
  3905. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3906. w2:BreakJoints()
  3907. w2.Anchored = true
  3908. w2.Parent = workspace
  3909. w2.Transparency = 0.7
  3910. table.insert(fx,{w2,"Disappear",.01})
  3911. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3912. table.insert(list,w2)
  3913. end
  3914. return unpack(list)
  3915. end
  3916.  
  3917. function clerp(a,b,t)
  3918. local qa = {QuaternionFromCFrame(a)}
  3919. local qb = {QuaternionFromCFrame(b)}
  3920. local ax, ay, az = a.x, a.y, a.z
  3921. local bx, by, bz = b.x, b.y, b.z
  3922. local _t = 1-t
  3923. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3924. end
  3925.  
  3926. function QuaternionFromCFrame(cf)
  3927. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3928. local trace = m00 + m11 + m22
  3929. if trace > 0 then
  3930. local s = math.sqrt(1 + trace)
  3931. local recip = 0.5/s
  3932. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3933. else
  3934. local i = 0
  3935. if m11 > m00 then
  3936. i = 1
  3937. end
  3938. if m22 > (i == 0 and m00 or m11) then
  3939. i = 2
  3940. end
  3941. if i == 0 then
  3942. local s = math.sqrt(m00-m11-m22+1)
  3943. local recip = 0.5/s
  3944. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3945. elseif i == 1 then
  3946. local s = math.sqrt(m11-m22-m00+1)
  3947. local recip = 0.5/s
  3948. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3949. elseif i == 2 then
  3950. local s = math.sqrt(m22-m00-m11+1)
  3951. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3952. end
  3953. end
  3954. end
  3955.  
  3956. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3957. local xs, ys, zs = x + x, y + y, z + z
  3958. local wx, wy, wz = w*xs, w*ys, w*zs
  3959. local xx = x*xs
  3960. local xy = x*ys
  3961. local xz = x*zs
  3962. local yy = y*ys
  3963. local yz = y*zs
  3964. local zz = z*zs
  3965. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  3966. end
  3967.  
  3968. function QuaternionSlerp(a, b, t)
  3969. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3970. local startInterp, finishInterp;
  3971. if cosTheta >= 0.0001 then
  3972. if (1 - cosTheta) > 0.0001 then
  3973. local theta = math.acos(cosTheta)
  3974. local invSinTheta = 1/math.sin(theta)
  3975. startInterp = math.sin((1-t)*theta)*invSinTheta
  3976. finishInterp = math.sin(t*theta)*invSinTheta
  3977. else
  3978. startInterp = 1-t
  3979. finishInterp = t
  3980. end
  3981. else
  3982. if (1+cosTheta) > 0.0001 then
  3983. local theta = math.acos(-cosTheta)
  3984. local invSinTheta = 1/math.sin(theta)
  3985. startInterp = math.sin((t-1)*theta)*invSinTheta
  3986. finishInterp = math.sin(t*theta)*invSinTheta
  3987. else
  3988. startInterp = t-1
  3989. finishInterp = t
  3990. end
  3991. end
  3992. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  3993. end
  3994.  
  3995. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3996. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3997. end
  3998.  
  3999.  
  4000. Damagefunco=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  4001. if hit.Parent==nil then
  4002. return
  4003. end
  4004. local h=hit.Parent:FindFirstChild("Humanoid")
  4005. for _,v in pairs(hit.Parent:children()) do
  4006. if v:IsA("Humanoid") then
  4007. h=v
  4008. end
  4009. end
  4010. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  4011. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  4012. end
  4013. if hit.Parent.className=="Hat" then
  4014. hit=hit.Parent.Parent:findFirstChild("Head")
  4015. end
  4016. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4017. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  4018. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4019. return
  4020. end]]
  4021. -- hs(hit,1.2)
  4022. local c=Instance.new("ObjectValue")
  4023. c.Name="creator"
  4024. c.Value=game:service("Players").LocalPlayer
  4025. c.Parent=h
  4026. game:GetService("Debris"):AddItem(c,.5)
  4027. local Damage=math.random(minim,maxim)
  4028. -- h:TakeDamage(Damage)
  4029. local blocked=false
  4030. local block=hit.Parent:findFirstChild("Block")
  4031. if block~=nil then
  4032. print(block.className)
  4033. if block.className=="NumberValue" then
  4034. if block.Value>0 then
  4035. blocked=true
  4036. if decreaseblock==nil then
  4037. block.Value=block.Value-1
  4038. end
  4039. end
  4040. end
  4041. if block.className=="IntValue" then
  4042. if block.Value>0 then
  4043. blocked=true
  4044. if decreaseblock~=nil then
  4045. block.Value=block.Value-1
  4046. end
  4047. end
  4048. end
  4049. end
  4050. if blocked==false then
  4051. -- h:TakeDamage(Damage)
  4052. h.Health=h.Health-Damage
  4053. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  4054. else
  4055. h.Health=h.Health-(Damage/2)
  4056. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  4057. end
  4058. if Type=="Knockdown" then
  4059. local hum=hit.Parent.Humanoid
  4060. hum.PlatformStand=true
  4061. coroutine.resume(coroutine.create(function(HHumanoid)
  4062. swait(1)
  4063. HHumanoid.PlatformStand=false
  4064. end),hum)
  4065. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  4066. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4067. local bodvol=Instance.new("BodyVelocity")
  4068. bodvol.velocity=angle*knockback
  4069. bodvol.P=5000
  4070. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4071. bodvol.Parent=hit
  4072. local rl=Instance.new("BodyAngularVelocity")
  4073. rl.P=3000
  4074. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4075. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4076. rl.Parent=hit
  4077. game:GetService("Debris"):AddItem(bodvol,.5)
  4078. game:GetService("Debris"):AddItem(rl,.5)
  4079. elseif Type=="Normal" then
  4080. local vp=Instance.new("BodyVelocity")
  4081. vp.P=500
  4082. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4083. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4084. if KnockbackType==1 then
  4085. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  4086. elseif KnockbackType==2 then
  4087. vp.velocity=Property.CFrame.lookVector*knockback
  4088. end
  4089. if knockback>0 then
  4090. vp.Parent=hit.Parent.Torso
  4091. end
  4092. game:GetService("Debris"):AddItem(vp,.5)
  4093. elseif Type=="Up" then
  4094. local bodyVelocity=Instance.new("BodyVelocity")
  4095. bodyVelocity.velocity=vt(0,60,0)
  4096. bodyVelocity.P=5000
  4097. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4098. bodyVelocity.Parent=hit
  4099. game:GetService("Debris"):AddItem(bodyVelocity,1)
  4100. local rl=Instance.new("BodyAngularVelocity")
  4101. rl.P=3000
  4102. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4103. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  4104. rl.Parent=hit
  4105. game:GetService("Debris"):AddItem(rl,.5)
  4106. elseif Type=="Snare" then
  4107. local bp=Instance.new("BodyPosition")
  4108. bp.P=2000
  4109. bp.D=100
  4110. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4111. bp.position=hit.Parent.Torso.Position
  4112. bp.Parent=hit.Parent.Torso
  4113. game:GetService("Debris"):AddItem(bp,1)
  4114. elseif Type=="Target" then
  4115. local Targetting = false
  4116. if Targetting==false then
  4117. ZTarget=hit.Parent.Torso
  4118. coroutine.resume(coroutine.create(function(Part)
  4119. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4120. swait(5)
  4121. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4122. end),ZTarget)
  4123. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  4124. local targetgui=Instance.new("BillboardGui")
  4125. targetgui.Parent=ZTarget
  4126. targetgui.Size=UDim2.new(10,100,10,100)
  4127. local targ=Instance.new("ImageLabel")
  4128. targ.Parent=targetgui
  4129. targ.BackgroundTransparency=1
  4130. targ.Image="rbxassetid://4834067"
  4131. targ.Size=UDim2.new(1,0,1,0)
  4132. cam.CameraType="Scriptable"
  4133. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4134. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4135. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4136. Targetting=true
  4137. RocketTarget=ZTarget
  4138. for i=1,Property do
  4139. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  4140. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  4141. swait()
  4142. end
  4143. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  4144. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4145. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4146. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  4147. end
  4148. Targetting=false
  4149. RocketTarget=nil
  4150. targetgui.Parent=nil
  4151. cam.CameraType="Custom"
  4152. end
  4153. end
  4154. local debounce=Instance.new("BoolValue")
  4155. debounce.Name="DebounceHit"
  4156. debounce.Parent=hit.Parent
  4157. debounce.Value=true
  4158. game:GetService("Debris"):AddItem(debounce,Delay)
  4159. c=Instance.new("ObjectValue")
  4160. c.Name="creator"
  4161. c.Value=Player
  4162. c.Parent=h
  4163. game:GetService("Debris"):AddItem(c,.5)
  4164. end
  4165. end
  4166.  
  4167. Damagefunc2o=function(Part,hit,Damage,Knockback)
  4168. if attackdebounce == false then
  4169. -- attackdebounce = true
  4170. coroutine.resume(coroutine.create(function()
  4171. wait(0.1)
  4172. attackdebounce = false
  4173. end))
  4174. if hit.Parent==nil then
  4175. return
  4176. end
  4177. local blocked=false
  4178. local h=hit.Parent:FindFirstChild("Humanoid")
  4179. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  4180. Damage=Damage
  4181. local c=it("ObjectValue")
  4182. c.Name="creator"
  4183. c.Value=game.Players.LocalPlayer
  4184. c.Parent=h
  4185. game:GetService("Debris"):AddItem(c,.5)
  4186. -- print(c.Value)
  4187. --[[ if math.random(0,99)+math.random()<=7.8 then
  4188. CRIT=true
  4189. Damage=Damage*2
  4190. s=it("Sound")
  4191. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  4192. s.Volume=1
  4193. s.Pitch=2
  4194. s.Parent=hit
  4195. s.PlayOnRemove=true
  4196. s.Parent=nil
  4197.  
  4198. end]]
  4199. Damage=Damage+math.random(0,10)
  4200. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  4201. blocked=false
  4202. local block=hit.Parent:findFirstChild("Block")
  4203. if block~=nil then
  4204. print("herp")
  4205. if block.Value>0 then
  4206. blocked=true
  4207. block.Value=block.Value-3
  4208. print(block.Value)
  4209. end
  4210. end
  4211. if blocked==false then
  4212. -- h:TakeDamage(Damage)
  4213. h.Health=h.Health-Damage
  4214. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color)
  4215. else
  4216. h:TakeDamage(1)
  4217. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("New Yeller").Color)
  4218. end
  4219. --if blocked==false then
  4220. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  4221. print(angle)
  4222. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4223. local rl=Instance.new("BodyAngularVelocity")
  4224. rl.P=3000
  4225. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4226. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4227. rl.Parent=hit
  4228. coroutine.resume(coroutine.create(function(vel)
  4229. wait(0.5)
  4230. vel:Remove()
  4231. end),rl)
  4232. --end
  4233. local bodyVelocity=Instance.new("BodyVelocity")
  4234. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  4235. bodyVelocity.P=5000
  4236. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4237. bodyVelocity.Parent=hit
  4238. coroutine.resume(coroutine.create(function(Vel)
  4239. wait(0.2)
  4240. Vel:Remove()
  4241. end),bodyVelocity)
  4242. c=it("ObjectValue")
  4243. c.Name="creator"
  4244. c.Value=Player
  4245. c.Parent=h
  4246. game:GetService("Debris"):AddItem(c,.5)
  4247. end
  4248. end
  4249. end
  4250.  
  4251.  
  4252. function ShowDamage(Pos, Text, Time, Color)
  4253. local Rate = (1 / 30)
  4254. local Pos = (Pos or Vector3.new(0, 0, 0))
  4255. local Text = (Text or "")
  4256. local Time = (Time or 2)
  4257. local Color = (Color or Color3.new(1, 0, 0))
  4258. local EffectPart = parto("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  4259. EffectPart.Anchored = true
  4260. local BillboardGui = Instance.new("BillboardGui")
  4261. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  4262. BillboardGui.Adornee = EffectPart
  4263. local TextLabel = Instance.new("TextLabel")
  4264. TextLabel.BackgroundTransparency = 1
  4265. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  4266. TextLabel.Text = Text
  4267. TextLabel.TextColor3 = Color
  4268. TextLabel.TextScaled = true
  4269. TextLabel.Font = Enum.Font.ArialBold
  4270. TextLabel.Parent = BillboardGui
  4271. BillboardGui.Parent = EffectPart
  4272. game.Debris:AddItem(EffectPart, (Time + 0.1))
  4273. EffectPart.Parent = game:GetService("Workspace")
  4274. Delay(0, function()
  4275. local Frames = (Time / Rate)
  4276. for Frame = 1, Frames do
  4277. wait(Rate)
  4278. local Percent = (Frame / Frames)
  4279. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4280. TextLabel.TextTransparency = Percent
  4281. end
  4282. if EffectPart and EffectPart.Parent then
  4283. EffectPart:Destroy()
  4284. end
  4285. end)
  4286. end
  4287.  
  4288.  
  4289. function MagniDamageo(Hit,Part,magni,mindam,maxdam,knock,Type)
  4290. for _,c in pairs(workspace:children()) do
  4291. local hum=c:findFirstChild("Humanoid")
  4292. if hum~=nil then
  4293. local head=c:findFirstChild("Torso")
  4294. if head~=nil then
  4295. local targ=head.Position-Part.Position
  4296. local mag=targ.magnitude
  4297. if mag<=magni and c.Name~=p.Name then
  4298. Damagefunco(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  4299. end
  4300. end
  4301. end
  4302. end
  4303. end
  4304.  
  4305.  
  4306. local fx={}
  4307. function MagicBlocko(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4308. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  4309. prt.Anchored=true
  4310. prt.CFrame=cframe
  4311. msh=mesho("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4312. game:GetService("Debris"):AddItem(prt,5)
  4313. table.insert(fx,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  4314. end
  4315.  
  4316. function MagicCylindero(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4317. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4318. prt.Anchored=true
  4319. prt.CFrame=cframe
  4320. msh=mesho("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4321. game:GetService("Debris"):AddItem(prt,2)
  4322. coroutine.resume(coroutine.create(function(Part,Mesh)
  4323. for i=0,1,delay do
  4324. swait()
  4325. Part.CFrame=Part.CFrame
  4326. Part.Transparency=i
  4327. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4328. end
  4329. Part.Parent=nil
  4330. end),prt,msh)
  4331. end
  4332.  
  4333.  
  4334. function MagicCylinder2o(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4335. local prt=parto(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4336. prt.Anchored=true
  4337. prt.CFrame=cframe
  4338. msh=mesho("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4339. game:GetService("Debris"):AddItem(prt,5)
  4340. --table.insert(fx,{prt,"Cylinder",delay,x3,y3,z3})
  4341. fx[#fx+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  4342. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  4343. for i=0,1,delay do
  4344. wait()
  4345. Part.CFrame=Part.CFrame
  4346. Part.Transparency=i
  4347. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4348. end
  4349. Part.Parent=nil
  4350. end),prt,msh)]]
  4351. end
  4352.  
  4353.  
  4354. function MagicRingo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4355. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4356. prt.Anchored=true
  4357. prt.CFrame=cframe
  4358. msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  4359. game:GetService("Debris"):AddItem(prt,2)
  4360. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  4361. for i=0,1,delay do
  4362. swaito()
  4363. Part.Transparency=i
  4364. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4365. end
  4366. Part.Parent=nil
  4367. end),prt,msh,(math.random(0,1)+math.random())/5)
  4368. end
  4369.  
  4370. function MagicCircleo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4371. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4372. prt.Anchored=true
  4373. prt.CFrame=cframe
  4374. prt.CanCollide = false
  4375. msh=mesho("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4376. game:GetService("Debris"):AddItem(prt,2)
  4377. coroutine.resume(coroutine.create(function(Part,Mesh)
  4378. for i=0,1,delay do
  4379. swaito()
  4380. Part.CFrame=Part.CFrame
  4381. Part.Transparency=i
  4382. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4383. end
  4384. Part.Parent=nil
  4385. end),prt,msh)
  4386. end
  4387.  
  4388. function attackone()
  4389. attack = true
  4390. for i = 0,1,0.1 do
  4391. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  4392. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  4393. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4394. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4395. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  4396. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  4397. end
  4398. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  4399. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  4400. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  4401. ShootCannon()
  4402. ShootCannon()
  4403. ShootCannon()
  4404. for i = 0,1,0.1 do
  4405. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  4406. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  4407. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4408. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4409. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  4410. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  4411. end
  4412. attack = false
  4413. end
  4414.  
  4415. function attacktwo()
  4416. attack = true
  4417. for i = 0,1,0.1 do
  4418. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  4419. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  4420. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4421. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4422. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  4423. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  4424. end
  4425. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  4426. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  4427. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  4428. ShootCannon2()
  4429. ShootCannon2()
  4430. ShootCannon2()
  4431. for i = 0,1,0.1 do
  4432. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  4433. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  4434. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4435. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4436. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  4437. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  4438. end
  4439. attack = false
  4440. end
  4441.  
  4442. local cannonSh = false
  4443. RocketTarget = RootPart
  4444. function ShootCannon()
  4445. cannonSh = true
  4446. local colr = math.random(1,7)
  4447. so("rbxassetid://263623156",rarm,.5,1)
  4448. so("rbxassetid://263610152",rarm,.5,1)
  4449. so("rbxassetid://263623139",rarm,.5,1)
  4450. local MainPos=rarm.CFrame.p
  4451. local MainPos2=mouse.Hit.p
  4452. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  4453. --[[local mag=(MainPos-pos).magnitude
  4454. MagicCylindero(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  4455. num=30
  4456. coroutine.resume(coroutine.create(function()
  4457. repeat
  4458. wait()
  4459. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  4460. local mag=(MainPos-pos).magnitude
  4461. MagicCylinder2o(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  4462. MainPos=MainPos+(MouseLook.lookVector*10)
  4463. num=num-1
  4464. if hit~=nil then
  4465. num=0
  4466. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  4467. ref.Anchored=true
  4468. ref.CFrame=cf(pos)
  4469. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  4470. so("rbxassetid://263610039",ref,1,1)
  4471. so("rbxassetid://263610111",ref,1,1)
  4472. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  4473. game:GetService("Debris"):AddItem(ref,1)
  4474. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  4475. explosion = Instance.new("Explosion", game.Workspace)
  4476. explosion.BlastRadius = 5
  4477. explosion.Position = ref.Position
  4478. explosion.BlastPressure = 100000
  4479. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  4480. explosion.ExplosionType = "CratersAndDebris"
  4481. end
  4482. until num<=0
  4483. end))
  4484. cannonSh = false
  4485. end
  4486.  
  4487.  
  4488. RocketTarget = RootPart
  4489. function ShootCannon2()
  4490. cannonSh = true
  4491. local colr = math.random(1,7)
  4492. so("rbxassetid://263623156",larm,.5,1)
  4493. so("rbxassetid://263610152",larm,.5,1)
  4494. so("rbxassetid://263623139",larm,.5,1)
  4495. local MainPos=larm.CFrame.p
  4496. local MainPos2=mouse.Hit.p
  4497. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  4498. --[[local mag=(MainPos-pos).magnitude
  4499. MagicCylindero(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  4500. num=30
  4501. coroutine.resume(coroutine.create(function()
  4502. repeat
  4503. wait()
  4504. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  4505. local mag=(MainPos-pos).magnitude
  4506. MagicCylinder2o(Neoncol[colr],CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  4507. MainPos=MainPos+(MouseLook.lookVector*10)
  4508. num=num-1
  4509. if hit~=nil then
  4510. num=0
  4511. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  4512. ref.Anchored=true
  4513. ref.CFrame=cf(pos)
  4514. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  4515. so("rbxassetid://263610039",ref,1,1)
  4516. so("rbxassetid://263610111",ref,1,1)
  4517. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  4518. game:GetService("Debris"):AddItem(ref,1)
  4519. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  4520. explosion = Instance.new("Explosion", game.Workspace)
  4521. explosion.BlastRadius = 5
  4522. explosion.Position = ref.Position
  4523. explosion.BlastPressure = 100000
  4524. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  4525. explosion.ExplosionType = "CratersAndDebris"
  4526. end
  4527. until num<=0
  4528. end))
  4529. cannonSh = false
  4530. end
  4531.  
  4532.  
  4533. function BeamBlast()
  4534. if cannonSh == false then
  4535. local colr = math.random(1,7)
  4536. local n=2
  4537. for i = 0,1,0.05 do
  4538.  
  4539.  
  4540. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  4541. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  4542.  
  4543. end
  4544. local orb=parto(3,Character,"Neon",0,1,Neoncol[colr],"Orb",vt())
  4545. local omsh=mesho("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  4546. local owld=weldo(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0))
  4547. so("http://roblox.com/asset/?id=169445572",orb,1,0.9)
  4548. so("http://roblox.com/asset/?id=169380495",orb,1,0.6)
  4549. so("http://roblox.com/asset/?id=203691346",orb,1,0.9)
  4550. for i=1,0.3,-0.01 do
  4551. colr = math.random(1,7)
  4552. wait()
  4553. orb.Transparency=i
  4554. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  4555. MagicBlocko(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  4556. local ef=parto(3,workspace,"Neon",0,0,Neoncol[colr],"Effect",vt())
  4557. ef.Anchored=true
  4558. local emsh=mesho("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  4559. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  4560. ef.CFrame=orb.CFrame*ceef
  4561. game:GetService("Debris"):AddItem(ef,2)
  4562. coroutine.resume(coroutine.create(function(Part,Mesh)
  4563. for i=0,1,0.1 do
  4564. wait()
  4565. Part.Transparency=i
  4566. Part.CFrame=Part.CFrame*cf(0,-1,0)
  4567. end
  4568. Part.Parent=nil
  4569. end),ef,emsh)
  4570. end
  4571. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  4572. wait(.5)
  4573. orb.Parent=nil
  4574. colr = math.random(1,7)
  4575. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  4576. local mag=(orb.Position-pos).magnitude
  4577. MagicCircleo(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  4578. MagicBlocko(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  4579. MagicCylindero(Neoncol[colr],CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  4580. for i=1,2 do
  4581. colr = math.random(1,7)
  4582. MagicRingo(Neoncol[colr],cf(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),3,3,3,1,1,1,0.04)
  4583. end
  4584. for i=1,5 do
  4585. colr = math.random(1,7)
  4586. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  4587. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  4588. end
  4589. for i=0,5 do
  4590. colr = math.random(1,7)
  4591. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  4592. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  4593. end
  4594. local ref=parto(3,workspace,"Neon",0,1,Neoncol[colr],"Effect",vt())
  4595. ref.CFrame=cf(pos)
  4596. so("http://roblox.com/asset/?id=203691378",Torso,1,0.7)
  4597. so("http://roblox.com/asset/?id=169445602",Torso,1,0.7)
  4598. so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8)
  4599. coroutine.resume(coroutine.create(function(Part)
  4600. Part.Parent=nil
  4601. end),ref)
  4602. if hit~=nil then
  4603. MagniDamage(Part,hit,30,1000,1000,0,"Normal")
  4604. end
  4605. explosion = Instance.new("Explosion", game.Workspace)
  4606. explosion.BlastRadius = 15
  4607. explosion.Position = ref.Position
  4608. explosion.BlastPressure = 100000
  4609. explosion.DestroyJointRadiusPercent = 30 -- neck welds won't be destroyed
  4610. explosion.ExplosionType = "CratersAndDebris"
  4611. local n=2
  4612. for i = 0,1,0.03 do
  4613.  
  4614. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  4615. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  4616. end
  4617. end
  4618.  
  4619. Debounces.CanAttack = true
  4620. Debounces.NoIdl = false
  4621. end
  4622.  
  4623. mouse.Button1Down:connect(function()
  4624. if Melee == true then
  4625. if rainbowHands == true then
  4626. if attack == false and attacktype == 1 then
  4627. attacktype = 2
  4628. attackone()
  4629. elseif attack == false and attacktype == 2 then
  4630. attacktype = 1
  4631. attacktwo()
  4632. end
  4633. elseif d0arm[3] == "true" then
  4634. lBeam1()
  4635. end
  4636. else
  4637. if rainbowHands == true then
  4638. if attack == false then
  4639. attacktwo()
  4640. end
  4641. end
  4642. end
  4643. end)
  4644. local slashing = false
  4645. mouse.KeyUp:connect(function(key)
  4646. if key == "q" then
  4647. if Melee == true then
  4648. if rainbowssl ~= true then
  4649. if rainbowHands == true then
  4650. Debounces.CanAttack = false
  4651. Debounces.NoIdl = true
  4652. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  4653. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  4654. BeamBlast()
  4655. end
  4656. elseif Melee == false then
  4657. if sword2 ~= true then
  4658. Debounces.CanAttack = false
  4659. Debounces.NoIdl = true
  4660. --Debounces.on = true
  4661. slashing = true
  4662. for i = 1, 20 do
  4663. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2)
  4664. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2)
  4665. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2)
  4666. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2)
  4667. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  4668. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  4669. rs:wait(2)
  4670. end
  4671. for i = 1, 20 do
  4672. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3)
  4673. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3)
  4674. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3)
  4675. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3)
  4676. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  4677. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  4678. rs:wait(2)
  4679. end
  4680. for i = 1, 26 do
  4681. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35)
  4682. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35)
  4683. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35)
  4684. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35)
  4685. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  4686. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  4687. --cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35)
  4688. rs:wait(2)
  4689. end
  4690. --cor.Weld.C1 = CFrame.Angles(0,0,0)
  4691. slashing = false
  4692. if Debounces.CanAttack == false then
  4693. Debounces.CanAttack = true
  4694. Debounces.NoIdl = false
  4695. --Debounces.on = false
  4696. end
  4697. else
  4698. Debounces.CanAttack = false
  4699. Debounces.NoIdl = true
  4700. --Debounces.on = true
  4701.  
  4702.  
  4703. if Debounces.CanAttack == false then
  4704. Debounces.CanAttack = true
  4705. Debounces.NoIdl = false
  4706. --Debounces.on = false
  4707. end
  4708.  
  4709. end
  4710. else
  4711. if Debounces.CanAttack == true then
  4712. Debounces.CanAttack = false
  4713. Debounces.NoIdl = true
  4714. sslAttack1()
  4715. Debounces.CanAttack = true
  4716. Debounces.NoIdl = false
  4717. end
  4718. end
  4719. end
  4720. end
  4721. end)
  4722. -- Magic effects
  4723. local magic = {}
  4724. magic.grid = function(cff,x,y,z,col)
  4725. local prt = part(3, workspace, 0, 0, col, "Part", vt(1, 1, 1))
  4726. prt.Anchored = true
  4727. local xval = math.random()
  4728. local yval = math.random()
  4729. local zval = math.random()
  4730. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  4731. coroutine.resume(coroutine.create(function(Part, Mesh, Frame, xvaal, yvaal, zvaal)
  4732. Part.CFrame = Frame * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  4733. for i = 1, 8 do
  4734. wait()
  4735. xvaal = xvaal - 0.1
  4736. yvaal = yvaal - 0.1
  4737. zvaal = zvaal - 0.1
  4738. Mesh.Scale = vt(xvaal, yvaal, zvaal)
  4739. Part.Transparency = Part.Transparency + 0.09
  4740. end
  4741. Part.Parent = nil
  4742. end), prt, msh, cff, xval, yval, zval)
  4743. end
  4744. magic.stravant = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  4745. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4746. prt.Anchored = true
  4747. prt.CFrame = cframe * cf(x, y, z)
  4748. local msh = mesh("SpecialMesh", prt, "FileMesh", "168892363", vt(0, 0, 0), vt(x1, y1, z1))
  4749. game:GetService("Debris"):AddItem(prt, 5)
  4750. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  4751. local num = random()
  4752. local num2 = random(-3, 2) + random()
  4753. local numm = 0
  4754. for i = 0, 1, delay * 2 do
  4755. wait()
  4756. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  4757. Part.Transparency = i
  4758. numm = numm + 0.01
  4759. end
  4760. Part.Parent = nil
  4761. Mesh.Parent = nil
  4762. end), prt, msh, x, y, z)
  4763. end
  4764. magic.block = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  4765. local prt = part(3, parent or workspace, 0, 0, brickcolor, "Effect", vt())
  4766. prt.Anchored = true
  4767. prt.CFrame = cframe
  4768. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  4769. game:GetService("Debris"):AddItem(prt, 5)
  4770. if Type == 1 or Type == nil then
  4771. block1(prt, delay, x3, y3, z3, msh)
  4772. elseif Type == 2 then
  4773. block2(prt, delay, x3, y3, z3, msh)
  4774. end
  4775. end
  4776. -------------------------------
  4777.  
  4778.  
  4779.  
  4780. function attack1()
  4781. --con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  4782. slashing = true
  4783. Debounces.CanAttack = false
  4784. Debounces.NoIdl = true
  4785. --[[for i=0,1,0.2 do
  4786. swait()
  4787. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  4788. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4789. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  4790. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4791. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  4792. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  4793. end
  4794. for i=0,1,0.3 do
  4795. swait()
  4796. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  4797. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4798. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  4799. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4800. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  4801. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  4802. end
  4803. for i=0,1,0.2 do
  4804. swait()
  4805. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  4806. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4807. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  4808. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4809. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  4810. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  4811. end]]
  4812. for i=0,1,0.2 do
  4813. swait()
  4814. --[[
  4815. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4816. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4817. local h = 5
  4818. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4819. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4820. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4821. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4822. scfr = blcf
  4823. elseif not scfr then
  4824. scfr = blcf
  4825. end]]
  4826. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(-90),math.rad(-90))*angles(math.rad(90),0,math.rad(0)),.4)
  4827. end
  4828. for i=0,1,0.2 do
  4829. swait()
  4830. --[[local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4831. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4832. local h = 5
  4833. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  4834. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4835. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  4836. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4837. scfr = blcf
  4838. elseif not scfr then
  4839. scfr = blcf
  4840. end]]
  4841. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-100))*angles(math.rad(-75),0,math.rad(0)),.4)
  4842. --handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  4843. end
  4844. slashing = false
  4845. Debounces.CanAttack = true
  4846. Debounces.NoIdl = false
  4847. end
  4848.  
  4849. function attack2()
  4850. slashing = true
  4851. Debounces.CanAttack = false
  4852. Debounces.NoIdl = true
  4853. for i=0,1,0.2 do
  4854. swait()
  4855. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  4856. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4857. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  4858. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4859. end
  4860. for i=0,1,0.3 do
  4861. swait()
  4862. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  4863. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4864. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  4865. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4866. end
  4867. for i=0,1,0.2 do
  4868. swait()
  4869. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  4870. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4871. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  4872. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4873. end
  4874. slashing = false
  4875. Debounces.CanAttack = true
  4876. Debounces.NoIdl = false
  4877. end
  4878.  
  4879.  
  4880. function attack3()
  4881. slashing = true
  4882. Debounces.CanAttack = false
  4883. Debounces.NoIdl = true
  4884. for i = 0, 1, 0.16 do
  4885. swait()
  4886. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  4887. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(0, 1.3, 1.3), 0.4)
  4888. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(-0.6, 0, -0.5), 0.4)
  4889. end
  4890. coroutine.resume(coroutine.create(function()
  4891. for i = 0, 4, 0.2 do
  4892. swait()
  4893. rarm.Weld.C0 = clerp(rarm.Weld.C0, cf(0, 0, 0) * angles(math.rad(0 + 360 * i), math.rad(-60), math.rad(0)), 0.5)
  4894. end
  4895. end
  4896. ))
  4897. for i = 0, 1, 0.05 do
  4898. swait()
  4899. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  4900. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.4)
  4901. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(0.8, 0, -0.5), 0.4)
  4902. end
  4903. slashing = false
  4904. Debounces.CanAttack = true
  4905. Debounces.NoIdl = false
  4906. end
  4907. -------------------------------------
  4908.  
  4909. -------------------------------------
  4910. myVars[5] = "normal"
  4911.  
  4912. myVars[8] = 0
  4913. mouse.Button1Down:connect(function()
  4914. if rainbowHands == false then
  4915. if myVars[5] == "normal" then
  4916. if sword2 == true then
  4917. if myVars[1] ~= "att1" then
  4918. if myVars[2] ~= "att2" then
  4919. if Debounces.CanAttack == true then
  4920. myVars[1] = "att1"
  4921. attack1()
  4922. end
  4923.  
  4924. elseif myVars[2] == "att2" then
  4925. if Debounces.CanAttack == true then
  4926. myVars[1] = "none"
  4927. myVars[2] = "none"
  4928. attack3()
  4929. end
  4930. end
  4931. elseif myVars[2] ~= "att2" then
  4932. if Debounces.CanAttack == true then
  4933. myVars[1] = "none"
  4934. myVars[2] = "att2"
  4935. attack2()
  4936. end
  4937. end
  4938. end
  4939. elseif myVars[5] == "ssl3" then
  4940. if myVars[7] == true then
  4941. Debounces.CanAttack = false
  4942. Debounces.NoIdl = true
  4943. if myVars[8] == 0 then
  4944. vAttackOne()
  4945. myVars[8] = 1
  4946. Debounces.CanAttack = true
  4947. Debounces.NoIdl = false
  4948. return true
  4949. elseif myVars[8] == 1 then
  4950. vAttackTwo()
  4951. myVars[8] = 2
  4952. Debounces.CanAttack = true
  4953. Debounces.NoIdl = false
  4954. return true
  4955. elseif myVars[8] == 2 then
  4956. vAttackThree()
  4957. myVars[8] = 0
  4958. Debounces.CanAttack = true
  4959. Debounces.NoIdl = false
  4960. return true
  4961. end
  4962. end
  4963. elseif myVars[5] == "ssl3_1" then
  4964. if myVars[7] == true then
  4965. Debounces.CanAttack = false
  4966. Debounces.NoIdl = true
  4967. if myVars[8] == 0 then
  4968. vAttackOne()
  4969. myVars[8] = 1
  4970. Debounces.CanAttack = true
  4971. Debounces.NoIdl = false
  4972. return true
  4973. elseif myVars[8] == 1 then
  4974. vAttackTwo()
  4975. myVars[8] = 2
  4976. Debounces.CanAttack = true
  4977. Debounces.NoIdl = false
  4978. return true
  4979. elseif myVars[8] == 2 then
  4980. vAttackThree()
  4981. myVars[8] = 0
  4982. Debounces.CanAttack = true
  4983. Debounces.NoIdl = false
  4984. return true
  4985. end
  4986. end
  4987. end
  4988. end
  4989. end)
  4990.  
  4991. function testFunc()
  4992. for i = 0, 1, 0.1 do
  4993. swait()
  4994. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4995. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  4996. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  4997. end
  4998. for i = 0, 1, 0.13 do
  4999. swait()
  5000. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(-90), math.rad(0)), .3)
  5001. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.4) * angles(math.rad(120), math.rad(0), math.rad(10)), .3)
  5002. end
  5003. end
  5004.  
  5005. local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  5006. prref.Anchored = true
  5007. -------------------------------
  5008. local powerHand = false
  5009. local randPower = math.random(1,2)
  5010. mouse.KeyUp:connect(function(key)
  5011. if key == "t" then
  5012. if powerHand == false then
  5013. if Grab == true then
  5014. if Debounces.CanAttack == true then
  5015. Debounces.CanAttack = false
  5016. Debounces.on = true
  5017. Debounces.NoIdl = true
  5018. powerHand = true
  5019. for i = 1, 10 do
  5020. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  5021. wait(0.5)
  5022. end
  5023. getDiscoMan(humanoidR)
  5024. powerHand = false
  5025. Debounces.CanAttack = true
  5026. Debounces.on = false
  5027. Debounces.NoIdl = false
  5028. humanoidR = nil
  5029. end
  5030. else
  5031. if myVars[3] == "claw" then
  5032. if Debounces.CanAttack == true then
  5033. Debounces.CanAttack = false
  5034. Debounces.on = true
  5035. Debounces.NoIdl = true
  5036. bird()
  5037. Debounces.CanAttack = true
  5038. Debounces.on = false
  5039. Debounces.NoIdl = false
  5040. end
  5041. end
  5042.  
  5043. end
  5044. end
  5045. end
  5046. end)
  5047. mouse.KeyUp:connect(function(key)
  5048. if key == "x" then
  5049. if powerHand == false then
  5050. if Grab == true then
  5051. if Debounces.CanAttack == true then
  5052. Debounces.CanAttack = false
  5053. Debounces.on = true
  5054. Debounces.NoIdl = true
  5055. powerHand = true
  5056. for i = 1, 10 do
  5057. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  5058. wait(0.5)
  5059. end
  5060. getFreeze(humanoidR)
  5061. powerHand = false
  5062. Debounces.CanAttack = true
  5063. Debounces.on = false
  5064. Debounces.NoIdl = false
  5065. humanoidR = nil
  5066. end
  5067. end
  5068. end
  5069. end
  5070. end)
  5071.  
  5072. -------------------------------
  5073. mouse.KeyUp:connect(function(key)
  5074. if key == "r" then
  5075. if Charging == true then
  5076. Charging = false
  5077. pt:Destroy()
  5078. pt2:Destroy()
  5079. bl:Destroy()
  5080. if Debounces.CanAttack == false then
  5081. Debounces.CanAttack = true
  5082. Debounces.NoIdl = false
  5083. Debounces.on = false
  5084. end
  5085. end
  5086. end
  5087. end)
  5088.  
  5089. ----------------------------------------------------
  5090.  
  5091. function equipHands()
  5092. for i = 0, 1, 0.1 do
  5093. swait()
  5094. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5095. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  5096. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  5097.  
  5098. end
  5099. --CreateSound("http://roblox.com/asset/?id=346134880", Torso, 1, .9)
  5100. for i = 0, 1, 0.1 do
  5101. swait()
  5102. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5103. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(95)), .34)
  5104. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-120)), .34)
  5105.  
  5106. end
  5107. for i = 0, 1, 0.1 do
  5108. swait()
  5109. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5110. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(110)), .25)
  5111. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.5) * angles(math.rad(0), math.rad(-170), math.rad(-90)), .25)
  5112.  
  5113. end
  5114. for i = 0, 1, 0.1 do
  5115. swait()
  5116. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5117. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(120)), .34)
  5118. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-180), math.rad(-95)), .34)
  5119.  
  5120. end
  5121. end
  5122.  
  5123. function sslBurst1()
  5124. for i = 0, 1, 0.1 do
  5125. swait()
  5126. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5127. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2, 0.3, -.5) * angles(math.rad(0), math.rad(170), math.rad(90)), .25)
  5128. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-110)), .25)
  5129.  
  5130. end
  5131. colc = math.random(1,7)
  5132. local fx = Instance.new("Part",torso)
  5133. fx.Anchored = true
  5134. fx.Material = "Neon"
  5135. fx.CanCollide = false
  5136. fx.Locked = true
  5137. fx.Transparency = 1
  5138. fx.Material = "Neon"
  5139. fx.Size = Vector3.new(1,1,1)
  5140. fx.TopSurface = "SmoothNoOutlines"
  5141. fx.BottomSurface = "SmoothNoOutlines"
  5142. fx.BrickColor = Neonsc[colc]
  5143. fxm = Instance.new("SpecialMesh",fx)
  5144. fxm.MeshType = "Sphere"
  5145. fxm.Scale = Vector3.new(1,1,1)
  5146.  
  5147. for i = 1, 20 do
  5148. colc = math.random(1,7)
  5149. fx.BrickColor = Neonsc[colc]
  5150. fx.Transparency = fx.Transparency - (1/20)
  5151. fx.CFrame = torso.CFrame
  5152. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5153. wait(0.0000001)
  5154. end
  5155.  
  5156.  
  5157. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  5158. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  5159. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  5160. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  5161. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  5162. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  5163. ssl3Appear()
  5164.  
  5165. for i = 1, 20 do wait(0.0000001)
  5166. colc = math.random(1,7)
  5167. fx.BrickColor = Neonsc[colc]
  5168. fx.Transparency = fx.Transparency + (1/20)
  5169. fx.CFrame = torso.CFrame
  5170. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5171. end
  5172. end
  5173.  
  5174.  
  5175. ---------------SSL3-MODE-1-ATTACKS-START-------------------------
  5176. function trail(p,t,h)
  5177. Spawn(function()
  5178. local blcf = p.CFrame
  5179. local scfr = blcf
  5180. for i=1,t do
  5181. local blcf = p.CFrame
  5182. if scfr and (p.Position-scfr.p).magnitude > .1 then
  5183. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  5184. if a then game.Debris:AddItem(a,1) end
  5185. if b then game.Debris:AddItem(b,1) end
  5186. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  5187. if a then game.Debris:AddItem(a,1) end
  5188. if b then game.Debris:AddItem(b,1) end
  5189. scfr = blcf
  5190. elseif not scfr then
  5191. scfr = blcf
  5192. end
  5193. game:service'RunService'.RenderStepped:wait()
  5194. end
  5195. scfr=nil
  5196. end)
  5197. end
  5198. function lBeam1()
  5199. function partypoison(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  5200. local fp=Instance.new("Part")
  5201. fp.formFactor=formfactor
  5202. fp.Parent=parent
  5203. fp.Reflectance=reflectance
  5204. fp.Transparency=transparency
  5205. fp.CanCollide=false
  5206. fp.Locked=true
  5207. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  5208. fp.Name=name
  5209. fp.Size=size
  5210. fp.Position=Character.Torso.Position
  5211. nooutline(fp)
  5212. fp.Material=material
  5213. fp:BreakJoints()
  5214. return fp
  5215. end
  5216. function meshypoison(Mesh,part,meshtype,meshid,offset,scale)
  5217. local mesh=Instance.new(Mesh)
  5218. mesh.Parent=part
  5219. if Mesh=="SpecialMesh" then
  5220. mesh.MeshType=meshtype
  5221. mesh.MeshId=meshid
  5222. end
  5223. mesh.Offset=offset
  5224. mesh.Scale=scale
  5225. return mesh
  5226. end
  5227.  
  5228. function weldypoison(parent,part0,part1,c0,c1)
  5229. local weld=Instance.new("Weld")
  5230. weld.Parent=parent
  5231. weld.Part0=part0
  5232. weld.Part1=part1
  5233. weld.C0=c0
  5234. weld.C1=c1
  5235. return weld
  5236. end
  5237. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  5238. local prt = partypoison(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  5239. prt.Anchored = true
  5240. prt.CFrame = cframe
  5241. prt.Material = "Neon"
  5242. local msh = meshypoison("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  5243. game:GetService("Debris"):AddItem(prt, 2)
  5244. coroutine.resume(coroutine.create(function(Part, Mesh)
  5245. for i = 0, 1, delay do
  5246. swait()
  5247. Part.CFrame = Part.CFrame
  5248. Part.Transparency = i
  5249. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  5250. end
  5251. Part.Parent = nil
  5252. end), prt, msh)
  5253. end
  5254. for i=0,1,0.2 do
  5255. swait()
  5256. Shockwave(BrickColor.new("Lime green"),CFrame.new(rarm.Position),1,1,1,1,1,1,0.075)
  5257. end
  5258. end
  5259.  
  5260. function Bash()
  5261.  
  5262. function MagicWaveBASH(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5263. local prt=part(3,F2,0,0,brickcolor,"Effect",vt())
  5264. prt.Anchored=true
  5265. prt.CFrame=cframe
  5266. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  5267. game:GetService("Debris"):AddItem(prt,5)
  5268. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  5269. end
  5270.  
  5271.  
  5272.  
  5273. for i=0,1,0.1 do
  5274. swait()
  5275. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  5276. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  5277. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  5278. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  5279. end
  5280. torso.Velocity=RootPart.CFrame.lookVector*600
  5281. MagicWave(Color4,RootPart.CFrame*euler(1.57,0,0),1,1,1,1,1,1,0.05)
  5282. torso.Velocity=RootPart.CFrame.lookVector*0
  5283. for i=0,1,0.1 do
  5284. swait()
  5285. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  5286. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  5287. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  5288. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  5289. end
  5290. for i=0,1,0.2 do
  5291. swait()
  5292. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  5293. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  5294. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  5295. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  5296. end
  5297. local ref=part(3,workspace,0,1,BrickColor.new("Dark indigo"),"Effect",vt())
  5298. ref.Anchored=true
  5299. ref.CFrame=cf(pos)
  5300. game:GetService("Debris"):AddItem(ref,3)
  5301.  
  5302. MagicWaveBASH(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7,0.05)
  5303. MagniDamage(ref,10,40,80,math.random(100,600),"Up")
  5304. swait(10)
  5305. print("Bash_1 ran.")
  5306. end
  5307.  
  5308. vAttackOne = function()
  5309. local RbxUtility = LoadLibrary("RbxUtility")
  5310. local Create = RbxUtility.Create
  5311.  
  5312.  
  5313.  
  5314. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  5315. for i, v in pairs(hit:GetChildren()) do
  5316. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  5317. local find = v:FindFirstChild("DebounceHit")
  5318. if not find then
  5319. if v.Parent:findFirstChild("Head") then
  5320. local BillG = Create("BillboardGui"){
  5321. Parent = v.Parent.Head,
  5322. Size = UDim2.new(1, 0, 1, 0),
  5323. Adornee = v.Parent.Head,
  5324. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  5325. }
  5326. local TL = Create("TextLabel"){
  5327. Parent = BillG,
  5328. Size = UDim2.new(3, 3, 3, 3),
  5329. BackgroundTransparency = 1,
  5330. Text = tostring(damage).."-",
  5331. TextColor3 = Color1.Color,
  5332. TextStrokeColor3 = Color2.Color,
  5333. TextStrokeTransparency = 0,
  5334. TextXAlignment = Enum.TextXAlignment.Center,
  5335. TextYAlignment = Enum.TextYAlignment.Center,
  5336. FontSize = Enum.FontSize.Size18,
  5337. Font = "ArialBold",
  5338. }
  5339. coroutine.resume(coroutine.create(function()
  5340. swait(1)
  5341. for i = 0, 1, .1 do
  5342. swait(.1)
  5343. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  5344. end
  5345. BillG:Destroy()
  5346. end))
  5347. end
  5348. v.Health = v.Health - damage
  5349. local bool = Create("BoolValue"){
  5350. Parent = v,
  5351. Name = "DebounceHit",
  5352. }
  5353. game:GetService("Debris"):AddItem(bool, cooldown)
  5354. end
  5355. end
  5356. end
  5357. end
  5358. if myVars[5] == "ssl3" then
  5359. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5360. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5361. end)
  5362. for i = 1, 10 do
  5363. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.6, 0.9, -0.62)*CFrame.Angles(math.rad(170),math.rad(20),math.rad(-60)), 0.56)
  5364. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2)*CFrame.Angles(math.rad(-30),math.rad(-10),math.rad(-20)), 0.5)
  5365. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(10),math.rad(-46),0), 0.47)
  5366. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-8), math.rad(46), 0), 0.55)
  5367. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(-10)), 0.43)
  5368. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(-20), math.rad(10)), 0.43)
  5369. rs:wait()
  5370. end
  5371.  
  5372. for i = 1, 10 do
  5373. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, .3)*CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(50)), 0.67)
  5374. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, 0.7, -0.3)*CFrame.Angles(math.rad(80),math.rad(-10),math.rad(-20)), 0.58)
  5375. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(40),0), 0.54)
  5376. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.66)
  5377. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(20), math.rad(-10)), 0.5)
  5378. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10)), 0.5)
  5379. rs:wait()
  5380. end
  5381. Con1:disconnect()
  5382. elseif myVars[5] == "ssl3_1" then
  5383. print("RUN_SSL31")
  5384. myVars[11].Parent=myVars[10]
  5385. myVars[11].Size=vt(1,6,1)
  5386. myVars[11].Transparency=1
  5387. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5388. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5389. for i=0,1,0.1 do
  5390. swait()
  5391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-1),.3)
  5392. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.3,0,.5),.3)
  5393. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(.7,0,-0.7),.3)
  5394. end
  5395. for i=0,1,0.08 do
  5396. swait()
  5397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,1),.3)
  5398. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-0.5,1)*euler(1.3,0,-1.7),.3)
  5399. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5400. end
  5401. con1:disconnect()
  5402. end
  5403. end
  5404.  
  5405. vAttackTwo = function()
  5406.  
  5407. if myVars[5] == "ssl3" then
  5408. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5409. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5410. end)
  5411. for i = 1, 5 do
  5412. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.25, 0.9, 0)*CFrame.Angles(math.rad(170),math.rad(20),math.rad(60)), 0.8)
  5413. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0.17)*CFrame.Angles(math.rad(-30),math.rad(-10),math.rad(-20)), 0.8)
  5414. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(-10),math.rad(46),0), 0.8)
  5415. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(8), math.rad(-46), 0), 0.8)
  5416. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(20), math.rad(-10)), 0.8)
  5417. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(-20), math.rad(10)), 0.8)
  5418. --if Debounces.on == false then break end
  5419. rs:wait()
  5420. end
  5421. for i = 1, 10 do
  5422. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8, 0.5, -0.35)*CFrame.Angles(math.rad(0),math.rad(-15),math.rad(-50)), 0.77)
  5423. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4, 0.6, -0.35)*CFrame.Angles(math.rad(-50),math.rad(10),math.rad(-20)), 0.58)
  5424. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.54)
  5425. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-9), math.rad(40), 0), 0.66)
  5426. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(12), math.rad(20), math.rad(-10)), 0.5)
  5427. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-20), math.rad(10)), 0.5)
  5428. rs:wait()
  5429. end
  5430. Con1:disconnect()
  5431. elseif myVars[5] == "ssl3_1" then
  5432. myVars[11].Parent=myVars[10]
  5433. myVars[11].Size=vt(1,6,1)
  5434. myVars[11].Transparency=1
  5435. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5436. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5437. for i=0,1,0.1 do
  5438. swait()
  5439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,1.2),.3)
  5440. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.2,.6)*euler(1.1,0,-1.7),.3)
  5441. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5442. end
  5443. for i=0,1,0.1 do
  5444. swait()
  5445. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,-0.8),.3)
  5446. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-.8,.6)*euler(0.5,0,.5),.3)
  5447. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5448. end
  5449. con1:disconnect()
  5450. end
  5451. end
  5452.  
  5453.  
  5454.  
  5455. vAttackThree = function()
  5456. if myVars[5] == "ssl3" then
  5457. for i = 1, 10 do
  5458. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.95, 1.1, -0.15)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-50)), 0.63)
  5459. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.95, 1.1, -0.15)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(50)), 0.63)
  5460. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0.1)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.54)
  5461. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.66)
  5462. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.5)
  5463. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5464.  
  5465. rs:wait()
  5466. end
  5467. for i = 1, 10 do
  5468. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(20), 0, math.rad(40)), 0.7)
  5469. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(20), 0, math.rad(-40)), 0.7)
  5470. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), 0, 0), 0.7)
  5471. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.7)
  5472. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  5473. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  5474. rs:wait()
  5475. end
  5476. MagniDamageo(myVars[6].Hitbox,myVars[6].Hitbox,20,20,30,0,"Knockdown")
  5477. local hit,pos=rayCast(myVars[6].Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  5478. if hit~=nil then
  5479. print("test1")
  5480. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  5481. print("test2")
  5482. ref2.Anchored=true
  5483. print("test3")
  5484. ref2.CFrame=cf(pos)
  5485. print("test4")
  5486. game:GetService("Debris"):AddItem(ref2,3)
  5487. print("test5")
  5488.  
  5489. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5490. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5491. end)
  5492. for i=1,10 do
  5493. local Col=Neonsc[colc]
  5494. colc = math.random(1,7)
  5495. local groundpart=parto(3,workspace,"Neon",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  5496. groundpart.Anchored=true
  5497. groundpart.CanCollide=false
  5498. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  5499. game:GetService("Debris"):AddItem(groundpart,5)
  5500. end
  5501. colc = math.random(1,7)
  5502. BlastEffect(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7)
  5503. colc = math.random(1,7)
  5504. MagicCircleo(Neonsc[colc],cf(pos),3,3,3,5,5,5,0.05)
  5505. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  5506. Con1:disconnect()
  5507. end
  5508. else
  5509.  
  5510. myVars[11].Parent=myVars[10]
  5511. myVars[11].Size=vt(1,6,1)
  5512. myVars[11].Transparency=1
  5513. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5514. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5515. for i=0,1,0.1 do
  5516. swait()
  5517. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.1,0,-0.2),.3)
  5518. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2.9,-1.8,0)*euler(.5,0,0),.3)
  5519. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  5520. end
  5521. for i=0,1,0.15 do
  5522. swait()
  5523. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,0.6),.4)
  5524. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.55,-1.5,0)*euler(.3,0,0),.4)
  5525. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.4)
  5526. end
  5527. con1:disconnect()
  5528. end
  5529. end
  5530.  
  5531.  
  5532.  
  5533.  
  5534. ---------------SSL3-MODE-1-ATTACKS-END-------------------------
  5535.  
  5536. --------------SSL3-WEAPONS-START-------------------------------
  5537. function ssl3()
  5538.  
  5539. --[[for i=0.1, 1, 0.1 do
  5540. print("anim1")
  5541. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  5542. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  5543. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  5544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  5545. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  5546. end
  5547. wait(1)
  5548. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  5549. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  5550. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  5551. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  5552. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  5553. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  5554.  
  5555. colc = math.random(1,7)
  5556. local fx = Instance.new("Part",torso)
  5557. fx.Anchored = true
  5558. fx.Material = "Neon"
  5559. fx.CanCollide = false
  5560. fx.Locked = true
  5561. fx.Transparency = 1
  5562. fx.Material = "Neon"
  5563. fx.Size = Vector3.new(1,1,1)
  5564. fx.TopSurface = "SmoothNoOutlines"
  5565. fx.BottomSurface = "SmoothNoOutlines"
  5566. fx.BrickColor = Neonsc[colc]
  5567. fxm = Instance.new("SpecialMesh",fx)
  5568. fxm.MeshType = "Sphere"
  5569. fxm.Scale = Vector3.new(1,1,1)
  5570.  
  5571. for i = 1, 20 do
  5572. colc = math.random(1,7)
  5573. fx.BrickColor = Neonsc[colc]
  5574. fx.Transparency = fx.Transparency - (1/20)
  5575. fx.CFrame = torso.CFrame
  5576. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5577. wait(0.0000001)
  5578. end
  5579.  
  5580.  
  5581. if char.Hair ~= nil then
  5582. for i,v in pairs(char:children()) do
  5583. if v == char.Hair then
  5584. v:Destroy()
  5585. break
  5586. end
  5587. end
  5588. end
  5589. for i = 1, 20 do wait(0.0000001)
  5590. colc = math.random(1,7)
  5591. fx.BrickColor = Neonsc[colc]
  5592. fx.Transparency = fx.Transparency + (1/20)
  5593. fx.CFrame = torso.CFrame
  5594. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5595. end]]
  5596.  
  5597. local num = 0
  5598. for i=0,1,0.1 do
  5599. swait()
  5600. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  5601. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  5602. end
  5603. for i=0,1,0.1 do
  5604. swait()
  5605. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  5606. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,0),.3)
  5607. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1,0.5,-0.5)*euler(1.4,-1.57,0)*euler(1.2,0,0),.3)
  5608. end
  5609. for i=0.1, 1, 0.1 do
  5610. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2)
  5611. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6)
  5612. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  5613. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  5614. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  5615. end
  5616. num=0
  5617. for i=0,1,0.01 do
  5618. swait()
  5619. if num>=10 then
  5620. num=0
  5621. colc = math.random(1, 7)
  5622. MagicWave(Neonsc[colc],cf(torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05)
  5623. end
  5624. for i=1,2 do
  5625. if math.random(1,5)==1 then
  5626. colc = math.random(1, 7)
  5627. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  5628. else
  5629. colc = math.random(1, 7)
  5630. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(math.random(-100,100)/100,-math.random(0,700)/100,math.random(-100,100)/100),math.random(30,80)/100,math.random(30,80)/100,math.random(30,80)/100,.5,.5,.5,0.05)
  5631. end
  5632. end
  5633. num=num+1
  5634. end
  5635. for i=1,4 do
  5636. colc = math.random(1, 7)
  5637. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(0,-.5-math.random(0,500)/100,0),2,2,2,.5,.5,.5,0.05)
  5638. end
  5639. colc = math.random(1, 7)
  5640. MagicWave(Neonsc[colc],cf(torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,.5,.3,.5,0.01)
  5641. --[[model2.Parent=Character
  5642. for i=1,#DBlade do
  5643. DBlade[i].Parent=model2
  5644. DBladeWelds[i].Parent=DBlade[1]
  5645. end]]
  5646. for i=0,1,0.1 do
  5647. swait()
  5648. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.4),.3)
  5649. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.2,-0.5,1),.3)
  5650. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1.4,0.5,-1.3),.3)
  5651. end
  5652. swait(10)
  5653. colc = math.random(1,7)
  5654. local fx = Instance.new("Part",torso)
  5655. fx.Anchored = true
  5656. fx.Material = "Neon"
  5657. fx.CanCollide = false
  5658. fx.Locked = true
  5659. fx.Transparency = 1
  5660. fx.Material = "Neon"
  5661. fx.Size = Vector3.new(1,1,1)
  5662. fx.TopSurface = "SmoothNoOutlines"
  5663. fx.BottomSurface = "SmoothNoOutlines"
  5664. fx.BrickColor = Neonsc[colc]
  5665. fxm = Instance.new("SpecialMesh",fx)
  5666. fxm.MeshType = "Sphere"
  5667. fxm.Scale = Vector3.new(1,1,1)
  5668.  
  5669. for i = 1, 20 do
  5670. colc = math.random(1,7)
  5671. fx.BrickColor = Neonsc[colc]
  5672. fx.Transparency = fx.Transparency - (1/20)
  5673. fx.CFrame = torso.CFrame
  5674. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5675. wait(0.0000000001)
  5676. end
  5677.  
  5678.  
  5679. if char.Hair ~= nil then
  5680. for i,v in pairs(char:children()) do
  5681. if v == char.Hair then
  5682. v:Destroy()
  5683. break
  5684. end
  5685. end
  5686. end
  5687. for i = 1, 20 do wait(0.0000001)
  5688. colc = math.random(1,7)
  5689. fx.BrickColor = Neonsc[colc]
  5690. fx.Transparency = fx.Transparency + (1/20)
  5691. fx.CFrame = torso.CFrame
  5692. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5693. end
  5694. end
  5695.  
  5696. function ssl3Appear()
  5697.  
  5698. if myVars[5] == "ssl3_1" then
  5699. print("ssl3RAN")
  5700.  
  5701. function part_1(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5702. local fp=it("Part")
  5703. fp.formFactor=formfactor
  5704. fp.Parent=parent
  5705. fp.Reflectance=reflectance
  5706. fp.Transparency=1
  5707. fp.CanCollide=false
  5708. fp.Locked=true
  5709. fp.BrickColor=brickcolor
  5710. fp.Name=name
  5711. fp.Size=size
  5712. fp.Position=Torso.Position
  5713. NoOutline(fp)
  5714. fp.Material="Neon"
  5715. fp:BreakJoints()
  5716. return fp
  5717. end
  5718.  
  5719. function mesh_1(Mesh,part,meshtype,meshid,offset,scale)
  5720. local mesh=it(Mesh)
  5721. mesh.Parent=part
  5722. if Mesh=="SpecialMesh" then
  5723. mesh.MeshType=meshtype
  5724. mesh.MeshId=meshid
  5725. end
  5726. mesh.Offset=offset
  5727. mesh.Scale=scale
  5728. return mesh
  5729. end
  5730.  
  5731. function weld_1(parent,part0,part1,c0)
  5732. local weld=it("Weld")
  5733. weld.Parent=parent
  5734. weld.Part0=part0
  5735. weld.Part1=part1
  5736. weld.C0=c0
  5737. return weld
  5738. end
  5739. local model2=Instance.new("Model")
  5740. model2.Parent=nil
  5741. model2.Name="Demon Blade"
  5742. DBlade={}
  5743. DBladeWelds={}
  5744.  
  5745. colc = math.random(1, 7)
  5746. prtd1=part_1(3,model2,0,0.4,Neons[colc],"DPart1",vt())
  5747. colc = math.random(1, 7)
  5748. prtd2=part_1(3,model2,0,0,Neons[colc],"DPart2",vt())
  5749. prtd3=part_1(3,model2,0,0,Neons[colc],"DPart3",vt())
  5750. colc = math.random(1, 7)
  5751. prtd4=part_1(3,model2,0,0,Neons[colc],"DPart4",vt())
  5752. prtd5=part_1(3,model2,0,0,Neons[colc],"DPart5",vt())
  5753. colc = math.random(1, 7)
  5754. prtd6=part_1(3,model2,0,0,Neons[colc],"DPart6",vt())
  5755. prtd7=part_1(3,model2,0.8,0,Neons[colc],"DPart7",vt())
  5756. prtd8=part_1(3,model2,0.8,0,Neons[colc],"DPart8",vt())
  5757. colc = math.random(1, 7)
  5758. prtd9=part_1(3,model2,0.5,0.2,Neons[colc],"DPart9",vt())
  5759. prtd10=part_1(3,model2,0.5,0.2,Neons[colc],"DPart10",vt())
  5760. prtd11=part_1(3,model2,0.5,0,Neons[colc],"DPart11",vt())
  5761. colc = math.random(1, 7)
  5762. prtd12=part_1(3,model2,0,0,Neons[colc],"DPart12",vt())
  5763. for _,c in pairs(model2:children()) do
  5764. if c.className=="Part" then
  5765. table.insert(DBlade,c)
  5766. print(c)
  5767. end
  5768. end
  5769.  
  5770.  
  5771.  
  5772. mshd1=mesh_1("BlockMesh",prtd1,"","",vt(0,0,0),vt(5.01,3,5.01))
  5773. mshd2=mesh_1("BlockMesh",prtd2,"","",vt(0,0,0),vt(5.1,3,5.1))
  5774. mshd3=mesh_1("SpecialMesh",prtd3,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  5775. mshd4=mesh_1("SpecialMesh",prtd4,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  5776. mshd5=mesh_1("SpecialMesh",prtd5,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  5777. mshd6=mesh_1("SpecialMesh",prtd6,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  5778. mshd7=mesh_1("BlockMesh",prtd7,"","",vt(0,0,0),vt(3,20,1))
  5779. mshd8=mesh_1("SpecialMesh",prtd8,"Wedge","",vt(0,0,0),vt(1,3,5))
  5780. mshd9=mesh_1("BlockMesh",prtd9,"","",vt(0,0,0),vt(4.5,20,.1))
  5781. mshd10=mesh_1("SpecialMesh",prtd10,"Wedge","",vt(0,0,0),vt(.1,4.5,8))
  5782. mshd11=mesh_1("CylinderMesh",prtd11,"","",vt(0,0,0),vt(4,5.8,4))
  5783. mshd12=mesh_1("CylinderMesh",prtd12,"","",vt(0,0,0),vt(3,5.9,3))
  5784.  
  5785.  
  5786. wldd1=weld_1(prtd1,prtd1,RightArm,euler(0,0,0)*cf(0,.21,0))
  5787. wldd2=weld_1(prtd1,prtd2,prtd1,euler(0,0,0)*cf(0,.5,0))
  5788. wldd3=weld_1(prtd1,prtd3,prtd2,euler(0,1.57,0)*cf(.21,-.6,0))
  5789. wldd4=weld_1(prtd1,prtd4,prtd2,euler(0,-1.57,0)*cf(-.21,-.6,0))
  5790. wldd5=weld_1(prtd1,prtd5,prtd2,euler(0,-1.57,0)*cf(.1,-.1,0))
  5791. wldd6=weld_1(prtd1,prtd6,prtd5,euler(0,0,3.14)*cf(0,1.2,0))
  5792. wldd7=weld_1(prtd1,prtd7,prtd2,euler(0,0,0)*cf(0,2.5,0))
  5793. wldd8=weld_1(prtd1,prtd8,prtd7,euler(1.57,1.57,0)*cf(0,2.5,0))
  5794. wldd9=weld_1(prtd1,prtd9,prtd7,euler(0,0,0)*cf(0,0,0))
  5795. wldd10=weld_1(prtd1,prtd10,prtd8,euler(0,0,0)*cf(0,0,0.3))
  5796. wldd11=weld_1(prtd1,prtd11,prtd1,euler(1.57,0,0)*cf(0,1,0))
  5797. wldd12=weld_1(prtd1,prtd12,prtd11,euler(0,0,0)*cf(0,0,0))
  5798. for _,c in pairs(prtd1:children()) do
  5799. if c.className=="Weld" then
  5800. table.insert(DBladeWelds,c)
  5801. print(c)
  5802. end
  5803. end
  5804.  
  5805. local hitbox2=part_1(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  5806.  
  5807. model2.Parent=char
  5808. for i=1,#DBlade do
  5809. DBlade[i].Parent=model2
  5810. DBladeWelds[i].Parent=DBlade[1]
  5811. end
  5812. myVars[10] = model2
  5813. myVars[11] = hitbox2
  5814.  
  5815. for i = 1, 10 do wait()
  5816. for i,v in pairs(myVars[10]:GetChildren()) do
  5817. if v:IsA("Part") or v:IsA("WedgePart") then
  5818. if v.Name ~= "HitBox" then
  5819. v.Transparency = v.Transparency - 0.1
  5820. end
  5821. end
  5822. end
  5823. end
  5824. --[[local mei = Instance.new('Model', char)
  5825. mei.Name = "WeaponModel"
  5826.  
  5827. local RbxUtility = LoadLibrary("RbxUtility")
  5828. local Create = RbxUtility.Create
  5829.  
  5830.  
  5831. function RemoveOutlines(part)
  5832. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  5833. end
  5834.  
  5835. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  5836. local Part = Create("Part"){
  5837. Parent = Parent,
  5838. Reflectance = Reflectance,
  5839. Transparency = 1,
  5840. CanCollide = false,
  5841. Locked = true,
  5842. BrickColor = BrickColor.new(tostring(BColor)),
  5843. Name = Name,
  5844. Size = Size,
  5845. Material = Material,
  5846. }
  5847. RemoveOutlines(Part)
  5848. return Part
  5849. end
  5850.  
  5851. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  5852. local Msh = Create(Mesh){
  5853. Parent = Part,
  5854. Offset = OffSet,
  5855. Scale = Scale,
  5856. }
  5857. if Mesh == "SpecialMesh" then
  5858. Msh.MeshType = MeshType
  5859. Msh.MeshId = MeshId
  5860. end
  5861. return Msh
  5862. end
  5863.  
  5864. function CreateWeld(Parent, Part0, Part1, C0, C1)
  5865. local Weld = Create("Weld"){
  5866. Parent = Parent,
  5867. Part0 = Part0,
  5868. Part1 = Part1,
  5869. C0 = C0,
  5870. C1 = C1,
  5871. }
  5872. return Weld
  5873. end
  5874.  
  5875.  
  5876.  
  5877. HandleL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleL", Vector3.new(1, 2, 1.01999998))
  5878. colc = math.random(1,7)
  5879. HandleLWeld = CreateWeld(mei, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00849914551, 0.00999999046, 6.77108765e-005, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  5880. EffectPrt1 = CreatePart(mei, Enum.Material.Neon, 0, 0.30000001192093, "Really black", "EffectPrt1", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  5881. EffectPrt1Weld = CreateWeld(mei, HandleL, EffectPrt1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00999355316, -0.499996185, -0.509780884, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  5882. CreateMesh("SpecialMesh", EffectPrt1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5883. EffectPrt2 = CreatePart(mei, Enum.Material.Neon, 0.30000001192093, 0, myVars[6][colc], "EffectPrt2", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  5884. colc = math.random(1,7)
  5885. EffectPrt2Weld = CreateWeld(mei, HandleL, EffectPrt2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0100440979, 0.499996185, 0.509773254, 4.06801701e-005, 8.90720813e-008, 1, 2.13165718e-014, -1, 8.90720813e-008, 1, -3.60215091e-012, -4.06801701e-005))
  5886. CreateMesh("SpecialMesh", EffectPrt2, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=18430887", Vector3.new(0, 0, 0), Vector3.new(0.379999906, 0.399999678, 2.21999955))
  5887. HitboxL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxL", Vector3.new(1.20000005, 1.39999998, 1.01999998))
  5888. colc = math.random(1,7)
  5889. HitboxLWeld = CreateWeld(mei, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999908447, 0.699999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  5890. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5891. colc = math.random(1,7)
  5892. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.12071991, 0.312129974, -0.409996033, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  5893. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  5894. colc = math.random(1,7)
  5895. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354278564, 0.31212616, 0, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  5896. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  5897. colc = math.random(1,7)
  5898. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.200004578, 0.899998903, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  5899. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5900. colc = math.random(1,7)
  5901. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.12071991, 0.312129974, 0.410003662, 0.965925872, 0.258819103, 0, -0.258819103, 0.965925872, 0, 0, 0, 1))
  5902. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 1.20000005, 1.00999999))
  5903. colc = math.random(1,7)
  5904. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.409751892, -0.412899256, 0.00154209137, -1, -5.71118512e-008, 0, -5.71118512e-008, 1, 1.6609139e-008, -9.48578645e-016, 1.6609139e-008, -1))
  5905. Part = CreatePart(mei, Enum.Material.Neon, 0, 0.19999998807907, "Really black", "Part", Vector3.new(0.400000036, 0.400000036, 0.400000006))
  5906. PartWeld = CreateWeld(mei, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0105276108, -0.491856098, -0.509765625, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  5907. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5908. ThunderHoleL = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleL", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  5909. ThunderHoleLWeld = CreateWeld(mei, HandleL, ThunderHoleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.699999809, -0.000227928162, 0.228645325, 0, -1, 0, 0, 0, -1, 1, -0, 0))
  5910. CreateMesh("CylinderMesh", ThunderHoleL, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5911. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5912. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21999836, 0.600001812, 0.62865448, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  5913. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5914. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5915. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.232361794, 0.0286483765, 1.10000181, -5.96046448e-008, 1.07931243e-007, 1, 1, 5.49689858e-008, 5.96046412e-008, -5.49689787e-008, 1, -1.07931243e-007))
  5916. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5917. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5918. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21999836, -0.528648376, 1.10000181, 0, 0, -1, -1, -5.96046377e-008, 0, -5.96046377e-008, 1, 0))
  5919. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5920. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5921. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.21999836, 0.0286483765, 1.10000181, -5.96046448e-008, 1.07931243e-007, 1, 1, 5.49689858e-008, 5.96046412e-008, -5.49689787e-008, 1, -1.07931243e-007))
  5922. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5923. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 1.80999994, 0.619999945))
  5924. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.104995966, -0.199783325, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  5925. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5926. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  5927. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.494999886, -0.018661499, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  5928. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5929. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5930. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232361794, 0.600001812, 0.62865448, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  5931. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5932. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5933. WedgeWeld = CreateWeld(mei, HandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232361794, -0.528648376, 1.10000181, 0, 0, -1, -1, -5.96046377e-008, 0, -5.96046377e-008, 1, 0))
  5934. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5935. HandleR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleR", Vector3.new(1, 2, 1.01999998))
  5936. colc = math.random(1,7)
  5937. HandleRWeld = CreateWeld(mei, char["Right Arm"], HandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00468444824, 0.0100209713, -0.00353145599, -1, -5.71118512e-008, 0, -5.71118512e-008, 1, 1.6609139e-008, -9.48578645e-016, 1.6609139e-008, -1))
  5938. Barrel1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel1", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  5939. colc = math.random(1,7)
  5940. Barrel1Weld = CreateWeld(mei, HandleR, Barrel1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299865723, 0.599565029, 0.718658447, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  5941. CreateMesh("SpecialMesh", Barrel1, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5942. Barrel2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel2", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  5943. colc = math.random(1,7)
  5944. Barrel2Weld = CreateWeld(mei, HandleR, Barrel2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.300126076, 0.599565029, 0.718658447, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  5945. CreateMesh("SpecialMesh", Barrel2, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5946. Choke1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke1", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  5947. colc = math.random(1,7)
  5948. Choke1Weld = CreateWeld(mei, HandleR, Choke1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.297118187, 1.39956522, 0.718673706, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  5949. CreateMesh("SpecialMesh", Choke1, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5950. Choke2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke2", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  5951. colc = math.random(1,7)
  5952. Choke2Weld = CreateWeld(mei, HandleR, Choke2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.303283691, 1.3995651, 0.718673706, -1.49011612e-007, -6.73397207e-015, -1, 0, 1, -7.10542736e-015, 1, 0, -1.49011612e-007))
  5953. CreateMesh("SpecialMesh", Choke2, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5954. HitboxR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxR", Vector3.new(1.20000005, 0.99999994, 1.01999998))
  5955. colc = math.random(1,7)
  5956. HitboxRWeld = CreateWeld(mei, HandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.100006104, 0.700003862, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  5957. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5958. colc = math.random(1,7)
  5959. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120735168, 0.312120438, 0.40998745, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  5960. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.400000006, 0.819999993, 1.01999998))
  5961. colc = math.random(1,7)
  5962. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.718658447, -0.4104321, -1.43051147e-005, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  5963. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  5964. colc = math.random(1,7)
  5965. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, 0.900001049, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  5966. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999996, 2.01999998, 1.01999998))
  5967. colc = math.random(1,7)
  5968. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.313659668, -0.00999617577, 0, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  5969. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5970. colc = math.random(1,7)
  5971. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.120735168, 0.312120438, -0.410010338, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  5972. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999967, 0.200000003, 1.01999998))
  5973. colc = math.random(1,7)
  5974. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0863342285, -0.919991493, -3.05175781e-005, 1, 0, 0, 0, 1, 5.41750795e-023, 0, 5.41750795e-023, 1))
  5975. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  5976. colc = math.random(1,7)
  5977. PartWeld = CreateWeld(mei, HandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354248047, 0.312124252, -1.43051147e-005, 0.965925872, 0.258819222, -5.53058896e-008, -0.258819222, 0.965925872, 3.094436e-008, 6.14303701e-008, -1.55757274e-008, 1))
  5978. ThunderHoleR = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleR", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  5979. ThunderHoleRWeld = CreateWeld(mei, HandleR, ThunderHoleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.700005054, -0.000213623047, 0.228675842, -1.0658141e-014, -1, -1.0658141e-014, 9.48578222e-016, 1.0658141e-014, -1, 1, -1.0658141e-014, 9.48578116e-016))
  5980. CreateMesh("CylinderMesh", ThunderHoleR, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5981. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5982. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232376099, 0.600004911, 0.628646851, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  5983. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5984. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5985. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.219985962, 0.0286712646, 1.10000277, -3.12924385e-007, 1.07931264e-007, 1, 1, 5.49689787e-008, 3.12924385e-007, -5.49689467e-008, 1, -1.07931285e-007))
  5986. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5987. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5988. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.232376099, -0.528656006, 1.100003, 9.48580657e-016, -3.19744231e-014, -1, -1, -5.9604659e-008, -9.48578539e-016, -5.9604659e-008, 1, -3.19744231e-014))
  5989. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5990. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  5991. colc = math.random(1,7)
  5992. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.43051147e-005, -0.920844555, 0.718658447, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  5993. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5994. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  5995. colc = math.random(1,7)
  5996. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.495002031, -0.0186691284, -9.48580657e-016, 3.19744231e-014, 1, 0, 1, -3.19744231e-014, -1, 0, -9.48580551e-016))
  5997. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5998. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5999. colc = math.random(1,7)
  6000. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.232390404, 0.0286712646, 1.100003, -3.12924385e-007, 1.07931264e-007, 1, 1, 5.49689787e-008, 3.12924385e-007, -5.49689467e-008, 1, -1.07931285e-007))
  6001. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6002. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  6003. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.219985962, -0.528671265, 1.100003, 9.48580657e-016, -3.19744231e-014, -1, -1, -5.9604659e-008, -9.48578539e-016, -5.9604659e-008, 1, -3.19744231e-014))
  6004. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6005. colc = math.random(1,7)
  6006. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  6007. colc = math.random(1,7)
  6008. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.43051147e-005, -0.100847006, 0.718658447, 2.45555211e-015, -5.96046306e-008, 1, -1.42108547e-014, -1, -5.96046306e-008, 1, -1.42108547e-014, -2.45555296e-015))
  6009. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6010. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  6011. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.220002174, 0.600004911, 0.628662109, 9.48580657e-016, -3.19744231e-014, -1, 0, 1, -3.19744231e-014, 1, 0, 9.48580551e-016))
  6012. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6013. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.00999999, 0.410000026, 0.410000026))
  6014. colc = math.random(1,7)
  6015. WedgeWeld = CreateWeld(mei, HandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00409030914, 0.623651981, 0.0869140625, 7.5121838e-016, 3.45568019e-009, -1, -5.9604659e-008, -1, -3.45568019e-009, -1, 5.9604659e-008, -5.45243684e-016))
  6016. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6017.  
  6018. myVars[6] = mei
  6019. for i = 1, 10 do wait()
  6020. for i,v in pairs(mei:GetChildren()) do
  6021. if v:IsA("Part") or v:IsA("WedgePart") then
  6022. if v.Name ~= "HitBox" then
  6023. v.Transparency = v.Transparency - 0.1
  6024. end
  6025. end
  6026. end
  6027. end]]
  6028.  
  6029.  
  6030.  
  6031. return true
  6032. elseif myVars[5] == "ssl3" then
  6033.  
  6034. local RbxUtility = LoadLibrary("RbxUtility")
  6035. local Create = RbxUtility.Create
  6036. RemoveOutlines = function(part)
  6037. part.TopSurface = 10
  6038. end
  6039.  
  6040. CFuncs = {
  6041. Part = {new = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6042. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = 1, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  6043. RemoveOutlines(Part)
  6044. return Part
  6045. end}
  6046. ,
  6047. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6048. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  6049. if Mesh == "SpecialMesh" then
  6050. Msh.MeshType = MeshType
  6051. Msh.MeshId = MeshId
  6052. end
  6053. return Msh
  6054. end}
  6055. ,
  6056. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6057. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  6058. if Mesh == "SpecialMesh" then
  6059. Msh.MeshType = MeshType
  6060. Msh.MeshId = MeshId
  6061. end
  6062. return Msh
  6063. end}
  6064. ,
  6065. Weld = {new = function(Parent, Part0, Part1, C0, C1)
  6066. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  6067. return Weld
  6068. end}
  6069. }
  6070. myVars[11] = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  6071.  
  6072. colc = math.random(1,7)
  6073. local mei = Instance.new("Model", char)
  6074. mei.Name = "WeaponModel"
  6075. Handleer = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Handle", Vector3.new(1, 2, 1))
  6076. colc = math.random(1,7)
  6077. HandleerWeld = CFuncs.Weld.new(mei, char["Right Arm"], Handleer, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  6078. Hitbox = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Hitbox", Vector3.new(1, 0.400000095, 1))
  6079. colc = math.random(1,7)
  6080. HitboxWeld = CFuncs.Weld.new(mei, Handleer, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 1.20000029, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  6081. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.2700001, 0.680000067))
  6082. colc = math.random(1,7)
  6083. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00628662109, 0.935291767, 0.234018803, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6084. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  6085. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00628662109, 0.335297108, 0.288942814, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6086. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 0.200000003, 0.560000002))
  6087. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0128860474, 1.12596655, -0.359955788, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6088. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.229999989, 0.200000003, 0.590000033))
  6089. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0138702393, 1.11102057, -0.360497475, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6090. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.200000003, 0.530000091))
  6091. colc = math.random(1,7)
  6092. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0020904541, -0.151069164, 0.29600811, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6093. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.680000186, 0.220000178, 0.280000031))
  6094. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00286865234, -0.366393089, -0.562141895, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6095. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.410000265, 0.530000031, 0.840000033))
  6096. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00244140625, -0.782339096, -0.21243906, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6097. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.54000026, 0.630000114, 0.900000036))
  6098. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00863647461, -0.714685917, -0.176069736, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6099. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.24000001, 0.919999957, 0.420000017))
  6100. colc = math.random(1,7)
  6101. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.027633667, 0.210770607, -0.377646923, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6102. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.24000001, 1.13, 0.219999999))
  6103. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117416382, -0.15815258, -0.230055332, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6104. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.870000243, 0.2700001, 0.860000014))
  6105. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00363922119, 0.975282192, 0.0139846802, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6106. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.62000012, 0.400000095))
  6107. colc = math.random(1,7)
  6108. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.238723755, 0.107399464, 0.364008427, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6109. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.540000081, 0.420000017))
  6110. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0136032104, 0.850343227, -0.406029224, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6111. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.210000008, 0.530000091))
  6112. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0108261108, 0.336452961, 0.291498661, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6113. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0,myVars[11][colc], "Part", Vector3.new(1.21000004, 1.63999999, 0.300000012))
  6114. colc = math.random(1,7)
  6115. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00877380371, 0.0478525162, -0.226531029, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6116. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 1.88000023, 0.680000067))
  6117. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00626373291, 0.130330086, -0.225958824, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6118. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.379999936, 0.379999936, 0.379999936))
  6119. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.851072311, 0.585458279, 0.0115356445, 3.42726736e-07, 1, -3.37138971e-07, -1.93715223e-07, 5.81145912e-07, -1.00000286, -1, -3.87430191e-07, -1.56462249e-07))
  6120. CFuncs.Mesh.new("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6121. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1, 0.420000017))
  6122. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.131408691, 0.0903525352, -0.406013012, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6123. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.79000026, 0.340000153, 0.49000001))
  6124. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00364685059, -0.359667778, -0.441084862, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6125. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.77000022, 0.420000106))
  6126. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.19871521, 0.0216679573, 0.355883121, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6127. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.329999983, 1.1400001))
  6128. colc = math.random(1,7)
  6129. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0093460083, -0.835298538, 0.0032749176, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6130. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.910000026, 0.47999987, 0.580000043))
  6131. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00074005127, -0.35460186, -0.276175022, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6132. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.23000002, 0.340000063, 0.229999989))
  6133. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00450134277, 0.662789822, -0.228302002, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6134. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  6135. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00623321533, -0.154727459, 0.288996696, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6136. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.520000041, 0.420000017))
  6137. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0135955811, -0.396072388, -0.850289822, 1.00000012, -1.01476926e-05, 4.99935777e-06, -4.65661287e-06, 1.56459919e-07, 1.00000286, -1.0818243e-05, -1.00000012, 1.15297803e-06))
  6138. CFuncs.Mesh.new("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6139. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.05000007, 0.420000017))
  6140. colc = math.random(1,7)
  6141. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.158599854, 0.0553216934, -0.405974865, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6142. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.629999995, 2.07999992, 0.899999976))
  6143. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0092010498, 0.0362443924, -0.120284081, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6144. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.750000298, 0.250000089, 0.74000001))
  6145. PartWeld = CFuncs.Weld.new(mei, Handleer, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00680541992, 1.00405645, 0.0256195068, 1, 3.57627869e-07, 1.78814076e-07, 3.57627869e-07, 1, -4.91738945e-07, 1.78814091e-07, -4.91738945e-07, 1.00000286))
  6146. myVars[6] = mei
  6147. for i = 1, 10 do wait()
  6148. for i,v in pairs(myVars[6]:GetChildren()) do
  6149. if v:IsA("Part") or v:IsA("WedgePart") then
  6150. if v.Name ~= "HitBox" then
  6151. v.Transparency = v.Transparency - 0.1
  6152. end
  6153. end
  6154. end
  6155. end
  6156. end
  6157. end
  6158.  
  6159.  
  6160.  
  6161.  
  6162. function ssl3Vanish()
  6163. if myVars[5] == "ssl3" then
  6164. for i = 1, 10 do wait()
  6165. for i,v in pairs(myVars[6]:GetChildren()) do
  6166. if v:IsA("Part") or v:IsA("WedgePart") then
  6167. if v.Name ~= "HitBox" then
  6168. v.Transparency = v.Transparency + 0.1
  6169. end
  6170. end
  6171. end
  6172. end
  6173. elseif myVars[5] == "ssl3_1" then
  6174. for i = 1, 10 do wait()
  6175. for i,v in pairs(myVars[10]:GetChildren()) do
  6176. if v:IsA("Part") or v:IsA("WedgePart") then
  6177. if v.Name ~= "HitBox" then
  6178. v.Transparency = v.Transparency + 0.1
  6179. end
  6180. end
  6181. end
  6182. end
  6183. end
  6184. end
  6185.  
  6186. --------------SSL3 WEAPONS END-------------------------------
  6187. local iris = nil
  6188. function upgradeSword()
  6189. local colorscheme = {"Gold","New yeller","Really black","Daisy orange","Black"}
  6190. local render = game:GetService("RunService").RenderStepped
  6191. local bltb = {}
  6192.  
  6193. TorsoColor=Torso.BrickColor
  6194.  
  6195.  
  6196.  
  6197.  
  6198.  
  6199. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  6200. local fp=it("Part")
  6201. fp.formFactor=formfactor
  6202. fp.Parent=parent
  6203. fp.Reflectance=reflectance
  6204. fp.Transparency=transparency
  6205. fp.CanCollide=false
  6206. fp.Locked=true
  6207. fp.BrickColor=brickcolor
  6208. fp.Name=name
  6209. fp.Size=size
  6210. fp.Position=Torso.Position
  6211. NoOutline(fp)
  6212. fp.Material="SmoothPlastic"
  6213. fp:BreakJoints()
  6214. return fp
  6215. end
  6216.  
  6217. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  6218. local mesh=it(Mesh)
  6219. mesh.Parent=part
  6220. if Mesh=="SpecialMesh" then
  6221. mesh.MeshType=meshtype
  6222. if meshid~="nil" then
  6223. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  6224. end
  6225. end
  6226. mesh.Offset=offset
  6227. mesh.Scale=scale
  6228. return mesh
  6229. end
  6230.  
  6231. function weld(parent,part0,part1,c0)
  6232. local weld=it("Weld")
  6233. weld.Parent=parent
  6234. weld.Part0=part0
  6235. weld.Part1=part1
  6236. weld.C0=c0
  6237. return weld
  6238. end
  6239.  
  6240.  
  6241. function Rainbow(hue)
  6242. local section = hue % 1 * 3
  6243. local secondary = 0.5 * math.pi * (section % 1)
  6244. if section < 1 then
  6245. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  6246. elseif section < 2 then
  6247. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  6248. else
  6249. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  6250. end
  6251. end
  6252.  
  6253.  
  6254. function UpdatePart(pt,clr)
  6255. pt.BrickColor = BrickColor.new(clr)
  6256. end
  6257.  
  6258. local Color1=Torso.BrickColor
  6259.  
  6260.  
  6261.  
  6262. nooutline = function(part)
  6263. part.TopSurface = 10
  6264. end
  6265.  
  6266.  
  6267. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  6268. local fp = it("Part")
  6269. fp.formFactor = formfactor
  6270. fp.Parent = parent
  6271. fp.Reflectance = reflectance
  6272. fp.Transparency = transparency
  6273. fp.CanCollide = false
  6274. fp.Locked = true
  6275. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  6276. fp.Name = name
  6277. fp.Size = size
  6278. fp.Position = Character.Torso.Position
  6279. nooutline(fp)
  6280. fp.Material = material
  6281. fp:BreakJoints()
  6282. return fp
  6283. end
  6284. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  6285.  
  6286. user=game:service'Players'.localPlayer
  6287. char=user.Character
  6288. mouse=user:GetMouse()
  6289. m=Instance.new('Model',char)
  6290. iris = m
  6291. game:service'Lighting'.Outlines=false
  6292.  
  6293.  
  6294. local Handle = Instance.new("Part", m)
  6295. Handle:BreakJoints()
  6296. Handle.TopSurface = "Smooth"
  6297. Handle.Transparency = 0 Handle.Material = "Neon"
  6298. Handle.Name = 'Handle'
  6299. Handle.BottomSurface = "Smooth"
  6300. Handle.FormFactor = "Custom" Handle.CanCollide = false
  6301. Handle.BrickColor = BrickColor.new("Really black")
  6302. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  6303. local Handleweld = Instance.new("ManualWeld")
  6304. Handleweld.Part0 = Character["Right Arm"]
  6305. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6306. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  6307. Handleweld.Parent = Character["Right Arm"]
  6308.  
  6309. local HandleMesh = Instance.new("CylinderMesh",Handle)
  6310. HandleMesh.Name = "Mesh"
  6311. HandleMesh.Offset = Vector3.new(0, 0, 0)
  6312. HandleMesh.Scale = Vector3.new(1, 1, 1)
  6313.  
  6314. local Part = Instance.new("Part", m)
  6315. Part:BreakJoints()
  6316. Part.TopSurface = "Smooth"
  6317. Part.Material = "Neon"
  6318. Part.Transparency = 0 Part.Name = 'Part'
  6319. Part.BottomSurface = "Smooth"
  6320. Part.FormFactor = "Custom" Part.CanCollide = false
  6321. Part.BrickColor = BrickColor.new("Really black")
  6322. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6323. local Partweld = Instance.new("ManualWeld")
  6324. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6325. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393207669, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  6326. Partweld.Parent = Part
  6327. local PartMesh = Instance.new("BlockMesh",Part)
  6328. PartMesh.Name = "Mesh"
  6329. PartMesh.Offset = Vector3.new(0, 0, 0)
  6330. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6331.  
  6332. local Part = Instance.new("Part", m)
  6333. Part:BreakJoints()
  6334. Part.TopSurface = "Smooth"
  6335. Part.Material = "Neon"
  6336. Part.Transparency = 0 Part.Name = 'Part1'
  6337. Part.BottomSurface = "Smooth"
  6338. Part.FormFactor = "Custom" Part.CanCollide = false
  6339. Part.BrickColor = BrickColor.new("Cyan")
  6340. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  6341. local Partweld = Instance.new("ManualWeld")
  6342. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6343. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6344. Partweld.Parent = Part
  6345. local PartMesh = Instance.new("SpecialMesh",Part)
  6346. PartMesh.MeshId = ""
  6347. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  6348. PartMesh.Offset = Vector3.new(0, 0, 0)
  6349. PartMesh.Scale = Vector3.new(1, 1, 1)
  6350.  
  6351. table.insert(bltb, Part)
  6352.  
  6353. local Part = Instance.new("Part", m)
  6354. Part:BreakJoints()
  6355. Part.TopSurface = "Smooth"
  6356. Part.Material = "Neon"
  6357. Part.Transparency = 0 Part.Name = 'Part'
  6358. Part.BottomSurface = "Smooth"
  6359. Part.FormFactor = "Custom" Part.CanCollide = false
  6360. Part.BrickColor = BrickColor.new("Really black")
  6361. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6362. local Partweld = Instance.new("ManualWeld")
  6363. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6364. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6365. Partweld.Parent = Part
  6366. local PartMesh = Instance.new("CylinderMesh",Part)
  6367. PartMesh.Name = "Mesh"
  6368. PartMesh.Offset = Vector3.new(0, 0, 0)
  6369. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6370.  
  6371.  
  6372.  
  6373. local Part = Instance.new("Part", m)
  6374. Part:BreakJoints()
  6375. Part.TopSurface = "Smooth"
  6376. Part.Material = "Neon"
  6377. Part.Transparency = 0 Part.Name = 'Part'
  6378. Part.BottomSurface = "Smooth"
  6379. Part.FormFactor = "Custom" Part.CanCollide = false
  6380. Part.BrickColor = BrickColor.new("Really black")
  6381. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6382. local Partweld = Instance.new("ManualWeld")
  6383. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6384. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6385. Partweld.Parent = Part
  6386. local PartMesh = Instance.new("CylinderMesh",Part)
  6387. PartMesh.Name = "Mesh"
  6388. PartMesh.Offset = Vector3.new(0, 0, 0)
  6389. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6390.  
  6391. local Part = Instance.new("Part", m)
  6392. Part:BreakJoints()
  6393. Part.TopSurface = "Smooth"
  6394. Part.Material = "Neon"
  6395. Part.Transparency = 0 Part.Name = 'Part2'
  6396. Part.BottomSurface = "Smooth"
  6397. Part.FormFactor = "Custom" Part.CanCollide = false
  6398. Part.BrickColor = BrickColor.new("Cyan")
  6399. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6400. local Partweld = Instance.new("ManualWeld")
  6401. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6402. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6403. Partweld.Parent = Part
  6404. local PartMesh = Instance.new("CylinderMesh",Part)
  6405. PartMesh.Name = "Mesh"
  6406. PartMesh.Offset = Vector3.new(0, 0, 0)
  6407. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6408.  
  6409. table.insert(bltb, Part)
  6410.  
  6411. local Part = Instance.new("Part", m)
  6412. Part:BreakJoints()
  6413. Part.TopSurface = "Smooth"
  6414. Part.Material = "Neon"
  6415. Part.Transparency = 0 Part.Name = 'Part'
  6416. Part.BottomSurface = "Smooth"
  6417. Part.FormFactor = "Custom" Part.CanCollide = false
  6418. Part.BrickColor = BrickColor.new("Really black")
  6419. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6420. local Partweld = Instance.new("ManualWeld")
  6421. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6422. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393225789, 0.99998641, 0, 1.77634477e-015, -1.32347999e-023, 1, 0, -1.77634477e-015, 0, 0.99998641)
  6423. Partweld.Parent = Part
  6424. local PartMesh = Instance.new("BlockMesh",Part)
  6425. PartMesh.Name = "Mesh"
  6426. PartMesh.Offset = Vector3.new(0, 0, 0)
  6427. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6428.  
  6429. local Part = Instance.new("Part", m)
  6430. Part:BreakJoints()
  6431. Part.TopSurface = "Smooth"
  6432. Part.Material = "Neon"
  6433. Part.Transparency = 0 Part.Name = 'Part'
  6434. Part.BottomSurface = "Smooth"
  6435. Part.FormFactor = "Custom" Part.CanCollide = false
  6436. Part.BrickColor = BrickColor.new("Really black")
  6437. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6438. local Partweld = Instance.new("ManualWeld")
  6439. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6440. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  6441. Partweld.Parent = Part
  6442. local PartMesh = Instance.new("BlockMesh",Part)
  6443. PartMesh.Name = "Mesh"
  6444. PartMesh.Offset = Vector3.new(0, 0, 0)
  6445. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6446.  
  6447. local Part = Instance.new("Part", m)
  6448. Part:BreakJoints()
  6449. Part.TopSurface = "Smooth"
  6450. Part.Material = "Neon"
  6451. Part.Transparency = 0.5 Part.Name = 'Part3'
  6452. Part.BottomSurface = "Smooth"
  6453. Part.FormFactor = "Custom" Part.CanCollide = false
  6454. Part.BrickColor = BrickColor.new("Cyan")
  6455. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  6456. local Partweld = Instance.new("ManualWeld")
  6457. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6458. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6459. Partweld.Parent = Part
  6460. local PartMesh = Instance.new("BlockMesh",Part)
  6461. PartMesh.Name = "Mesh"
  6462. PartMesh.Offset = Vector3.new(0, 0, 0)
  6463. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  6464.  
  6465. table.insert(bltb, Part)
  6466.  
  6467. local Part = Instance.new("Part", m)
  6468. Part:BreakJoints()
  6469. Part.TopSurface = "Smooth"
  6470. Part.Material = "Neon"
  6471. Part.Transparency = 0 Part.Name = 'Part'
  6472. Part.BottomSurface = "Smooth"
  6473. Part.FormFactor = "Custom" Part.CanCollide = false
  6474. Part.BrickColor = BrickColor.new("Really black")
  6475. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6476. local Partweld = Instance.new("ManualWeld")
  6477. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6478. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  6479. Partweld.Parent = Part
  6480. local PartMesh = Instance.new("BlockMesh",Part)
  6481. PartMesh.Name = "Mesh"
  6482. PartMesh.Offset = Vector3.new(0, 0, 0)
  6483. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6484.  
  6485. local Part = Instance.new("Part", m)
  6486. Part:BreakJoints()
  6487. Part.TopSurface = "Smooth"
  6488. Part.Material = "Neon"
  6489. Part.Transparency = 0 Part.Name = 'Part4'
  6490. Part.BottomSurface = "Smooth"
  6491. Part.FormFactor = "Custom" Part.CanCollide = false
  6492. Part.BrickColor = BrickColor.new("Cyan")
  6493. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  6494. local Partweld = Instance.new("ManualWeld")
  6495. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6496. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6497. Partweld.Parent = Part
  6498. local PartMesh = Instance.new("CylinderMesh",Part)
  6499. PartMesh.Name = "Mesh"
  6500. PartMesh.Offset = Vector3.new(0, 0, 0)
  6501. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  6502.  
  6503. table.insert(bltb, Part)
  6504.  
  6505. local Part = Instance.new("Part", m)
  6506. Part:BreakJoints()
  6507. Part.TopSurface = "Smooth"
  6508. Part.Material = "Neon"
  6509. Part.Transparency = 0 Part.Name = 'Part'
  6510. Part.BottomSurface = "Smooth"
  6511. Part.FormFactor = "Custom" Part.CanCollide = false
  6512. Part.BrickColor = BrickColor.new("Really black")
  6513. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6514. local Partweld = Instance.new("ManualWeld")
  6515. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6516. Partweld.C1 = CFrame.new(0, -0.842823029, 0.393286943, 0.99998641, 1.07852229e-016, -0, -1.14204248e-016, 1, -2.3803019e-013, -0, 2.38031816e-013, 0.99998641)
  6517. Partweld.Parent = Part
  6518. local PartMesh = Instance.new("BlockMesh",Part)
  6519. PartMesh.Name = "Mesh"
  6520. PartMesh.Offset = Vector3.new(0, 0, 0)
  6521. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6522.  
  6523. local Part = Instance.new("Part", m)
  6524. Part:BreakJoints()
  6525. Part.TopSurface = "Smooth"
  6526. Part.Material = "Neon"
  6527. Part.Transparency = 0 Part.Name = 'Part5'
  6528. Part.BottomSurface = "Smooth"
  6529. Part.FormFactor = "Custom" Part.CanCollide = false
  6530. Part.BrickColor = BrickColor.new("Cyan")
  6531. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6532. local Partweld = Instance.new("ManualWeld")
  6533. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6534. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6535. Partweld.Parent = Part
  6536. local PartMesh = Instance.new("CylinderMesh",Part)
  6537. PartMesh.Name = "Mesh"
  6538. PartMesh.Offset = Vector3.new(0, 0, 0)
  6539. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6540.  
  6541. table.insert(bltb, Part)
  6542.  
  6543. local Part = Instance.new("Part", m)
  6544. Part:BreakJoints()
  6545. Part.TopSurface = "Smooth"
  6546. Part.Material = "Neon"
  6547. Part.Transparency = 0 Part.Name = 'Part6'
  6548. Part.BottomSurface = "Smooth"
  6549. Part.FormFactor = "Custom" Part.CanCollide = false
  6550. Part.BrickColor = BrickColor.new("Cyan")
  6551. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  6552. local Partweld = Instance.new("ManualWeld")
  6553. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6554. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6555. Partweld.Parent = Part
  6556. local PartMesh = Instance.new("CylinderMesh",Part)
  6557. PartMesh.Name = "Mesh"
  6558. PartMesh.Offset = Vector3.new(0, 0, 0)
  6559. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6560.  
  6561. table.insert(bltb, Part)
  6562.  
  6563. local Part = Instance.new("Part", m)
  6564. Part:BreakJoints()
  6565. Part.TopSurface = "Smooth"
  6566. Part.Material = "Neon"
  6567. Part.Transparency = 0 Part.Name = 'Part'
  6568. Part.BottomSurface = "Smooth"
  6569. Part.FormFactor = "Custom" Part.CanCollide = false
  6570. Part.BrickColor = BrickColor.new("Really black")
  6571. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  6572. local Partweld = Instance.new("ManualWeld")
  6573. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6574. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6575. Partweld.Parent = Part
  6576. local PartMesh = Instance.new("BlockMesh",Part)
  6577. PartMesh.Name = "Mesh"
  6578. PartMesh.Offset = Vector3.new(0, 0, 0)
  6579. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6580.  
  6581. local Part = Instance.new("Part", m)
  6582. Part:BreakJoints()
  6583. Part.TopSurface = "Smooth"
  6584. Part.Material = "Neon"
  6585. Part.Transparency = 0 Part.Name = 'Part7'
  6586. Part.BottomSurface = "Smooth"
  6587. Part.FormFactor = "Custom" Part.CanCollide = false
  6588. Part.BrickColor = BrickColor.new("Cyan")
  6589. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  6590. local Partweld = Instance.new("ManualWeld")
  6591. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6592. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6593. Partweld.Parent = Part
  6594. local PartMesh = Instance.new("CylinderMesh",Part)
  6595. PartMesh.Name = "Mesh"
  6596. PartMesh.Offset = Vector3.new(0, 0, 0)
  6597. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6598.  
  6599. table.insert(bltb, Part)
  6600.  
  6601. local Part = Instance.new("Part", m)
  6602. Part:BreakJoints()
  6603. Part.TopSurface = "Smooth"
  6604. Part.Material = "Neon"
  6605. Part.Transparency = 0 Part.Name = 'Part8'
  6606. Part.BottomSurface = "Smooth"
  6607. Part.FormFactor = "Custom" Part.CanCollide = false
  6608. Part.BrickColor = BrickColor.new("Cyan")
  6609. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  6610. local Partweld = Instance.new("ManualWeld")
  6611. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6612. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6613. Partweld.Parent = Part
  6614. local PartMesh = Instance.new("CylinderMesh",Part)
  6615. PartMesh.Name = "Mesh"
  6616. PartMesh.Offset = Vector3.new(0, 0, 0)
  6617. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  6618.  
  6619. table.insert(bltb, Part)
  6620.  
  6621. local Part = Instance.new("Part", m)
  6622. Part:BreakJoints()
  6623. Part.TopSurface = "Smooth"
  6624. Part.Material = "Neon"
  6625. Part.Transparency = 0 Part.Name = 'Part'
  6626. Part.BottomSurface = "Smooth"
  6627. Part.FormFactor = "Custom" Part.CanCollide = false
  6628. Part.BrickColor = BrickColor.new("Really black")
  6629. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  6630. local Partweld = Instance.new("ManualWeld")
  6631. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6632. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6633. Partweld.Parent = Part
  6634. local PartMesh = Instance.new("CylinderMesh",Part)
  6635. PartMesh.Name = "Mesh"
  6636. PartMesh.Offset = Vector3.new(0, 0, 0)
  6637. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6638.  
  6639. local Part = Instance.new("Part", m)
  6640. Part:BreakJoints()
  6641. Part.TopSurface = "Smooth"
  6642. Part.Material = "Neon"
  6643. Part.Transparency = 0 Part.Name = 'Part9'
  6644. Part.BottomSurface = "Smooth"
  6645. Part.FormFactor = "Custom" Part.CanCollide = false
  6646. Part.BrickColor = BrickColor.new("Cyan")
  6647. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6648. local Partweld = Instance.new("ManualWeld")
  6649. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6650. Partweld.C1 = CFrame.new(0.53044498, -0.842823029, 0.0229825974, 0.258815438, -1.97460321e-017, -0.965912819, 3.30120669e-017, 1, -1.15873321e-017, 0.965912819, -2.88872116e-017, 0.258815438)
  6651. Partweld.Parent = Part
  6652. local PartMesh = Instance.new("BlockMesh",Part)
  6653. PartMesh.Name = "Mesh"
  6654. PartMesh.Offset = Vector3.new(0, 0, 0)
  6655. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6656.  
  6657. table.insert(bltb, Part)
  6658.  
  6659. local Part = Instance.new("Part", m)
  6660. Part:BreakJoints()
  6661. Part.TopSurface = "Smooth"
  6662. Part.Material = "Neon"
  6663. Part.Transparency = 0 Part.Name = 'Part'
  6664. Part.BottomSurface = "Smooth"
  6665. Part.FormFactor = "Custom" Part.CanCollide = false
  6666. Part.BrickColor = BrickColor.new("Really black")
  6667. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6668. local Partweld = Instance.new("ManualWeld")
  6669. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6670. Partweld.C1 = CFrame.new(0.529430389, -0.842823029, 0.0128250122, 0.258815438, 1.35525272e-020, -0.965912819, -3.50722156e-021, 1, 1.35524351e-020, 0.965912819, 0, 0.258815438)
  6671. Partweld.Parent = Part
  6672. local PartMesh = Instance.new("BlockMesh",Part)
  6673. PartMesh.Name = "Mesh"
  6674. PartMesh.Offset = Vector3.new(0, 0, 0)
  6675. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6676.  
  6677. local Part = Instance.new("Part", m)
  6678. Part:BreakJoints()
  6679. Part.TopSurface = "Smooth"
  6680. Part.Material = "Neon"
  6681. Part.Transparency = 0 Part.Name = 'Part'
  6682. Part.BottomSurface = "Smooth"
  6683. Part.FormFactor = "Custom" Part.CanCollide = false
  6684. Part.BrickColor = BrickColor.new("Really black")
  6685. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6686. local Partweld = Instance.new("ManualWeld")
  6687. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6688. Partweld.C1 = CFrame.new(0.529132843, -0.842823029, -0.0117540359, -0.258815706, -3.25260652e-018, -0.965912759, 3.89845789e-017, 1, -1.38099317e-017, 0.965912759, -4.1236952e-017, -0.258815706)
  6689. Partweld.Parent = Part
  6690. local PartMesh = Instance.new("BlockMesh",Part)
  6691. PartMesh.Name = "Mesh"
  6692. PartMesh.Offset = Vector3.new(0, 0, 0)
  6693. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6694.  
  6695. local Part = Instance.new("Part", m)
  6696. Part:BreakJoints()
  6697. Part.TopSurface = "Smooth"
  6698. Part.Material = "Neon"
  6699. Part.Transparency = 0 Part.Name = 'Part'
  6700. Part.BottomSurface = "Smooth"
  6701. Part.FormFactor = "Custom" Part.CanCollide = false
  6702. Part.BrickColor = BrickColor.new("Really black")
  6703. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6704. local Partweld = Instance.new("ManualWeld")
  6705. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6706. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6707. Partweld.Parent = Part
  6708. local PartMesh = Instance.new("BlockMesh",Part)
  6709. PartMesh.Name = "Mesh"
  6710. PartMesh.Offset = Vector3.new(0, 0, 0)
  6711. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6712.  
  6713. local Part = Instance.new("Part", m)
  6714. Part:BreakJoints()
  6715. Part.TopSurface = "Smooth"
  6716. Part.Material = "Neon"
  6717. Part.Transparency = 0 Part.Name = 'Part10'
  6718. Part.BottomSurface = "Smooth"
  6719. Part.FormFactor = "Custom" Part.CanCollide = false
  6720. Part.BrickColor = BrickColor.new("Cyan")
  6721. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6722. local Partweld = Instance.new("ManualWeld")
  6723. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6724. Partweld.C1 = CFrame.new(-0.525370121, -0.842823029, 0.0256881714, 0.258815676, -6.64073831e-019, 0.9659127, 1.05359266e-018, 1, 4.06573049e-019, -0.9659127, 9.14795583e-019, 0.258815676)
  6725. Partweld.Parent = Part
  6726. local PartMesh = Instance.new("BlockMesh",Part)
  6727. PartMesh.Name = "Mesh"
  6728. PartMesh.Offset = Vector3.new(0, 0, 0)
  6729. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6730.  
  6731. table.insert(bltb, Part)
  6732.  
  6733. local Part = Instance.new("Part", m)
  6734. Part:BreakJoints()
  6735. Part.TopSurface = "Smooth"
  6736. Part.Material = "Neon"
  6737. Part.Transparency = 0 Part.Name = 'Part11'
  6738. Part.BottomSurface = "Smooth"
  6739. Part.FormFactor = "Custom" Part.CanCollide = false
  6740. Part.BrickColor = BrickColor.new("Cyan")
  6741. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6742. local Partweld = Instance.new("ManualWeld")
  6743. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6744. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6745. Partweld.Parent = Part
  6746. local PartMesh = Instance.new("CylinderMesh",Part)
  6747. PartMesh.Name = "Mesh"
  6748. PartMesh.Offset = Vector3.new(0, 0, 0)
  6749. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6750.  
  6751. table.insert(bltb, Part)
  6752.  
  6753. local Part = Instance.new("Part", m)
  6754. Part:BreakJoints()
  6755. Part.TopSurface = "Smooth"
  6756. Part.Material = "Neon"
  6757. Part.Transparency = 0 Part.Name = 'Part12'
  6758. Part.BottomSurface = "Smooth"
  6759. Part.FormFactor = "Custom" Part.CanCollide = false
  6760. Part.BrickColor = BrickColor.new("Cyan")
  6761. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6762. local Partweld = Instance.new("ManualWeld")
  6763. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6764. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  6765. Partweld.Parent = Part
  6766. local PartMesh = Instance.new("BlockMesh",Part)
  6767. PartMesh.Name = "Mesh"
  6768. PartMesh.Offset = Vector3.new(0, 0, 0)
  6769. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6770.  
  6771. table.insert(bltb, Part)
  6772.  
  6773. local Part = Instance.new("Part", m)
  6774. Part:BreakJoints()
  6775. Part.TopSurface = "Smooth"
  6776. Part.Material = "Neon"
  6777. Part.Transparency = 0 Part.Name = 'Part13'
  6778. Part.BottomSurface = "Smooth"
  6779. Part.FormFactor = "Custom" Part.CanCollide = false
  6780. Part.BrickColor = BrickColor.new("Cyan")
  6781. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  6782. local Partweld = Instance.new("ManualWeld")
  6783. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6784. Partweld.C1 = CFrame.new(0.00023651123, -0.842823029, -0.364931583, 0.99998641, -2.62516024e-017, -1.67287184e-026, 2.62512451e-017, 1, 3.6862117e-018, 1.67287184e-026, -3.68626216e-018, 0.99998641)
  6785. Partweld.Parent = Part
  6786. local PartMesh = Instance.new("BlockMesh",Part)
  6787. PartMesh.Name = "Mesh"
  6788. PartMesh.Offset = Vector3.new(0, 0, 0)
  6789. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  6790.  
  6791. table.insert(bltb, Part)
  6792.  
  6793. local Part = Instance.new("Part", m)
  6794. Part:BreakJoints()
  6795. Part.TopSurface = "Smooth"
  6796. Part.Material = "Neon"
  6797. Part.Transparency = 0 Part.Name = 'Part14'
  6798. Part.BottomSurface = "Smooth"
  6799. Part.FormFactor = "Custom" Part.CanCollide = false
  6800. Part.BrickColor = BrickColor.new("Cyan")
  6801. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6802. local Partweld = Instance.new("ManualWeld")
  6803. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6804. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  6805. Partweld.Parent = Part
  6806. local PartMesh = Instance.new("BlockMesh",Part)
  6807. PartMesh.Name = "Mesh"
  6808. PartMesh.Offset = Vector3.new(0, 0, 0)
  6809. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6810.  
  6811. table.insert(bltb, Part)
  6812.  
  6813. local Part = Instance.new("Part", m)
  6814. Part:BreakJoints()
  6815. Part.TopSurface = "Smooth"
  6816. Part.Material = "Neon"
  6817. Part.Transparency = 0 Part.Name = 'Part15'
  6818. Part.BottomSurface = "Smooth"
  6819. Part.FormFactor = "Custom" Part.CanCollide = false
  6820. Part.BrickColor = BrickColor.new("Cyan")
  6821. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  6822. local Partweld = Instance.new("ManualWeld")
  6823. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6824. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6825. Partweld.Parent = Part
  6826. local PartMesh = Instance.new("BlockMesh",Part)
  6827. PartMesh.Name = "Mesh"
  6828. PartMesh.Offset = Vector3.new(0, 0, 0)
  6829. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  6830.  
  6831. table.insert(bltb, Part)
  6832.  
  6833. local Part = Instance.new("Part", m)
  6834. Part:BreakJoints()
  6835. Part.TopSurface = "Smooth"
  6836. Part.Material = "Neon"
  6837. Part.Transparency = 0 Part.Name = 'Part16'
  6838. Part.BottomSurface = "Smooth"
  6839. Part.FormFactor = "Custom" Part.CanCollide = false
  6840. Part.BrickColor = BrickColor.new("Cyan")
  6841. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6842. local Partweld = Instance.new("ManualWeld")
  6843. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6844. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6845. Partweld.Parent = Part
  6846. local PartMesh = Instance.new("CylinderMesh",Part)
  6847. PartMesh.Name = "Mesh"
  6848. PartMesh.Offset = Vector3.new(0, 0, 0)
  6849. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6850.  
  6851. table.insert(bltb, Part)
  6852.  
  6853. local Part = Instance.new("Part", m)
  6854. Part:BreakJoints()
  6855. Part.TopSurface = "Smooth"
  6856. Part.Material = "Neon"
  6857. Part.Transparency = 0.5 Part.Name = 'Part17'
  6858. Part.BottomSurface = "Smooth"
  6859. Part.FormFactor = "Custom" Part.CanCollide = false
  6860. Part.BrickColor = BrickColor.new("Cyan")
  6861. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  6862. local Partweld = Instance.new("ManualWeld")
  6863. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6864. Partweld.C1 = CFrame.new(-8.39233398e-005, -6.13697433, 0.00012421608, -0.99998641, 0, 5.96042398e-008, 0, 1, 0, -5.96042398e-008, 0, -0.99998641)
  6865. Partweld.Parent = Part
  6866. local PartMesh = Instance.new("SpecialMesh",Part)
  6867. PartMesh.MeshId = ""
  6868. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  6869. PartMesh.Offset = Vector3.new(0, 0, 0)
  6870. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  6871.  
  6872. table.insert(bltb, Part)
  6873.  
  6874. local Part = Instance.new("Part", m)
  6875. Part:BreakJoints()
  6876. Part.TopSurface = "Smooth"
  6877. Part.Material = "Neon"
  6878. Part.Transparency = 0 Part.Name = 'Part'
  6879. Part.BottomSurface = "Smooth"
  6880. Part.FormFactor = "Custom" Part.CanCollide = false
  6881. Part.BrickColor = BrickColor.new("Really black")
  6882. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6883. local Partweld = Instance.new("ManualWeld")
  6884. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6885. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6886. Partweld.Parent = Part
  6887. local PartMesh = Instance.new("CylinderMesh",Part)
  6888. PartMesh.Name = "Mesh"
  6889. PartMesh.Offset = Vector3.new(0, 0, 0)
  6890. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6891.  
  6892. local Part = Instance.new("Part", m)
  6893. Part:BreakJoints()
  6894. Part.TopSurface = "Smooth"
  6895. Part.Material = "Neon"
  6896. Part.Transparency = 0 Part.Name = 'Part18'
  6897. Part.BottomSurface = "Smooth"
  6898. Part.FormFactor = "Custom" Part.CanCollide = false
  6899. Part.BrickColor = BrickColor.new("Cyan")
  6900. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6901. local Partweld = Instance.new("ManualWeld")
  6902. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6903. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6904. Partweld.Parent = Part
  6905. local PartMesh = Instance.new("CylinderMesh",Part)
  6906. PartMesh.Name = "Mesh"
  6907. PartMesh.Offset = Vector3.new(0, 0, 0)
  6908. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6909.  
  6910. table.insert(bltb, Part)
  6911.  
  6912. local Part = Instance.new("Part", m)
  6913. Part:BreakJoints()
  6914. Part.TopSurface = "Smooth"
  6915. Part.Material = "Neon"
  6916. Part.Transparency = 0 Part.Name = 'Part19'
  6917. Part.BottomSurface = "Smooth"
  6918. Part.FormFactor = "Custom" Part.CanCollide = false
  6919. Part.BrickColor = BrickColor.new("Cyan")
  6920. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6921. local Partweld = Instance.new("ManualWeld")
  6922. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6923. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6924. Partweld.Parent = Part
  6925. local PartMesh = Instance.new("CylinderMesh",Part)
  6926. PartMesh.Name = "Mesh"
  6927. PartMesh.Offset = Vector3.new(0, 0, 0)
  6928. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6929.  
  6930. table.insert(bltb, Part)
  6931.  
  6932. local hitbox = Instance.new("Part", m)
  6933. hitbox:BreakJoints()
  6934. hitbox.TopSurface = "Smooth"
  6935. hitbox.Material = "Neon"
  6936. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  6937. hitbox.BottomSurface = "Smooth"
  6938. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  6939. hitbox.BrickColor = BrickColor.new("Really black")
  6940. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  6941. local hitboxweld = Instance.new("ManualWeld")
  6942. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6943. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6944. hitboxweld.Parent = hitbox
  6945. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  6946. hitboxMesh.Name = "Mesh"
  6947. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  6948. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6949.  
  6950. local Wedge = Instance.new("WedgePart", m)
  6951. Wedge:BreakJoints()
  6952. Wedge.TopSurface = "Smooth"
  6953. Wedge.Material = "Neon"
  6954. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  6955. Wedge.BottomSurface = "Smooth"
  6956. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  6957. Wedge.BrickColor = BrickColor.new("Really black")
  6958. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  6959. local Wedgeweld = Instance.new("ManualWeld")
  6960. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6961. Wedgeweld.C1 = CFrame.new(7.62939453e-006, -5.9009819, -4.0769577e-005, -0.999992788, 1.60944605e-010, -8.94063589e-007, 1.60504526e-010, 0.999993563, -4.18958729e-010, 7.897562e-007, -4.18840851e-010, -0.999986649)
  6962. Wedgeweld.Parent = Wedge
  6963. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  6964. WedgeMesh.MeshId = ""
  6965. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  6966. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  6967. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6968.  
  6969.  
  6970.  
  6971. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  6972. EffectPart2weld = weld(m, Character["Left Arm"], EffectPart2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  6973. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  6974. EffectPartweld = weld(m, Handle, EffectPart, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  6975. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6976.  
  6977.  
  6978.  
  6979. coroutine.resume(coroutine.create(function()
  6980. while wait() do
  6981. for i,v in pairs(bltb) do
  6982. if v:IsA("Part") or v:IsA("WedgePart") then
  6983. UpdatePart(v,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  6984.  
  6985. end
  6986. end
  6987. end
  6988. end)) --work
  6989.  
  6990.  
  6991.  
  6992.  
  6993.  
  6994.  
  6995. end
  6996.  
  6997. function removeSword()
  6998. for i = 1, 10 do wait()
  6999. for i,v in pairs(iris:GetChildren()) do
  7000. if v:IsA("Part") or v:IsA("WedgePart") then
  7001. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7002. v.Transparency = v.Transparency + 0.1
  7003. end
  7004. end
  7005. end
  7006. end
  7007. end
  7008. -----------------------------------------------------
  7009. local blade1Tip = nil
  7010. local blade1cor0 = nil
  7011.  
  7012. local m = Instance.new("Model")
  7013. m.Name = "Genkadda"
  7014. function makeSword()
  7015. p1 = Instance.new("Part", m)
  7016. p1.Material = "Neon"
  7017. colc = math.random(1,7)
  7018. p1.BrickColor = Neonsc[colc]
  7019. p1.Name = "BladePart"
  7020. p1.FormFactor = Enum.FormFactor.Symmetric
  7021. p1.Size = Vector3.new(1, 1, 1)
  7022. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  7023. p1.CanCollide = false
  7024. p1.Locked = true
  7025. p1.Elasticity = 0
  7026. p1.BottomSurface = Enum.SurfaceType.Smooth
  7027. p1.TopSurface = Enum.SurfaceType.Smooth
  7028. b1 = Instance.new("BlockMesh", p1)
  7029. b1.Name = "Mesh"
  7030. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7031. p2 = Instance.new("Part", m)
  7032. p2.Material = "Neon"
  7033. colc = math.random(1,7)
  7034. p2.BrickColor = Neonsc[colc]
  7035. p2.FormFactor = Enum.FormFactor.Symmetric
  7036. p2.Size = Vector3.new(1, 1, 1)
  7037. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  7038. p2.CanCollide = false
  7039. p2.Locked = true
  7040. p2.Elasticity = 0
  7041. p2.BottomSurface = Enum.SurfaceType.Smooth
  7042. p2.TopSurface = Enum.SurfaceType.Smooth
  7043. b2 = Instance.new("BlockMesh", p2)
  7044. b2.Name = "Mesh"
  7045. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7046. p3 = Instance.new("Part", m)
  7047. p3.Material = "Neon"
  7048. colc = math.random(1,7)
  7049. p3.BrickColor = Neonsc[colc]
  7050. p3.FormFactor = Enum.FormFactor.Symmetric
  7051. p3.Size = Vector3.new(1, 2, 1)
  7052. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  7053. p3.CanCollide = false
  7054. p3.Locked = true
  7055. p3.Elasticity = 0
  7056. p3.BottomSurface = Enum.SurfaceType.Smooth
  7057. p3.TopSurface = Enum.SurfaceType.Smooth
  7058. b3 = Instance.new("BlockMesh", p3)
  7059. b3.Name = "Mesh"
  7060. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7061. p4 = Instance.new("Part", m)
  7062. p4.Material = "Neon"
  7063. colc = math.random(1,7)
  7064. p4.BrickColor = Neonsc[colc]
  7065. p4.Name = "BladePart"
  7066. p4.FormFactor = Enum.FormFactor.Symmetric
  7067. p4.Size = Vector3.new(1, 1, 1)
  7068. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  7069. p4.CanCollide = false
  7070. p4.Locked = true
  7071. p4.Elasticity = 0
  7072. p4.BottomSurface = Enum.SurfaceType.Smooth
  7073. p4.TopSurface = Enum.SurfaceType.Smooth
  7074. b4 = Instance.new("BlockMesh", p4)
  7075. b4.Name = "Mesh"
  7076. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7077. p5 = Instance.new("Part", m)
  7078. p5.Material = "Neon"
  7079. colc = math.random(1,7)
  7080. p5.BrickColor = Neonsc[colc]
  7081. p5.Name = "Hilt"
  7082. p5.FormFactor = Enum.FormFactor.Custom
  7083. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  7084. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  7085. p5.CanCollide = false
  7086. p5.Locked = true
  7087. p5.BottomSurface = Enum.SurfaceType.Smooth
  7088. p5.TopSurface = Enum.SurfaceType.Smooth
  7089. b5 = Instance.new("BlockMesh", p5)
  7090. b5.Name = "Mesh"
  7091. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  7092. p6 = Instance.new("Part", m)
  7093. p6.Material = "Neon"
  7094. colc = math.random(1,7)
  7095. p6.BrickColor = Neonsc[colc]
  7096. p6.Name = "Handle"
  7097. p6.FormFactor = Enum.FormFactor.Custom
  7098. p6.Size = Vector3.new(1.29999995, 1, 1)
  7099. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  7100. p6.CanCollide = false
  7101. p6.Locked = true
  7102. p6.BottomSurface = Enum.SurfaceType.Smooth
  7103. p6.TopSurface = Enum.SurfaceType.Smooth
  7104. b6 = Instance.new("SpecialMesh", p6)
  7105. b6.MeshType = Enum.MeshType.Cylinder
  7106. b6.Name = "Mesh"
  7107. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  7108. p7 = Instance.new("Part", m)
  7109. p7.Material = "Neon"
  7110. colc = math.random(1,7)
  7111. p7.BrickColor = Neonsc[colc]
  7112. p7.FormFactor = Enum.FormFactor.Symmetric
  7113. p7.Size = Vector3.new(1, 1, 1)
  7114. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  7115. p7.CanCollide = false
  7116. p7.Locked = true
  7117. b7 = Instance.new("SpecialMesh", p7)
  7118. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  7119. b7.TextureId = ""
  7120. b7.MeshType = Enum.MeshType.FileMesh
  7121. b7.Name = "Mesh"
  7122. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  7123. p8 = Instance.new("Part", m)
  7124. p8.Material = "Neon"
  7125. colc = math.random(1,7)
  7126. p8.BrickColor = Neonsc[colc]
  7127. p8.Name = "BladePart"
  7128. p8.FormFactor = Enum.FormFactor.Symmetric
  7129. p8.Size = Vector3.new(1, 1, 1)
  7130. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  7131. p8.CanCollide = false
  7132. p8.Locked = true
  7133. p8.Elasticity = 0
  7134. p8.BottomSurface = Enum.SurfaceType.Smooth
  7135. p8.TopSurface = Enum.SurfaceType.Smooth
  7136. b8 = Instance.new("BlockMesh", p8)
  7137. b8.Name = "Mesh"
  7138. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7139. p9 = Instance.new("Part", m)
  7140. p9.Material = "Neon"
  7141. colc = math.random(1,7)
  7142. p9.BrickColor = Neonsc[colc]
  7143. p9.Name = "BladePart"
  7144. p9.FormFactor = Enum.FormFactor.Symmetric
  7145. p9.Size = Vector3.new(1, 1, 1)
  7146. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  7147. p9.CanCollide = false
  7148. p9.Locked = true
  7149. p9.Elasticity = 0
  7150. p9.BottomSurface = Enum.SurfaceType.Smooth
  7151. p9.TopSurface = Enum.SurfaceType.Smooth
  7152. b9 = Instance.new("BlockMesh", p9)
  7153. b9.Name = "Mesh"
  7154. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7155. p10 = Instance.new("Part", m)
  7156. p10.Material = "Neon"
  7157. colc = math.random(1,7)
  7158. p10.BrickColor = Neonsc[colc]
  7159. p10.Name = "BladeTip"
  7160. p10.FormFactor = Enum.FormFactor.Symmetric
  7161. p10.Size = Vector3.new(1, 1, 2)
  7162. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  7163. p10.CanCollide = false
  7164. p10.Locked = true
  7165. p10.Elasticity = 0
  7166. p10.BottomSurface = Enum.SurfaceType.Smooth
  7167. p10.TopSurface = Enum.SurfaceType.Smooth
  7168. b10 = Instance.new("SpecialMesh", p10)
  7169. b10.MeshType = Enum.MeshType.Wedge
  7170. b10.Name = "Mesh"
  7171. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  7172. p11 = Instance.new("Part", m)
  7173. p11.Material = "Neon"
  7174. colc = math.random(1,7)
  7175. p11.BrickColor = Neonsc[colc]
  7176. p11.Name = "BladePart"
  7177. p11.FormFactor = Enum.FormFactor.Symmetric
  7178. p11.Size = Vector3.new(1, 1, 1)
  7179. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  7180. p11.CanCollide = false
  7181. p11.Locked = true
  7182. p11.Elasticity = 0
  7183. p11.BottomSurface = Enum.SurfaceType.Smooth
  7184. p11.TopSurface = Enum.SurfaceType.Smooth
  7185. b11 = Instance.new("BlockMesh", p11)
  7186. b11.Name = "Mesh"
  7187. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7188. p12 = Instance.new("Part", m)
  7189. p12.Material = "Neon"
  7190. colc = math.random(1,7)
  7191. p12.BrickColor = Neonsc[colc]
  7192. p12.Name = "BladeTip2"
  7193. p12.FormFactor = Enum.FormFactor.Custom
  7194. p12.Size = Vector3.new(1, 1, 2.4000001)
  7195. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  7196. p12.CanCollide = false
  7197. p12.Locked = true
  7198. p12.Elasticity = 0
  7199. p12.BottomSurface = Enum.SurfaceType.Smooth
  7200. p12.TopSurface = Enum.SurfaceType.Smooth
  7201. b12 = Instance.new("SpecialMesh", p12)
  7202. b12.MeshType = Enum.MeshType.Wedge
  7203. b12.Name = "Mesh"
  7204. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  7205. p13 = Instance.new("Part", m)
  7206. p13.Material = "Neon"
  7207. p13.BrickColor = BrickColor.new("Medium stone grey")
  7208. p13.Transparency = 1
  7209. p13.Name = "HitBox"
  7210. p13.FormFactor = Enum.FormFactor.Custom
  7211. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  7212. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  7213. p13.CanCollide = false
  7214. p13.Locked = true
  7215. p13.BottomSurface = Enum.SurfaceType.Smooth
  7216. p13.TopSurface = Enum.SurfaceType.Smooth
  7217. w1 = Instance.new("Weld", p1)
  7218. w1.Name = "Part_Weld"
  7219. w1.Part0 = p1
  7220. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  7221. w1.Part1 = p2
  7222. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  7223. w2 = Instance.new("Weld", p2)
  7224. w2.Name = "Part_Weld"
  7225. w2.Part0 = p2
  7226. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  7227. w2.Part1 = p3
  7228. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  7229. w3 = Instance.new("Weld", p3)
  7230. w3.Name = "BladePart_Weld"
  7231. w3.Part0 = p3
  7232. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  7233. w3.Part1 = p4
  7234. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  7235. w4 = Instance.new("Weld", p4)
  7236. w4.Name = "Hilt_Weld"
  7237. w4.Part0 = p4
  7238. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  7239. w4.Part1 = p5
  7240. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  7241. w5 = Instance.new("Weld", p5)
  7242. w5.Name = "Handle_Weld"
  7243. w5.Part0 = p5
  7244. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  7245. w5.Part1 = p6
  7246. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  7247. w6 = Instance.new("Weld", p6)
  7248. w6.Name = "Part_Weld"
  7249. w6.Part0 = p6
  7250. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  7251. w6.Part1 = p7
  7252. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  7253. w7 = Instance.new("Weld", p7)
  7254. w7.Name = "BladePart_Weld"
  7255. w7.Part0 = p7
  7256. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  7257. w7.Part1 = p8
  7258. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  7259. w8 = Instance.new("Weld", p8)
  7260. w8.Name = "BladePart_Weld"
  7261. w8.Part0 = p8
  7262. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  7263. w8.Part1 = p9
  7264. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  7265. w9 = Instance.new("Weld", p9)
  7266. w9.Name = "BladeTip_Weld"
  7267. w9.Part0 = p9
  7268. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  7269. w9.Part1 = p10
  7270. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  7271. w10 = Instance.new("Weld", p10)
  7272. w10.Name = "BladePart_Weld"
  7273. w10.Part0 = p10
  7274. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  7275. w10.Part1 = p11
  7276. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  7277. w11 = Instance.new("Weld", p11)
  7278. w11.Name = "BladeTip2_Weld"
  7279. w11.Part0 = p11
  7280. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  7281. w11.Part1 = p12
  7282. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  7283. w12 = Instance.new("Weld", p12)
  7284. w12.Name = "HitBox_Weld"
  7285. w12.Part0 = p12
  7286. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  7287. w12.Part1 = p13
  7288. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  7289. w13 = Instance.new("Weld", p13)
  7290. w13.Name = "Weld"
  7291. w13.Part0 = p13
  7292. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  7293. m.Parent = char
  7294. m:MakeJoints()
  7295. ----------------------------------------------------
  7296. local cor = Instance.new("Part", char.Genkadda)
  7297. cor.Name = "Thingy"
  7298. cor.Locked = true
  7299. cor.BottomSurface = 0
  7300. cor.CanCollide = false
  7301. cor.Size = Vector3.new(1, 9, 1)
  7302. cor.Transparency = 1
  7303. cor.TopSurface = 0
  7304. corw = Instance.new("Weld", cor)
  7305. corw.Part0 = rarm
  7306. corw.Part1 = cor
  7307. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7308. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7309. weld1 = Instance.new("Weld", char.Genkadda)
  7310. weld1.Part0 = cor
  7311. weld1.Part1 = char.Genkadda.Handle
  7312. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  7313. blade1Tip = cor
  7314. end
  7315.  
  7316. --[[makeSword()
  7317. ----------------------------------------------------
  7318. ]]
  7319. blocks = {}
  7320. last_block = nil
  7321. function ezBlock(type, name, cframe, size, rotation, material, parent, BrickColor, transparency,
  7322.  
  7323. weldToThis, formFactor)
  7324. block = Instance.new(type, parent)
  7325. block.Name = name
  7326. block.FormFactor=formFactor
  7327. block.Size = size
  7328. block.CanCollide = false
  7329. block.Anchored = false
  7330. block.BrickColor = BrickColor
  7331. block.Transparency=transparency
  7332. block.TopSurface = 'SmoothNoOutlines'
  7333. block.BottomSurface = 'SmoothNoOutlines'
  7334. block.FrontSurface = 'SmoothNoOutlines'
  7335. block.BackSurface = 'SmoothNoOutlines'
  7336. block.LeftSurface = 'SmoothNoOutlines'
  7337. block.RightSurface = 'SmoothNoOutlines'
  7338. block.Material = material
  7339. block.formFactor = 'Custom'
  7340. block.CFrame = cframe
  7341.  
  7342. if weldToThis then
  7343. stick(weldToThis, block)
  7344. elseif last_block ~= nil then
  7345. stick(block, last_block)
  7346. last_block = block
  7347. else
  7348. last_block = block
  7349. end
  7350. table.insert(blocks, block)
  7351.  
  7352. return #blocks
  7353. end
  7354. --[[
  7355. ----------------------------------------------------
  7356. for i, v in pairs(blocks) do
  7357. v.Parent = char.Genkadda
  7358. end
  7359. ----------------------------------------------------
  7360. local LastCFr = nil
  7361. local Trails = Instance.new("Model",char)
  7362. local Trail = {}
  7363. local Tip = char.Genkadda.BladeTip --blocks[test]
  7364. local number = 0
  7365. local num2 = 1
  7366. ]]
  7367.  
  7368.  
  7369. function startBloxFX()
  7370. local eff2 = Instance.new("Part", char)
  7371. eff2.Size = Vector3.new(10, 10, 10)
  7372. eff2.Transparency = 0
  7373. eff2.Material = "Neon"
  7374. eff2.Anchored = true
  7375. eff2.CanCollide = false
  7376. eff2.CFrame = char.Torso.CFrame
  7377. eff2eff = Instance.new("SelectionBox", eff2)
  7378. eff2eff.Adornee = eff2
  7379.  
  7380. local Hair = Instance.new("Part", char)
  7381. Hair.Name = "Hair"
  7382. Hair.Material = "Neon"
  7383. Hair.Size = Vector3.new(2, 0.8, 2.4)
  7384. Hold = Instance.new("Weld", char.Head)
  7385. Hold.Part0 = char.Head
  7386. Hold.Part1 = Hair
  7387. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  7388. local Mesh = Instance.new("SpecialMesh", Hair)
  7389. Mesh.MeshType = "FileMesh"
  7390. Mesh.Scale = Vector3.new(1.2, 1, 1)
  7391. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  7392. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  7393. -----------------------------------BLOXFUNC_
  7394. p1 = Instance.new("Part", m)
  7395. p1.Material = "Neon"
  7396. colc = math.random(1,7)
  7397. p1.BrickColor = Neonsc[colc]
  7398. p1.Name = "BladePart"
  7399. p1.FormFactor = Enum.FormFactor.Symmetric
  7400. p1.Size = Vector3.new(1, 1, 1)
  7401. p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006)
  7402. p1.CanCollide = false
  7403. p1.Locked = true
  7404. p1.Elasticity = 0
  7405. p1.BottomSurface = Enum.SurfaceType.Smooth
  7406. p1.TopSurface = Enum.SurfaceType.Smooth
  7407. b1 = Instance.new("BlockMesh", p1)
  7408. b1.Name = "Mesh"
  7409. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7410. p2 = Instance.new("Part", m)
  7411. p2.Material = "Neon"
  7412. colc = math.random(1,7)
  7413. p2.BrickColor = Neonsc[colc]
  7414. p2.FormFactor = Enum.FormFactor.Symmetric
  7415. p2.Size = Vector3.new(1, 1, 1)
  7416. p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094)
  7417. p2.CanCollide = false
  7418. p2.Locked = true
  7419. p2.Elasticity = 0
  7420. p2.BottomSurface = Enum.SurfaceType.Smooth
  7421. p2.TopSurface = Enum.SurfaceType.Smooth
  7422. b2 = Instance.new("BlockMesh", p2)
  7423. b2.Name = "Mesh"
  7424. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7425. p3 = Instance.new("Part", m)
  7426. p3.Material = "Neon"
  7427. colc = math.random(1,7)
  7428. p3.BrickColor = Neonsc[colc]
  7429. p3.FormFactor = Enum.FormFactor.Symmetric
  7430. p3.Size = Vector3.new(1, 2, 1)
  7431. p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005)
  7432. p3.CanCollide = false
  7433. p3.Locked = true
  7434. p3.Elasticity = 0
  7435. p3.BottomSurface = Enum.SurfaceType.Smooth
  7436. p3.TopSurface = Enum.SurfaceType.Smooth
  7437. b3 = Instance.new("BlockMesh", p3)
  7438. b3.Name = "Mesh"
  7439. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7440. p4 = Instance.new("Part", m)
  7441. p4.Material = "Neon"
  7442. colc = math.random(1,7)
  7443. p4.BrickColor = Neonsc[colc]
  7444. p4.Name = "BladePart"
  7445. p4.FormFactor = Enum.FormFactor.Symmetric
  7446. p4.Size = Vector3.new(1, 1, 1)
  7447. p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005)
  7448. p4.CanCollide = false
  7449. p4.Locked = true
  7450. p4.Elasticity = 0
  7451. p4.BottomSurface = Enum.SurfaceType.Smooth
  7452. p4.TopSurface = Enum.SurfaceType.Smooth
  7453. b4 = Instance.new("BlockMesh", p4)
  7454. b4.Name = "Mesh"
  7455. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7456. p5 = Instance.new("Part", m)
  7457. p5.Material = "Neon"
  7458. colc = math.random(1,7)
  7459. p5.BrickColor = Neonsc[colc]
  7460. p5.Name = "Hilt"
  7461. p5.FormFactor = Enum.FormFactor.Custom
  7462. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  7463. p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166)
  7464. p5.CanCollide = false
  7465. p5.Locked = true
  7466. p5.BottomSurface = Enum.SurfaceType.Smooth
  7467. p5.TopSurface = Enum.SurfaceType.Smooth
  7468. b5 = Instance.new("BlockMesh", p5)
  7469. b5.Name = "Mesh"
  7470. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  7471. p6 = Instance.new("Part", m)
  7472. p6.Material = "Neon"
  7473. colc = math.random(1,7)
  7474. p6.BrickColor = Neonsc[colc]
  7475. p6.Name = "Handle"
  7476. p6.FormFactor = Enum.FormFactor.Custom
  7477. p6.Size = Vector3.new(1.29999995, 1, 1)
  7478. p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005)
  7479. p6.CanCollide = false
  7480. p6.Locked = true
  7481. p6.BottomSurface = Enum.SurfaceType.Smooth
  7482. p6.TopSurface = Enum.SurfaceType.Smooth
  7483. b6 = Instance.new("SpecialMesh", p6)
  7484. b6.MeshType = Enum.MeshType.Cylinder
  7485. b6.Name = "Mesh"
  7486. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  7487. p7 = Instance.new("Part", m)
  7488. p7.Material = "Neon"
  7489. colc = math.random(1,7)
  7490. p7.BrickColor = Neonsc[colc]
  7491. p7.FormFactor = Enum.FormFactor.Symmetric
  7492. p7.Size = Vector3.new(1, 1, 1)
  7493. p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156)
  7494. p7.CanCollide = false
  7495. p7.Locked = true
  7496. b7 = Instance.new("SpecialMesh", p7)
  7497. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  7498. b7.TextureId = ""
  7499. b7.MeshType = Enum.MeshType.FileMesh
  7500. b7.Name = "Mesh"
  7501. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  7502. p8 = Instance.new("Part", m)
  7503. p8.Material = "Neon"
  7504. colc = math.random(1,7)
  7505. p8.BrickColor = Neonsc[colc]
  7506. p8.Name = "BladePart"
  7507. p8.FormFactor = Enum.FormFactor.Symmetric
  7508. p8.Size = Vector3.new(1, 1, 1)
  7509. p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005)
  7510. p8.CanCollide = false
  7511. p8.Locked = true
  7512. p8.Elasticity = 0
  7513. p8.BottomSurface = Enum.SurfaceType.Smooth
  7514. p8.TopSurface = Enum.SurfaceType.Smooth
  7515. b8 = Instance.new("BlockMesh", p8)
  7516. b8.Name = "Mesh"
  7517. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7518. p9 = Instance.new("Part", m)
  7519. p9.Material = "Neon"
  7520. colc = math.random(1,7)
  7521. p9.BrickColor = Neonsc[colc]
  7522. p9.Name = "BladePart"
  7523. p9.FormFactor = Enum.FormFactor.Symmetric
  7524. p9.Size = Vector3.new(1, 1, 1)
  7525. p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005)
  7526. p9.CanCollide = false
  7527. p9.Locked = true
  7528. p9.Elasticity = 0
  7529. p9.BottomSurface = Enum.SurfaceType.Smooth
  7530. p9.TopSurface = Enum.SurfaceType.Smooth
  7531. b9 = Instance.new("BlockMesh", p9)
  7532. b9.Name = "Mesh"
  7533. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7534. p10 = Instance.new("Part", m)
  7535. p10.Material = "Neon"
  7536. colc = math.random(1,7)
  7537. p10.BrickColor = Neonsc[colc]
  7538. p10.Name = "BladeTip"
  7539. p10.FormFactor = Enum.FormFactor.Symmetric
  7540. p10.Size = Vector3.new(1, 1, 2)
  7541. p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971)
  7542. p10.CanCollide = false
  7543. p10.Locked = true
  7544. p10.Elasticity = 0
  7545. p10.BottomSurface = Enum.SurfaceType.Smooth
  7546. p10.TopSurface = Enum.SurfaceType.Smooth
  7547. b10 = Instance.new("SpecialMesh", p10)
  7548. b10.MeshType = Enum.MeshType.Wedge
  7549. b10.Name = "Mesh"
  7550. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  7551. p11 = Instance.new("Part", m)
  7552. p11.Material = "Neon"
  7553. colc = math.random(1,7)
  7554. p11.BrickColor = Neonsc[colc]
  7555. p11.Name = "BladePart"
  7556. p11.FormFactor = Enum.FormFactor.Symmetric
  7557. p11.Size = Vector3.new(1, 1, 1)
  7558. p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005)
  7559. p11.CanCollide = false
  7560. p11.Locked = true
  7561. p11.Elasticity = 0
  7562. p11.BottomSurface = Enum.SurfaceType.Smooth
  7563. p11.TopSurface = Enum.SurfaceType.Smooth
  7564. b11 = Instance.new("BlockMesh", p11)
  7565. b11.Name = "Mesh"
  7566. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7567. p12 = Instance.new("Part", m)
  7568. p12.Material = "Neon"
  7569. colc = math.random(1,7)
  7570. p12.BrickColor = Neonsc[colc]
  7571. p12.Name = "BladeTip2"
  7572. p12.FormFactor = Enum.FormFactor.Custom
  7573. p12.Size = Vector3.new(1, 1, 2.4000001)
  7574. p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727)
  7575. p12.CanCollide = false
  7576. p12.Locked = true
  7577. p12.Elasticity = 0
  7578. p12.BottomSurface = Enum.SurfaceType.Smooth
  7579. p12.TopSurface = Enum.SurfaceType.Smooth
  7580. b12 = Instance.new("SpecialMesh", p12)
  7581. b12.MeshType = Enum.MeshType.Wedge
  7582. b12.Name = "Mesh"
  7583. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  7584. p13 = Instance.new("Part", m)
  7585. p13.Material = "Neon"
  7586. p13.BrickColor = BrickColor.new("Medium stone grey")
  7587. p13.Transparency = 1
  7588. p13.Name = "HitBox"
  7589. p13.FormFactor = Enum.FormFactor.Custom
  7590. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  7591. p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006)
  7592. p13.CanCollide = false
  7593. p13.Locked = true
  7594. p13.BottomSurface = Enum.SurfaceType.Smooth
  7595. p13.TopSurface = Enum.SurfaceType.Smooth
  7596. w1 = Instance.new("Weld", p1)
  7597. w1.Name = "Part_Weld"
  7598. w1.Part0 = p1
  7599. w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006)
  7600. w1.Part1 = p2
  7601. w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  7602. w2 = Instance.new("Weld", p2)
  7603. w2.Name = "Part_Weld"
  7604. w2.Part0 = p2
  7605. w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159)
  7606. w2.Part1 = p3
  7607. w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  7608. w3 = Instance.new("Weld", p3)
  7609. w3.Name = "BladePart_Weld"
  7610. w3.Part0 = p3
  7611. w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008)
  7612. w3.Part1 = p4
  7613. w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  7614. w4 = Instance.new("Weld", p4)
  7615. w4.Name = "Hilt_Weld"
  7616. w4.Part0 = p4
  7617. w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006)
  7618. w4.Part1 = p5
  7619. w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  7620. w5 = Instance.new("Weld", p5)
  7621. w5.Name = "Handle_Weld"
  7622. w5.Part0 = p5
  7623. w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243)
  7624. w5.Part1 = p6
  7625. w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  7626. w6 = Instance.new("Weld", p6)
  7627. w6.Name = "Part_Weld"
  7628. w6.Part0 = p6
  7629. w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008)
  7630. w6.Part1 = p7
  7631. w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  7632. w7 = Instance.new("Weld", p7)
  7633. w7.Name = "BladePart_Weld"
  7634. w7.Part0 = p7
  7635. w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335)
  7636. w7.Part1 = p8
  7637. w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  7638. w8 = Instance.new("Weld", p8)
  7639. w8.Name = "BladePart_Weld"
  7640. w8.Part0 = p8
  7641. w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006)
  7642. w8.Part1 = p9
  7643. w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  7644. w9 = Instance.new("Weld", p9)
  7645. w9.Name = "BladeTip_Weld"
  7646. w9.Part0 = p9
  7647. w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006)
  7648. w9.Part1 = p10
  7649. w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  7650. w10 = Instance.new("Weld", p10)
  7651. w10.Name = "BladePart_Weld"
  7652. w10.Part0 = p10
  7653. w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647)
  7654. w10.Part1 = p11
  7655. w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  7656. w11 = Instance.new("Weld", p11)
  7657. w11.Name = "BladeTip2_Weld"
  7658. w11.Part0 = p11
  7659. w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006)
  7660. w11.Part1 = p12
  7661. w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  7662. w12 = Instance.new("Weld", p12)
  7663. w12.Name = "HitBox_Weld"
  7664. w12.Part0 = p12
  7665. w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397)
  7666. w12.Part1 = p13
  7667. w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  7668. w13 = Instance.new("Weld", p13)
  7669. w13.Name = "Weld"
  7670. w13.Part0 = p13
  7671. w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
  7672. m.Parent = char
  7673. m:MakeJoints()
  7674. ----------------------------------------------------
  7675. local cor = Instance.new("Part", char.Genkadda)
  7676. cor.Name = "Thingy"
  7677. cor.Locked = true
  7678. cor.BottomSurface = 0
  7679. cor.CanCollide = false
  7680. cor.Size = Vector3.new(1, 9, 1)
  7681. cor.Transparency = 1
  7682. cor.TopSurface = 0
  7683. corw = Instance.new("Weld", cor)
  7684. corw.Part0 = rarm
  7685. corw.Part1 = cor
  7686. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7687. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7688. weld1 = Instance.new("Weld", char.Genkadda)
  7689. weld1.Part0 = cor
  7690. weld1.Part1 = char.Genkadda.Handle
  7691. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  7692. blade1Tip = p13
  7693. blade1cor0 = corw
  7694. --blade1cor0.C0 = CFrame.new(-1, 3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  7695. --blade1cor0.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7696. ----------------------------------------------------BLOXFUNC_SWORD_END
  7697. ----------------------------------------------------
  7698. for i, v in pairs(blocks) do
  7699. v.Parent = char.Genkadda
  7700. end
  7701. ----------------------------------------------------
  7702. local LastCFr = nil
  7703. local Trails = Instance.new("Model",char)
  7704. local Trail = {}
  7705. local Tip = char.Genkadda.BladeTip --blocks[test]
  7706. local number = 0
  7707. local num2 = 1
  7708. -------VANISH
  7709. for i = 1, 10 do wait()
  7710. for i,v in pairs(char.Genkadda:GetChildren()) do
  7711. if v:IsA("Part") or v:IsA("WedgePart") then
  7712. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7713. v.Transparency = v.Transparency + 0.1
  7714. end
  7715. end
  7716. end
  7717. end
  7718.  
  7719. ----------
  7720.  
  7721. --Vanish()
  7722. ----------APPEAR
  7723. for i = 1, 10 do wait()
  7724. for i,v in pairs(char.Genkadda:GetChildren()) do
  7725. if v:IsA("Part") or v:IsA("WedgePart") then
  7726. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7727. v.Transparency = v.Transparency - 0.1
  7728. end
  7729. end
  7730. end
  7731. end
  7732. ---------------------
  7733. --Appear()
  7734. for i = 1, 30 do
  7735. colc = math.random(1,7)
  7736. eff2.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  7737. eff2.BrickColor = Neonsc[colc]
  7738. eff2eff.Color = BrickColor.Random()
  7739. wait()
  7740. end
  7741.  
  7742. -------VANISH
  7743. for i = 1, 10 do wait()
  7744. for i,v in pairs(char.Genkadda:GetChildren()) do
  7745. if v:IsA("Part") or v:IsA("WedgePart") then
  7746. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7747. v.Transparency = v.Transparency + 0.1
  7748. end
  7749. end
  7750. end
  7751. end
  7752.  
  7753. ----------
  7754. --Vanish()
  7755.  
  7756. eff2:Remove()
  7757. newMode = false
  7758. end
  7759.  
  7760.  
  7761. ---------------------------------
  7762.  
  7763. startBloxFX()
  7764.  
  7765. function Vanish()
  7766. for i = 1, 10 do wait()
  7767. for i,v in pairs(char.Genkadda:GetChildren()) do
  7768. if v:IsA("Part") or v:IsA("WedgePart") then
  7769. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7770. v.Transparency = v.Transparency + 0.1
  7771. end
  7772. end
  7773. end
  7774. end
  7775. end
  7776. ----------------------------------------------------
  7777. function Appear()
  7778. for i = 1, 10 do wait()
  7779. for i,v in pairs(char.Genkadda:GetChildren()) do
  7780. if v:IsA("Part") or v:IsA("WedgePart") then
  7781. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7782. v.Transparency = v.Transparency - 0.1
  7783. end
  7784. end
  7785. end
  7786. end
  7787. end
  7788. ---------------------------------
  7789. local clawPart1 = { }
  7790. Melee = true
  7791. mouse.KeyDown:connect(function(key)
  7792. if key == "m" then
  7793. if rainbowssl == false then
  7794. if Melee == false then
  7795. powerHand = true
  7796. rainbowHands = true
  7797. Melee = true
  7798. if sword2 ~= true then
  7799. Vanish()
  7800. else
  7801. sword2 = false
  7802. removeSword()
  7803. end
  7804. stanceToggle = "Melee"
  7805. rainbowHands = false
  7806. powerHand = false
  7807. elseif Melee == true then
  7808. powerHand = true
  7809. rainbowHands = true
  7810. Melee = false
  7811. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  7812. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  7813. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7814. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7815. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7816. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7817. Appear()
  7818. stanceToggle = "Normal"
  7819. rainbowHands = false
  7820. powerHand = false
  7821. end
  7822. elseif rainbowssl == true then
  7823. if Melee == false then
  7824. if myVars[5] == "normal" then
  7825. powerHand = true
  7826. rainbowHands = true
  7827. Melee = true
  7828. if clawPart1 == nil then
  7829. char.Humanoid.Health = 0
  7830. end
  7831. for i, v in ipairs(clawPart1) do
  7832. v:Destroy()
  7833. end
  7834.  
  7835. myVars[3] = "none"
  7836. wait(1)
  7837. stanceToggle = "Melee"
  7838. rainbowHands = false
  7839. powerHand = false
  7840. else
  7841. if myVars[5] == "ssl3" then
  7842. Melee = true
  7843. powerHand = true
  7844. rainbowHands = true
  7845. myVars[7] = false
  7846. ssl3Vanish()
  7847. print("ssl3vanish")
  7848. wait(1)
  7849. rainbowHands = false
  7850. powerHand = false
  7851. elseif myVars[5] == "ssl3_1" then
  7852. rainbowHands = true
  7853. ssl3Vanish()
  7854. myVars[5] = "ssl3"
  7855. print("ssl3vanish_1")
  7856. wait(1)
  7857. rainbowHands = false
  7858. end
  7859. end
  7860. elseif Melee == true then
  7861. if myVars[5] == "normal" then
  7862. powerHand = true
  7863. rainbowHands = true
  7864. Melee = false
  7865. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  7866. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  7867. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7868. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7869. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  7870. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  7871. makeClaw()
  7872. myVars[3] = "claw"
  7873. wait(1)
  7874. stanceToggle = "Normal"
  7875. rainbowHands = false
  7876. powerHand = false
  7877. else
  7878. powerHand = true
  7879. rainbowHands = true
  7880. Melee = false
  7881. ssl3Appear()
  7882. myVars[7] = true
  7883. print("ssl3Made")
  7884. wait(1)
  7885. rainbowHands = false
  7886. --equipHands()
  7887. powerHand = false
  7888. return true
  7889. end
  7890. end
  7891. end
  7892. end
  7893. end)
  7894. ----------------------------------------------------
  7895.  
  7896.  
  7897. mouse.KeyDown:connect(function(key)
  7898. if key == "u" then
  7899. if Melee == false then
  7900. if Debounces.CanAttack == true then
  7901. Debounces.CanAttack = false
  7902. Debounces.NoIdl = true
  7903. Debounces.on = true
  7904. if myVars[5] == "normal" then
  7905. swordPowerUp = true
  7906. blade1cor0.C0 = CFrame.new(-2, -5, -0.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7907. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7908.  
  7909. for i = 1, 10 do
  7910. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  7911. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(160),math.rad(20),math.rad(20)), 0.92)
  7912. wait(0.5)
  7913. end
  7914. local eff3 = Instance.new("Part", char)
  7915. eff3.Size = Vector3.new(20, 20, 20)
  7916. eff3.Transparency = 0
  7917. eff3.Material = "Neon"
  7918. eff3.Anchored = true
  7919. eff3.CanCollide = false
  7920. eff3.Shape = "Ball"
  7921. eff3.CFrame = blade1Tip.CFrame
  7922. for i = 1, 40 do
  7923. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  7924. eff3.CFrame = blade1Tip.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  7925. eff3.BrickColor = BrickColor.Random()
  7926. wait()
  7927. end
  7928. Vanish()
  7929. eff3:Remove()
  7930. blade1cor0.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7931. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7932. upgradeSword()
  7933. sword2 = true
  7934. swordPowerUp = false
  7935. Debounces.CanAttack = true
  7936. Debounces.NoIdl = false
  7937. Debounces.on = false
  7938. elseif myVars[5] == "ssl3" then
  7939. powerHand = true
  7940. rainbowHands = true
  7941. Melee = true
  7942. --ssl3Vanish()
  7943. print("ssl3vanish")
  7944. wait(1)
  7945. rainbowHands = false
  7946. powerHand = false
  7947. myVars[5] = "ssl3_1"
  7948. myVars[7] = true
  7949. myVars[8] = 0
  7950. rainbowHands = true
  7951. Melee = false
  7952. sslBurst1()
  7953. print("ssl3Made")
  7954. wait(1)
  7955. rainbowHands = false
  7956. equipHands()
  7957. Debounces.CanAttack = true
  7958. Debounces.NoIdl = false
  7959. Debounces.on = false
  7960. end
  7961. end
  7962. end
  7963. end
  7964. end)
  7965. ----------------------------------------------------
  7966. local ballAtt = 0
  7967. mouse.KeyDown:connect(function(key)
  7968. if key == "g" then
  7969. if rainbowHands == true then
  7970. if Debounces.CanAttack == true then
  7971. Debounces.CanAttack = false
  7972. Debounces.NoIdl = true
  7973. Debounces.on = true
  7974. if ballAtt == 1 then
  7975. ballAtt = 2
  7976. elseif ballAtt == 2 then
  7977. ballAtt = 1
  7978. end
  7979. if ballAtt == 0 then
  7980. ballAtt = 1
  7981. end
  7982. local shell = Instance.new("Part",torso)
  7983. shell.BrickColor = Neonsc[colc]
  7984. shell.Anchored = true
  7985. shell.CanCollide = false
  7986. shell.Locked = true
  7987. shell.TopSurface = "SmoothNoOutlines"
  7988. shell.BottomSurface = "SmoothNoOutlines"
  7989. shell.Size = Vector3.new(1,1,1)
  7990. shellm = Instance.new("SpecialMesh",shell)
  7991. shellm.MeshType = "Sphere"
  7992. shellm.Scale = Vector3.new(1,1,1)
  7993. local shell2 = Instance.new("Part",torso)
  7994. shell2.BrickColor = Neonsc[colc]
  7995. shell2.Anchored = true
  7996. shell2.CanCollide = false
  7997. shell2.Locked = true
  7998. shell2.TopSurface = "SmoothNoOutlines"
  7999. shell2.BottomSurface = "SmoothNoOutlines"
  8000. shell2.Size = Vector3.new(1,1,1)
  8001. shellm2 = Instance.new("SpecialMesh",shell2)
  8002. shellm2.MeshType = "Sphere"
  8003. shellm2.Scale = Vector3.new(1,1,1)
  8004.  
  8005. function FindNearestTorso(Position,Distance,SinglePlayer)
  8006. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  8007. local List = {}
  8008. for i,v in pairs(workspace:GetChildren())do
  8009. if v:IsA("Model")then
  8010. if v:findFirstChild("Torso")then
  8011. if v ~= char then
  8012. if(v.Torso.Position -Position).magnitude <= Distance then
  8013. table.insert(List,v)
  8014. end
  8015. end
  8016. end
  8017. end
  8018. end
  8019. return List
  8020. end
  8021.  
  8022. Shell = function()
  8023. local X = Instance.new("Part",char)
  8024. local O = Instance.new("ObjectValue",X)
  8025. O.Name = "creator"
  8026. X.Locked = true
  8027. X.Name = "Shell"
  8028. X.Anchored = false
  8029. X.CanCollide = false
  8030. X.Transparency = 0
  8031. X.Reflectance = 100
  8032. X.BottomSurface = 0
  8033. X.TopSurface = 0
  8034. X.Shape = 0
  8035. local V = Instance.new("ObjectValue",X)
  8036. V.Value = char
  8037. V.Name = "creator"
  8038. X.BrickColor = Neonsc[colc]
  8039. X.Size = Vector3.new(1,1,1)
  8040. X.Material = "Neon"
  8041. local Z = Instance.new("SpecialMesh",X)
  8042. Z.MeshType = "Sphere"
  8043. Z.Scale = Vector3.new(1,1,1)
  8044. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  8045. local bv = Instance.new("BodyVelocity",X)
  8046. bv.maxForce = Vector3.new(99999,99999,99999)
  8047. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  8048. bv.velocity = root.CFrame.lookVector*65
  8049. Explode = X.Touched:connect(function(hit)
  8050. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  8051. local cf = X.CFrame
  8052. bv:Destroy()
  8053. --if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") and hit:IsA("BasePart}") == false then
  8054. -- hit:Destroy()
  8055. --end
  8056. X.Anchored = true
  8057. Z:Remove()
  8058. Explode:disconnect()
  8059. X.Size = Vector3.new(3,3,3)
  8060. X.Touched:connect(function(hit) end)
  8061. X.CanCollide = false
  8062. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  8063. if v:FindFirstChild('Humanoid') then
  8064. v.Humanoid:TakeDamage(1000)
  8065. end
  8066. end
  8067. for i = 1, (40) do rs:wait()
  8068. X.Transparency = X.Transparency + (1/40)
  8069. X.Size = X.Size + Vector3.new(1,1,1)
  8070. X.CFrame = cf
  8071. end
  8072. X:Destroy()
  8073. end
  8074. end)
  8075. end
  8076. if ballAtt == 1 then
  8077. Shell()
  8078. shell.Transparency = 0
  8079. shell2.Transparency = 1
  8080. for i = 1, 10 do
  8081. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  8082. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
  8083. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
  8084. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  8085. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  8086. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
  8087. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
  8088. if Debounces.on == false then break end
  8089. rs:wait()
  8090. end
  8091. shell.Transparency = 1
  8092. shell2.Transparency = 1
  8093. end
  8094. if ballAtt == 2 then
  8095. Shell()
  8096. shell.Transparency = 1
  8097. shell2.Transparency = 0
  8098. for i = 1, 10 do
  8099. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  8100. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
  8101. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
  8102. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  8103. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  8104. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
  8105. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
  8106. if Debounces.on == false then break end
  8107. rs:wait()
  8108. end
  8109. shell2.Transparency = 1
  8110. end
  8111. if Debounces.CanAttack == false then
  8112. Debounces.CanAttack = true
  8113. Debounces.NoIdl = false
  8114. Debounces.on = false
  8115. end
  8116. end
  8117. else
  8118. if myVars[3] == "claw" then
  8119. if Debounces.CanAttack == true then
  8120. Debounces.CanAttack = false
  8121. Debounces.NoIdl = true
  8122. Debounces.on = true
  8123. fistBomb()
  8124. Debounces.CanAttack = true
  8125. Debounces.NoIdl = false
  8126. Debounces.on = false
  8127. end
  8128. end
  8129. end
  8130. end
  8131. end)
  8132. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  8133. local prt=parto(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8134. prt.Anchored=true
  8135. prt.CFrame = cframe
  8136. local msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  8137. coroutine.resume(coroutine.create(function()
  8138. for i=0,1,0.05 do
  8139. wait()
  8140. prt.Transparency=i
  8141. msh.Scale=msh.Scale+vt(x2,y2,z2)
  8142. end
  8143. prt.Parent=nil
  8144. end))
  8145. end
  8146.  
  8147. function fistBomb()
  8148. for i = 0,1,0.1 do
  8149. swait()
  8150. --torso.Weld.C0 = clerp(torso.Weld.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  8151. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  8152. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  8153. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  8154. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8155. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8156. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8157. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8158. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8159. end
  8160. MagniDamageo(clawPart1[11],clawPart1[11],20,20,30,0,"Knockdown")
  8161. local hit,pos=rayCast(clawPart1[11].Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  8162. if hit~=nil then
  8163. print("test1")
  8164. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  8165. print("test2")
  8166. ref2.Anchored=true
  8167. print("test3")
  8168. ref2.CFrame=cf(pos)
  8169. print("test4")
  8170. game:GetService("Debris"):AddItem(ref2,3)
  8171. print("test5")
  8172. for i=1,10 do
  8173. local Col=BrickColor.new("New Yeller")
  8174. local groundpart=parto(3,workspace,"Neon",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  8175. groundpart.Anchored=true
  8176. groundpart.CanCollide=false
  8177. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  8178. game:GetService("Debris"):AddItem(groundpart,5)
  8179. end
  8180. BlastEffect(BrickColor.new("New Yeller"),cf(pos),1,1,1,.7,.7,.7)
  8181. MagicCircleo(BrickColor.new("New Yeller"),cf(pos),3,3,3,5,5,5,0.05)
  8182. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  8183. end
  8184. for i = 0,1,0.1 do
  8185. swait()
  8186. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  8187. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  8188. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  8189. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8190. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8191. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8192. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8193. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8194. end
  8195. end
  8196.  
  8197.  
  8198. function modeChange()
  8199. colc = math.random(1,7)
  8200. local fx = Instance.new("Part",torso)
  8201. fx.Anchored = true
  8202. fx.Material = "Neon"
  8203. fx.CanCollide = false
  8204. fx.Locked = true
  8205. fx.Transparency = 1
  8206. fx.Material = "Neon"
  8207. fx.Size = Vector3.new(1,1,1)
  8208. fx.TopSurface = "SmoothNoOutlines"
  8209. fx.BottomSurface = "SmoothNoOutlines"
  8210. fx.BrickColor = Neonsc[colc]
  8211. fxm = Instance.new("SpecialMesh",fx)
  8212. fxm.MeshType = "Sphere"
  8213. fxm.Scale = Vector3.new(1,1,1)
  8214. for i = 1, 20 do rs:wait()
  8215. fx.BrickColor = Neonsc[colc]
  8216. fx.Transparency = fx.Transparency - (1/20)
  8217. fx.CFrame = torso.CFrame
  8218. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  8219. rs:wait()
  8220. end
  8221.  
  8222. for i = 1, 20 do rs:wait()
  8223. fx.BrickColor = Neonsc[colc]
  8224. fx.CFrame = torso.CFrame
  8225. end
  8226.  
  8227. if char.Hair == nil then
  8228. spawnHair()
  8229. end
  8230. for i,v in pairs(char:children()) do
  8231. if v == char.Hair then
  8232. v:Destroy()
  8233. break
  8234. end
  8235. end
  8236.  
  8237. if rainbowssl == true then
  8238. spawnHair()
  8239. else
  8240. local Hair = Instance.new("Part", char)
  8241. Hair.Name = "Hair"
  8242. Hair.Material = "Neon"
  8243. Hair.Size = Vector3.new(2, 0.8, 2.4)
  8244. Hold = Instance.new("Weld", char.Head)
  8245. Hold.Part0 = char.Head
  8246. Hold.Part1 = Hair
  8247. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  8248. local Mesh = Instance.new("SpecialMesh", Hair)
  8249. Mesh.MeshType = "FileMesh"
  8250. Mesh.Scale = Vector3.new(1.2, 1, 1)
  8251. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  8252. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  8253. end
  8254.  
  8255.  
  8256. for i = 1, 20 do rs:wait()
  8257. fx.BrickColor = Neonsc[colc]
  8258. fx.Transparency = fx.Transparency + (1/20)
  8259. fx.CFrame = torso.CFrame
  8260. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  8261. rs:wait()
  8262. end
  8263.  
  8264. end
  8265. ----------------------------------------------------
  8266. myVars[5] = "normal"
  8267. mouse.KeyDown:connect(function(key)
  8268. if key == "n" then
  8269. if rainbowssl == true then
  8270.  
  8271. if myVars[5] == "ssl3" then
  8272. myVars[5] = "Normal"
  8273. rainbowssl = false
  8274. newMode = true
  8275. if Debounces.CanAttack == false then
  8276. Debounces.CanAttack = true
  8277. Debounces.NoIdl = false
  8278. end
  8279. modeChange()
  8280. wait(1)
  8281. newMode = false
  8282. return true
  8283. else
  8284. if Debounces.CanAttack == true then
  8285. Debounces.CanAttack = false
  8286. Debounces.NoIdl = true
  8287. myVars[5] = "ssl3"
  8288. ssl3()
  8289. print(myVars[5])
  8290. Debounces.CanAttack = true
  8291. Debounces.NoIdl = false
  8292. return true
  8293. end
  8294. end
  8295. elseif rainbowssl == false then
  8296. if rainbowHands == true then
  8297. newMode = true
  8298. if Debounces.CanAttack == true then
  8299. Debounces.CanAttack = false
  8300. Debounces.NoIdl = true
  8301. end
  8302. wait(1)
  8303. rainbowssl = true
  8304. modeChange()
  8305. newMode = false
  8306. Debounces.CanAttack = true
  8307. Debounces.NoIdl = false
  8308. end
  8309. end
  8310. end
  8311. end)
  8312. -------------------------------
  8313.  
  8314.  
  8315. ------------------------------------------------------
  8316.  
  8317. Magik = function()
  8318. Spawn(function()
  8319. --if stanceToggle == "Normal" or stanceToggle == "Melee" then
  8320. local function lerp(a,b,c)
  8321. return a+(b-a)*c
  8322. end
  8323. local function rndRange(rng)
  8324. return math.random(-rng*1000,rng*1000)/1000
  8325. end
  8326. local magik = Instance.new("Part", larm)
  8327. local Colors = {"Royal purple", "Really black"}
  8328. magik.Anchored = true
  8329. magik.Locked = true
  8330. magik.FormFactor = "Custom"
  8331. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  8332. magik.TopSurface = "Smooth"
  8333. magik.BottomSurface = "Smooth"
  8334. magik.Transparency = 0
  8335. magik.CanCollide = false
  8336. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8337. local mr = math.rad
  8338. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8339. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8340. magik.CFrame = cf
  8341. for i = 0, 1, .05 do
  8342. local newTrans = lerp(0.5, 1, i)
  8343. local ns = lerp(1,1.2,i)
  8344. magik.Transparency = newTrans
  8345. magik.Size = Vector3.new(ns,ns,ns)
  8346. magik.CFrame = cf
  8347. rs:wait()
  8348. end
  8349. magik:Destroy()
  8350. --elseif stanceToggle ~= "Normal" or stanceToggle ~= "Melee" then
  8351. --wait()
  8352. -- end
  8353. end)
  8354. end
  8355. ----------------------------------------------------
  8356. Magik2 = function()
  8357. Spawn(function()
  8358. --if stanceToggle == "Melee" then
  8359. local function lerp(a,b,c)
  8360. return a+(b-a)*c
  8361. end
  8362. local function rndRange(rng)
  8363. return math.random(-rng*1000,rng*1000)/1000
  8364. end
  8365. local magik2 = Instance.new("Part", rarm)
  8366. local Colors = {"Royal purple", "Really black"}
  8367. magik2.Anchored = true
  8368. magik2.Locked = true
  8369. magik2.FormFactor = "Custom"
  8370. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  8371. magik2.TopSurface = "Smooth"
  8372. magik2.BottomSurface = "Smooth"
  8373. magik2.Transparency = 0
  8374. magik2.CanCollide = false
  8375. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8376. local mr = math.rad
  8377. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8378. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8379. magik2.CFrame = cf
  8380. for i = 0, 1, .05 do
  8381. local newTrans = lerp(0.5, 1, i)
  8382. local ns = lerp(1,1.2,i)
  8383. magik2.Transparency = newTrans
  8384. magik2.Size = Vector3.new(ns,ns,ns)
  8385. magik2.CFrame = cf
  8386. rs:wait()
  8387. end
  8388. magik2:Destroy()
  8389. --elseif stanceToggle ~= "Melee" then
  8390. --wait()
  8391. --end
  8392. end)
  8393. end
  8394. ----------------------------------------------------
  8395. Magik3 = function()
  8396. Spawn(function()
  8397. --if stanceToggle == "Devil" then
  8398. local function lerp(a,b,c)
  8399. return a+(b-a)*c
  8400. end
  8401. local function rndRange(rng)
  8402. return math.random(-rng*1000,rng*1000)/1000
  8403. end
  8404. local magik3 = Instance.new("Part", rarm)
  8405. local Colors = {"Really red", "Really black"}
  8406. magik3.Anchored = true
  8407. magik3.Locked = true
  8408. magik3.FormFactor = "Custom"
  8409. magik3.Size = Vector3.new(1.2, 1.2, 1.2)
  8410. magik3.TopSurface = "Smooth"
  8411. magik3.BottomSurface = "Smooth"
  8412. magik3.Transparency = 0
  8413. magik3.CanCollide = false
  8414. magik3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8415. local mr = math.rad
  8416. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8417. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8418. magik3.CFrame = cf
  8419. for i = 0, 1, .05 do
  8420. local newTrans = lerp(0.5, 1, i)
  8421. local ns = lerp(1,1.2,i)
  8422. magik3.Transparency = newTrans
  8423. magik3.Size = Vector3.new(ns,ns,ns)
  8424. magik3.CFrame = cf
  8425. rs:wait()
  8426. end
  8427. magik3:Destroy()
  8428. --elseif stanceToggle ~= "Devil" then
  8429. --wait()
  8430. --end
  8431. end)
  8432. end
  8433. ----------------------------------------------------
  8434. Magik4 = function()
  8435. Spawn(function()
  8436. --if stanceToggle == "Devil" then
  8437. local function lerp(a,b,c)
  8438. return a+(b-a)*c
  8439. end
  8440. local function rndRange(rng)
  8441. return math.random(-rng*1000,rng*1000)/1000
  8442. end
  8443. local magik4 = Instance.new("Part", larm)
  8444. local Colors = {"Really red", "Really black"}
  8445. magik4.Anchored = true
  8446. magik4.Locked = true
  8447. magik4.FormFactor = "Custom"
  8448. magik4.Size = Vector3.new(1.2, 1.2, 1.2)
  8449. magik4.TopSurface = "Smooth"
  8450. magik4.BottomSurface = "Smooth"
  8451. magik4.Transparency = 0
  8452. magik4.CanCollide = false
  8453. magik4.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8454. local mr = math.rad
  8455. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8456. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8457. magik4.CFrame = cf
  8458. for i = 0, 1, .05 do
  8459. local newTrans = lerp(0.5, 1, i)
  8460. local ns = lerp(1,1.2,i)
  8461. magik4.Transparency = newTrans
  8462. magik4.Size = Vector3.new(ns,ns,ns)
  8463. magik4.CFrame = cf
  8464. rs:wait()
  8465. end
  8466. magik4:Destroy()
  8467. --elseif stanceToggle ~= "Devil" then
  8468. --wait()
  8469. --end
  8470. end)
  8471. end
  8472. ----------------------------------------------------
  8473. mouse.KeyDown:connect(function(key)
  8474. if key == "e" then
  8475. if Debounces.CanAttack == true then
  8476. Debounces.CanAttack = false
  8477. Debounces.on = true
  8478. Debounces.NoIdl = true
  8479. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  8480. z = Instance.new("Sound", rarm)
  8481. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  8482. z.Volume = .6
  8483. z.Pitch = pt[math.random(1,#pt)]
  8484. z.Looped = false
  8485. z:Play()
  8486. Debounces.RPunch = true
  8487. Debounces.LPunch = true
  8488. Debounces.ks = true
  8489. Debounces.ks2 = true
  8490. for i = 1, 3 do
  8491. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  8492. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  8493. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8494. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8495. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  8496. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  8497. if Debounces.on == false then break end
  8498. wait()
  8499. end
  8500. z2 = Instance.new("Sound", larm)
  8501. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8502. z2.Volume = .6
  8503. z2.Pitch = pt[math.random(1,#pt)]
  8504. z2.Looped = false
  8505. z2:Play()
  8506. for i = 1, 3 do
  8507. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  8508. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  8509. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8510. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8511. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  8512. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  8513. if Debounces.on == false then break end
  8514. wait()
  8515. end
  8516. z3 = Instance.new("Sound", rarm)
  8517. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8518. z3.Volume = 0.6
  8519. z3.Pitch = pt[math.random(1,#pt)]
  8520. z3.Looped = false
  8521. z3:Play()
  8522. for i = 1, 3 do
  8523. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  8524. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  8525. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8526. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8527. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  8528. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  8529. if Debounces.on == false then break end
  8530. wait()
  8531. end
  8532. z4 = Instance.new("Sound", larm)
  8533. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8534. z4.Volume = .6
  8535. z4.Pitch = pt[math.random(1,#pt)]
  8536. z4.Looped = false
  8537. z4:Play()
  8538. for i = 1, 3 do
  8539. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  8540. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  8541. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8542. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8543. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  8544. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  8545. if Debounces.on == false then break end
  8546. wait()
  8547. end
  8548. z5 = Instance.new("Sound", rarm)
  8549. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8550. z5.Volume = .6
  8551. z5.Pitch = pt[math.random(1,#pt)]
  8552. z5.Looped = false
  8553. z5:Play()
  8554. for i = 1, 3 do
  8555. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
  8556. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
  8557. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  8558. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  8559. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
  8560. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
  8561. if Debounces.on == false then break end
  8562. wait()
  8563. end
  8564. z6 = Instance.new("Sound", larm)
  8565. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8566. z6.Volume = .6
  8567. z6.Pitch = pt[math.random(1,#pt)]
  8568. z6.Looped = false
  8569. z6:Play()
  8570. for i = 1, 3 do
  8571. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  8572. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  8573. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8574. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8575. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  8576. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  8577. if Debounces.on == false then break end
  8578. wait()
  8579. end
  8580. z7 = Instance.new("Sound", rarm)
  8581. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  8582. z7.Volume = .6
  8583. z7.Pitch = pt[math.random(1,#pt)]
  8584. z7.Looped = false
  8585. z7:Play()
  8586. for i = 1, 3 do
  8587. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  8588. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  8589. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8590. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8591. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  8592. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  8593. if Debounces.on == false then break end
  8594. wait()
  8595. end
  8596. z8 = Instance.new("Sound", larm)
  8597. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8598. z8.Volume = .6
  8599. z8.Pitch = pt[math.random(1,#pt)]
  8600. z8.Looped = false
  8601. z8:Play()
  8602. for i = 1, 3 do
  8603. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  8604. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  8605. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8606. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8607. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  8608. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  8609. if Debounces.on == false then break end
  8610. wait()
  8611. end
  8612. z9 = Instance.new("Sound", rarm)
  8613. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8614. z9.Volume = 0.6
  8615. z9.Pitch = pt[math.random(1,#pt)]
  8616. z9.Looped = false
  8617. z9:Play()
  8618. for i = 1, 3 do
  8619. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
  8620. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
  8621. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8622. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8623. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  8624. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  8625. if Debounces.on == false then break end
  8626. wait()
  8627. end
  8628. z10 = Instance.new("Sound", larm)
  8629. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8630. z10.Volume = .6
  8631. z10.Pitch = pt[math.random(1,#pt)]
  8632. z10.Looped = false
  8633. z10:Play()
  8634. for i = 1, 3 do
  8635. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  8636. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
  8637. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8638. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8639. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  8640. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  8641. if Debounces.on == false then break end
  8642. wait()
  8643. end
  8644. z:Destroy()
  8645. z2:Destroy()
  8646. z3:Destroy()
  8647. z4:Destroy()
  8648. z5:Destroy()
  8649. z6:Destroy()
  8650. z7:Destroy()
  8651. z8:Destroy()
  8652. z9:Destroy()
  8653. z10:Destroy()
  8654. Debounces.LPunch = false
  8655. Debounces.RPunch = false
  8656. Debounces.ks = false
  8657. Debounces.ks2 = false
  8658. if Debounces.CanAttack == false then
  8659. Debounces.CanAttack = true
  8660. Debounces.on = false
  8661. Debounces.NoIdl = false
  8662. end
  8663. end
  8664. end
  8665. end)
  8666. -------------------------------
  8667.  
  8668.  
  8669. do2 = function()
  8670. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8671. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  8672. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8673. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  8674. local da1 = lparti1:Clone()
  8675. local da2 = lparti1:Clone()
  8676. da1.Parent = sbref1
  8677. da2.Parent = sbref2
  8678. da1.Enabled = true
  8679. da2.Enabled = true
  8680. d0arm[1] = da1
  8681. d0arm[2] = da2
  8682.  
  8683.  
  8684. end
  8685.  
  8686.  
  8687. function makeClaw()
  8688. local m = Instance.new("Model",char)
  8689. m.Name = "WeaponModel"
  8690. ------------------------------------------------------
  8691.  
  8692. function NoOutlineo(Part)
  8693. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  8694. end
  8695.  
  8696. function swaito(num)
  8697. if num==0 or num==nil then
  8698. game:service'RunService'.Heartbeat:wait(0)
  8699. else
  8700. for i=0,num do
  8701. game:service'RunService'.Heartbeat:wait(0)
  8702. end
  8703. end
  8704. end
  8705.  
  8706. function nooutlineo(part)
  8707. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  8708. end
  8709.  
  8710. function partio(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  8711. local fp=it("Part")
  8712. fp.formFactor=formfactor
  8713. fp.Parent=parent
  8714. fp.Reflectance=reflectance
  8715. fp.Transparency=transparency
  8716. fp.CanCollide=false
  8717. fp.Locked=true
  8718. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  8719. fp.Name=name
  8720. fp.Size=size
  8721. fp.Position=Character.Torso.Position
  8722. nooutlineo(fp)
  8723. fp.Material=material
  8724. fp:BreakJoints()
  8725. return fp
  8726. end
  8727.  
  8728. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  8729. local mesh=it(Mesh)
  8730. mesh.Parent=part
  8731. if Mesh=="SpecialMesh" then
  8732. mesh.MeshType=meshtype
  8733. mesh.MeshId=meshid
  8734. end
  8735. mesh.Offset=offset
  8736. mesh.Scale=scale
  8737. return mesh
  8738. end
  8739.  
  8740. function weldio(parent,part0,part1,c0,c1)
  8741. local weld=it("Weld")
  8742. weld.Parent=parent
  8743. weld.Part0=part0
  8744. weld.Part1=part1
  8745. weld.C0=c0
  8746. weld.C1=c1
  8747. return weld
  8748. end
  8749.  
  8750.  
  8751. local function CFrameFromTopBack(at, top, back)
  8752. local right = top:Cross(back)
  8753. return CFrame.new(at.x, at.y, at.z,
  8754. right.x, top.x, back.x,
  8755. right.y, top.y, back.y,
  8756. right.z, top.z, back.z)
  8757. end
  8758.  
  8759.  
  8760. Handle0=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Handle0",Vector3.new(1, 0.800000012, 1))
  8761.  
  8762. Handle0weld=weldio(m,rarm,Handle0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
  8763. Hitbox=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  8764. Hitboxweld=weldio(m,Handle0,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
  8765. Part1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
  8766. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8767. Part2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8768. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8769. Part3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8770. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8771. Part4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  8772. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8773. Part5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8774. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8775. Part6=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  8776. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8777. Part7=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  8778. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8779. Part8=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  8780. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8781. Part9=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8782. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8783. Part10=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8784. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8785. Part11=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8786. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8787. Part12=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8788. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  8789. Part13=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
  8790. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8791. Part14=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
  8792. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
  8793. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8794. Part15=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
  8795. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
  8796. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8797. Part16=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  8798. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
  8799. Part17=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8800. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  8801. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  8802. Part18=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8803. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  8804. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
  8805. Part19=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8806. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  8807. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  8808. Part20=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8809. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8810. Part21=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  8811. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
  8812. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8813. Part22=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
  8814. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
  8815. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8816. Part23=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  8817. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
  8818. Part24=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8819. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  8820. --mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
  8821. Part25=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  8822. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
  8823.  
  8824. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8825. Part26=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
  8826. Partweld=weldio(m,Handle0,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  8827. Finger1Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8828. Finger1Connectorweld=weldio(m,Handle0,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
  8829. Finger2Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8830. Finger2Connectorweld=weldio(m,Handle0,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
  8831. Finger3Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8832. Finger3Connectorweld=weldio(m,Handle0,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
  8833. Finger4Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8834. Finger4Connectorweld=weldio(m,Handle0,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
  8835. Finger5Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8836. colc = math.random(1,7)
  8837. Finger5Connectorweld=weldio(m,Handle0,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
  8838. Finger1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  8839. colc = math.random(1,7)
  8840. Finger1weld=weldio(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
  8841. Finger2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8842. colc = math.random(1,7)
  8843. Finger2weld=weldio(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
  8844. Finger3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8845. colc = math.random(1,7)
  8846. Finger3weld=weldio(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
  8847. Finger4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8848. colc = math.random(1,7)
  8849. Finger4weld=weldio(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
  8850. Finger5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8851. colc = math.random(1,7)
  8852. Finger5weld=weldio(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
  8853. colc = math.random(1,7)
  8854. ------------------------------------------------
  8855. Handle0.Transparency=1
  8856. Part1.Transparency=1 --1
  8857. Part2.Transparency=1 --2
  8858. Part3.Transparency=1 --3
  8859. Part4.Transparency=1 --4
  8860. Part5.Transparency=1 --5
  8861. Part6.Transparency=1 --6
  8862. Part7.Transparency=1
  8863. Part8.Transparency=1
  8864. Part9.Transparency=1
  8865. Part10.Transparency=1
  8866. Part11.Transparency=1 --11
  8867. Part12.Transparency=1
  8868. Part13.Transparency=1
  8869. Part14.Transparency=1
  8870. Part15.Transparency=1
  8871. Part16.Transparency=1
  8872. Part17.Transparency=1
  8873. Part18.Transparency=1
  8874. Part19.Transparency=1
  8875. Part20.Transparency=1
  8876. Part21.Transparency=1
  8877. Part22.Transparency=1
  8878. Part23.Transparency=1
  8879. Part24.Transparency=1
  8880. Part25.Transparency=1
  8881. Part26.Transparency=1 --25
  8882. Finger1Connector.Transparency=1
  8883. Finger2Connector.Transparency=1
  8884. Finger3Connector.Transparency=1
  8885. Finger4Connector.Transparency=1
  8886. Finger5Connector.Transparency=1
  8887. Hitbox.Transparency=1
  8888. clawPart1[1] = Finger1
  8889. clawPart1[2] = Finger2
  8890. clawPart1[3] = Finger3
  8891. clawPart1[4] = Finger4
  8892. clawPart1[5] = Finger5
  8893. clawPart1[6] = Finger1weld
  8894. clawPart1[7] = Finger2weld
  8895. clawPart1[8] = Finger3weld
  8896. clawPart1[9] = Finger4weld
  8897. clawPart1[10] = Finger5weld
  8898. clawPart1[11] = Hitbox
  8899. end
  8900.  
  8901. function bird()
  8902. for i = 0,1,0.1 do
  8903. swait()
  8904. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  8905. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  8906. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8907. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8908. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8909. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8910. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8911. end
  8912. for i = 0,1,0.01 do
  8913. swait()
  8914. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  8915. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  8916. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8917. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8918. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  8919. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8920. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8921. end
  8922.  
  8923.  
  8924. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  8925. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  8926. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  8927. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  8928. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  8929. end
  8930. --------------------------------
  8931. equipanim = function()
  8932.  
  8933. local colin = 1
  8934. local colnumer = 0
  8935. for i = 0, 1, 0.1 do
  8936. swait()
  8937. colnumer = colnumer + 1
  8938.  
  8939. if #Neonsc - 1 < colin and (colnumer) % 2 == 0 then
  8940. colin = 1
  8941. end
  8942.  
  8943. if (colnumer) % 2 == 0 then
  8944. colin = colin + 1
  8945. end
  8946.  
  8947. MagicBlock2(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8948. MagicBlock2(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8949.  
  8950. rarm.Weld.C0 = clerp(rarm.Weld.C0, cf(1.2, 0.7, 0.4) * euler(2.9, 0, 0) * euler(0, 0, 0.5) * euler(0, 1.5, 0), 0.25)
  8951. larm.Weld.C0 = clerp(larm.Weld.C0, cf(-1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, -0.5) * euler(0, -1.5, 0), 0.25)
  8952.  
  8953. end
  8954. --colc = math.random(1,7)
  8955. MagicCircleo(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  8956. --colc = math.random(1,7)
  8957. MagicCircleo(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  8958.  
  8959.  
  8960. end
  8961. ----------------------------------
  8962. function GetParts(obj)
  8963. for i, v in pairs(obj:GetChildren())do
  8964. if ( v:IsA'BasePart' ) then
  8965. if v.Name ~= "Trail" then
  8966. Instance.new("ForceField", v);
  8967. end
  8968. end
  8969. GetParts(v);
  8970. end
  8971. end
  8972.  
  8973. GetParts(char);
  8974. ----------------------------------------------------
  8975.  
  8976.  
  8977. ----------------------------------------------------
  8978. p13.Touched:connect(function(ht)
  8979. hit = ht.Parent
  8980. if ht and hit:IsA("Model") then
  8981. if hit:FindFirstChild("Humanoid") then
  8982. if hit.Name ~= p.Name then
  8983. if slashing == true then
  8984. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  8985. wait(.3)
  8986. end
  8987. end
  8988. end
  8989. elseif ht and hit:IsA("Hat") then
  8990. if hit.Parent.Name ~= p.Name then
  8991. if hit.Parent:FindFirstChild("Humanoid") then
  8992. if slashing == true then
  8993. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  8994. wait(.3)
  8995. end
  8996. end
  8997. end
  8998. end
  8999. end)
  9000. ----------------------------------------------------
  9001. mouse.KeyDown:connect(function(key)
  9002. if string.byte(key) == 52 then
  9003. char.Humanoid.WalkSpeed = 60
  9004. end
  9005. end)
  9006. mouse.KeyUp:connect(function(key)
  9007. if string.byte(key) == 52 then
  9008. char.Humanoid.WalkSpeed = 8
  9009. end
  9010. end)
  9011. -------------------------------
  9012. local animpose = "Idle"
  9013. local lastanimpose = "Idle"
  9014. local grab = false
  9015. local sine = 0
  9016. local change = 1
  9017. local val = 0
  9018. local ffing = false
  9019. -------------------------------
  9020. game:GetService("RunService").RenderStepped:connect(function()
  9021. --[[if char.Humanoid.Jump == true then
  9022. jump = true
  9023. else
  9024. jump = false
  9025. end]]
  9026. char.Humanoid.FreeFalling:connect(function(f)
  9027. if f then
  9028. ffing = true
  9029. else
  9030. ffing = false
  9031. end
  9032. end)
  9033. sine = sine + change
  9034. if jumpn == true then
  9035. animpose = "Jumping"
  9036. elseif ffing == true then
  9037. animpose = "Freefalling"
  9038. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  9039. animpose = "Idle"
  9040. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  9041. animpose = "Walking"
  9042. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  9043. animpose = "Running"
  9044. end
  9045. if animpose ~= lastanimpose then
  9046. sine = 0
  9047. if Debounces.NoIdl == false then
  9048. if animpose == "Idle" then
  9049. for i = 1, 2 do
  9050.  
  9051. if myVars[5] ~= "ssl3_1" then
  9052. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
  9053. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
  9054. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9055. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  9056. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  9057. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  9058. if myVars[3] ~= nil then
  9059. if myVars[3] == "claw" then
  9060.  
  9061.  
  9062. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  9063. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  9064. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  9065. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  9066. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  9067. end
  9068. end
  9069. else
  9070. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9071. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-20),math.rad(40)), 0.2)
  9072. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  9073. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  9074. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  9075. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  9076. end
  9077. end
  9078. elseif animpose == "Walking" then
  9079. for i = 1, 2 do
  9080. if myVars[5] ~= "ssl3_1" then
  9081. if Melee == false then
  9082. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(20), math.rad(-20),math.rad(40)), 0.2)
  9083. else
  9084. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  9085. end
  9086. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  9087. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  9088. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  9089. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  9090. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  9091. else
  9092. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-30),math.rad(40)), 0.2)
  9093. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  9094. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  9095. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  9096. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  9097. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  9098. end
  9099. end
  9100. elseif animpose == "Running" then
  9101. for i = 1, 2 do
  9102. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2)
  9103. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2)
  9104. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  9105. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  9106. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  9107. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  9108. wait()
  9109. end
  9110. end
  9111. if stanceToggle == "Grabbed" then
  9112. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  9113. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3)
  9114. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  9115. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  9116. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  9117. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  9118. end
  9119. else
  9120. end
  9121. end
  9122. lastanimpose = animpose
  9123. if Debounces.NoIdl == false then
  9124. if animpose == "Idle" then
  9125. if myVars[5] ~= "ssl3_1" then
  9126. change = 0.5
  9127. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8+2*math.cos(sine/14))), 0.4)
  9128. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  9129. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  9130. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  9131. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  9132. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  9133.  
  9134. else
  9135. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-20),math.rad(40)), 0.2)
  9136. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8-2*math.cos(sine/14))), 0.4)
  9137. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  9138. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  9139. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  9140. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  9141. end
  9142. elseif animpose == "Walking" then
  9143. change = 1
  9144. if myVars[5] ~= "ssl3_1" then
  9145. if Melee == false then
  9146. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(20), math.rad(-20),math.rad(40)), 0.2)
  9147. else
  9148. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  9149. end
  9150. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  9151. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  9152. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  9153. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  9154. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  9155. else
  9156. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-40), math.rad(-30),math.rad(40)), 0.2)
  9157. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  9158. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  9159. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  9160. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  9161. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  9162. end
  9163. elseif animpose == "Running" then
  9164. change = 1
  9165. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2)
  9166. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2)
  9167. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  9168. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  9169. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  9170. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  9171. end
  9172. end
  9173. end)
  9174.  
  9175. hum.MaxHealth = 9001
  9176. wait(3)
  9177. hum.Health = 9001
  9178. local Neonlist = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  9179.  
  9180. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  9181. --[[Part0 = Vector3 (Start pos)
  9182. Part1 = Vector3 (End pos)
  9183. Times = number (Amount of lightning parts)
  9184. Offset = number (Offset)
  9185. Color = color (brickcolor value)
  9186. Thickness = number (thickness)
  9187. Trans = number (transparency)
  9188. ]]--
  9189. local magz = (Part0 - Part1).magnitude
  9190. local curpos = Part0
  9191. local trz = {-Offset,Offset}
  9192. for i=1,Times do
  9193. local li = Instance.new("Part", torso)
  9194. li.Name = "Lightning"
  9195. li.TopSurface =0
  9196. li.Material = "Neon"
  9197. li.BottomSurface = 0
  9198. li.Anchored = true
  9199. li.Locked = true
  9200. li.Transparency = Trans or 0.4
  9201. li.BrickColor = BrickColor.new(Color)
  9202. li.formFactor = "Custom"
  9203. li.CanCollide = false
  9204. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  9205. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  9206. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  9207. if Times == i then
  9208. local magz2 = (curpos - Part1).magnitude
  9209. li.Size = Vector3.new(Thickness,Thickness,magz2)
  9210. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  9211. else
  9212. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  9213. end
  9214. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  9215. game.Debris:AddItem(li,.1)
  9216. end
  9217. end
  9218.  
  9219. BodyParts = {} -- Parts to emit lightning effects from
  9220. for _, v in pairs(char:GetChildren()) do
  9221. if v:IsA("Part") then
  9222. table.insert(BodyParts, v)
  9223. end
  9224. end
  9225.  
  9226. Bounding = {} -- Calculate the bounding boxes
  9227. for _, v in pairs(BodyParts) do
  9228. local temp = {X=nil, Y=nil, Z=nil}
  9229. temp.X = v.Size.X/2 * 10
  9230. temp.Y = v.Size.Y/2 * 10
  9231. temp.Z = v.Size.Z/2 * 10
  9232. Bounding[v.Name] = temp
  9233. --table.insert(Bounding, v.Name, temp)
  9234. end
  9235.  
  9236.  
  9237.  
  9238.  
  9239. print("Bloxxy loaded.")
  9240. local mananum = 0
  9241. local donum = 0
  9242. local stunnum = 0
  9243. local staggeranim = false
  9244. local stunanim = false
  9245. local walk = 0
  9246. local walkforw = true
  9247. local fnum = 0
  9248. local domodel = false
  9249. local gef = 10
  9250. local col = 1
  9251. local colnum = 0
  9252. while true do
  9253. swait()
  9254.  
  9255. colnum = colnum + 1
  9256. if #Neons - 1 < col and (colnum) % 2 == 0 then
  9257. col = 1
  9258. end
  9259. if (colnum) % 2 == 0 then
  9260. col = col + 1
  9261. end
  9262. if Humanoid.Health <= 0 then
  9263. attack = true
  9264. resumeControl()
  9265. modelzorz.Parent = workspace
  9266. model2.Parent = workspace
  9267. game:GetService("Debris"):AddItem(modelzorz, 30)
  9268. game:GetService("Debris"):AddItem(model2, 30)
  9269. if domodel == false then
  9270. domodel = true
  9271. for i = 1, #Weapon do
  9272. Weapon[i].Parent = modelzorz
  9273. Weapon[i].CanCollide = true
  9274. end
  9275. for i = 1, #Welds do
  9276. Welds[i].Parent = main1
  9277. end
  9278. end
  9279. end
  9280. do
  9281.  
  9282. if equipped == true then
  9283.  
  9284. if 1 < RootPart.Velocity.y and hitfloor == nil then
  9285.  
  9286. else
  9287. if RootPart.Velocity.y < -1 and hitfloor == nil then
  9288.  
  9289.  
  9290. else
  9291. if torvel < 1 and hitfloor ~= nil then
  9292.  
  9293. else
  9294. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  9295.  
  9296.  
  9297. else
  9298. do
  9299.  
  9300. end
  9301. end
  9302. end
  9303. end
  9304. end
  9305.  
  9306. end
  9307. if #Effects>0 then
  9308. for e=1,#Effects do
  9309. if Effects[e]~=nil then
  9310. local Thing=Effects[e]
  9311. if Thing ~= nil then
  9312. local Part = Thing[1]
  9313. local Mode = Thing[2]
  9314. local Delay = Thing[3]
  9315. local IncX = Thing[4]
  9316. local IncY = Thing[5]
  9317. local IncZ = Thing[6]
  9318. if Thing[2] == "CylinderClang" then
  9319. if Thing[3] <= 1 then
  9320. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  9321. Thing[7] = Thing[1].CFrame
  9322. effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  9323. Thing[8] = Thing[7]
  9324. Thing[3] = Thing[3] + Thing[4]
  9325. else
  9326. Part.Parent = nil
  9327. table.remove(Effects, e)
  9328. end
  9329. end
  9330. if Thing[2] == "showDamage" then
  9331. if Thing[6] < Thing[5] then
  9332. Thing[6] = Thing[6] + 1
  9333. else
  9334. if Thing[6] < Thing[7] then
  9335. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  9336. Thing[6] = Thing[6] + 1
  9337. else
  9338. if Thing[6] < Thing[8] then
  9339. Thing[6] = Thing[6] + 1
  9340. else
  9341. if Thing[6] < Thing[9] then
  9342. Thing[6] = Thing[6] + 1
  9343. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  9344. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  9345. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  9346. else
  9347. Thing[1].Parent = nil
  9348. table.remove(Effects, e)
  9349. end
  9350. end
  9351. end
  9352. end
  9353. end
  9354. if Thing[2] == "CloneEf" then
  9355. if Thing[3] <= 500 then
  9356. Thing[3] = Thing[3] + 1
  9357. if 10 <= Thing[4] then
  9358. Thing[4] = 0
  9359. end
  9360. Thing[4] = Thing[4] + 1
  9361. else
  9362. table.remove(Effects, e)
  9363. end
  9364. end
  9365. if Thing[2] == "SatelliteStrike" then
  9366. if Thing[5] < 100 then
  9367. Thing[5] = Thing[5] + 2
  9368. Thing[6] = Thing[6] + 1
  9369. if 2 < Thing[6] then
  9370. Thing[6] = 0
  9371. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  9372. Thing[3].Transparency = 0.8
  9373. Thing[3].BrickColor = BrickColor.new("Really red")
  9374. else
  9375. Thing[3].Transparency = 0.8
  9376. Thing[3].BrickColor = BrickColor.new("New Yeller")
  9377. end
  9378. end
  9379. else
  9380. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9381. refda.Anchored = true
  9382. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  9383. game:GetService("Debris"):AddItem(refda, 1)
  9384. local mag = (refda.Position - Thing[1].Position).magnitude
  9385. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 40, mag * 5, 40, 0, 0, 0, 0.3)
  9386. Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  9387. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  9388. refda.CFrame = cf(Thing[1].Position)
  9389. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  9390. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  9391. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  9392. refda.CFrame = cf(Thing[1].Position)
  9393. so("341336446", refda, 1, math.random(100, 120) / 100)
  9394. so("341336459", refda, 1, math.random(100, 120) / 100)
  9395. Thing[1].Parent = nil
  9396. table.remove(Effects, e)
  9397. end
  9398. end
  9399. do
  9400. if Thing[2] == "SatelliteStrike2" then
  9401. if Thing[5] < 100 then
  9402. Thing[5] = Thing[5] + 2
  9403. Thing[6] = Thing[6] + 1
  9404. if 2 < Thing[6] then
  9405. Thing[6] = 0
  9406. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  9407. Thing[3].Transparency = 0.8
  9408. Thing[3].BrickColor = BrickColor.new("Really red")
  9409. else
  9410. Thing[3].Transparency = 0.8
  9411. Thing[3].BrickColor = BrickColor.new("New Yeller")
  9412. end
  9413. end
  9414. else
  9415. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9416. refda.Anchored = true
  9417. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  9418. game:GetService("Debris"):AddItem(refda, 1)
  9419. local mag = (refda.Position - Thing[1].Position).magnitude
  9420. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 60, mag * 5, 60, 0, 0, 0, 0.1)
  9421. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  9422. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  9423. refda.CFrame = cf(Thing[1].Position)
  9424. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  9425. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  9426. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  9427. refda.CFrame = cf(Thing[1].Position)
  9428. so("341336446", refda, 1, math.random(70, 90) / 100)
  9429. so("341336459", refda, 1, math.random(50, 80) / 100)
  9430. Thing[1].Parent = nil
  9431. table.remove(Effects, e)
  9432. end
  9433. end
  9434. do
  9435. if Thing[2] == "Shoot" then
  9436. Thing[11] = Thing[11] + 0.02
  9437. local Look = Thing[1]
  9438. local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  9439. local mag = (Thing[4] - pos).magnitude
  9440. if 6 < Thing[8] then
  9441. Thing[8] = 1
  9442. else
  9443. Thing[8] = Thing[8] + 1
  9444. end
  9445. MagicCylinder(Neons[Thing[8]], CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  9446. Thing[9].BrickColor = Neons[Thing[8]]
  9447. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  9448. Thing[4] = Thing[4] + Look * Thing[11]
  9449. Thing[3] = Thing[3] - 1
  9450. if hit ~= nil then
  9451. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  9452. end
  9453. if Thing[3] <= 0 then
  9454. Thing[9].Parent = nil
  9455. table.remove(Effects, e)
  9456. end
  9457. end
  9458. do
  9459. if Thing[2] == "Shoot2" then
  9460. local Look = Thing[1]
  9461. local hit, pos = rayCast(Thing[4], Look, 4, Character)
  9462. local mag = (Thing[4] - pos).magnitude
  9463. if 6 < Thing[8] then
  9464. Thing[8] = 1
  9465. else
  9466. Thing[8] = Thing[8] + 1
  9467. end
  9468. MagicCircle(BrickColor.new(NewCol3), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 4, 4, 4, -0.5, -0.5, -0.5, 0.5)
  9469. Thing[4] = Thing[4] + Look * 4
  9470. Thing[3] = Thing[3] - 1
  9471. if hit ~= nil then
  9472. Thing[3] = 0
  9473. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  9474. end
  9475. if Thing[3] <= 0 then
  9476. table.remove(Effects, e)
  9477. end
  9478. end
  9479. do
  9480. if Thing[2] == "Shoot3" then
  9481. local Look = Thing[1]
  9482. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  9483. local mag = (Thing[4] - pos).magnitude
  9484. if 6 < Thing[8] then
  9485. Thing[8] = 1
  9486. else
  9487. Thing[8] = Thing[8] + 1
  9488. end
  9489. Thing[11] = Thing[11] + 0.05
  9490. Thing[9].BrickColor = Neons[Thing[8]]
  9491. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  9492. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  9493. Thing[4] = Thing[4] + Look * 1.5
  9494. Thing[3] = Thing[3] - 1
  9495. if hit ~= nil then
  9496. Thing[3] = 0
  9497. end
  9498. if Thing[3] <= 0 then
  9499. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  9500. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  9501. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9502. staaaaref.Anchored = true
  9503. staaaaref.CFrame = cf(Thing[9].Position)
  9504. game:GetService("Debris"):AddItem(staaaaref, 1)
  9505. so("341336499", staaaaref, 0.8, 2)
  9506. MagniDamage(staaaaref, 10, 10, 12, math.random(10, 20), "Knockdown2", staaaaref, 0.1, 1, (math.random(4, 6)), nil, nil, true, "Damage", 0.1, 200)
  9507. Thing[9].Parent = nil
  9508. table.remove(Effects, e)
  9509. end
  9510. end
  9511. do
  9512. if Thing[2] == "Shoot4" then
  9513. local Look = Thing[1]
  9514. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  9515. local mag = (Thing[4] - pos).magnitude
  9516. if 6 < Thing[8] then
  9517. Thing[8] = 1
  9518. else
  9519. Thing[8] = Thing[8] + 1
  9520. end
  9521. Thing[11] = Thing[11] + 0.05
  9522. Thing[9].BrickColor = Neons[Thing[8]]
  9523. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  9524. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  9525. Thing[4] = Thing[4] + Look * 1.5
  9526. Thing[3] = Thing[3] - 1
  9527. if hit ~= nil then
  9528. Thing[3] = 0
  9529. end
  9530. if Thing[3] <= 0 then
  9531. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  9532. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  9533. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  9534. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  9535. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9536. staaaaref.Anchored = true
  9537. staaaaref.CFrame = cf(Thing[9].Position)
  9538. game:GetService("Debris"):AddItem(staaaaref, 1)
  9539. so("341336499", staaaaref, 0.8, 1)
  9540. MagniDamage(staaaaref, 20, 15, 18, math.random(30, 50), "Knockdown2", staaaaref, 0.1, 1, (math.random(8, 10)), nil, nil, true, "Damage", 0.1, 400)
  9541. Thing[9].Parent = nil
  9542. table.remove(Effects, e)
  9543. end
  9544. end
  9545. do
  9546. do
  9547. if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "CloneEf" and Thing[2] ~= "Blink" and Thing[2] ~= "ShootIce" and Thing[2] ~= "Freeze" and Thing[2] ~= "Shoot" and Thing[2] ~= "Shoot2" and Thing[2] ~= "Shoot3" and Thing[2] ~= "Shoot4" and Thing[2] ~= "SatelliteStrike" and Thing[2] ~= "SatelliteStrike2" then
  9548. if Thing[1].Transparency <= 1 then
  9549. if Thing[2] == "Block1" then
  9550. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  9551. Mesh = Thing[7]
  9552. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9553. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9554. else
  9555. if Thing[2] == "Block2" then
  9556. Thing[1].CFrame = Thing[1].CFrame
  9557. Mesh = Thing[7]
  9558. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9559. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9560. else
  9561. if Thing[2] == "Block3" then
  9562. Thing[8] = Thing[8] * cf(0, 1, 0)
  9563. Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  9564. Mesh = Thing[7]
  9565. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9566. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9567. else
  9568. if Thing[2] == "Block4" then
  9569. if #Neons - 1 < Thing[8] then
  9570. Thing[8] = 1
  9571. else
  9572. Thing[8] = Thing[8] + 1
  9573. end
  9574. else
  9575.  
  9576. if Thing[2] == "Cylinder" then
  9577. Mesh = Thing[7]
  9578. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9579. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9580. end
  9581. end
  9582. end
  9583. end
  9584. end
  9585. else
  9586. Part.Parent = nil
  9587. table.remove(Effects, e)
  9588. end
  9589. end
  9590. end
  9591. end
  9592. end
  9593. end
  9594. end
  9595. end
  9596. end
  9597. end
  9598. end
  9599. end
  9600. end
  9601. end
  9602. if swordPowerUp == true then
  9603. MagicBlock2(Neons[col], blade1Tip.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9604. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9605. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9606. end
  9607. if d0arm[3] == "true" then
  9608. d0arm[1].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  9609. d0arm[2].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  9610. end
  9611. if rainbowHands == true then
  9612. if myVars[5] == "ssl3" or myVars[5] == "ssl3_1" then
  9613. if Melee == false then
  9614. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9615. else
  9616. if powerHand == false then
  9617. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9618. end
  9619. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9620. end
  9621. else
  9622. if powerHand == false then
  9623. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9624. end
  9625. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9626. end
  9627. end
  9628. for key, value in pairs(myDictionary) do
  9629. if value == "disco" then
  9630. if key.Name ~= p.Name then
  9631. MagicBlock2(Neons[col], key['Right Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9632. MagicBlock2(Neons[col], key['Left Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9633. end
  9634. end
  9635. end
  9636. if newMode == true then
  9637. if rainbowssl == false then
  9638. rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
  9639. larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
  9640. hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
  9641. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  9642. lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
  9643. rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
  9644. end
  9645. end
  9646.  
  9647. lightningNum = math.random(1,100)
  9648. if lightningNum <= 80 and lightningNum >= 60 then
  9649. --while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  9650. local Body1 = BodyParts[math.random(#BodyParts)]
  9651. local Body2 = BodyParts[math.random(#BodyParts)]
  9652. local Pos1 = Vector3.new(
  9653. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  9654. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  9655. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  9656. )
  9657. local Pos2 = Vector3.new(
  9658. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  9659. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  9660. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  9661. )
  9662. local SPos1 = Body1.Position + Pos1
  9663. local SPos2 = Body2.Position + Pos2
  9664. local cols = math.random(1,7)
  9665. Lightning(SPos1, SPos2, 4, 3, Neonlist[cols], .3, .56)
  9666. end
  9667. swaito()
  9668.  
  9669. if #fx>0 then
  9670. for e=1,#fx do
  9671. if fx[e]~=nil then
  9672. local Thingy=fx[e]
  9673. if Thingy~=nil then
  9674. local Part=Thingy[1]
  9675. local Mode=Thingy[2]
  9676. local Delay=Thingy[3]
  9677. local IncX=Thingy[4]
  9678. local IncY=Thingy[5]
  9679. local IncZ=Thingy[6]
  9680. if Thingy[1].Transparency<=1 then
  9681. if Thingy[2]=="Block1" then
  9682. Thingy[1].CFrame=Thingy[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  9683. Mesh=Thingy[1].Mesh
  9684. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  9685. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9686. elseif Thingy[2]=="Cylinder" then
  9687. Mesh=Thingy[1].Mesh
  9688. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  9689. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9690. elseif Thingy[2]=="Blood" then
  9691. Mesh=Thingy[7]
  9692. Thingy[1].CFrame=Thingy[1].CFrame*cf(0,.5,0)
  9693. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  9694. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9695. elseif Thingy[2]=="Elec" then
  9696. Mesh=Thingy[1].Mesh
  9697. Mesh.Scale=Mesh.Scale+vt(Thingy[7],Thingy[8],Thingy[9])
  9698. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9699. elseif Thingy[2]=="Disappear" then
  9700. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9701. end
  9702. else
  9703. Part.Parent=nil
  9704. table.remove(fx,e)
  9705. end
  9706. end
  9707. end
  9708. end
  9709. end
  9710.  
  9711.  
  9712. end
  9713. local gobj,gpos,gnormal = Workspace:FindPartOnRay(Ray.new(Leg.Position, CFrame.new(Leg.Position, (Leg.CFrame * CFrame.new(0,Leg.Size.Y / -2,0)).p).lookVector * (Leg.Size.Y / 2 + .5)), LocalCharacter)
  9714. if gobj ~= nil then
  9715. local ObjectCF = CFrame.new(gpos, gpos+gnormal) * CFrame.Angles(math.pi/2,0,0)
  9716. -- create part flattened on Y axis and set it's CFrame to ObjectCF
  9717. end
  9718.  
  9719.  
  9720.  
  9721.  
  9722.  
  9723.  
  9724. -----------------------------------------
  9725. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement