Advertisement
Guest User

Crow Gui

a guest
Feb 22nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 467.68 KB | None | 0 0
  1. -- Objects
  2.  
  3. local p = game.Players.LocalPlayer
  4. local ScreenGui = Instance.new("ScreenGui", p.PlayerGui)
  5. local LoginFrame = Instance.new("Frame")
  6. local user = Instance.new("TextBox")
  7. local pass = Instance.new("TextBox")
  8. local bar = Instance.new("Frame")
  9. local submit = Instance.new("TextButton")
  10. local ScriptFrame = Instance.new("Frame")
  11. local exit = Instance.new("TextButton")
  12. local script2 = Instance.new("TextButton")
  13. local script1 = Instance.new("TextButton")
  14. local script3 = Instance.new("TextButton")
  15. local soonscam = Instance.new("TextButton")
  16.  
  17. -- Properties
  18.  
  19. ScreenGui.Parent = p.PlayerGui
  20.  
  21. LoginFrame.Name = "LoginFrame"
  22. LoginFrame.Parent = ScreenGui
  23. LoginFrame.Active = true
  24. LoginFrame.BackgroundColor3 = Color3.new(1, 0, 0)
  25. LoginFrame.BorderSizePixel = 2
  26. LoginFrame.Draggable = true
  27. LoginFrame.Position = UDim2.new(0.423626781, 0, 0.132530123, 0)
  28. LoginFrame.Size = UDim2.new(0, 268, 0, 249)
  29.  
  30. user.Name = "user"
  31. user.Parent = LoginFrame
  32. user.BackgroundColor3 = Color3.new(1, 1, 1)
  33. user.Position = UDim2.new(0.12686567, 0, 0.228915647, 0)
  34. user.Size = UDim2.new(0, 200, 0, 25)
  35. user.Font = Enum.Font.SourceSans
  36. user.Text = "Username"
  37. user.TextSize = 14
  38. user.TextXAlignment = Enum.TextXAlignment.Left
  39.  
  40. pass.Name = "pass"
  41. pass.Parent = LoginFrame
  42. pass.BackgroundColor3 = Color3.new(1, 1, 1)
  43. pass.Position = UDim2.new(0.12686567, 0, 0.44979918, 0)
  44. pass.Size = UDim2.new(0, 200, 0, 25)
  45. pass.Font = Enum.Font.SourceSans
  46. pass.Text = "Whitelist Key"
  47. pass.TextSize = 14
  48. pass.TextXAlignment = Enum.TextXAlignment.Left
  49.  
  50. bar.Name = "bar"
  51. bar.Parent = LoginFrame
  52. bar.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  53. bar.Size = UDim2.new(0, 268, 0, 8)
  54.  
  55. submit.Name = "submit"
  56. submit.Parent = LoginFrame
  57. submit.BackgroundColor3 = Color3.new(1, 1, 1)
  58. submit.Position = UDim2.new(0.222014934, 0, 0.730923653, 0)
  59. submit.Size = UDim2.new(0, 149, 0, 40)
  60. submit.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  61. submit.Font = Enum.Font.SourceSans
  62. submit.Text = "Submit"
  63. submit.TextSize = 33
  64. submit.MouseButton1Down:connect(function()
  65. if user.Text == "crow" and pass.Text == "Tester" then
  66. ScriptFrame.Visible = true
  67. LoginFrame.Visible = false
  68. else
  69. p.Character.Humanoid.Health = 0
  70. end
  71. end)
  72. ScriptFrame.Name = "ScriptFrame"
  73. ScriptFrame.Parent = ScreenGui
  74. ScriptFrame.Active = true
  75. ScriptFrame.BackgroundColor3 = Color3.new(1, 0, 0)
  76. ScriptFrame.BorderSizePixel = 2
  77. ScriptFrame.Draggable = true
  78. ScriptFrame.Position = UDim2.new(0.0255831461, 0, 0.406626493, 0)
  79. ScriptFrame.Size = UDim2.new(0, 284, 0, 243)
  80. ScriptFrame.Visible = false
  81.  
  82. exit.Name = "exit"
  83. exit.Parent = ScriptFrame
  84. exit.BackgroundColor3 = Color3.new(0.666667, 0, 0)
  85. exit.Position = UDim2.new(0.880281687, 0, 0, 0)
  86. exit.Size = UDim2.new(0, 27, 0, 30)
  87. exit.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  88. exit.Font = Enum.Font.SourceSans
  89. exit.Text = "X"
  90. exit.TextSize = 14
  91.  
  92. script2.Name = "script2"
  93. script2.Parent = ScriptFrame
  94. script2.BackgroundColor3 = Color3.new(1, 1, 1)
  95. script2.Position = UDim2.new(0.380281687, 0, 0.0452674888, 0)
  96. script2.Size = UDim2.new(0, 67, 0, 37)
  97. script2.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  98. script2.Font = Enum.Font.SourceSans
  99. script2.Text = "Admin"
  100. script2.TextSize = 15
  101. script2.TextWrapped = true
  102. script2.MouseButton1Down:connect(function()
  103. local NOCLIP = false
  104. local JESUSFLY = false
  105. local SWIM = false
  106.  
  107. game:GetService('RunService').Stepped:connect(function()
  108. if NOCLIP then
  109. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  110. elseif JESUSFLY then
  111. game.Players.LocalPlayer.Character.Humanoid:ChangeState(12)
  112. elseif SWIM then
  113. game.Players.LocalPlayer.Character.Humanoid:ChangeState(4)
  114. end
  115. end)
  116.  
  117. _G.Rc7Notification = function(a,b,c)
  118. game:GetService("CoreGui"):WaitForChild("RobloxGui").SendNotification:Fire(a, b, "rbxassetid://571324445", c)
  119. end
  120.  
  121. local gPlayers = game:GetService("Players")
  122. local admin = gPlayers.LocalPlayer.Name
  123. local bannedplyrs = {}
  124.  
  125. local admins = {'NAME','NAME'} -- names here of people who have access to your commands! (Your name doesn't need to be in here.)
  126.  
  127. -- declare services / init stuff --
  128. local services={}
  129. local cmds={}
  130. local std={}
  131. function KICK(PLAYER_KICK)
  132. if PLAYER_KICK.Character:FindFirstChild('Humanoid') then
  133. local KICK_1 = Instance.new('SkateboardPlatform', PLAYER_KICK.Character)
  134. KICK_1.Name = ''
  135. KICK_1.CFrame = CFrame.new(math.random(-1000, 1000), 1000, math.random(-1000, 1000))
  136. KICK_1.CanCollide = false
  137. KICK_1.Transparency = 1
  138.  
  139. PLAYER_KICK.Character.Humanoid.WalkSpeed = 0
  140.  
  141. wait()
  142.  
  143. local WELD_1 = Instance.new('Weld', KICK_1)
  144. WELD_1.Name = ''
  145. WELD_1.Part0 = PLAYER_KICK.Character.Torso
  146. WELD_1.Part1 = KICK_1
  147. WELD_1.C0 = CFrame.new(0, -400, 0)
  148.  
  149. wait()
  150.  
  151. KICK_1.Anchored = true
  152. WELD_1:remove()
  153. end
  154. end
  155.  
  156.  
  157. local serverLocked = false
  158.  
  159. game.Players.PlayerAdded:connect(function(player)
  160. if serverLocked == true then
  161. player.CharacterAdded:connect(function()
  162. wait(2)
  163. KICK(player)
  164. end)
  165. end
  166. end)
  167. function FIX_LIGHTING()
  168. game.Lighting.Ambient = Color3.new(0.5, 0.5, 0.5)
  169. game.Lighting.Brightness = 1
  170. game.Lighting.GlobalShadows = true
  171. game.Lighting.Outlines = false
  172. game.Lighting.TimeOfDay = 14
  173. game.Lighting.FogEnd = 100000
  174. end
  175.  
  176. services.players=gPlayers
  177. services.lighting=game:GetService('Lighting')
  178. services.workspace=game:GetService('Workspace')
  179. services.events = {}
  180. local user = gPlayers.LocalPlayer
  181.  
  182. local cmdprefix=';'
  183. local scriptprefix='/'
  184. local split=" "
  185.  
  186.  
  187. updateevents=function()
  188. for i,v in pairs(services.events) do services.events:remove(i) v:disconnect() end
  189. for i,v in pairs(gPlayers:players())do
  190. local ev = v.Chatted:connect(function(msg) do_exec(msg,v) end)
  191. services.events[#services.events+1] = ev
  192. end
  193. end
  194.  
  195. -- safazi's lib --
  196.  
  197. std.inTable=function(tbl,val)
  198. if tbl==nil then return false end
  199.  
  200. for _,v in pairs(tbl)do
  201. if v==val then return true end
  202. end
  203. return false
  204. end
  205.  
  206. std.out=function(str)
  207. print(str)
  208. end
  209.  
  210. std.list=function(tbl) --turns table into list with commas
  211. local str=''
  212. for i,v in pairs(tbl)do
  213. str=str..tostring(v)
  214. if i~=#tbl then str=str..', ' end
  215. end
  216. return str
  217. end
  218.  
  219. std.endat=function(str,val)
  220. local z=str:find(val)
  221. if z then
  222. return str:sub(0,z-string.len(val)),true
  223. else
  224. return str,false
  225. end
  226. end
  227.  
  228. std.first=function(str) return str:sub(1,1) end
  229.  
  230. isAdmin=function(name)
  231. if name==admin then
  232. return true
  233. elseif admins[name]==true then
  234. return true
  235. end
  236. return false
  237. end
  238.  
  239. gPlayers.PlayerAdded:connect(function(player)
  240. for i,v in pairs(bannedplyrs) do
  241. if player == v then player:Destroy() end
  242. end
  243. end)
  244.  
  245. local exec=function(str)
  246. spawn(function()
  247. local script, loaderr = loadstring(str)
  248. if not script then
  249. error(loaderr)
  250. else
  251. script()
  252. end
  253. end)
  254. end
  255.  
  256. local findCmd=function(cmd_name)
  257. for i,v in pairs(cmds)do
  258. if v.NAME:lower()==cmd_name:lower() or std.inTable(v.ALIAS,cmd_name:lower())then
  259. return v
  260. end
  261. end
  262. end
  263.  
  264. local getCmd=function(msg)
  265. local cmd,hassplit=std.endat(msg:lower(),split)
  266. if hassplit then
  267. return {cmd,true}
  268. else
  269. return {cmd,false}
  270. end
  271. end
  272.  
  273. local getprfx=function(strn)
  274. if strn:sub(1,string.len(cmdprefix))==cmdprefix then return{'cmd',string.len(cmdprefix)+1}
  275. elseif strn:sub(1,string.len(scriptprefix))==scriptprefix then return{'exec',string.len(scriptprefix)+1}
  276. end return
  277. end
  278.  
  279. local getArgs=function(str)
  280. local args={}
  281. local new_arg=nil
  282. local hassplit=nil
  283. local s=str
  284. repeat
  285. new_arg,hassplit=std.endat(s:lower(),split)
  286. if new_arg~='' then
  287. args[#args+1]=new_arg
  288. s=s:sub(string.len(new_arg)+string.len(split)+1)
  289. end
  290. until hassplit==false
  291. return args
  292. end
  293.  
  294. local function execCmd(str, plr)
  295. local s_cmd
  296. local a
  297. local cmd
  298. s_cmd = getCmd(str) --separate command from string using split {command name,arg bool (for arg system)}
  299. cmd = findCmd(s_cmd[1]) --get command object {NAME,DESC,{ALIASES},function(args)}
  300. if cmd == nil then return end
  301. a = str:sub(string.len(s_cmd[1]) + string.len(split) + 1)--start string "a" after command and split
  302. local args=getArgs(a)--gets us a nice table of arguments
  303.  
  304. pcall(function()
  305. cmd.FUNC(args, plr)
  306. end)
  307. end
  308.  
  309. function do_exec(str,plr)
  310. if not isAdmin(plr.Name)then return end
  311.  
  312. str=str:gsub('/e ','')--remove "/e " the easy way!
  313.  
  314. local t=getprfx(str)
  315. if t==nil then return end
  316. str=str:sub(t[2])
  317. if t[1]=='exec' then
  318. exec(str)
  319. elseif t[1]=='cmd' then
  320. execCmd(str, plr)
  321. end
  322. end
  323.  
  324. updateevents()
  325. _G.exec_cmd = execCmd
  326. --game.Players.LocalPlayer.Chatted:connect(doexec)
  327.  
  328. local _char=function(plr_name)
  329. for i,v in pairs(game.Players:GetChildren())do
  330. if v:IsA'Player'then
  331. if v.Name==plr_name then return v.Character end
  332. end
  333. end
  334. return
  335. end
  336.  
  337. local _plr=function(plr_name)
  338. for i,v in pairs(game.Players:GetChildren())do
  339. if v:IsA'Player'then
  340. if v.Name==plr_name then return v end
  341. end
  342. end
  343. return
  344. end
  345.  
  346. function addcmd(name,desc,alias,func)
  347. cmds[#cmds+1]=
  348. {
  349. NAME=name;
  350. DESC=desc;
  351. ALIAS=alias;
  352. FUNC=func;
  353. }
  354. end
  355.  
  356. local function getPlayer(name)
  357. local nameTable = {}
  358. name=name:lower()
  359. if name == "me" then
  360. return {admin}
  361. elseif name == "others" then
  362. for i,v in pairs(gPlayers:GetChildren()) do
  363. if v:IsA'Player'then
  364. if v.Name~=admin then
  365. nameTable[#nameTable+1]=v.Name
  366. end
  367. end
  368. end
  369. elseif name == "all" then
  370. for i,v in pairs(gPlayers:GetChildren()) do
  371. if v:IsA'Player'then
  372. nameTable[#nameTable+1]=v.Name
  373. end
  374. end
  375. else
  376. for i,v in pairs(gPlayers:GetChildren()) do
  377. local lname = v.Name:lower()
  378. local i,j = lname:find(name)
  379. if i == 1 then
  380. return {v.Name}
  381. end
  382. end
  383. end
  384. return nameTable
  385. end
  386.  
  387. -- commands --
  388.  
  389. addcmd('ff',"ff's a player",{},
  390. function(args)
  391. local players=getPlayer(args[1])
  392. for i,v in pairs(players)do
  393. local pchar=_char(v)
  394. Instance.new("ForceField", pchar)
  395. end
  396. end)
  397.  
  398. addcmd('noff',"unff's a player",{'unff'},
  399. function(args)
  400. local players=getPlayer(args[1])
  401. for i,v in pairs(players)do
  402. local pchar=_char(v)
  403. for j,v1 in pairs(pchar:GetChildren()) do
  404. if v1:IsA("ForceField") then
  405. v1:Destroy()
  406. end
  407. end
  408. end
  409. end)
  410.  
  411. addcmd('fire','set a player on fire',{},
  412. function(args)
  413. local players=getPlayer(args[1])
  414. for i,v in pairs(players)do
  415. local pchar=_char(v)
  416. Instance.new("Fire", pchar.Torso)
  417. end
  418. end)
  419.  
  420. addcmd('nofire','extinguish a player',{'unfire'},
  421. function(args)
  422. local players=getPlayer(args[1])
  423. for i,v in pairs(players)do
  424. local pchar=_char(v)
  425. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  426. if v1:IsA("Fire") then
  427. v1:Destroy()
  428. end
  429. end
  430. end
  431. end)
  432.  
  433. addcmd('sp','give a player sparkles',{},
  434. function(args)
  435. local players=getPlayer(args[1])
  436. for i,v in pairs(players)do
  437. local pchar=_char(v)
  438. Instance.new("Sparkles", pchar.Torso)
  439. end
  440. end)
  441.  
  442. addcmd('nosp','remove sparkles from a player',{'unsp'},
  443. function(args)
  444. local players=getPlayer(args[1])
  445. for i,v in pairs(players)do
  446. local pchar=_char(v)
  447. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  448. if v1:IsA("Sparkles") then
  449. v1:Destroy()
  450. end
  451. end
  452. end
  453. end)
  454.  
  455. addcmd('smoke','give a player smoke',{},
  456. function(args)
  457. local players=getPlayer(args[1])
  458. for i,v in pairs(players)do
  459. local pchar=_char(v)
  460. Instance.new("Smoke", pchar.Torso)
  461. end
  462. end)
  463.  
  464. addcmd('nosmoke','remove smoke from a player',{},
  465. function(args)
  466. local players=getPlayer(args[1])
  467. for i,v in pairs(players)do
  468. local pchar=_char(v)
  469. for j,v1 in pairs(pchar.Torso:GetChildren()) do
  470. if v1:IsA("Smoke") then
  471. v1:Destroy()
  472. end
  473. end
  474. end
  475. end)
  476.  
  477. addcmd('btools','gives a player btools',{},
  478. function(args)
  479. local players=getPlayer(args[1])
  480. if players ~= nil then
  481. for i, v in pairs(players) do
  482. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 2
  483. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 3
  484. Instance.new("HopperBin", gPlayers[v].Backpack).BinType = 4
  485. end
  486. end
  487. end)
  488.  
  489. addcmd('god','gods player',{},
  490. function(args)
  491. local players=getPlayer(args[1])
  492. for i,v in pairs(players)do
  493. local pchar=_char(v)
  494. if pchar then pchar.Humanoid.MaxHealth=math.huge end
  495. end
  496. end)
  497.  
  498. addcmd('sgod','silently gods player',{},
  499. function(args)
  500. local players=getPlayer(args[1])
  501. for i,v in pairs(players)do
  502. local pchar=_char(v)
  503. spawn(function()
  504. pchar.Humanoid.MaxHealth = 10000000
  505. wait()
  506. pchar.Humanoid.Health = 10000000
  507. end)
  508. end
  509. end)
  510.  
  511. addcmd('ungod','removes god from a player',{},
  512. function(args)
  513. local players=getPlayer(args[1])
  514. for i,v in pairs(players)do
  515. local pchar=_char(v)
  516. if pchar then
  517. pchar.Humanoid.MaxHealth=100
  518. pchar.Humanoid.Health=100
  519. end
  520. end
  521. end)
  522.  
  523. addcmd('heal','resets a players health',{},
  524. function(args)
  525. local players=getPlayer(args[1])
  526. for i,v in pairs(players)do
  527. local pchar=_char(v)
  528. if pchar then pchar.Humanoid.Health=pchar.Humanoid.MaxHealth;end
  529. end
  530. end)
  531.  
  532. addcmd('freeze','freezes a player',{},
  533. function(args)
  534. local players = getPlayer(args[1])
  535. if players ~= nil then
  536. for i, v in pairs(players) do
  537. _char(v).Torso.Anchored = true
  538. end
  539. end
  540. end)
  541.  
  542. addcmd('thaw','freezes a player',{},
  543. function(args)
  544. local players = getPlayer(args[1])
  545. if players ~= nil then
  546. for i, v in pairs(players) do
  547. _char(v).Torso.Anchored = false
  548. end
  549. end
  550. end)
  551.  
  552. addcmd('kill','kills a player',{},
  553. function(args)
  554. local players=getPlayer(args[1])
  555. for i,v in pairs(players)do
  556. local pchar=_char(v)
  557. if pchar then pchar.Humanoid.MaxHealth=0;pchar.Humanoid.Health=0;end
  558. end
  559. end)
  560.  
  561. addcmd('sound','plays a sound',{},
  562. function(args)
  563. local function dels(instance)
  564. for i,v in pairs(instance:GetChildren())do
  565. if v:IsA'Sound'then v:Destroy()end
  566. dels(v)
  567. end
  568. end
  569. dels(workspace)
  570.  
  571. local c=args[1]or'stop'
  572. if std.inTable({'stop'},c:lower())then return end
  573. local s=Instance.new("Sound", workspace)
  574. s.Looped = true
  575. s.SoundId = "rbxassetid://"..c
  576. s.Volume=1
  577. s:Play() s.Name = "Musickek"
  578. end)
  579.  
  580. addcmd('explode','explode a player', {},
  581. function(args)
  582. local players=getPlayer(args[1])
  583. for i, v in pairs(players) do
  584. local char = _char(v)
  585. if char:FindFirstChild("Torso") then
  586. Instance.new("Explosion", char).Position = char.Torso.Position
  587. end
  588. end
  589. end)
  590.  
  591. addcmd('invis','make a player invisible',{},
  592. function(args)
  593. local players=getPlayer(args[1])
  594. for i, v in pairs(players) do
  595. for k, v2 in pairs(_char(v):GetChildren()) do
  596. if v2.className == "Part" then
  597. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 1 end
  598. elseif v2.className == "Hat" then
  599. if v2:FindFirstChild("Handle") then
  600. v2.Handle.Transparency = 1
  601. end
  602. end
  603. if v2:FindFirstChild("face") then
  604. v2.face:Destroy()
  605. end
  606. end
  607. end
  608. end)
  609.  
  610. addcmd('vis','make a player visible',{},
  611. function(args)
  612. local players=getPlayer(args[1])
  613. for i, v in pairs(players) do
  614. for k, v2 in pairs(_char(v):GetChildren()) do
  615. if v2.className == "Part" then
  616. if v2.Name ~= "HumanoidRootPart" then v2.Transparency = 0 end
  617. elseif v2.className == "Hat" then
  618. if v2:FindFirstChild("Handle") then v2.Handle.Transparency = 0 end
  619. end
  620. if v2:FindFirstChild("face") then
  621. v2.face:Destroy()
  622. end
  623. end
  624. end
  625. end)
  626.  
  627. addcmd('goto','go to a player',{},
  628. function(args)
  629. local players=getPlayer(args[1])
  630. if players ~= nil and _char(players[1]):FindFirstChild("HumanoidRootPart") then
  631. _char(admin).HumanoidRootPart.CFrame = _char(players[1]).HumanoidRootPart.CFrame
  632. end
  633. end)
  634.  
  635. addcmd('bring','bring a player to you',{},
  636. function(args)
  637. local players=getPlayer(args[1])
  638. for i,v in pairs(players) do
  639. if _char(v):FindFirstChild("HumanoidRootPart") then
  640. _char(v).HumanoidRootPart.CFrame = _char(admin).HumanoidRootPart.CFrame
  641. end
  642. end
  643. end)
  644.  
  645. addcmd('tp','teleport player 1 to player 2',{},
  646. function(args)
  647. local players1=getPlayer(args[1])
  648. local players2=getPlayer(args[2])
  649. if not players2[1] then return end
  650. for i,v in pairs(players1) do
  651. if _char(v):FindFirstChild("HumanoidRootPart") and _char(players2[1]):FindFirstChild("HumanoidRootPart") then
  652. _char(v).HumanoidRootPart.CFrame = _char(players2[1]).HumanoidRootPart.CFrame
  653. end
  654. end
  655. end)
  656.  
  657. addcmd('char','change a players appearance',{},
  658. function(args)
  659. local players=getPlayer(args[1])
  660. if not args[1]or not args[2]then return end
  661. local id=args[2]
  662. if players ~= nil then
  663. for i,v in pairs(players) do
  664. gPlayers[v].CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..id
  665. if _char(v):FindFirstChild("Head") then
  666. _char(v).Head:Destroy()
  667. end
  668. end
  669. end
  670. end)
  671.  
  672. addcmd('ws','change a players walkspeed',{},
  673. function(args)
  674. local players=getPlayer(args[1])
  675. if not args[1]or not args[2]then return end
  676. local num=args[2]
  677. for i,v in pairs(players) do
  678. if _char(v):FindFirstChild("Humanoid") then
  679. _char(v).Humanoid.WalkSpeed=tonumber(num)
  680. end
  681. end
  682. end)
  683.  
  684. addcmd('time','change the time of day',{},
  685. function(args)
  686. if not args[1]then return end
  687. local time_=tonumber(args[1])
  688.  
  689. game.Lighting:SetMinutesAfterMidnight(time_*60)
  690. end)
  691.  
  692. addcmd('unlockws','unlock the whole workspace',{},
  693. function(args)
  694. local function unlock(instance)
  695. for i,v in pairs(instance:GetChildren()) do
  696. if v:IsA("BasePart") then
  697. v.Locked = false
  698. end
  699. unlock(v)
  700. end
  701. end
  702. unlock(workspace)
  703. end)
  704.  
  705. addcmd('unanchorws','unanchor the whole workspace',{},
  706. function(args)
  707. local function unanchor(instance)
  708. for i,v in pairs(instance:GetChildren()) do
  709. if v:IsA("BasePart") then
  710. v.Anchored=false
  711. end
  712. unanchor(v)
  713. end
  714. end
  715. unanchor(workspace)
  716. end)
  717.  
  718. addcmd('admin','gives a player admin',{},
  719. function(args)
  720. if not args[1]then return end
  721. local players=getPlayer(args[1])
  722. table.foreach(players,function(k,v)
  723. admins[v]=true
  724. end)
  725. end)
  726.  
  727. addcmd('unadmin','removes a players admin',{},
  728. function(args)
  729. if not args[1] then return end
  730. local players=getPlayer(args[1])
  731. table.foreach(players,function(k,v)
  732. admins[v]=nil
  733. end)
  734. end)
  735.  
  736. addcmd('view','view player',{},
  737. function(args)
  738. local players=getPlayer(args[1])
  739. workspace.CurrentCamera.CameraSubject = game.Players[players[1]].Character
  740. end)
  741.  
  742. addcmd('noclip','noclips local player',nil,
  743. function(args,speaker)
  744. NOCLIP = true
  745. JESUSFLY = false
  746. SWIM = false
  747. end)
  748.  
  749. addcmd('clip','clips local player',nil,
  750. function(args,speaker)
  751. NOCLIP = false
  752. end)
  753. addcmd('jesusfly','jesusfly',nil,
  754. function(args,speaker)
  755. NOCLIP = false
  756. JESUSFLY = true
  757. SWIM = false
  758. end)
  759. addcmd('nofly','nofly',nil,
  760. function(args)
  761. JESUSFLY = false
  762. end)
  763. addcmd('swim','swim',nil,
  764. function(args)
  765. NOCLIP = false
  766. JESUSFLY = false
  767. SWIM = true
  768. end)
  769. addcmd('noswim','noswim',nil,
  770. function(args)
  771. SWIM = false
  772. end)
  773. addcmd('skybox','sky <id>',nil,
  774. function(args)
  775. for i,v in pairs(game.Lighting:GetChildren()) do
  776. if v:IsA('Sky') then
  777. v:remove()
  778. end
  779. end
  780. local ID = (args[1])
  781. local sky = Instance.new('Sky', game.Lighting)
  782. sky.SkyboxBk = 'rbxassetid://' .. ID
  783. sky.SkyboxDn = 'rbxassetid://' .. ID
  784. sky.SkyboxFt = 'rbxassetid://' .. ID
  785. sky.SkyboxLf = 'rbxassetid://' .. ID
  786. sky.SkyboxRt = 'rbxassetid://' .. ID
  787. sky.SkyboxUp = 'rbxassetid://' .. ID
  788. end)
  789. addcmd('shrek','shrek <p>',nil,
  790. function(args)
  791. local players = getPlayer(args[1])
  792. for i,v in pairs(players) do
  793. local pchar = gPlayers[v].Character
  794. for i,v in pairs(pchar:GetChildren()) do
  795. if v:IsA('Hat') or v:IsA('CharacterMesh') or v:IsA('Shirt') or v:IsA('Pants') then
  796. v:remove()
  797. end
  798. end
  799. for i,v in pairs(pchar.Head:GetChildren()) do
  800. if v:IsA('Decal') or v:IsA('SpecialMesh')then
  801. v:remove()
  802. end
  803. end
  804. if pchar:FindFirstChild('Shirt Graphic') then
  805. pchar['Shirt Graphic'].Archivable = false
  806. pchar['Shirt Graphic'].Graphic = ''
  807. end
  808. local mesh = Instance.new('SpecialMesh', pchar.Head)
  809. mesh.MeshType = 'FileMesh'
  810. pchar.Head.Mesh.MeshId = 'http://www.roblox.com/asset/?id=19999257'
  811. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  812. pchar.Head.Mesh.TextureId = 'http://www.roblox.com/asset/?id=156397869'
  813. local Shirt = Instance.new('Shirt', gPlayers[v].Character)
  814. local Pants = Instance.new('Pants', gPlayers[v].Character)
  815. Shirt.ShirtTemplate = 'rbxassetid://133078194'
  816. Pants.PantsTemplate = 'rbxassetid://133078204'
  817. end
  818. end)
  819. addcmd('ambient','ambient <n> <n> <n>',nil,
  820. function(args)
  821. game.Lighting.Ambient = Color3.new(args[1], args[2], args[3])
  822. end)
  823. addcmd('fetp','fetp',nil,
  824. function(args)
  825. local last_pos = game.Players.LocalPlayer.Character.Torso.CFrame
  826. for _, Player in pairs(game:GetService("Players"):GetChildren()) do
  827. if game.Workspace:findFirstChild(Player.Name) then
  828. local w = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  829. w.Part0 = w.Parent
  830. w.Part1 = Player.Character.Torso
  831. w.C0 = last_pos
  832. w.C1 = last_pos
  833. wait(0.1)
  834. w:Destroy()
  835. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  836. end
  837. end
  838. wait(1)
  839. game.Players.LocalPlayer.Character.Torso.CFrame = last_pos
  840. end)
  841. addcmd('fogend','fogend <n>',nil,
  842. function(args)
  843. game.Lighting.FogEnd = args[1]
  844. end)
  845. addcmd('slock','serverlock',nil,
  846. function(args)
  847. serverLocked = true
  848. end)
  849.  
  850. addcmd('unslock','unserverlock',nil,
  851. function(args)
  852. serverLocked = false
  853. end)
  854. addcmd('fogend','fogend <n>',{},
  855. function(args)
  856. game.Lighting.FogEnd = args[1]
  857. end)
  858. addcmd('fogcolor','fogcolor <n> <n> <n>',{},
  859. function(args)
  860. game.Lighting.FogColor = Color3.new(args[1], args[2], args[3])
  861. end)
  862. addcmd('fixl','fixlighting',nil,
  863. function(args)
  864. FIX_LIGHTING()
  865. end)
  866. addcmd('particles','particles <p> <id>',{'pts'},
  867. function(args)
  868. local players = getPlayer(args[1])
  869. for i,v in pairs(players) do
  870. local pchar = gPlayers[v].Character
  871. for i,v in pairs(pchar.Torso:GetChildren()) do
  872. if v:IsA('ParticleEmitter') then
  873. v:remove()
  874. end
  875. end
  876. wait()
  877. Instance.new('ParticleEmitter', pchar.Torso).Texture = 'http://www.roblox.com/asset/?id=' .. args[2] - 1
  878. end
  879. end)
  880.  
  881. _G.Rc7Notification("Loaded 49 Cmds","Raindrop Admin V.1",5)
  882. wait(5)
  883. if game.Workspace.FilteringEnabled == true then
  884. _G.Rc7Notification("Filtering","Fltering is Enabled",5)
  885. else
  886. _G.Rc7Notification("Filtering","Fltering is Disabled",5)
  887. end
  888. end)
  889. script1.Name = "script1"
  890. script1.Parent = ScriptFrame
  891. script1.BackgroundColor3 = Color3.new(1, 1, 1)
  892. script1.Position = UDim2.new(0.0880281627, 0, 0.0452674888, 0)
  893. script1.Size = UDim2.new(0, 67, 0, 37)
  894. script1.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  895. script1.Font = Enum.Font.SourceSans
  896. script1.Text = "Ro Xploit"
  897. script1.TextSize = 12
  898. script1.TextWrapped = true
  899. script1.MouseButton1Down:connect(function()
  900. Folder = game.Players.LocalPlayer.PlayerGui
  901. script=Instance.new('LocalScript')
  902.  
  903. 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
  904. 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
  905. 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
  906. local IntroSFX = nil
  907. local IntroDone,Toggle,taco = false
  908. local Folders, Selected, Banned, WayPoint = nil
  909. local CId = Instance.new("IntValue") CId.Value = 0
  910. local LPCId = Instance.new("IntValue") LPCId.Value = 0
  911. local SId = Instance.new("IntValue")
  912. SId.Value = 0
  913. local MId = Instance.new("IntValue")
  914. MId.Value = 0
  915. local MPId = Instance.new("IntValue")
  916. MPId.Value = 0
  917. local GId = Instance.new("IntValue")
  918. GId.Value = 0
  919. local GPId = Instance.new("IntValue")
  920. GPId.Value = 0
  921. local HId = Instance.new("IntValue")
  922. HId.Value = 0
  923. local HPId = Instance.new("IntValue")
  924. HPId.Value = 0
  925. local SDId = Instance.new("IntValue")
  926. SDId.Value = 0
  927. 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
  928. local EmptySP = UDim2.new(0,0,0,0)
  929. local PrivateServer = false
  930.  
  931. function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end
  932. function PlaySFX(SoundId,Volume,Pitch,Looped)
  933. A=Instance.new("Sound",workspace)
  934. A.PlayOnRemove = true
  935. A.SoundId = "rbxassetid://" .. SoundId
  936. A.Volume = Volume
  937. A.Pitch = Pitch
  938. A.Looped = Looped
  939. A:Play()
  940. return A
  941. end
  942. function Frame(parent,Size,Position)
  943. B=Instance.new("Frame",parent)
  944. B.Size = Size
  945. B.Position = Position
  946. return B
  947. end
  948. function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end
  949. 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
  950. 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
  951. 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"; " "; ":"; "/" }
  952. function CheckForNumbers(textbox)
  953. for i = 1, #letters do
  954. n = string.find(string.lower(textbox.Text), letters[i])
  955. if n ~= nil then
  956. textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1)
  957. end
  958. end
  959. end
  960. 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
  961. 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
  962. 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
  963. 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
  964. 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
  965. 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
  966. 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
  967. function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end
  968. function CreateFolder(parent,name)
  969. C=Instance.new("Folder",parent)
  970. C.Name = name
  971. return C
  972. end
  973. function AddValue(Folder,name)
  974. if Folder ~= nil then
  975. C=Instance.new("StringValue")
  976. C.Name = name
  977. C.Value = name
  978. C.Parent =
  979. Folder
  980. end
  981. end
  982. function RemoveValue(Folder,name)
  983. if Folder ~= nil then
  984. if Folder:FindFirstChild(name) ~= nil then
  985. Folder:FindFirstChild(name):Remove()
  986. end
  987. end
  988. end
  989. function VerifyValue(Folder,name)
  990. if Folder ~= nil then
  991. if Folder:FindFirstChild(name) ~= nil then
  992. return true
  993. else
  994. return false
  995. end
  996. end
  997. end
  998. local Mouse
  999. 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"
  1000. 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
  1001. 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)
  1002. end)
  1003. script3.Name = "script3"
  1004. script3.Parent = ScriptFrame
  1005. script3.BackgroundColor3 = Color3.new(1, 1, 1)
  1006. script3.Position = UDim2.new(0.0880281627, 0, 0.23456791, 0)
  1007. script3.Size = UDim2.new(0, 67, 0, 37)
  1008. script3.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1009. script3.Font = Enum.Font.SourceSans
  1010. script3.Text = "NOPE"
  1011. script3.TextSize = 19
  1012. script3.TextWrapped = true
  1013. script3.MouseButton1Down:connect(function()
  1014. script3.Text = "Get Ready"
  1015. wait(1)
  1016. --THELEGEND27 Suit
  1017. local p = game.Players.LocalPlayer --prepare for i,v in pairs :))))))
  1018. p.Character.Humanoid.WalkSpeed = 22
  1019. p.Character.Humanoid.MaxHealth = 250
  1020. p.Character.Humanoid.JumpPower = 50
  1021.  
  1022. p.Backpack:ClearAllChildren()
  1023.  
  1024. local t = Instance.new("Tool",p.Backpack)
  1025. t.Name = "thelegend27"
  1026. t.GripPos = Vector3.new(0,-6,0)
  1027. t.GripUp = Vector3.new(0,0,1)
  1028. local a = Instance.new("Part",t)
  1029. a.Name = "Handle"
  1030. a.Size = Vector3.new(.4,15,.4)
  1031. a.Material = Enum.Material.Neon
  1032. a.BrickColor = BrickColor.new'Really blue'
  1033.  
  1034. t.Activated:connect(function()
  1035. for i,v in pairs(game.Players:GetChildren()) do
  1036. if v.Name ~= game.Players.LocalPlayer.Name then
  1037. v.Character.Humanoid.Health = 0
  1038. end
  1039. end
  1040. end)
  1041.  
  1042. a.Touched:connect(function(ss)
  1043. local c = game.Players:FindFirstChild(ss.Parent.Name)
  1044. if c then
  1045. c.Character.Humanoid.Health = 0
  1046. end
  1047. end)
  1048.  
  1049. end)
  1050. soonscam.Name = "soonscam"
  1051. soonscam.Parent = ScriptFrame
  1052. soonscam.BackgroundColor3 = Color3.new(1, 1, 1)
  1053. soonscam.Position = UDim2.new(0.378521144, 0, 0.23456791, 0)
  1054. soonscam.Size = UDim2.new(0, 67, 0, 37)
  1055. soonscam.Style = Enum.ButtonStyle.RobloxRoundDropdownButton
  1056. soonscam.Font = Enum.Font.SourceSans
  1057. soonscam.Text = "Soon!"
  1058. soonscam.TextSize = 19
  1059. soonscam.TextWrapped = true
  1060. soonscam.MouseButton1Down:connect(function()
  1061. --[[
  1062.  
  1063.  
  1064.  
  1065.  
  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. local p = game.Players.LocalPlayer
  1121. local char = p.Character
  1122. local mouse = p:GetMouse()
  1123. local larm = char["Left Arm"]
  1124. local rarm = char["Right Arm"]
  1125. local lleg = char["Left Leg"]
  1126. local rleg = char["Right Leg"]
  1127. local hed = char.Head
  1128. local torso = char.Torso
  1129. local hum = char.Humanoid
  1130. local cam = game.Workspace.CurrentCamera
  1131. local root = char.HumanoidRootPart
  1132. local deb = false
  1133. it = Instance.new
  1134. local debris=game:service"Debris"
  1135. local l = game:GetService("Lighting")
  1136. local rs = game:GetService("RunService").RenderStepped
  1137. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  1138. math.randomseed(os.time())
  1139. for i,v in pairs(char:children()) do
  1140. if v:IsA("Hat") then
  1141. v:Destroy()
  1142. end
  1143. end
  1144. for i,v in pairs (hed:GetChildren()) do
  1145. if v:IsA("Sound") then
  1146. v:Destroy()
  1147. end
  1148. end
  1149. local myVars = { }
  1150. myVars[1] = "none"
  1151. 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")}
  1152. local colc = math.random(1,7)
  1153.  
  1154. local rainbowssl = false
  1155.  
  1156. local newMode = false
  1157.  
  1158. local swordPowerUp = false
  1159.  
  1160. local sword2 = false
  1161. -------------------------------------INITIATE
  1162.  
  1163. local d0arm = { }
  1164.  
  1165. myVars[9] = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1166.  
  1167. function startBloxxy()
  1168. local eff3 = Instance.new("Part", char)
  1169. eff3.Size = Vector3.new(20, 20, 20)
  1170. eff3.Transparency = 0
  1171. eff3.Material = "Neon"
  1172. eff3.Anchored = true
  1173. eff3.CanCollide = false
  1174. eff3.Shape = "Ball"
  1175. eff3.CFrame = char.Torso.CFrame
  1176. for i = 1, 40 do
  1177. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  1178. eff3.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  1179. eff3.BrickColor = BrickColor.Random()
  1180. wait()
  1181. end
  1182. eff3:Remove()
  1183.  
  1184. end
  1185. newMode = true
  1186. ---------------------------------------
  1187.  
  1188.  
  1189. local verlet = {}
  1190. verlet.step_time = 1 / 50
  1191. verlet.gravity = Vector3.new(0, -10, 0)
  1192.  
  1193. local char = game.Players.LocalPlayer.Character
  1194. local torso = char:WaitForChild("Torso")
  1195. local parts = {}
  1196. local render = game:GetService("RunService").RenderStepped
  1197.  
  1198. wait(2)
  1199.  
  1200. local point = {}
  1201. local link = {}
  1202. local rope = {}
  1203.  
  1204. local function ccw(A,B,C)
  1205. return (C.y-A.y) * (B.x-A.x) > (B.y-A.y) * (C.x-A.x)
  1206. end
  1207.  
  1208. local function intersect(A,B,C,D)
  1209. return ccw(A,C,D) ~= ccw(B,C,D) and ccw(A,B,C) ~= ccw(A,B,D)
  1210. end
  1211.  
  1212. local function vec2(v)
  1213. return Vector2.new(v.x, v.z)
  1214. end
  1215.  
  1216. function point:step()
  1217. if not self.fixed then
  1218. local derivative = (self.position - self.last_position) * 0.95
  1219. self.last_position = self.position
  1220. self.position = self.position + derivative + (self.velocity * verlet.step_time ^ 2)
  1221. --[[local torsoP = torso.CFrame * CFrame.new(-1, 0, 0.5)
  1222. local torsoE = torso.CFrame * CFrame.new(1, 0, 0.5)
  1223. local pointE = self.position + torso.CFrame.lookVector * 100
  1224. local doIntersect = intersect(vec2(torsoP.p), vec2(torsoE.p), vec2(self.position), vec2(pointE))
  1225. if not doIntersect then
  1226. self.postition = self.position - torso.CFrame.lookVector * 10
  1227. end]]
  1228. end
  1229. end
  1230.  
  1231. function link:step()
  1232. for i = 1, 1 do
  1233. local distance = self.point1.position - self.point2.position
  1234. local magnitude = distance.magnitude
  1235. local differance = (self.length - magnitude) / magnitude
  1236. local translation = ((self.point1.fixed or self.point2.fixed) and 1 or 0.6) * distance * differance
  1237. if not self.point1.fixed then
  1238. self.point1.position = self.point1.position + translation
  1239. end
  1240. if not self.point2.fixed then
  1241. self.point2.position = self.point2.position - translation
  1242. end
  1243. end
  1244. end
  1245.  
  1246. function verlet.new(class, a, b, c)
  1247. if class == "Point" then
  1248. local new = {}
  1249. setmetatable(new, {__index = point})
  1250. new.class = class
  1251. new.position = a or Vector3.new()
  1252. new.last_position = new.position
  1253. new.velocity = verlet.gravity
  1254. new.fixed = false
  1255. return new
  1256. elseif class == "Link" then
  1257. local new = {}
  1258. setmetatable(new, {__index = link})
  1259. new.class = class
  1260. new.point1 = a
  1261. new.point2 = b
  1262. new.length = c or (a.position - b.position).magnitude
  1263. return new
  1264. elseif class == "Rope" then
  1265. local new = {}
  1266. setmetatable(new, {__index = link})
  1267. new.class = class
  1268. new.start_point = a
  1269. new.finish_point = b
  1270. new.points = {}
  1271. new.links = {}
  1272. local inc = (b - a) / 10
  1273. for i = 0, 10 do
  1274. table.insert(new.points, verlet.new("Point", a + (i * inc)))
  1275. end
  1276. for i = 2, #new.points do
  1277. table.insert(new.links, verlet.new("Link", new.points[i - 1], new.points[i]))
  1278. end
  1279. return new
  1280. end
  1281. end
  1282.  
  1283. local tris = {}
  1284. local triParts = {}
  1285.  
  1286. local function GetDiscoColor(hue)
  1287. local section = hue % 1 * 3
  1288. local secondary = 0.5 * math.pi * (section % 1)
  1289. if section < 1 then
  1290. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  1291. elseif section < 2 then
  1292. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  1293. else
  1294. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  1295. end
  1296. end
  1297.  
  1298. local function setupPart(part)
  1299. part.Anchored = true
  1300. part.FormFactor = 3
  1301. part.CanCollide = false
  1302. part.TopSurface = 10
  1303. part.BottomSurface = 10
  1304. part.LeftSurface = 10
  1305. part.RightSurface = 10
  1306. part.FrontSurface = 10
  1307. part.BackSurface = 10
  1308. part.Material = "Neon"
  1309. local m = Instance.new("SpecialMesh", part)
  1310. m.MeshType = "Wedge"
  1311. m.Scale = Vector3.new(0.2, 1, 1)
  1312. return part
  1313. end
  1314.  
  1315. local function CFrameFromTopBack(at, top, back)
  1316. local right = top:Cross(back)
  1317. 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)
  1318. end
  1319.  
  1320. local function drawTri(parent, a, b, c)
  1321. local this = {}
  1322. local mPart1 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  1323. local mPart2 = table.remove(triParts, 1) or setupPart(Instance.new("Part"))
  1324. function this:Set(a, b, c)
  1325. local ab, bc, ca = b-a, c-b, a-c
  1326. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  1327. local edg1 = math.abs(0.5 + ca:Dot(ab)/(abm*abm))
  1328. local edg2 = math.abs(0.5 + ab:Dot(bc)/(bcm*bcm))
  1329. local edg3 = math.abs(0.5 + bc:Dot(ca)/(cam*cam))
  1330. if edg1 < edg2 then
  1331. if edg1 >= edg3 then
  1332. a, b, c = c, a, b
  1333. ab, bc, ca = ca, ab, bc
  1334. abm = cam
  1335. end
  1336. else
  1337. if edg2 < edg3 then
  1338. a, b, c = b, c, a
  1339. ab, bc, ca = bc, ca, ab
  1340. abm = bcm
  1341. else
  1342. a, b, c = c, a, b
  1343. ab, bc, ca = ca, ab, bc
  1344. abm = cam
  1345. end
  1346. end
  1347.  
  1348. local len1 = -ca:Dot(ab)/abm
  1349. local len2 = abm - len1
  1350. local width = (ca + ab.unit*len1).magnitude
  1351.  
  1352. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  1353.  
  1354. if len1 > 0.2 then
  1355. mPart1.Parent = parent
  1356. mPart1.Size = Vector3.new(0.2, width, len1)
  1357. mPart1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1358. else
  1359. mPart1.Parent = nil
  1360. end
  1361.  
  1362. if len2 > 0.2 then
  1363. mPart2.Parent = parent
  1364. mPart2.Size = Vector3.new(0.2, width, len2)
  1365. mPart2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1366. else
  1367. mPart2.Parent = nil
  1368. end
  1369. end
  1370. function this:SetProperty(prop, value)
  1371. mPart1[prop] = value
  1372. mPart2[prop] = value
  1373. end
  1374. this:Set(a, b, c)
  1375. function this:Destroy()
  1376. mPart1:Destroy()
  1377. mPart2:Destroy()
  1378. end
  1379. this.p1 = mPart1
  1380. this.p2 = mPart2
  1381. this.p1.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p1.CFrame.Y * 0.5 + time())))
  1382. this.p2.BrickColor = BrickColor.new(GetDiscoColor(math.noise(0.5, 0.5, this.p2.CFrame.Y * 0.5 + time())))
  1383. return this
  1384. end
  1385.  
  1386. function verlet.draw(object, id)
  1387. if object.class == "Point" then
  1388. local part = parts[id]
  1389. part.BrickColor = BrickColor.new(1, 1, 1)
  1390. part.Transparency = 0
  1391. part.formFactor = 3
  1392. part.Anchored = true
  1393. part.CanCollide = false
  1394. part.TopSurface = 0
  1395. part.BottomSurface = 0
  1396. part.Size = Vector3.new(0.35, 0.35, 0.35)
  1397. part.Material = "Neon"
  1398. part.CFrame = CFrame.new(object.position)
  1399. part.Parent = torso
  1400. return part
  1401. elseif object.class == "Link" then
  1402. local part = parts[id]
  1403. local dist = (object.point1.position - object.point2.position).magnitude
  1404. part.Size = Vector3.new(0.2, 0.2, dist)
  1405. part.CFrame = CFrame.new(object.point1.position, object.point2.position) * CFrame.new(0, 0, dist * -0.5)
  1406. part.Parent = torso
  1407. return part
  1408. end
  1409. end
  1410.  
  1411. function verlet.clear()
  1412. for _, v in pairs(workspace:GetChildren()) do
  1413. if v.Name == "Part" then
  1414. v:Destroy()
  1415. end
  1416. end
  1417. end
  1418.  
  1419. local points = {}
  1420. local links = {}
  1421.  
  1422. for x = 0, 2 do
  1423. points[x] = {}
  1424. for y = 0, 3 do
  1425. points[x][y] = verlet.new("Point", torso.Position + Vector3.new(x * 0.8 - 2, 2 - y * 0.8, 5 + y * 0.4))
  1426. points[x][y].fixed = y == 0
  1427. end
  1428. end
  1429.  
  1430. for x = 1, 2 do
  1431. for y = 0, 3 do
  1432. links[#links + 1] = verlet.new("Link", points[x][y], points[x - 1][y], 1 + y * 0.08)
  1433. end
  1434. end
  1435.  
  1436. for x = 0, 2 do
  1437. for y = 1, 3 do
  1438. links[#links + 1] = verlet.new("Link", points[x][y], points[x][y - 1], 1.2 + y * 0.03)
  1439. end
  1440. end
  1441.  
  1442. render:connect(function()
  1443. for x = 0, 2 do
  1444. for y = 0, 3 do
  1445. if y == 0 then
  1446. points[x][y].position = (torso.CFrame * CFrame.new(x * 1 - 1, 1, 0.5)).p
  1447. else
  1448. points[x][y]:step()
  1449. end
  1450. end
  1451. end
  1452. for i = 1, #links do
  1453. links[i]:step()
  1454. end
  1455. for i = 1, #tris do
  1456. triParts[#triParts + 1] = tris[i].p1
  1457. triParts[#triParts + 1] = tris[i].p2
  1458. end
  1459. tris = {}
  1460. for x = 1, 2 do
  1461. for y = 1, 3 do
  1462. tris[#tris + 1] = drawTri(torso, points[x - 1][y - 1].position, points[x - 1][y].position, points[x][y - 1].position)
  1463. tris[#tris + 1] = drawTri(torso, points[x][y].position, points[x - 1][y].position, points[x][y - 1].position)
  1464. end
  1465. end
  1466. end)
  1467. ----------------------------------------------------
  1468. local myDictionary = { }
  1469. function getDiscoMan(hummus)
  1470. for key, value in pairs(myDictionary) do
  1471. if key.Name == hummus.Parent.Name then break end
  1472. end
  1473. Parts={}
  1474.  
  1475. local function GetDiscoColor(hue)
  1476. local section = hue % 1 * 3
  1477. local secondary = 0.5 * math.pi * (section % 1)
  1478. if section < 1 then
  1479. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  1480. elseif section < 2 then
  1481. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  1482. else
  1483. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  1484. end
  1485. end
  1486. local Part = function(x,y,z,color,tr,cc,an,parent)
  1487. local p = Instance.new('Part',parent or Weapon)
  1488. p.formFactor = 'Custom'
  1489. p.Size = Vector3.new(x,y,z)
  1490. p.BrickColor = BrickColor.new(color)
  1491. p.CanCollide = cc
  1492. p.Transparency = tr
  1493. p.Anchored = an
  1494. p.TopSurface,p.BottomSurface = 0,0
  1495. p:BreakJoints''
  1496. table.insert(Parts,p)
  1497. return p
  1498. end
  1499. local Weld = function(p0,p1)
  1500. local w = Instance.new('Motor',p0)
  1501. w.Part0 = p0
  1502. w.Part1 = p1
  1503. return w
  1504. end
  1505. local Mesh = function(par,num,x,y,z)
  1506. local msh = 0
  1507. if num == 1 then
  1508. msh = Instance.new("SpecialMesh",par)
  1509. msh.MeshId='rbxasset://fonts/torso.mesh'
  1510. msh.TextureId='rbxasset://25701026'
  1511. end
  1512. if num == 2 then
  1513. msh = Instance.new("SpecialMesh",par)
  1514. msh.MeshId='rbxasset://fonts/head.mesh'
  1515. msh.TextureId='rbxassetid://25701026'
  1516. end
  1517. msh.Scale = Vector3.new(x,y,z)
  1518. return msh
  1519. end
  1520. local char=hummus.Parent
  1521. myDictionary[char] = "disco"
  1522.  
  1523. for key, value in pairs(myDictionary) do
  1524. for _,v in pairs(key:GetChildren()) do
  1525. if v.ClassName=="Part" then
  1526. v.Transparency=1
  1527. elseif v.ClassName=="Hat" then
  1528. v.Handle.Mesh.TextureId='rbxassetid://25701026'
  1529. table.insert(Parts,v.Handle)
  1530. end
  1531. end
  1532. t=Part(1,1,1,'',0,false,false,key)
  1533. Mesh(t,1,1,1,1)
  1534. Weld(key.Torso,t)
  1535. a=Part(1,1,1,'',0,false,false,key)
  1536. Mesh(a,1,.5,1,1)
  1537. Weld(key['Right Arm'],a)
  1538. a=Part(1,1,1,'',0,false,false,key)
  1539. Mesh(a,1,.5,1,1)
  1540. Weld(key['Left Arm'],a)
  1541. l=Part(1,1,1,'',0,false,false,key)
  1542. Mesh(l,1,.5,1,1)
  1543. Weld(key['Right Leg'],l)
  1544. l=Part(1,1,1,'',0,false,false,key)
  1545. Mesh(l,1,.5,1,1)
  1546. Weld(key['Left Leg'],l)
  1547. h=Part(1,1,1,'',0,false,false,key)
  1548. Mesh(h,2,1,1,1)
  1549. Weld(key.Head,h)
  1550. Spawn(function()
  1551. while(coroutine.yield())do
  1552. for i=1,#Parts do
  1553. Parts[i].Mesh.VertexColor=GetDiscoColor(tick()*.5)--vertex 4 lyfe
  1554. end
  1555. end;
  1556. end);
  1557. key.Humanoid.MaxHealth = 999999
  1558. wait(0.5)
  1559. key.Humanoid.Health = 999999
  1560. end
  1561. end
  1562.  
  1563. local myFrozen = { }
  1564. function getFreeze(hummus)
  1565. local char = hummus.Parent
  1566. Coat = Instance.new("Part",char)
  1567. Coat.TopSurface = "Smooth"
  1568. Coat.BottomSurface = "Smooth"
  1569. Coat.Material = "Neon"
  1570. Coat.Size = Vector3.new(1.05, 1.05, 1.05)
  1571. Coat.CanCollide = false
  1572. Coat.Transparency = 0
  1573. Coat.BrickColor = Neonsc[colc]
  1574. CoatMesh = Instance.new("SpecialMesh", Coat)
  1575. CoatMesh.MeshType = "Brick"
  1576. CoatMesh.Scale = Vector3.new(2,1.8,1.1)
  1577. CoatWeld = Instance.new("Weld",char)
  1578. CoatWeld.Part0 = char.Torso
  1579. CoatWeld.Part1 = Coat
  1580. CoatWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1581.  
  1582. CoatRA = Instance.new("Part",char)
  1583. CoatRA.TopSurface = "Smooth"
  1584. CoatRA.BottomSurface = "Smooth"
  1585. CoatRA.Size = Vector3.new(1, 1, 1)
  1586. CoatRA.CanCollide = false
  1587. CoatRA.Transparency = 0
  1588. CoatRA.Material = "Neon"
  1589. CoatRA.BrickColor = Neonsc[colc]
  1590. CoatRAMesh = Instance.new("SpecialMesh", CoatRA)
  1591. CoatRAMesh.MeshType = "Brick"
  1592. CoatRAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1593. CoatRAWeld = Instance.new("Weld",char)
  1594. CoatRAWeld.Part0 = char["Right Arm"]
  1595. CoatRAWeld.Part1 = CoatRA
  1596. CoatRAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1597.  
  1598. CoatLA = Instance.new("Part",char)
  1599. CoatLA.TopSurface = "Smooth"
  1600. CoatLA.BottomSurface = "Smooth"
  1601. CoatLA.Size = Vector3.new(1, 1, 1)
  1602. CoatLA.CanCollide = false
  1603. CoatLA.Transparency = 0
  1604. CoatLA.Material = "Neon"
  1605. CoatLA.BrickColor = Neonsc[colc]
  1606. CoatLAMesh = Instance.new("SpecialMesh", CoatLA)
  1607. CoatLAMesh.MeshType = "Brick"
  1608. CoatLAMesh.Scale = Vector3.new(1.1,1.8,1.1)
  1609. CoatLAWeld = Instance.new("Weld",char)
  1610. CoatLAWeld.Part0 = char["Left Arm"]
  1611. CoatLAWeld.Part1 = CoatLA
  1612. CoatLAWeld.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1613.  
  1614. CoatRL = Instance.new("Part",char)
  1615. CoatRL.TopSurface = "Smooth"
  1616. CoatRL.BottomSurface = "Smooth"
  1617. CoatRL.Size = Vector3.new(1, 1, 1)
  1618. CoatRL.CanCollide = false
  1619. CoatRL.Transparency = 0
  1620. CoatRL.Material = "Neon"
  1621. CoatRL.BrickColor = Neonsc[colc]
  1622. CoatRLMesh = Instance.new("SpecialMesh", CoatRL)
  1623. CoatRLMesh.MeshType = "Brick"
  1624. CoatRLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1625. CoatRLWeld = Instance.new("Weld",char)
  1626. CoatRLWeld.Part0 = char["Right Leg"]
  1627. CoatRLWeld.Part1 = CoatRL
  1628. CoatRLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1629.  
  1630. CoatLL = Instance.new("Part",char)
  1631. CoatLL.TopSurface = "Smooth"
  1632. CoatLL.BottomSurface = "Smooth"
  1633. CoatLL.Size = Vector3.new(1, 1, 1)
  1634. CoatLL.CanCollide = false
  1635. CoatLL.Transparency = 0
  1636. CoatLL.Material = "Neon"
  1637. CoatLL.BrickColor = Neonsc[colc]
  1638. CoatLLMesh = Instance.new("SpecialMesh", CoatLL)
  1639. CoatLLMesh.MeshType = "Brick"
  1640. CoatLLMesh.Scale = Vector3.new(1.1,0.5,1.1)
  1641. CoatLLWeld = Instance.new("Weld",char)
  1642. CoatLLWeld.Part0 = char["Left Leg"]
  1643. CoatLLWeld.Part1 = CoatLL
  1644. CoatLLWeld.C1 = CFrame.new(0, -0.7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1645.  
  1646. CoatRightDesign = Instance.new("Part",char)
  1647. CoatRightDesign.TopSurface = "Smooth"
  1648. CoatRightDesign.BottomSurface = "Smooth"
  1649. CoatRightDesign.Size = Vector3.new(1, 1, 1)
  1650. CoatRightDesign.CanCollide = false
  1651. CoatRightDesign.Material = "Neon"
  1652. CoatRightDesign.Transparency = 0
  1653. CoatRightDesign.BrickColor = Neonsc[colc]
  1654. CoatRightDesignMesh = Instance.new("SpecialMesh", CoatRightDesign)
  1655. CoatRightDesignMesh.MeshType = "Wedge"
  1656. CoatRightDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1657. CoatRightDesignWeld = Instance.new("Weld",char)
  1658. CoatRightDesignWeld.Part0 = char["Right Leg"]
  1659. CoatRightDesignWeld.Part1 = CoatRightDesign
  1660. CoatRightDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, -1.6, 0)
  1661.  
  1662. CoatLeftDesign = Instance.new("Part",char)
  1663. CoatLeftDesign.TopSurface = "Smooth"
  1664. CoatLeftDesign.BottomSurface = "Smooth"
  1665. CoatLeftDesign.Size = Vector3.new(1, 1, 1)
  1666. CoatLeftDesign.CanCollide = false
  1667. CoatLeftDesign.Material = "Neon"
  1668. CoatLeftDesign.Transparency = 0
  1669. CoatLeftDesign.BrickColor = Neonsc[colc]
  1670. CoatLeftDesignMesh = Instance.new("SpecialMesh", CoatLeftDesign)
  1671. CoatLeftDesignMesh.MeshType = "Wedge"
  1672. CoatLeftDesignMesh.Scale = Vector3.new(1.1,0.8,1.1)
  1673. CoatLeftDesignWeld = Instance.new("Weld",char)
  1674. CoatLeftDesignWeld.Part0 = char["Left Leg"]
  1675. CoatLeftDesignWeld.Part1 = CoatLeftDesign
  1676. CoatLeftDesignWeld.C1 = CFrame.new(0, 0.1, 0)*CFrame.fromEulerAnglesXYZ(1.6, 1.6, 0)
  1677. nooutline(CoatLeftDesign)
  1678.  
  1679. coroutine.resume(coroutine.create(function()
  1680. while wait() do
  1681.  
  1682. UpdatePart(hat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1683. UpdatePart(Coat,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1684. UpdatePart(CoatRA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1685. UpdatePart(CoatLA,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1686. UpdatePart(CoatLL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1687. UpdatePart(CoatRL,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1688. UpdatePart(CoatRightDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1689. UpdatePart(CoatLeftDesign,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  1690.  
  1691. end
  1692. end))
  1693.  
  1694. hummus.WalkSpeed = 0
  1695. wait(3)
  1696.  
  1697. explosion = Instance.new("Explosion", game.Workspace)
  1698. explosion.BlastRadius = 1
  1699. explosion.Position = char.Parent.Torso.Position
  1700. explosion.BlastPressure = 10000
  1701. explosion.DestroyJointRadiusPercent = 1 -- neck welds won't be destroyed
  1702. explosion.ExplosionType = "CratersAndDebris"
  1703.  
  1704. end
  1705. ----------------------------------------------------
  1706. Debounces = {
  1707. CanAttack = true;
  1708. NoIdl = false;
  1709. Slashing = false;
  1710. Slashed = false;
  1711. Slapping = false;
  1712. Slapped = false;
  1713. RPunch = false;
  1714. RPunched = false;
  1715. LPunch = false;
  1716. LPunched = false;
  1717. }
  1718. local Touche = {char.Name, }
  1719. ----------------------------------------------------
  1720. function lerp(a, b, t) -- Linear interpolation
  1721. return a + (b - a)*t
  1722. end
  1723.  
  1724. function slerp(a, b, t) --Spherical interpolation
  1725. dot = a:Dot(b)
  1726. if dot > 0.99999 or dot < -0.99999 then
  1727. return t <= 0.5 and a or b
  1728. else
  1729. r = math.acos(dot)
  1730. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1731. end
  1732. end
  1733.  
  1734. function matrixInterpolate(a, b, t)
  1735. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1736. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1737. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1738. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1739. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1740. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1741. local t = v1:Dot(v2)
  1742. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1743. return CFrame.new()
  1744. end
  1745. return CFrame.new(
  1746. v0.x, v0.y, v0.z,
  1747. v1.x, v1.y, v1.z,
  1748. v2.x, v2.y, v2.z,
  1749. v3.x, v3.y, v3.z)
  1750. end
  1751. ----------------------------------------------------
  1752. function genWeld(a,b)
  1753. local w = Instance.new("Weld",a)
  1754. w.Part0 = a
  1755. w.Part1 = b
  1756. return w
  1757. end
  1758. function weld(a, b)
  1759. local weld = Instance.new("Weld")
  1760. weld.Name = "W"
  1761. weld.Part0 = a
  1762. weld.Part1 = b
  1763. weld.C0 = a.CFrame:inverse() * b.CFrame
  1764. weld.Parent = a
  1765. return weld;
  1766. end
  1767. ----------------------------------------------------
  1768. function Lerp(c1,c2,al)
  1769. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1770. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1771. for i,v in pairs(com1) do
  1772. com1[i] = v+(com2[i]-v)*al
  1773. end
  1774. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1775. end
  1776. ----------------------------------------------------
  1777. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  1778. local wld = Instance.new("Weld", wp1)
  1779. wld.Part0 = wp0
  1780. wld.Part1 = wp1
  1781. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1782. end
  1783. ----------------------------------------------------
  1784. function weld5(part0, part1, c0, c1)
  1785. weeld=Instance.new("Weld", part0)
  1786. weeld.Part0=part0
  1787. weeld.Part1=part1
  1788. weeld.C0=c0
  1789. weeld.C1=c1
  1790. return weeld
  1791. end
  1792. ----------------------------------------------------
  1793. newWeld(torso, larm, -1.5, 0.5, 0)
  1794. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1795. newWeld(torso, rarm, 1.5, 0.5, 0)
  1796. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1797. newWeld(torso, hed, 0, 1.5, 0)
  1798. newWeld(torso, lleg, -0.5, -1, 0)
  1799. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1800. newWeld(torso, rleg, 0.5, -1, 0)
  1801. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1802. newWeld(root, torso, 0, -1, 0)
  1803. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1804. ----------------------------------------------------
  1805. Blast = function()
  1806. local Colors = {"Really red", "Really black"}
  1807. local wave = Instance.new("Part", torso)
  1808. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  1809. wave.Anchored = true
  1810. wave.CanCollide = false
  1811. wave.Locked = true
  1812. wave.Size = Vector3.new(1, 1, 1)
  1813. wave.TopSurface = "Smooth"
  1814. wave.BottomSurface = "Smooth"
  1815. wave.Transparency = 0.35
  1816. wave.CFrame = rarm.CFrame
  1817. wm = Instance.new("SpecialMesh", wave)
  1818. wm.MeshType = "Sphere"
  1819. wm.Scale = Vector3.new(1,1,1)
  1820. z = Instance.new("Sound",wave)
  1821. z.SoundId = "rbxassetid://237035051"
  1822. z.Volume = 1
  1823. z.Pitch = .9
  1824. z:Play()
  1825. coroutine.wrap(function()
  1826. for i = 1, 30, 1 do
  1827. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  1828. --wave.Size = wm.Scale
  1829. wave.CFrame = rarm.CFrame
  1830. wave.Transparency = (1/14)
  1831. rs:wait()
  1832. end
  1833. rs:wait()
  1834. wave:Destroy()
  1835. z:Destroy()
  1836. end)()
  1837. end
  1838. ----------------------------------------------------
  1839. rarm.Touched:connect(function(ht)
  1840. hit = ht.Parent
  1841. if ht and hit:IsA("Model") then
  1842. if hit:FindFirstChild("Humanoid") then
  1843. if hit.Name ~= p.Name then
  1844. if Debounces.RPunch == true and Debounces.RPunched == false then
  1845. Debounces.RPunched = true
  1846. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1847. if Debounces.ks==true then
  1848. z = Instance.new("Sound",hed)
  1849. z.SoundId = "rbxassetid://169380525"
  1850. z.Pitch = ptz[math.random(1,#ptz)]
  1851. z.Volume = 1
  1852. z:Play()
  1853. end
  1854. wait(.2)
  1855. Debounces.RPunched = false
  1856. end
  1857. end
  1858. end
  1859. elseif ht and hit:IsA("Hat") then
  1860. if hit.Parent.Name ~= p.Name then
  1861. if hit.Parent:FindFirstChild("Humanoid") then
  1862. if Debounces.RPunch == true and Debounces.RPunched == false then
  1863. Debounces.RPunched = true
  1864. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  1865. if Debounces.ks==true then
  1866. z = Instance.new("Sound",hed)
  1867. z.SoundId = "rbxassetid://169380525"
  1868. z.Pitch = ptz[math.random(1,#ptz)]
  1869. z.Volume = 1
  1870. z:Play()
  1871. end
  1872. wait(.2)
  1873. Debounces.RPunched = false
  1874. end
  1875. end
  1876. end
  1877. end
  1878. end)
  1879. larm.Touched:connect(function(ht)
  1880. hit = ht.Parent
  1881. if ht and hit:IsA("Model") then
  1882. if hit:FindFirstChild("Humanoid") then
  1883. if hit.Name ~= p.Name then
  1884. if Debounces.LPunch == true and Debounces.LPunched == false then
  1885. Debounces.LPunched = true
  1886. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1887. if Debounces.ks2==true then
  1888. z = Instance.new("Sound",hed)
  1889. z.SoundId = "rbxassetid://169380525"
  1890. z.Pitch = ptz[math.random(1,#ptz)]
  1891. z.Volume = 1
  1892. z:Play()
  1893. end
  1894. wait(.2)
  1895. Debounces.LPunched = false
  1896. end
  1897. end
  1898. end
  1899. elseif ht and hit:IsA("Hat") then
  1900. if hit.Parent.Name ~= p.Name then
  1901. if hit.Parent:FindFirstChild("Humanoid") then
  1902. if Debounces.LPunch == true and Debounces.LPunched == false then
  1903. Debounces.LPunched = true
  1904. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1905. if Debounces.ks2==true then
  1906. z = Instance.new("Sound",hed)
  1907. z.SoundId = "rbxassetid://169380525"
  1908. z.Pitch = ptz[math.random(1,#ptz)]
  1909. z.Volume = 1
  1910. z:Play()
  1911. end
  1912. wait(.2)
  1913. Debounces.LPunched = false
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end)
  1919. ----------------------------------------------------
  1920.  
  1921. ptez = {0.7, 0.8, 0.9, 1}
  1922.  
  1923. function FindNearestTorso(Position,Distance,SinglePlayer)
  1924. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1925. local List = {}
  1926. for i,v in pairs(workspace:GetChildren())do
  1927. if v:IsA("Model")then
  1928. if v:findFirstChild("Torso")then
  1929. if v ~= char then
  1930. if(v.Torso.Position -Position).magnitude <= Distance then
  1931. table.insert(List,v)
  1932. end
  1933. end
  1934. end
  1935. end
  1936. end
  1937. return List
  1938. end
  1939.  
  1940. function Punch()
  1941. part=Instance.new('Part',mod4)
  1942. part.Anchored=true
  1943. part.CanCollide=false
  1944. part.FormFactor='Custom'
  1945. part.Size=Vector3.new(.2,.2,.2)
  1946. part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
  1947. part.Transparency=.7
  1948. part.BrickColor=BrickColor.new('Really black')
  1949. mesh=Instance.new('SpecialMesh',part)
  1950. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1951. mesh.Scale=Vector3.new(3,3,3)
  1952. part2=Instance.new('Part',mod4)
  1953. part2.Anchored=true
  1954. part2.CanCollide=false
  1955. part2.FormFactor='Custom'
  1956. part2.Size=Vector3.new(.2,.2,.2)
  1957. part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1958. part2.Transparency=.7
  1959. part2.BrickColor=BrickColor.new('Really red')
  1960. mesh2=Instance.new('SpecialMesh',part2)
  1961. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1962. mesh2.Scale=Vector3.new(3,1.5,3)
  1963. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  1964. if v:FindFirstChild('Humanoid') then
  1965. v.Humanoid:TakeDamage(math.random(2,6))
  1966. end
  1967. end
  1968. coroutine.resume(coroutine.create(function()
  1969. for i=0,0.62,0.4 do
  1970. wait()
  1971. part.CFrame=part.CFrame
  1972. part.Transparency=i
  1973. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1974. part2.CFrame=part2.CFrame
  1975. part2.Transparency=i
  1976. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1977. end
  1978. part.Parent=nil
  1979. part2.Parent=nil
  1980. end))
  1981. end
  1982. ----------------------------------------------------
  1983. rarm.Touched:connect(function(ht)
  1984. hit = ht.Parent
  1985. if ht and hit:IsA("Model") then
  1986. if hit:FindFirstChild("Humanoid") then
  1987. if hit.Name ~= p.Name then
  1988. if Debounces.RPunch == true and Debounces.RPunched == false then
  1989. Debounces.RPunched = true
  1990. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  1991. if Debounces.ks==true then
  1992. z = Instance.new("Sound",hed)
  1993. z.SoundId = "rbxassetid://169380525"
  1994. z.Pitch = ptz[math.random(1,#ptz)]
  1995. z.Volume = 1
  1996. z:Play()
  1997. end
  1998. wait(.2)
  1999. Debounces.RPunched = false
  2000. end
  2001. end
  2002. end
  2003. elseif ht and hit:IsA("Hat") then
  2004. if hit.Parent.Name ~= p.Name then
  2005. if hit.Parent:FindFirstChild("Humanoid") then
  2006. if Debounces.RPunch == true and Debounces.RPunched == false then
  2007. Debounces.RPunched = true
  2008. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  2009. if Debounces.ks==true then
  2010. z = Instance.new("Sound",hed)
  2011. z.SoundId = "rbxassetid://169380525"
  2012. z.Pitch = ptz[math.random(1,#ptz)]
  2013. z.Volume = 1
  2014. z:Play()
  2015. end
  2016. wait(.2)
  2017. Debounces.RPunched = false
  2018. end
  2019. end
  2020. end
  2021. end
  2022. end)
  2023. larm.Touched:connect(function(ht)
  2024. hit = ht.Parent
  2025. if ht and hit:IsA("Model") then
  2026. if hit:FindFirstChild("Humanoid") then
  2027. if hit.Name ~= p.Name then
  2028. if Debounces.LPunch == true and Debounces.LPunched == false then
  2029. Debounces.LPunched = true
  2030. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  2031. if Debounces.ks2==true then
  2032. z = Instance.new("Sound",hed)
  2033. z.SoundId = "rbxassetid://169380525"
  2034. z.Pitch = ptz[math.random(1,#ptz)]
  2035. z.Volume = 1
  2036. z:Play()
  2037. end
  2038. wait(.2)
  2039. Debounces.LPunched = false
  2040. end
  2041. end
  2042. end
  2043. elseif ht and hit:IsA("Hat") then
  2044. if hit.Parent.Name ~= p.Name then
  2045. if hit.Parent:FindFirstChild("Humanoid") then
  2046. if Debounces.LPunch == true and Debounces.LPunched == false then
  2047. Debounces.LPunched = true
  2048. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  2049. if Debounces.ks2==true then
  2050. z = Instance.new("Sound",hed)
  2051. z.SoundId = "rbxassetid://169380525"
  2052. z.Pitch = ptz[math.random(1,#ptz)]
  2053. z.Volume = 1
  2054. z:Play()
  2055. end
  2056. wait(.2)
  2057. Debounces.LPunched = false
  2058. end
  2059. end
  2060. end
  2061. end
  2062. end)
  2063. ----------------------------------------------------
  2064. function newRay(start,face,range,wat)
  2065. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  2066. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  2067. return rey,hit,pos
  2068. end
  2069. ----------------------------------------------------
  2070. function HasntTouched(plrname)
  2071. local ret = true
  2072. for _, v in pairs(Touche) do
  2073. if v == plrname then
  2074. ret = false
  2075. end
  2076. end
  2077. return ret
  2078. end
  2079. ----------------------------------------------------
  2080. mod=Instance.new('Model',char)
  2081.  
  2082. function Burst()
  2083. part=Instance.new('Part',mod)
  2084. part.Anchored=true
  2085. part.CanCollide=false
  2086. part.FormFactor='Custom'
  2087. part.Size=Vector3.new(.2,.2,.2)
  2088. part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0)
  2089. part.Transparency=.7
  2090. part.BrickColor=BrickColor.new('Really black')
  2091. mesh=Instance.new('SpecialMesh',part)
  2092. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2093. mesh.Scale=Vector3.new(10,5,10)
  2094. part2=part:clone()
  2095. part2.Parent=mod
  2096. part2.BrickColor=BrickColor.new('Bright red')
  2097. mesh2=mesh:clone()
  2098. mesh2.Parent=part2
  2099. mesh2.Scale=Vector3.new(5,2.5,5)
  2100. coroutine.resume(coroutine.create(function()
  2101. for i=0,1,0.1 do
  2102. wait()
  2103. part.CFrame=part.CFrame
  2104. part.Transparency=i
  2105. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  2106. part2.CFrame=part2.CFrame
  2107. part2.Transparency=i
  2108. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  2109. end
  2110. part.Parent=nil
  2111. part2.Parent=nil
  2112. end))
  2113. end
  2114. ----------------------------------------------------
  2115.  
  2116. ----------------------------------------------------
  2117. mod4 = Instance.new("Model",char)
  2118.  
  2119. ptez = {0.7, 0.8, 0.9, 1}
  2120.  
  2121. function FindNearestTorso(Position,Distance,SinglePlayer)
  2122. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2123. local List = {}
  2124. for i,v in pairs(workspace:GetChildren())do
  2125. if v:IsA("Model")then
  2126. if v:findFirstChild("Torso")then
  2127. if v ~= char then
  2128. if(v.Torso.Position -Position).magnitude <= Distance then
  2129. table.insert(List,v)
  2130. end
  2131. end
  2132. end
  2133. end
  2134. end
  2135. return List
  2136. end
  2137.  
  2138. function Slam()
  2139. part=Instance.new('Part',mod4)
  2140. part.Anchored=true
  2141. part.CanCollide=false
  2142. part.FormFactor='Custom'
  2143. part.Size=Vector3.new(.2,.2,.2)
  2144. part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0)
  2145. part.Transparency=.7
  2146. part.BrickColor=BrickColor.new('Really black')
  2147. mesh=Instance.new('SpecialMesh',part)
  2148. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  2149. mesh.Scale=Vector3.new(3,3,3)
  2150. part2=Instance.new('Part',mod4)
  2151. part2.Anchored=true
  2152. part2.CanCollide=false
  2153. part2.FormFactor='Custom'
  2154. part2.Size=Vector3.new(.2,.2,.2)
  2155. part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6)
  2156. part2.Transparency=.7
  2157. part2.BrickColor=BrickColor.new('Royal purple')
  2158. mesh2=Instance.new('SpecialMesh',part2)
  2159. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  2160. mesh2.Scale=Vector3.new(3,1.5,3)
  2161. x = Instance.new("Sound",char)
  2162. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  2163. x.Pitch = ptez[math.random(1,#ptez)]
  2164. x.Volume = 1
  2165. wait(.1)
  2166. x1 = Instance.new("Sound",char)
  2167. x1.SoundId = "http://www.roblox.com/asset/?id=206082327"
  2168. x1.Pitch = ptez[math.random(1,#ptez)]
  2169. x1.Volume = 1
  2170. wait(.1)
  2171. x:Play()
  2172. x1:Play()
  2173. for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
  2174. if v:FindFirstChild('Humanoid') then
  2175. v.Humanoid:TakeDamage(math.random(30,45))
  2176. end
  2177. end
  2178. coroutine.resume(coroutine.create(function()
  2179. for i=0,0.62,0.13 do
  2180. wait()
  2181. part.CFrame=part.CFrame
  2182. part.Transparency=i
  2183. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  2184. part2.CFrame=part2.CFrame
  2185. part2.Transparency=i
  2186. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  2187. end
  2188. part.Parent=nil
  2189. part2.Parent=nil
  2190. x:Destroy()
  2191. end))
  2192. end
  2193. ----------------------------------------------------
  2194.  
  2195. rsi = game:GetService'RunService'
  2196. plrs = game:GetService'Players'
  2197. lp = plrs.LocalPlayer
  2198. c = lp.Character
  2199. root = lp.Character.HumanoidRootPart
  2200. human = c.Humanoid
  2201. FPS = 0
  2202. inf = 0
  2203. opos1 = Vector3.new()
  2204. opos2 = Vector3.new()
  2205. opos3 = Vector3.new()
  2206. waves = Instance.new("Model", c)
  2207. res = Instance.new("Model", c)
  2208. local function a()
  2209. local t=tick();
  2210. local l=t%1*3;
  2211. local t=.5*math.pi*(l%1);
  2212. if l<1 then
  2213. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  2214. elseif l<2 then
  2215. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  2216. else
  2217. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  2218. end;
  2219. end;
  2220. speedParts = function()
  2221.  
  2222. for i = 1, 4 do
  2223. 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)
  2224. local CFramepos = root.CFrame:toWorldSpace(CFrame.new(pos)).p
  2225. local opos
  2226. if i == 1 then
  2227. opos = opos1
  2228. elseif i == 2 then
  2229. opos = opos2
  2230. else
  2231. opos = opos3
  2232. end
  2233. if human.MoveDirection ~= Vector3.new(0, 0, 0) then
  2234. local e
  2235. if #res:children() <= 3 then
  2236. e = Instance.new("Part")
  2237. else
  2238. e = res:FindFirstChild("Trail")
  2239. end
  2240. e.Parent = waves
  2241. e.Anchored = true
  2242. e.CanCollide = false
  2243. e.Transparency = 0
  2244. e.Material = "Neon"
  2245. e.Name = "Trail"
  2246. e.Color = a();
  2247. e.Size = Vector3.new(.2, (CFramepos - opos).magnitude, .2)
  2248. e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0)
  2249. end
  2250. if i == 1 then
  2251. opos1 = CFramepos
  2252. elseif i == 2 then
  2253. opos2 = CFramepos
  2254. else
  2255. opos3 = CFramepos
  2256. end
  2257. end
  2258. end
  2259.  
  2260.  
  2261. local player = game.Players.LocalPlayer
  2262. local pchar = player.Character
  2263. local mouse = player:GetMouse()
  2264. local cam = workspace.CurrentCamera
  2265.  
  2266. local rad = math.rad
  2267.  
  2268. local keysDown = {}
  2269. local flySpeed = 70
  2270. local MAX_FLY_SPEED = 350
  2271.  
  2272. local canFly = false
  2273. local flyToggled = false
  2274.  
  2275. local forward, side = 0, 0
  2276. local lastForward, lastSide = 0, 0
  2277.  
  2278. local floatBP = Instance.new("BodyPosition")
  2279. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  2280. local flyBV = Instance.new("BodyVelocity")
  2281. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2282. local turnBG = Instance.new("BodyGyro")
  2283. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  2284.  
  2285. mouse.KeyDown:connect(function(key)
  2286. keysDown[key] = true
  2287.  
  2288.  
  2289.  
  2290. if key == "f" then
  2291. flyToggled = not flyToggled
  2292.  
  2293. if not flyToggled then
  2294. stanceToggle = "Normal"
  2295. floatBP.Parent = nil
  2296. flyBV.Parent = nil
  2297. turnBG.Parent = nil
  2298. root.Velocity = Vector3.new()
  2299. pchar.Humanoid.PlatformStand = false
  2300. end
  2301. end
  2302.  
  2303. end)
  2304. mouse.KeyUp:connect(function(key)
  2305. keysDown[key] = nil
  2306. end)
  2307.  
  2308. local function updateFly()
  2309.  
  2310. if not flyToggled then return end
  2311.  
  2312. lastForward = forward
  2313. lastSide = side
  2314.  
  2315. forward = 0
  2316. side = 0
  2317.  
  2318. if keysDown.w then
  2319. forward = forward + 1
  2320. end
  2321. if keysDown.s then
  2322. forward = forward - 1
  2323. end
  2324. if keysDown.a then
  2325. side = side - 1
  2326. end
  2327. if keysDown.d then
  2328. side = side + 1
  2329. end
  2330.  
  2331. canFly = (forward ~= 0 or side ~= 0)
  2332.  
  2333. if canFly then
  2334. stanceToggle = "Floating"
  2335. turnBG.Parent = root
  2336. floatBP.Parent = nil
  2337. flyBV.Parent = root
  2338.  
  2339. flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
  2340. if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
  2341. else
  2342. floatBP.position = root.Position
  2343. floatBP.Parent = root
  2344.  
  2345. flySpeed = flySpeed - 1
  2346. if flySpeed < 0 then flySpeed = 0 end
  2347. end
  2348.  
  2349. local camCF = cam.CoordinateFrame
  2350. local in_forward = canFly and forward or lastForward
  2351. local in_side = canFly and side or lastSide
  2352.  
  2353. flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
  2354. in_forward * 0.2, 0).p) - camCF.p) * flySpeed
  2355.  
  2356. turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
  2357. 0)
  2358. end
  2359.  
  2360. game:service'RunService'.RenderStepped:connect(function()
  2361. if flyToggled then
  2362. pchar.Humanoid.PlatformStand = true
  2363. end
  2364. updateFly()
  2365. end)
  2366. rsi.RenderStepped:connect(function()
  2367. if flyToggled then
  2368. FPS = 1 / rsi.RenderStepped:wait()
  2369. for i, v in pairs (waves:children()) do
  2370. v.Transparency = v.Transparency + .05 / (FPS / 60)
  2371. if v.Transparency >= .98 then
  2372. v.Transparency = 1
  2373. v.Parent = res
  2374. end
  2375. end
  2376. inf = inf + (8 + root.Velocity.magnitude / 15) / (FPS / 60)
  2377. speedParts()
  2378. end
  2379. end)
  2380. -------------------------------
  2381. pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4}
  2382. local pancho = false
  2383. mouse.KeyDown:connect(function(key)
  2384. if key == "x" then
  2385. if rainbowHands == false then
  2386. pancho = false
  2387. if Debounces.CanAttack == true then
  2388. Debounces.CanAttack = false
  2389. Debounces.NoIdl = true
  2390. Debounces.on = true
  2391. Debounces.ks = true
  2392. larm.Touched:connect(function(ht)
  2393. hit = ht.Parent
  2394.  
  2395. if ht and hit:IsA("Model") then
  2396. if hit:FindFirstChild("Humanoid") then
  2397. if hit.Name ~= p.Name then
  2398. if Debounces.Slapping == true and Debounces.Slapped == false then
  2399. Debounces.Slapped = true
  2400. hit:BreakJoints()
  2401. if Debounces.ks==true then
  2402. z = Instance.new("Sound",hed)
  2403. z.SoundId = "rbxassetid://169380525"
  2404. z.Volume = 1
  2405. z:Play()
  2406. z1 = Instance.new("Sound",char)
  2407. z1.SoundId = "rbxassetid://261010715"
  2408. z1.Pitch = pts[math.random(1,#pts)]
  2409. z1.Volume = 1
  2410. z2 = Instance.new("Sound",char)
  2411. z2.SoundId = "rbxassetid://261010715"
  2412. z2.Pitch = z1.Pitch
  2413. z2.Volume = 1
  2414. z3 = Instance.new("Sound",char)
  2415. z3.SoundId = "rbxassetid://261010715"
  2416. z3.Pitch = z1.Pitch
  2417. z3.Volume = 1
  2418. z1:Play()
  2419. z2:Play()
  2420. z3:Play()
  2421. Debounces.ks=false
  2422. end
  2423. hit:FindFirstChild("Humanoid"):TakeDamage(100)
  2424.  
  2425. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90
  2426. wait(.5)
  2427. Debounces.Slapped = false
  2428. z:Destroy()
  2429. z1:Destroy()
  2430. z2:Destroy()
  2431. z3:Destroy()
  2432. end
  2433. end
  2434. end
  2435. elseif ht and hit:IsA("Hat") then
  2436. if hit.Parent.Name ~= p.Name then
  2437. if hit.Parent:FindFirstChild("Humanoid") then
  2438. if Debounces.Slapping == true and Debounces.Slapped == false then
  2439. Debounces.Slapped = true
  2440. if Debounces.ks==true then
  2441. z = Instance.new("Sound",hed)
  2442. z.SoundId = "rbxassetid://169380525"
  2443. z.Volume = 1
  2444. z:Play()
  2445. z1 = Instance.new("Sound",char)
  2446. z1.SoundId = "rbxassetid://261010715"
  2447. z1.Pitch = pts[math.random(1,#pts)]
  2448. z1.Volume = 1
  2449. z2 = Instance.new("Sound",char)
  2450. z2.SoundId = "rbxassetid://261010715"
  2451. z2.Pitch = z1.Pitch
  2452. z2.Volume = 1
  2453. z3 = Instance.new("Sound",char)
  2454. z3.SoundId = "rbxassetid://261010715"
  2455. z3.Pitch = z1.Pitch
  2456. z3.Volume = 1
  2457. z1:Play()
  2458. z2:Play()
  2459. z3:Play()
  2460. Debounces.ks=false
  2461. end
  2462. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  2463. hit:FindFirstChild("Torso"):BreakJoints()
  2464. wait(.5)
  2465. Debounces.Slapped = false
  2466. z:Destroy()
  2467. z1:Destroy()
  2468. z2:Destroy()
  2469. z3:Destroy()
  2470. end
  2471. end
  2472. end
  2473. end
  2474. end)
  2475. for i = 1, 14 do
  2476. 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)
  2477. 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)
  2478. 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)
  2479. 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)
  2480. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2481. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5)
  2482. if Debounces.on==false then break end
  2483. rs:wait(2)
  2484. end
  2485. Debounces.Slapping = true
  2486. for i = 1, 20 do
  2487. 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)
  2488. 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)
  2489. 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)
  2490. 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)
  2491. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2492. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6)
  2493. if Debounces.on==false then break end
  2494. rs:wait(2)
  2495. end
  2496. Debounces.Slapping = false
  2497. if Debounces.CanAttack == false then
  2498. Debounces.CanAttack = true
  2499. Debounces.NoIdl = false
  2500. Debounces.on = false
  2501. end
  2502. end
  2503. end
  2504. end
  2505. end)
  2506. -------------------------------
  2507. Charging = false
  2508. mouse.KeyDown:connect(function(key)
  2509. if key == "r" then
  2510. if Charging == false then
  2511. Charging = true
  2512. if Debounces.CanAttack == true then
  2513. Debounces.CanAttack = false
  2514. Debounces.NoIdl = true
  2515. Debounces.on = true
  2516. for i = 1,20 do
  2517. 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)
  2518. 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)
  2519. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
  2520. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  2521. 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)
  2522. 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)
  2523. if Debounces.on == false then break end
  2524. rs:wait()
  2525. end
  2526. --[[for i = 1,20 do
  2527. 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)
  2528. 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)
  2529. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
  2530. 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)
  2531. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
  2532. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
  2533. if Debounces.on == false then break end
  2534. rs:wait()
  2535. end]]--
  2536. pt=Instance.new('Part',torso)
  2537. pt.Anchored=true
  2538. pt.CanCollide=false
  2539. pt.Locked = true
  2540. pt.FormFactor='Custom'
  2541. pt.Size=Vector3.new(1,1,1)
  2542. pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2543. pt.Transparency=.6
  2544. pt.BrickColor=BrickColor.new('Really black')
  2545. msh=Instance.new('SpecialMesh',pt)
  2546. msh.MeshId='http://www.roblox.com/asset/?id=20329976'
  2547. msh.Scale=Vector3.new(8,4,8)
  2548. pt2=pt:clone()
  2549. pt2.Parent = torso
  2550. pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
  2551. pt2.BrickColor=BrickColor.new("Royal purple")
  2552. msh2=msh:clone()
  2553. msh2.Parent=pt2
  2554. msh2.Scale=Vector3.new(10,5,10)
  2555.  
  2556. 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}
  2557.  
  2558. bl = Instance.new("Part", char)
  2559. bl.Locked = true
  2560. bl.Name = "Shell"
  2561. bl.BrickColor = BrickColor.new("Really black")
  2562. bl.Anchored = true
  2563. bl.CanCollide = false
  2564. bl.Transparency = 0
  2565. bl.Reflectance = 0
  2566. bl.BottomSurface = 0
  2567. bl.TopSurface = 0
  2568. bl.Shape = 0
  2569. blm = Instance.new("SpecialMesh",bl)
  2570. blm.MeshType = "Sphere"
  2571. blm.Scale = Vector3.new(1,1,1)
  2572. blm.MeshId = "rbxassetid://9982590"
  2573.  
  2574. coroutine.resume(coroutine.create(function()
  2575. for i=1, math.huge, 4 do
  2576. if Charging == true then
  2577. rs:wait()
  2578. bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
  2579. blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1)
  2580. bl.Transparency = bl.Transparency + 0.005
  2581. pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
  2582. pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
  2583. msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05)
  2584. msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05)
  2585. elseif Charging == false then break
  2586. end
  2587. end
  2588. end))
  2589.  
  2590. repeat
  2591. local p = Instance.new('Part',torso)
  2592. p.formFactor = 'Custom'
  2593. p.Size = Vector3.new(1,1,1)
  2594. p.BrickColor = workspace.Base.BrickColor
  2595. p.CanCollide = false
  2596. p.Transparency = 0
  2597. p.Anchored = true
  2598. p.Locked=true
  2599. p.Material = workspace.Base.Material
  2600. s = math.random(1,40)/10
  2601. local m = Instance.new("BlockMesh",p)
  2602. m.Scale = Vector3.new(s,s,s)
  2603. 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())
  2604. --[[coroutine.wrap(function()
  2605. wait(2)
  2606. while Charging == true do
  2607. wait(2)
  2608. GroundWave1()
  2609. wait(2)
  2610. end
  2611. end)()]]--
  2612. Spawn(function()
  2613. while rs:wait() do
  2614. if Charging == true then
  2615. 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)))
  2616. 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)))
  2617. 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))
  2618. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  2619. 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)))
  2620. 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)))
  2621. elseif Charging == false then break
  2622. end
  2623. end
  2624. end)
  2625. Spawn(function()
  2626. while rs:wait() do
  2627. if p.Transparency >= 1 then p:Destroy() break end
  2628. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2629. p.Transparency = p.Transparency+0.01
  2630. end
  2631. end)
  2632. wait(.3)
  2633. until Charging == false
  2634. end
  2635. end
  2636. end
  2637. end)
  2638. ----------------------------------------------------
  2639. function spawnHair()
  2640. local m = Instance.new("Model")
  2641. m.Name = "Hair"
  2642. p1 = Instance.new("Part", m)
  2643. colc = math.random(1,7)
  2644. p1.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2645. p1.FormFactor = Enum.FormFactor.Symmetric
  2646. p1.Size = Vector3.new(1, 1, 1)
  2647. 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)
  2648. p1.CanCollide = false
  2649. p1.Locked = true
  2650. p1.BottomSurface = Enum.SurfaceType.Smooth
  2651. p1.TopSurface = Enum.SurfaceType.Smooth
  2652. b1 = Instance.new("SpecialMesh", p1)
  2653. b1.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2654. b1.TextureId = ""
  2655. b1.MeshType = Enum.MeshType.FileMesh
  2656. b1.Name = "Mesh"
  2657. b1.VertexColor = Vector3.new(0, 0, 0)
  2658. b1.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2659. p2 = Instance.new("Part", m)
  2660. p2.BrickColor = BrickColor.new("Pastel brown")
  2661. p2.Transparency = 1
  2662. p2.Name = "Head"
  2663. p2.FormFactor = Enum.FormFactor.Symmetric
  2664. p2.Size = Vector3.new(2, 1, 1)
  2665. 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)
  2666. p2.CanCollide = false
  2667. p2.Locked = true
  2668. p2.TopSurface = Enum.SurfaceType.Smooth
  2669. b2 = Instance.new("SpecialMesh", p2)
  2670. b2.MeshType = Enum.MeshType.Head
  2671. b2.Name = "Mesh"
  2672. b2.Scale = Vector3.new(1.25, 1.25, 1.25)
  2673. p3 = Instance.new("Part", m)
  2674. p3.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2675. p3.FormFactor = Enum.FormFactor.Symmetric
  2676. p3.Size = Vector3.new(2, 2, 2)
  2677. 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)
  2678. p3.CanCollide = false
  2679. p3.Locked = true
  2680. p3.BottomSurface = Enum.SurfaceType.Smooth
  2681. p3.TopSurface = Enum.SurfaceType.Smooth
  2682. b3 = Instance.new("SpecialMesh", p3)
  2683. b3.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2684. b3.TextureId = ""
  2685. b3.MeshType = Enum.MeshType.FileMesh
  2686. b3.Name = "Mesh"
  2687. b3.VertexColor = Vector3.new(0, 0, 0)
  2688. b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2689. p4 = Instance.new("Part", m)
  2690. p4.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2691. p4.FormFactor = Enum.FormFactor.Symmetric
  2692. p4.Size = Vector3.new(1, 1, 1)
  2693. 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)
  2694. p4.CanCollide = false
  2695. p4.Locked = true
  2696. p4.BottomSurface = Enum.SurfaceType.Smooth
  2697. p4.TopSurface = Enum.SurfaceType.Smooth
  2698. b4 = Instance.new("SpecialMesh", p4)
  2699. b4.MeshId = "http://www.roblox.com/asset/?id=19326912"
  2700. b4.TextureId = ""
  2701. b4.MeshType = Enum.MeshType.FileMesh
  2702. b4.Name = "Mesh"
  2703. b4.VertexColor = Vector3.new(0, 0, 0)
  2704. p5 = Instance.new("Part", m)
  2705. p5.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2706. p5.FormFactor = Enum.FormFactor.Symmetric
  2707. p5.Size = Vector3.new(1, 1, 1)
  2708. 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)
  2709. p5.CanCollide = false
  2710. p5.Locked = true
  2711. p5.BottomSurface = Enum.SurfaceType.Smooth
  2712. p5.TopSurface = Enum.SurfaceType.Smooth
  2713. b5 = Instance.new("SpecialMesh", p5)
  2714. b5.MeshId = "http://www.roblox.com/asset/?id=45916884"
  2715. b5.TextureId = ""
  2716. b5.MeshType = Enum.MeshType.FileMesh
  2717. b5.Name = "Mesh"
  2718. b5.VertexColor = Vector3.new(0, 0, 0)
  2719. b5.Scale = Vector3.new(1, 0.899999976, 1)
  2720. p6 = Instance.new("Part", m)
  2721. p6.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2722. p6.FormFactor = Enum.FormFactor.Symmetric
  2723. p6.Size = Vector3.new(1, 1, 1)
  2724. 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)
  2725. p6.CanCollide = false
  2726. p6.Locked = true
  2727. p6.BottomSurface = Enum.SurfaceType.Smooth
  2728. p6.TopSurface = Enum.SurfaceType.Smooth
  2729. b6 = Instance.new("SpecialMesh", p6)
  2730. b6.MeshId = "http://www.roblox.com/asset/?id=62246019"
  2731. b6.TextureId = ""
  2732. b6.MeshType = Enum.MeshType.FileMesh
  2733. b6.Name = "Mesh"
  2734. b6.VertexColor = Vector3.new(0, 0, 0)
  2735. p7 = Instance.new("Part", m)
  2736. p7.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2737. p7.FormFactor = Enum.FormFactor.Symmetric
  2738. p7.Size = Vector3.new(1, 1, 1)
  2739. 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)
  2740. p7.CanCollide = false
  2741. p7.Locked = true
  2742. p7.BottomSurface = Enum.SurfaceType.Smooth
  2743. p7.TopSurface = Enum.SurfaceType.Smooth
  2744. b7 = Instance.new("SpecialMesh", p7)
  2745. b7.MeshId = "http://www.roblox.com/asset/?id=76056263"
  2746. b7.TextureId = ""
  2747. b7.MeshType = Enum.MeshType.FileMesh
  2748. b7.Name = "Mesh"
  2749. b7.VertexColor = Vector3.new(0, 0, 0)
  2750. p8 = Instance.new("Part", m)
  2751. p8.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2752. p8.FormFactor = Enum.FormFactor.Symmetric
  2753. p8.Size = Vector3.new(1, 1, 1)
  2754. 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)
  2755. p8.CanCollide = false
  2756. p8.Locked = true
  2757. p8.BottomSurface = Enum.SurfaceType.Smooth
  2758. p8.TopSurface = Enum.SurfaceType.Smooth
  2759. b8 = Instance.new("SpecialMesh", p8)
  2760. b8.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2761. b8.TextureId = ""
  2762. b8.MeshType = Enum.MeshType.FileMesh
  2763. b8.Name = "Mesh"
  2764. b8.VertexColor = Vector3.new(0, 0, 0)
  2765. b8.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2766. p9 = Instance.new("Part", m)
  2767. p9.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2768. p9.FormFactor = Enum.FormFactor.Symmetric
  2769. p9.Size = Vector3.new(2, 1, 2)
  2770. 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)
  2771. p9.CanCollide = false
  2772. p9.Locked = true
  2773. p9.BottomSurface = Enum.SurfaceType.Smooth
  2774. p9.TopSurface = Enum.SurfaceType.Smooth
  2775. b9 = Instance.new("SpecialMesh", p9)
  2776. b9.MeshId = "http://www.roblox.com/asset/?id=12259089"
  2777. b9.TextureId = ""
  2778. b9.MeshType = Enum.MeshType.FileMesh
  2779. b9.Name = "Mesh"
  2780. b9.VertexColor = Vector3.new(0, 0, 0)
  2781. b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995)
  2782. p10 = Instance.new("Part", m)
  2783. p10.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2784. p10.FormFactor = Enum.FormFactor.Symmetric
  2785. p10.Size = Vector3.new(1, 1, 1)
  2786. 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)
  2787. p10.CanCollide = false
  2788. p10.Locked = true
  2789. p10.BottomSurface = Enum.SurfaceType.Smooth
  2790. p10.TopSurface = Enum.SurfaceType.Smooth
  2791. b10 = Instance.new("SpecialMesh", p10)
  2792. b10.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2793. b10.TextureId = ""
  2794. b10.MeshType = Enum.MeshType.FileMesh
  2795. b10.Name = "Mesh"
  2796. b10.VertexColor = Vector3.new(0, 0, 0)
  2797. b10.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2798. p11 = Instance.new("Part", m)
  2799. p11.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2800. p11.FormFactor = Enum.FormFactor.Symmetric
  2801. p11.Size = Vector3.new(1, 1, 1)
  2802. 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)
  2803. p11.CanCollide = false
  2804. p11.Locked = true
  2805. p11.BottomSurface = Enum.SurfaceType.Smooth
  2806. p11.TopSurface = Enum.SurfaceType.Smooth
  2807. b11 = Instance.new("SpecialMesh", p11)
  2808. b11.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2809. b11.TextureId = ""
  2810. b11.MeshType = Enum.MeshType.FileMesh
  2811. b11.Name = "Mesh"
  2812. b11.VertexColor = Vector3.new(0, 0, 0)
  2813. b11.Scale = Vector3.new(1, 1.60000002, 1.29999995)
  2814. p12 = Instance.new("Part", m)
  2815. p12.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2816. p12.FormFactor = Enum.FormFactor.Custom
  2817. p12.Size = Vector3.new(1, 3.5, 1)
  2818. 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)
  2819. p12.CanCollide = false
  2820. p12.Locked = true
  2821. p12.BottomSurface = Enum.SurfaceType.Smooth
  2822. p12.TopSurface = Enum.SurfaceType.Smooth
  2823. b12 = Instance.new("SpecialMesh", p12)
  2824. b12.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2825. b12.TextureId = ""
  2826. b12.MeshType = Enum.MeshType.FileMesh
  2827. b12.Name = "Mesh"
  2828. b12.VertexColor = Vector3.new(0, 0, 0)
  2829. b12.Scale = Vector3.new(1, 3, 1.29999995)
  2830. p13 = Instance.new("Part", m)
  2831. p13.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2832. p13.FormFactor = Enum.FormFactor.Custom
  2833. p13.Size = Vector3.new(1, 2, 1)
  2834. 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)
  2835. p13.CanCollide = false
  2836. p13.Locked = true
  2837. p13.BottomSurface = Enum.SurfaceType.Smooth
  2838. p13.TopSurface = Enum.SurfaceType.Smooth
  2839. b13 = Instance.new("SpecialMesh", p13)
  2840. b13.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2841. b13.TextureId = ""
  2842. b13.MeshType = Enum.MeshType.FileMesh
  2843. b13.Name = "Mesh"
  2844. b13.VertexColor = Vector3.new(0, 0, 0)
  2845. b13.Scale = Vector3.new(1, 3, 1.29999995)
  2846. p14 = Instance.new("Part", m)
  2847. p14.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2848. p14.FormFactor = Enum.FormFactor.Custom
  2849. p14.Size = Vector3.new(1, 2, 1)
  2850. 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)
  2851. p14.CanCollide = false
  2852. p14.Locked = true
  2853. p14.BottomSurface = Enum.SurfaceType.Smooth
  2854. p14.TopSurface = Enum.SurfaceType.Smooth
  2855. b14 = Instance.new("SpecialMesh", p14)
  2856. b14.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2857. b14.TextureId = ""
  2858. b14.MeshType = Enum.MeshType.FileMesh
  2859. b14.Name = "Mesh"
  2860. b14.VertexColor = Vector3.new(0, 0, 0)
  2861. b14.Scale = Vector3.new(1, 3, 1.29999995)
  2862. p15 = Instance.new("Part", m)
  2863. p15.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2864. p15.FormFactor = Enum.FormFactor.Custom
  2865. p15.Size = Vector3.new(1, 2.5, 1)
  2866. 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)
  2867. p15.CanCollide = false
  2868. p15.Locked = true
  2869. p15.BottomSurface = Enum.SurfaceType.Smooth
  2870. p15.TopSurface = Enum.SurfaceType.Smooth
  2871. b15 = Instance.new("SpecialMesh", p15)
  2872. b15.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2873. b15.TextureId = ""
  2874. b15.MeshType = Enum.MeshType.FileMesh
  2875. b15.Name = "Mesh"
  2876. b15.VertexColor = Vector3.new(0, 0, 0)
  2877. b15.Scale = Vector3.new(1, 3, 1.29999995)
  2878. p16 = Instance.new("Part", m)
  2879. p16.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2880. p16.FormFactor = Enum.FormFactor.Custom
  2881. p16.Size = Vector3.new(1, 2.5, 1)
  2882. 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)
  2883. p16.CanCollide = false
  2884. p16.Locked = true
  2885. p16.BottomSurface = Enum.SurfaceType.Smooth
  2886. p16.TopSurface = Enum.SurfaceType.Smooth
  2887. b16 = Instance.new("SpecialMesh", p16)
  2888. b16.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2889. b16.TextureId = ""
  2890. b16.MeshType = Enum.MeshType.FileMesh
  2891. b16.Name = "Mesh"
  2892. b16.VertexColor = Vector3.new(0, 0, 0)
  2893. b16.Scale = Vector3.new(1, 3, 1.29999995)
  2894. p17 = Instance.new("Part", m)
  2895. p17.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2896. p17.FormFactor = Enum.FormFactor.Custom
  2897. p17.Size = Vector3.new(1, 2.4000001, 1)
  2898. 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)
  2899. p17.CanCollide = false
  2900. p17.Locked = true
  2901. p17.BottomSurface = Enum.SurfaceType.Smooth
  2902. p17.TopSurface = Enum.SurfaceType.Smooth
  2903. b17 = Instance.new("SpecialMesh", p17)
  2904. b17.MeshId = "http://www.roblox.com/asset/?id=12212520"
  2905. b17.TextureId = ""
  2906. b17.MeshType = Enum.MeshType.FileMesh
  2907. b17.Name = "Mesh"
  2908. b17.VertexColor = Vector3.new(0, 0, 0)
  2909. b17.Scale = Vector3.new(1, 3, 1.29999995)
  2910. p18 = Instance.new("Part", m)
  2911. p18.BrickColor = Neonsc[colc] colc = math.random(1,7)
  2912. p18.FormFactor = Enum.FormFactor.Custom
  2913. p18.Size = Vector3.new(2, 2, 2)
  2914. 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)
  2915. p18.CanCollide = false
  2916. p18.Locked = true
  2917. p18.BottomSurface = Enum.SurfaceType.Smooth
  2918. p18.TopSurface = Enum.SurfaceType.Smooth
  2919. b18 = Instance.new("SpecialMesh", p18)
  2920. b18.MeshId = "http://www.roblox.com/asset/?id=16627529"
  2921. b18.TextureId = ""
  2922. b18.MeshType = Enum.MeshType.FileMesh
  2923. b18.Name = "Mesh"
  2924. b18.VertexColor = Vector3.new(0, 0, 0)
  2925. b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995)
  2926. w1 = Instance.new("Weld", p1)
  2927. w1.Name = "Head_Weld"
  2928. w1.Part0 = p1
  2929. 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)
  2930. w1.Part1 = p2
  2931. 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)
  2932. w2 = Instance.new("Weld", p2)
  2933. w2.Name = "Part_Weld"
  2934. w2.Part0 = p2
  2935. 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)
  2936. w2.Part1 = p3
  2937. 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)
  2938. w3 = Instance.new("Weld", p3)
  2939. w3.Name = "Part_Weld"
  2940. w3.Part0 = p3
  2941. 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)
  2942. w3.Part1 = p4
  2943. 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)
  2944. w4 = Instance.new("Weld", p4)
  2945. w4.Name = "Part_Weld"
  2946. w4.Part0 = p4
  2947. 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)
  2948. w4.Part1 = p5
  2949. 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)
  2950. w5 = Instance.new("Weld", p5)
  2951. w5.Name = "Part_Weld"
  2952. w5.Part0 = p5
  2953. 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)
  2954. w5.Part1 = p6
  2955. 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)
  2956. w6 = Instance.new("Weld", p6)
  2957. w6.Name = "Part_Weld"
  2958. w6.Part0 = p6
  2959. 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)
  2960. w6.Part1 = p7
  2961. 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)
  2962. w7 = Instance.new("Weld", p7)
  2963. w7.Name = "Part_Weld"
  2964. w7.Part0 = p7
  2965. 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)
  2966. w7.Part1 = p8
  2967. 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)
  2968. w8 = Instance.new("Weld", p8)
  2969. w8.Name = "Part_Weld"
  2970. w8.Part0 = p8
  2971. 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)
  2972. w8.Part1 = p9
  2973. 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)
  2974. w9 = Instance.new("Weld", p9)
  2975. w9.Name = "Part_Weld"
  2976. w9.Part0 = p9
  2977. 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)
  2978. w9.Part1 = p10
  2979. 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)
  2980. w10 = Instance.new("Weld", p10)
  2981. w10.Name = "Part_Weld"
  2982. w10.Part0 = p10
  2983. 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)
  2984. w10.Part1 = p11
  2985. 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)
  2986. w11 = Instance.new("Weld", p11)
  2987. w11.Name = "Part_Weld"
  2988. w11.Part0 = p11
  2989. 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)
  2990. w11.Part1 = p12
  2991. 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)
  2992. w12 = Instance.new("Weld", p12)
  2993. w12.Name = "Part_Weld"
  2994. w12.Part0 = p12
  2995. 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)
  2996. w12.Part1 = p13
  2997. 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)
  2998. w13 = Instance.new("Weld", p13)
  2999. w13.Name = "Part_Weld"
  3000. w13.Part0 = p13
  3001. 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)
  3002. w13.Part1 = p14
  3003. 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)
  3004. w14 = Instance.new("Weld", p14)
  3005. w14.Name = "Part_Weld"
  3006. w14.Part0 = p14
  3007. 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)
  3008. w14.Part1 = p15
  3009. 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)
  3010. w15 = Instance.new("Weld", p15)
  3011. w15.Name = "Part_Weld"
  3012. w15.Part0 = p15
  3013. 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)
  3014. w15.Part1 = p16
  3015. 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)
  3016. w16 = Instance.new("Weld", p16)
  3017. w16.Name = "Part_Weld"
  3018. w16.Part0 = p16
  3019. 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)
  3020. w16.Part1 = p17
  3021. 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)
  3022. w17 = Instance.new("Weld", p17)
  3023. w17.Name = "Part_Weld"
  3024. w17.Part0 = p17
  3025. 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)
  3026. w17.Part1 = p18
  3027. 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)
  3028. m.Parent = char
  3029. m:MakeJoints()
  3030. ----------------------------------------------------
  3031. local cor = Instance.new("Part", char.Hair)
  3032. cor.Name = "Link"
  3033. cor.Locked = true
  3034. cor.BottomSurface = 0
  3035. cor.CanCollide = false
  3036. cor.Size = Vector3.new(1, 9, 1)
  3037. cor.Transparency = 1
  3038. cor.TopSurface = 0
  3039. corw = Instance.new("Weld", cor)
  3040. corw.Part0 = hed
  3041. corw.Part1 = cor
  3042. corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3043. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3044. weld1 = Instance.new("Weld", char.Hair)
  3045. weld1.Part0 = cor
  3046. weld1.Part1 = char.Hair.Head
  3047. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  3048. end
  3049. ----------------------------------------------------
  3050. local rainbowHands = false
  3051. mouse.KeyDown:connect(function(key)
  3052. if key == "t" then
  3053. if Grab == false then
  3054. if rainbowssl == true then
  3055. if rainbowHands == true then
  3056. if d0arm[3] ~= "true" then
  3057. rainbowHands = false
  3058. d0arm[3] = "true"
  3059. do2()
  3060. end
  3061. elseif rainbowHands == false then
  3062. if d0arm[3] ~= "false" then
  3063. d0arm[3] = "false"
  3064. d0arm[1].Enabled = false
  3065. d0arm[2].Enabled = false
  3066. end
  3067. end
  3068. end
  3069. end
  3070. end
  3071. end)
  3072. ----------------------------------------------------
  3073.  
  3074. mouse.KeyDown:connect(function(key)
  3075. if key == "c" then
  3076.  
  3077.  
  3078. if rainbowHands == false then
  3079. if d0arm[3] == "true" then
  3080. d0arm[3] = "false"
  3081. d0arm[1].Enabled = false
  3082. d0arm[2].Enabled = false
  3083. end
  3084. if Debounces.CanAttack == true then
  3085. Debounces.CanAttack = false
  3086. Debounces.NoIdl = true
  3087. end
  3088. equipanim()
  3089. Debounces.CanAttack = true
  3090. Debounces.NoIdl = false
  3091. rainbowHands = true
  3092. z = Instance.new("Sound",hed)
  3093. z.SoundId = "rbxassetid://169380525"
  3094. z.Volume = 1
  3095. z:Play()
  3096.  
  3097. else
  3098. rainbowHands = false
  3099. end
  3100. end
  3101. end)
  3102. Player = game:GetService("Players").LocalPlayer
  3103. Character = Player.Character
  3104. PlayerGui = Player.PlayerGui
  3105. Backpack = Player.Backpack
  3106. Torso = Character.Torso
  3107. Head = Character.Head
  3108. Humanoid = Character.Humanoid
  3109. LeftArm = Character["Left Arm"]
  3110. LeftLeg = Character["Left Leg"]
  3111. RightArm = Character["Right Arm"]
  3112. RightLeg = Character["Right Leg"]
  3113. LS = Torso["Left Shoulder"]
  3114. LH = Torso["Left Hip"]
  3115. RS = Torso["Right Shoulder"]
  3116. RH = Torso["Right Hip"]
  3117. Neck = Torso.Neck
  3118. it = Instance.new
  3119. vt = Vector3.new
  3120. cf = CFrame.new
  3121. euler = CFrame.fromEulerAnglesXYZ
  3122. angles = CFrame.Angles
  3123. mr = math.rad
  3124. mr2 = math.random
  3125. RootPart = Character.HumanoidRootPart
  3126. RootJoint = RootPart.RootJoint
  3127. RootCF = euler(-1.57, 0, 3.14)
  3128. attack = false
  3129. attackdebounce = false
  3130. MMouse = Player:GetMouse()
  3131. combo = 0
  3132. local hitfloor, posfloor = nil, nil
  3133. local Effects = {}
  3134. local Weapon = {}
  3135. local Welds = {}
  3136. local Saber = {}
  3137. local Buster = {}
  3138. local decreaseatk = 0
  3139. local decreasedef = 0
  3140. local decreasemvmt = 0
  3141. local manainc = 16
  3142. local handle = nil
  3143. local floating = false
  3144. local testpart = it("Part")
  3145. testpart.Anchored = true
  3146. local Mode = "Normal"
  3147. local cbuster = false
  3148. local cshoot = false
  3149. local cdebounce = false
  3150. local sbreaker = false
  3151. local shockshoot = false
  3152. local shockdebounce = false
  3153. local TehM = nil
  3154. local sblazing = false
  3155. local starshoot = false
  3156. local stardebounce = false
  3157. local busterlaser = false
  3158. local sbreakerII = false
  3159. local galacblazing = false
  3160. local prising = false
  3161. local move1 = "(Z)\nChaos Buster"
  3162. local move2 = "(X)\nShocker Breaker"
  3163. local move3 = "(C)\nStar Blazing"
  3164. local move4 = "(V)\n"
  3165. player = nil
  3166. RSH = nil
  3167. LSH = nil
  3168.  
  3169. TorsoColor = Torso.BrickColor
  3170. NewCol = BrickColor.new("Ghost grey").Color
  3171. NewCol2 = BrickColor.new("Smoky grey").Color
  3172. NewCol3 = BrickColor.new("Pearl").Color
  3173.  
  3174.  
  3175. 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")}
  3176.  
  3177.  
  3178. ArtificialHB = Instance.new("BindableEvent", script)
  3179. ArtificialHB.Name = "Heartbeat"
  3180.  
  3181. script:WaitForChild("Heartbeat")
  3182.  
  3183. frame = 1 / 40
  3184. tf = 0
  3185. allowframeloss = true
  3186. tossremainder = false
  3187. lastframe = tick()
  3188. script.Heartbeat:Fire()
  3189.  
  3190. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3191. tf = tf + s
  3192. if tf >= frame then
  3193. if allowframeloss then
  3194. script.Heartbeat:Fire()
  3195. lastframe = tick()
  3196. else
  3197. for i = 1, math.floor(tf / frame) do
  3198. script.Heartbeat:Fire()
  3199. end
  3200. lastframe = tick()
  3201. end
  3202. if tossremainder then
  3203. tf = 0
  3204. else
  3205. tf = tf - frame * math.floor(tf / frame)
  3206. end
  3207. end
  3208. end)
  3209.  
  3210. function swait(num)
  3211. if num == 0 or num == nil then
  3212. ArtificialHB.Event:wait()
  3213. else
  3214. for i = 0, num do
  3215. ArtificialHB.Event:wait()
  3216. end
  3217. end
  3218. end
  3219.  
  3220.  
  3221.  
  3222.  
  3223. local Stats = Instance.new("BoolValue")
  3224. Stats.Name = "Stats"
  3225. Stats.Parent = Character
  3226. local Atk = Instance.new("NumberValue")
  3227. Atk.Name = "Damage"
  3228. Atk.Parent = Stats
  3229. Atk.Value = 1
  3230. local Def = Instance.new("NumberValue")
  3231. Def.Name = "Defense"
  3232. Def.Parent = Stats
  3233. Def.Value = 1
  3234. local Mvmt = Instance.new("NumberValue")
  3235. Mvmt.Name = "Movement"
  3236. Mvmt.Parent = Stats
  3237. Mvmt.Value = 1
  3238. local Block = Instance.new("BoolValue")
  3239. Block.Name = "Block"
  3240. Block.Parent = Stats
  3241. Block.Value = false
  3242. local Stun = Instance.new("NumberValue")
  3243. Stun.Name = "Stun"
  3244. Stun.Parent = Stats
  3245. Stun.Value = 0
  3246. local StunT = Instance.new("NumberValue")
  3247. StunT.Name = "StunThreshold"
  3248. StunT.Parent = Stats
  3249. StunT.Value = 80
  3250. local Rooted = Instance.new("BoolValue")
  3251. Rooted.Name = "Rooted"
  3252. Rooted.Parent = Stats
  3253. Rooted.Value = false
  3254. local Stunned = Instance.new("BoolValue")
  3255. Stunned.Name = "Stunned"
  3256. Stunned.Parent = Stats
  3257. Stunned.Value = false
  3258. local Stagger = Instance.new("BoolValue")
  3259. Stagger.Name = "Stagger"
  3260. Stagger.Parent = Stats
  3261. Stagger.Value = false
  3262. local StaggerHit = Instance.new("BoolValue")
  3263. StaggerHit.Name = "StaggerHit"
  3264. StaggerHit.Parent = Stats
  3265. StaggerHit.Value = false
  3266. local RecentEnemy = Instance.new("ObjectValue")
  3267. RecentEnemy.Name = "RecentEnemy"
  3268. RecentEnemy.Parent = Stats
  3269. RecentEnemy.Value = nil
  3270. local Decrease = Instance.new("BoolValue")
  3271. Decrease.Name = "Decrease"
  3272. Decrease.Parent = Stats
  3273. Decrease.Value = false
  3274. local mana = Instance.new("NumberValue")
  3275. mana.Name = "Mana"
  3276. mana.Parent = Stats
  3277. mana.Value = 0
  3278. local passive1 = Instance.new("NumberValue", Decrease)
  3279. passive1.Name = "DecreaseMvmt"
  3280. passive1.Value = -0.1
  3281. local passive2 = Instance.new("NumberValue", Decrease)
  3282. passive2.Name = "DecreaseDef"
  3283. passive2.Value = 0
  3284. NoOutline = function(Part)
  3285. Part.TopSurface = 10
  3286. end
  3287.  
  3288. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  3289. local fp = it("Part")
  3290. fp.formFactor = formfactor
  3291. fp.Parent = parent
  3292. fp.Reflectance = reflectance
  3293. fp.Transparency = transparency
  3294. fp.CanCollide = false
  3295. fp.Locked = true
  3296. fp.BrickColor = brickcolor
  3297. fp.Name = name
  3298. fp.Size = size
  3299. fp.Position = Torso.Position
  3300. NoOutline(fp)
  3301. fp.Material = "Neon"
  3302. fp:BreakJoints()
  3303. return fp
  3304. end
  3305.  
  3306. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  3307. local mesh = it(Mesh)
  3308. mesh.Parent = part
  3309. if Mesh == "SpecialMesh" then
  3310. mesh.MeshType = meshtype
  3311. if meshid ~= "nil" then
  3312. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  3313. end
  3314. end
  3315. mesh.Offset = offset
  3316. mesh.Scale = scale
  3317. return mesh
  3318. end
  3319.  
  3320. weld = function(parent, part0, part1, c0)
  3321. local weld = it("Motor")
  3322. weld.Parent = parent
  3323. weld.Part0 = part0
  3324. weld.Part1 = part1
  3325. weld.C0 = c0
  3326. return weld
  3327. end
  3328.  
  3329.  
  3330.  
  3331. AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  3332. prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  3333. prt.Material = neon
  3334. msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  3335. wld = weld(handle, prt, wldpar, ceef)
  3336. v = it("NumberValue", prt)
  3337. v.Value = trans
  3338. v.Name = "MainTransparency"
  3339. return prt, msh, wld
  3340. end
  3341.  
  3342. local nr = NumberRange.new
  3343. local ns = NumberSequence.new
  3344. local cs = ColorSequence.new
  3345. local nsk = NumberSequenceKeypoint.new
  3346. particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  3347. local fp = it("ParticleEmitter")
  3348. fp.Parent = parent
  3349. fp.Color = cs(col1, col2)
  3350. fp.LightEmission = lightemis
  3351. fp.Size = size
  3352. fp.Texture = texture
  3353. fp.Transparency = transparency
  3354. fp.ZOffset = zoffset
  3355. fp.Acceleration = accel
  3356. fp.Drag = drag
  3357. fp.LockedToPart = ltp
  3358. fp.VelocityInheritance = velinher
  3359. fp.EmissionDirection = emisdir
  3360. fp.Enabled = enabled
  3361. fp.Lifetime = lifetime
  3362. fp.Rate = rate
  3363. fp.Rotation = rotation
  3364. fp.RotSpeed = rotspeed
  3365. fp.Speed = speed
  3366. fp.VelocitySpread = velspread
  3367. return fp
  3368. end
  3369. local modelzorz = Instance.new("Model")
  3370. modelzorz.Parent = Character
  3371. modelzorz.Name = "Chaos Saber"
  3372. RainbowVals = function(parent, sval, bval)
  3373. d = it("NumberValue", parent)
  3374. d.Name = "Size"
  3375. d.Value = sval
  3376. b = it("NumberValue", parent)
  3377. b.Name = "Weld"
  3378. b.Value = bval
  3379. return d, b
  3380. end
  3381.  
  3382. 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))
  3383. 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))
  3384. 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))
  3385. 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))
  3386. 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))
  3387. 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))
  3388. 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))
  3389. 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))
  3390. 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))
  3391. 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))
  3392. 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))
  3393. 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))
  3394. 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))
  3395. 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))
  3396. 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))
  3397. 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))
  3398. local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  3399. hitbox.Anchored = true
  3400. local hitboxCF = cf(0, 0, 0)
  3401. sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  3402. transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  3403. 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)
  3404. starsparti.Parent = Torso
  3405. sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  3406. transseq = ns({nsk(0, 0), nsk(1, 1)})
  3407. 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)
  3408. lparti1.Parent = Torso
  3409. sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  3410. transseq = ns({nsk(0, 0), nsk(1, 1)})
  3411. 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)
  3412. sparti.Parent = Torso
  3413. local effects = it("Model", modelzorz)
  3414. effects.Name = "Effects"
  3415. hboxpos = Instance.new("BodyPosition", nil)
  3416. hboxpos.P = 2000
  3417. hboxpos.D = 100
  3418. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  3419.  
  3420. local bodvel = Instance.new("BodyVelocity")
  3421. local bg = Instance.new("BodyGyro")
  3422. so = function(id, par, vol, pit)
  3423. local sou = Instance.new("Sound", par or workspace)
  3424. sou.Volume = vol
  3425. sou.Pitch = pit or 1
  3426. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  3427. coroutine.resume(coroutine.create(function(Sound)
  3428. swait()
  3429. Sound:play()
  3430. end
  3431. ), sou)
  3432. game:GetService("Debris"):AddItem(sou, 6)
  3433. end
  3434.  
  3435.  
  3436.  
  3437.  
  3438. rayCast = function(Pos, Dir, Max, Ignore)
  3439. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3440. end
  3441.  
  3442.  
  3443.  
  3444.  
  3445.  
  3446. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3447. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3448. prt.Anchored = true
  3449. prt.CFrame = cframe
  3450. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3451. game:GetService("Debris"):AddItem(prt, 10)
  3452. if Type == 1 or Type == nil then
  3453. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3454. else
  3455. if Type == 2 then
  3456. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3457. else
  3458. if Type == 3 then
  3459. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3460. else
  3461. if Type == 4 then
  3462. table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  3463. end
  3464. end
  3465. end
  3466. end
  3467. end
  3468.  
  3469. MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3470. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3471. prt.Material = "Neon"
  3472. prt.Anchored = true
  3473. prt.CFrame = cframe
  3474. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3475. game:GetService("Debris"):AddItem(prt, 10)
  3476. if Type == 1 or Type == nil then
  3477. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  3478. else
  3479. if Type == 2 then
  3480. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  3481. else
  3482. if Type == 3 then
  3483. table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  3484. end
  3485. end
  3486. end
  3487. end
  3488.  
  3489. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3490. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3491. prt.Material = "Neon"
  3492. prt.Anchored = true
  3493. prt.CFrame = cframe
  3494. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3495. game:GetService("Debris"):AddItem(prt, 10)
  3496. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3497. end
  3498.  
  3499. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  3500. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3501. prt.Anchored = true
  3502. prt.CFrame = cframe
  3503. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3504. game:GetService("Debris"):AddItem(prt, 10)
  3505. table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  3506. end
  3507.  
  3508. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3509. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3510. prt.Material = "Neon"
  3511. prt.Anchored = true
  3512. prt.CFrame = cframe
  3513. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3514. game:GetService("Debris"):AddItem(prt, 10)
  3515. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3516. end
  3517.  
  3518. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3519. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3520. prt.Anchored = true
  3521. prt.CFrame = cframe
  3522. local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3523. game:GetService("Debris"):AddItem(prt, 10)
  3524. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3525. end
  3526.  
  3527. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  3528. local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt())
  3529. prt.Anchored = true
  3530. prt.CFrame = cframe
  3531. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  3532. game:GetService("Debris"):AddItem(prt, 10)
  3533. table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  3534. end
  3535.  
  3536. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3537. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3538. prt.Anchored = true
  3539. prt.CFrame = cframe
  3540. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  3541. game:GetService("Debris"):AddItem(prt, 10)
  3542. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3543. end
  3544.  
  3545. MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3546. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3547. prt.Anchored = true
  3548. prt.CFrame = cframe
  3549. local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  3550. game:GetService("Debris"):AddItem(prt, 10)
  3551. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3552. end
  3553.  
  3554. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  3555. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3556. prt.Anchored = true
  3557. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3558. game:GetService("Debris"):AddItem(prt, 10)
  3559. local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  3560. local num = math.random(10, 50) / 1000
  3561. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  3562. end
  3563.  
  3564. MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3565. local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  3566. prt.Material = "Neon"
  3567. prt.Anchored = true
  3568. prt.CFrame = cframe
  3569. local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  3570. game:GetService("Debris"):AddItem(prt, 10)
  3571. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  3572. end
  3573. ----------------------------------------------------
  3574. mouse.KeyDown:connect(function(key)
  3575. if key == "p" then
  3576. if myVars[5] == "ssl3" then
  3577. print("Bash ran.")
  3578. Debounces.CanAttack = false
  3579. Debounces.NoIdl = true
  3580. Bash()
  3581. Debounces.CanAttack = true
  3582. Debounces.NoIdl = false
  3583. end
  3584. end
  3585. end)
  3586. ----------------------------------------------------
  3587. function makeSwordUpgrade()
  3588.  
  3589. end
  3590. makeSwordUpgrade()
  3591. ----------------------------------------------------
  3592. Grab = false
  3593. local humanoidR = nil
  3594. mouse.KeyDown:connect(function(key)
  3595. if key == "z" then
  3596. humanoidR = nil
  3597. Debounces.on = true
  3598. Debounces.NoIdl = true
  3599. Debounces.ks = true
  3600. if Grab == false then
  3601. gp = nil
  3602. for i = 1, 20 do
  3603. 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)
  3604. 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)
  3605. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  3606. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  3607. 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)
  3608. 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)
  3609. if Debounces.on == false then break end
  3610. rs:wait(2)
  3611. end
  3612. con1=larm.Touched:connect(function(hit) -- this is grab
  3613. ht = hit.Parent
  3614. hum1=ht:FindFirstChild('Humanoid')
  3615. if hum1 ~= nil then
  3616. if Debounces.ks==true then
  3617. z = Instance.new("Sound",hed)
  3618. z.SoundId = "rbxassetid://169380525"
  3619. z.Volume = 1
  3620. z:Play()
  3621. Debounces.ks=false
  3622. end
  3623.  
  3624. humanoidR = hum1
  3625. hum1.PlatformStand=true
  3626. gp = ht
  3627. Grab = true
  3628. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  3629. asd.Parent = larm
  3630. asd.Name = "asd"
  3631. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  3632. stanceToggle = "Grabbed"
  3633.  
  3634. end
  3635. end)
  3636. for i = 1, 20 do
  3637. 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)
  3638. 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)
  3639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  3640. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  3641. 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)
  3642. 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)
  3643. if Debounces.on == false then break end
  3644. rs:wait(2)
  3645. end
  3646. con1:disconnect()
  3647. Debounces.on = false
  3648. Debounces.NoIdl = false
  3649.  
  3650. elseif Grab == true then
  3651. Grab = false
  3652. for i = 1, 16 do
  3653. 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)
  3654. 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)
  3655. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  3656. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  3657. 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)
  3658. 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)
  3659. if Debounces.on == false then end
  3660. rs:wait()
  3661. end
  3662. if gp ~= nil then
  3663. for i,v in pairs(larm:GetChildren()) do
  3664. if v.Name == "asd" and v:IsA("Weld") then
  3665. v:Remove()
  3666. end
  3667. end
  3668. for i = 1, 16 do
  3669. 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)
  3670. 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)
  3671. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  3672. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  3673. 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)
  3674. 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)
  3675. if Debounces.on == false then end
  3676. rs:wait()
  3677. end
  3678. stanceToggle = "Normal"
  3679. --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3680. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3681. bv.P = 125000
  3682. bv.velocity = char.Head.CFrame.lookVector * 200]]--
  3683. ht=nil
  3684. Debounces.on = false
  3685. Debounces.NoIdl = false
  3686. elseif ht == nil then wait()
  3687. Grab = false
  3688. humanoidR.PlatformStand = true
  3689. Debounces.on = false
  3690. Debounces.NoIdl = false
  3691. end
  3692. end
  3693. end
  3694. end)
  3695. -------------------------------------------------
  3696. givePower = function()
  3697. humanoidR.Health = 0
  3698. end
  3699. -------------------------------------------------
  3700. myVars[4] = "Normal"
  3701. mouse.KeyDown:connect(function(key)
  3702. if key == "v" then
  3703. if myVars[4] == "Normal" then
  3704. if Debounces.CanAttack == true then
  3705. Debounces.CanAttack = false
  3706. Debounces.NoIdl = true
  3707. Debounces.on = true
  3708. char.Humanoid.WalkSpeed = 0.1
  3709. myVars[4] = "Sitting"
  3710. sitting()
  3711. end
  3712. elseif myVars[4] == "Sitting" then
  3713. print("STOPPED SITTING_")
  3714. char.Humanoid.WalkSpeed = 16
  3715. myVars[4] = "Normal"
  3716. Debounces.CanAttack = true
  3717. Debounces.NoIdl = false
  3718. Debounces.on = false
  3719. end
  3720. end
  3721. end)
  3722. -------------------------------BEAMSTUFF
  3723.  
  3724. startBloxxy()
  3725.  
  3726.  
  3727. local Humanoid=char.Humanoid
  3728. local m=Instance.new('Model',char)
  3729. local it=Instance.new
  3730. local attacktype=1
  3731. local vt=Vector3.new
  3732. local cf=CFrame.new
  3733. local euler=CFrame.fromEulerAnglesXYZ
  3734. local angles=CFrame.Angles
  3735. function NoOutline(Part)
  3736. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  3737. end
  3738. local RootPart = char.HumanoidRootPart
  3739.  
  3740.  
  3741.  
  3742.  
  3743. local mouse=Player:GetMouse()
  3744.  
  3745. local player=p
  3746. local ch=char
  3747. local attack = false
  3748. local attackdebounce = false
  3749. player=nil
  3750. local cam = workspace.CurrentCamera
  3751. local ZTarget = nil
  3752. local RocketTarget = nil
  3753. local Targetting = false
  3754.  
  3755.  
  3756. 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")}
  3757.  
  3758.  
  3759. function swaito(num)
  3760. if num==0 or num==nil then
  3761. game:service'RunService'.Heartbeat:wait(0)
  3762. else
  3763. for i=0,num do
  3764. game:service'RunService'.Heartbeat:wait(0)
  3765. end
  3766. end
  3767. end
  3768.  
  3769. function nooutline(part)
  3770. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3771. end
  3772.  
  3773. function parto(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3774. local fp=it("Part")
  3775. fp.formFactor=formfactor
  3776. fp.Parent=parent
  3777. fp.Reflectance=reflectance
  3778. fp.Transparency=transparency
  3779. fp.CanCollide=false
  3780. fp.Locked=true
  3781. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3782. fp.Name=name
  3783. fp.Size=size
  3784. fp.Position=Character.Torso.Position
  3785. nooutline(fp)
  3786. fp.Material=material
  3787. fp:BreakJoints()
  3788. return fp
  3789. end
  3790.  
  3791. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  3792. local mesh=it(Mesh)
  3793. mesh.Parent=part
  3794. if Mesh=="SpecialMesh" then
  3795. mesh.MeshType=meshtype
  3796. mesh.MeshId=meshid
  3797. end
  3798. mesh.Offset=offset
  3799. mesh.Scale=scale
  3800. return mesh
  3801. end
  3802.  
  3803. function weldo(parent,part0,part1,c0,c1)
  3804. local weld=it("Weld")
  3805. weld.Parent=parent
  3806. weld.Part0=part0
  3807. weld.Part1=part1
  3808. weld.C0=c0
  3809. weld.C1=c1
  3810. return weld
  3811. end
  3812.  
  3813.  
  3814.  
  3815.  
  3816. local function CFrameFromTopBack(at, top, back)
  3817. local right = top:Cross(back)
  3818. return CFrame.new(at.x, at.y, at.z,
  3819. right.x, top.x, back.x,
  3820. right.y, top.y, back.y,
  3821. right.z, top.z, back.z)
  3822. end
  3823.  
  3824. so = function(id,par,vol,pit)
  3825. coroutine.resume(coroutine.create(function()
  3826. local sou = Instance.new("Sound",par or workspace)
  3827. sou.Volume=vol
  3828. sou.Pitch=pit or 1
  3829. sou.SoundId=id
  3830. swait()
  3831. sou:play()
  3832. game:GetService("Debris"):AddItem(sou,6)
  3833. end))
  3834. end
  3835.  
  3836. function Triangle(a, b, c)
  3837. local edg1 = (c-a):Dot((b-a).unit)
  3838. local edg2 = (a-b):Dot((c-b).unit)
  3839. local edg3 = (b-c):Dot((a-c).unit)
  3840. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3841. a, b, c = a, b, c
  3842. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3843. a, b, c = b, c, a
  3844. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3845. a, b, c = c, a, b
  3846. else
  3847. assert(false, "unreachable")
  3848. end
  3849.  
  3850. local len1 = (c-a):Dot((b-a).unit)
  3851. local len2 = (b-a).magnitude - len1
  3852. local width = (a + (b-a).unit*len1 - c).magnitude
  3853.  
  3854. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3855.  
  3856. local list = {}
  3857.  
  3858. local TrailColor = ("Dark grey")
  3859.  
  3860. if len1 > 0.01 then
  3861. local w1 = Instance.new('WedgePart', m)
  3862. game:GetService("Debris"):AddItem(w1,5)
  3863. w1.Material = "Neon"
  3864. w1.FormFactor = 'Custom'
  3865. w1.BrickColor = BrickColor.new(TrailColor)
  3866. w1.Transparency = 0
  3867. w1.Reflectance = 0
  3868. w1.Material = "Neon"
  3869. w1.CanCollide = false
  3870. NoOutline(w1)
  3871. local sz = Vector3.new(0.2, width, len1)
  3872. w1.Size = sz
  3873. local sp = Instance.new("SpecialMesh",w1)
  3874. sp.MeshType = "Wedge"
  3875. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3876. w1:BreakJoints()
  3877. w1.Anchored = true
  3878. w1.Parent = workspace
  3879. w1.Transparency = 0.7
  3880. table.insert(fx,{w1,"Disappear",.01})
  3881. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3882. table.insert(list,w1)
  3883. end
  3884.  
  3885. if len2 > 0.01 then
  3886. local w2 = Instance.new('WedgePart', m)
  3887. game:GetService("Debris"):AddItem(w2,5)
  3888. w2.Material = "Neon"
  3889. w2.FormFactor = 'Custom'
  3890. w2.BrickColor = BrickColor.new(TrailColor)
  3891. w2.Transparency = 0
  3892. w2.Reflectance = 0
  3893. w2.Material = "Neon"
  3894. w2.CanCollide = false
  3895. NoOutline(w2)
  3896. local sz = Vector3.new(0.2, width, len2)
  3897. w2.Size = sz
  3898. local sp = Instance.new("SpecialMesh",w2)
  3899. sp.MeshType = "Wedge"
  3900. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3901. w2:BreakJoints()
  3902. w2.Anchored = true
  3903. w2.Parent = workspace
  3904. w2.Transparency = 0.7
  3905. table.insert(fx,{w2,"Disappear",.01})
  3906. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3907. table.insert(list,w2)
  3908. end
  3909. return unpack(list)
  3910. end
  3911.  
  3912. function clerp(a,b,t)
  3913. local qa = {QuaternionFromCFrame(a)}
  3914. local qb = {QuaternionFromCFrame(b)}
  3915. local ax, ay, az = a.x, a.y, a.z
  3916. local bx, by, bz = b.x, b.y, b.z
  3917. local _t = 1-t
  3918. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  3919. end
  3920.  
  3921. function QuaternionFromCFrame(cf)
  3922. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3923. local trace = m00 + m11 + m22
  3924. if trace > 0 then
  3925. local s = math.sqrt(1 + trace)
  3926. local recip = 0.5/s
  3927. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  3928. else
  3929. local i = 0
  3930. if m11 > m00 then
  3931. i = 1
  3932. end
  3933. if m22 > (i == 0 and m00 or m11) then
  3934. i = 2
  3935. end
  3936. if i == 0 then
  3937. local s = math.sqrt(m00-m11-m22+1)
  3938. local recip = 0.5/s
  3939. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  3940. elseif i == 1 then
  3941. local s = math.sqrt(m11-m22-m00+1)
  3942. local recip = 0.5/s
  3943. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  3944. elseif i == 2 then
  3945. local s = math.sqrt(m22-m00-m11+1)
  3946. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  3947. end
  3948. end
  3949. end
  3950.  
  3951. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3952. local xs, ys, zs = x + x, y + y, z + z
  3953. local wx, wy, wz = w*xs, w*ys, w*zs
  3954. local xx = x*xs
  3955. local xy = x*ys
  3956. local xz = x*zs
  3957. local yy = y*ys
  3958. local yz = y*zs
  3959. local zz = z*zs
  3960. 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))
  3961. end
  3962.  
  3963. function QuaternionSlerp(a, b, t)
  3964. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  3965. local startInterp, finishInterp;
  3966. if cosTheta >= 0.0001 then
  3967. if (1 - cosTheta) > 0.0001 then
  3968. local theta = math.acos(cosTheta)
  3969. local invSinTheta = 1/math.sin(theta)
  3970. startInterp = math.sin((1-t)*theta)*invSinTheta
  3971. finishInterp = math.sin(t*theta)*invSinTheta
  3972. else
  3973. startInterp = 1-t
  3974. finishInterp = t
  3975. end
  3976. else
  3977. if (1+cosTheta) > 0.0001 then
  3978. local theta = math.acos(-cosTheta)
  3979. local invSinTheta = 1/math.sin(theta)
  3980. startInterp = math.sin((t-1)*theta)*invSinTheta
  3981. finishInterp = math.sin(t*theta)*invSinTheta
  3982. else
  3983. startInterp = t-1
  3984. finishInterp = t
  3985. end
  3986. end
  3987. 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
  3988. end
  3989.  
  3990. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3991. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3992. end
  3993.  
  3994.  
  3995. Damagefunco=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  3996. if hit.Parent==nil then
  3997. return
  3998. end
  3999. local h=hit.Parent:FindFirstChild("Humanoid")
  4000. for _,v in pairs(hit.Parent:children()) do
  4001. if v:IsA("Humanoid") then
  4002. h=v
  4003. end
  4004. end
  4005. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  4006. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  4007. end
  4008. if hit.Parent.className=="Hat" then
  4009. hit=hit.Parent.Parent:findFirstChild("Head")
  4010. end
  4011. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4012. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  4013. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4014. return
  4015. end]]
  4016. -- hs(hit,1.2)
  4017. local c=Instance.new("ObjectValue")
  4018. c.Name="creator"
  4019. c.Value=game:service("Players").LocalPlayer
  4020. c.Parent=h
  4021. game:GetService("Debris"):AddItem(c,.5)
  4022. local Damage=math.random(minim,maxim)
  4023. -- h:TakeDamage(Damage)
  4024. local blocked=false
  4025. local block=hit.Parent:findFirstChild("Block")
  4026. if block~=nil then
  4027. print(block.className)
  4028. if block.className=="NumberValue" then
  4029. if block.Value>0 then
  4030. blocked=true
  4031. if decreaseblock==nil then
  4032. block.Value=block.Value-1
  4033. end
  4034. end
  4035. end
  4036. if block.className=="IntValue" then
  4037. if block.Value>0 then
  4038. blocked=true
  4039. if decreaseblock~=nil then
  4040. block.Value=block.Value-1
  4041. end
  4042. end
  4043. end
  4044. end
  4045. if blocked==false then
  4046. -- h:TakeDamage(Damage)
  4047. h.Health=h.Health-Damage
  4048. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  4049. else
  4050. h.Health=h.Health-(Damage/2)
  4051. 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)
  4052. end
  4053. if Type=="Knockdown" then
  4054. local hum=hit.Parent.Humanoid
  4055. hum.PlatformStand=true
  4056. coroutine.resume(coroutine.create(function(HHumanoid)
  4057. swait(1)
  4058. HHumanoid.PlatformStand=false
  4059. end),hum)
  4060. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  4061. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4062. local bodvol=Instance.new("BodyVelocity")
  4063. bodvol.velocity=angle*knockback
  4064. bodvol.P=5000
  4065. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4066. bodvol.Parent=hit
  4067. local rl=Instance.new("BodyAngularVelocity")
  4068. rl.P=3000
  4069. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4070. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  4071. rl.Parent=hit
  4072. game:GetService("Debris"):AddItem(bodvol,.5)
  4073. game:GetService("Debris"):AddItem(rl,.5)
  4074. elseif Type=="Normal" then
  4075. local vp=Instance.new("BodyVelocity")
  4076. vp.P=500
  4077. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4078. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4079. if KnockbackType==1 then
  4080. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  4081. elseif KnockbackType==2 then
  4082. vp.velocity=Property.CFrame.lookVector*knockback
  4083. end
  4084. if knockback>0 then
  4085. vp.Parent=hit.Parent.Torso
  4086. end
  4087. game:GetService("Debris"):AddItem(vp,.5)
  4088. elseif Type=="Up" then
  4089. local bodyVelocity=Instance.new("BodyVelocity")
  4090. bodyVelocity.velocity=vt(0,60,0)
  4091. bodyVelocity.P=5000
  4092. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4093. bodyVelocity.Parent=hit
  4094. game:GetService("Debris"):AddItem(bodyVelocity,1)
  4095. local rl=Instance.new("BodyAngularVelocity")
  4096. rl.P=3000
  4097. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4098. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  4099. rl.Parent=hit
  4100. game:GetService("Debris"):AddItem(rl,.5)
  4101. elseif Type=="Snare" then
  4102. local bp=Instance.new("BodyPosition")
  4103. bp.P=2000
  4104. bp.D=100
  4105. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4106. bp.position=hit.Parent.Torso.Position
  4107. bp.Parent=hit.Parent.Torso
  4108. game:GetService("Debris"):AddItem(bp,1)
  4109. elseif Type=="Target" then
  4110. local Targetting = false
  4111. if Targetting==false then
  4112. ZTarget=hit.Parent.Torso
  4113. coroutine.resume(coroutine.create(function(Part)
  4114. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4115. swait(5)
  4116. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  4117. end),ZTarget)
  4118. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  4119. local targetgui=Instance.new("BillboardGui")
  4120. targetgui.Parent=ZTarget
  4121. targetgui.Size=UDim2.new(10,100,10,100)
  4122. local targ=Instance.new("ImageLabel")
  4123. targ.Parent=targetgui
  4124. targ.BackgroundTransparency=1
  4125. targ.Image="rbxassetid://4834067"
  4126. targ.Size=UDim2.new(1,0,1,0)
  4127. cam.CameraType="Scriptable"
  4128. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4129. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4130. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4131. Targetting=true
  4132. RocketTarget=ZTarget
  4133. for i=1,Property do
  4134. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  4135. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  4136. swait()
  4137. end
  4138. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  4139. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  4140. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  4141. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  4142. end
  4143. Targetting=false
  4144. RocketTarget=nil
  4145. targetgui.Parent=nil
  4146. cam.CameraType="Custom"
  4147. end
  4148. end
  4149. local debounce=Instance.new("BoolValue")
  4150. debounce.Name="DebounceHit"
  4151. debounce.Parent=hit.Parent
  4152. debounce.Value=true
  4153. game:GetService("Debris"):AddItem(debounce,Delay)
  4154. c=Instance.new("ObjectValue")
  4155. c.Name="creator"
  4156. c.Value=Player
  4157. c.Parent=h
  4158. game:GetService("Debris"):AddItem(c,.5)
  4159. end
  4160. end
  4161.  
  4162. Damagefunc2o=function(Part,hit,Damage,Knockback)
  4163. if attackdebounce == false then
  4164. -- attackdebounce = true
  4165. coroutine.resume(coroutine.create(function()
  4166. wait(0.1)
  4167. attackdebounce = false
  4168. end))
  4169. if hit.Parent==nil then
  4170. return
  4171. end
  4172. local blocked=false
  4173. local h=hit.Parent:FindFirstChild("Humanoid")
  4174. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  4175. Damage=Damage
  4176. local c=it("ObjectValue")
  4177. c.Name="creator"
  4178. c.Value=game.Players.LocalPlayer
  4179. c.Parent=h
  4180. game:GetService("Debris"):AddItem(c,.5)
  4181. -- print(c.Value)
  4182. --[[ if math.random(0,99)+math.random()<=7.8 then
  4183. CRIT=true
  4184. Damage=Damage*2
  4185. s=it("Sound")
  4186. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  4187. s.Volume=1
  4188. s.Pitch=2
  4189. s.Parent=hit
  4190. s.PlayOnRemove=true
  4191. s.Parent=nil
  4192.  
  4193. end]]
  4194. Damage=Damage+math.random(0,10)
  4195. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  4196. blocked=false
  4197. local block=hit.Parent:findFirstChild("Block")
  4198. if block~=nil then
  4199. print("herp")
  4200. if block.Value>0 then
  4201. blocked=true
  4202. block.Value=block.Value-3
  4203. print(block.Value)
  4204. end
  4205. end
  4206. if blocked==false then
  4207. -- h:TakeDamage(Damage)
  4208. h.Health=h.Health-Damage
  4209. 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)
  4210. else
  4211. h:TakeDamage(1)
  4212. 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)
  4213. end
  4214. --if blocked==false then
  4215. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  4216. print(angle)
  4217. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  4218. local rl=Instance.new("BodyAngularVelocity")
  4219. rl.P=3000
  4220. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  4221. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  4222. rl.Parent=hit
  4223. coroutine.resume(coroutine.create(function(vel)
  4224. wait(0.5)
  4225. vel:Remove()
  4226. end),rl)
  4227. --end
  4228. local bodyVelocity=Instance.new("BodyVelocity")
  4229. bodyVelocity.velocity=angle*40+Vector3.new(0,0,0)
  4230. bodyVelocity.P=5000
  4231. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  4232. bodyVelocity.Parent=hit
  4233. coroutine.resume(coroutine.create(function(Vel)
  4234. wait(0.2)
  4235. Vel:Remove()
  4236. end),bodyVelocity)
  4237. c=it("ObjectValue")
  4238. c.Name="creator"
  4239. c.Value=Player
  4240. c.Parent=h
  4241. game:GetService("Debris"):AddItem(c,.5)
  4242. end
  4243. end
  4244. end
  4245.  
  4246.  
  4247. function ShowDamage(Pos, Text, Time, Color)
  4248. local Rate = (1 / 30)
  4249. local Pos = (Pos or Vector3.new(0, 0, 0))
  4250. local Text = (Text or "")
  4251. local Time = (Time or 2)
  4252. local Color = (Color or Color3.new(1, 0, 0))
  4253. local EffectPart = parto("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  4254. EffectPart.Anchored = true
  4255. local BillboardGui = Instance.new("BillboardGui")
  4256. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  4257. BillboardGui.Adornee = EffectPart
  4258. local TextLabel = Instance.new("TextLabel")
  4259. TextLabel.BackgroundTransparency = 1
  4260. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  4261. TextLabel.Text = Text
  4262. TextLabel.TextColor3 = Color
  4263. TextLabel.TextScaled = true
  4264. TextLabel.Font = Enum.Font.ArialBold
  4265. TextLabel.Parent = BillboardGui
  4266. BillboardGui.Parent = EffectPart
  4267. game.Debris:AddItem(EffectPart, (Time + 0.1))
  4268. EffectPart.Parent = game:GetService("Workspace")
  4269. Delay(0, function()
  4270. local Frames = (Time / Rate)
  4271. for Frame = 1, Frames do
  4272. wait(Rate)
  4273. local Percent = (Frame / Frames)
  4274. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  4275. TextLabel.TextTransparency = Percent
  4276. end
  4277. if EffectPart and EffectPart.Parent then
  4278. EffectPart:Destroy()
  4279. end
  4280. end)
  4281. end
  4282.  
  4283.  
  4284. function MagniDamageo(Hit,Part,magni,mindam,maxdam,knock,Type)
  4285. for _,c in pairs(workspace:children()) do
  4286. local hum=c:findFirstChild("Humanoid")
  4287. if hum~=nil then
  4288. local head=c:findFirstChild("Torso")
  4289. if head~=nil then
  4290. local targ=head.Position-Part.Position
  4291. local mag=targ.magnitude
  4292. if mag<=magni and c.Name~=p.Name then
  4293. Damagefunco(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  4294. end
  4295. end
  4296. end
  4297. end
  4298. end
  4299.  
  4300.  
  4301. local fx={}
  4302. function MagicBlocko(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4303. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  4304. prt.Anchored=true
  4305. prt.CFrame=cframe
  4306. msh=mesho("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4307. game:GetService("Debris"):AddItem(prt,5)
  4308. table.insert(fx,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  4309. end
  4310.  
  4311. function MagicCylindero(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4312. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4313. prt.Anchored=true
  4314. prt.CFrame=cframe
  4315. msh=mesho("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  4316. game:GetService("Debris"):AddItem(prt,2)
  4317. coroutine.resume(coroutine.create(function(Part,Mesh)
  4318. for i=0,1,delay do
  4319. swait()
  4320. Part.CFrame=Part.CFrame
  4321. Part.Transparency=i
  4322. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4323. end
  4324. Part.Parent=nil
  4325. end),prt,msh)
  4326. end
  4327.  
  4328.  
  4329. function MagicCylinder2o(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4330. local prt=parto(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  4331. prt.Anchored=true
  4332. prt.CFrame=cframe
  4333. msh=mesho("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  4334. game:GetService("Debris"):AddItem(prt,5)
  4335. --table.insert(fx,{prt,"Cylinder",delay,x3,y3,z3})
  4336. fx[#fx+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  4337. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  4338. for i=0,1,delay do
  4339. wait()
  4340. Part.CFrame=Part.CFrame
  4341. Part.Transparency=i
  4342. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4343. end
  4344. Part.Parent=nil
  4345. end),prt,msh)]]
  4346. end
  4347.  
  4348.  
  4349. function MagicRingo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4350. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4351. prt.Anchored=true
  4352. prt.CFrame=cframe
  4353. msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  4354. game:GetService("Debris"):AddItem(prt,2)
  4355. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  4356. for i=0,1,delay do
  4357. swaito()
  4358. Part.Transparency=i
  4359. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4360. end
  4361. Part.Parent=nil
  4362. end),prt,msh,(math.random(0,1)+math.random())/5)
  4363. end
  4364.  
  4365. function MagicCircleo(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  4366. local prt=parto(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  4367. prt.Anchored=true
  4368. prt.CFrame=cframe
  4369. prt.CanCollide = false
  4370. msh=mesho("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  4371. game:GetService("Debris"):AddItem(prt,2)
  4372. coroutine.resume(coroutine.create(function(Part,Mesh)
  4373. for i=0,1,delay do
  4374. swaito()
  4375. Part.CFrame=Part.CFrame
  4376. Part.Transparency=i
  4377. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  4378. end
  4379. Part.Parent=nil
  4380. end),prt,msh)
  4381. end
  4382.  
  4383. function attackone()
  4384. attack = true
  4385. for i = 0,1,0.1 do
  4386. 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)
  4387. 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)
  4388. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4389. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4390. 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)
  4391. 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)
  4392. end
  4393. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  4394. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  4395. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  4396. ShootCannon()
  4397. ShootCannon()
  4398. ShootCannon()
  4399. for i = 0,1,0.1 do
  4400. 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)
  4401. 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)
  4402. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  4403. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  4404. 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)
  4405. 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)
  4406. end
  4407. attack = false
  4408. end
  4409.  
  4410. function attacktwo()
  4411. attack = true
  4412. for i = 0,1,0.1 do
  4413. 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)
  4414. 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)
  4415. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4416. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4417. 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)
  4418. 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)
  4419. end
  4420. so("http://roblox.com/asset/?id=268192025",Barrel2A,1,1)
  4421. so("http://roblox.com/asset/?id=268191996",Barrel2A,1,1)
  4422. so("http://roblox.com/asset/?id=268191976",Barrel2A,1,1)
  4423. ShootCannon2()
  4424. ShootCannon2()
  4425. ShootCannon2()
  4426. for i = 0,1,0.1 do
  4427. 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)
  4428. 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)
  4429. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  4430. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  4431. 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)
  4432. 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)
  4433. end
  4434. attack = false
  4435. end
  4436.  
  4437. local cannonSh = false
  4438. RocketTarget = RootPart
  4439. function ShootCannon()
  4440. cannonSh = true
  4441. local colr = math.random(1,7)
  4442. so("rbxassetid://263623156",rarm,.5,1)
  4443. so("rbxassetid://263610152",rarm,.5,1)
  4444. so("rbxassetid://263623139",rarm,.5,1)
  4445. local MainPos=rarm.CFrame.p
  4446. local MainPos2=mouse.Hit.p
  4447. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  4448. --[[local mag=(MainPos-pos).magnitude
  4449. 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)]]
  4450. num=30
  4451. coroutine.resume(coroutine.create(function()
  4452. repeat
  4453. wait()
  4454. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  4455. local mag=(MainPos-pos).magnitude
  4456. 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)
  4457. MainPos=MainPos+(MouseLook.lookVector*10)
  4458. num=num-1
  4459. if hit~=nil then
  4460. num=0
  4461. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  4462. ref.Anchored=true
  4463. ref.CFrame=cf(pos)
  4464. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  4465. so("rbxassetid://263610039",ref,1,1)
  4466. so("rbxassetid://263610111",ref,1,1)
  4467. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  4468. game:GetService("Debris"):AddItem(ref,1)
  4469. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  4470. explosion = Instance.new("Explosion", game.Workspace)
  4471. explosion.BlastRadius = 5
  4472. explosion.Position = ref.Position
  4473. explosion.BlastPressure = 100000
  4474. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  4475. explosion.ExplosionType = "CratersAndDebris"
  4476. end
  4477. until num<=0
  4478. end))
  4479. cannonSh = false
  4480. end
  4481.  
  4482.  
  4483. RocketTarget = RootPart
  4484. function ShootCannon2()
  4485. cannonSh = true
  4486. local colr = math.random(1,7)
  4487. so("rbxassetid://263623156",larm,.5,1)
  4488. so("rbxassetid://263610152",larm,.5,1)
  4489. so("rbxassetid://263623139",larm,.5,1)
  4490. local MainPos=larm.CFrame.p
  4491. local MainPos2=mouse.Hit.p
  4492. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  4493. --[[local mag=(MainPos-pos).magnitude
  4494. 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)]]
  4495. num=30
  4496. coroutine.resume(coroutine.create(function()
  4497. repeat
  4498. wait()
  4499. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  4500. local mag=(MainPos-pos).magnitude
  4501. 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)
  4502. MainPos=MainPos+(MouseLook.lookVector*10)
  4503. num=num-1
  4504. if hit~=nil then
  4505. num=0
  4506. local ref=parto(3,workspace,"Neon",0,1,Neoncol[col],"Reference",vt())
  4507. ref.Anchored=true
  4508. ref.CFrame=cf(pos)
  4509. MagniDamageo(ref,hit,1,30,50,1,"Normal")
  4510. so("rbxassetid://263610039",ref,1,1)
  4511. so("rbxassetid://263610111",ref,1,1)
  4512. MagicBlocko(Neoncol[colr],cf(pos),20,20,20,5,5,5,0.05)
  4513. game:GetService("Debris"):AddItem(ref,1)
  4514. MagniDamageo(ref,ref,15,1000,1000,10,"Normal")
  4515. explosion = Instance.new("Explosion", game.Workspace)
  4516. explosion.BlastRadius = 5
  4517. explosion.Position = ref.Position
  4518. explosion.BlastPressure = 100000
  4519. explosion.DestroyJointRadiusPercent = 10 -- neck welds won't be destroyed
  4520. explosion.ExplosionType = "CratersAndDebris"
  4521. end
  4522. until num<=0
  4523. end))
  4524. cannonSh = false
  4525. end
  4526.  
  4527.  
  4528. function BeamBlast()
  4529. if cannonSh == false then
  4530. local colr = math.random(1,7)
  4531. local n=2
  4532. for i = 0,1,0.05 do
  4533.  
  4534.  
  4535. 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)
  4536. 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)
  4537.  
  4538. end
  4539. local orb=parto(3,Character,"Neon",0,1,Neoncol[colr],"Orb",vt())
  4540. local omsh=mesho("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  4541. local owld=weldo(orb,orb,Torso,cf(0,-1.5,8),cf(0,0,0))
  4542. so("http://roblox.com/asset/?id=169445572",orb,1,0.9)
  4543. so("http://roblox.com/asset/?id=169380495",orb,1,0.6)
  4544. so("http://roblox.com/asset/?id=203691346",orb,1,0.9)
  4545. for i=1,0.3,-0.01 do
  4546. colr = math.random(1,7)
  4547. wait()
  4548. orb.Transparency=i
  4549. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  4550. MagicBlocko(BrickColor.new("Really black"),orb.CFrame,15,15,15,2,2,2,0.1)
  4551. local ef=parto(3,workspace,"Neon",0,0,Neoncol[colr],"Effect",vt())
  4552. ef.Anchored=true
  4553. local emsh=mesho("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.random(1000,1500)/100,2))
  4554. local ceef=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cf(0,math.random(10,20),0)
  4555. ef.CFrame=orb.CFrame*ceef
  4556. game:GetService("Debris"):AddItem(ef,2)
  4557. coroutine.resume(coroutine.create(function(Part,Mesh)
  4558. for i=0,1,0.1 do
  4559. wait()
  4560. Part.Transparency=i
  4561. Part.CFrame=Part.CFrame*cf(0,-1,0)
  4562. end
  4563. Part.Parent=nil
  4564. end),ef,emsh)
  4565. end
  4566. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  4567. wait(.5)
  4568. orb.Parent=nil
  4569. colr = math.random(1,7)
  4570. local hit,pos = rayCast(orb.Position,Pos,999,Character)
  4571. local mag=(orb.Position-pos).magnitude
  4572. MagicCircleo(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  4573. MagicBlocko(Neoncol[colr],cf(pos),15,15,15,8,8,8,0.02)
  4574. 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)
  4575. for i=1,2 do
  4576. colr = math.random(1,7)
  4577. 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)
  4578. end
  4579. for i=1,5 do
  4580. colr = math.random(1,7)
  4581. local tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  4582. MagicRingo(Neoncol[colr],tehcf*euler(1.57,0,0),1,1,1,0.5,0.5,0.5,0.01)
  4583. end
  4584. for i=0,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. local ref=parto(3,workspace,"Neon",0,1,Neoncol[colr],"Effect",vt())
  4590. ref.CFrame=cf(pos)
  4591. so("http://roblox.com/asset/?id=203691378",Torso,1,0.7)
  4592. so("http://roblox.com/asset/?id=169445602",Torso,1,0.7)
  4593. so("http://www.roblox.com/Asset?ID=203691282",Torso,1,.8)
  4594. coroutine.resume(coroutine.create(function(Part)
  4595. Part.Parent=nil
  4596. end),ref)
  4597. if hit~=nil then
  4598. MagniDamage(Part,hit,30,1000,1000,0,"Normal")
  4599. end
  4600. explosion = Instance.new("Explosion", game.Workspace)
  4601. explosion.BlastRadius = 15
  4602. explosion.Position = ref.Position
  4603. explosion.BlastPressure = 100000
  4604. explosion.DestroyJointRadiusPercent = 30 -- neck welds won't be destroyed
  4605. explosion.ExplosionType = "CratersAndDebris"
  4606. local n=2
  4607. for i = 0,1,0.03 do
  4608.  
  4609. 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)
  4610. 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)
  4611. end
  4612. end
  4613.  
  4614. Debounces.CanAttack = true
  4615. Debounces.NoIdl = false
  4616. end
  4617.  
  4618. mouse.Button1Down:connect(function()
  4619. if Melee == true then
  4620. if rainbowHands == true then
  4621. if attack == false and attacktype == 1 then
  4622. attacktype = 2
  4623. attackone()
  4624. elseif attack == false and attacktype == 2 then
  4625. attacktype = 1
  4626. attacktwo()
  4627. end
  4628. elseif d0arm[3] == "true" then
  4629. lBeam1()
  4630. end
  4631. else
  4632. if rainbowHands == true then
  4633. if attack == false then
  4634. attacktwo()
  4635. end
  4636. end
  4637. end
  4638. end)
  4639. local slashing = false
  4640. mouse.KeyUp:connect(function(key)
  4641. if key == "q" then
  4642. if Melee == true then
  4643. if rainbowssl ~= true then
  4644. if rainbowHands == true then
  4645. Debounces.CanAttack = false
  4646. Debounces.NoIdl = true
  4647. 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)
  4648. 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)
  4649. BeamBlast()
  4650. end
  4651. elseif Melee == false then
  4652. if sword2 ~= true then
  4653. Debounces.CanAttack = false
  4654. Debounces.NoIdl = true
  4655. --Debounces.on = true
  4656. slashing = true
  4657. for i = 1, 20 do
  4658. 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)
  4659. 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)
  4660. 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)
  4661. 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)
  4662. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2)
  4663. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2)
  4664. rs:wait(2)
  4665. end
  4666. for i = 1, 20 do
  4667. 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)
  4668. 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)
  4669. 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)
  4670. 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)
  4671. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3)
  4672. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3)
  4673. rs:wait(2)
  4674. end
  4675. for i = 1, 26 do
  4676. 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)
  4677. 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)
  4678. 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)
  4679. 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)
  4680. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35)
  4681. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35)
  4682. --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)
  4683. rs:wait(2)
  4684. end
  4685. --cor.Weld.C1 = CFrame.Angles(0,0,0)
  4686. slashing = false
  4687. if Debounces.CanAttack == false then
  4688. Debounces.CanAttack = true
  4689. Debounces.NoIdl = false
  4690. --Debounces.on = false
  4691. end
  4692. else
  4693. Debounces.CanAttack = false
  4694. Debounces.NoIdl = true
  4695. --Debounces.on = true
  4696.  
  4697.  
  4698. if Debounces.CanAttack == false then
  4699. Debounces.CanAttack = true
  4700. Debounces.NoIdl = false
  4701. --Debounces.on = false
  4702. end
  4703.  
  4704. end
  4705. else
  4706. if Debounces.CanAttack == true then
  4707. Debounces.CanAttack = false
  4708. Debounces.NoIdl = true
  4709. sslAttack1()
  4710. Debounces.CanAttack = true
  4711. Debounces.NoIdl = false
  4712. end
  4713. end
  4714. end
  4715. end
  4716. end)
  4717. -- Magic effects
  4718. local magic = {}
  4719. magic.grid = function(cff,x,y,z,col)
  4720. local prt = part(3, workspace, 0, 0, col, "Part", vt(1, 1, 1))
  4721. prt.Anchored = true
  4722. local xval = math.random()
  4723. local yval = math.random()
  4724. local zval = math.random()
  4725. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  4726. coroutine.resume(coroutine.create(function(Part, Mesh, Frame, xvaal, yvaal, zvaal)
  4727. Part.CFrame = Frame * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  4728. for i = 1, 8 do
  4729. wait()
  4730. xvaal = xvaal - 0.1
  4731. yvaal = yvaal - 0.1
  4732. zvaal = zvaal - 0.1
  4733. Mesh.Scale = vt(xvaal, yvaal, zvaal)
  4734. Part.Transparency = Part.Transparency + 0.09
  4735. end
  4736. Part.Parent = nil
  4737. end), prt, msh, cff, xval, yval, zval)
  4738. end
  4739. magic.stravant = function(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  4740. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4741. prt.Anchored = true
  4742. prt.CFrame = cframe * cf(x, y, z)
  4743. local msh = mesh("SpecialMesh", prt, "FileMesh", "168892363", vt(0, 0, 0), vt(x1, y1, z1))
  4744. game:GetService("Debris"):AddItem(prt, 5)
  4745. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  4746. local num = random()
  4747. local num2 = random(-3, 2) + random()
  4748. local numm = 0
  4749. for i = 0, 1, delay * 2 do
  4750. wait()
  4751. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  4752. Part.Transparency = i
  4753. numm = numm + 0.01
  4754. end
  4755. Part.Parent = nil
  4756. Mesh.Parent = nil
  4757. end), prt, msh, x, y, z)
  4758. end
  4759. magic.block = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  4760. local prt = part(3, parent or workspace, 0, 0, brickcolor, "Effect", vt())
  4761. prt.Anchored = true
  4762. prt.CFrame = cframe
  4763. local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  4764. game:GetService("Debris"):AddItem(prt, 5)
  4765. if Type == 1 or Type == nil then
  4766. block1(prt, delay, x3, y3, z3, msh)
  4767. elseif Type == 2 then
  4768. block2(prt, delay, x3, y3, z3, msh)
  4769. end
  4770. end
  4771. -------------------------------
  4772.  
  4773.  
  4774.  
  4775. function attack1()
  4776. --con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  4777. slashing = true
  4778. Debounces.CanAttack = false
  4779. Debounces.NoIdl = true
  4780. --[[for i=0,1,0.2 do
  4781. swait()
  4782. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2,0,1),.4)
  4783. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4784. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.4)
  4785. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4786. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.4)
  4787. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.4)
  4788. end
  4789. for i=0,1,0.3 do
  4790. swait()
  4791. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.2,0.5,-.3)*euler(.2,0,-.2)*euler(0,-.5,0),.4)
  4792. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4793. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  4794. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4795. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  4796. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  4797. end
  4798. for i=0,1,0.2 do
  4799. swait()
  4800. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.4)
  4801. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4802. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.4)
  4803. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4804. --rleg.Weld.C0=clerp(rleg.Weld.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.4)
  4805. --lleg.Weld.C0=clerp(lleg.Weld.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.4)
  4806. end]]
  4807. for i=0,1,0.2 do
  4808. swait()
  4809. --[[
  4810. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4811. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4812. local h = 5
  4813. 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)
  4814. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4815. 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)
  4816. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4817. scfr = blcf
  4818. elseif not scfr then
  4819. scfr = blcf
  4820. end]]
  4821. 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)
  4822. end
  4823. for i=0,1,0.2 do
  4824. swait()
  4825. --[[local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  4826. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  4827. local h = 5
  4828. 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)
  4829. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4830. 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)
  4831. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  4832. scfr = blcf
  4833. elseif not scfr then
  4834. scfr = blcf
  4835. end]]
  4836. 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)
  4837. --handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  4838. end
  4839. slashing = false
  4840. Debounces.CanAttack = true
  4841. Debounces.NoIdl = false
  4842. end
  4843.  
  4844. function attack2()
  4845. slashing = true
  4846. Debounces.CanAttack = false
  4847. Debounces.NoIdl = true
  4848. for i=0,1,0.2 do
  4849. swait()
  4850. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-.5)*euler(1.57,0,-1)*euler(0,1.2,0),.4)
  4851. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4852. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.8,0,-.4),.4)
  4853. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4854. end
  4855. for i=0,1,0.3 do
  4856. swait()
  4857. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.4)
  4858. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4859. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  4860. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4861. end
  4862. for i=0,1,0.2 do
  4863. swait()
  4864. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1,0,.8)*euler(0,1.3,0),.4)
  4865. rarm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4866. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.4)
  4867. larm.Weld.C1=clerp(larm.Weld.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  4868. end
  4869. slashing = false
  4870. Debounces.CanAttack = true
  4871. Debounces.NoIdl = false
  4872. end
  4873.  
  4874.  
  4875. function attack3()
  4876. slashing = true
  4877. Debounces.CanAttack = false
  4878. Debounces.NoIdl = true
  4879. for i = 0, 1, 0.16 do
  4880. swait()
  4881. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  4882. rarm.Weld.C0 = clerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, -0.2) * angles(0, 1.3, 1.3), 0.4)
  4883. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(-0.6, 0, -0.5), 0.4)
  4884. end
  4885. coroutine.resume(coroutine.create(function()
  4886. for i = 0, 4, 0.2 do
  4887. swait()
  4888. 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)
  4889. end
  4890. end
  4891. ))
  4892. for i = 0, 1, 0.05 do
  4893. swait()
  4894. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.4)
  4895. 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)
  4896. larm.Weld.C0 = clerp(larm.Weld.C0, CFrame.new(-1.3, 0.4, 0.3) * angles(0.8, 0, -0.5), 0.4)
  4897. end
  4898. slashing = false
  4899. Debounces.CanAttack = true
  4900. Debounces.NoIdl = false
  4901. end
  4902. -------------------------------------
  4903.  
  4904. -------------------------------------
  4905. myVars[5] = "normal"
  4906.  
  4907. myVars[8] = 0
  4908. mouse.Button1Down:connect(function()
  4909. if rainbowHands == false then
  4910. if myVars[5] == "normal" then
  4911. if sword2 == true then
  4912. if myVars[1] ~= "att1" then
  4913. if myVars[2] ~= "att2" then
  4914. if Debounces.CanAttack == true then
  4915. myVars[1] = "att1"
  4916. attack1()
  4917. end
  4918.  
  4919. elseif myVars[2] == "att2" then
  4920. if Debounces.CanAttack == true then
  4921. myVars[1] = "none"
  4922. myVars[2] = "none"
  4923. attack3()
  4924. end
  4925. end
  4926. elseif myVars[2] ~= "att2" then
  4927. if Debounces.CanAttack == true then
  4928. myVars[1] = "none"
  4929. myVars[2] = "att2"
  4930. attack2()
  4931. end
  4932. end
  4933. end
  4934. elseif myVars[5] == "ssl3" then
  4935. if myVars[7] == true then
  4936. Debounces.CanAttack = false
  4937. Debounces.NoIdl = true
  4938. if myVars[8] == 0 then
  4939. vAttackOne()
  4940. myVars[8] = 1
  4941. Debounces.CanAttack = true
  4942. Debounces.NoIdl = false
  4943. return true
  4944. elseif myVars[8] == 1 then
  4945. vAttackTwo()
  4946. myVars[8] = 2
  4947. Debounces.CanAttack = true
  4948. Debounces.NoIdl = false
  4949. return true
  4950. elseif myVars[8] == 2 then
  4951. vAttackThree()
  4952. myVars[8] = 0
  4953. Debounces.CanAttack = true
  4954. Debounces.NoIdl = false
  4955. return true
  4956. end
  4957. end
  4958. elseif myVars[5] == "ssl3_1" then
  4959. if myVars[7] == true then
  4960. Debounces.CanAttack = false
  4961. Debounces.NoIdl = true
  4962. if myVars[8] == 0 then
  4963. vAttackOne()
  4964. myVars[8] = 1
  4965. Debounces.CanAttack = true
  4966. Debounces.NoIdl = false
  4967. return true
  4968. elseif myVars[8] == 1 then
  4969. vAttackTwo()
  4970. myVars[8] = 2
  4971. Debounces.CanAttack = true
  4972. Debounces.NoIdl = false
  4973. return true
  4974. elseif myVars[8] == 2 then
  4975. vAttackThree()
  4976. myVars[8] = 0
  4977. Debounces.CanAttack = true
  4978. Debounces.NoIdl = false
  4979. return true
  4980. end
  4981. end
  4982. end
  4983. end
  4984. end)
  4985.  
  4986. function testFunc()
  4987. for i = 0, 1, 0.1 do
  4988. swait()
  4989. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  4990. 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)
  4991. 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)
  4992. end
  4993. for i = 0, 1, 0.13 do
  4994. swait()
  4995. 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)
  4996. 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)
  4997. end
  4998. end
  4999.  
  5000. local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  5001. prref.Anchored = true
  5002. -------------------------------
  5003. local powerHand = false
  5004. local randPower = math.random(1,2)
  5005. mouse.KeyUp:connect(function(key)
  5006. if key == "t" then
  5007. if powerHand == false then
  5008. if Grab == true then
  5009. if Debounces.CanAttack == true then
  5010. Debounces.CanAttack = false
  5011. Debounces.on = true
  5012. Debounces.NoIdl = true
  5013. powerHand = true
  5014. for i = 1, 10 do
  5015. 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)
  5016. wait(0.5)
  5017. end
  5018. getDiscoMan(humanoidR)
  5019. powerHand = false
  5020. Debounces.CanAttack = true
  5021. Debounces.on = false
  5022. Debounces.NoIdl = false
  5023. humanoidR = nil
  5024. end
  5025. else
  5026. if myVars[3] == "claw" then
  5027. if Debounces.CanAttack == true then
  5028. Debounces.CanAttack = false
  5029. Debounces.on = true
  5030. Debounces.NoIdl = true
  5031. bird()
  5032. Debounces.CanAttack = true
  5033. Debounces.on = false
  5034. Debounces.NoIdl = false
  5035. end
  5036. end
  5037.  
  5038. end
  5039. end
  5040. end
  5041. end)
  5042. mouse.KeyUp:connect(function(key)
  5043. if key == "x" then
  5044. if powerHand == false then
  5045. if Grab == true then
  5046. if Debounces.CanAttack == true then
  5047. Debounces.CanAttack = false
  5048. Debounces.on = true
  5049. Debounces.NoIdl = true
  5050. powerHand = true
  5051. for i = 1, 10 do
  5052. 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)
  5053. wait(0.5)
  5054. end
  5055. getFreeze(humanoidR)
  5056. powerHand = false
  5057. Debounces.CanAttack = true
  5058. Debounces.on = false
  5059. Debounces.NoIdl = false
  5060. humanoidR = nil
  5061. end
  5062. end
  5063. end
  5064. end
  5065. end)
  5066.  
  5067. -------------------------------
  5068. mouse.KeyUp:connect(function(key)
  5069. if key == "r" then
  5070. if Charging == true then
  5071. Charging = false
  5072. pt:Destroy()
  5073. pt2:Destroy()
  5074. bl:Destroy()
  5075. if Debounces.CanAttack == false then
  5076. Debounces.CanAttack = true
  5077. Debounces.NoIdl = false
  5078. Debounces.on = false
  5079. end
  5080. end
  5081. end
  5082. end)
  5083.  
  5084. ----------------------------------------------------
  5085.  
  5086. function equipHands()
  5087. for i = 0, 1, 0.1 do
  5088. swait()
  5089. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5090. 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)
  5091. 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)
  5092.  
  5093. end
  5094. --CreateSound("http://roblox.com/asset/?id=346134880", Torso, 1, .9)
  5095. for i = 0, 1, 0.1 do
  5096. swait()
  5097. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5098. 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)
  5099. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 0.3, -.7) * angles(math.rad(0), math.rad(-170), math.rad(-120)), .34)
  5100.  
  5101. end
  5102. for i = 0, 1, 0.1 do
  5103. swait()
  5104. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5105. 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)
  5106. 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)
  5107.  
  5108. end
  5109. for i = 0, 1, 0.1 do
  5110. swait()
  5111. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5112. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 0.3, -.7) * angles(math.rad(0), math.rad(170), math.rad(120)), .34)
  5113. 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)
  5114.  
  5115. end
  5116. end
  5117.  
  5118. function sslBurst1()
  5119. for i = 0, 1, 0.1 do
  5120. swait()
  5121. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * angles(math.rad(5), math.rad(0), math.rad(0)), .2)
  5122. 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)
  5123. 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)
  5124.  
  5125. end
  5126. colc = math.random(1,7)
  5127. local fx = Instance.new("Part",torso)
  5128. fx.Anchored = true
  5129. fx.Material = "Neon"
  5130. fx.CanCollide = false
  5131. fx.Locked = true
  5132. fx.Transparency = 1
  5133. fx.Material = "Neon"
  5134. fx.Size = Vector3.new(1,1,1)
  5135. fx.TopSurface = "SmoothNoOutlines"
  5136. fx.BottomSurface = "SmoothNoOutlines"
  5137. fx.BrickColor = Neonsc[colc]
  5138. fxm = Instance.new("SpecialMesh",fx)
  5139. fxm.MeshType = "Sphere"
  5140. fxm.Scale = Vector3.new(1,1,1)
  5141.  
  5142. for i = 1, 20 do
  5143. colc = math.random(1,7)
  5144. fx.BrickColor = Neonsc[colc]
  5145. fx.Transparency = fx.Transparency - (1/20)
  5146. fx.CFrame = torso.CFrame
  5147. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5148. wait(0.0000001)
  5149. end
  5150.  
  5151.  
  5152. 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)))
  5153. 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)))
  5154. 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))
  5155. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  5156. 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)))
  5157. 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)))
  5158. ssl3Appear()
  5159.  
  5160. for i = 1, 20 do wait(0.0000001)
  5161. colc = math.random(1,7)
  5162. fx.BrickColor = Neonsc[colc]
  5163. fx.Transparency = fx.Transparency + (1/20)
  5164. fx.CFrame = torso.CFrame
  5165. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5166. end
  5167. end
  5168.  
  5169.  
  5170. ---------------SSL3-MODE-1-ATTACKS-START-------------------------
  5171. function trail(p,t,h)
  5172. Spawn(function()
  5173. local blcf = p.CFrame
  5174. local scfr = blcf
  5175. for i=1,t do
  5176. local blcf = p.CFrame
  5177. if scfr and (p.Position-scfr.p).magnitude > .1 then
  5178. 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)
  5179. if a then game.Debris:AddItem(a,1) end
  5180. if b then game.Debris:AddItem(b,1) end
  5181. 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)
  5182. if a then game.Debris:AddItem(a,1) end
  5183. if b then game.Debris:AddItem(b,1) end
  5184. scfr = blcf
  5185. elseif not scfr then
  5186. scfr = blcf
  5187. end
  5188. game:service'RunService'.RenderStepped:wait()
  5189. end
  5190. scfr=nil
  5191. end)
  5192. end
  5193. function lBeam1()
  5194. function partypoison(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  5195. local fp=Instance.new("Part")
  5196. fp.formFactor=formfactor
  5197. fp.Parent=parent
  5198. fp.Reflectance=reflectance
  5199. fp.Transparency=transparency
  5200. fp.CanCollide=false
  5201. fp.Locked=true
  5202. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  5203. fp.Name=name
  5204. fp.Size=size
  5205. fp.Position=Character.Torso.Position
  5206. nooutline(fp)
  5207. fp.Material=material
  5208. fp:BreakJoints()
  5209. return fp
  5210. end
  5211. function meshypoison(Mesh,part,meshtype,meshid,offset,scale)
  5212. local mesh=Instance.new(Mesh)
  5213. mesh.Parent=part
  5214. if Mesh=="SpecialMesh" then
  5215. mesh.MeshType=meshtype
  5216. mesh.MeshId=meshid
  5217. end
  5218. mesh.Offset=offset
  5219. mesh.Scale=scale
  5220. return mesh
  5221. end
  5222.  
  5223. function weldypoison(parent,part0,part1,c0,c1)
  5224. local weld=Instance.new("Weld")
  5225. weld.Parent=parent
  5226. weld.Part0=part0
  5227. weld.Part1=part1
  5228. weld.C0=c0
  5229. weld.C1=c1
  5230. return weld
  5231. end
  5232. function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  5233. local prt = partypoison(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  5234. prt.Anchored = true
  5235. prt.CFrame = cframe
  5236. prt.Material = "Neon"
  5237. local msh = meshypoison("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  5238. game:GetService("Debris"):AddItem(prt, 2)
  5239. coroutine.resume(coroutine.create(function(Part, Mesh)
  5240. for i = 0, 1, delay do
  5241. swait()
  5242. Part.CFrame = Part.CFrame
  5243. Part.Transparency = i
  5244. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  5245. end
  5246. Part.Parent = nil
  5247. end), prt, msh)
  5248. end
  5249. for i=0,1,0.2 do
  5250. swait()
  5251. Shockwave(BrickColor.new("Lime green"),CFrame.new(rarm.Position),1,1,1,1,1,1,0.075)
  5252. end
  5253. end
  5254.  
  5255. function Bash()
  5256.  
  5257. function MagicWaveBASH(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  5258. local prt=part(3,F2,0,0,brickcolor,"Effect",vt())
  5259. prt.Anchored=true
  5260. prt.CFrame=cframe
  5261. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  5262. game:GetService("Debris"):AddItem(prt,5)
  5263. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  5264. end
  5265.  
  5266.  
  5267.  
  5268. for i=0,1,0.1 do
  5269. swait()
  5270. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1)*euler(0.5,0,0),.3)
  5271. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  5272. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(1.4,-1.4,0)*euler(-.6,0,0),.3)
  5273. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1,-1,0)*euler(.5,0,0),.3)
  5274. end
  5275. torso.Velocity=RootPart.CFrame.lookVector*600
  5276. MagicWave(Color4,RootPart.CFrame*euler(1.57,0,0),1,1,1,1,1,1,0.05)
  5277. torso.Velocity=RootPart.CFrame.lookVector*0
  5278. for i=0,1,0.1 do
  5279. swait()
  5280. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(-0.2,0,0),.3)
  5281. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-1.4),.3)
  5282. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1,0.5,-0.5)*euler(3,-1.4,0)*euler(-.6,0,0),.3)
  5283. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(2.3,-1.4,0)*euler(.5,0,0),.3)
  5284. end
  5285. for i=0,1,0.2 do
  5286. swait()
  5287. --torso.Weld.C0=clerp(torso.Weld.C0,necko*euler(0,0,1.4)*euler(0.4,0,0),.45)
  5288. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3)*euler(0,0,-1.4),.45)
  5289. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(.5,0.2,-0.5)*euler(3,-1.4,0)*euler(-2.7,0,0),.45)
  5290. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.2,0.1,-0.3)*euler(0,-1.4,0)*euler(.5,0,0),.45)
  5291. end
  5292. local ref=part(3,workspace,0,1,BrickColor.new("Dark indigo"),"Effect",vt())
  5293. ref.Anchored=true
  5294. ref.CFrame=cf(pos)
  5295. game:GetService("Debris"):AddItem(ref,3)
  5296.  
  5297. MagicWaveBASH(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7,0.05)
  5298. MagniDamage(ref,10,40,80,math.random(100,600),"Up")
  5299. swait(10)
  5300. print("Bash_1 ran.")
  5301. end
  5302.  
  5303. vAttackOne = function()
  5304. local RbxUtility = LoadLibrary("RbxUtility")
  5305. local Create = RbxUtility.Create
  5306.  
  5307.  
  5308.  
  5309. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  5310. for i, v in pairs(hit:GetChildren()) do
  5311. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  5312. local find = v:FindFirstChild("DebounceHit")
  5313. if not find then
  5314. if v.Parent:findFirstChild("Head") then
  5315. local BillG = Create("BillboardGui"){
  5316. Parent = v.Parent.Head,
  5317. Size = UDim2.new(1, 0, 1, 0),
  5318. Adornee = v.Parent.Head,
  5319. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  5320. }
  5321. local TL = Create("TextLabel"){
  5322. Parent = BillG,
  5323. Size = UDim2.new(3, 3, 3, 3),
  5324. BackgroundTransparency = 1,
  5325. Text = tostring(damage).."-",
  5326. TextColor3 = Color1.Color,
  5327. TextStrokeColor3 = Color2.Color,
  5328. TextStrokeTransparency = 0,
  5329. TextXAlignment = Enum.TextXAlignment.Center,
  5330. TextYAlignment = Enum.TextYAlignment.Center,
  5331. FontSize = Enum.FontSize.Size18,
  5332. Font = "ArialBold",
  5333. }
  5334. coroutine.resume(coroutine.create(function()
  5335. swait(1)
  5336. for i = 0, 1, .1 do
  5337. swait(.1)
  5338. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  5339. end
  5340. BillG:Destroy()
  5341. end))
  5342. end
  5343. v.Health = v.Health - damage
  5344. local bool = Create("BoolValue"){
  5345. Parent = v,
  5346. Name = "DebounceHit",
  5347. }
  5348. game:GetService("Debris"):AddItem(bool, cooldown)
  5349. end
  5350. end
  5351. end
  5352. end
  5353. if myVars[5] == "ssl3" then
  5354. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5355. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5356. end)
  5357. for i = 1, 10 do
  5358. 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)
  5359. 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)
  5360. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(10),math.rad(-46),0), 0.47)
  5361. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-8), math.rad(46), 0), 0.55)
  5362. 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)
  5363. 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)
  5364. rs:wait()
  5365. end
  5366.  
  5367. for i = 1, 10 do
  5368. 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)
  5369. 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)
  5370. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(40),0), 0.54)
  5371. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), 0), 0.66)
  5372. 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)
  5373. 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)
  5374. rs:wait()
  5375. end
  5376. Con1:disconnect()
  5377. elseif myVars[5] == "ssl3_1" then
  5378. print("RUN_SSL31")
  5379. myVars[11].Parent=myVars[10]
  5380. myVars[11].Size=vt(1,6,1)
  5381. myVars[11].Transparency=1
  5382. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5383. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5384. for i=0,1,0.1 do
  5385. swait()
  5386. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.4,0,-1),.3)
  5387. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-0.5,1)*euler(.3,0,.5),.3)
  5388. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(.7,0,-0.7),.3)
  5389. end
  5390. for i=0,1,0.08 do
  5391. swait()
  5392. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.2,0,1),.3)
  5393. 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)
  5394. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5395. end
  5396. con1:disconnect()
  5397. end
  5398. end
  5399.  
  5400. vAttackTwo = function()
  5401.  
  5402. if myVars[5] == "ssl3" then
  5403. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5404. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5405. end)
  5406. for i = 1, 5 do
  5407. 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)
  5408. 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)
  5409. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2)*CFrame.Angles(math.rad(-10),math.rad(46),0), 0.8)
  5410. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(8), math.rad(-46), 0), 0.8)
  5411. 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)
  5412. 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)
  5413. --if Debounces.on == false then break end
  5414. rs:wait()
  5415. end
  5416. for i = 1, 10 do
  5417. 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)
  5418. 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)
  5419. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2)*CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.54)
  5420. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-9), math.rad(40), 0), 0.66)
  5421. 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)
  5422. 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)
  5423. rs:wait()
  5424. end
  5425. Con1:disconnect()
  5426. elseif myVars[5] == "ssl3_1" then
  5427. myVars[11].Parent=myVars[10]
  5428. myVars[11].Size=vt(1,6,1)
  5429. myVars[11].Transparency=1
  5430. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5431. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5432. for i=0,1,0.1 do
  5433. swait()
  5434. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,1.2),.3)
  5435. 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)
  5436. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5437. end
  5438. for i=0,1,0.1 do
  5439. swait()
  5440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.4)*euler(0.1,0,-0.8),.3)
  5441. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.4,-.8,.6)*euler(0.5,0,.5),.3)
  5442. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-.7,0,-0.7),.3)
  5443. end
  5444. con1:disconnect()
  5445. end
  5446. end
  5447.  
  5448.  
  5449.  
  5450. vAttackThree = function()
  5451. if myVars[5] == "ssl3" then
  5452. for i = 1, 10 do
  5453. 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)
  5454. 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)
  5455. 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)
  5456. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.66)
  5457. 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)
  5458. 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)
  5459.  
  5460. rs:wait()
  5461. end
  5462. for i = 1, 10 do
  5463. 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)
  5464. 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)
  5465. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), 0, 0), 0.7)
  5466. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.7)
  5467. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  5468. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-16), 0, 0), 0.7)
  5469. rs:wait()
  5470. end
  5471. MagniDamageo(myVars[6].Hitbox,myVars[6].Hitbox,20,20,30,0,"Knockdown")
  5472. local hit,pos=rayCast(myVars[6].Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  5473. if hit~=nil then
  5474. print("test1")
  5475. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  5476. print("test2")
  5477. ref2.Anchored=true
  5478. print("test3")
  5479. ref2.CFrame=cf(pos)
  5480. print("test4")
  5481. game:GetService("Debris"):AddItem(ref2,3)
  5482. print("test5")
  5483.  
  5484. local Con1 = myVars[6].Hitbox.Touched:connect(function(hit)
  5485. Damage(hit.Parent, math.random(1000, 4500), .1, BrickColor.new("Really black"), BrickColor.new("Mid gray"), "rbxassetid://199149186" ,1)
  5486. end)
  5487. for i=1,10 do
  5488. local Col=Neonsc[colc]
  5489. colc = math.random(1,7)
  5490. 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))
  5491. groundpart.Anchored=true
  5492. groundpart.CanCollide=false
  5493. 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))
  5494. game:GetService("Debris"):AddItem(groundpart,5)
  5495. end
  5496. colc = math.random(1,7)
  5497. BlastEffect(Neonsc[colc],cf(pos),1,1,1,.7,.7,.7)
  5498. colc = math.random(1,7)
  5499. MagicCircleo(Neonsc[colc],cf(pos),3,3,3,5,5,5,0.05)
  5500. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  5501. Con1:disconnect()
  5502. end
  5503. else
  5504.  
  5505. myVars[11].Parent=myVars[10]
  5506. myVars[11].Size=vt(1,6,1)
  5507. myVars[11].Transparency=1
  5508. myVars[11].CFrame=myVars[10].prtd7.CFrame
  5509. local con1=myVars[11].Touched:connect(function(hit) Damagefunc(hit,30,60,math.random(10000,10000),"Lifesteal",RootPart,.5,1) end)
  5510. for i=0,1,0.1 do
  5511. swait()
  5512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*euler(0.1,0,-0.2),.3)
  5513. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(2.9,-1.8,0)*euler(.5,0,0),.3)
  5514. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  5515. end
  5516. for i=0,1,0.15 do
  5517. swait()
  5518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.8)*euler(0.5,0,0.6),.4)
  5519. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.55,-1.5,0)*euler(.3,0,0),.4)
  5520. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.4)
  5521. end
  5522. con1:disconnect()
  5523. end
  5524. end
  5525.  
  5526.  
  5527.  
  5528.  
  5529. ---------------SSL3-MODE-1-ATTACKS-END-------------------------
  5530.  
  5531. --------------SSL3-WEAPONS-START-------------------------------
  5532. function ssl3()
  5533.  
  5534. --[[for i=0.1, 1, 0.1 do
  5535. print("anim1")
  5536. 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)
  5537. 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)
  5538. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  5539. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  5540. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  5541. end
  5542. wait(1)
  5543. 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)))
  5544. 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)))
  5545. 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))
  5546. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  5547. 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)))
  5548. 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)))
  5549.  
  5550. colc = math.random(1,7)
  5551. local fx = Instance.new("Part",torso)
  5552. fx.Anchored = true
  5553. fx.Material = "Neon"
  5554. fx.CanCollide = false
  5555. fx.Locked = true
  5556. fx.Transparency = 1
  5557. fx.Material = "Neon"
  5558. fx.Size = Vector3.new(1,1,1)
  5559. fx.TopSurface = "SmoothNoOutlines"
  5560. fx.BottomSurface = "SmoothNoOutlines"
  5561. fx.BrickColor = Neonsc[colc]
  5562. fxm = Instance.new("SpecialMesh",fx)
  5563. fxm.MeshType = "Sphere"
  5564. fxm.Scale = Vector3.new(1,1,1)
  5565.  
  5566. for i = 1, 20 do
  5567. colc = math.random(1,7)
  5568. fx.BrickColor = Neonsc[colc]
  5569. fx.Transparency = fx.Transparency - (1/20)
  5570. fx.CFrame = torso.CFrame
  5571. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5572. wait(0.0000001)
  5573. end
  5574.  
  5575.  
  5576. if char.Hair ~= nil then
  5577. for i,v in pairs(char:children()) do
  5578. if v == char.Hair then
  5579. v:Destroy()
  5580. break
  5581. end
  5582. end
  5583. end
  5584. for i = 1, 20 do wait(0.0000001)
  5585. colc = math.random(1,7)
  5586. fx.BrickColor = Neonsc[colc]
  5587. fx.Transparency = fx.Transparency + (1/20)
  5588. fx.CFrame = torso.CFrame
  5589. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5590. end]]
  5591.  
  5592. local num = 0
  5593. for i=0,1,0.1 do
  5594. swait()
  5595. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.3,0.5,0.2)*euler(3.4,0,0),.3)
  5596. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(0,0,0),.3)
  5597. end
  5598. for i=0,1,0.1 do
  5599. swait()
  5600. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  5601. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.3,0,0),.3)
  5602. 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)
  5603. end
  5604. for i=0.1, 1, 0.1 do
  5605. 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)
  5606. 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)
  5607. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  5608. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3)
  5609. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3)
  5610. end
  5611. num=0
  5612. for i=0,1,0.01 do
  5613. swait()
  5614. if num>=10 then
  5615. num=0
  5616. colc = math.random(1, 7)
  5617. 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)
  5618. end
  5619. for i=1,2 do
  5620. if math.random(1,5)==1 then
  5621. colc = math.random(1, 7)
  5622. --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)
  5623. else
  5624. colc = math.random(1, 7)
  5625. --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)
  5626. end
  5627. end
  5628. num=num+1
  5629. end
  5630. for i=1,4 do
  5631. colc = math.random(1, 7)
  5632. --MagicBlock(Neonsc[colc],RightArm.CFrame*cf(0,-.5-math.random(0,500)/100,0),2,2,2,.5,.5,.5,0.05)
  5633. end
  5634. colc = math.random(1, 7)
  5635. 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)
  5636. --[[model2.Parent=Character
  5637. for i=1,#DBlade do
  5638. DBlade[i].Parent=model2
  5639. DBladeWelds[i].Parent=DBlade[1]
  5640. end]]
  5641. for i=0,1,0.1 do
  5642. swait()
  5643. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-0.4),.3)
  5644. rarm.Weld.C0=clerp(rarm.Weld.C0,cf(1.5,0.5,0)*euler(1.2,-0.5,1),.3)
  5645. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(1.4,0.5,-1.3),.3)
  5646. end
  5647. swait(10)
  5648. colc = math.random(1,7)
  5649. local fx = Instance.new("Part",torso)
  5650. fx.Anchored = true
  5651. fx.Material = "Neon"
  5652. fx.CanCollide = false
  5653. fx.Locked = true
  5654. fx.Transparency = 1
  5655. fx.Material = "Neon"
  5656. fx.Size = Vector3.new(1,1,1)
  5657. fx.TopSurface = "SmoothNoOutlines"
  5658. fx.BottomSurface = "SmoothNoOutlines"
  5659. fx.BrickColor = Neonsc[colc]
  5660. fxm = Instance.new("SpecialMesh",fx)
  5661. fxm.MeshType = "Sphere"
  5662. fxm.Scale = Vector3.new(1,1,1)
  5663.  
  5664. for i = 1, 20 do
  5665. colc = math.random(1,7)
  5666. fx.BrickColor = Neonsc[colc]
  5667. fx.Transparency = fx.Transparency - (1/20)
  5668. fx.CFrame = torso.CFrame
  5669. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5670. wait(0.0000000001)
  5671. end
  5672.  
  5673.  
  5674. if char.Hair ~= nil then
  5675. for i,v in pairs(char:children()) do
  5676. if v == char.Hair then
  5677. v:Destroy()
  5678. break
  5679. end
  5680. end
  5681. end
  5682. for i = 1, 20 do wait(0.0000001)
  5683. colc = math.random(1,7)
  5684. fx.BrickColor = Neonsc[colc]
  5685. fx.Transparency = fx.Transparency + (1/20)
  5686. fx.CFrame = torso.CFrame
  5687. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  5688. end
  5689. end
  5690.  
  5691. function ssl3Appear()
  5692.  
  5693. if myVars[5] == "ssl3_1" then
  5694. print("ssl3RAN")
  5695.  
  5696. function part_1(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  5697. local fp=it("Part")
  5698. fp.formFactor=formfactor
  5699. fp.Parent=parent
  5700. fp.Reflectance=reflectance
  5701. fp.Transparency=1
  5702. fp.CanCollide=false
  5703. fp.Locked=true
  5704. fp.BrickColor=brickcolor
  5705. fp.Name=name
  5706. fp.Size=size
  5707. fp.Position=Torso.Position
  5708. NoOutline(fp)
  5709. fp.Material="Neon"
  5710. fp:BreakJoints()
  5711. return fp
  5712. end
  5713.  
  5714. function mesh_1(Mesh,part,meshtype,meshid,offset,scale)
  5715. local mesh=it(Mesh)
  5716. mesh.Parent=part
  5717. if Mesh=="SpecialMesh" then
  5718. mesh.MeshType=meshtype
  5719. mesh.MeshId=meshid
  5720. end
  5721. mesh.Offset=offset
  5722. mesh.Scale=scale
  5723. return mesh
  5724. end
  5725.  
  5726. function weld_1(parent,part0,part1,c0)
  5727. local weld=it("Weld")
  5728. weld.Parent=parent
  5729. weld.Part0=part0
  5730. weld.Part1=part1
  5731. weld.C0=c0
  5732. return weld
  5733. end
  5734. local model2=Instance.new("Model")
  5735. model2.Parent=nil
  5736. model2.Name="Demon Blade"
  5737. DBlade={}
  5738. DBladeWelds={}
  5739.  
  5740. colc = math.random(1, 7)
  5741. prtd1=part_1(3,model2,0,0.4,Neons[colc],"DPart1",vt())
  5742. colc = math.random(1, 7)
  5743. prtd2=part_1(3,model2,0,0,Neons[colc],"DPart2",vt())
  5744. prtd3=part_1(3,model2,0,0,Neons[colc],"DPart3",vt())
  5745. colc = math.random(1, 7)
  5746. prtd4=part_1(3,model2,0,0,Neons[colc],"DPart4",vt())
  5747. prtd5=part_1(3,model2,0,0,Neons[colc],"DPart5",vt())
  5748. colc = math.random(1, 7)
  5749. prtd6=part_1(3,model2,0,0,Neons[colc],"DPart6",vt())
  5750. prtd7=part_1(3,model2,0.8,0,Neons[colc],"DPart7",vt())
  5751. prtd8=part_1(3,model2,0.8,0,Neons[colc],"DPart8",vt())
  5752. colc = math.random(1, 7)
  5753. prtd9=part_1(3,model2,0.5,0.2,Neons[colc],"DPart9",vt())
  5754. prtd10=part_1(3,model2,0.5,0.2,Neons[colc],"DPart10",vt())
  5755. prtd11=part_1(3,model2,0.5,0,Neons[colc],"DPart11",vt())
  5756. colc = math.random(1, 7)
  5757. prtd12=part_1(3,model2,0,0,Neons[colc],"DPart12",vt())
  5758. for _,c in pairs(model2:children()) do
  5759. if c.className=="Part" then
  5760. table.insert(DBlade,c)
  5761. print(c)
  5762. end
  5763. end
  5764.  
  5765.  
  5766.  
  5767. mshd1=mesh_1("BlockMesh",prtd1,"","",vt(0,0,0),vt(5.01,3,5.01))
  5768. mshd2=mesh_1("BlockMesh",prtd2,"","",vt(0,0,0),vt(5.1,3,5.1))
  5769. mshd3=mesh_1("SpecialMesh",prtd3,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  5770. mshd4=mesh_1("SpecialMesh",prtd4,"Wedge","",vt(0,0,0),vt(5.05,4,3))
  5771. mshd5=mesh_1("SpecialMesh",prtd5,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  5772. mshd6=mesh_1("SpecialMesh",prtd6,"Wedge","",vt(0,0,0),vt(5.5,6,6))
  5773. mshd7=mesh_1("BlockMesh",prtd7,"","",vt(0,0,0),vt(3,20,1))
  5774. mshd8=mesh_1("SpecialMesh",prtd8,"Wedge","",vt(0,0,0),vt(1,3,5))
  5775. mshd9=mesh_1("BlockMesh",prtd9,"","",vt(0,0,0),vt(4.5,20,.1))
  5776. mshd10=mesh_1("SpecialMesh",prtd10,"Wedge","",vt(0,0,0),vt(.1,4.5,8))
  5777. mshd11=mesh_1("CylinderMesh",prtd11,"","",vt(0,0,0),vt(4,5.8,4))
  5778. mshd12=mesh_1("CylinderMesh",prtd12,"","",vt(0,0,0),vt(3,5.9,3))
  5779.  
  5780.  
  5781. wldd1=weld_1(prtd1,prtd1,RightArm,euler(0,0,0)*cf(0,.21,0))
  5782. wldd2=weld_1(prtd1,prtd2,prtd1,euler(0,0,0)*cf(0,.5,0))
  5783. wldd3=weld_1(prtd1,prtd3,prtd2,euler(0,1.57,0)*cf(.21,-.6,0))
  5784. wldd4=weld_1(prtd1,prtd4,prtd2,euler(0,-1.57,0)*cf(-.21,-.6,0))
  5785. wldd5=weld_1(prtd1,prtd5,prtd2,euler(0,-1.57,0)*cf(.1,-.1,0))
  5786. wldd6=weld_1(prtd1,prtd6,prtd5,euler(0,0,3.14)*cf(0,1.2,0))
  5787. wldd7=weld_1(prtd1,prtd7,prtd2,euler(0,0,0)*cf(0,2.5,0))
  5788. wldd8=weld_1(prtd1,prtd8,prtd7,euler(1.57,1.57,0)*cf(0,2.5,0))
  5789. wldd9=weld_1(prtd1,prtd9,prtd7,euler(0,0,0)*cf(0,0,0))
  5790. wldd10=weld_1(prtd1,prtd10,prtd8,euler(0,0,0)*cf(0,0,0.3))
  5791. wldd11=weld_1(prtd1,prtd11,prtd1,euler(1.57,0,0)*cf(0,1,0))
  5792. wldd12=weld_1(prtd1,prtd12,prtd11,euler(0,0,0)*cf(0,0,0))
  5793. for _,c in pairs(prtd1:children()) do
  5794. if c.className=="Weld" then
  5795. table.insert(DBladeWelds,c)
  5796. print(c)
  5797. end
  5798. end
  5799.  
  5800. local hitbox2=part_1(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
  5801.  
  5802. model2.Parent=char
  5803. for i=1,#DBlade do
  5804. DBlade[i].Parent=model2
  5805. DBladeWelds[i].Parent=DBlade[1]
  5806. end
  5807. myVars[10] = model2
  5808. myVars[11] = hitbox2
  5809.  
  5810. for i = 1, 10 do wait()
  5811. for i,v in pairs(myVars[10]:GetChildren()) do
  5812. if v:IsA("Part") or v:IsA("WedgePart") then
  5813. if v.Name ~= "HitBox" then
  5814. v.Transparency = v.Transparency - 0.1
  5815. end
  5816. end
  5817. end
  5818. end
  5819. --[[local mei = Instance.new('Model', char)
  5820. mei.Name = "WeaponModel"
  5821.  
  5822. local RbxUtility = LoadLibrary("RbxUtility")
  5823. local Create = RbxUtility.Create
  5824.  
  5825.  
  5826. function RemoveOutlines(part)
  5827. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  5828. end
  5829.  
  5830. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  5831. local Part = Create("Part"){
  5832. Parent = Parent,
  5833. Reflectance = Reflectance,
  5834. Transparency = 1,
  5835. CanCollide = false,
  5836. Locked = true,
  5837. BrickColor = BrickColor.new(tostring(BColor)),
  5838. Name = Name,
  5839. Size = Size,
  5840. Material = Material,
  5841. }
  5842. RemoveOutlines(Part)
  5843. return Part
  5844. end
  5845.  
  5846. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  5847. local Msh = Create(Mesh){
  5848. Parent = Part,
  5849. Offset = OffSet,
  5850. Scale = Scale,
  5851. }
  5852. if Mesh == "SpecialMesh" then
  5853. Msh.MeshType = MeshType
  5854. Msh.MeshId = MeshId
  5855. end
  5856. return Msh
  5857. end
  5858.  
  5859. function CreateWeld(Parent, Part0, Part1, C0, C1)
  5860. local Weld = Create("Weld"){
  5861. Parent = Parent,
  5862. Part0 = Part0,
  5863. Part1 = Part1,
  5864. C0 = C0,
  5865. C1 = C1,
  5866. }
  5867. return Weld
  5868. end
  5869.  
  5870.  
  5871.  
  5872. HandleL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleL", Vector3.new(1, 2, 1.01999998))
  5873. colc = math.random(1,7)
  5874. 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))
  5875. EffectPrt1 = CreatePart(mei, Enum.Material.Neon, 0, 0.30000001192093, "Really black", "EffectPrt1", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  5876. 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))
  5877. CreateMesh("SpecialMesh", EffectPrt1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5878. EffectPrt2 = CreatePart(mei, Enum.Material.Neon, 0.30000001192093, 0, myVars[6][colc], "EffectPrt2", Vector3.new(0.600000024, 0.600000024, 0.400000036))
  5879. colc = math.random(1,7)
  5880. 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))
  5881. 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))
  5882. HitboxL = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxL", Vector3.new(1.20000005, 1.39999998, 1.01999998))
  5883. colc = math.random(1,7)
  5884. 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))
  5885. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5886. colc = math.random(1,7)
  5887. 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))
  5888. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  5889. colc = math.random(1,7)
  5890. 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))
  5891. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  5892. colc = math.random(1,7)
  5893. 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))
  5894. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5895. colc = math.random(1,7)
  5896. 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))
  5897. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 1.20000005, 1.00999999))
  5898. colc = math.random(1,7)
  5899. 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))
  5900. Part = CreatePart(mei, Enum.Material.Neon, 0, 0.19999998807907, "Really black", "Part", Vector3.new(0.400000036, 0.400000036, 0.400000006))
  5901. 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))
  5902. CreateMesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5903. ThunderHoleL = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleL", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  5904. 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))
  5905. CreateMesh("CylinderMesh", ThunderHoleL, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5906. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5907. 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))
  5908. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5909. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5910. 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))
  5911. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5912. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5913. 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))
  5914. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5915. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5916. 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))
  5917. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5918. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 1.80999994, 0.619999945))
  5919. 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))
  5920. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5921. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  5922. 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))
  5923. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5924. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5925. 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))
  5926. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5927. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5928. 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))
  5929. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5930. HandleR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HandleR", Vector3.new(1, 2, 1.01999998))
  5931. colc = math.random(1,7)
  5932. 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))
  5933. Barrel1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel1", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  5934. colc = math.random(1,7)
  5935. 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))
  5936. CreateMesh("SpecialMesh", Barrel1, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5937. Barrel2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Barrel2", Vector3.new(0.600000024, 1.20000005, 0.400000036))
  5938. colc = math.random(1,7)
  5939. 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))
  5940. CreateMesh("SpecialMesh", Barrel2, Enum.MeshType.FileMesh, "rbxassetid://433397018", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5941. Choke1 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke1", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  5942. colc = math.random(1,7)
  5943. 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))
  5944. CreateMesh("SpecialMesh", Choke1, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5945. Choke2 = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "Choke2", Vector3.new(0.600000024, 0.400000006, 0.400000036))
  5946. colc = math.random(1,7)
  5947. 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))
  5948. CreateMesh("SpecialMesh", Choke2, Enum.MeshType.FileMesh, "rbxassetid://433397231", Vector3.new(0, 0, 0), Vector3.new(0.00999999978, 0.00999999978, 0.00999999978))
  5949. HitboxR = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 1, myVars[6][colc], "HitboxR", Vector3.new(1.20000005, 0.99999994, 1.01999998))
  5950. colc = math.random(1,7)
  5951. 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))
  5952. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5953. colc = math.random(1,7)
  5954. 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))
  5955. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.400000006, 0.819999993, 1.01999998))
  5956. colc = math.random(1,7)
  5957. 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))
  5958. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.600000024, 0.200000003, 1.01999998))
  5959. colc = math.random(1,7)
  5960. 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))
  5961. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999996, 2.01999998, 1.01999998))
  5962. colc = math.random(1,7)
  5963. 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))
  5964. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.75, 0.200000003, 0.200000003))
  5965. colc = math.random(1,7)
  5966. 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))
  5967. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.409999967, 0.200000003, 1.01999998))
  5968. colc = math.random(1,7)
  5969. 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))
  5970. Part = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Part", Vector3.new(0.200000003, 0.200000003, 1.01999998))
  5971. colc = math.random(1,7)
  5972. 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))
  5973. ThunderHoleR = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "ThunderHoleR", Vector3.new(0.200000003, 1.05000007, 0.200000003))
  5974. 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))
  5975. CreateMesh("CylinderMesh", ThunderHoleR, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5976. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  5977. 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))
  5978. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5979. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5980. 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))
  5981. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5982. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5983. 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))
  5984. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5985. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  5986. colc = math.random(1,7)
  5987. 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))
  5988. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5989. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.03999996, 1.00999999, 1.01999998))
  5990. colc = math.random(1,7)
  5991. 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))
  5992. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5993. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.600000024, 0.200000003))
  5994. colc = math.random(1,7)
  5995. 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))
  5996. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  5997. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  5998. 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))
  5999. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6000. colc = math.random(1,7)
  6001. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.01999998, 0.200000003, 0.400000006))
  6002. colc = math.random(1,7)
  6003. 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))
  6004. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6005. Wedge = CreatePart(mei, Enum.Material.Neon, 0, 0, "Really black", "Wedge", Vector3.new(0.200000003, 0.800000012, 0.200000003))
  6006. 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))
  6007. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6008. Wedge = CreatePart(mei, Enum.Material.Neon, 0.20000000298023, 0, myVars[6][colc], "Wedge", Vector3.new(1.00999999, 0.410000026, 0.410000026))
  6009. colc = math.random(1,7)
  6010. 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))
  6011. CreateMesh("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6012.  
  6013. myVars[6] = mei
  6014. for i = 1, 10 do wait()
  6015. for i,v in pairs(mei:GetChildren()) do
  6016. if v:IsA("Part") or v:IsA("WedgePart") then
  6017. if v.Name ~= "HitBox" then
  6018. v.Transparency = v.Transparency - 0.1
  6019. end
  6020. end
  6021. end
  6022. end]]
  6023.  
  6024.  
  6025.  
  6026. return true
  6027. elseif myVars[5] == "ssl3" then
  6028.  
  6029. local RbxUtility = LoadLibrary("RbxUtility")
  6030. local Create = RbxUtility.Create
  6031. RemoveOutlines = function(part)
  6032. part.TopSurface = 10
  6033. end
  6034.  
  6035. CFuncs = {
  6036. Part = {new = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  6037. 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})
  6038. RemoveOutlines(Part)
  6039. return Part
  6040. end}
  6041. ,
  6042. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6043. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  6044. if Mesh == "SpecialMesh" then
  6045. Msh.MeshType = MeshType
  6046. Msh.MeshId = MeshId
  6047. end
  6048. return Msh
  6049. end}
  6050. ,
  6051. Mesh = {new = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  6052. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  6053. if Mesh == "SpecialMesh" then
  6054. Msh.MeshType = MeshType
  6055. Msh.MeshId = MeshId
  6056. end
  6057. return Msh
  6058. end}
  6059. ,
  6060. Weld = {new = function(Parent, Part0, Part1, C0, C1)
  6061. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  6062. return Weld
  6063. end}
  6064. }
  6065. myVars[11] = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  6066.  
  6067. colc = math.random(1,7)
  6068. local mei = Instance.new("Model", char)
  6069. mei.Name = "WeaponModel"
  6070. Handleer = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Handle", Vector3.new(1, 2, 1))
  6071. colc = math.random(1,7)
  6072. 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))
  6073. Hitbox = CFuncs.Part.new(mei, Enum.Material.SmoothPlastic, 0, 1, myVars[11][colc], "Hitbox", Vector3.new(1, 0.400000095, 1))
  6074. colc = math.random(1,7)
  6075. 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))
  6076. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.2700001, 0.680000067))
  6077. colc = math.random(1,7)
  6078. 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))
  6079. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  6080. 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))
  6081. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 0.200000003, 0.560000002))
  6082. 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))
  6083. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.229999989, 0.200000003, 0.590000033))
  6084. 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))
  6085. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.200000003, 0.530000091))
  6086. colc = math.random(1,7)
  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.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))
  6088. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.680000186, 0.220000178, 0.280000031))
  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.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))
  6090. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.410000265, 0.530000031, 0.840000033))
  6091. 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))
  6092. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.54000026, 0.630000114, 0.900000036))
  6093. 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))
  6094. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.24000001, 0.919999957, 0.420000017))
  6095. colc = math.random(1,7)
  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.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))
  6097. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.24000001, 1.13, 0.219999999))
  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.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))
  6099. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.870000243, 0.2700001, 0.860000014))
  6100. 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))
  6101. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.62000012, 0.400000095))
  6102. colc = math.random(1,7)
  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.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))
  6104. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.540000081, 0.420000017))
  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.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))
  6106. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.11000013, 0.210000008, 0.530000091))
  6107. 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))
  6108. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0,myVars[11][colc], "Part", Vector3.new(1.21000004, 1.63999999, 0.300000012))
  6109. colc = math.random(1,7)
  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.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))
  6111. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 1.88000023, 0.680000067))
  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.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))
  6113. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.379999936, 0.379999936, 0.379999936))
  6114. 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))
  6115. CFuncs.Mesh.new("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6116. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1, 0.420000017))
  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.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))
  6118. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.79000026, 0.340000153, 0.49000001))
  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.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))
  6120. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.77000022, 0.420000106))
  6121. 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))
  6122. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(1.13000011, 0.329999983, 1.1400001))
  6123. colc = math.random(1,7)
  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.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))
  6125. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.910000026, 0.47999987, 0.580000043))
  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.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))
  6127. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.23000002, 0.340000063, 0.229999989))
  6128. 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))
  6129. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(1.09000015, 0.310000271, 0.530000091))
  6130. 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))
  6131. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.490000248, 0.520000041, 0.420000017))
  6132. 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))
  6133. CFuncs.Mesh.new("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6134. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.200000003, 1.05000007, 0.420000017))
  6135. colc = math.random(1,7)
  6136. 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))
  6137. Part = CFuncs.Part.new(mei, Enum.Material.Metal, 0, 0, myVars[11][colc], "Part", Vector3.new(0.629999995, 2.07999992, 0.899999976))
  6138. 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))
  6139. Part = CFuncs.Part.new(mei, Enum.Material.Neon, 0, 0, myVars[11][colc], "Part", Vector3.new(0.750000298, 0.250000089, 0.74000001))
  6140. 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))
  6141. myVars[6] = mei
  6142. for i = 1, 10 do wait()
  6143. for i,v in pairs(myVars[6]:GetChildren()) do
  6144. if v:IsA("Part") or v:IsA("WedgePart") then
  6145. if v.Name ~= "HitBox" then
  6146. v.Transparency = v.Transparency - 0.1
  6147. end
  6148. end
  6149. end
  6150. end
  6151. end
  6152. end
  6153.  
  6154.  
  6155.  
  6156.  
  6157. function ssl3Vanish()
  6158. if myVars[5] == "ssl3" then
  6159. for i = 1, 10 do wait()
  6160. for i,v in pairs(myVars[6]:GetChildren()) do
  6161. if v:IsA("Part") or v:IsA("WedgePart") then
  6162. if v.Name ~= "HitBox" then
  6163. v.Transparency = v.Transparency + 0.1
  6164. end
  6165. end
  6166. end
  6167. end
  6168. elseif myVars[5] == "ssl3_1" then
  6169. for i = 1, 10 do wait()
  6170. for i,v in pairs(myVars[10]:GetChildren()) do
  6171. if v:IsA("Part") or v:IsA("WedgePart") then
  6172. if v.Name ~= "HitBox" then
  6173. v.Transparency = v.Transparency + 0.1
  6174. end
  6175. end
  6176. end
  6177. end
  6178. end
  6179. end
  6180.  
  6181. --------------SSL3 WEAPONS END-------------------------------
  6182. local iris = nil
  6183. function upgradeSword()
  6184. local colorscheme = {"Gold","New yeller","Really black","Daisy orange","Black"}
  6185. local render = game:GetService("RunService").RenderStepped
  6186. local bltb = {}
  6187.  
  6188. TorsoColor=Torso.BrickColor
  6189.  
  6190.  
  6191.  
  6192.  
  6193.  
  6194. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  6195. local fp=it("Part")
  6196. fp.formFactor=formfactor
  6197. fp.Parent=parent
  6198. fp.Reflectance=reflectance
  6199. fp.Transparency=transparency
  6200. fp.CanCollide=false
  6201. fp.Locked=true
  6202. fp.BrickColor=brickcolor
  6203. fp.Name=name
  6204. fp.Size=size
  6205. fp.Position=Torso.Position
  6206. NoOutline(fp)
  6207. fp.Material="SmoothPlastic"
  6208. fp:BreakJoints()
  6209. return fp
  6210. end
  6211.  
  6212. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  6213. local mesh=it(Mesh)
  6214. mesh.Parent=part
  6215. if Mesh=="SpecialMesh" then
  6216. mesh.MeshType=meshtype
  6217. if meshid~="nil" then
  6218. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  6219. end
  6220. end
  6221. mesh.Offset=offset
  6222. mesh.Scale=scale
  6223. return mesh
  6224. end
  6225.  
  6226. function weld(parent,part0,part1,c0)
  6227. local weld=it("Weld")
  6228. weld.Parent=parent
  6229. weld.Part0=part0
  6230. weld.Part1=part1
  6231. weld.C0=c0
  6232. return weld
  6233. end
  6234.  
  6235.  
  6236. function Rainbow(hue)
  6237. local section = hue % 1 * 3
  6238. local secondary = 0.5 * math.pi * (section % 1)
  6239. if section < 1 then
  6240. return Color3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  6241. elseif section < 2 then
  6242. return Color3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  6243. else
  6244. return Color3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  6245. end
  6246. end
  6247.  
  6248.  
  6249. function UpdatePart(pt,clr)
  6250. pt.BrickColor = BrickColor.new(clr)
  6251. end
  6252.  
  6253. local Color1=Torso.BrickColor
  6254.  
  6255.  
  6256.  
  6257. nooutline = function(part)
  6258. part.TopSurface = 10
  6259. end
  6260.  
  6261.  
  6262. part2 = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  6263. local fp = it("Part")
  6264. fp.formFactor = formfactor
  6265. fp.Parent = parent
  6266. fp.Reflectance = reflectance
  6267. fp.Transparency = transparency
  6268. fp.CanCollide = false
  6269. fp.Locked = true
  6270. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  6271. fp.Name = name
  6272. fp.Size = size
  6273. fp.Position = Character.Torso.Position
  6274. nooutline(fp)
  6275. fp.Material = material
  6276. fp:BreakJoints()
  6277. return fp
  6278. end
  6279. --<----------------------------------S w o r d C r e a t i o n---------------------------------->--
  6280.  
  6281. user=game:service'Players'.localPlayer
  6282. char=user.Character
  6283. mouse=user:GetMouse()
  6284. m=Instance.new('Model',char)
  6285. iris = m
  6286. game:service'Lighting'.Outlines=false
  6287.  
  6288.  
  6289. local Handle = Instance.new("Part", m)
  6290. Handle:BreakJoints()
  6291. Handle.TopSurface = "Smooth"
  6292. Handle.Transparency = 0 Handle.Material = "Neon"
  6293. Handle.Name = 'Handle'
  6294. Handle.BottomSurface = "Smooth"
  6295. Handle.FormFactor = "Custom" Handle.CanCollide = false
  6296. Handle.BrickColor = BrickColor.new("Really black")
  6297. Handle.Size = Vector3.new(0.337107092, 1.12369001, 0.337107033)
  6298. local Handleweld = Instance.new("ManualWeld")
  6299. Handleweld.Part0 = Character["Right Arm"]
  6300. Handleweld.Part1 = Handle Handleweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6301. Handleweld.C1 = CFrame.new(-0.000732421875, -0.0344696045, -0.945665836, -0.999993205, 0, 0, 0, 0, -1, 0, -0.999993086, 0)
  6302. Handleweld.Parent = Character["Right Arm"]
  6303.  
  6304. local HandleMesh = Instance.new("CylinderMesh",Handle)
  6305. HandleMesh.Name = "Mesh"
  6306. HandleMesh.Offset = Vector3.new(0, 0, 0)
  6307. HandleMesh.Scale = Vector3.new(1, 1, 1)
  6308.  
  6309. local Part = Instance.new("Part", m)
  6310. Part:BreakJoints()
  6311. Part.TopSurface = "Smooth"
  6312. Part.Material = "Neon"
  6313. Part.Transparency = 0 Part.Name = 'Part'
  6314. Part.BottomSurface = "Smooth"
  6315. Part.FormFactor = "Custom" Part.CanCollide = false
  6316. Part.BrickColor = BrickColor.new("Really black")
  6317. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6318. local Partweld = Instance.new("ManualWeld")
  6319. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6320. 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)
  6321. Partweld.Parent = Part
  6322. local PartMesh = Instance.new("BlockMesh",Part)
  6323. PartMesh.Name = "Mesh"
  6324. PartMesh.Offset = Vector3.new(0, 0, 0)
  6325. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6326.  
  6327. local Part = Instance.new("Part", m)
  6328. Part:BreakJoints()
  6329. Part.TopSurface = "Smooth"
  6330. Part.Material = "Neon"
  6331. Part.Transparency = 0 Part.Name = 'Part1'
  6332. Part.BottomSurface = "Smooth"
  6333. Part.FormFactor = "Custom" Part.CanCollide = false
  6334. Part.BrickColor = BrickColor.new("Cyan")
  6335. Part.Size = Vector3.new(0.337107092, 0.224738032, 0.337107033)
  6336. local Partweld = Instance.new("ManualWeld")
  6337. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6338. Partweld.C1 = CFrame.new(-4.00543213e-005, 0.674224854, -1.33514404e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6339. Partweld.Parent = Part
  6340. local PartMesh = Instance.new("SpecialMesh",Part)
  6341. PartMesh.MeshId = ""
  6342. PartMesh.MeshType = Enum.MeshType.Sphere PartMesh.Name = "Mesh"
  6343. PartMesh.Offset = Vector3.new(0, 0, 0)
  6344. PartMesh.Scale = Vector3.new(1, 1, 1)
  6345.  
  6346. table.insert(bltb, Part)
  6347.  
  6348. local Part = Instance.new("Part", m)
  6349. Part:BreakJoints()
  6350. Part.TopSurface = "Smooth"
  6351. Part.Material = "Neon"
  6352. Part.Transparency = 0 Part.Name = 'Part'
  6353. Part.BottomSurface = "Smooth"
  6354. Part.FormFactor = "Custom" Part.CanCollide = false
  6355. Part.BrickColor = BrickColor.new("Really black")
  6356. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6357. local Partweld = Instance.new("ManualWeld")
  6358. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6359. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6360. Partweld.Parent = Part
  6361. local PartMesh = Instance.new("CylinderMesh",Part)
  6362. PartMesh.Name = "Mesh"
  6363. PartMesh.Offset = Vector3.new(0, 0, 0)
  6364. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6365.  
  6366.  
  6367.  
  6368. local Part = Instance.new("Part", m)
  6369. Part:BreakJoints()
  6370. Part.TopSurface = "Smooth"
  6371. Part.Material = "Neon"
  6372. Part.Transparency = 0 Part.Name = 'Part'
  6373. Part.BottomSurface = "Smooth"
  6374. Part.FormFactor = "Custom" Part.CanCollide = false
  6375. Part.BrickColor = BrickColor.new("Really black")
  6376. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6377. local Partweld = Instance.new("ManualWeld")
  6378. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6379. Partweld.C1 = CFrame.new(0, -0.730434418, 7.62939453e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6380. Partweld.Parent = Part
  6381. local PartMesh = Instance.new("CylinderMesh",Part)
  6382. PartMesh.Name = "Mesh"
  6383. PartMesh.Offset = Vector3.new(0, 0, 0)
  6384. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6385.  
  6386. local Part = Instance.new("Part", m)
  6387. Part:BreakJoints()
  6388. Part.TopSurface = "Smooth"
  6389. Part.Material = "Neon"
  6390. Part.Transparency = 0 Part.Name = 'Part2'
  6391. Part.BottomSurface = "Smooth"
  6392. Part.FormFactor = "Custom" Part.CanCollide = false
  6393. Part.BrickColor = BrickColor.new("Cyan")
  6394. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6395. local Partweld = Instance.new("ManualWeld")
  6396. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6397. Partweld.C1 = CFrame.new(0, -0.955184937, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6398. Partweld.Parent = Part
  6399. local PartMesh = Instance.new("CylinderMesh",Part)
  6400. PartMesh.Name = "Mesh"
  6401. PartMesh.Offset = Vector3.new(0, 0, 0)
  6402. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6403.  
  6404. table.insert(bltb, Part)
  6405.  
  6406. local Part = Instance.new("Part", m)
  6407. Part:BreakJoints()
  6408. Part.TopSurface = "Smooth"
  6409. Part.Material = "Neon"
  6410. Part.Transparency = 0 Part.Name = 'Part'
  6411. Part.BottomSurface = "Smooth"
  6412. Part.FormFactor = "Custom" Part.CanCollide = false
  6413. Part.BrickColor = BrickColor.new("Really black")
  6414. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6415. local Partweld = Instance.new("ManualWeld")
  6416. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6417. 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)
  6418. Partweld.Parent = Part
  6419. local PartMesh = Instance.new("BlockMesh",Part)
  6420. PartMesh.Name = "Mesh"
  6421. PartMesh.Offset = Vector3.new(0, 0, 0)
  6422. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6423.  
  6424. local Part = Instance.new("Part", m)
  6425. Part:BreakJoints()
  6426. Part.TopSurface = "Smooth"
  6427. Part.Material = "Neon"
  6428. Part.Transparency = 0 Part.Name = 'Part'
  6429. Part.BottomSurface = "Smooth"
  6430. Part.FormFactor = "Custom" Part.CanCollide = false
  6431. Part.BrickColor = BrickColor.new("Really black")
  6432. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6433. local Partweld = Instance.new("ManualWeld")
  6434. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6435. Partweld.C1 = CFrame.new(0.597281575, -0.842823029, -0.00578403473, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  6436. Partweld.Parent = Part
  6437. local PartMesh = Instance.new("BlockMesh",Part)
  6438. PartMesh.Name = "Mesh"
  6439. PartMesh.Offset = Vector3.new(0, 0, 0)
  6440. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6441.  
  6442. local Part = Instance.new("Part", m)
  6443. Part:BreakJoints()
  6444. Part.TopSurface = "Smooth"
  6445. Part.Material = "Neon"
  6446. Part.Transparency = 0.5 Part.Name = 'Part3'
  6447. Part.BottomSurface = "Smooth"
  6448. Part.FormFactor = "Custom" Part.CanCollide = false
  6449. Part.BrickColor = BrickColor.new("Cyan")
  6450. Part.Size = Vector3.new(0.200000003, 4.62046242, 0.449476063)
  6451. local Partweld = Instance.new("ManualWeld")
  6452. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6453. Partweld.C1 = CFrame.new(3.24249268e-005, -3.32155609, -4.76837158e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6454. Partweld.Parent = Part
  6455. local PartMesh = Instance.new("BlockMesh",Part)
  6456. PartMesh.Name = "Mesh"
  6457. PartMesh.Offset = Vector3.new(0, 0, 0)
  6458. PartMesh.Scale = Vector3.new(0.230356485, 1, 1)
  6459.  
  6460. table.insert(bltb, Part)
  6461.  
  6462. local Part = Instance.new("Part", m)
  6463. Part:BreakJoints()
  6464. Part.TopSurface = "Smooth"
  6465. Part.Material = "Neon"
  6466. Part.Transparency = 0 Part.Name = 'Part'
  6467. Part.BottomSurface = "Smooth"
  6468. Part.FormFactor = "Custom" Part.CanCollide = false
  6469. Part.BrickColor = BrickColor.new("Really black")
  6470. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6471. local Partweld = Instance.new("ManualWeld")
  6472. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6473. Partweld.C1 = CFrame.new(0.597218513, -0.842823029, 0.00602054596, 0.258815646, 0, 0.9659127, 0, 1, 0, -0.9659127, 0, 0.258815646)
  6474. Partweld.Parent = Part
  6475. local PartMesh = Instance.new("BlockMesh",Part)
  6476. PartMesh.Name = "Mesh"
  6477. PartMesh.Offset = Vector3.new(0, 0, 0)
  6478. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6479.  
  6480. local Part = Instance.new("Part", m)
  6481. Part:BreakJoints()
  6482. Part.TopSurface = "Smooth"
  6483. Part.Material = "Neon"
  6484. Part.Transparency = 0 Part.Name = 'Part4'
  6485. Part.BottomSurface = "Smooth"
  6486. Part.FormFactor = "Custom" Part.CanCollide = false
  6487. Part.BrickColor = BrickColor.new("Cyan")
  6488. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  6489. local Partweld = Instance.new("ManualWeld")
  6490. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6491. Partweld.C1 = CFrame.new(0, 0, -0.123583317, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6492. Partweld.Parent = Part
  6493. local PartMesh = Instance.new("CylinderMesh",Part)
  6494. PartMesh.Name = "Mesh"
  6495. PartMesh.Offset = Vector3.new(0, 0, 0)
  6496. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  6497.  
  6498. table.insert(bltb, Part)
  6499.  
  6500. local Part = Instance.new("Part", m)
  6501. Part:BreakJoints()
  6502. Part.TopSurface = "Smooth"
  6503. Part.Material = "Neon"
  6504. Part.Transparency = 0 Part.Name = 'Part'
  6505. Part.BottomSurface = "Smooth"
  6506. Part.FormFactor = "Custom" Part.CanCollide = false
  6507. Part.BrickColor = BrickColor.new("Really black")
  6508. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6509. local Partweld = Instance.new("ManualWeld")
  6510. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6511. 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)
  6512. Partweld.Parent = Part
  6513. local PartMesh = Instance.new("BlockMesh",Part)
  6514. PartMesh.Name = "Mesh"
  6515. PartMesh.Offset = Vector3.new(0, 0, 0)
  6516. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6517.  
  6518. local Part = Instance.new("Part", m)
  6519. Part:BreakJoints()
  6520. Part.TopSurface = "Smooth"
  6521. Part.Material = "Neon"
  6522. Part.Transparency = 0 Part.Name = 'Part5'
  6523. Part.BottomSurface = "Smooth"
  6524. Part.FormFactor = "Custom" Part.CanCollide = false
  6525. Part.BrickColor = BrickColor.new("Cyan")
  6526. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6527. local Partweld = Instance.new("ManualWeld")
  6528. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6529. Partweld.C1 = CFrame.new(0, -0.842823029, -0.230328798, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6530. Partweld.Parent = Part
  6531. local PartMesh = Instance.new("CylinderMesh",Part)
  6532. PartMesh.Name = "Mesh"
  6533. PartMesh.Offset = Vector3.new(0, 0, 0)
  6534. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6535.  
  6536. table.insert(bltb, Part)
  6537.  
  6538. local Part = Instance.new("Part", m)
  6539. Part:BreakJoints()
  6540. Part.TopSurface = "Smooth"
  6541. Part.Material = "Neon"
  6542. Part.Transparency = 0 Part.Name = 'Part6'
  6543. Part.BottomSurface = "Smooth"
  6544. Part.FormFactor = "Custom" Part.CanCollide = false
  6545. Part.BrickColor = BrickColor.new("Cyan")
  6546. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  6547. local Partweld = Instance.new("ManualWeld")
  6548. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6549. Partweld.C1 = CFrame.new(0, -0.618034363, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6550. Partweld.Parent = Part
  6551. local PartMesh = Instance.new("CylinderMesh",Part)
  6552. PartMesh.Name = "Mesh"
  6553. PartMesh.Offset = Vector3.new(0, 0, 0)
  6554. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6555.  
  6556. table.insert(bltb, Part)
  6557.  
  6558. local Part = Instance.new("Part", m)
  6559. Part:BreakJoints()
  6560. Part.TopSurface = "Smooth"
  6561. Part.Material = "Neon"
  6562. Part.Transparency = 0 Part.Name = 'Part'
  6563. Part.BottomSurface = "Smooth"
  6564. Part.FormFactor = "Custom" Part.CanCollide = false
  6565. Part.BrickColor = BrickColor.new("Really black")
  6566. Part.Size = Vector3.new(0.200000003, 4.60922527, 0.224738017)
  6567. local Partweld = Instance.new("ManualWeld")
  6568. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6569. Partweld.C1 = CFrame.new(0, -3.3159256, -1.14440918e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6570. Partweld.Parent = Part
  6571. local PartMesh = Instance.new("BlockMesh",Part)
  6572. PartMesh.Name = "Mesh"
  6573. PartMesh.Offset = Vector3.new(0, 0, 0)
  6574. PartMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6575.  
  6576. local Part = Instance.new("Part", m)
  6577. Part:BreakJoints()
  6578. Part.TopSurface = "Smooth"
  6579. Part.Material = "Neon"
  6580. Part.Transparency = 0 Part.Name = 'Part7'
  6581. Part.BottomSurface = "Smooth"
  6582. Part.FormFactor = "Custom" Part.CanCollide = false
  6583. Part.BrickColor = BrickColor.new("Cyan")
  6584. Part.Size = Vector3.new(0.337107092, 0.200000003, 0.337107033)
  6585. local Partweld = Instance.new("ManualWeld")
  6586. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6587. Partweld.C1 = CFrame.new(0, 0.618049622, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6588. Partweld.Parent = Part
  6589. local PartMesh = Instance.new("CylinderMesh",Part)
  6590. PartMesh.Name = "Mesh"
  6591. PartMesh.Offset = Vector3.new(0, 0, 0)
  6592. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6593.  
  6594. table.insert(bltb, Part)
  6595.  
  6596. local Part = Instance.new("Part", m)
  6597. Part:BreakJoints()
  6598. Part.TopSurface = "Smooth"
  6599. Part.Material = "Neon"
  6600. Part.Transparency = 0 Part.Name = 'Part8'
  6601. Part.BottomSurface = "Smooth"
  6602. Part.FormFactor = "Custom" Part.CanCollide = false
  6603. Part.BrickColor = BrickColor.new("Cyan")
  6604. Part.Size = Vector3.new(0.337107092, 1.12369001, 0.200000003)
  6605. local Partweld = Instance.new("ManualWeld")
  6606. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6607. Partweld.C1 = CFrame.new(0, 0, 0.117978811, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6608. Partweld.Parent = Part
  6609. local PartMesh = Instance.new("CylinderMesh",Part)
  6610. PartMesh.Name = "Mesh"
  6611. PartMesh.Offset = Vector3.new(0, 0, 0)
  6612. PartMesh.Scale = Vector3.new(1, 1, 0.561845064)
  6613.  
  6614. table.insert(bltb, Part)
  6615.  
  6616. local Part = Instance.new("Part", m)
  6617. Part:BreakJoints()
  6618. Part.TopSurface = "Smooth"
  6619. Part.Material = "Neon"
  6620. Part.Transparency = 0 Part.Name = 'Part'
  6621. Part.BottomSurface = "Smooth"
  6622. Part.FormFactor = "Custom" Part.CanCollide = false
  6623. Part.BrickColor = BrickColor.new("Really black")
  6624. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.561845005)
  6625. local Partweld = Instance.new("ManualWeld")
  6626. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6627. Partweld.C1 = CFrame.new(0, -0.842823029, 9.53674316e-006, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6628. Partweld.Parent = Part
  6629. local PartMesh = Instance.new("CylinderMesh",Part)
  6630. PartMesh.Name = "Mesh"
  6631. PartMesh.Offset = Vector3.new(0, 0, 0)
  6632. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6633.  
  6634. local Part = Instance.new("Part", m)
  6635. Part:BreakJoints()
  6636. Part.TopSurface = "Smooth"
  6637. Part.Material = "Neon"
  6638. Part.Transparency = 0 Part.Name = 'Part9'
  6639. Part.BottomSurface = "Smooth"
  6640. Part.FormFactor = "Custom" Part.CanCollide = false
  6641. Part.BrickColor = BrickColor.new("Cyan")
  6642. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6643. local Partweld = Instance.new("ManualWeld")
  6644. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6645. 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)
  6646. Partweld.Parent = Part
  6647. local PartMesh = Instance.new("BlockMesh",Part)
  6648. PartMesh.Name = "Mesh"
  6649. PartMesh.Offset = Vector3.new(0, 0, 0)
  6650. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6651.  
  6652. table.insert(bltb, Part)
  6653.  
  6654. local Part = Instance.new("Part", m)
  6655. Part:BreakJoints()
  6656. Part.TopSurface = "Smooth"
  6657. Part.Material = "Neon"
  6658. Part.Transparency = 0 Part.Name = 'Part'
  6659. Part.BottomSurface = "Smooth"
  6660. Part.FormFactor = "Custom" Part.CanCollide = false
  6661. Part.BrickColor = BrickColor.new("Really black")
  6662. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6663. local Partweld = Instance.new("ManualWeld")
  6664. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6665. 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)
  6666. Partweld.Parent = Part
  6667. local PartMesh = Instance.new("BlockMesh",Part)
  6668. PartMesh.Name = "Mesh"
  6669. PartMesh.Offset = Vector3.new(0, 0, 0)
  6670. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6671.  
  6672. local Part = Instance.new("Part", m)
  6673. Part:BreakJoints()
  6674. Part.TopSurface = "Smooth"
  6675. Part.Material = "Neon"
  6676. Part.Transparency = 0 Part.Name = 'Part'
  6677. Part.BottomSurface = "Smooth"
  6678. Part.FormFactor = "Custom" Part.CanCollide = false
  6679. Part.BrickColor = BrickColor.new("Really black")
  6680. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6681. local Partweld = Instance.new("ManualWeld")
  6682. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6683. 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)
  6684. Partweld.Parent = Part
  6685. local PartMesh = Instance.new("BlockMesh",Part)
  6686. PartMesh.Name = "Mesh"
  6687. PartMesh.Offset = Vector3.new(0, 0, 0)
  6688. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6689.  
  6690. local Part = Instance.new("Part", m)
  6691. Part:BreakJoints()
  6692. Part.TopSurface = "Smooth"
  6693. Part.Material = "Neon"
  6694. Part.Transparency = 0 Part.Name = 'Part'
  6695. Part.BottomSurface = "Smooth"
  6696. Part.FormFactor = "Custom" Part.CanCollide = false
  6697. Part.BrickColor = BrickColor.new("Really black")
  6698. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.337107062)
  6699. local Partweld = Instance.new("ManualWeld")
  6700. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6701. Partweld.C1 = CFrame.new(0, -0.842823029, -0.393235803, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6702. Partweld.Parent = Part
  6703. local PartMesh = Instance.new("BlockMesh",Part)
  6704. PartMesh.Name = "Mesh"
  6705. PartMesh.Offset = Vector3.new(0, 0, 0)
  6706. PartMesh.Scale = Vector3.new(0.561845124, 0.561845064, 1)
  6707.  
  6708. local Part = Instance.new("Part", m)
  6709. Part:BreakJoints()
  6710. Part.TopSurface = "Smooth"
  6711. Part.Material = "Neon"
  6712. Part.Transparency = 0 Part.Name = 'Part10'
  6713. Part.BottomSurface = "Smooth"
  6714. Part.FormFactor = "Custom" Part.CanCollide = false
  6715. Part.BrickColor = BrickColor.new("Cyan")
  6716. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6717. local Partweld = Instance.new("ManualWeld")
  6718. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6719. 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)
  6720. Partweld.Parent = Part
  6721. local PartMesh = Instance.new("BlockMesh",Part)
  6722. PartMesh.Name = "Mesh"
  6723. PartMesh.Offset = Vector3.new(0, 0, 0)
  6724. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6725.  
  6726. table.insert(bltb, Part)
  6727.  
  6728. local Part = Instance.new("Part", m)
  6729. Part:BreakJoints()
  6730. Part.TopSurface = "Smooth"
  6731. Part.Material = "Neon"
  6732. Part.Transparency = 0 Part.Name = 'Part11'
  6733. Part.BottomSurface = "Smooth"
  6734. Part.FormFactor = "Custom" Part.CanCollide = false
  6735. Part.BrickColor = BrickColor.new("Cyan")
  6736. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6737. local Partweld = Instance.new("ManualWeld")
  6738. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6739. Partweld.C1 = CFrame.new(0, -0.730434418, 0.174170732, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6740. Partweld.Parent = Part
  6741. local PartMesh = Instance.new("CylinderMesh",Part)
  6742. PartMesh.Name = "Mesh"
  6743. PartMesh.Offset = Vector3.new(0, 0, 0)
  6744. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6745.  
  6746. table.insert(bltb, Part)
  6747.  
  6748. local Part = Instance.new("Part", m)
  6749. Part:BreakJoints()
  6750. Part.TopSurface = "Smooth"
  6751. Part.Material = "Neon"
  6752. Part.Transparency = 0 Part.Name = 'Part12'
  6753. Part.BottomSurface = "Smooth"
  6754. Part.FormFactor = "Custom" Part.CanCollide = false
  6755. Part.BrickColor = BrickColor.new("Cyan")
  6756. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6757. local Partweld = Instance.new("ManualWeld")
  6758. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6759. Partweld.C1 = CFrame.new(-0.59340477, -0.842823029, 0.00790405273, -0.258815557, 0, -0.9659127, 0, 1, 0, 0.9659127, 0, -0.258815557)
  6760. Partweld.Parent = Part
  6761. local PartMesh = Instance.new("BlockMesh",Part)
  6762. PartMesh.Name = "Mesh"
  6763. PartMesh.Offset = Vector3.new(0, 0, 0)
  6764. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6765.  
  6766. table.insert(bltb, Part)
  6767.  
  6768. local Part = Instance.new("Part", m)
  6769. Part:BreakJoints()
  6770. Part.TopSurface = "Smooth"
  6771. Part.Material = "Neon"
  6772. Part.Transparency = 0 Part.Name = 'Part13'
  6773. Part.BottomSurface = "Smooth"
  6774. Part.FormFactor = "Custom" Part.CanCollide = false
  6775. Part.BrickColor = BrickColor.new("Cyan")
  6776. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.382054657)
  6777. local Partweld = Instance.new("ManualWeld")
  6778. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6779. 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)
  6780. Partweld.Parent = Part
  6781. local PartMesh = Instance.new("BlockMesh",Part)
  6782. PartMesh.Name = "Mesh"
  6783. PartMesh.Offset = Vector3.new(0, 0, 0)
  6784. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  6785.  
  6786. table.insert(bltb, Part)
  6787.  
  6788. local Part = Instance.new("Part", m)
  6789. Part:BreakJoints()
  6790. Part.TopSurface = "Smooth"
  6791. Part.Material = "Neon"
  6792. Part.Transparency = 0 Part.Name = 'Part14'
  6793. Part.BottomSurface = "Smooth"
  6794. Part.FormFactor = "Custom" Part.CanCollide = false
  6795. Part.BrickColor = BrickColor.new("Cyan")
  6796. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.348343939)
  6797. local Partweld = Instance.new("ManualWeld")
  6798. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6799. Partweld.C1 = CFrame.new(0.598263144, -0.842823029, 0.00432395935, -0.258815438, 0, 0.965912819, 0, 1, 0, -0.965912819, 0, -0.258815438)
  6800. Partweld.Parent = Part
  6801. local PartMesh = Instance.new("BlockMesh",Part)
  6802. PartMesh.Name = "Mesh"
  6803. PartMesh.Offset = Vector3.new(0, 0, 0)
  6804. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 0.922500014)
  6805.  
  6806. table.insert(bltb, Part)
  6807.  
  6808. local Part = Instance.new("Part", m)
  6809. Part:BreakJoints()
  6810. Part.TopSurface = "Smooth"
  6811. Part.Material = "Neon"
  6812. Part.Transparency = 0 Part.Name = 'Part15'
  6813. Part.BottomSurface = "Smooth"
  6814. Part.FormFactor = "Custom" Part.CanCollide = false
  6815. Part.BrickColor = BrickColor.new("Cyan")
  6816. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.449476063)
  6817. local Partweld = Instance.new("ManualWeld")
  6818. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6819. Partweld.C1 = CFrame.new(0, -0.842823029, 0.398794174, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6820. Partweld.Parent = Part
  6821. local PartMesh = Instance.new("BlockMesh",Part)
  6822. PartMesh.Name = "Mesh"
  6823. PartMesh.Offset = Vector3.new(0, 0, 0)
  6824. PartMesh.Scale = Vector3.new(0.230356485, 0.618029416, 1)
  6825.  
  6826. table.insert(bltb, Part)
  6827.  
  6828. local Part = Instance.new("Part", m)
  6829. Part:BreakJoints()
  6830. Part.TopSurface = "Smooth"
  6831. Part.Material = "Neon"
  6832. Part.Transparency = 0 Part.Name = 'Part16'
  6833. Part.BottomSurface = "Smooth"
  6834. Part.FormFactor = "Custom" Part.CanCollide = false
  6835. Part.BrickColor = BrickColor.new("Cyan")
  6836. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6837. local Partweld = Instance.new("ManualWeld")
  6838. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6839. Partweld.C1 = CFrame.new(0, -0.955184937, 0.174145699, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6840. Partweld.Parent = Part
  6841. local PartMesh = Instance.new("CylinderMesh",Part)
  6842. PartMesh.Name = "Mesh"
  6843. PartMesh.Offset = Vector3.new(0, 0, 0)
  6844. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6845.  
  6846. table.insert(bltb, Part)
  6847.  
  6848. local Part = Instance.new("Part", m)
  6849. Part:BreakJoints()
  6850. Part.TopSurface = "Smooth"
  6851. Part.Material = "Neon"
  6852. Part.Transparency = 0.5 Part.Name = 'Part17'
  6853. Part.BottomSurface = "Smooth"
  6854. Part.FormFactor = "Custom" Part.CanCollide = false
  6855. Part.BrickColor = BrickColor.new("Cyan")
  6856. Part.Size = Vector3.new(0.200000003, 1.01132107, 0.449476063)
  6857. local Partweld = Instance.new("ManualWeld")
  6858. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6859. 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)
  6860. Partweld.Parent = Part
  6861. local PartMesh = Instance.new("SpecialMesh",Part)
  6862. PartMesh.MeshId = ""
  6863. PartMesh.MeshType = Enum.MeshType.Wedge PartMesh.Name = "Mesh"
  6864. PartMesh.Offset = Vector3.new(0, 0, 0)
  6865. PartMesh.Scale = Vector3.new(0.221366972, 1, 1)
  6866.  
  6867. table.insert(bltb, Part)
  6868.  
  6869. local Part = Instance.new("Part", m)
  6870. Part:BreakJoints()
  6871. Part.TopSurface = "Smooth"
  6872. Part.Material = "Neon"
  6873. Part.Transparency = 0 Part.Name = 'Part'
  6874. Part.BottomSurface = "Smooth"
  6875. Part.FormFactor = "Custom" Part.CanCollide = false
  6876. Part.BrickColor = BrickColor.new("Really black")
  6877. Part.Size = Vector3.new(0.561845124, 0.200000003, 0.449476033)
  6878. local Partweld = Instance.new("ManualWeld")
  6879. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6880. Partweld.C1 = CFrame.new(0, -0.955184937, -2.38418579e-007, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6881. Partweld.Parent = Part
  6882. local PartMesh = Instance.new("CylinderMesh",Part)
  6883. PartMesh.Name = "Mesh"
  6884. PartMesh.Offset = Vector3.new(0, 0, 0)
  6885. PartMesh.Scale = Vector3.new(1, 0.561845064, 1)
  6886.  
  6887. local Part = Instance.new("Part", m)
  6888. Part:BreakJoints()
  6889. Part.TopSurface = "Smooth"
  6890. Part.Material = "Neon"
  6891. Part.Transparency = 0 Part.Name = 'Part18'
  6892. Part.BottomSurface = "Smooth"
  6893. Part.FormFactor = "Custom" Part.CanCollide = false
  6894. Part.BrickColor = BrickColor.new("Cyan")
  6895. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6896. local Partweld = Instance.new("ManualWeld")
  6897. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6898. Partweld.C1 = CFrame.new(0, -0.842823029, 0.230348349, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6899. Partweld.Parent = Part
  6900. local PartMesh = Instance.new("CylinderMesh",Part)
  6901. PartMesh.Name = "Mesh"
  6902. PartMesh.Offset = Vector3.new(0, 0, 0)
  6903. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6904.  
  6905. table.insert(bltb, Part)
  6906.  
  6907. local Part = Instance.new("Part", m)
  6908. Part:BreakJoints()
  6909. Part.TopSurface = "Smooth"
  6910. Part.Material = "Neon"
  6911. Part.Transparency = 0 Part.Name = 'Part19'
  6912. Part.BottomSurface = "Smooth"
  6913. Part.FormFactor = "Custom" Part.CanCollide = false
  6914. Part.BrickColor = BrickColor.new("Cyan")
  6915. Part.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  6916. local Partweld = Instance.new("ManualWeld")
  6917. Partweld.Part0 = Handle Partweld.Part1 = Part Partweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6918. Partweld.C1 = CFrame.new(0, -0.730434418, -0.179762959, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6919. Partweld.Parent = Part
  6920. local PartMesh = Instance.new("CylinderMesh",Part)
  6921. PartMesh.Name = "Mesh"
  6922. PartMesh.Offset = Vector3.new(0, 0, 0)
  6923. PartMesh.Scale = Vector3.new(0.561845124, 0.618029416, 0.561845064)
  6924.  
  6925. table.insert(bltb, Part)
  6926.  
  6927. local hitbox = Instance.new("Part", m)
  6928. hitbox:BreakJoints()
  6929. hitbox.TopSurface = "Smooth"
  6930. hitbox.Material = "Neon"
  6931. hitbox.Transparency = 1 hitbox.Name = 'hitbox'
  6932. hitbox.BottomSurface = "Smooth"
  6933. hitbox.FormFactor = "Custom" hitbox.CanCollide = false
  6934. hitbox.BrickColor = BrickColor.new("Really black")
  6935. hitbox.Size = Vector3.new(0.200000003, 5.60922527, 0.624738038)
  6936. local hitboxweld = Instance.new("ManualWeld")
  6937. hitboxweld.Part0 = Handle hitboxweld.Part1 = hitbox hitboxweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6938. hitboxweld.C1 = CFrame.new(0, -3.8159256, -1.12056732e-005, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.99998641)
  6939. hitboxweld.Parent = hitbox
  6940. local hitboxMesh = Instance.new("BlockMesh",hitbox)
  6941. hitboxMesh.Name = "Mesh"
  6942. hitboxMesh.Offset = Vector3.new(0, 0, 0)
  6943. hitboxMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6944.  
  6945. local Wedge = Instance.new("WedgePart", m)
  6946. Wedge:BreakJoints()
  6947. Wedge.TopSurface = "Smooth"
  6948. Wedge.Material = "Neon"
  6949. Wedge.Transparency = 0 Wedge.Name = 'Wedge'
  6950. Wedge.BottomSurface = "Smooth"
  6951. Wedge.FormFactor = "Custom" Wedge.CanCollide = false
  6952. Wedge.BrickColor = BrickColor.new("Really black")
  6953. Wedge.Size = Vector3.new(0.200000003, 0.561845124, 0.224738076)
  6954. local Wedgeweld = Instance.new("ManualWeld")
  6955. Wedgeweld.Part0 = Handle Wedgeweld.Part1 = Wedge Wedgeweld.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6956. 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)
  6957. Wedgeweld.Parent = Wedge
  6958. local WedgeMesh = Instance.new("SpecialMesh",Wedge)
  6959. WedgeMesh.MeshId = ""
  6960. WedgeMesh.MeshType = Enum.MeshType.Wedge WedgeMesh.Name = "Mesh"
  6961. WedgeMesh.Offset = Vector3.new(0, 0, 0)
  6962. WedgeMesh.Scale = Vector3.new(0.561845124, 1, 1)
  6963.  
  6964.  
  6965.  
  6966. EffectPart2 = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart2", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  6967. 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))
  6968. EffectPart = part2(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 1, "Institutional white", "EffectPart", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  6969. 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))
  6970. mesh("BlockMesh", EffectPart, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  6971.  
  6972.  
  6973.  
  6974. coroutine.resume(coroutine.create(function()
  6975. while wait() do
  6976. for i,v in pairs(bltb) do
  6977. if v:IsA("Part") or v:IsA("WedgePart") then
  6978. UpdatePart(v,Rainbow(math.noise(0.5, 0.5, 0.5 + (time()/0.5))))
  6979.  
  6980. end
  6981. end
  6982. end
  6983. end)) --work
  6984.  
  6985.  
  6986.  
  6987.  
  6988.  
  6989.  
  6990. end
  6991.  
  6992. function removeSword()
  6993. for i = 1, 10 do wait()
  6994. for i,v in pairs(iris:GetChildren()) do
  6995. if v:IsA("Part") or v:IsA("WedgePart") then
  6996. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  6997. v.Transparency = v.Transparency + 0.1
  6998. end
  6999. end
  7000. end
  7001. end
  7002. end
  7003. -----------------------------------------------------
  7004. local blade1Tip = nil
  7005. local blade1cor0 = nil
  7006.  
  7007. local m = Instance.new("Model")
  7008. m.Name = "Genkadda"
  7009. function makeSword()
  7010. p1 = Instance.new("Part", m)
  7011. p1.Material = "Neon"
  7012. colc = math.random(1,7)
  7013. p1.BrickColor = Neonsc[colc]
  7014. p1.Name = "BladePart"
  7015. p1.FormFactor = Enum.FormFactor.Symmetric
  7016. p1.Size = Vector3.new(1, 1, 1)
  7017. 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)
  7018. p1.CanCollide = false
  7019. p1.Locked = true
  7020. p1.Elasticity = 0
  7021. p1.BottomSurface = Enum.SurfaceType.Smooth
  7022. p1.TopSurface = Enum.SurfaceType.Smooth
  7023. b1 = Instance.new("BlockMesh", p1)
  7024. b1.Name = "Mesh"
  7025. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7026. p2 = Instance.new("Part", m)
  7027. p2.Material = "Neon"
  7028. colc = math.random(1,7)
  7029. p2.BrickColor = Neonsc[colc]
  7030. p2.FormFactor = Enum.FormFactor.Symmetric
  7031. p2.Size = Vector3.new(1, 1, 1)
  7032. 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)
  7033. p2.CanCollide = false
  7034. p2.Locked = true
  7035. p2.Elasticity = 0
  7036. p2.BottomSurface = Enum.SurfaceType.Smooth
  7037. p2.TopSurface = Enum.SurfaceType.Smooth
  7038. b2 = Instance.new("BlockMesh", p2)
  7039. b2.Name = "Mesh"
  7040. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7041. p3 = Instance.new("Part", m)
  7042. p3.Material = "Neon"
  7043. colc = math.random(1,7)
  7044. p3.BrickColor = Neonsc[colc]
  7045. p3.FormFactor = Enum.FormFactor.Symmetric
  7046. p3.Size = Vector3.new(1, 2, 1)
  7047. 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)
  7048. p3.CanCollide = false
  7049. p3.Locked = true
  7050. p3.Elasticity = 0
  7051. p3.BottomSurface = Enum.SurfaceType.Smooth
  7052. p3.TopSurface = Enum.SurfaceType.Smooth
  7053. b3 = Instance.new("BlockMesh", p3)
  7054. b3.Name = "Mesh"
  7055. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7056. p4 = Instance.new("Part", m)
  7057. p4.Material = "Neon"
  7058. colc = math.random(1,7)
  7059. p4.BrickColor = Neonsc[colc]
  7060. p4.Name = "BladePart"
  7061. p4.FormFactor = Enum.FormFactor.Symmetric
  7062. p4.Size = Vector3.new(1, 1, 1)
  7063. 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)
  7064. p4.CanCollide = false
  7065. p4.Locked = true
  7066. p4.Elasticity = 0
  7067. p4.BottomSurface = Enum.SurfaceType.Smooth
  7068. p4.TopSurface = Enum.SurfaceType.Smooth
  7069. b4 = Instance.new("BlockMesh", p4)
  7070. b4.Name = "Mesh"
  7071. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7072. p5 = Instance.new("Part", m)
  7073. p5.Material = "Neon"
  7074. colc = math.random(1,7)
  7075. p5.BrickColor = Neonsc[colc]
  7076. p5.Name = "Hilt"
  7077. p5.FormFactor = Enum.FormFactor.Custom
  7078. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  7079. 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)
  7080. p5.CanCollide = false
  7081. p5.Locked = true
  7082. p5.BottomSurface = Enum.SurfaceType.Smooth
  7083. p5.TopSurface = Enum.SurfaceType.Smooth
  7084. b5 = Instance.new("BlockMesh", p5)
  7085. b5.Name = "Mesh"
  7086. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  7087. p6 = Instance.new("Part", m)
  7088. p6.Material = "Neon"
  7089. colc = math.random(1,7)
  7090. p6.BrickColor = Neonsc[colc]
  7091. p6.Name = "Handle"
  7092. p6.FormFactor = Enum.FormFactor.Custom
  7093. p6.Size = Vector3.new(1.29999995, 1, 1)
  7094. 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)
  7095. p6.CanCollide = false
  7096. p6.Locked = true
  7097. p6.BottomSurface = Enum.SurfaceType.Smooth
  7098. p6.TopSurface = Enum.SurfaceType.Smooth
  7099. b6 = Instance.new("SpecialMesh", p6)
  7100. b6.MeshType = Enum.MeshType.Cylinder
  7101. b6.Name = "Mesh"
  7102. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  7103. p7 = Instance.new("Part", m)
  7104. p7.Material = "Neon"
  7105. colc = math.random(1,7)
  7106. p7.BrickColor = Neonsc[colc]
  7107. p7.FormFactor = Enum.FormFactor.Symmetric
  7108. p7.Size = Vector3.new(1, 1, 1)
  7109. 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)
  7110. p7.CanCollide = false
  7111. p7.Locked = true
  7112. b7 = Instance.new("SpecialMesh", p7)
  7113. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  7114. b7.TextureId = ""
  7115. b7.MeshType = Enum.MeshType.FileMesh
  7116. b7.Name = "Mesh"
  7117. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  7118. p8 = Instance.new("Part", m)
  7119. p8.Material = "Neon"
  7120. colc = math.random(1,7)
  7121. p8.BrickColor = Neonsc[colc]
  7122. p8.Name = "BladePart"
  7123. p8.FormFactor = Enum.FormFactor.Symmetric
  7124. p8.Size = Vector3.new(1, 1, 1)
  7125. 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)
  7126. p8.CanCollide = false
  7127. p8.Locked = true
  7128. p8.Elasticity = 0
  7129. p8.BottomSurface = Enum.SurfaceType.Smooth
  7130. p8.TopSurface = Enum.SurfaceType.Smooth
  7131. b8 = Instance.new("BlockMesh", p8)
  7132. b8.Name = "Mesh"
  7133. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7134. p9 = Instance.new("Part", m)
  7135. p9.Material = "Neon"
  7136. colc = math.random(1,7)
  7137. p9.BrickColor = Neonsc[colc]
  7138. p9.Name = "BladePart"
  7139. p9.FormFactor = Enum.FormFactor.Symmetric
  7140. p9.Size = Vector3.new(1, 1, 1)
  7141. 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)
  7142. p9.CanCollide = false
  7143. p9.Locked = true
  7144. p9.Elasticity = 0
  7145. p9.BottomSurface = Enum.SurfaceType.Smooth
  7146. p9.TopSurface = Enum.SurfaceType.Smooth
  7147. b9 = Instance.new("BlockMesh", p9)
  7148. b9.Name = "Mesh"
  7149. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7150. p10 = Instance.new("Part", m)
  7151. p10.Material = "Neon"
  7152. colc = math.random(1,7)
  7153. p10.BrickColor = Neonsc[colc]
  7154. p10.Name = "BladeTip"
  7155. p10.FormFactor = Enum.FormFactor.Symmetric
  7156. p10.Size = Vector3.new(1, 1, 2)
  7157. 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)
  7158. p10.CanCollide = false
  7159. p10.Locked = true
  7160. p10.Elasticity = 0
  7161. p10.BottomSurface = Enum.SurfaceType.Smooth
  7162. p10.TopSurface = Enum.SurfaceType.Smooth
  7163. b10 = Instance.new("SpecialMesh", p10)
  7164. b10.MeshType = Enum.MeshType.Wedge
  7165. b10.Name = "Mesh"
  7166. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  7167. p11 = Instance.new("Part", m)
  7168. p11.Material = "Neon"
  7169. colc = math.random(1,7)
  7170. p11.BrickColor = Neonsc[colc]
  7171. p11.Name = "BladePart"
  7172. p11.FormFactor = Enum.FormFactor.Symmetric
  7173. p11.Size = Vector3.new(1, 1, 1)
  7174. 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)
  7175. p11.CanCollide = false
  7176. p11.Locked = true
  7177. p11.Elasticity = 0
  7178. p11.BottomSurface = Enum.SurfaceType.Smooth
  7179. p11.TopSurface = Enum.SurfaceType.Smooth
  7180. b11 = Instance.new("BlockMesh", p11)
  7181. b11.Name = "Mesh"
  7182. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7183. p12 = Instance.new("Part", m)
  7184. p12.Material = "Neon"
  7185. colc = math.random(1,7)
  7186. p12.BrickColor = Neonsc[colc]
  7187. p12.Name = "BladeTip2"
  7188. p12.FormFactor = Enum.FormFactor.Custom
  7189. p12.Size = Vector3.new(1, 1, 2.4000001)
  7190. 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)
  7191. p12.CanCollide = false
  7192. p12.Locked = true
  7193. p12.Elasticity = 0
  7194. p12.BottomSurface = Enum.SurfaceType.Smooth
  7195. p12.TopSurface = Enum.SurfaceType.Smooth
  7196. b12 = Instance.new("SpecialMesh", p12)
  7197. b12.MeshType = Enum.MeshType.Wedge
  7198. b12.Name = "Mesh"
  7199. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  7200. p13 = Instance.new("Part", m)
  7201. p13.Material = "Neon"
  7202. p13.BrickColor = BrickColor.new("Medium stone grey")
  7203. p13.Transparency = 1
  7204. p13.Name = "HitBox"
  7205. p13.FormFactor = Enum.FormFactor.Custom
  7206. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  7207. 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)
  7208. p13.CanCollide = false
  7209. p13.Locked = true
  7210. p13.BottomSurface = Enum.SurfaceType.Smooth
  7211. p13.TopSurface = Enum.SurfaceType.Smooth
  7212. w1 = Instance.new("Weld", p1)
  7213. w1.Name = "Part_Weld"
  7214. w1.Part0 = p1
  7215. 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)
  7216. w1.Part1 = p2
  7217. 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)
  7218. w2 = Instance.new("Weld", p2)
  7219. w2.Name = "Part_Weld"
  7220. w2.Part0 = p2
  7221. 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)
  7222. w2.Part1 = p3
  7223. 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)
  7224. w3 = Instance.new("Weld", p3)
  7225. w3.Name = "BladePart_Weld"
  7226. w3.Part0 = p3
  7227. 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)
  7228. w3.Part1 = p4
  7229. 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)
  7230. w4 = Instance.new("Weld", p4)
  7231. w4.Name = "Hilt_Weld"
  7232. w4.Part0 = p4
  7233. 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)
  7234. w4.Part1 = p5
  7235. 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)
  7236. w5 = Instance.new("Weld", p5)
  7237. w5.Name = "Handle_Weld"
  7238. w5.Part0 = p5
  7239. 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)
  7240. w5.Part1 = p6
  7241. 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)
  7242. w6 = Instance.new("Weld", p6)
  7243. w6.Name = "Part_Weld"
  7244. w6.Part0 = p6
  7245. 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)
  7246. w6.Part1 = p7
  7247. 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)
  7248. w7 = Instance.new("Weld", p7)
  7249. w7.Name = "BladePart_Weld"
  7250. w7.Part0 = p7
  7251. 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)
  7252. w7.Part1 = p8
  7253. 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)
  7254. w8 = Instance.new("Weld", p8)
  7255. w8.Name = "BladePart_Weld"
  7256. w8.Part0 = p8
  7257. 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)
  7258. w8.Part1 = p9
  7259. 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)
  7260. w9 = Instance.new("Weld", p9)
  7261. w9.Name = "BladeTip_Weld"
  7262. w9.Part0 = p9
  7263. 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)
  7264. w9.Part1 = p10
  7265. 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)
  7266. w10 = Instance.new("Weld", p10)
  7267. w10.Name = "BladePart_Weld"
  7268. w10.Part0 = p10
  7269. 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)
  7270. w10.Part1 = p11
  7271. 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)
  7272. w11 = Instance.new("Weld", p11)
  7273. w11.Name = "BladeTip2_Weld"
  7274. w11.Part0 = p11
  7275. 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)
  7276. w11.Part1 = p12
  7277. 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)
  7278. w12 = Instance.new("Weld", p12)
  7279. w12.Name = "HitBox_Weld"
  7280. w12.Part0 = p12
  7281. 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)
  7282. w12.Part1 = p13
  7283. 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)
  7284. w13 = Instance.new("Weld", p13)
  7285. w13.Name = "Weld"
  7286. w13.Part0 = p13
  7287. 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)
  7288. m.Parent = char
  7289. m:MakeJoints()
  7290. ----------------------------------------------------
  7291. local cor = Instance.new("Part", char.Genkadda)
  7292. cor.Name = "Thingy"
  7293. cor.Locked = true
  7294. cor.BottomSurface = 0
  7295. cor.CanCollide = false
  7296. cor.Size = Vector3.new(1, 9, 1)
  7297. cor.Transparency = 1
  7298. cor.TopSurface = 0
  7299. corw = Instance.new("Weld", cor)
  7300. corw.Part0 = rarm
  7301. corw.Part1 = cor
  7302. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7303. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7304. weld1 = Instance.new("Weld", char.Genkadda)
  7305. weld1.Part0 = cor
  7306. weld1.Part1 = char.Genkadda.Handle
  7307. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  7308. blade1Tip = cor
  7309. end
  7310.  
  7311. --[[makeSword()
  7312. ----------------------------------------------------
  7313. ]]
  7314. blocks = {}
  7315. last_block = nil
  7316. function ezBlock(type, name, cframe, size, rotation, material, parent, BrickColor, transparency,
  7317.  
  7318. weldToThis, formFactor)
  7319. block = Instance.new(type, parent)
  7320. block.Name = name
  7321. block.FormFactor=formFactor
  7322. block.Size = size
  7323. block.CanCollide = false
  7324. block.Anchored = false
  7325. block.BrickColor = BrickColor
  7326. block.Transparency=transparency
  7327. block.TopSurface = 'SmoothNoOutlines'
  7328. block.BottomSurface = 'SmoothNoOutlines'
  7329. block.FrontSurface = 'SmoothNoOutlines'
  7330. block.BackSurface = 'SmoothNoOutlines'
  7331. block.LeftSurface = 'SmoothNoOutlines'
  7332. block.RightSurface = 'SmoothNoOutlines'
  7333. block.Material = material
  7334. block.formFactor = 'Custom'
  7335. block.CFrame = cframe
  7336.  
  7337. if weldToThis then
  7338. stick(weldToThis, block)
  7339. elseif last_block ~= nil then
  7340. stick(block, last_block)
  7341. last_block = block
  7342. else
  7343. last_block = block
  7344. end
  7345. table.insert(blocks, block)
  7346.  
  7347. return #blocks
  7348. end
  7349. --[[
  7350. ----------------------------------------------------
  7351. for i, v in pairs(blocks) do
  7352. v.Parent = char.Genkadda
  7353. end
  7354. ----------------------------------------------------
  7355. local LastCFr = nil
  7356. local Trails = Instance.new("Model",char)
  7357. local Trail = {}
  7358. local Tip = char.Genkadda.BladeTip --blocks[test]
  7359. local number = 0
  7360. local num2 = 1
  7361. ]]
  7362.  
  7363.  
  7364. function startBloxFX()
  7365. local eff2 = Instance.new("Part", char)
  7366. eff2.Size = Vector3.new(10, 10, 10)
  7367. eff2.Transparency = 0
  7368. eff2.Material = "Neon"
  7369. eff2.Anchored = true
  7370. eff2.CanCollide = false
  7371. eff2.CFrame = char.Torso.CFrame
  7372. eff2eff = Instance.new("SelectionBox", eff2)
  7373. eff2eff.Adornee = eff2
  7374.  
  7375. local Hair = Instance.new("Part", char)
  7376. Hair.Name = "Hair"
  7377. Hair.Material = "Neon"
  7378. Hair.Size = Vector3.new(2, 0.8, 2.4)
  7379. Hold = Instance.new("Weld", char.Head)
  7380. Hold.Part0 = char.Head
  7381. Hold.Part1 = Hair
  7382. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  7383. local Mesh = Instance.new("SpecialMesh", Hair)
  7384. Mesh.MeshType = "FileMesh"
  7385. Mesh.Scale = Vector3.new(1.2, 1, 1)
  7386. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  7387. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  7388. -----------------------------------BLOXFUNC_
  7389. p1 = Instance.new("Part", m)
  7390. p1.Material = "Neon"
  7391. colc = math.random(1,7)
  7392. p1.BrickColor = Neonsc[colc]
  7393. p1.Name = "BladePart"
  7394. p1.FormFactor = Enum.FormFactor.Symmetric
  7395. p1.Size = Vector3.new(1, 1, 1)
  7396. 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)
  7397. p1.CanCollide = false
  7398. p1.Locked = true
  7399. p1.Elasticity = 0
  7400. p1.BottomSurface = Enum.SurfaceType.Smooth
  7401. p1.TopSurface = Enum.SurfaceType.Smooth
  7402. b1 = Instance.new("BlockMesh", p1)
  7403. b1.Name = "Mesh"
  7404. b1.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7405. p2 = Instance.new("Part", m)
  7406. p2.Material = "Neon"
  7407. colc = math.random(1,7)
  7408. p2.BrickColor = Neonsc[colc]
  7409. p2.FormFactor = Enum.FormFactor.Symmetric
  7410. p2.Size = Vector3.new(1, 1, 1)
  7411. 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)
  7412. p2.CanCollide = false
  7413. p2.Locked = true
  7414. p2.Elasticity = 0
  7415. p2.BottomSurface = Enum.SurfaceType.Smooth
  7416. p2.TopSurface = Enum.SurfaceType.Smooth
  7417. b2 = Instance.new("BlockMesh", p2)
  7418. b2.Name = "Mesh"
  7419. b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7420. p3 = Instance.new("Part", m)
  7421. p3.Material = "Neon"
  7422. colc = math.random(1,7)
  7423. p3.BrickColor = Neonsc[colc]
  7424. p3.FormFactor = Enum.FormFactor.Symmetric
  7425. p3.Size = Vector3.new(1, 2, 1)
  7426. 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)
  7427. p3.CanCollide = false
  7428. p3.Locked = true
  7429. p3.Elasticity = 0
  7430. p3.BottomSurface = Enum.SurfaceType.Smooth
  7431. p3.TopSurface = Enum.SurfaceType.Smooth
  7432. b3 = Instance.new("BlockMesh", p3)
  7433. b3.Name = "Mesh"
  7434. b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927)
  7435. p4 = Instance.new("Part", m)
  7436. p4.Material = "Neon"
  7437. colc = math.random(1,7)
  7438. p4.BrickColor = Neonsc[colc]
  7439. p4.Name = "BladePart"
  7440. p4.FormFactor = Enum.FormFactor.Symmetric
  7441. p4.Size = Vector3.new(1, 1, 1)
  7442. 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)
  7443. p4.CanCollide = false
  7444. p4.Locked = true
  7445. p4.Elasticity = 0
  7446. p4.BottomSurface = Enum.SurfaceType.Smooth
  7447. p4.TopSurface = Enum.SurfaceType.Smooth
  7448. b4 = Instance.new("BlockMesh", p4)
  7449. b4.Name = "Mesh"
  7450. b4.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7451. p5 = Instance.new("Part", m)
  7452. p5.Material = "Neon"
  7453. colc = math.random(1,7)
  7454. p5.BrickColor = Neonsc[colc]
  7455. p5.Name = "Hilt"
  7456. p5.FormFactor = Enum.FormFactor.Custom
  7457. p5.Size = Vector3.new(1, 0.400000006, 1.60000014)
  7458. 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)
  7459. p5.CanCollide = false
  7460. p5.Locked = true
  7461. p5.BottomSurface = Enum.SurfaceType.Smooth
  7462. p5.TopSurface = Enum.SurfaceType.Smooth
  7463. b5 = Instance.new("BlockMesh", p5)
  7464. b5.Name = "Mesh"
  7465. b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952)
  7466. p6 = Instance.new("Part", m)
  7467. p6.Material = "Neon"
  7468. colc = math.random(1,7)
  7469. p6.BrickColor = Neonsc[colc]
  7470. p6.Name = "Handle"
  7471. p6.FormFactor = Enum.FormFactor.Custom
  7472. p6.Size = Vector3.new(1.29999995, 1, 1)
  7473. 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)
  7474. p6.CanCollide = false
  7475. p6.Locked = true
  7476. p6.BottomSurface = Enum.SurfaceType.Smooth
  7477. p6.TopSurface = Enum.SurfaceType.Smooth
  7478. b6 = Instance.new("SpecialMesh", p6)
  7479. b6.MeshType = Enum.MeshType.Cylinder
  7480. b6.Name = "Mesh"
  7481. b6.Scale = Vector3.new(1, 0.200000003, 0.200000003)
  7482. p7 = Instance.new("Part", m)
  7483. p7.Material = "Neon"
  7484. colc = math.random(1,7)
  7485. p7.BrickColor = Neonsc[colc]
  7486. p7.FormFactor = Enum.FormFactor.Symmetric
  7487. p7.Size = Vector3.new(1, 1, 1)
  7488. 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)
  7489. p7.CanCollide = false
  7490. p7.Locked = true
  7491. b7 = Instance.new("SpecialMesh", p7)
  7492. b7.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  7493. b7.TextureId = ""
  7494. b7.MeshType = Enum.MeshType.FileMesh
  7495. b7.Name = "Mesh"
  7496. b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006)
  7497. p8 = Instance.new("Part", m)
  7498. p8.Material = "Neon"
  7499. colc = math.random(1,7)
  7500. p8.BrickColor = Neonsc[colc]
  7501. p8.Name = "BladePart"
  7502. p8.FormFactor = Enum.FormFactor.Symmetric
  7503. p8.Size = Vector3.new(1, 1, 1)
  7504. 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)
  7505. p8.CanCollide = false
  7506. p8.Locked = true
  7507. p8.Elasticity = 0
  7508. p8.BottomSurface = Enum.SurfaceType.Smooth
  7509. p8.TopSurface = Enum.SurfaceType.Smooth
  7510. b8 = Instance.new("BlockMesh", p8)
  7511. b8.Name = "Mesh"
  7512. b8.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7513. p9 = Instance.new("Part", m)
  7514. p9.Material = "Neon"
  7515. colc = math.random(1,7)
  7516. p9.BrickColor = Neonsc[colc]
  7517. p9.Name = "BladePart"
  7518. p9.FormFactor = Enum.FormFactor.Symmetric
  7519. p9.Size = Vector3.new(1, 1, 1)
  7520. 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)
  7521. p9.CanCollide = false
  7522. p9.Locked = true
  7523. p9.Elasticity = 0
  7524. p9.BottomSurface = Enum.SurfaceType.Smooth
  7525. p9.TopSurface = Enum.SurfaceType.Smooth
  7526. b9 = Instance.new("BlockMesh", p9)
  7527. b9.Name = "Mesh"
  7528. b9.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7529. p10 = Instance.new("Part", m)
  7530. p10.Material = "Neon"
  7531. colc = math.random(1,7)
  7532. p10.BrickColor = Neonsc[colc]
  7533. p10.Name = "BladeTip"
  7534. p10.FormFactor = Enum.FormFactor.Symmetric
  7535. p10.Size = Vector3.new(1, 1, 2)
  7536. 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)
  7537. p10.CanCollide = false
  7538. p10.Locked = true
  7539. p10.Elasticity = 0
  7540. p10.BottomSurface = Enum.SurfaceType.Smooth
  7541. p10.TopSurface = Enum.SurfaceType.Smooth
  7542. b10 = Instance.new("SpecialMesh", p10)
  7543. b10.MeshType = Enum.MeshType.Wedge
  7544. b10.Name = "Mesh"
  7545. b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928)
  7546. p11 = Instance.new("Part", m)
  7547. p11.Material = "Neon"
  7548. colc = math.random(1,7)
  7549. p11.BrickColor = Neonsc[colc]
  7550. p11.Name = "BladePart"
  7551. p11.FormFactor = Enum.FormFactor.Symmetric
  7552. p11.Size = Vector3.new(1, 1, 1)
  7553. 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)
  7554. p11.CanCollide = false
  7555. p11.Locked = true
  7556. p11.Elasticity = 0
  7557. p11.BottomSurface = Enum.SurfaceType.Smooth
  7558. p11.TopSurface = Enum.SurfaceType.Smooth
  7559. b11 = Instance.new("BlockMesh", p11)
  7560. b11.Name = "Mesh"
  7561. b11.Scale = Vector3.new(0.299999923, 1, 0.120000005)
  7562. p12 = Instance.new("Part", m)
  7563. p12.Material = "Neon"
  7564. colc = math.random(1,7)
  7565. p12.BrickColor = Neonsc[colc]
  7566. p12.Name = "BladeTip2"
  7567. p12.FormFactor = Enum.FormFactor.Custom
  7568. p12.Size = Vector3.new(1, 1, 2.4000001)
  7569. 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)
  7570. p12.CanCollide = false
  7571. p12.Locked = true
  7572. p12.Elasticity = 0
  7573. p12.BottomSurface = Enum.SurfaceType.Smooth
  7574. p12.TopSurface = Enum.SurfaceType.Smooth
  7575. b12 = Instance.new("SpecialMesh", p12)
  7576. b12.MeshType = Enum.MeshType.Wedge
  7577. b12.Name = "Mesh"
  7578. b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928)
  7579. p13 = Instance.new("Part", m)
  7580. p13.Material = "Neon"
  7581. p13.BrickColor = BrickColor.new("Medium stone grey")
  7582. p13.Transparency = 1
  7583. p13.Name = "HitBox"
  7584. p13.FormFactor = Enum.FormFactor.Custom
  7585. p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999)
  7586. 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)
  7587. p13.CanCollide = false
  7588. p13.Locked = true
  7589. p13.BottomSurface = Enum.SurfaceType.Smooth
  7590. p13.TopSurface = Enum.SurfaceType.Smooth
  7591. w1 = Instance.new("Weld", p1)
  7592. w1.Name = "Part_Weld"
  7593. w1.Part0 = p1
  7594. 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)
  7595. w1.Part1 = p2
  7596. 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)
  7597. w2 = Instance.new("Weld", p2)
  7598. w2.Name = "Part_Weld"
  7599. w2.Part0 = p2
  7600. 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)
  7601. w2.Part1 = p3
  7602. 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)
  7603. w3 = Instance.new("Weld", p3)
  7604. w3.Name = "BladePart_Weld"
  7605. w3.Part0 = p3
  7606. 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)
  7607. w3.Part1 = p4
  7608. 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)
  7609. w4 = Instance.new("Weld", p4)
  7610. w4.Name = "Hilt_Weld"
  7611. w4.Part0 = p4
  7612. 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)
  7613. w4.Part1 = p5
  7614. 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)
  7615. w5 = Instance.new("Weld", p5)
  7616. w5.Name = "Handle_Weld"
  7617. w5.Part0 = p5
  7618. 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)
  7619. w5.Part1 = p6
  7620. 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)
  7621. w6 = Instance.new("Weld", p6)
  7622. w6.Name = "Part_Weld"
  7623. w6.Part0 = p6
  7624. 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)
  7625. w6.Part1 = p7
  7626. 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)
  7627. w7 = Instance.new("Weld", p7)
  7628. w7.Name = "BladePart_Weld"
  7629. w7.Part0 = p7
  7630. 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)
  7631. w7.Part1 = p8
  7632. 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)
  7633. w8 = Instance.new("Weld", p8)
  7634. w8.Name = "BladePart_Weld"
  7635. w8.Part0 = p8
  7636. 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)
  7637. w8.Part1 = p9
  7638. 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)
  7639. w9 = Instance.new("Weld", p9)
  7640. w9.Name = "BladeTip_Weld"
  7641. w9.Part0 = p9
  7642. 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)
  7643. w9.Part1 = p10
  7644. 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)
  7645. w10 = Instance.new("Weld", p10)
  7646. w10.Name = "BladePart_Weld"
  7647. w10.Part0 = p10
  7648. 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)
  7649. w10.Part1 = p11
  7650. 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)
  7651. w11 = Instance.new("Weld", p11)
  7652. w11.Name = "BladeTip2_Weld"
  7653. w11.Part0 = p11
  7654. 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)
  7655. w11.Part1 = p12
  7656. 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)
  7657. w12 = Instance.new("Weld", p12)
  7658. w12.Name = "HitBox_Weld"
  7659. w12.Part0 = p12
  7660. 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)
  7661. w12.Part1 = p13
  7662. 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)
  7663. w13 = Instance.new("Weld", p13)
  7664. w13.Name = "Weld"
  7665. w13.Part0 = p13
  7666. 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)
  7667. m.Parent = char
  7668. m:MakeJoints()
  7669. ----------------------------------------------------
  7670. local cor = Instance.new("Part", char.Genkadda)
  7671. cor.Name = "Thingy"
  7672. cor.Locked = true
  7673. cor.BottomSurface = 0
  7674. cor.CanCollide = false
  7675. cor.Size = Vector3.new(1, 9, 1)
  7676. cor.Transparency = 1
  7677. cor.TopSurface = 0
  7678. corw = Instance.new("Weld", cor)
  7679. corw.Part0 = rarm
  7680. corw.Part1 = cor
  7681. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7682. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7683. weld1 = Instance.new("Weld", char.Genkadda)
  7684. weld1.Part0 = cor
  7685. weld1.Part1 = char.Genkadda.Handle
  7686. weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  7687. blade1Tip = p13
  7688. blade1cor0 = corw
  7689. --blade1cor0.C0 = CFrame.new(-1, 3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90))
  7690. --blade1cor0.C1 = CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7691. ----------------------------------------------------BLOXFUNC_SWORD_END
  7692. ----------------------------------------------------
  7693. for i, v in pairs(blocks) do
  7694. v.Parent = char.Genkadda
  7695. end
  7696. ----------------------------------------------------
  7697. local LastCFr = nil
  7698. local Trails = Instance.new("Model",char)
  7699. local Trail = {}
  7700. local Tip = char.Genkadda.BladeTip --blocks[test]
  7701. local number = 0
  7702. local num2 = 1
  7703. -------VANISH
  7704. for i = 1, 10 do wait()
  7705. for i,v in pairs(char.Genkadda:GetChildren()) do
  7706. if v:IsA("Part") or v:IsA("WedgePart") then
  7707. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7708. v.Transparency = v.Transparency + 0.1
  7709. end
  7710. end
  7711. end
  7712. end
  7713.  
  7714. ----------
  7715.  
  7716. --Vanish()
  7717. ----------APPEAR
  7718. for i = 1, 10 do wait()
  7719. for i,v in pairs(char.Genkadda:GetChildren()) do
  7720. if v:IsA("Part") or v:IsA("WedgePart") then
  7721. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7722. v.Transparency = v.Transparency - 0.1
  7723. end
  7724. end
  7725. end
  7726. end
  7727. ---------------------
  7728. --Appear()
  7729. for i = 1, 30 do
  7730. colc = math.random(1,7)
  7731. eff2.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  7732. eff2.BrickColor = Neonsc[colc]
  7733. eff2eff.Color = BrickColor.Random()
  7734. wait()
  7735. end
  7736.  
  7737. -------VANISH
  7738. for i = 1, 10 do wait()
  7739. for i,v in pairs(char.Genkadda:GetChildren()) do
  7740. if v:IsA("Part") or v:IsA("WedgePart") then
  7741. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7742. v.Transparency = v.Transparency + 0.1
  7743. end
  7744. end
  7745. end
  7746. end
  7747.  
  7748. ----------
  7749. --Vanish()
  7750.  
  7751. eff2:Remove()
  7752. newMode = false
  7753. end
  7754.  
  7755.  
  7756. ---------------------------------
  7757.  
  7758. startBloxFX()
  7759.  
  7760. function Vanish()
  7761. for i = 1, 10 do wait()
  7762. for i,v in pairs(char.Genkadda:GetChildren()) do
  7763. if v:IsA("Part") or v:IsA("WedgePart") then
  7764. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7765. v.Transparency = v.Transparency + 0.1
  7766. end
  7767. end
  7768. end
  7769. end
  7770. end
  7771. ----------------------------------------------------
  7772. function Appear()
  7773. for i = 1, 10 do wait()
  7774. for i,v in pairs(char.Genkadda:GetChildren()) do
  7775. if v:IsA("Part") or v:IsA("WedgePart") then
  7776. if v.Name ~= "HitBox" or v.Name ~= "Thingy" then
  7777. v.Transparency = v.Transparency - 0.1
  7778. end
  7779. end
  7780. end
  7781. end
  7782. end
  7783. ---------------------------------
  7784. local clawPart1 = { }
  7785. Melee = true
  7786. mouse.KeyDown:connect(function(key)
  7787. if key == "m" then
  7788. if rainbowssl == false then
  7789. if Melee == false then
  7790. powerHand = true
  7791. rainbowHands = true
  7792. Melee = true
  7793. if sword2 ~= true then
  7794. Vanish()
  7795. else
  7796. sword2 = false
  7797. removeSword()
  7798. end
  7799. stanceToggle = "Melee"
  7800. rainbowHands = false
  7801. powerHand = false
  7802. elseif Melee == true then
  7803. powerHand = true
  7804. rainbowHands = true
  7805. Melee = false
  7806. 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)
  7807. 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)
  7808. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7809. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7810. 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)
  7811. 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)
  7812. Appear()
  7813. stanceToggle = "Normal"
  7814. rainbowHands = false
  7815. powerHand = false
  7816. end
  7817. elseif rainbowssl == true then
  7818. if Melee == false then
  7819. if myVars[5] == "normal" then
  7820. powerHand = true
  7821. rainbowHands = true
  7822. Melee = true
  7823. if clawPart1 == nil then
  7824. char.Humanoid.Health = 0
  7825. end
  7826. for i, v in ipairs(clawPart1) do
  7827. v:Destroy()
  7828. end
  7829.  
  7830. myVars[3] = "none"
  7831. wait(1)
  7832. stanceToggle = "Melee"
  7833. rainbowHands = false
  7834. powerHand = false
  7835. else
  7836. if myVars[5] == "ssl3" then
  7837. Melee = true
  7838. powerHand = true
  7839. rainbowHands = true
  7840. myVars[7] = false
  7841. ssl3Vanish()
  7842. print("ssl3vanish")
  7843. wait(1)
  7844. rainbowHands = false
  7845. powerHand = false
  7846. elseif myVars[5] == "ssl3_1" then
  7847. rainbowHands = true
  7848. ssl3Vanish()
  7849. myVars[5] = "ssl3"
  7850. print("ssl3vanish_1")
  7851. wait(1)
  7852. rainbowHands = false
  7853. end
  7854. end
  7855. elseif Melee == true then
  7856. if myVars[5] == "normal" then
  7857. powerHand = true
  7858. rainbowHands = true
  7859. Melee = false
  7860. 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)
  7861. 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)
  7862. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  7863. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  7864. 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)
  7865. 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)
  7866. makeClaw()
  7867. myVars[3] = "claw"
  7868. wait(1)
  7869. stanceToggle = "Normal"
  7870. rainbowHands = false
  7871. powerHand = false
  7872. else
  7873. powerHand = true
  7874. rainbowHands = true
  7875. Melee = false
  7876. ssl3Appear()
  7877. myVars[7] = true
  7878. print("ssl3Made")
  7879. wait(1)
  7880. rainbowHands = false
  7881. --equipHands()
  7882. powerHand = false
  7883. return true
  7884. end
  7885. end
  7886. end
  7887. end
  7888. end)
  7889. ----------------------------------------------------
  7890.  
  7891.  
  7892. mouse.KeyDown:connect(function(key)
  7893. if key == "u" then
  7894. if Melee == false then
  7895. if Debounces.CanAttack == true then
  7896. Debounces.CanAttack = false
  7897. Debounces.NoIdl = true
  7898. Debounces.on = true
  7899. if myVars[5] == "normal" then
  7900. swordPowerUp = true
  7901. blade1cor0.C0 = CFrame.new(-2, -5, -0.5) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  7902. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7903.  
  7904. for i = 1, 10 do
  7905. 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)
  7906. 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)
  7907. wait(0.5)
  7908. end
  7909. local eff3 = Instance.new("Part", char)
  7910. eff3.Size = Vector3.new(20, 20, 20)
  7911. eff3.Transparency = 0
  7912. eff3.Material = "Neon"
  7913. eff3.Anchored = true
  7914. eff3.CanCollide = false
  7915. eff3.Shape = "Ball"
  7916. eff3.CFrame = blade1Tip.CFrame
  7917. for i = 1, 40 do
  7918. eff3.Size = eff3.Size - Vector3.new(0.5, 0.5, 0.5)
  7919. eff3.CFrame = blade1Tip.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  7920. eff3.BrickColor = BrickColor.Random()
  7921. wait()
  7922. end
  7923. Vanish()
  7924. eff3:Remove()
  7925. blade1cor0.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  7926. blade1cor0.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  7927. upgradeSword()
  7928. sword2 = true
  7929. swordPowerUp = false
  7930. Debounces.CanAttack = true
  7931. Debounces.NoIdl = false
  7932. Debounces.on = false
  7933. elseif myVars[5] == "ssl3" then
  7934. powerHand = true
  7935. rainbowHands = true
  7936. Melee = true
  7937. --ssl3Vanish()
  7938. print("ssl3vanish")
  7939. wait(1)
  7940. rainbowHands = false
  7941. powerHand = false
  7942. myVars[5] = "ssl3_1"
  7943. myVars[7] = true
  7944. myVars[8] = 0
  7945. rainbowHands = true
  7946. Melee = false
  7947. sslBurst1()
  7948. print("ssl3Made")
  7949. wait(1)
  7950. rainbowHands = false
  7951. equipHands()
  7952. Debounces.CanAttack = true
  7953. Debounces.NoIdl = false
  7954. Debounces.on = false
  7955. end
  7956. end
  7957. end
  7958. end
  7959. end)
  7960. ----------------------------------------------------
  7961. local ballAtt = 0
  7962. mouse.KeyDown:connect(function(key)
  7963. if key == "g" then
  7964. if rainbowHands == true then
  7965. if Debounces.CanAttack == true then
  7966. Debounces.CanAttack = false
  7967. Debounces.NoIdl = true
  7968. Debounces.on = true
  7969. if ballAtt == 1 then
  7970. ballAtt = 2
  7971. elseif ballAtt == 2 then
  7972. ballAtt = 1
  7973. end
  7974. if ballAtt == 0 then
  7975. ballAtt = 1
  7976. end
  7977. local shell = Instance.new("Part",torso)
  7978. shell.BrickColor = Neonsc[colc]
  7979. shell.Anchored = true
  7980. shell.CanCollide = false
  7981. shell.Locked = true
  7982. shell.TopSurface = "SmoothNoOutlines"
  7983. shell.BottomSurface = "SmoothNoOutlines"
  7984. shell.Size = Vector3.new(1,1,1)
  7985. shellm = Instance.new("SpecialMesh",shell)
  7986. shellm.MeshType = "Sphere"
  7987. shellm.Scale = Vector3.new(1,1,1)
  7988. local shell2 = Instance.new("Part",torso)
  7989. shell2.BrickColor = Neonsc[colc]
  7990. shell2.Anchored = true
  7991. shell2.CanCollide = false
  7992. shell2.Locked = true
  7993. shell2.TopSurface = "SmoothNoOutlines"
  7994. shell2.BottomSurface = "SmoothNoOutlines"
  7995. shell2.Size = Vector3.new(1,1,1)
  7996. shellm2 = Instance.new("SpecialMesh",shell2)
  7997. shellm2.MeshType = "Sphere"
  7998. shellm2.Scale = Vector3.new(1,1,1)
  7999.  
  8000. function FindNearestTorso(Position,Distance,SinglePlayer)
  8001. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  8002. local List = {}
  8003. for i,v in pairs(workspace:GetChildren())do
  8004. if v:IsA("Model")then
  8005. if v:findFirstChild("Torso")then
  8006. if v ~= char then
  8007. if(v.Torso.Position -Position).magnitude <= Distance then
  8008. table.insert(List,v)
  8009. end
  8010. end
  8011. end
  8012. end
  8013. end
  8014. return List
  8015. end
  8016.  
  8017. Shell = function()
  8018. local X = Instance.new("Part",char)
  8019. local O = Instance.new("ObjectValue",X)
  8020. O.Name = "creator"
  8021. X.Locked = true
  8022. X.Name = "Shell"
  8023. X.Anchored = false
  8024. X.CanCollide = false
  8025. X.Transparency = 0
  8026. X.Reflectance = 100
  8027. X.BottomSurface = 0
  8028. X.TopSurface = 0
  8029. X.Shape = 0
  8030. local V = Instance.new("ObjectValue",X)
  8031. V.Value = char
  8032. V.Name = "creator"
  8033. X.BrickColor = Neonsc[colc]
  8034. X.Size = Vector3.new(1,1,1)
  8035. X.Material = "Neon"
  8036. local Z = Instance.new("SpecialMesh",X)
  8037. Z.MeshType = "Sphere"
  8038. Z.Scale = Vector3.new(1,1,1)
  8039. X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
  8040. local bv = Instance.new("BodyVelocity",X)
  8041. bv.maxForce = Vector3.new(99999,99999,99999)
  8042. X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
  8043. bv.velocity = root.CFrame.lookVector*65
  8044. Explode = X.Touched:connect(function(hit)
  8045. if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
  8046. local cf = X.CFrame
  8047. bv:Destroy()
  8048. --if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") and hit:IsA("BasePart}") == false then
  8049. -- hit:Destroy()
  8050. --end
  8051. X.Anchored = true
  8052. Z:Remove()
  8053. Explode:disconnect()
  8054. X.Size = Vector3.new(3,3,3)
  8055. X.Touched:connect(function(hit) end)
  8056. X.CanCollide = false
  8057. for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
  8058. if v:FindFirstChild('Humanoid') then
  8059. v.Humanoid:TakeDamage(1000)
  8060. end
  8061. end
  8062. for i = 1, (40) do rs:wait()
  8063. X.Transparency = X.Transparency + (1/40)
  8064. X.Size = X.Size + Vector3.new(1,1,1)
  8065. X.CFrame = cf
  8066. end
  8067. X:Destroy()
  8068. end
  8069. end)
  8070. end
  8071. if ballAtt == 1 then
  8072. Shell()
  8073. shell.Transparency = 0
  8074. shell2.Transparency = 1
  8075. for i = 1, 10 do
  8076. shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
  8077. 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)
  8078. 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)
  8079. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
  8080. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
  8081. 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)
  8082. 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)
  8083. if Debounces.on == false then break end
  8084. rs:wait()
  8085. end
  8086. shell.Transparency = 1
  8087. shell2.Transparency = 1
  8088. end
  8089. if ballAtt == 2 then
  8090. Shell()
  8091. shell.Transparency = 1
  8092. shell2.Transparency = 0
  8093. for i = 1, 10 do
  8094. shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
  8095. 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)
  8096. 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)
  8097. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
  8098. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
  8099. 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)
  8100. 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)
  8101. if Debounces.on == false then break end
  8102. rs:wait()
  8103. end
  8104. shell2.Transparency = 1
  8105. end
  8106. if Debounces.CanAttack == false then
  8107. Debounces.CanAttack = true
  8108. Debounces.NoIdl = false
  8109. Debounces.on = false
  8110. end
  8111. end
  8112. else
  8113. if myVars[3] == "claw" then
  8114. if Debounces.CanAttack == true then
  8115. Debounces.CanAttack = false
  8116. Debounces.NoIdl = true
  8117. Debounces.on = true
  8118. fistBomb()
  8119. Debounces.CanAttack = true
  8120. Debounces.NoIdl = false
  8121. Debounces.on = false
  8122. end
  8123. end
  8124. end
  8125. end
  8126. end)
  8127. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  8128. local prt=parto(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  8129. prt.Anchored=true
  8130. prt.CFrame = cframe
  8131. local msh=mesho("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  8132. coroutine.resume(coroutine.create(function()
  8133. for i=0,1,0.05 do
  8134. wait()
  8135. prt.Transparency=i
  8136. msh.Scale=msh.Scale+vt(x2,y2,z2)
  8137. end
  8138. prt.Parent=nil
  8139. end))
  8140. end
  8141.  
  8142. function fistBomb()
  8143. for i = 0,1,0.1 do
  8144. swait()
  8145. --torso.Weld.C0 = clerp(torso.Weld.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  8146. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  8147. 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)
  8148. 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)
  8149. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8150. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8151. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8152. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8153. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8154. end
  8155. MagniDamageo(clawPart1[11],clawPart1[11],20,20,30,0,"Knockdown")
  8156. local hit,pos=rayCast(clawPart1[11].Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,char)
  8157. if hit~=nil then
  8158. print("test1")
  8159. local ref2=parto(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  8160. print("test2")
  8161. ref2.Anchored=true
  8162. print("test3")
  8163. ref2.CFrame=cf(pos)
  8164. print("test4")
  8165. game:GetService("Debris"):AddItem(ref2,3)
  8166. print("test5")
  8167. for i=1,10 do
  8168. local Col=BrickColor.new("New Yeller")
  8169. 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))
  8170. groundpart.Anchored=true
  8171. groundpart.CanCollide=false
  8172. 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))
  8173. game:GetService("Debris"):AddItem(groundpart,5)
  8174. end
  8175. BlastEffect(BrickColor.new("New Yeller"),cf(pos),1,1,1,.7,.7,.7)
  8176. MagicCircleo(BrickColor.new("New Yeller"),cf(pos),3,3,3,5,5,5,0.05)
  8177. MagniDamageo(ref2,ref2,10,10,20,math.random(10,20),"Knockdown")
  8178. end
  8179. for i = 0,1,0.1 do
  8180. swait()
  8181. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  8182. 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)
  8183. 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)
  8184. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8185. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8186. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8187. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8188. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8189. end
  8190. end
  8191.  
  8192.  
  8193. function modeChange()
  8194. colc = math.random(1,7)
  8195. local fx = Instance.new("Part",torso)
  8196. fx.Anchored = true
  8197. fx.Material = "Neon"
  8198. fx.CanCollide = false
  8199. fx.Locked = true
  8200. fx.Transparency = 1
  8201. fx.Material = "Neon"
  8202. fx.Size = Vector3.new(1,1,1)
  8203. fx.TopSurface = "SmoothNoOutlines"
  8204. fx.BottomSurface = "SmoothNoOutlines"
  8205. fx.BrickColor = Neonsc[colc]
  8206. fxm = Instance.new("SpecialMesh",fx)
  8207. fxm.MeshType = "Sphere"
  8208. fxm.Scale = Vector3.new(1,1,1)
  8209. for i = 1, 20 do rs:wait()
  8210. fx.BrickColor = Neonsc[colc]
  8211. fx.Transparency = fx.Transparency - (1/20)
  8212. fx.CFrame = torso.CFrame
  8213. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  8214. rs:wait()
  8215. end
  8216.  
  8217. for i = 1, 20 do rs:wait()
  8218. fx.BrickColor = Neonsc[colc]
  8219. fx.CFrame = torso.CFrame
  8220. end
  8221.  
  8222. if char.Hair == nil then
  8223. spawnHair()
  8224. end
  8225. for i,v in pairs(char:children()) do
  8226. if v == char.Hair then
  8227. v:Destroy()
  8228. break
  8229. end
  8230. end
  8231.  
  8232. if rainbowssl == true then
  8233. spawnHair()
  8234. else
  8235. local Hair = Instance.new("Part", char)
  8236. Hair.Name = "Hair"
  8237. Hair.Material = "Neon"
  8238. Hair.Size = Vector3.new(2, 0.8, 2.4)
  8239. Hold = Instance.new("Weld", char.Head)
  8240. Hold.Part0 = char.Head
  8241. Hold.Part1 = Hair
  8242. Hold.C0 = CFrame.new(-0.1, 0.8, 0)
  8243. local Mesh = Instance.new("SpecialMesh", Hair)
  8244. Mesh.MeshType = "FileMesh"
  8245. Mesh.Scale = Vector3.new(1.2, 1, 1)
  8246. Mesh.MeshId = ("http://www.roblox.com/asset/?id=145283773 ")
  8247. Mesh.TextureId = ("http://www.roblox.com/asset/?id=151460207")
  8248. end
  8249.  
  8250.  
  8251. for i = 1, 20 do rs:wait()
  8252. fx.BrickColor = Neonsc[colc]
  8253. fx.Transparency = fx.Transparency + (1/20)
  8254. fx.CFrame = torso.CFrame
  8255. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  8256. rs:wait()
  8257. end
  8258.  
  8259. end
  8260. ----------------------------------------------------
  8261. myVars[5] = "normal"
  8262. mouse.KeyDown:connect(function(key)
  8263. if key == "n" then
  8264. if rainbowssl == true then
  8265.  
  8266. if myVars[5] == "ssl3" then
  8267. myVars[5] = "Normal"
  8268. rainbowssl = false
  8269. newMode = true
  8270. if Debounces.CanAttack == false then
  8271. Debounces.CanAttack = true
  8272. Debounces.NoIdl = false
  8273. end
  8274. modeChange()
  8275. wait(1)
  8276. newMode = false
  8277. return true
  8278. else
  8279. if Debounces.CanAttack == true then
  8280. Debounces.CanAttack = false
  8281. Debounces.NoIdl = true
  8282. myVars[5] = "ssl3"
  8283. ssl3()
  8284. print(myVars[5])
  8285. Debounces.CanAttack = true
  8286. Debounces.NoIdl = false
  8287. return true
  8288. end
  8289. end
  8290. elseif rainbowssl == false then
  8291. if rainbowHands == true then
  8292. newMode = true
  8293. if Debounces.CanAttack == true then
  8294. Debounces.CanAttack = false
  8295. Debounces.NoIdl = true
  8296. end
  8297. wait(1)
  8298. rainbowssl = true
  8299. modeChange()
  8300. newMode = false
  8301. Debounces.CanAttack = true
  8302. Debounces.NoIdl = false
  8303. end
  8304. end
  8305. end
  8306. end)
  8307. -------------------------------
  8308.  
  8309.  
  8310. ------------------------------------------------------
  8311.  
  8312. Magik = function()
  8313. Spawn(function()
  8314. --if stanceToggle == "Normal" or stanceToggle == "Melee" then
  8315. local function lerp(a,b,c)
  8316. return a+(b-a)*c
  8317. end
  8318. local function rndRange(rng)
  8319. return math.random(-rng*1000,rng*1000)/1000
  8320. end
  8321. local magik = Instance.new("Part", larm)
  8322. local Colors = {"Royal purple", "Really black"}
  8323. magik.Anchored = true
  8324. magik.Locked = true
  8325. magik.FormFactor = "Custom"
  8326. magik.Size = Vector3.new(1.2, 1.2, 1.2)
  8327. magik.TopSurface = "Smooth"
  8328. magik.BottomSurface = "Smooth"
  8329. magik.Transparency = 0
  8330. magik.CanCollide = false
  8331. magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8332. local mr = math.rad
  8333. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8334. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8335. magik.CFrame = cf
  8336. for i = 0, 1, .05 do
  8337. local newTrans = lerp(0.5, 1, i)
  8338. local ns = lerp(1,1.2,i)
  8339. magik.Transparency = newTrans
  8340. magik.Size = Vector3.new(ns,ns,ns)
  8341. magik.CFrame = cf
  8342. rs:wait()
  8343. end
  8344. magik:Destroy()
  8345. --elseif stanceToggle ~= "Normal" or stanceToggle ~= "Melee" then
  8346. --wait()
  8347. -- end
  8348. end)
  8349. end
  8350. ----------------------------------------------------
  8351. Magik2 = function()
  8352. Spawn(function()
  8353. --if stanceToggle == "Melee" then
  8354. local function lerp(a,b,c)
  8355. return a+(b-a)*c
  8356. end
  8357. local function rndRange(rng)
  8358. return math.random(-rng*1000,rng*1000)/1000
  8359. end
  8360. local magik2 = Instance.new("Part", rarm)
  8361. local Colors = {"Royal purple", "Really black"}
  8362. magik2.Anchored = true
  8363. magik2.Locked = true
  8364. magik2.FormFactor = "Custom"
  8365. magik2.Size = Vector3.new(1.2, 1.2, 1.2)
  8366. magik2.TopSurface = "Smooth"
  8367. magik2.BottomSurface = "Smooth"
  8368. magik2.Transparency = 0
  8369. magik2.CanCollide = false
  8370. magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8371. local mr = math.rad
  8372. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8373. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8374. magik2.CFrame = cf
  8375. for i = 0, 1, .05 do
  8376. local newTrans = lerp(0.5, 1, i)
  8377. local ns = lerp(1,1.2,i)
  8378. magik2.Transparency = newTrans
  8379. magik2.Size = Vector3.new(ns,ns,ns)
  8380. magik2.CFrame = cf
  8381. rs:wait()
  8382. end
  8383. magik2:Destroy()
  8384. --elseif stanceToggle ~= "Melee" then
  8385. --wait()
  8386. --end
  8387. end)
  8388. end
  8389. ----------------------------------------------------
  8390. Magik3 = function()
  8391. Spawn(function()
  8392. --if stanceToggle == "Devil" then
  8393. local function lerp(a,b,c)
  8394. return a+(b-a)*c
  8395. end
  8396. local function rndRange(rng)
  8397. return math.random(-rng*1000,rng*1000)/1000
  8398. end
  8399. local magik3 = Instance.new("Part", rarm)
  8400. local Colors = {"Really red", "Really black"}
  8401. magik3.Anchored = true
  8402. magik3.Locked = true
  8403. magik3.FormFactor = "Custom"
  8404. magik3.Size = Vector3.new(1.2, 1.2, 1.2)
  8405. magik3.TopSurface = "Smooth"
  8406. magik3.BottomSurface = "Smooth"
  8407. magik3.Transparency = 0
  8408. magik3.CanCollide = false
  8409. magik3.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8410. local mr = math.rad
  8411. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8412. local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8413. magik3.CFrame = cf
  8414. for i = 0, 1, .05 do
  8415. local newTrans = lerp(0.5, 1, i)
  8416. local ns = lerp(1,1.2,i)
  8417. magik3.Transparency = newTrans
  8418. magik3.Size = Vector3.new(ns,ns,ns)
  8419. magik3.CFrame = cf
  8420. rs:wait()
  8421. end
  8422. magik3:Destroy()
  8423. --elseif stanceToggle ~= "Devil" then
  8424. --wait()
  8425. --end
  8426. end)
  8427. end
  8428. ----------------------------------------------------
  8429. Magik4 = function()
  8430. Spawn(function()
  8431. --if stanceToggle == "Devil" then
  8432. local function lerp(a,b,c)
  8433. return a+(b-a)*c
  8434. end
  8435. local function rndRange(rng)
  8436. return math.random(-rng*1000,rng*1000)/1000
  8437. end
  8438. local magik4 = Instance.new("Part", larm)
  8439. local Colors = {"Really red", "Really black"}
  8440. magik4.Anchored = true
  8441. magik4.Locked = true
  8442. magik4.FormFactor = "Custom"
  8443. magik4.Size = Vector3.new(1.2, 1.2, 1.2)
  8444. magik4.TopSurface = "Smooth"
  8445. magik4.BottomSurface = "Smooth"
  8446. magik4.Transparency = 0
  8447. magik4.CanCollide = false
  8448. magik4.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  8449. local mr = math.rad
  8450. local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180))
  8451. local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)
  8452. magik4.CFrame = cf
  8453. for i = 0, 1, .05 do
  8454. local newTrans = lerp(0.5, 1, i)
  8455. local ns = lerp(1,1.2,i)
  8456. magik4.Transparency = newTrans
  8457. magik4.Size = Vector3.new(ns,ns,ns)
  8458. magik4.CFrame = cf
  8459. rs:wait()
  8460. end
  8461. magik4:Destroy()
  8462. --elseif stanceToggle ~= "Devil" then
  8463. --wait()
  8464. --end
  8465. end)
  8466. end
  8467. ----------------------------------------------------
  8468. mouse.KeyDown:connect(function(key)
  8469. if key == "e" then
  8470. if Debounces.CanAttack == true then
  8471. Debounces.CanAttack = false
  8472. Debounces.on = true
  8473. Debounces.NoIdl = true
  8474. pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
  8475. z = Instance.new("Sound", rarm)
  8476. z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  8477. z.Volume = .6
  8478. z.Pitch = pt[math.random(1,#pt)]
  8479. z.Looped = false
  8480. z:Play()
  8481. Debounces.RPunch = true
  8482. Debounces.LPunch = true
  8483. Debounces.ks = true
  8484. Debounces.ks2 = true
  8485. for i = 1, 3 do
  8486. 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)
  8487. 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)
  8488. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8489. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8490. 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)
  8491. 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)
  8492. if Debounces.on == false then break end
  8493. wait()
  8494. end
  8495. z2 = Instance.new("Sound", larm)
  8496. z2.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8497. z2.Volume = .6
  8498. z2.Pitch = pt[math.random(1,#pt)]
  8499. z2.Looped = false
  8500. z2:Play()
  8501. for i = 1, 3 do
  8502. 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)
  8503. 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)
  8504. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8505. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8506. 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)
  8507. 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)
  8508. if Debounces.on == false then break end
  8509. wait()
  8510. end
  8511. z3 = Instance.new("Sound", rarm)
  8512. z3.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8513. z3.Volume = 0.6
  8514. z3.Pitch = pt[math.random(1,#pt)]
  8515. z3.Looped = false
  8516. z3:Play()
  8517. for i = 1, 3 do
  8518. 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)
  8519. 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)
  8520. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8521. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8522. 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)
  8523. 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)
  8524. if Debounces.on == false then break end
  8525. wait()
  8526. end
  8527. z4 = Instance.new("Sound", larm)
  8528. z4.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8529. z4.Volume = .6
  8530. z4.Pitch = pt[math.random(1,#pt)]
  8531. z4.Looped = false
  8532. z4:Play()
  8533. for i = 1, 3 do
  8534. 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)
  8535. 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)
  8536. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8537. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8538. 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)
  8539. 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)
  8540. if Debounces.on == false then break end
  8541. wait()
  8542. end
  8543. z5 = Instance.new("Sound", rarm)
  8544. z5.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8545. z5.Volume = .6
  8546. z5.Pitch = pt[math.random(1,#pt)]
  8547. z5.Looped = false
  8548. z5:Play()
  8549. for i = 1, 3 do
  8550. 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)
  8551. 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)
  8552. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
  8553. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
  8554. 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)
  8555. 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)
  8556. if Debounces.on == false then break end
  8557. wait()
  8558. end
  8559. z6 = Instance.new("Sound", larm)
  8560. z6.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8561. z6.Volume = .6
  8562. z6.Pitch = pt[math.random(1,#pt)]
  8563. z6.Looped = false
  8564. z6:Play()
  8565. for i = 1, 3 do
  8566. 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)
  8567. 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)
  8568. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8569. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8570. 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)
  8571. 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)
  8572. if Debounces.on == false then break end
  8573. wait()
  8574. end
  8575. z7 = Instance.new("Sound", rarm)
  8576. z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212
  8577. z7.Volume = .6
  8578. z7.Pitch = pt[math.random(1,#pt)]
  8579. z7.Looped = false
  8580. z7:Play()
  8581. for i = 1, 3 do
  8582. 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)
  8583. 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)
  8584. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8585. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8586. 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)
  8587. 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)
  8588. if Debounces.on == false then break end
  8589. wait()
  8590. end
  8591. z8 = Instance.new("Sound", larm)
  8592. z8.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8593. z8.Volume = .6
  8594. z8.Pitch = pt[math.random(1,#pt)]
  8595. z8.Looped = false
  8596. z8:Play()
  8597. for i = 1, 3 do
  8598. 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)
  8599. 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)
  8600. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8601. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8602. 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)
  8603. 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)
  8604. if Debounces.on == false then break end
  8605. wait()
  8606. end
  8607. z9 = Instance.new("Sound", rarm)
  8608. z9.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8609. z9.Volume = 0.6
  8610. z9.Pitch = pt[math.random(1,#pt)]
  8611. z9.Looped = false
  8612. z9:Play()
  8613. for i = 1, 3 do
  8614. 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)
  8615. 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)
  8616. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  8617. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  8618. 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)
  8619. 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)
  8620. if Debounces.on == false then break end
  8621. wait()
  8622. end
  8623. z10 = Instance.new("Sound", larm)
  8624. z10.SoundId = "http://www.roblox.com/asset/?id=206083107"
  8625. z10.Volume = .6
  8626. z10.Pitch = pt[math.random(1,#pt)]
  8627. z10.Looped = false
  8628. z10:Play()
  8629. for i = 1, 3 do
  8630. 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)
  8631. 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)
  8632. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  8633. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  8634. 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)
  8635. 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)
  8636. if Debounces.on == false then break end
  8637. wait()
  8638. end
  8639. z:Destroy()
  8640. z2:Destroy()
  8641. z3:Destroy()
  8642. z4:Destroy()
  8643. z5:Destroy()
  8644. z6:Destroy()
  8645. z7:Destroy()
  8646. z8:Destroy()
  8647. z9:Destroy()
  8648. z10:Destroy()
  8649. Debounces.LPunch = false
  8650. Debounces.RPunch = false
  8651. Debounces.ks = false
  8652. Debounces.ks2 = false
  8653. if Debounces.CanAttack == false then
  8654. Debounces.CanAttack = true
  8655. Debounces.on = false
  8656. Debounces.NoIdl = false
  8657. end
  8658. end
  8659. end
  8660. end)
  8661. -------------------------------
  8662.  
  8663.  
  8664. do2 = function()
  8665. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8666. local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  8667. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  8668. local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  8669. local da1 = lparti1:Clone()
  8670. local da2 = lparti1:Clone()
  8671. da1.Parent = sbref1
  8672. da2.Parent = sbref2
  8673. da1.Enabled = true
  8674. da2.Enabled = true
  8675. d0arm[1] = da1
  8676. d0arm[2] = da2
  8677.  
  8678.  
  8679. end
  8680.  
  8681.  
  8682. function makeClaw()
  8683. local m = Instance.new("Model",char)
  8684. m.Name = "WeaponModel"
  8685. ------------------------------------------------------
  8686.  
  8687. function NoOutlineo(Part)
  8688. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  8689. end
  8690.  
  8691. function swaito(num)
  8692. if num==0 or num==nil then
  8693. game:service'RunService'.Heartbeat:wait(0)
  8694. else
  8695. for i=0,num do
  8696. game:service'RunService'.Heartbeat:wait(0)
  8697. end
  8698. end
  8699. end
  8700.  
  8701. function nooutlineo(part)
  8702. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  8703. end
  8704.  
  8705. function partio(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  8706. local fp=it("Part")
  8707. fp.formFactor=formfactor
  8708. fp.Parent=parent
  8709. fp.Reflectance=reflectance
  8710. fp.Transparency=transparency
  8711. fp.CanCollide=false
  8712. fp.Locked=true
  8713. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  8714. fp.Name=name
  8715. fp.Size=size
  8716. fp.Position=Character.Torso.Position
  8717. nooutlineo(fp)
  8718. fp.Material=material
  8719. fp:BreakJoints()
  8720. return fp
  8721. end
  8722.  
  8723. function mesho(Mesh,part,meshtype,meshid,offset,scale)
  8724. local mesh=it(Mesh)
  8725. mesh.Parent=part
  8726. if Mesh=="SpecialMesh" then
  8727. mesh.MeshType=meshtype
  8728. mesh.MeshId=meshid
  8729. end
  8730. mesh.Offset=offset
  8731. mesh.Scale=scale
  8732. return mesh
  8733. end
  8734.  
  8735. function weldio(parent,part0,part1,c0,c1)
  8736. local weld=it("Weld")
  8737. weld.Parent=parent
  8738. weld.Part0=part0
  8739. weld.Part1=part1
  8740. weld.C0=c0
  8741. weld.C1=c1
  8742. return weld
  8743. end
  8744.  
  8745.  
  8746. local function CFrameFromTopBack(at, top, back)
  8747. local right = top:Cross(back)
  8748. return CFrame.new(at.x, at.y, at.z,
  8749. right.x, top.x, back.x,
  8750. right.y, top.y, back.y,
  8751. right.z, top.z, back.z)
  8752. end
  8753.  
  8754.  
  8755. Handle0=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Handle0",Vector3.new(1, 0.800000012, 1))
  8756.  
  8757. 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))
  8758. Hitbox=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  8759. 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))
  8760. Part1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 1))
  8761. 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))
  8762. Part2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8763. 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))
  8764. Part3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8765. 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))
  8766. Part4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  8767. 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))
  8768. Part5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8769. 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))
  8770. Part6=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  8771. 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))
  8772. Part7=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  8773. 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))
  8774. Part8=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  8775. 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))
  8776. Part9=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8777. 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))
  8778. Part10=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8779. 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))
  8780. Part11=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8781. 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))
  8782. Part12=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  8783. 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))
  8784. Part13=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 2, 1))
  8785. 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))
  8786. Part14=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 1.39999998, 0.200000003))
  8787. 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))
  8788. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8789. Part15=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.600000024, 0.200000003))
  8790. 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))
  8791. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8792. Part16=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  8793. 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))
  8794. Part17=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8795. 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))
  8796. --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))
  8797. Part18=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8798. 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))
  8799. --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))
  8800. Part19=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8801. 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))
  8802. --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))
  8803. Part20=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  8804. 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))
  8805. Part21=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  8806. 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))
  8807. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8808. Part22=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.200000003))
  8809. 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))
  8810. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8811. Part23=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  8812. 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))
  8813. Part24=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  8814. 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))
  8815. --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))
  8816. Part25=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(1, 0.200000003, 0.400000006))
  8817. 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))
  8818.  
  8819. --mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  8820. Part26=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"New Yeller","Part",Vector3.new(0.200000003, 0.400000006, 1))
  8821. 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))
  8822. Finger1Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8823. 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))
  8824. Finger2Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8825. 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))
  8826. Finger3Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8827. 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))
  8828. Finger4Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8829. 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))
  8830. Finger5Connector=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  8831. colc = math.random(1,7)
  8832. 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))
  8833. Finger1=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  8834. colc = math.random(1,7)
  8835. 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))
  8836. Finger2=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8837. colc = math.random(1,7)
  8838. 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))
  8839. Finger3=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8840. colc = math.random(1,7)
  8841. 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))
  8842. Finger4=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8843. colc = math.random(1,7)
  8844. 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))
  8845. Finger5=partio(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,Neonsc[colc],"Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  8846. colc = math.random(1,7)
  8847. 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))
  8848. colc = math.random(1,7)
  8849. ------------------------------------------------
  8850. Handle0.Transparency=1
  8851. Part1.Transparency=1 --1
  8852. Part2.Transparency=1 --2
  8853. Part3.Transparency=1 --3
  8854. Part4.Transparency=1 --4
  8855. Part5.Transparency=1 --5
  8856. Part6.Transparency=1 --6
  8857. Part7.Transparency=1
  8858. Part8.Transparency=1
  8859. Part9.Transparency=1
  8860. Part10.Transparency=1
  8861. Part11.Transparency=1 --11
  8862. Part12.Transparency=1
  8863. Part13.Transparency=1
  8864. Part14.Transparency=1
  8865. Part15.Transparency=1
  8866. Part16.Transparency=1
  8867. Part17.Transparency=1
  8868. Part18.Transparency=1
  8869. Part19.Transparency=1
  8870. Part20.Transparency=1
  8871. Part21.Transparency=1
  8872. Part22.Transparency=1
  8873. Part23.Transparency=1
  8874. Part24.Transparency=1
  8875. Part25.Transparency=1
  8876. Part26.Transparency=1 --25
  8877. Finger1Connector.Transparency=1
  8878. Finger2Connector.Transparency=1
  8879. Finger3Connector.Transparency=1
  8880. Finger4Connector.Transparency=1
  8881. Finger5Connector.Transparency=1
  8882. Hitbox.Transparency=1
  8883. clawPart1[1] = Finger1
  8884. clawPart1[2] = Finger2
  8885. clawPart1[3] = Finger3
  8886. clawPart1[4] = Finger4
  8887. clawPart1[5] = Finger5
  8888. clawPart1[6] = Finger1weld
  8889. clawPart1[7] = Finger2weld
  8890. clawPart1[8] = Finger3weld
  8891. clawPart1[9] = Finger4weld
  8892. clawPart1[10] = Finger5weld
  8893. clawPart1[11] = Hitbox
  8894. end
  8895.  
  8896. function bird()
  8897. for i = 0,1,0.1 do
  8898. swait()
  8899. 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)
  8900. 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)
  8901. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8902. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8903. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8904. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8905. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8906. end
  8907. for i = 0,1,0.01 do
  8908. swait()
  8909. 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)
  8910. 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)
  8911. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  8912. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8913. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  8914. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  8915. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  8916. end
  8917.  
  8918.  
  8919. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  8920. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  8921. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  8922. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  8923. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  8924. end
  8925. --------------------------------
  8926. equipanim = function()
  8927.  
  8928. local colin = 1
  8929. local colnumer = 0
  8930. for i = 0, 1, 0.1 do
  8931. swait()
  8932. colnumer = colnumer + 1
  8933.  
  8934. if #Neonsc - 1 < colin and (colnumer) % 2 == 0 then
  8935. colin = 1
  8936. end
  8937.  
  8938. if (colnumer) % 2 == 0 then
  8939. colin = colin + 1
  8940. end
  8941.  
  8942. MagicBlock2(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8943. MagicBlock2(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  8944.  
  8945. 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)
  8946. 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)
  8947.  
  8948. end
  8949. --colc = math.random(1,7)
  8950. MagicCircleo(Neonsc[colin], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  8951. --colc = math.random(1,7)
  8952. MagicCircleo(Neonsc[colin], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  8953.  
  8954.  
  8955. end
  8956. ----------------------------------
  8957. function GetParts(obj)
  8958. for i, v in pairs(obj:GetChildren())do
  8959. if ( v:IsA'BasePart' ) then
  8960. if v.Name ~= "Trail" then
  8961. Instance.new("ForceField", v);
  8962. end
  8963. end
  8964. GetParts(v);
  8965. end
  8966. end
  8967.  
  8968. GetParts(char);
  8969. ----------------------------------------------------
  8970.  
  8971.  
  8972. ----------------------------------------------------
  8973. p13.Touched:connect(function(ht)
  8974. hit = ht.Parent
  8975. if ht and hit:IsA("Model") then
  8976. if hit:FindFirstChild("Humanoid") then
  8977. if hit.Name ~= p.Name then
  8978. if slashing == true then
  8979. hit:FindFirstChild("Humanoid"):TakeDamage(1000)
  8980. wait(.3)
  8981. end
  8982. end
  8983. end
  8984. elseif ht and hit:IsA("Hat") then
  8985. if hit.Parent.Name ~= p.Name then
  8986. if hit.Parent:FindFirstChild("Humanoid") then
  8987. if slashing == true then
  8988. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(1000)
  8989. wait(.3)
  8990. end
  8991. end
  8992. end
  8993. end
  8994. end)
  8995. ----------------------------------------------------
  8996. mouse.KeyDown:connect(function(key)
  8997. if string.byte(key) == 52 then
  8998. char.Humanoid.WalkSpeed = 60
  8999. end
  9000. end)
  9001. mouse.KeyUp:connect(function(key)
  9002. if string.byte(key) == 52 then
  9003. char.Humanoid.WalkSpeed = 8
  9004. end
  9005. end)
  9006. -------------------------------
  9007. local animpose = "Idle"
  9008. local lastanimpose = "Idle"
  9009. local grab = false
  9010. local sine = 0
  9011. local change = 1
  9012. local val = 0
  9013. local ffing = false
  9014. -------------------------------
  9015. game:GetService("RunService").RenderStepped:connect(function()
  9016. --[[if char.Humanoid.Jump == true then
  9017. jump = true
  9018. else
  9019. jump = false
  9020. end]]
  9021. char.Humanoid.FreeFalling:connect(function(f)
  9022. if f then
  9023. ffing = true
  9024. else
  9025. ffing = false
  9026. end
  9027. end)
  9028. sine = sine + change
  9029. if jumpn == true then
  9030. animpose = "Jumping"
  9031. elseif ffing == true then
  9032. animpose = "Freefalling"
  9033. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  9034. animpose = "Idle"
  9035. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  9036. animpose = "Walking"
  9037. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  9038. animpose = "Running"
  9039. end
  9040. if animpose ~= lastanimpose then
  9041. sine = 0
  9042. if Debounces.NoIdl == false then
  9043. if animpose == "Idle" then
  9044. for i = 1, 2 do
  9045.  
  9046. if myVars[5] ~= "ssl3_1" then
  9047. 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)
  9048. 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)
  9049. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9050. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  9051. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  9052. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  9053. if myVars[3] ~= nil then
  9054. if myVars[3] == "claw" then
  9055.  
  9056.  
  9057. clawPart1[6].C0=clerp(clawPart1[6].C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  9058. clawPart1[7].C0=clerp(clawPart1[7].C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  9059. clawPart1[8].C0=clerp(clawPart1[8].C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  9060. clawPart1[9].C0=clerp(clawPart1[9].C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  9061. clawPart1[10].C0=clerp(clawPart1[10].C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  9062. end
  9063. end
  9064. else
  9065. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  9066. 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)
  9067. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
  9068. larm.Weld.C0=clerp(larm.Weld.C0,cf(-1.5,0.5,0)*euler(-0.4,0,-0.2),.3)
  9069. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  9070. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
  9071. end
  9072. end
  9073. elseif animpose == "Walking" then
  9074. for i = 1, 2 do
  9075. if myVars[5] ~= "ssl3_1" then
  9076. if Melee == false then
  9077. 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)
  9078. else
  9079. 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)
  9080. end
  9081. 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)
  9082. 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)
  9083. 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)
  9084. 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)
  9085. 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)
  9086. else
  9087. 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)
  9088. 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)
  9089. 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)
  9090. 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)
  9091. 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)
  9092. 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)
  9093. end
  9094. end
  9095. elseif animpose == "Running" then
  9096. for i = 1, 2 do
  9097. 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)
  9098. 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)
  9099. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4)
  9100. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4)
  9101. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4)
  9102. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4)
  9103. wait()
  9104. end
  9105. end
  9106. if stanceToggle == "Grabbed" then
  9107. 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)
  9108. 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)
  9109. 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)
  9110. 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)
  9111. 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)
  9112. 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)
  9113. end
  9114. else
  9115. end
  9116. end
  9117. lastanimpose = animpose
  9118. if Debounces.NoIdl == false then
  9119. if animpose == "Idle" then
  9120. if myVars[5] ~= "ssl3_1" then
  9121. change = 0.5
  9122. 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)
  9123. 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)
  9124. 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)
  9125. 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)
  9126. 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)
  9127. 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)
  9128.  
  9129. else
  9130. 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)
  9131. 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)
  9132. 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)
  9133. 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)
  9134. 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)
  9135. 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)
  9136. end
  9137. elseif animpose == "Walking" then
  9138. change = 1
  9139. if myVars[5] ~= "ssl3_1" then
  9140. if Melee == false then
  9141. 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)
  9142. else
  9143. 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)
  9144. end
  9145. 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)
  9146. 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)
  9147. 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)
  9148. 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)
  9149. 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)
  9150. else
  9151. 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)
  9152. 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)
  9153. 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)
  9154. 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)
  9155. 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)
  9156. 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)
  9157. end
  9158. elseif animpose == "Running" then
  9159. change = 1
  9160. 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)
  9161. 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)
  9162. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  9163. 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)
  9164. 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)
  9165. 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)
  9166. end
  9167. end
  9168. end)
  9169.  
  9170. hum.MaxHealth = 9001
  9171. wait(3)
  9172. hum.Health = 9001
  9173. local Neonlist = {"Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Royal purple", "Bright violet"}
  9174.  
  9175. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  9176. --[[Part0 = Vector3 (Start pos)
  9177. Part1 = Vector3 (End pos)
  9178. Times = number (Amount of lightning parts)
  9179. Offset = number (Offset)
  9180. Color = color (brickcolor value)
  9181. Thickness = number (thickness)
  9182. Trans = number (transparency)
  9183. ]]--
  9184. local magz = (Part0 - Part1).magnitude
  9185. local curpos = Part0
  9186. local trz = {-Offset,Offset}
  9187. for i=1,Times do
  9188. local li = Instance.new("Part", torso)
  9189. li.Name = "Lightning"
  9190. li.TopSurface =0
  9191. li.Material = "Neon"
  9192. li.BottomSurface = 0
  9193. li.Anchored = true
  9194. li.Locked = true
  9195. li.Transparency = Trans or 0.4
  9196. li.BrickColor = BrickColor.new(Color)
  9197. li.formFactor = "Custom"
  9198. li.CanCollide = false
  9199. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  9200. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  9201. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  9202. if Times == i then
  9203. local magz2 = (curpos - Part1).magnitude
  9204. li.Size = Vector3.new(Thickness,Thickness,magz2)
  9205. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  9206. else
  9207. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  9208. end
  9209. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  9210. game.Debris:AddItem(li,.1)
  9211. end
  9212. end
  9213.  
  9214. BodyParts = {} -- Parts to emit lightning effects from
  9215. for _, v in pairs(char:GetChildren()) do
  9216. if v:IsA("Part") then
  9217. table.insert(BodyParts, v)
  9218. end
  9219. end
  9220.  
  9221. Bounding = {} -- Calculate the bounding boxes
  9222. for _, v in pairs(BodyParts) do
  9223. local temp = {X=nil, Y=nil, Z=nil}
  9224. temp.X = v.Size.X/2 * 10
  9225. temp.Y = v.Size.Y/2 * 10
  9226. temp.Z = v.Size.Z/2 * 10
  9227. Bounding[v.Name] = temp
  9228. --table.insert(Bounding, v.Name, temp)
  9229. end
  9230.  
  9231.  
  9232.  
  9233.  
  9234. print("Bloxxy loaded.")
  9235. local mananum = 0
  9236. local donum = 0
  9237. local stunnum = 0
  9238. local staggeranim = false
  9239. local stunanim = false
  9240. local walk = 0
  9241. local walkforw = true
  9242. local fnum = 0
  9243. local domodel = false
  9244. local gef = 10
  9245. local col = 1
  9246. local colnum = 0
  9247. while true do
  9248. swait()
  9249.  
  9250. colnum = colnum + 1
  9251. if #Neons - 1 < col and (colnum) % 2 == 0 then
  9252. col = 1
  9253. end
  9254. if (colnum) % 2 == 0 then
  9255. col = col + 1
  9256. end
  9257. if Humanoid.Health <= 0 then
  9258. attack = true
  9259. resumeControl()
  9260. modelzorz.Parent = workspace
  9261. model2.Parent = workspace
  9262. game:GetService("Debris"):AddItem(modelzorz, 30)
  9263. game:GetService("Debris"):AddItem(model2, 30)
  9264. if domodel == false then
  9265. domodel = true
  9266. for i = 1, #Weapon do
  9267. Weapon[i].Parent = modelzorz
  9268. Weapon[i].CanCollide = true
  9269. end
  9270. for i = 1, #Welds do
  9271. Welds[i].Parent = main1
  9272. end
  9273. end
  9274. end
  9275. do
  9276.  
  9277. if equipped == true then
  9278.  
  9279. if 1 < RootPart.Velocity.y and hitfloor == nil then
  9280.  
  9281. else
  9282. if RootPart.Velocity.y < -1 and hitfloor == nil then
  9283.  
  9284.  
  9285. else
  9286. if torvel < 1 and hitfloor ~= nil then
  9287.  
  9288. else
  9289. if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  9290.  
  9291.  
  9292. else
  9293. do
  9294.  
  9295. end
  9296. end
  9297. end
  9298. end
  9299. end
  9300.  
  9301. end
  9302. if #Effects>0 then
  9303. for e=1,#Effects do
  9304. if Effects[e]~=nil then
  9305. local Thing=Effects[e]
  9306. if Thing ~= nil then
  9307. local Part = Thing[1]
  9308. local Mode = Thing[2]
  9309. local Delay = Thing[3]
  9310. local IncX = Thing[4]
  9311. local IncY = Thing[5]
  9312. local IncZ = Thing[6]
  9313. if Thing[2] == "CylinderClang" then
  9314. if Thing[3] <= 1 then
  9315. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  9316. Thing[7] = Thing[1].CFrame
  9317. effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  9318. Thing[8] = Thing[7]
  9319. Thing[3] = Thing[3] + Thing[4]
  9320. else
  9321. Part.Parent = nil
  9322. table.remove(Effects, e)
  9323. end
  9324. end
  9325. if Thing[2] == "showDamage" then
  9326. if Thing[6] < Thing[5] then
  9327. Thing[6] = Thing[6] + 1
  9328. else
  9329. if Thing[6] < Thing[7] then
  9330. Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  9331. Thing[6] = Thing[6] + 1
  9332. else
  9333. if Thing[6] < Thing[8] then
  9334. Thing[6] = Thing[6] + 1
  9335. else
  9336. if Thing[6] < Thing[9] then
  9337. Thing[6] = Thing[6] + 1
  9338. Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  9339. Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  9340. Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  9341. else
  9342. Thing[1].Parent = nil
  9343. table.remove(Effects, e)
  9344. end
  9345. end
  9346. end
  9347. end
  9348. end
  9349. if Thing[2] == "CloneEf" then
  9350. if Thing[3] <= 500 then
  9351. Thing[3] = Thing[3] + 1
  9352. if 10 <= Thing[4] then
  9353. Thing[4] = 0
  9354. end
  9355. Thing[4] = Thing[4] + 1
  9356. else
  9357. table.remove(Effects, e)
  9358. end
  9359. end
  9360. if Thing[2] == "SatelliteStrike" then
  9361. if Thing[5] < 100 then
  9362. Thing[5] = Thing[5] + 2
  9363. Thing[6] = Thing[6] + 1
  9364. if 2 < Thing[6] then
  9365. Thing[6] = 0
  9366. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  9367. Thing[3].Transparency = 0.8
  9368. Thing[3].BrickColor = BrickColor.new("Really red")
  9369. else
  9370. Thing[3].Transparency = 0.8
  9371. Thing[3].BrickColor = BrickColor.new("New Yeller")
  9372. end
  9373. end
  9374. else
  9375. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9376. refda.Anchored = true
  9377. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  9378. game:GetService("Debris"):AddItem(refda, 1)
  9379. local mag = (refda.Position - Thing[1].Position).magnitude
  9380. 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)
  9381. Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  9382. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  9383. refda.CFrame = cf(Thing[1].Position)
  9384. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  9385. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  9386. MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  9387. refda.CFrame = cf(Thing[1].Position)
  9388. so("341336446", refda, 1, math.random(100, 120) / 100)
  9389. so("341336459", refda, 1, math.random(100, 120) / 100)
  9390. Thing[1].Parent = nil
  9391. table.remove(Effects, e)
  9392. end
  9393. end
  9394. do
  9395. if Thing[2] == "SatelliteStrike2" then
  9396. if Thing[5] < 100 then
  9397. Thing[5] = Thing[5] + 2
  9398. Thing[6] = Thing[6] + 1
  9399. if 2 < Thing[6] then
  9400. Thing[6] = 0
  9401. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  9402. Thing[3].Transparency = 0.8
  9403. Thing[3].BrickColor = BrickColor.new("Really red")
  9404. else
  9405. Thing[3].Transparency = 0.8
  9406. Thing[3].BrickColor = BrickColor.new("New Yeller")
  9407. end
  9408. end
  9409. else
  9410. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9411. refda.Anchored = true
  9412. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  9413. game:GetService("Debris"):AddItem(refda, 1)
  9414. local mag = (refda.Position - Thing[1].Position).magnitude
  9415. 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)
  9416. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  9417. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  9418. refda.CFrame = cf(Thing[1].Position)
  9419. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  9420. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  9421. MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  9422. refda.CFrame = cf(Thing[1].Position)
  9423. so("341336446", refda, 1, math.random(70, 90) / 100)
  9424. so("341336459", refda, 1, math.random(50, 80) / 100)
  9425. Thing[1].Parent = nil
  9426. table.remove(Effects, e)
  9427. end
  9428. end
  9429. do
  9430. if Thing[2] == "Shoot" then
  9431. Thing[11] = Thing[11] + 0.02
  9432. local Look = Thing[1]
  9433. local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  9434. local mag = (Thing[4] - pos).magnitude
  9435. if 6 < Thing[8] then
  9436. Thing[8] = 1
  9437. else
  9438. Thing[8] = Thing[8] + 1
  9439. end
  9440. 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)
  9441. Thing[9].BrickColor = Neons[Thing[8]]
  9442. Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  9443. Thing[4] = Thing[4] + Look * Thing[11]
  9444. Thing[3] = Thing[3] - 1
  9445. if hit ~= nil then
  9446. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  9447. end
  9448. if Thing[3] <= 0 then
  9449. Thing[9].Parent = nil
  9450. table.remove(Effects, e)
  9451. end
  9452. end
  9453. do
  9454. if Thing[2] == "Shoot2" then
  9455. local Look = Thing[1]
  9456. local hit, pos = rayCast(Thing[4], Look, 4, Character)
  9457. local mag = (Thing[4] - pos).magnitude
  9458. if 6 < Thing[8] then
  9459. Thing[8] = 1
  9460. else
  9461. Thing[8] = Thing[8] + 1
  9462. end
  9463. 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)
  9464. Thing[4] = Thing[4] + Look * 4
  9465. Thing[3] = Thing[3] - 1
  9466. if hit ~= nil then
  9467. Thing[3] = 0
  9468. Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  9469. end
  9470. if Thing[3] <= 0 then
  9471. table.remove(Effects, e)
  9472. end
  9473. end
  9474. do
  9475. if Thing[2] == "Shoot3" then
  9476. local Look = Thing[1]
  9477. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  9478. local mag = (Thing[4] - pos).magnitude
  9479. if 6 < Thing[8] then
  9480. Thing[8] = 1
  9481. else
  9482. Thing[8] = Thing[8] + 1
  9483. end
  9484. Thing[11] = Thing[11] + 0.05
  9485. Thing[9].BrickColor = Neons[Thing[8]]
  9486. 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)
  9487. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  9488. Thing[4] = Thing[4] + Look * 1.5
  9489. Thing[3] = Thing[3] - 1
  9490. if hit ~= nil then
  9491. Thing[3] = 0
  9492. end
  9493. if Thing[3] <= 0 then
  9494. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  9495. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  9496. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9497. staaaaref.Anchored = true
  9498. staaaaref.CFrame = cf(Thing[9].Position)
  9499. game:GetService("Debris"):AddItem(staaaaref, 1)
  9500. so("341336499", staaaaref, 0.8, 2)
  9501. 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)
  9502. Thing[9].Parent = nil
  9503. table.remove(Effects, e)
  9504. end
  9505. end
  9506. do
  9507. if Thing[2] == "Shoot4" then
  9508. local Look = Thing[1]
  9509. local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  9510. local mag = (Thing[4] - pos).magnitude
  9511. if 6 < Thing[8] then
  9512. Thing[8] = 1
  9513. else
  9514. Thing[8] = Thing[8] + 1
  9515. end
  9516. Thing[11] = Thing[11] + 0.05
  9517. Thing[9].BrickColor = Neons[Thing[8]]
  9518. 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)
  9519. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  9520. Thing[4] = Thing[4] + Look * 1.5
  9521. Thing[3] = Thing[3] - 1
  9522. if hit ~= nil then
  9523. Thing[3] = 0
  9524. end
  9525. if Thing[3] <= 0 then
  9526. MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  9527. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  9528. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  9529. MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  9530. local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  9531. staaaaref.Anchored = true
  9532. staaaaref.CFrame = cf(Thing[9].Position)
  9533. game:GetService("Debris"):AddItem(staaaaref, 1)
  9534. so("341336499", staaaaref, 0.8, 1)
  9535. 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)
  9536. Thing[9].Parent = nil
  9537. table.remove(Effects, e)
  9538. end
  9539. end
  9540. do
  9541. do
  9542. 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
  9543. if Thing[1].Transparency <= 1 then
  9544. if Thing[2] == "Block1" then
  9545. Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  9546. Mesh = Thing[7]
  9547. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9548. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9549. else
  9550. if Thing[2] == "Block2" then
  9551. Thing[1].CFrame = Thing[1].CFrame
  9552. Mesh = Thing[7]
  9553. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9554. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9555. else
  9556. if Thing[2] == "Block3" then
  9557. Thing[8] = Thing[8] * cf(0, 1, 0)
  9558. Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  9559. Mesh = Thing[7]
  9560. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9561. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9562. else
  9563. if Thing[2] == "Block4" then
  9564. if #Neons - 1 < Thing[8] then
  9565. Thing[8] = 1
  9566. else
  9567. Thing[8] = Thing[8] + 1
  9568. end
  9569. else
  9570.  
  9571. if Thing[2] == "Cylinder" then
  9572. Mesh = Thing[7]
  9573. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  9574. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  9575. end
  9576. end
  9577. end
  9578. end
  9579. end
  9580. else
  9581. Part.Parent = nil
  9582. table.remove(Effects, e)
  9583. end
  9584. end
  9585. end
  9586. end
  9587. end
  9588. end
  9589. end
  9590. end
  9591. end
  9592. end
  9593. end
  9594. end
  9595. end
  9596. end
  9597. if swordPowerUp == true then
  9598. MagicBlock2(Neons[col], blade1Tip.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9599. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9600. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9601. end
  9602. if d0arm[3] == "true" then
  9603. d0arm[1].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  9604. d0arm[2].Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  9605. end
  9606. if rainbowHands == true then
  9607. if myVars[5] == "ssl3" or myVars[5] == "ssl3_1" then
  9608. if Melee == false then
  9609. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9610. else
  9611. if powerHand == false then
  9612. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9613. end
  9614. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9615. end
  9616. else
  9617. if powerHand == false then
  9618. MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9619. end
  9620. MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9621. end
  9622. end
  9623. for key, value in pairs(myDictionary) do
  9624. if value == "disco" then
  9625. if key.Name ~= p.Name then
  9626. MagicBlock2(Neons[col], key['Right Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9627. MagicBlock2(Neons[col], key['Left Arm'].CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  9628. end
  9629. end
  9630. end
  9631. if newMode == true then
  9632. if rainbowssl == false then
  9633. 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)))
  9634. 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)))
  9635. 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))
  9636. torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
  9637. 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)))
  9638. 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)))
  9639. end
  9640. end
  9641.  
  9642. lightningNum = math.random(1,100)
  9643. if lightningNum <= 80 and lightningNum >= 60 then
  9644. --while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
  9645. local Body1 = BodyParts[math.random(#BodyParts)]
  9646. local Body2 = BodyParts[math.random(#BodyParts)]
  9647. local Pos1 = Vector3.new(
  9648. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  9649. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  9650. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  9651. )
  9652. local Pos2 = Vector3.new(
  9653. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  9654. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  9655. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  9656. )
  9657. local SPos1 = Body1.Position + Pos1
  9658. local SPos2 = Body2.Position + Pos2
  9659. local cols = math.random(1,7)
  9660. Lightning(SPos1, SPos2, 4, 3, Neonlist[cols], .3, .56)
  9661. end
  9662. swaito()
  9663.  
  9664. if #fx>0 then
  9665. for e=1,#fx do
  9666. if fx[e]~=nil then
  9667. local Thingy=fx[e]
  9668. if Thingy~=nil then
  9669. local Part=Thingy[1]
  9670. local Mode=Thingy[2]
  9671. local Delay=Thingy[3]
  9672. local IncX=Thingy[4]
  9673. local IncY=Thingy[5]
  9674. local IncZ=Thingy[6]
  9675. if Thingy[1].Transparency<=1 then
  9676. if Thingy[2]=="Block1" then
  9677. Thingy[1].CFrame=Thingy[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  9678. Mesh=Thingy[1].Mesh
  9679. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  9680. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9681. elseif Thingy[2]=="Cylinder" then
  9682. Mesh=Thingy[1].Mesh
  9683. Mesh.Scale=Mesh.Scale+vt(Thingy[4],Thingy[5],Thingy[6])
  9684. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9685. elseif Thingy[2]=="Blood" then
  9686. Mesh=Thingy[7]
  9687. Thingy[1].CFrame=Thingy[1].CFrame*cf(0,.5,0)
  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]=="Elec" then
  9691. Mesh=Thingy[1].Mesh
  9692. Mesh.Scale=Mesh.Scale+vt(Thingy[7],Thingy[8],Thingy[9])
  9693. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9694. elseif Thingy[2]=="Disappear" then
  9695. Thingy[1].Transparency=Thingy[1].Transparency+Thingy[3]
  9696. end
  9697. else
  9698. Part.Parent=nil
  9699. table.remove(fx,e)
  9700. end
  9701. end
  9702. end
  9703. end
  9704. end
  9705.  
  9706.  
  9707. end
  9708. 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)
  9709. if gobj ~= nil then
  9710. local ObjectCF = CFrame.new(gpos, gpos+gnormal) * CFrame.Angles(math.pi/2,0,0)
  9711. -- create part flattened on Y axis and set it's CFrame to ObjectCF
  9712. end
  9713.  
  9714.  
  9715.  
  9716.  
  9717.  
  9718.  
  9719. -----------------------------------------
  9720. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement