MysteriousL

CharTransfTest

Jul 23rd, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.85 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local char = p.Character
  3. local mouse = p:GetMouse()
  4. local larm = char["Left Arm"]
  5. local rarm = char["Right Arm"]
  6. local lleg = char["Left Leg"]
  7. local rleg = char["Right Leg"]
  8. local hed = char.Head
  9. local torso = char.Torso
  10. local hum = char.Humanoid
  11. local cam = game.Workspace.CurrentCamera
  12. local root = char.HumanoidRootPart
  13.  
  14. z = Instance.new("Sound",hed)
  15. z.SoundId = "rbxassetid://232213955"
  16. z.Pitch = 1
  17. z.Volume = 1
  18.  
  19. local deb = false
  20. local shot = 0
  21. local debris=game:service"Debris"
  22. local l = game:GetService("Lighting")
  23. local rs = game:GetService("RunService").RenderStepped
  24. hum.MaxHealth = math.huge
  25. hum.Health = math.huge
  26. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  27. math.randomseed(os.time())
  28. for i,v in pairs (hed:GetChildren()) do
  29. if v:IsA("Sound") then
  30. v:Destroy()
  31. end
  32. end
  33.  
  34.  
  35. Debounces = {
  36. }
  37. ypcall(function()
  38. char.Shirt:Destroy()
  39. char.Pants:Destroy()
  40. shirt = Instance.new("Shirt", char)
  41. shirt.Name = "Shirt"
  42. pants = Instance.new("Pants", char)
  43. pants.Name = "Pants"
  44. char.Shirt.ShirtTemplate = "rbxassetid://268303759"
  45. char.Pants.PantsTemplate = "rbxassetid://268303786"
  46. end)
  47. function lerp(a, b, t) -- Linear interpolation
  48. return a + (b - a)*t
  49. end
  50.  
  51. function slerp(a, b, t) --Spherical interpolation
  52. dot = a:Dot(b)
  53. if dot > 0.99999 or dot < -0.99999 then
  54. return t <= 0.5 and a or b
  55. else
  56. r = math.acos(dot)
  57. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  58. end
  59. end
  60.  
  61. function matrixInterpolate(a, b, t)
  62. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  63. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  64. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  65. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  66. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  67. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  68. local t = v1:Dot(v2)
  69. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  70. return CFrame.new()
  71. end
  72. return CFrame.new(
  73. v0.x, v0.y, v0.z,
  74. v1.x, v1.y, v1.z,
  75. v2.x, v2.y, v2.z,
  76. v3.x, v3.y, v3.z)
  77. end
  78. function Lerp(c1,c2,al)
  79. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  80. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  81. for i,v in pairs(com1) do
  82. com1[i] = v+(com2[i]-v)*al
  83. end
  84. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  85. end
  86.  
  87. local Transforming = true
  88. hum.WalkSpeed = 0
  89. local fx = Instance.new("Part",torso)
  90. fx.Anchored = true
  91. fx.Material = "Neon"
  92. fx.CanCollide = false
  93. fx.Locked = true
  94. fx.Transparency = 1
  95. fx.Material = "SmoothPlastic"
  96. fx.Size = Vector3.new(1,1,1)
  97. fx.TopSurface = "SmoothNoOutlines"
  98. fx.BottomSurface = "SmoothNoOutlines"
  99. fx.BrickColor = BrickColor.new("White")
  100. fxm = Instance.new("SpecialMesh",fx)
  101. fxm.MeshId = "http://www.roblox.com/asset/?id=9982590"
  102. fxm.Scale = Vector3.new(1,1,1)
  103. for i = 1, 20 do rs:wait()
  104. fx.Transparency = fx.Transparency - (1/20)
  105. fx.CFrame = torso.CFrame
  106. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  107. rs:wait()
  108. end
  109.  
  110. GroundWave1 = function()
  111. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  112. local Colors = {"Toothpaste", "White"}
  113. local wave = Instance.new("Part", torso)
  114. wave.BrickColor = BrickColor.new('White')
  115. wave.Anchored = true
  116. wave.CanCollide = false
  117. wave.Locked = true
  118. wave.Size = Vector3.new(1, 1, 1)
  119. wave.TopSurface = "Smooth"
  120. wave.BottomSurface = "Smooth"
  121. wave.Transparency = 0.35
  122. wave.CFrame = HandCF
  123. wm = Instance.new("SpecialMesh", wave)
  124. wm.MeshId = "rbxassetid://3270017"
  125. coroutine.wrap(function()
  126. for i = 1, 30, 1 do
  127. wm.Scale = Vector3.new(10 + i*20.4, 10 + i*20.4, 1)
  128. wave.Size = wm.Scale
  129. wave.CFrame = HandCF
  130. wave.Transparency = i/10
  131. wait()
  132. end
  133. wait()
  134. wave:Destroy()
  135. end)()
  136. end
  137.  
  138. GroundWave = function()
  139. if Transforming == true then
  140. local wave = Instance.new("Part", torso)
  141. wave.BrickColor = BrickColor.new("Really White")
  142. wave.Anchored = true
  143. wave.CanCollide = false
  144. wave.Locked = true
  145. wave.Size = Vector3.new(1, 1, 1)
  146. wave.TopSurface = "Smooth"
  147. wave.BottomSurface = "Smooth"
  148. wave.Transparency = 0.35
  149. wave.CFrame = fx.CFrame
  150. wm = Instance.new("SpecialMesh", wave)
  151. wm.MeshType = "Sphere"
  152. wm.Scale = Vector3.new(1,1,1)
  153. coroutine.wrap(function()
  154. for i = 1, 18, 1 do
  155. wm.Scale = Vector3.new(8 + i*8, 8 + i*8, 8 + i*8)
  156. --wave.Size = wm.Scale
  157. wave.CFrame = fx.CFrame
  158. wave.Transparency = i/001
  159. wait()
  160. end
  161. wait()
  162. wave:Destroy()
  163. end)()
  164. elseif Transforming == false then
  165. wait()
  166. end
  167. end
  168.  
  169. for i = 1, 100 do rs:wait()
  170. fx.CFrame = torso.CFrame
  171. end
  172.  
  173. Spawn(function()
  174. while wait(1) do
  175. GroundWave()
  176. end
  177. end)
  178.  
  179. wait(4)
  180.  
  181. Transforming = false
  182.  
  183. for i = 1, 20 do rs:wait()
  184. fx.Transparency = fx.Transparency + (1/20)
  185. fx.CFrame = torso.CFrame
  186. fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5)
  187. rs:wait()
  188. end
  189.  
  190. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  191. local wave = Instance.new("Part", torso)
  192. wave.BrickColor = BrickColor.new("Institutional white")
  193. wave.Anchored = true
  194. wave.CanCollide = false
  195. wave.Locked = true
  196. wave.Size = Vector3.new(1, 1, 1)
  197. wave.TopSurface = "Smooth"
  198. wave.BottomSurface = "Smooth"
  199. wave.Transparency = 0.35
  200. wave.CFrame = HandCF
  201. wm = Instance.new("SpecialMesh", wave)
  202. wm.MeshId = "rbxassetid://3270017"
  203. coroutine.wrap(function()
  204. for i = 1, 14, 1 do
  205. wm.Scale = Vector3.new(10 + i*10.1, 10 + i*10.1, 10)
  206. wave.Size = wm.Scale
  207. wave.CFrame = HandCF
  208. wave.Transparency = i/14
  209. wait()
  210. end
  211. wait()
  212. wave:Destroy()
  213. end)()
  214. hum.WalkSpeed = 16
  215. ----------------------------------------------------
  216. Blast = function()
  217. local Colors = {"Toothpaste", "White"}
  218. local wave = Instance.new("Part", torso)
  219. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  220. wave.Anchored = true
  221. wave.CanCollide = false
  222. wave.Locked = true
  223. wave.Size = Vector3.new(1, 1, 1)
  224. wave.TopSurface = "Smooth"
  225. wave.BottomSurface = "Smooth"
  226. wave.Transparency = 0.35
  227. wave.CFrame = rarm.CFrame
  228. wm = Instance.new("SpecialMesh", wave)
  229. wm.MeshType = "Sphere"
  230. wm.Scale = Vector3.new(1,1,1)
  231. z = Instance.new("Sound",wave)
  232. z.SoundId = "rbxassetid://237035051"
  233. z.Volume = 1
  234. z.Pitch = .9
  235. z:Play()
  236. coroutine.wrap(function()
  237. for i = 1, 30, 1 do
  238. wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
  239. --wave.Size = wm.Scale
  240. wave.CFrame = rarm.CFrame
  241. wave.Transparency = (1/14)
  242. rs:wait()
  243. end
  244. rs:wait()
  245. wave:Destroy()
  246. z:Destroy()
  247. end)()
  248. end
  249. player = game:service("Players").LocalPlayer
  250. char = player.Character
  251. local beat = true
  252. local beattime = 0.6
  253. suit = Instance.new("Model", char)
  254. suit.Name = "Determination"
  255. local vDebounce = false
  256. Torso = char.Torso
  257. cf = CFrame.new
  258. euler = CFrame.fromEulerAnglesXYZ
  259. slashvalue = 1
  260. beamvalue = 1
  261. onehitkill = true
  262. onehitkilltwo = true
  263. specialattack = false
  264. for _, v in pairs(char.Head:GetChildren()) do
  265. if v.ClassName == "Decal" then
  266. v:remove()
  267. end
  268. end
  269. for _, v in pairs(char:GetChildren()) do
  270. if v.ClassName == "Hat" then
  271. v:remove()
  272. end
  273. end
  274. for _, v in pairs(char:GetChildren()) do
  275. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" then
  276. v:remove()
  277. end
  278. end
  279. shirt = Instance.new("Shirt", char)
  280. pants = Instance.new("Pants", char)
  281. face = Instance.new("Decal", char.Head)
  282. face.Texture = "rbxassetid://431054853"
  283. shirt.ShirtTemplate = "rbxassetid://268303759"
  284. pants.PantsTemplate = "rbxassetid://268303786"
  285. local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
  286. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  287. Hat.Name = "Hat_F"
  288. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  289. if Handle.Name ~= "Handle" then
  290. Handle.Size = Vector3.new(1, 1, 1)
  291. end
  292. Handle.BottomSurface = 0
  293. Handle.Name = "Handle"
  294. Handle.TopSurface = 0
  295. Handle.Locked = 1
  296. local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
  297. Mesh.TextureId = "http://www.roblox.com/asset/?id=75975464"
  298. Mesh.MeshId = "rbxassetid://430411018 "
  299. Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  300. Hat.Parent = char
  301. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  302. RW.Name = "Right Shoulder"
  303. LW.Name = "Left Shoulder"
  304. RSH, LSH = nil, nil
  305. LS = Torso["Left Shoulder"]
  306. LH = Torso["Left Hip"]
  307. RS = Torso["Right Shoulder"]
  308. RH = Torso["Right Hip"]
  309. RSH = char.Torso["Right Shoulder"]
  310. LSH = char.Torso["Left Shoulder"]
  311. local LSounds = {
  312. MegaloStrikesBack = Instance.new("Sound")
  313. }
  314. LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=142653441"
  315. LSounds.MegaloStrikesBack.Volume = 40
  316. function PlayLoopedSound(soundname, pitch)
  317. LSounds[soundname].Parent = char.Torso
  318. LSounds[soundname].Pitch = 0.7
  319. LSounds[soundname]:Play()
  320. LSounds[soundname].Looped = true
  321. oldloopedsound = LSounds[soundname]
  322. LSounds[soundname] = LSounds[soundname]:clone()
  323. end
  324. local Sounds = {
  325. Hurt = Instance.new("Sound"),
  326. Slash = Instance.new("Sound"),
  327. Explode = Instance.new("Sound"),
  328. Sans = Instance.new("Sound")
  329. }
  330. Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=158037267"
  331. Sounds.Slash.Volume = 1
  332. Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=220833967"
  333. Sounds.Hurt.Volume = 1
  334. Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=615910787"
  335. Sounds.Sans.Volume = 1
  336. Sounds.Explode.SoundId = "rbxassetid://357562152"
  337. Sounds.Explode.Volume = 1
  338. function PlaySound(soundname, pitch)
  339. Sounds[soundname].Parent = Torso
  340. Sounds[soundname].Pitch = pitch
  341. Sounds[soundname]:Play()
  342. local oldsound = Sounds[soundname]
  343. coroutine.resume(coroutine.create(function()
  344. wait(4)
  345. oldsound:Destroy()
  346. end))
  347. Sounds[soundname] = Sounds[soundname]:clone()
  348. end
  349. char.Humanoid.MaxHealth = 99999999999999999999999999
  350. char.Humanoid.Health = 9999999999999999999999999999
  351. function CharaTalks()
  352. local m = Instance.new("Model", char.Head)
  353. m.Name = "* W"
  354. local chat = Instance.new("Part", m)
  355. chat.TopSurface = "Smooth"
  356. chat.BottomSurface = "Smooth"
  357. chat.Name = "Head"
  358. chat.FormFactor = "Custom"
  359. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  360. chat.Transparency = 0.9
  361. chat.CanCollide = false
  362. chat.Anchored = true
  363. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  364. local h = Instance.new("Humanoid", m)
  365. h.MaxHealth = 0
  366. m.Name = "* We"
  367. wait()
  368. m.Name = "* Wel"
  369. wait()
  370. m.Name = "* Welc"
  371. wait()
  372. m.Name = "* Welco"
  373. wait()
  374. m.Name = "* Welcom"
  375. wait()
  376. m.Name = "* Welcome"
  377. wait()
  378. m.Name = "* Welcome "
  379. wait()
  380. m.Name = "* Welcome t"
  381. wait()
  382. m.Name = "* Welcome to"
  383. wait()
  384. m.Name = "* Welcome to "
  385. wait()
  386. m.Name = "* Welcome to m"
  387. wait()
  388. m.Name = "* Welcome to my"
  389. wait()
  390. m.Name = "* Welcome to my "
  391. wait()
  392. m.Name = "* Welcome to my S"
  393. wait()
  394. m.Name = "* Welcome to my SP"
  395. wait()
  396. m.Name = "* Welcome to my SPE"
  397. wait()
  398. m.Name = "* Welcome to my SPEC"
  399. wait()
  400. m.Name = "* Welcome to my SPECI"
  401. wait()
  402. m.Name = "* Welcome to my SPECIA"
  403. wait()
  404. m.Name = "* Welcome to my SPECIAL"
  405. wait()
  406. m.Name = "* Welcome to my SPECIAL "
  407. wait()
  408. m.Name = "* Welcome to my SPECIAL H"
  409. wait()
  410. m.Name = "* Welcome to my SPECIAL HE"
  411. wait()
  412. m.Name = "* Welcome to my SPECIAL HEL"
  413. wait()
  414. m.Name = "* Welcome to my SPECIAL HELL"
  415. wait()
  416. m.Name = "* Welcome to my SPECIAL HELL!"
  417. wait()
  418. m.Name = "* Welcome to my SPECIAL HELL!!"
  419. wait()
  420. m.Name = "* Welcome to my SPECIAL HELL!!!"
  421. wait()
  422. m:remove()
  423. end
  424. function GETDUNKED()
  425. coroutine.resume(coroutine.create(function()
  426. local m = Instance.new("Model", char.Head)
  427. m.Name = "* G"
  428. local chat = Instance.new("Part", m)
  429. chat.TopSurface = "Smooth"
  430. chat.BottomSurface = "Smooth"
  431. chat.Name = "Head"
  432. chat.FormFactor = "Custom"
  433. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  434. chat.Transparency = 0.9
  435. chat.CanCollide = false
  436. chat.Anchored = true
  437. chat.CFrame = char.Head.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  438. local h = Instance.new("Humanoid", m)
  439. h.MaxHealth = 0
  440. PlaySound("Sans", 1)
  441. m.Name = "* I"
  442. wait(0.1)
  443. PlaySound("Sans", 1)
  444. m.Name = "* I W"
  445. wait(0.1)
  446. PlaySound("Sans", 1)
  447. m.Name = "* I WI"
  448. wait(0.1)
  449. PlaySound("Sans", 1)
  450. m.Name = "* I WIL"
  451. wait(0.1)
  452. PlaySound("Sans", 1)
  453. m.Name = "* I WILL"
  454. wait(0.1)
  455. PlaySound("Sans", 1)
  456. m.Name = "* I WILL B"
  457. wait(0.3)
  458. PlaySound("Sans", 1)
  459. m.Name = "* I WILL BE"
  460. wait(0.1)
  461. PlaySound("Sans", 1)
  462. m.Name = "* I WILL BE B"
  463. wait(0.1)
  464. PlaySound("Sans", 1)
  465. m.Name = "* I WILL BE BA"
  466. wait(0.1)
  467. PlaySound("Sans", 1)
  468. m.Name = "* I WILL BE BAC"
  469. wait(0.1)
  470. PlaySound("Sans", 1)
  471. m.Name = "* I WILL BE BACK"
  472. wait(0.1)
  473. PlaySound("Sans", 1)
  474. m.Name = "* I WILL BE BACK, CO"
  475. wait(0.3)
  476. PlaySound("Sans", 1)
  477. m.Name = "* I WILL BE BACK, COUNT"
  478. wait(0.1)
  479. PlaySound("Sans", 1)
  480. m.Name = "* I WILL BE BACK, COUNT ON"
  481. wait(0.1)
  482. PlaySound("Sans", 1)
  483. m.Name = "* I WILL BE BACK, COUNT ON IT"
  484. wait(0.3)
  485. PlaySound("Sans", 1)
  486. m.Name = "* F"
  487. wait(0.1)
  488. PlaySound("Sans", 1)
  489. m.Name = "* FE"
  490. wait(0.1)
  491. PlaySound("Sans", 1)
  492. m.Name = "* FEA"
  493. wait(0.1)
  494. PlaySound("Sans", 1)
  495. m.Name = "* FEAR"
  496. wait(0.1)
  497. PlaySound("Sans", 1)
  498. m.Name = "* FEAR M"
  499. wait(0.1)
  500. PlaySound("Sans", 1)
  501. m.Name = "* FEAR ME"
  502. wait(3)
  503. m:remove()
  504. end))
  505. end
  506. function startup()
  507. coroutine.resume(coroutine.create(function()
  508. local m = Instance.new("Model", char)
  509. m.Name = "* C"
  510. local chat = Instance.new("Part", m)
  511. chat.TopSurface = "Smooth"
  512. chat.BottomSurface = "Smooth"
  513. chat.Name = "Head"
  514. chat.FormFactor = "Custom"
  515. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  516. chat.Transparency = 0.9
  517. chat.CanCollide = false
  518. local Weld7 = Instance.new("Weld", char)
  519. Weld7.Part0 = char.Head
  520. Weld7.Part1 = chat
  521. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  522. local cy7 = Instance.new("BlockMesh", chat)
  523. local h = Instance.new("Humanoid", m)
  524. h.MaxHealth = 0
  525. m.Name = "* ?"
  526. wait(0.2)
  527. m.Name = "* ??"
  528. wait(0.2)
  529. m.Name = "* ???"
  530. wait(0.2)
  531. m.Name = "* ????"
  532. wait(0.2)
  533. m.Name = "* Corr"
  534. wait(0.5)
  535. m.Name = "* Corrupt"
  536. wait(0.5)
  537. m.Name = "* Corrupted"
  538. wait(0.5)
  539. end))
  540. end
  541. startup()
  542. PlayLoopedSound("MegaloStrikesBack", 1)
  543. Tool = Instance.new("HopperBin", player.Backpack)
  544. Tool.Name = "Megalo"
  545. Tool.Selected:connect(function(mouse)
  546. RW.Part0 = char.Torso
  547. RW.C0 = CFrame.new(1.5, 0.5, 0)
  548. RW.C1 = CFrame.new(0, 0.5, 0)
  549. RW.Part1 = char["Right Arm"]
  550. RW.Parent = char.Torso
  551. handle = Instance.new("Part", suit)
  552. handle.TopSurface = "Smooth"
  553. handle.BottomSurface = "Smooth"
  554. handle.Size = Vector3.new(0.2, 0.5, 0.5)
  555. handle.CanCollide = false
  556. handle.BrickColor = BrickColor.new("Really Orange")
  557. handle.FormFactor = "Custom"
  558. local Weldb = Instance.new("Weld", char)
  559. Weldb.Part0 = char["Right Arm"]
  560. Weldb.Part1 = handle
  561. Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
  562. local KnifeMesh = Instance.new("SpecialMesh", handle)
  563. KnifeMesh.MeshType = "FileMesh"
  564. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=163353363"
  565. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  566. function touch(hit)
  567. if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
  568. if hit.Parent.Name == char.Name then
  569. return
  570. end
  571. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
  572. do
  573. local HitSounds = {
  574. Hurt = Instance.new("Sound")
  575. }
  576. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=257001402"
  577. HitSounds.Hurt.Volume = 1
  578. function PlayHitSound(soundname, pitch)
  579. HitSounds[soundname].Parent = hit.Parent.Torso
  580. HitSounds[soundname].Pitch = pitch
  581. HitSounds[soundname]:Play()
  582. local oldsound = HitSounds[soundname]
  583. coroutine.resume(coroutine.create(function()
  584. wait(4)
  585. oldsound:Destroy()
  586. end))
  587. HitSounds[soundname] = HitSounds[soundname]:clone()
  588. end
  589. PlayHitSound("Hurt", 1)
  590. end
  591. end
  592. end
  593. handle.Touched:connect(touch)
  594. function teleportPlayer(pos)
  595. if player == nil or player.Character == nil then
  596. return
  597. end
  598. Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
  599. end
  600. function slash1()
  601. if not vDebounce then
  602. vDebounce = true
  603. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  604. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  605. wait(0.1)
  606. PlaySound("Slash", 1)
  607. coroutine.resume(coroutine.create(function()
  608. for i = 1, 10 do
  609. wait()
  610. local RedSlash = Instance.new("Part", suit)
  611. RedSlash.FormFactor = "Custom"
  612. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  613. RedSlash.Transparency = 0.5
  614. local selectionBox = Instance.new("SelectionBox", RedSlash)
  615. selectionBox.Adornee = RedSlash
  616. selectionBox.Color = BrickColor.new("Really red")
  617. selectionBox.LineThickness = 0.005
  618. RedSlash.TopSurface = 0
  619. RedSlash.BottomSurface = 0
  620. local colorc = {"Really Orange"}
  621. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  622. RedSlash.BrickColor = Fire
  623. RedSlash.CanCollide = false
  624. RedSlash.Anchored = true
  625. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  626. game.Debris:AddItem(RedSlash, 0.1)
  627. end
  628. end))
  629. for i = 1, 3 do
  630. wait()
  631. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  632. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  633. end
  634. wait(0.3)
  635. RW.C0 = CFrame.new(1.5, 0.5, 0)
  636. RW.C1 = CFrame.new(0, 0.5, 0)
  637. slashvalue = slashvalue + 1
  638. vDebounce = false
  639. end
  640. end
  641. function slash2()
  642. if not vDebounce then
  643. vDebounce = true
  644. coroutine.resume(coroutine.create(function()
  645. for i = 1, 20 do
  646. wait()
  647. local RedSlash2 = Instance.new("Part", suit)
  648. RedSlash2.FormFactor = "Custom"
  649. RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
  650. RedSlash2.Transparency = 0.5
  651. local selectionBox = Instance.new("SelectionBox", RedSlash2)
  652. selectionBox.Adornee = RedSlash2
  653. selectionBox.Color = BrickColor.new("Really red")
  654. selectionBox.LineThickness = 0.005
  655. RedSlash2.TopSurface = 0
  656. RedSlash2.BottomSurface = 0
  657. local colorc = {"Really Orange"}
  658. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  659. RedSlash2.BrickColor = Fire
  660. RedSlash2.CanCollide = false
  661. RedSlash2.Anchored = true
  662. RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  663. game.Debris:AddItem(RedSlash2, 0.2)
  664. end
  665. end))
  666. for i = 1, 10 do
  667. wait()
  668. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  669. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  670. end
  671. PlaySound("Slash", 1)
  672. for i = 1, 3 do
  673. wait()
  674. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  675. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  676. end
  677. wait(0.3)
  678. RW.C0 = CFrame.new(1.5, 0.5, 0)
  679. RW.C1 = CFrame.new(0, 0.5, 0)
  680. slashvalue = slashvalue + 1
  681. vDebounce = false
  682. end
  683. end
  684. function slash3()
  685. if not vDebounce then
  686. vDebounce = true
  687. PlaySound("Slash", 1)
  688. coroutine.resume(coroutine.create(function()
  689. for i = 1, 20 do
  690. wait()
  691. local RedSlash3 = Instance.new("Part", suit)
  692. RedSlash3.FormFactor = "Custom"
  693. RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
  694. RedSlash3.Transparency = 0.5
  695. local selectionBox = Instance.new("SelectionBox", RedSlash3)
  696. selectionBox.Adornee = RedSlash3
  697. selectionBox.Color = BrickColor.new("Really red")
  698. selectionBox.LineThickness = 0.005
  699. RedSlash3.TopSurface = 0
  700. RedSlash3.BottomSurface = 0
  701. local colorc = {"Really Orange"}
  702. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  703. RedSlash3.BrickColor = Fire
  704. RedSlash3.CanCollide = false
  705. RedSlash3.Anchored = true
  706. RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  707. game.Debris:AddItem(RedSlash3, 0.3)
  708. end
  709. end))
  710. for i = 1, 3 do
  711. wait()
  712. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  713. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  714. end
  715. wait(0.3)
  716. PlaySound("Slash", 1)
  717. for i = 1, 3 do
  718. wait()
  719. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  720. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  721. end
  722. wait(0.3)
  723. RW.C0 = CFrame.new(1.5, 0.5, 0)
  724. RW.C1 = CFrame.new(0, 0.5, 0)
  725. slashvalue = slashvalue - 2
  726. vDebounce = false
  727. end
  728. end
  729. function KnifeBeam1()
  730. if not vDebounce then
  731. vDebounce = true
  732. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  733. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  734. wait(0.1)
  735. PlaySound("Slash", 1)
  736. coroutine.resume(coroutine.create(function()
  737. for i = 1, 10 do
  738. wait()
  739. local p = Instance.new("Part", handle)
  740. p.FormFactor = "Custom"
  741. p.Size = Vector3.new(1, 0.5, 1)
  742. p.Transparency = 0.5
  743. local selectionBox = Instance.new("SelectionBox", p)
  744. selectionBox.Adornee = p
  745. selectionBox.Color = BrickColor.new("Really red")
  746. selectionBox.LineThickness = 0.005
  747. p.Material = "Neon"
  748. p.TopSurface = 0
  749. p.BottomSurface = 0
  750. local colorc = {"Really Orange"}
  751. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  752. p.BrickColor = Fire
  753. p.CanCollide = false
  754. p.Anchored = true
  755. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  756. game.Debris:AddItem(p, 0.1)
  757. end
  758. end))
  759. for i = 1, 3 do
  760. wait()
  761. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  762. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  763. end
  764. coroutine.resume(coroutine.create(function()
  765. local ps = Instance.new("Part", suit)
  766. ps.Name = "MagicPart"
  767. ps.TopSurface = "Smooth"
  768. ps.BottomSurface = "Smooth"
  769. ps.BrickColor = BrickColor.new("Institutional Really Pink")
  770. ps.Material = "Neon"
  771. ps.FormFactor = "Custom"
  772. ps.Size = Vector3.new(5, 1, 1)
  773. ps.Anchored = true
  774. ps.Transparency = 0.5
  775. ps.CanCollide = false
  776. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  777. local selectionBox = Instance.new("SelectionBox", ps)
  778. selectionBox.Adornee = ps
  779. selectionBox.Color = BrickColor.new("Really Orange")
  780. selectionBox.LineThickness = 0.2
  781. selectionBox.Transparency = 0.5
  782. function touch(hit)
  783. if hit.Parent.Name == char.Name then
  784. return
  785. end
  786. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  787. ps:remove()
  788. if hit.Parent.Name == char.Name then
  789. return
  790. end
  791. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
  792. do
  793. local HitSounds = {
  794. Hurt = Instance.new("Sound")
  795. }
  796. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  797. HitSounds.Hurt.Volume = 1
  798. function PlayHitSound(soundname, pitch)
  799. HitSounds[soundname].Parent = hit.Parent.Torso
  800. HitSounds[soundname].Pitch = pitch
  801. HitSounds[soundname]:Play()
  802. local oldsound = HitSounds[soundname]
  803. coroutine.resume(coroutine.create(function()
  804. wait(4)
  805. oldsound:Destroy()
  806. end))
  807. HitSounds[soundname] = HitSounds[soundname]:clone()
  808. end
  809. PlayHitSound("Hurt", 1)
  810. end
  811. end
  812. end
  813. ps.Touched:connect(touch)
  814. coroutine.resume(coroutine.create(function()
  815. for i = 1, 50 do
  816. wait()
  817. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  818. end
  819. ps.Transparency = ps.Transparency + 1
  820. wait()
  821. ps.Transparency = ps.Transparency + 1
  822. wait()
  823. ps.Transparency = ps.Transparency + 1
  824. wait()
  825. ps.Transparency = ps.Transparency + 1
  826. wait()
  827. ps.Transparency = ps.Transparency + 1
  828. wait()
  829. ps:remove()
  830. end))
  831. end))
  832. wait(0.3)
  833. RW.C0 = CFrame.new(1.5, 0.5, 0)
  834. RW.C1 = CFrame.new(0, 0.5, 0)
  835. beamvalue = beamvalue + 1
  836. vDebounce = false
  837. end
  838. end
  839. function KnifeBeam2()
  840. if not vDebounce then
  841. vDebounce = true
  842. coroutine.resume(coroutine.create(function()
  843. for i = 1, 20 do
  844. wait()
  845. local p = Instance.new("Part", handle)
  846. p.FormFactor = "Custom"
  847. p.Size = Vector3.new(1, 0.5, 1)
  848. p.Transparency = 0.5
  849. local selectionBox = Instance.new("SelectionBox", p)
  850. selectionBox.Adornee = p
  851. selectionBox.Color = BrickColor.new("Really red")
  852. selectionBox.LineThickness = 0.005
  853. p.TopSurface = 0
  854. p.BottomSurface = 0
  855. local colorc = {"Really Orange"}
  856. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  857. p.BrickColor = Fire
  858. p.CanCollide = false
  859. p.Anchored = true
  860. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  861. game.Debris:AddItem(p, 0.2)
  862. end
  863. end))
  864. for i = 1, 10 do
  865. wait()
  866. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  867. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  868. end
  869. PlaySound("Slash", 1)
  870. for i = 1, 3 do
  871. wait()
  872. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  873. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  874. end
  875. coroutine.resume(coroutine.create(function()
  876. local ps = Instance.new("Part", suit)
  877. ps.Name = "MagicPart"
  878. ps.TopSurface = "Smooth"
  879. ps.BottomSurface = "Smooth"
  880. ps.BrickColor = BrickColor.new("Institutional Really Pink")
  881. ps.Material = "Neon"
  882. ps.FormFactor = "Custom"
  883. ps.Size = Vector3.new(1, 5, 1)
  884. ps.Anchored = true
  885. ps.Transparency = 0.5
  886. ps.CanCollide = false
  887. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
  888. local selectionBox = Instance.new("SelectionBox", ps)
  889. selectionBox.Adornee = ps
  890. selectionBox.Color = BrickColor.new("Really Orange")
  891. selectionBox.LineThickness = 0.2
  892. selectionBox.Transparency = 0.5
  893. function touch(hit)
  894. if hit.Parent.Name == char.Name then
  895. return
  896. end
  897. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  898. ps:remove()
  899. if hit.Parent.Name == char.Name then
  900. return
  901. end
  902. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
  903. do
  904. local HitSounds = {
  905. Hurt = Instance.new("Sound")
  906. }
  907. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  908. HitSounds.Hurt.Volume = 1
  909. function PlayHitSound(soundname, pitch)
  910. HitSounds[soundname].Parent = hit.Parent.Torso
  911. HitSounds[soundname].Pitch = pitch
  912. HitSounds[soundname]:Play()
  913. local oldsound = HitSounds[soundname]
  914. coroutine.resume(coroutine.create(function()
  915. wait(4)
  916. oldsound:Destroy()
  917. end))
  918. HitSounds[soundname] = HitSounds[soundname]:clone()
  919. end
  920. PlayHitSound("Hurt", 1)
  921. end
  922. end
  923. end
  924. ps.Touched:connect(touch)
  925. coroutine.resume(coroutine.create(function()
  926. for i = 1, 50 do
  927. wait()
  928. ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
  929. end
  930. ps.Transparency = ps.Transparency + 1
  931. wait()
  932. ps.Transparency = ps.Transparency + 1
  933. wait()
  934. ps.Transparency = ps.Transparency + 1
  935. wait()
  936. ps.Transparency = ps.Transparency + 1
  937. wait()
  938. ps.Transparency = ps.Transparency + 1
  939. wait()
  940. ps:remove()
  941. end))
  942. end))
  943. wait(0.3)
  944. RW.C0 = CFrame.new(1.5, 0.5, 0)
  945. RW.C1 = CFrame.new(0, 0.5, 0)
  946. beamvalue = beamvalue + 1
  947. vDebounce = false
  948. end
  949. end
  950. function KnifeBeam3()
  951. if not vDebounce then
  952. vDebounce = true
  953. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  954. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  955. wait(0.1)
  956. PlaySound("Slash", 1)
  957. coroutine.resume(coroutine.create(function()
  958. for i = 1, 10 do
  959. wait()
  960. local p = Instance.new("Part", handle)
  961. p.FormFactor = "Custom"
  962. p.Size = Vector3.new(1, 0.5, 1)
  963. p.Transparency = 0.5
  964. local selectionBox = Instance.new("SelectionBox", p)
  965. selectionBox.Adornee = p
  966. selectionBox.Color = BrickColor.new("Really red")
  967. selectionBox.LineThickness = 0.005
  968. p.Material = "Neon"
  969. p.TopSurface = 0
  970. p.BottomSurface = 0
  971. local colorc = {"Really Orange"}
  972. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  973. p.BrickColor = Fire
  974. p.CanCollide = false
  975. p.Anchored = true
  976. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  977. game.Debris:AddItem(p, 0.1)
  978. end
  979. end))
  980. for i = 1, 3 do
  981. wait()
  982. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  983. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  984. end
  985. coroutine.resume(coroutine.create(function()
  986. local ps = Instance.new("Part", suit)
  987. ps.Name = "MagicPart"
  988. ps.TopSurface = "Smooth"
  989. ps.BottomSurface = "Smooth"
  990. ps.BrickColor = BrickColor.new("Institutional Really Pink")
  991. ps.Material = "Neon"
  992. ps.FormFactor = "Custom"
  993. ps.Size = Vector3.new(10, 10, 1)
  994. ps.Anchored = true
  995. ps.Transparency = 0.5
  996. ps.CanCollide = false
  997. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  998. local selectionBox = Instance.new("SelectionBox", ps)
  999. selectionBox.Adornee = ps
  1000. selectionBox.Color = BrickColor.new("Really Orange")
  1001. selectionBox.LineThickness = 0.2
  1002. selectionBox.Transparency = 0.5
  1003. function touch(hit)
  1004. if hit.Parent.Name == char.Name then
  1005. return
  1006. end
  1007. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1008. ps:remove()
  1009. if hit.Parent.Name == char.Name then
  1010. return
  1011. end
  1012. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
  1013. do
  1014. local HitSounds = {
  1015. Hurt = Instance.new("Sound")
  1016. }
  1017. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1018. HitSounds.Hurt.Volume = 1
  1019. function PlayHitSound(soundname, pitch)
  1020. HitSounds[soundname].Parent = hit.Parent.Torso
  1021. HitSounds[soundname].Pitch = pitch
  1022. HitSounds[soundname]:Play()
  1023. local oldsound = HitSounds[soundname]
  1024. coroutine.resume(coroutine.create(function()
  1025. wait(4)
  1026. oldsound:Destroy()
  1027. end))
  1028. HitSounds[soundname] = HitSounds[soundname]:clone()
  1029. end
  1030. PlayHitSound("Hurt", 1)
  1031. end
  1032. end
  1033. end
  1034. ps.Touched:connect(touch)
  1035. coroutine.resume(coroutine.create(function()
  1036. for i = 1, 50 do
  1037. wait()
  1038. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
  1039. end
  1040. ps.Transparency = ps.Transparency + 1
  1041. wait()
  1042. ps.Transparency = ps.Transparency + 1
  1043. wait()
  1044. ps.Transparency = ps.Transparency + 1
  1045. wait()
  1046. ps.Transparency = ps.Transparency + 1
  1047. wait()
  1048. ps.Transparency = ps.Transparency + 1
  1049. wait()
  1050. ps:remove()
  1051. end))
  1052. end))
  1053. wait(0.3)
  1054. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1055. RW.C1 = CFrame.new(0, 0.5, 0)
  1056. beamvalue = beamvalue - 2
  1057. vDebounce = false
  1058. end
  1059. end
  1060. function drawded()
  1061. if onehitkill == true then
  1062. onehitkill = false
  1063. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1064. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1065. wait(0.1)
  1066. PlaySound("Slash", 1)
  1067. coroutine.resume(coroutine.create(function()
  1068. for i = 1, 10 do
  1069. wait()
  1070. local p = Instance.new("Part", handle)
  1071. p.FormFactor = "Custom"
  1072. p.Size = Vector3.new(1, 1, 1)
  1073. p.Transparency = 0.5
  1074. local selectionBox = Instance.new("SelectionBox", p)
  1075. selectionBox.Adornee = p
  1076. selectionBox.Color = BrickColor.new("Really red")
  1077. selectionBox.LineThickness = 0.001
  1078. p.TopSurface = 0
  1079. p.BottomSurface = 0
  1080. local colorc = {
  1081. "Really red"
  1082. }
  1083. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1084. p.BrickColor = Fire
  1085. p.CanCollide = false
  1086. p.Anchored = true
  1087. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1088. game.Debris:AddItem(p, 0.1)
  1089. end
  1090. end))
  1091. for i = 1, 3 do
  1092. wait()
  1093. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1094. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1095. end
  1096. coroutine.resume(coroutine.create(function()
  1097. ultra = Instance.new("Part", suit)
  1098. ultra.Name = "MagicPart"
  1099. ultra.TopSurface = "Smooth"
  1100. ultra.BottomSurface = "Smooth"
  1101. ultra.BrickColor = BrickColor.new("Really red")
  1102. ultra.Material = "Neon"
  1103. ultra.FormFactor = "Custom"
  1104. ultra.Size = Vector3.new(5, 1, 1)
  1105. ultra.Anchored = true
  1106. ultra.CanCollide = false
  1107. ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1108. local selectionBox = Instance.new("SelectionBox", ultra)
  1109. selectionBox.Adornee = ultra
  1110. selectionBox.Color = BrickColor.new("Really red")
  1111. selectionBox.LineThickness = 0.01
  1112. selectionBox.Transparency = 0
  1113. end))
  1114. wait(0.3)
  1115. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1116. RW.C1 = CFrame.new(0, 0.5, 0)
  1117. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1118. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1119. wait(0.1)
  1120. PlaySound("Slash", 1)
  1121. coroutine.resume(coroutine.create(function()
  1122. for i = 1, 10 do
  1123. wait()
  1124. local p = Instance.new("Part", handle)
  1125. p.FormFactor = "Custom"
  1126. p.Size = Vector3.new(1, 0.5, 1)
  1127. p.Transparency = 0.5
  1128. local selectionBox = Instance.new("SelectionBox", p)
  1129. selectionBox.Adornee = p
  1130. selectionBox.Color = BrickColor.new("Really red")
  1131. selectionBox.LineThickness = 0.001
  1132. p.TopSurface = 0
  1133. p.BottomSurface = 0
  1134. local colorc = {
  1135. "Really red"
  1136. }
  1137. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1138. p.BrickColor = Fire
  1139. p.CanCollide = false
  1140. p.Anchored = true
  1141. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1142. game.Debris:AddItem(p, 0.1)
  1143. end
  1144. end))
  1145. for i = 1, 3 do
  1146. wait()
  1147. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1148. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1149. end
  1150. coroutine.resume(coroutine.create(function()
  1151. ultra2 = Instance.new("Part", suit)
  1152. ultra2.Name = "MagicPart"
  1153. ultra2.TopSurface = "Smooth"
  1154. ultra2.BottomSurface = "Smooth"
  1155. ultra2.BrickColor = BrickColor.new("Really red")
  1156. ultra2.Material = "Neon"
  1157. ultra2.FormFactor = "Custom"
  1158. ultra2.Size = Vector3.new(5, 1, 1)
  1159. ultra2.Anchored = true
  1160. ultra2.CanCollide = false
  1161. ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1162. local selectionBox = Instance.new("SelectionBox", ultra2)
  1163. selectionBox.Adornee = ultra2
  1164. selectionBox.Color = BrickColor.new("Really red")
  1165. selectionBox.LineThickness = 0.01
  1166. selectionBox.Transparency = 0
  1167. end))
  1168. wait(0.3)
  1169. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1170. RW.C1 = CFrame.new(0, 0.5, 0)
  1171. PlaySound("Slash", 1)
  1172. coroutine.resume(coroutine.create(function()
  1173. ultra3 = Instance.new("Part", suit)
  1174. ultra3.Name = "MagicPart"
  1175. ultra3.TopSurface = "Smooth"
  1176. ultra3.BottomSurface = "Smooth"
  1177. ultra3.BrickColor = BrickColor.new("Really red")
  1178. ultra3.Material = "Neon"
  1179. ultra3.FormFactor = "Custom"
  1180. ultra3.Size = Vector3.new(1, 5, 1)
  1181. ultra3.Anchored = true
  1182. ultra3.CanCollide = false
  1183. ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1184. local selectionBox = Instance.new("SelectionBox", ultra3)
  1185. selectionBox.Adornee = ultra3
  1186. selectionBox.Color = BrickColor.new("Really red")
  1187. selectionBox.LineThickness = 0.01
  1188. selectionBox.Transparency = 0
  1189. end))
  1190. coroutine.resume(coroutine.create(function()
  1191. for i = 1, 10 do
  1192. wait()
  1193. local p = Instance.new("Part", handle)
  1194. p.FormFactor = "Custom"
  1195. p.Size = Vector3.new(1, 0.5, 1)
  1196. p.Transparency = 0.5
  1197. local selectionBox = Instance.new("SelectionBox", p)
  1198. selectionBox.Adornee = p
  1199. selectionBox.Color = BrickColor.new("Really red")
  1200. selectionBox.LineThickness = 0.001
  1201. p.TopSurface = 0
  1202. p.BottomSurface = 0
  1203. local colorc = {
  1204. "Really red"
  1205. }
  1206. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1207. p.BrickColor = Fire
  1208. p.CanCollide = false
  1209. p.Anchored = true
  1210. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1211. game.Debris:AddItem(p, 0.1)
  1212. end
  1213. end))
  1214. coroutine.resume(coroutine.create(function()
  1215. for i = 1, 20 do
  1216. wait()
  1217. local p = Instance.new("Part", handle)
  1218. p.FormFactor = "Custom"
  1219. p.Size = Vector3.new(1, 0.5, 1)
  1220. p.Transparency = 0.5
  1221. local selectionBox = Instance.new("SelectionBox", p)
  1222. selectionBox.Adornee = p
  1223. selectionBox.Color = BrickColor.new("Really red")
  1224. selectionBox.LineThickness = 0.005
  1225. p.TopSurface = 0
  1226. p.BottomSurface = 0
  1227. local colorc = {"Really Orange"}
  1228. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1229. p.BrickColor = Fire
  1230. p.CanCollide = false
  1231. p.Anchored = true
  1232. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1233. game.Debris:AddItem(p, 0.3)
  1234. end
  1235. end))
  1236. for i = 1, 3 do
  1237. wait()
  1238. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1239. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1240. end
  1241. wait(0.3)
  1242. PlaySound("Slash", 1)
  1243. coroutine.resume(coroutine.create(function()
  1244. ultra4 = Instance.new("Part", suit)
  1245. ultra4.Name = "MagicPart"
  1246. ultra4.TopSurface = "Smooth"
  1247. ultra4.BottomSurface = "Smooth"
  1248. ultra4.BrickColor = BrickColor.new("Really red")
  1249. ultra4.Material = "Neon"
  1250. ultra4.FormFactor = "Custom"
  1251. ultra4.Size = Vector3.new(1, 5, 1)
  1252. ultra4.Anchored = true
  1253. ultra4.CanCollide = false
  1254. ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1255. local selectionBox = Instance.new("SelectionBox", ultra3)
  1256. selectionBox.Adornee = ultra4
  1257. selectionBox.Color = BrickColor.new("Really red")
  1258. selectionBox.LineThickness = 0.01
  1259. selectionBox.Transparency = 0
  1260. end))
  1261. for i = 1, 3 do
  1262. wait()
  1263. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1264. RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
  1265. end
  1266. wait(0.3)
  1267. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1268. RW.C1 = CFrame.new(0, 0.5, 0)
  1269. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1270. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1271. wait(0.1)
  1272. PlaySound("Slash", 1)
  1273. coroutine.resume(coroutine.create(function()
  1274. for i = 1, 10 do
  1275. wait()
  1276. local p = Instance.new("Part", handle)
  1277. p.FormFactor = "Custom"
  1278. p.Size = Vector3.new(1, 0.5, 1)
  1279. p.Transparency = 0.5
  1280. local selectionBox = Instance.new("SelectionBox", p)
  1281. selectionBox.Adornee = p
  1282. selectionBox.Color = BrickColor.new("Really red")
  1283. selectionBox.LineThickness = 0.001
  1284. p.TopSurface = 0
  1285. p.BottomSurface = 0
  1286. local colorc = {
  1287. "Really red"
  1288. }
  1289. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1290. p.BrickColor = Fire
  1291. p.CanCollide = false
  1292. p.Anchored = true
  1293. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1294. game.Debris:AddItem(p, 0.1)
  1295. end
  1296. end))
  1297. for i = 1, 3 do
  1298. wait()
  1299. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1300. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1301. end
  1302. coroutine.resume(coroutine.create(function()
  1303. ultra5 = Instance.new("Part", suit)
  1304. ultra5.Name = "MagicPart"
  1305. ultra5.TopSurface = "Smooth"
  1306. ultra5.BottomSurface = "Smooth"
  1307. ultra5.BrickColor = BrickColor.new("Really red")
  1308. ultra5.Material = "Neon"
  1309. ultra5.FormFactor = "Custom"
  1310. ultra5.Size = Vector3.new(5, 1, 1)
  1311. ultra5.Anchored = true
  1312. ultra5.CanCollide = false
  1313. ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1314. local selectionBox = Instance.new("SelectionBox", ultra2)
  1315. selectionBox.Adornee = ultra5
  1316. selectionBox.Color = BrickColor.new("Really red")
  1317. selectionBox.LineThickness = 0.01
  1318. selectionBox.Transparency = 0
  1319. end))
  1320. wait()
  1321. local p = Instance.new("Part", handle)
  1322. p.FormFactor = "Custom"
  1323. p.Material = "Neon"
  1324. p.Size = Vector3.new(1, 2, 1)
  1325. p.Transparency = 0
  1326. local selectionBox = Instance.new("SelectionBox", p)
  1327. selectionBox.Adornee = p
  1328. selectionBox.Color = BrickColor.new("Really red")
  1329. selectionBox.LineThickness = 0.001
  1330. p.TopSurface = 0
  1331. p.BottomSurface = 0
  1332. local colorc = {
  1333. "Really red"
  1334. }
  1335. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1336. p.BrickColor = Fire
  1337. p.CanCollide = false
  1338. p.Anchored = true
  1339. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1340. local light1 = Instance.new("SpotLight", p)
  1341. light1.Brightness = 164
  1342. light1.Color = Color3.new(255, 0, 0)
  1343. light1.Range = 7
  1344. for i = 1, 13 do
  1345. p.Transparency = p.Transparency + 0.1
  1346. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1347. wait()
  1348. end
  1349. game.Debris:AddItem(p, 0.1)
  1350. coroutine.resume(coroutine.create(function()
  1351. coroutine.resume(coroutine.create(function()
  1352. for i = 1, 100 do
  1353. wait()
  1354. ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
  1355. end
  1356. end))
  1357. coroutine.resume(coroutine.create(function()
  1358. for i = 1, 100 do
  1359. wait()
  1360. ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
  1361. end
  1362. end))
  1363. coroutine.resume(coroutine.create(function()
  1364. for i = 1, 100 do
  1365. wait()
  1366. ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
  1367. end
  1368. end))
  1369. coroutine.resume(coroutine.create(function()
  1370. for i = 1, 100 do
  1371. wait()
  1372. ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
  1373. end
  1374. end))
  1375. coroutine.resume(coroutine.create(function()
  1376. for i = 1, 100 do
  1377. wait()
  1378. ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
  1379. end
  1380. end))
  1381. wait(3)
  1382. ultra.Transparency = ultra.Transparency + 1
  1383. ultra2.Transparency = ultra2.Transparency + 1
  1384. ultra3.Transparency = ultra3.Transparency + 1
  1385. ultra4.Transparency = ultra4.Transparency + 1
  1386. ultra5.Transparency = ultra5.Transparency + 1
  1387. wait()
  1388. ultra.Transparency = ultra.Transparency + 1
  1389. ultra2.Transparency = ultra2.Transparency + 1
  1390. ultra3.Transparency = ultra3.Transparency + 1
  1391. ultra4.Transparency = ultra4.Transparency + 1
  1392. ultra5.Transparency = ultra5.Transparency + 1
  1393. wait()
  1394. ultra.Transparency = ultra.Transparency + 1
  1395. ultra2.Transparency = ultra2.Transparency + 1
  1396. ultra3.Transparency = ultra3.Transparency + 1
  1397. ultra4.Transparency = ultra4.Transparency + 1
  1398. ultra5.Transparency = ultra5.Transparency + 1
  1399. wait()
  1400. ultra.Transparency = ultra.Transparency + 1
  1401. ultra2.Transparency = ultra2.Transparency + 1
  1402. ultra3.Transparency = ultra3.Transparency + 1
  1403. ultra4.Transparency = ultra4.Transparency + 1
  1404. ultra5.Transparency = ultra5.Transparency + 1
  1405. wait()
  1406. ultra.Transparency = ultra.Transparency + 1
  1407. ultra2.Transparency = ultra2.Transparency + 1
  1408. ultra3.Transparency = ultra3.Transparency + 1
  1409. ultra4.Transparency = ultra4.Transparency + 1
  1410. ultra5.Transparency = ultra5.Transparency + 1
  1411. wait()
  1412. ultra:remove()
  1413. ultra2:remove()
  1414. ultra3:remove()
  1415. ultra4:remove()
  1416. ultra5:remove()
  1417. end))
  1418. function touch(hit)
  1419. if hit.Parent.Name == char.Name then
  1420. return
  1421. end
  1422. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1423. if hit.Parent.Name == char.Name then
  1424. return
  1425. end
  1426. hit.Parent:BreakJoints()
  1427. ultra:remove()
  1428. do
  1429. local HitSounds = {
  1430. Hurt = Instance.new("Sound")
  1431. }
  1432. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1433. HitSounds.Hurt.Volume = 1
  1434. function PlayHitSound(soundname, pitch)
  1435. HitSounds[soundname].Parent = hit.Parent.Torso
  1436. HitSounds[soundname].Pitch = pitch
  1437. HitSounds[soundname]:Play()
  1438. local oldsound = HitSounds[soundname]
  1439. coroutine.resume(coroutine.create(function()
  1440. wait(4)
  1441. oldsound:Destroy()
  1442. end))
  1443. HitSounds[soundname] = HitSounds[soundname]:clone()
  1444. end
  1445. PlayHitSound("Hurt", 1)
  1446. end
  1447. end
  1448. end
  1449. ultra.Touched:connect(touch)
  1450. function touch(hit)
  1451. if hit.Parent.Name == char.Name then
  1452. return
  1453. end
  1454. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1455. if hit.Parent.Name == char.Name then
  1456. return
  1457. end
  1458. hit.Parent:BreakJoints()
  1459. ultra2:remove()
  1460. do
  1461. local HitSounds = {
  1462. Hurt = Instance.new("Sound")
  1463. }
  1464. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1465. HitSounds.Hurt.Volume = 1
  1466. function PlayHitSound(soundname, pitch)
  1467. HitSounds[soundname].Parent = hit.Parent.Torso
  1468. HitSounds[soundname].Pitch = pitch
  1469. HitSounds[soundname]:Play()
  1470. local oldsound = HitSounds[soundname]
  1471. coroutine.resume(coroutine.create(function()
  1472. wait(4)
  1473. oldsound:Destroy()
  1474. end))
  1475. HitSounds[soundname] = HitSounds[soundname]:clone()
  1476. end
  1477. PlayHitSound("Hurt", 1)
  1478. end
  1479. end
  1480. end
  1481. ultra2.Touched:connect(touch)
  1482. function touch(hit)
  1483. if hit.Parent.Name == char.Name then
  1484. return
  1485. end
  1486. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1487. if hit.Parent.Name == char.Name then
  1488. return
  1489. end
  1490. hit.Parent:BreakJoints()
  1491. ultra2:remove()
  1492. do
  1493. local HitSounds = {
  1494. Hurt = Instance.new("Sound")
  1495. }
  1496. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1497. HitSounds.Hurt.Volume = 1
  1498. function PlayHitSound(soundname, pitch)
  1499. HitSounds[soundname].Parent = hit.Parent.Torso
  1500. HitSounds[soundname].Pitch = pitch
  1501. HitSounds[soundname]:Play()
  1502. local oldsound = HitSounds[soundname]
  1503. coroutine.resume(coroutine.create(function()
  1504. wait(4)
  1505. oldsound:Destroy()
  1506. end))
  1507. HitSounds[soundname] = HitSounds[soundname]:clone()
  1508. end
  1509. PlayHitSound("Hurt", 1)
  1510. end
  1511. end
  1512. end
  1513. ultra2.Touched:connect(touch)
  1514. function touch(hit)
  1515. if hit.Parent.Name == char.Name then
  1516. return
  1517. end
  1518. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1519. if hit.Parent.Name == char.Name then
  1520. return
  1521. end
  1522. hit.Parent:BreakJoints()
  1523. ultra3:remove()
  1524. do
  1525. local HitSounds = {
  1526. Hurt = Instance.new("Sound")
  1527. }
  1528. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1529. HitSounds.Hurt.Volume = 1
  1530. function PlayHitSound(soundname, pitch)
  1531. HitSounds[soundname].Parent = hit.Parent.Torso
  1532. HitSounds[soundname].Pitch = pitch
  1533. HitSounds[soundname]:Play()
  1534. local oldsound = HitSounds[soundname]
  1535. coroutine.resume(coroutine.create(function()
  1536. wait(4)
  1537. oldsound:Destroy()
  1538. end))
  1539. HitSounds[soundname] = HitSounds[soundname]:clone()
  1540. end
  1541. PlayHitSound("Hurt", 1)
  1542. end
  1543. end
  1544. end
  1545. ultra3.Touched:connect(touch)
  1546. function touch(hit)
  1547. if hit.Parent.Name == char.Name then
  1548. return
  1549. end
  1550. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1551. if hit.Parent.Name == char.Name then
  1552. return
  1553. end
  1554. hit.Parent:BreakJoints()
  1555. ultra4:remove()
  1556. do
  1557. local HitSounds = {
  1558. Hurt = Instance.new("Sound")
  1559. }
  1560. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1561. HitSounds.Hurt.Volume = 1
  1562. function PlayHitSound(soundname, pitch)
  1563. HitSounds[soundname].Parent = hit.Parent.Torso
  1564. HitSounds[soundname].Pitch = pitch
  1565. HitSounds[soundname]:Play()
  1566. local oldsound = HitSounds[soundname]
  1567. coroutine.resume(coroutine.create(function()
  1568. wait(4)
  1569. oldsound:Destroy()
  1570. end))
  1571. HitSounds[soundname] = HitSounds[soundname]:clone()
  1572. end
  1573. PlayHitSound("Hurt", 1)
  1574. end
  1575. end
  1576. end
  1577. ultra4.Touched:connect(touch)
  1578. function touch(hit)
  1579. if hit.Parent.Name == char.Name then
  1580. return
  1581. end
  1582. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1583. if hit.Parent.Name == char.Name then
  1584. return
  1585. end
  1586. hit.Parent:BreakJoints()
  1587. ultra5:remove()
  1588. do
  1589. local HitSounds = {
  1590. Hurt = Instance.new("Sound")
  1591. }
  1592. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1593. HitSounds.Hurt.Volume = 1
  1594. function PlayHitSound(soundname, pitch)
  1595. HitSounds[soundname].Parent = hit.Parent.Torso
  1596. HitSounds[soundname].Pitch = pitch
  1597. HitSounds[soundname]:Play()
  1598. local oldsound = HitSounds[soundname]
  1599. coroutine.resume(coroutine.create(function()
  1600. wait(4)
  1601. oldsound:Destroy()
  1602. end))
  1603. HitSounds[soundname] = HitSounds[soundname]:clone()
  1604. end
  1605. PlayHitSound("Hurt", 1)
  1606. end
  1607. end
  1608. end
  1609. ultra5.Touched:connect(touch)
  1610. wait()
  1611. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1612. RW.C1 = CFrame.new(0, 0.5, 0)
  1613. local Dialogconnect = Instance.new("Part", suit)
  1614. Dialogconnect.TopSurface = "Smooth"
  1615. Dialogconnect.BottomSurface = "Smooth"
  1616. Dialogconnect.Material = "Neon"
  1617. Dialogconnect.FormFactor = "Custom"
  1618. Dialogconnect.Size = Vector3.new(1, 1, 1)
  1619. Dialogconnect.Transparency = 1
  1620. Dialogconnect.CanCollide = false
  1621. Dialogconnect.BrickColor = BrickColor.new("Really Orange")
  1622. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  1623. selectionBox1.Adornee = Dialogconnect
  1624. selectionBox1.Color = BrickColor.new("Really red")
  1625. selectionBox1.LineThickness = 0.01
  1626. selectionBox1.Transparency = 1
  1627. local Weld = Instance.new("Weld", char)
  1628. Weld.Part0 = char.Torso
  1629. Weld.Part1 = Dialogconnect
  1630. Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1631. Dialogconnect.Transparency = 1
  1632. selectionBox1.Transparency = 1
  1633. wait()
  1634. Dialogconnect.Transparency = 0
  1635. selectionBox1.Transparency = 0
  1636. wait()
  1637. Dialogconnect.Transparency = 1
  1638. selectionBox1.Transparency = 1
  1639. wait()
  1640. Dialogconnect.Transparency = 0
  1641. selectionBox1.Transparency = 0
  1642. wait()
  1643. Dialogconnect.Transparency = 1
  1644. selectionBox1.Transparency = 1
  1645. wait()
  1646. Dialogconnect.Transparency = 0
  1647. selectionBox1.Transparency = 0
  1648. wait()
  1649. Dialogconnect.Transparency = 1
  1650. selectionBox1.Transparency = 1
  1651. wait()
  1652. Dialogconnect.Transparency = 0
  1653. selectionBox1.Transparency = 0
  1654. wait()
  1655. Dialogconnect.Transparency = 1
  1656. selectionBox1.Transparency = 1
  1657. wait()
  1658. Dialogconnect.Transparency = 0
  1659. selectionBox1.Transparency = 0
  1660. wait()
  1661. Dialogconnect.Transparency = 1
  1662. selectionBox1.Transparency = 1
  1663. wait()
  1664. Dialogconnect.Transparency = 0
  1665. selectionBox1.Transparency = 0
  1666. wait()
  1667. Dialogconnect.Transparency = 1
  1668. selectionBox1.Transparency = 1
  1669. wait()
  1670. Dialogconnect.Transparency = 0
  1671. selectionBox1.Transparency = 0
  1672. wait()
  1673. Dialogconnect.Transparency = 1
  1674. selectionBox1.Transparency = 1
  1675. wait()
  1676. Dialogconnect.Transparency = 0
  1677. selectionBox1.Transparency = 0
  1678. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  1679. wait()
  1680. Dialogconnect.Transparency = 1
  1681. selectionBox1.Transparency = 1
  1682. wait()
  1683. Dialogconnect.Transparency = 0
  1684. selectionBox1.Transparency = 0
  1685. wait()
  1686. Dialogconnect.Transparency = 1
  1687. selectionBox1.Transparency = 1
  1688. wait()
  1689. Dialogconnect.Transparency = 0
  1690. selectionBox1.Transparency = 0
  1691. wait()
  1692. Dialogconnect.Transparency = 1
  1693. selectionBox1.Transparency = 1
  1694. wait()
  1695. Dialogconnect.Transparency = 0
  1696. selectionBox1.Transparency = 0
  1697. wait()
  1698. Dialogconnect.Transparency = 1
  1699. selectionBox1.Transparency = 1
  1700. wait()
  1701. Dialogconnect.Transparency = 0
  1702. selectionBox1.Transparency = 0
  1703. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  1704. wait()
  1705. Dialogconnect.Transparency = 1
  1706. selectionBox1.Transparency = 1
  1707. wait()
  1708. Dialogconnect.Transparency = 0
  1709. selectionBox1.Transparency = 0
  1710. wait()
  1711. Dialogconnect.Transparency = 1
  1712. selectionBox1.Transparency = 1
  1713. wait()
  1714. Dialogconnect.Transparency = 0
  1715. selectionBox1.Transparency = 0
  1716. wait()
  1717. Dialogconnect.Transparency = 1
  1718. selectionBox1.Transparency = 1
  1719. wait()
  1720. Dialogconnect.Transparency = 0
  1721. selectionBox1.Transparency = 0
  1722. wait()
  1723. Dialogconnect.Transparency = 1
  1724. selectionBox1.Transparency = 1
  1725. wait()
  1726. Dialogconnect.Transparency = 0
  1727. selectionBox1.Transparency = 0
  1728. wait()
  1729. Dialogconnect.Transparency = 0
  1730. wait()
  1731. Dialogconnect.Transparency = 1
  1732. selectionBox1.Transparency = 1
  1733. wait()
  1734. Dialogconnect.Transparency = 0
  1735. selectionBox1.Transparency = 0
  1736. wait()
  1737. Dialogconnect.Transparency = 1
  1738. selectionBox1.Transparency = 1
  1739. wait()
  1740. Dialogconnect.Transparency = 0
  1741. selectionBox1.Transparency = 0
  1742. wait()
  1743. Dialogconnect.Transparency = 1
  1744. selectionBox1.Transparency = 1
  1745. wait()
  1746. Dialogconnect.Transparency = 0
  1747. selectionBox1.Transparency = 0
  1748. wait()
  1749. Dialogconnect.Transparency = 1
  1750. selectionBox1.Transparency = 1
  1751. wait()
  1752. Dialogconnect.Transparency = 0
  1753. selectionBox1.Transparency = 0
  1754. Dialogconnect:remove()
  1755. onehitkill = true
  1756. end
  1757. end
  1758. function Stuckhit()
  1759. if not vDebounce then
  1760. vDebounce = true
  1761. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1762. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1763. wait(0.1)
  1764. PlaySound("Slash", 1)
  1765. coroutine.resume(coroutine.create(function()
  1766. for i = 1, 10 do
  1767. wait()
  1768. local RedSlash = Instance.new("Part", handle)
  1769. RedSlash.FormFactor = "Custom"
  1770. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1771. RedSlash.Transparency = 0.5
  1772. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1773. selectionBox.Adornee = RedSlash
  1774. selectionBox.Color = BrickColor.new("Really red")
  1775. selectionBox.LineThickness = 0.005
  1776. RedSlash.TopSurface = 0
  1777. RedSlash.BottomSurface = 0
  1778. local colorc = {"Really Orange"}
  1779. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1780. RedSlash.BrickColor = Fire
  1781. RedSlash.CanCollide = false
  1782. RedSlash.Anchored = true
  1783. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1784. game.Debris:AddItem(RedSlash, 0.1)
  1785. end
  1786. end))
  1787. for i = 1, 3 do
  1788. wait()
  1789. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1790. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1791. end
  1792. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
  1793. local hit, position = game.Workspace:FindPartOnRay(ray, player)
  1794. wait(0.1)
  1795. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
  1796. local position = mouse.Hit.p
  1797. local distance = (position - Handle.CFrame.p).magnitude
  1798. local rp = Instance.new("Part", workspace)
  1799. rp.Anchored = true
  1800. rp.TopSurface = "Smooth"
  1801. rp.BottomSurface = "Smooth"
  1802. rp.Transparency = 1
  1803. rp.BrickColor = BrickColor.new("Deep orange")
  1804. rp.FormFactor = "Custom"
  1805. rp.CanCollide = false
  1806. rp.Size = Vector3.new(0.6, 0.6, distance)
  1807. rp.Material = "Neon"
  1808. rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
  1809. local cy = Instance.new("BlockMesh", rp)
  1810. for i = 1, 10 do
  1811. wait()
  1812. cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
  1813. end
  1814. rp:Destroy()
  1815. local ps = Instance.new("Part", suit)
  1816. ps.Name = "MagicPart"
  1817. ps.TopSurface = "Smooth"
  1818. ps.BottomSurface = "Smooth"
  1819. ps.BrickColor = BrickColor.new("Really Orange")
  1820. ps.FormFactor = "Custom"
  1821. ps.Transparency = 0.9
  1822. ps.Size = Vector3.new(5, 250, 5)
  1823. ps.Anchored = true
  1824. ps.CanCollide = false
  1825. ps.CFrame = CFrame.new(position)
  1826. local cy = Instance.new("BlockMesh", ps)
  1827. function touch(hit)
  1828. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1829. if hit.Parent.Name == char.Name then
  1830. return
  1831. end
  1832. hit.Parent.Torso.Anchored = true
  1833. do
  1834. local HitSounds = {
  1835. Hurt = Instance.new("Sound")
  1836. }
  1837. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1838. HitSounds.Hurt.Volume = 1
  1839. function PlayHitSound(soundname, pitch)
  1840. HitSounds[soundname].Parent = hit.Parent.Torso
  1841. HitSounds[soundname].Pitch = pitch
  1842. HitSounds[soundname]:Play()
  1843. local oldsound = HitSounds[soundname]
  1844. coroutine.resume(coroutine.create(function()
  1845. wait(4)
  1846. oldsound:Destroy()
  1847. end))
  1848. HitSounds[soundname] = HitSounds[soundname]:clone()
  1849. end
  1850. PlayHitSound("Hurt", 1)
  1851. local p = Instance.new("Part", handle)
  1852. p.FormFactor = "Custom"
  1853. p.Material = "Neon"
  1854. p.Size = Vector3.new(1, 2, 1)
  1855. p.Transparency = 0
  1856. local selectionBox = Instance.new("SelectionBox", p)
  1857. selectionBox.Adornee = p
  1858. selectionBox.Color = BrickColor.new("Really red")
  1859. selectionBox.LineThickness = 0.001
  1860. p.TopSurface = 0
  1861. p.BottomSurface = 0
  1862. local colorc = {"Really Orange"}
  1863. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1864. p.BrickColor = Fire
  1865. p.CanCollide = false
  1866. p.Anchored = true
  1867. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1868. coroutine.resume(coroutine.create(function()
  1869. for i = 1, 100 do
  1870. wait()
  1871. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1872. end
  1873. end))
  1874. local light1 = Instance.new("SpotLight", p)
  1875. light1.Brightness = 164
  1876. light1.Color = Color3.new(255, 0, 0)
  1877. light1.Range = 7
  1878. for i = 1, 13 do
  1879. p.Transparency = p.Transparency + 0.1
  1880. wait(0.4)
  1881. end
  1882. game.Debris:AddItem(p, 0.1)
  1883. PlaySound("Slash", 1)
  1884. coroutine.resume(coroutine.create(function()
  1885. for i = 1, 10 do
  1886. wait()
  1887. local RedSlash = Instance.new("Part", handle)
  1888. RedSlash.FormFactor = "Custom"
  1889. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1890. RedSlash.Transparency = 0.5
  1891. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1892. selectionBox.Adornee = RedSlash
  1893. selectionBox.Color = BrickColor.new("Really red")
  1894. selectionBox.LineThickness = 0.005
  1895. RedSlash.TopSurface = 0
  1896. RedSlash.BottomSurface = 0
  1897. local colorc = {"Really Orange"}
  1898. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1899. RedSlash.BrickColor = Fire
  1900. RedSlash.CanCollide = false
  1901. RedSlash.Anchored = true
  1902. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1903. game.Debris:AddItem(RedSlash, 0.1)
  1904. end
  1905. end))
  1906. for i = 1, 3 do
  1907. wait()
  1908. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  1909. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  1910. end
  1911. hit.Parent.Torso.Anchored = false
  1912. hit.Parent.Torso:BreakJoints()
  1913. end
  1914. end
  1915. end
  1916. ps.Touched:connect(touch)
  1917. for i = 1, 8 do
  1918. wait(0.5)
  1919. ps.Transparency = ps.Transparency - 0.1
  1920. end
  1921. wait(2)
  1922. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1923. RW.C1 = CFrame.new(0, 0.5, 0)
  1924. ps:remove()
  1925. end
  1926. vDebounce = false
  1927. end
  1928. mouse.Button1Down:connect(function()
  1929. if slashvalue == 1 then
  1930. slash1()
  1931. elseif slashvalue == 3 then
  1932. slash3()
  1933. elseif slashvalue == 2 then
  1934. slash2()
  1935. end
  1936. end)
  1937. function WelcomeToMySpecialAttack()
  1938. CharaTalks()
  1939. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1940. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1941. wait(0.1)
  1942. PlaySound("Slash", 1)
  1943. coroutine.resume(coroutine.create(function()
  1944. for i = 1, 10 do
  1945. wait()
  1946. local RedSlash = Instance.new("Part", handle)
  1947. RedSlash.FormFactor = "Custom"
  1948. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1949. RedSlash.Transparency = 0.5
  1950. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1951. selectionBox.Adornee = RedSlash
  1952. selectionBox.Color = BrickColor.new("Really red")
  1953. selectionBox.LineThickness = 0.005
  1954. RedSlash.TopSurface = 0
  1955. RedSlash.BottomSurface = 0
  1956. local colorc = {"Really Orange"}
  1957. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1958. RedSlash.BrickColor = Fire
  1959. RedSlash.CanCollide = false
  1960. RedSlash.Anchored = true
  1961. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1962. game.Debris:AddItem(RedSlash, 0.1)
  1963. end
  1964. end))
  1965. for i = 1, 3 do
  1966. wait()
  1967. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1968. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1969. end
  1970. PlaySound("Explode", 1)
  1971. coroutine.resume(coroutine.create(function()
  1972. local ps = Instance.new("Part", suit)
  1973. ps.Name = "MagicPart"
  1974. ps.TopSurface = "Smooth"
  1975. ps.BottomSurface = "Smooth"
  1976. ps.BrickColor = BrickColor.new("Really Orange")
  1977. ps.Material = "Neon"
  1978. ps.FormFactor = "Custom"
  1979. ps.Size = Vector3.new(1500, 1500, 1000)
  1980. ps.Anchored = true
  1981. ps.Transparency = 0
  1982. ps.CanCollide = false
  1983. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
  1984. local selectionBox = Instance.new("SelectionBox", ps)
  1985. selectionBox.Adornee = ps
  1986. selectionBox.Color = BrickColor.new("Really Orange")
  1987. selectionBox.LineThickness = 0.2
  1988. selectionBox.Transparency = 0.5
  1989. function touch(hit)
  1990. if hit.Parent.Name == char.Name then
  1991. return
  1992. end
  1993. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1994. if hit.Parent.Name == char.Name then
  1995. return
  1996. end
  1997. hit.Parent:BreakJoints()
  1998. do
  1999. local HitSounds = {
  2000. Hurt = Instance.new("Sound")
  2001. }
  2002. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2003. HitSounds.Hurt.Volume = 1
  2004. function PlayHitSound(soundname, pitch)
  2005. HitSounds[soundname].Parent = hit.Parent.Torso
  2006. HitSounds[soundname].Pitch = pitch
  2007. HitSounds[soundname]:Play()
  2008. local oldsound = HitSounds[soundname]
  2009. coroutine.resume(coroutine.create(function()
  2010. wait(4)
  2011. oldsound:Destroy()
  2012. end))
  2013. HitSounds[soundname] = HitSounds[soundname]:clone()
  2014. end
  2015. PlayHitSound("Hurt", 1)
  2016. end
  2017. end
  2018. end
  2019. ps.Touched:connect(touch)
  2020. coroutine.resume(coroutine.create(function()
  2021. for i = 1, 500 do
  2022. wait()
  2023. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  2024. end
  2025. ps.Transparency = ps.Transparency + 0.2
  2026. wait()
  2027. ps.Transparency = ps.Transparency + 0.2
  2028. wait()
  2029. ps.Transparency = ps.Transparency + 0.2
  2030. wait()
  2031. ps.Transparency = ps.Transparency + 0.2
  2032. wait()
  2033. ps.Transparency = ps.Transparency + 0.2
  2034. ps:remove()
  2035. end))
  2036. end))
  2037. wait(2)
  2038. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2039. RW.C1 = CFrame.new(0, 0.5, 0)
  2040. end
  2041. mouse.KeyDown:connect(function(key)
  2042. if key == "r" and specialattack == false then
  2043. specialattack = true
  2044. WelcomeToMySpecialAttack()
  2045. local Dialogconnect = Instance.new("Part", suit)
  2046. Dialogconnect.TopSurface = "Smooth"
  2047. Dialogconnect.BottomSurface = "Smooth"
  2048. Dialogconnect.Material = "Neon"
  2049. Dialogconnect.FormFactor = "Custom"
  2050. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2051. Dialogconnect.Transparency = 1
  2052. Dialogconnect.CanCollide = false
  2053. Dialogconnect.BrickColor = BrickColor.new("Really Orange")
  2054. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2055. selectionBox1.Adornee = Dialogconnect
  2056. selectionBox1.Color = BrickColor.new("Really red")
  2057. selectionBox1.LineThickness = 0.01
  2058. selectionBox1.Transparency = 1
  2059. local Weld = Instance.new("Weld", char)
  2060. Weld.Part0 = char.Torso
  2061. Weld.Part1 = Dialogconnect
  2062. Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2063. Dialogconnect.Transparency = 1
  2064. selectionBox1.Transparency = 1
  2065. wait()
  2066. Dialogconnect.Transparency = 0
  2067. selectionBox1.Transparency = 0
  2068. wait()
  2069. Dialogconnect.Transparency = 1
  2070. selectionBox1.Transparency = 1
  2071. wait()
  2072. Dialogconnect.Transparency = 0
  2073. selectionBox1.Transparency = 0
  2074. wait()
  2075. Dialogconnect.Transparency = 1
  2076. selectionBox1.Transparency = 1
  2077. wait()
  2078. Dialogconnect.Transparency = 0
  2079. selectionBox1.Transparency = 0
  2080. wait()
  2081. Dialogconnect.Transparency = 1
  2082. selectionBox1.Transparency = 1
  2083. wait()
  2084. Dialogconnect.Transparency = 0
  2085. selectionBox1.Transparency = 0
  2086. wait()
  2087. Dialogconnect.Transparency = 1
  2088. selectionBox1.Transparency = 1
  2089. wait()
  2090. Dialogconnect.Transparency = 0
  2091. selectionBox1.Transparency = 0
  2092. wait()
  2093. Dialogconnect.Transparency = 1
  2094. selectionBox1.Transparency = 1
  2095. wait()
  2096. Dialogconnect.Transparency = 0
  2097. selectionBox1.Transparency = 0
  2098. wait()
  2099. Dialogconnect.Transparency = 1
  2100. selectionBox1.Transparency = 1
  2101. wait()
  2102. Dialogconnect.Transparency = 0
  2103. selectionBox1.Transparency = 0
  2104. wait()
  2105. Dialogconnect.Transparency = 1
  2106. selectionBox1.Transparency = 1
  2107. wait()
  2108. Dialogconnect.Transparency = 0
  2109. selectionBox1.Transparency = 0
  2110. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2111. wait()
  2112. Dialogconnect.Transparency = 1
  2113. selectionBox1.Transparency = 1
  2114. wait()
  2115. Dialogconnect.Transparency = 0
  2116. selectionBox1.Transparency = 0
  2117. wait()
  2118. Dialogconnect.Transparency = 1
  2119. selectionBox1.Transparency = 1
  2120. wait()
  2121. Dialogconnect.Transparency = 0
  2122. selectionBox1.Transparency = 0
  2123. wait()
  2124. Dialogconnect.Transparency = 1
  2125. selectionBox1.Transparency = 1
  2126. wait()
  2127. Dialogconnect.Transparency = 0
  2128. selectionBox1.Transparency = 0
  2129. wait()
  2130. Dialogconnect.Transparency = 1
  2131. selectionBox1.Transparency = 1
  2132. wait()
  2133. Dialogconnect.Transparency = 0
  2134. selectionBox1.Transparency = 0
  2135. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2136. wait()
  2137. Dialogconnect.Transparency = 1
  2138. selectionBox1.Transparency = 1
  2139. wait()
  2140. Dialogconnect.Transparency = 0
  2141. selectionBox1.Transparency = 0
  2142. wait()
  2143. Dialogconnect.Transparency = 1
  2144. selectionBox1.Transparency = 1
  2145. wait()
  2146. Dialogconnect.Transparency = 0
  2147. selectionBox1.Transparency = 0
  2148. wait()
  2149. Dialogconnect.Transparency = 1
  2150. selectionBox1.Transparency = 1
  2151. wait()
  2152. Dialogconnect.Transparency = 0
  2153. selectionBox1.Transparency = 0
  2154. wait()
  2155. Dialogconnect.Transparency = 1
  2156. selectionBox1.Transparency = 1
  2157. wait()
  2158. Dialogconnect.Transparency = 0
  2159. selectionBox1.Transparency = 0
  2160. wait()
  2161. Dialogconnect.Transparency = 0
  2162. wait()
  2163. Dialogconnect.Transparency = 1
  2164. selectionBox1.Transparency = 1
  2165. wait()
  2166. Dialogconnect.Transparency = 0
  2167. selectionBox1.Transparency = 0
  2168. wait()
  2169. Dialogconnect.Transparency = 1
  2170. selectionBox1.Transparency = 1
  2171. wait()
  2172. Dialogconnect.Transparency = 0
  2173. selectionBox1.Transparency = 0
  2174. wait()
  2175. Dialogconnect.Transparency = 1
  2176. selectionBox1.Transparency = 1
  2177. wait()
  2178. Dialogconnect.Transparency = 0
  2179. selectionBox1.Transparency = 0
  2180. wait()
  2181. Dialogconnect.Transparency = 1
  2182. selectionBox1.Transparency = 1
  2183. wait()
  2184. Dialogconnect.Transparency = 0
  2185. selectionBox1.Transparency = 0
  2186. Dialogconnect:remove()
  2187. specialattack = false
  2188. end
  2189. if key == "q" then
  2190. if beamvalue == 1 then
  2191. KnifeBeam1()
  2192. elseif beamvalue == 2 then
  2193. KnifeBeam2()
  2194. elseif beamvalue == 3 then
  2195. KnifeBeam3()
  2196. end
  2197. end
  2198. if key == "x" and not vDebounce then
  2199. vDebounce = true
  2200. for i = 1, 5 do
  2201. wait()
  2202. Torso.Transparency = 0.5
  2203. char["Left Arm"].Transparency = 0.5
  2204. char["Left Leg"].Transparency = 0.5
  2205. char["Right Arm"].Transparency = 0.5
  2206. char["Right Leg"].Transparency = 0.5
  2207. char.Head.Transparency = 0.5
  2208. wait()
  2209. Torso.Transparency = 0
  2210. char["Left Arm"].Transparency = 0
  2211. char["Left Leg"].Transparency = 0
  2212. char["Right Arm"].Transparency = 0
  2213. char["Right Leg"].Transparency = 0
  2214. char.Head.Transparency = 0
  2215. end
  2216. teleportPlayer(mouse.hit.p)
  2217. vDebounce = false
  2218. end
  2219. if key == "z" and onehitkilltwo == true then
  2220. onehitkilltwo = false
  2221. Stuckhit()
  2222. local Dialogconnect = Instance.new("Part", suit)
  2223. Dialogconnect.TopSurface = "Smooth"
  2224. Dialogconnect.BottomSurface = "Smooth"
  2225. Dialogconnect.Material = "Neon"
  2226. Dialogconnect.FormFactor = "Custom"
  2227. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2228. Dialogconnect.Transparency = 1
  2229. Dialogconnect.CanCollide = false
  2230. Dialogconnect.BrickColor = BrickColor.new("Really Orange")
  2231. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2232. selectionBox1.Adornee = Dialogconnect
  2233. selectionBox1.Color = BrickColor.new("Really red")
  2234. selectionBox1.LineThickness = 0.01
  2235. selectionBox1.Transparency = 1
  2236. local Weld = Instance.new("Weld", char)
  2237. Weld.Part0 = char.Torso
  2238. Weld.Part1 = Dialogconnect
  2239. Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2240. Dialogconnect.Transparency = 1
  2241. selectionBox1.Transparency = 1
  2242. wait()
  2243. Dialogconnect.Transparency = 0
  2244. selectionBox1.Transparency = 0
  2245. wait()
  2246. Dialogconnect.Transparency = 1
  2247. selectionBox1.Transparency = 1
  2248. wait()
  2249. Dialogconnect.Transparency = 0
  2250. selectionBox1.Transparency = 0
  2251. wait()
  2252. Dialogconnect.Transparency = 1
  2253. selectionBox1.Transparency = 1
  2254. wait()
  2255. Dialogconnect.Transparency = 0
  2256. selectionBox1.Transparency = 0
  2257. wait()
  2258. Dialogconnect.Transparency = 1
  2259. selectionBox1.Transparency = 1
  2260. wait()
  2261. Dialogconnect.Transparency = 0
  2262. selectionBox1.Transparency = 0
  2263. wait()
  2264. Dialogconnect.Transparency = 1
  2265. selectionBox1.Transparency = 1
  2266. wait()
  2267. Dialogconnect.Transparency = 0
  2268. selectionBox1.Transparency = 0
  2269. wait()
  2270. Dialogconnect.Transparency = 1
  2271. selectionBox1.Transparency = 1
  2272. wait()
  2273. Dialogconnect.Transparency = 0
  2274. selectionBox1.Transparency = 0
  2275. wait()
  2276. Dialogconnect.Transparency = 1
  2277. selectionBox1.Transparency = 1
  2278. wait()
  2279. Dialogconnect.Transparency = 0
  2280. selectionBox1.Transparency = 0
  2281. wait()
  2282. Dialogconnect.Transparency = 1
  2283. selectionBox1.Transparency = 1
  2284. wait()
  2285. Dialogconnect.Transparency = 0
  2286. selectionBox1.Transparency = 0
  2287. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2288. wait()
  2289. Dialogconnect.Transparency = 1
  2290. selectionBox1.Transparency = 1
  2291. wait()
  2292. Dialogconnect.Transparency = 0
  2293. selectionBox1.Transparency = 0
  2294. wait()
  2295. Dialogconnect.Transparency = 1
  2296. selectionBox1.Transparency = 1
  2297. wait()
  2298. Dialogconnect.Transparency = 0
  2299. selectionBox1.Transparency = 0
  2300. wait()
  2301. Dialogconnect.Transparency = 1
  2302. selectionBox1.Transparency = 1
  2303. wait()
  2304. Dialogconnect.Transparency = 0
  2305. selectionBox1.Transparency = 0
  2306. wait()
  2307. Dialogconnect.Transparency = 1
  2308. selectionBox1.Transparency = 1
  2309. wait()
  2310. Dialogconnect.Transparency = 0
  2311. selectionBox1.Transparency = 0
  2312. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2313. wait()
  2314. Dialogconnect.Transparency = 1
  2315. selectionBox1.Transparency = 1
  2316. wait()
  2317. Dialogconnect.Transparency = 0
  2318. selectionBox1.Transparency = 0
  2319. wait()
  2320. Dialogconnect.Transparency = 1
  2321. selectionBox1.Transparency = 1
  2322. wait()
  2323. Dialogconnect.Transparency = 0
  2324. selectionBox1.Transparency = 0
  2325. wait()
  2326. Dialogconnect.Transparency = 1
  2327. selectionBox1.Transparency = 1
  2328. wait()
  2329. Dialogconnect.Transparency = 0
  2330. selectionBox1.Transparency = 0
  2331. wait()
  2332. Dialogconnect.Transparency = 1
  2333. selectionBox1.Transparency = 1
  2334. wait()
  2335. Dialogconnect.Transparency = 0
  2336. selectionBox1.Transparency = 0
  2337. wait()
  2338. Dialogconnect.Transparency = 0
  2339. wait()
  2340. Dialogconnect.Transparency = 1
  2341. selectionBox1.Transparency = 1
  2342. wait()
  2343. Dialogconnect.Transparency = 0
  2344. selectionBox1.Transparency = 0
  2345. wait()
  2346. Dialogconnect.Transparency = 1
  2347. selectionBox1.Transparency = 1
  2348. wait()
  2349. Dialogconnect.Transparency = 0
  2350. selectionBox1.Transparency = 0
  2351. wait()
  2352. Dialogconnect.Transparency = 1
  2353. selectionBox1.Transparency = 1
  2354. wait()
  2355. Dialogconnect.Transparency = 0
  2356. selectionBox1.Transparency = 0
  2357. wait()
  2358. Dialogconnect.Transparency = 1
  2359. selectionBox1.Transparency = 1
  2360. wait()
  2361. Dialogconnect.Transparency = 0
  2362. selectionBox1.Transparency = 0
  2363. Dialogconnect:remove()
  2364. onehitkilltwo = true
  2365. end
  2366. if key == "e" then
  2367. drawded()
  2368. end
  2369. end)
  2370. Tool.Deselected:connect(function(mouse)
  2371. RW.Parent = nil
  2372. LW.Parent = nil
  2373. handle:remove()
  2374. RSH.Parent = player.Character.Torso
  2375. LSH.Parent = player.Character.Torso
  2376. end)
  2377. end)
  2378. function OnDeath()
  2379. GETDUNKED()
  2380. oldloopedsound:remove()
  2381. end
  2382. char.Humanoid.Died:connect(OnDeath)
  2383. print("THEY ARE NOT READY.")
  2384. wait(5)
  2385. print("YOU HAVE TAKEN CONTROL.")
  2386. wait(5)
  2387. print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
  2388. print("YOU HAVE THE TOOLS, USE THEM!")
Advertisement
Add Comment
Please, Sign In to add comment