vovaa3

Untitled

Feb 22nd, 2018
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ContentProvider = game:GetService("ContentProvider")
  2.  
  3. local function LoadAssets(AssetList)
  4. -- Takes an asset list and preloads it. Will not wait for them to load.
  5.  
  6. for _, AssetId in pairs(AssetList) do
  7. ContentProvider:Preload("http://www.roblox.com/asset/?id=" .. AssetId)
  8. end
  9. end
  10.  
  11. LoadAssets({11442510,30956707})
  12. local Gibs = game.Workspace
  13.  
  14. function Kill(Character)
  15. Character.Humanoid.Health = 0
  16. local poo = Instance.new("IntValue",Character)
  17. poo.Name = "haha nope"
  18. local svch = Character
  19. local hum = Character:findFirstChild("Humanoid")
  20. Character.Archivable = true
  21. local chrclone = Character:clone()
  22. Character.Archivable = false
  23.  
  24. local ch = chrclone:GetChildren()
  25. local i
  26. for i = 1,#ch do
  27. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  28. ch[i]:remove()
  29. end
  30. end
  31. local function Scan(ch)
  32. local e
  33. for e = 1,#ch do
  34. Scan(ch[e]:GetChildren())
  35. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  36. ch[e]:remove()
  37. end
  38. end
  39. end
  40. Scan(chrclone:GetChildren())
  41.  
  42. local hum2 = chrclone:findFirstChild("Humanoid")
  43.  
  44.  
  45. if hum2 ~= nil then
  46. hum2.Name = "Humanoid2"
  47. hum2.PlatformStand = true
  48. hum2.Sit = true
  49. hum2.MaxHealth = 0
  50. hum2.Health = 0
  51. end
  52.  
  53. local ch = Character:GetChildren()
  54. local i
  55. for i = 1,#ch do
  56. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  57. ch[i]:remove()
  58. end
  59. end
  60.  
  61. wait(0.2)
  62.  
  63. local ch = Character:GetChildren()
  64. local i
  65. for i = 1,#ch do
  66. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  67. ch[i]:remove()
  68. end
  69. end
  70. Character = chrclone
  71. local Torso = Character.Torso
  72. local movevector = Vector3.new()
  73.  
  74. if Torso then
  75. local Head = Character:FindFirstChild("Head")
  76. local Limb = Character:FindFirstChild("Right Arm")
  77. if Limb then
  78.  
  79. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  80. local Joint = Instance.new("Glue")
  81. Joint.Name = "RightShoulder"
  82. Joint.Part0 = Torso
  83. Joint.Part1 = Limb
  84. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  85. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  86. Joint.Parent = Torso
  87.  
  88. local B = Instance.new("Part")
  89. B.TopSurface = 0
  90. B.BottomSurface = 0
  91. B.formFactor = "Symmetric"
  92. B.Size = Vector3.new(1, 1, 1)
  93. B.Transparency = 1
  94. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  95. B.Parent = Character
  96. local W = Instance.new("Weld")
  97. W.Part0 = Limb
  98. W.Part1 = B
  99. W.C0 = CFrame.new(0, -0.5, 0)
  100. W.Parent = Limb
  101.  
  102. end
  103. local Limb = Character:FindFirstChild("Left Arm")
  104. if Limb then
  105.  
  106. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  107. local Joint = Instance.new("Glue")
  108. Joint.Name = "LeftShoulder"
  109. Joint.Part0 = Torso
  110. Joint.Part1 = Limb
  111. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  112. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  113. Joint.Parent = Torso
  114.  
  115. local B = Instance.new("Part")
  116. B.TopSurface = 0
  117. B.BottomSurface = 0
  118. B.formFactor = "Symmetric"
  119. B.Size = Vector3.new(1, 1, 1)
  120. B.Transparency = 1
  121. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  122. B.Parent = Character
  123. local W = Instance.new("Weld")
  124. W.Part0 = Limb
  125. W.Part1 = B
  126. W.C0 = CFrame.new(0, -0.5, 0)
  127. W.Parent = Limb
  128.  
  129. end
  130. local Limb = Character:FindFirstChild("Right Leg")
  131. if Limb then
  132.  
  133. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  134. local Joint = Instance.new("Glue")
  135. Joint.Name = "RightHip"
  136. Joint.Part0 = Torso
  137. Joint.Part1 = Limb
  138. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  139. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  140. Joint.Parent = Torso
  141.  
  142. local B = Instance.new("Part")
  143. B.TopSurface = 0
  144. B.BottomSurface = 0
  145. B.formFactor = "Symmetric"
  146. B.Size = Vector3.new(1, 1, 1)
  147. B.Transparency = 1
  148. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  149. B.Parent = Character
  150. local W = Instance.new("Weld")
  151. W.Part0 = Limb
  152. W.Part1 = B
  153. W.C0 = CFrame.new(0, -0.5, 0)
  154. W.Parent = Limb
  155.  
  156. end
  157. local Limb = Character:FindFirstChild("Left Leg")
  158. if Limb then
  159.  
  160. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  161. local Joint = Instance.new("Glue")
  162. Joint.Name = "LeftHip"
  163. Joint.Part0 = Torso
  164. Joint.Part1 = Limb
  165. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  166. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  167. Joint.Parent = Torso
  168.  
  169. local B = Instance.new("Part")
  170. B.TopSurface = 0
  171. B.BottomSurface = 0
  172. B.formFactor = "Symmetric"
  173. B.Size = Vector3.new(1, 1, 1)
  174. B.Transparency = 1
  175. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  176. B.Parent = Character
  177. local W = Instance.new("Weld")
  178. W.Part0 = Limb
  179. W.Part1 = B
  180. W.C0 = CFrame.new(0, -0.5, 0)
  181. W.Parent = Limb
  182.  
  183. end
  184. --[
  185. local Bar = Instance.new("Part")
  186. Bar.TopSurface = 0
  187. Bar.BottomSurface = 0
  188. Bar.formFactor = "Symmetric"
  189. Bar.Size = Vector3.new(1, 1, 1)
  190. Bar.Transparency = 1
  191. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  192. Bar.Parent = Character
  193. local Weld = Instance.new("Weld")
  194. Weld.Part0 = Torso
  195. Weld.Part1 = Bar
  196. Weld.C0 = CFrame.new(0, 0.5, 0)
  197. Weld.Parent = Torso
  198. --]]
  199. end
  200. Character.Parent = Gibs
  201. game.Debris:AddItem(Character, 12)
  202. if movevector ~= Vector3.new() then
  203. for i = 1,10 do
  204. wait()
  205. Torso.Velocity = Vector3.new(0,0,-100)
  206. Head.Velocity = movevector * 200
  207. end
  208. end
  209. local duh = Torso
  210. ee = Instance.new("Part")
  211. ee.Anchored = false
  212. ee.CanCollide = false
  213. ee.Parent = duh
  214. ee.Transparency =1
  215. ee.Size = Vector3.new(0.15, 0.15, 0.15)
  216. wee = Instance.new("Weld")
  217. wee.Parent = duh
  218. wee.Part0 = duh
  219. wee.Part1 = ee
  220. wee.C0 = CFrame.new(0, 1, 0)
  221. ge = Instance.new('ParticleEmitter')
  222. ge.Parent = ee
  223. ge.Texture = "rbxassetid://29712167"
  224. ge.Size = NumberSequence.new(0.2,0.05)
  225. ge.Acceleration = Vector3.new(0, -20, 0)
  226. ge.Rate = 100000
  227. ge.Speed = NumberRange.new(7,8)
  228. ge.Lifetime = NumberRange.new(3,4)
  229. ge.VelocitySpread = 10
  230. ge.VelocityInheritance = 0.3
  231. ea = Instance.new("Part")
  232. ea.Anchored = false
  233. ea.CanCollide = false
  234. ea.Parent = Character.Head
  235. ea.Transparency =1
  236. ea.Size = Vector3.new(0.15, 0.15, 0.15)
  237. wea = Instance.new("Weld")
  238. wea.Parent = Character.Head
  239. wea.Part0 = Character.Head
  240. wea.Part1 = ea
  241. wea.C0 = CFrame.new(0, -0.7, 0)
  242. ga = Instance.new('ParticleEmitter')
  243. ga.Parent = ea
  244. ga.Texture = "rbxassetid://29712167"
  245. ga.Size = NumberSequence.new(0.2,0.05)
  246. ga.Acceleration = Vector3.new(0, -20, 0)
  247. ga.Rate = 100000
  248. ga.Speed = NumberRange.new(7,8)
  249. ga.Lifetime = NumberRange.new(3,4)
  250. ga.VelocitySpread = 10
  251. ga.VelocityInheritance = 0.3
  252. ga.EmissionDirection = Enum.NormalId.Bottom
  253. end
  254.  
  255. local plr = game.Players.LocalPlayer
  256. local chr = plr.Character
  257. local mouse = plr:GetMouse()
  258. local intro = coroutine.wrap(function()
  259. local gui = Instance.new('ScreenGui',plr.PlayerGui)
  260. gui.Name = "Intro"
  261. local fr = Instance.new('Frame',gui)
  262. fr.Size = UDim2.new(0.4,0,0,0)
  263. fr.Position = UDim2.new(0.3,0,-0.1,0)
  264. fr.BorderColor3 = Color3.fromRGB(198, 45, 45)
  265. fr.BorderSizePixel = 5
  266. fr.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  267. local title = Instance.new('TextLabel',fr)
  268. title.Size = UDim2.new(1,0,0.4,0)
  269. title.Position = UDim2.new(0,0,0.1,0)
  270. title.BackgroundTransparency = 1
  271. title.TextColor3 = Color3.fromRGB(198, 45, 45)
  272. title.TextScaled = true
  273. title.Text = 'Deadpool Script'
  274. local desc = Instance.new('TextLabel',fr)
  275. desc.Size = UDim2.new(1,0,0.5,0)
  276. desc.Position = UDim2.new(0,0,0.5,0)
  277. desc.BackgroundTransparency = 1
  278. desc.TextColor3 = Color3.fromRGB(198, 45, 45)
  279. desc.TextScaled = true
  280. desc.Text = ''
  281. wait(1)
  282. fr:TweenSize(UDim2.new(0.4,0,0.5,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,2)
  283. wait(2)
  284. local str = 'Hotkey to equip katana is N. Use Z to stab and X to slice heads off. Created by mustardfoot.'
  285. local leng = string.len(str)
  286. for i = 1,leng do
  287. desc.Text = string.sub(str,1,i)
  288. wait()
  289. end
  290. wait(2)
  291. fr:TweenSize(UDim2.new(0.4,0,0,0),Enum.EasingDirection.Out,Enum.EasingStyle.Bounce,0.8)
  292. wait(2)
  293. gui:Destroy()
  294. end)
  295. intro()
  296.  
  297.  
  298. wait(2)
  299. local tors = chr.Torso
  300. chr.Head.Transparency = 1
  301. for i,v in pairs(chr:GetChildren()) do
  302. if v.ClassName == "CharacterMesh" then
  303. v:Destroy()
  304. end
  305. end
  306. local humroot = chr.HumanoidRootPart:Clone()
  307. local torsclone = tors:Clone()
  308. local anim = chr.Animate:Clone()
  309. local hum = chr.Humanoid:Clone()
  310. local head = chr.Head:Clone()
  311. local neck = chr.Torso.Neck:Clone()
  312. local rightarm = chr["Right Arm"]:Clone()
  313. local leftarm = chr["Left Arm"]:Clone()
  314. local leftleg = chr["Left Leg"]:Clone()
  315. local rightleg = chr["Right Leg"]:Clone()
  316. local rightshoulder = tors["Right Shoulder"]:Clone()
  317. local leftshoulder = tors["Left Shoulder"]:Clone()
  318. local righthip = tors["Right Hip"]:Clone()
  319. local lefthip = tors["Left Hip"]:Clone()
  320. local shirt = nil
  321. local pants = nil
  322. local hats = {}
  323. local lastpos = CFrame.new(0,0,0)
  324. local on = true
  325. local doing = false
  326. local stabbing = false
  327. local slicing = false
  328. local toolz = Instance.new('Tool',plr.Backpack)
  329. toolz.Name = "Katana"
  330. toolz.RequiresHandle = false
  331. toolz.CanBeDropped = false
  332. local partz = Instance.new('Part',toolz)
  333. partz.Size = Vector3.new(0.2,0.2,3)
  334. partz.CanCollide = false
  335. local meshz = Instance.new('SpecialMesh',partz)
  336. meshz.MeshId = 'rbxassetid://11442510'
  337. meshz.TextureId = 'rbxassetid://30956707'
  338. meshz.VertexColor = Vector3.new(0,0,0)
  339.  
  340. toolz.Equipped:connect(function(mouse)
  341. if chr:FindFirstChild('Right Arm') then
  342. local weld = Instance.new('Weld',partz)
  343. weld.Part0 = partz
  344. weld.Part1 = chr["Right Arm"]
  345. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  346. end
  347. mouse.KeyDown:connect(function(key)
  348. if doing == false then
  349. if key == 'z' then
  350. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  351. doing = true
  352. local weld = Instance.new('Weld',chr["Right Arm"])
  353. weld.Part0 = chr["Right Arm"]
  354. weld.Part1 = chr.Torso
  355. weld.C0 = CFrame.new(-1.5,0,0)
  356. for i=1,25 do
  357. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,1,0.9)*CFrame.Angles(math.pi/2.5,0,-math.pi/2.5),i/25)
  358. wait()
  359. end
  360. wait()
  361. stabbing = true
  362. for i=1,10 do
  363. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/4,0,-math.pi/6),i/10)
  364. wait()
  365. end
  366. wait()
  367. for i=1,25 do
  368. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/25)
  369. wait()
  370. end
  371. chr["Right Arm"]:Destroy()
  372. doing = false
  373. stabbing = false
  374. end
  375. elseif key == 'x' then
  376. if chr:FindFirstChild('Right Arm') and chr:FindFirstChild('Torso') then
  377. doing = true
  378. local weld = Instance.new('Weld',chr["Right Arm"])
  379. weld.Part0 = chr["Right Arm"]
  380. weld.Part1 = chr.Torso
  381. weld.C0 = CFrame.new(-1.5,0,0)
  382. for i=1,25 do
  383. weld.C0 = weld.C0:lerp(CFrame.new(-0.5,0.7,-0.5)*CFrame.Angles(math.pi/8,math.pi/1,math.pi/1.5),i/25)
  384. wait()
  385. end
  386. wait()
  387. slicing = true
  388. for i=1,5 do
  389. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0.8,0)*CFrame.Angles(-math.pi/8,0,-math.pi/4),i/5)
  390. wait()
  391. end
  392. wait()
  393. for i=1,12.5 do
  394. weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i/12.5)
  395. wait()
  396. end
  397. chr["Right Arm"]:Destroy()
  398. doing = false
  399. slicing = false
  400. end
  401. end
  402. end
  403. end)
  404. end)
  405.  
  406. partz.Touched:connect(function(hit)
  407. if hit.Parent:FindFirstChild('Humanoid') and stabbing and hit.Parent ~= chr then
  408. hit.Parent.Humanoid.Health = 0
  409. elseif hit.Parent:FindFirstChild('heck') == nil and slicing then
  410. local he = Instance.new('IntValue',hit.Parent)
  411. he.Name = "heck"
  412. Kill(hit.Parent)
  413. end
  414. end)
  415.  
  416. toolz.Unequipped:connect(function(mouse)
  417. if partz:FindFirstChildOfClass('Weld') then
  418. partz:FindFirstChildOfClass('Weld'):Destroy()
  419. end
  420. end)
  421. toolz.AncestryChanged:connect(function(child, parent)
  422. if parent ~= chr and parent ~= plr.Backpack then
  423. wait()
  424. toolz.Parent = plr.Backpack
  425. end
  426. end)
  427.  
  428. mouse.KeyDown:connect(function(key)
  429. if key == "n" then
  430. wait()
  431. toolz:Equip()
  432. end
  433. end)
  434. if chr:FindFirstChildOfClass('Shirt') then
  435. shirt = chr:FindFirstChildOfClass('Shirt'):Clone()
  436. end
  437. if chr:FindFirstChildOfClass('Pants') then
  438. pants = chr:FindFirstChildOfClass('Pants'):Clone()
  439. end
  440. for i,v in pairs(chr:GetChildren()) do
  441. if v.ClassName == "Accessory" then
  442. table.insert(hats,v:Clone())
  443. end
  444. end
  445. local rootjoint = chr.HumanoidRootPart.RootJoint:Clone()
  446. chr.Humanoid:Destroy()
  447. local gui = Instance.new('ScreenGui')
  448. gui.Parent = game.Players.LocalPlayer.PlayerGui
  449. gui.Name = "Deadpool"
  450. gui.ResetOnSpawn = false
  451. local frame = Instance.new('Frame',gui)
  452. frame.Size = UDim2.new(0.2,0,0.2,0)
  453. frame.Position = UDim2.new(0,0,0.9,0)
  454. frame.BackgroundColor3 = Color3.fromRGB(38, 38, 38)
  455. frame.BorderSizePixel = 4
  456. frame.BorderColor3 = Color3.fromRGB(198, 45, 45)
  457. frame.Active = true
  458. frame.Draggable = true
  459. local txt = Instance.new('TextLabel',frame)
  460. txt.Text = "Deadpool Gui"
  461. txt.TextColor3 = Color3.fromRGB(198, 45, 45)
  462. txt.Size = UDim2.new(1,0,0.3,0)
  463. txt.TextScaled = true
  464. txt.BackgroundTransparency = 1
  465. local but = Instance.new('TextButton',frame)
  466. but.Text = "Toggle Suit"
  467. but.TextColor3 = Color3.fromRGB(38, 38, 38)
  468. but.Size = UDim2.new(0.7,0,0.3,0)
  469. but.Position = UDim2.new(0.15,0,0.5,0)
  470. but.BorderSizePixel = 0
  471. but.TextScaled = true
  472. but.BackgroundColor3 = Color3.fromRGB(198, 45, 45)
  473. but.MouseButton1Down:connect(function()
  474. on = not on
  475. end)
  476. game:GetService('RunService').Stepped:connect(function()
  477. if chr.Parent == nil then
  478. chr.RobloxLocked = false
  479. chr.Parent = game.Workspace
  480. end
  481. if chr:FindFirstChildOfClass('Humanoid') == nil then
  482. hum:Clone().Parent = chr
  483. chr.Animate:Destroy()
  484. anim:Clone().Parent = chr
  485. end
  486. if chr:FindFirstChild('HumanoidRootPart') == nil then
  487. humroot:Clone().Parent = chr
  488. humroot.CFrame = lastpos
  489. chr.Humanoid:Destroy()
  490. hum:Clone().Parent = chr
  491. chr.Animate:Destroy()
  492. anim:Clone().Parent = chr
  493. chr.HumanoidRootPart.RootJoint:Destroy()
  494. end
  495. if chr:FindFirstChild('Torso') == nil then
  496. chr.Humanoid:Destroy()
  497. local tor = tors:Clone()
  498. tor.Parent = chr
  499. hum:Clone().Parent = chr
  500. chr.Animate:Destroy()
  501. anim:Clone().Parent = chr
  502. end
  503. if chr.HumanoidRootPart:FindFirstChild('RootJoint') == nil then
  504. local rtj = rootjoint:Clone()
  505. rtj.Parent = chr.HumanoidRootPart
  506. rtj.Part0 = chr.HumanoidRootPart
  507. rtj.Part1 = chr.Torso
  508. end
  509. if chr:FindFirstChild('Head') == nil then
  510. chr.Humanoid:Destroy()
  511. head:Clone().Parent = chr
  512. hum:Clone().Parent = chr
  513. chr.Animate:Destroy()
  514. anim:Clone().Parent = chr
  515. end
  516. if chr.Torso:FindFirstChild('Neck') == nil then
  517. chr.Humanoid:Destroy()
  518. local hec = neck:Clone()
  519. hec.Parent = chr.Torso
  520. hec.Part0 = chr.Torso
  521. hec.Part1 = chr.Head
  522. hum:Clone().Parent = chr
  523. chr.Animate:Destroy()
  524. anim:Clone().Parent = chr
  525. end
  526. if chr:FindFirstChild('Right Leg') == nil then
  527. rightleg:Clone().Parent = chr
  528. local fi = righthip:Clone()
  529. fi.Parent = chr.Torso
  530. fi.Part0 = chr.Torso
  531. fi.Part1 = chr["Right Leg"]
  532. end
  533. if chr:FindFirstChild('Right Arm') == nil then
  534. rightarm:Clone().Parent = chr
  535. local fi = rightshoulder:Clone()
  536. fi.Parent = chr.Torso
  537. fi.Part0 = chr.Torso
  538. fi.Part1 = chr["Right Arm"]
  539. end
  540. if chr:FindFirstChild('Left Leg') == nil then
  541. leftleg:Clone().Parent = chr
  542. local fi = lefthip:Clone()
  543. fi.Parent = chr.Torso
  544. fi.Part0 = chr.Torso
  545. fi.Part1 = chr["Left Leg"]
  546. end
  547. if chr:FindFirstChild('Left Arm') == nil then
  548. leftarm:Clone().Parent = chr
  549. local fi = leftshoulder:Clone()
  550. fi.Parent = chr.Torso
  551. fi.Part0 = chr.Torso
  552. fi.Part1 = chr["Left Arm"]
  553. end
  554. for i,v in pairs(chr:GetChildren()) do
  555. if v.Name == "Mask" or v.ClassName == "Accessory" or v.ClassName == "Shirt" or v.ClassName == "Pants" or v.Name == "KatanaHolder" then
  556. v:Destroy()
  557. end
  558. end
  559. chr.Humanoid.Health = chr.Humanoid.MaxHealth
  560. if partz:FindFirstChild('Weld') == nil and toolz.Parent == chr then
  561. local weld = Instance.new('Weld',partz)
  562. weld.Part0 = partz
  563. weld.Part1 = chr["Right Arm"]
  564. weld.C0 = CFrame.new(0.9,0,-1.25)*CFrame.Angles(math.pi,0,-math.pi/2)
  565. end
  566. lastpos = chr.HumanoidRootPart.CFrame
  567. local kat = Instance.new('Part',chr)
  568. kat.Size = Vector3.new(0.4,3,0.2)
  569. kat.Name = "KatanaHolder"
  570. kat.Material = Enum.Material.SmoothPlastic
  571. kat.BrickColor = BrickColor.new('Really black')
  572. kat.CanCollide = false
  573. local we = Instance.new('Weld',kat)
  574. we.Part0 = kat
  575. we.Part1 = chr.Torso
  576. we.C0 = CFrame.new(0,0,-0.5)*CFrame.Angles(0,0,0.5)
  577. if on == true then
  578. local shirt = Instance.new('Shirt',chr)
  579. shirt.ShirtTemplate = 'rbxassetid://'
  580. local pants = Instance.new('Pants',chr)
  581. pants.PantsTemplate = 'rbxassetid://'
  582. local mask = Instance.new('Part',chr)
  583. mask.Name = "Mask"
  584. mask.Size = Vector3.new(2,1,1)
  585. mask.BrickColor = BrickColor.new('Bright red')
  586. local mesh = Instance.new('SpecialMesh',mask)
  587. mesh.Scale = Vector3.new(1.3,1.3,1.3)
  588. local weld = Instance.new('Weld',mask)
  589. weld.Part0 = mask
  590. weld.Part1 = chr.Head
  591. local eyesurround = Instance.new('Part',mask)
  592. eyesurround.BrickColor = BrickColor.new('Really black')
  593. eyesurround.Size = Vector3.new(0.3,0.5,0.2)
  594. local mesh2 = Instance.new('SpecialMesh',eyesurround)
  595. mesh2.MeshType = Enum.MeshType.Sphere
  596. mesh2.Scale = Vector3.new(1,1,0.5)
  597. local weld2 = Instance.new('Weld',eyesurround)
  598. weld2.Part0 = eyesurround
  599. weld2.Part1 = mask
  600. weld2.C0 = CFrame.new(0.1,-0.22,0.58)*CFrame.Angles(0,0,-0.2)
  601. local eyesurround2 = Instance.new('Part',mask)
  602. eyesurround2.BrickColor = BrickColor.new('Really black')
  603. eyesurround2.Size = Vector3.new(0.3,0.5,0.2)
  604. local mesh3 = Instance.new('SpecialMesh',eyesurround2)
  605. mesh3.MeshType = Enum.MeshType.Sphere
  606. mesh3.Scale = Vector3.new(1,1,0.5)
  607. local weld3 = Instance.new('Weld',eyesurround2)
  608. weld3.Part0 = eyesurround2
  609. weld3.Part1 = mask
  610. weld3.C0 = CFrame.new(-0.1,-0.22,0.58)*CFrame.Angles(0,0,0.2)
  611. local eye = Instance.new('Part',mask)
  612. eye.BrickColor = BrickColor.new('Institutional white')
  613. eye.Size = Vector3.new(0.2,0.2,0.2)
  614. local mesh4 = Instance.new('SpecialMesh',eye)
  615. mesh4.MeshType = Enum.MeshType.Sphere
  616. mesh4.Scale = Vector3.new(1,1,0.5)
  617. local weld4 = Instance.new('Weld',eye)
  618. weld4.Part0 = eye
  619. weld4.Part1 = mask
  620. weld4.C0 = CFrame.new(0.1,-0.22,0.59)*CFrame.Angles(0,0,-0.2)
  621. local eye2 = Instance.new('Part',mask)
  622. eye2.BrickColor = BrickColor.new('Institutional white')
  623. eye2.Size = Vector3.new(0.2,0.2,0.2)
  624. local mesh5 = Instance.new('SpecialMesh',eye2)
  625. mesh5.MeshType = Enum.MeshType.Sphere
  626. mesh5.Scale = Vector3.new(1,1,0.5)
  627. local weld5 = Instance.new('Weld',eye2)
  628. weld5.Part0 = eye2
  629. weld5.Part1 = mask
  630. weld5.C0 = CFrame.new(-0.1,-0.22,0.59)*CFrame.Angles(0,0,0.2)
  631. else
  632. chr.Head.Transparency = 0
  633. if shirt ~= nil then
  634. shirt:Clone().Parent = chr
  635. end
  636. if pants ~= nil then
  637. pants:Clone().Parent = chr
  638. end
  639. for i,v in pairs(hats) do
  640. v:Clone().Parent = chr
  641. end
  642. end
  643. end)
  644. player = game:service("Players").LocalPlayer
  645. char = player.Character
  646. local beat = true
  647. local beattime = 0.6
  648. suit = Instance.new("Model", char)
  649. suit.Name = "Determination"
  650. local vDebounce = false
  651. Torso = char.Torso
  652. cf = CFrame.new
  653. euler = CFrame.fromEulerAnglesXYZ
  654. slashvalue = 1
  655. beamvalue = 1
  656. onehitkill = true
  657. onehitkilltwo = true
  658. specialattack = false
  659. for _, v in pairs(char.Head:GetChildren()) do
  660. if v.ClassName == "Decal" then
  661. v:remove()
  662. end
  663. end
  664. for _, v in pairs(char:GetChildren()) do
  665. if v.ClassName == "Hat" then
  666. v:remove()
  667. end
  668. end
  669. for _, v in pairs(char:GetChildren()) do
  670. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" then
  671. v:remove()
  672. end
  673. end
  674. shirt = Instance.new("Shirt", char)
  675. pants = Instance.new("Pants", char)
  676. face = Instance.new("Decal", char.Head)
  677. face.Texture = "http://www.roblox.com/asset/?id=400387868"
  678. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=334755544"
  679. pants.PantsTemplate = "http://www.roblox.com/asset/?id=315964941"
  680. local Hat = char:FindFirstChild("Hat_F") or Instance.new("Hat")
  681. Hat.AttachmentPos = Vector3.new(0, 0.33, 0)
  682. Hat.Name = "Hat_F"
  683. local Handle = Hat:FindFirstChild("Handle") or Instance.new("Part", Hat)
  684. if Handle.Name ~= "Handle" then
  685. Handle.Size = Vector3.new(1, 1, 1)
  686. end
  687. Handle.BottomSurface = 0
  688. Handle.Name = "Handle"
  689. Handle.TopSurface = 0
  690. Handle.Locked = 1
  691. local Mesh = Hat:FindFirstChild("Mesh") or Instance.new("SpecialMesh", Handle)
  692. Mesh.TextureId = "http://www.roblox.com/asset/?id="
  693. Mesh.MeshId = "http://www.roblox.com/asset/?id=495214311"
  694. Mesh.Scale = Vector3.new(1.05, 1.05, 1.05)
  695. Hat.Parent = char
  696. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  697. RW.Name = "Right Shoulder"
  698. LW.Name = "Left Shoulder"
  699. RSH, LSH = nil, nil
  700. LS = Torso["Left Shoulder"]
  701. LH = Torso["Left Hip"]
  702. RS = Torso["Right Shoulder"]
  703. RH = Torso["Right Hip"]
  704. RSH = char.Torso["Right Shoulder"]
  705. LSH = char.Torso["Left Shoulder"]
  706. local LSounds = {
  707. MegaloStrikesBack = Instance.new("Sound")
  708. }
  709. LSounds.MegaloStrikesBack.SoundId = "http://www.roblox.com/asset?id=1313342415"
  710. LSounds.MegaloStrikesBack.Volume = 10
  711. function PlayLoopedSound(soundname, pitch)
  712. LSounds[soundname].Parent = char.Torso
  713. LSounds[soundname].Pitch = pitch
  714. LSounds[soundname]:Play()
  715. LSounds[soundname].Looped = true
  716. oldloopedsound = LSounds[soundname]
  717. LSounds[soundname] = LSounds[soundname]:clone()
  718. end
  719. local Sounds = {
  720. Hurt = Instance.new("Sound"),
  721. Slash = Instance.new("Sound"),
  722. Explode = Instance.new("Sound"),
  723. Sans = Instance.new("Sound")
  724. }
  725. Sounds.Slash.SoundId = "http://www.roblox.com/asset?id=394934205"
  726. Sounds.Slash.Volume = 1
  727. Sounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  728. Sounds.Hurt.Volume = 1
  729. Sounds.Sans.SoundId = "http://www.roblox.com/asset?id=388205678"
  730. Sounds.Sans.Volume = 1
  731. Sounds.Explode.SoundId = "rbxasset://sounds/collide.wav"
  732. Sounds.Explode.Volume = 1
  733. function PlaySound(soundname, pitch)
  734. Sounds[soundname].Parent = Torso
  735. Sounds[soundname].Pitch = pitch
  736. Sounds[soundname]:Play()
  737. local oldsound = Sounds[soundname]
  738. coroutine.resume(coroutine.create(function()
  739. wait(4)
  740. oldsound:Destroy()
  741. end))
  742. Sounds[soundname] = Sounds[soundname]:clone()
  743. end
  744. --char.Humanoid.MaxHealth = 99999999999999999999999999
  745. --char.Humanoid.Health = 9999999999999999999999999999
  746. function CharaTalks()
  747. local m = Instance.new("Model", char.Head)
  748. m.Name = "* W"
  749. local chat = Instance.new("Part", m)
  750. chat.TopSurface = "Smooth"
  751. chat.BottomSurface = "Smooth"
  752. chat.Name = "Head"
  753. chat.FormFactor = "Custom"
  754. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  755. chat.Transparency = 0.9
  756. chat.CanCollide = false
  757. chat.Anchored = true
  758. 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))
  759. local h = Instance.new("Humanoid", m)
  760. h.MaxHealth = 0
  761. m.Name = "* We"
  762. wait()
  763. m.Name = "* Wel"
  764. wait()
  765. m.Name = "* Welc"
  766. wait()
  767. m.Name = "* Welco"
  768. wait()
  769. m.Name = "* Welcom"
  770. wait()
  771. m.Name = "* Welcome"
  772. wait()
  773. m.Name = "* Welcome "
  774. wait()
  775. m.Name = "* Welcome t"
  776. wait()
  777. m.Name = "* Welcome to"
  778. wait()
  779. m.Name = "* Welcome to "
  780. wait()
  781. m.Name = "* Welcome to m"
  782. wait()
  783. m.Name = "* Welcome to my"
  784. wait()
  785. m.Name = "* Welcome to my "
  786. wait()
  787. m.Name = "* Welcome to my S"
  788. wait()
  789. m.Name = "* Welcome to my SP"
  790. wait()
  791. m.Name = "* Welcome to my SPE"
  792. wait()
  793. m.Name = "* Welcome to my SPEC"
  794. wait()
  795. m.Name = "* Welcome to my SPECI"
  796. wait()
  797. m.Name = "* Welcome to my SPECIA"
  798. wait()
  799. m.Name = "* Welcome to my SPECIAL"
  800. wait()
  801. m.Name = "* Welcome to my SPECIAL "
  802. wait()
  803. m.Name = "* Welcome to my SPECIAL A"
  804. wait()
  805. m.Name = "* Welcome to my SPECIAL AT"
  806. wait()
  807. m.Name = "* Welcome to my SPECIAL ATT"
  808. wait()
  809. m.Name = "* Welcome to my SPECIAL ATTA"
  810. wait()
  811. m.Name = "* Welcome to my SPECIAL ATTAC"
  812. wait()
  813. m.Name = "* Welcome to my SPECIAL ATTACK"
  814. wait()
  815. m.Name = "* Welcome to my SPECIAL ATTACK!"
  816. wait()
  817. m:remove()
  818. end
  819. function GETDUNKED()
  820. coroutine.resume(coroutine.create(function()
  821. local m = Instance.new("Model", char.Head)
  822. m.Name = "* G"
  823. local chat = Instance.new("Part", m)
  824. chat.TopSurface = "Smooth"
  825. chat.BottomSurface = "Smooth"
  826. chat.Name = "Head"
  827. chat.FormFactor = "Custom"
  828. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  829. chat.Transparency = 0.9
  830. chat.CanCollide = false
  831. chat.Anchored = true
  832. 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))
  833. local h = Instance.new("Humanoid", m)
  834. h.MaxHealth = 0
  835. PlaySound("Sans", 1)
  836. m.Name = "* GE"
  837. wait(0.1)
  838. PlaySound("Sans", 1)
  839. m.Name = "* GEE"
  840. wait(0.1)
  841. PlaySound("Sans", 1)
  842. m.Name = "* GEEE"
  843. wait(0.1)
  844. PlaySound("Sans", 1)
  845. m.Name = "* GEEET"
  846. wait(0.1)
  847. PlaySound("Sans", 1)
  848. m.Name = "* GEEETT"
  849. wait(0.1)
  850. PlaySound("Sans", 1)
  851. m.Name = "* GEEETTT"
  852. wait(0.3)
  853. PlaySound("Sans", 1)
  854. m.Name = "* GEEETTT D"
  855. wait(0.1)
  856. PlaySound("Sans", 1)
  857. m.Name = "* GEEETTT DU"
  858. wait(0.1)
  859. PlaySound("Sans", 1)
  860. m.Name = "* GEEETTT DUN"
  861. wait(0.1)
  862. PlaySound("Sans", 1)
  863. m.Name = "* GEEETTT DUNK"
  864. wait(0.1)
  865. PlaySound("Sans", 1)
  866. m.Name = "* GEEETTT DUNKE"
  867. wait(0.1)
  868. PlaySound("Sans", 1)
  869. m.Name = "* GEEETTT DUNKED"
  870. wait(0.3)
  871. PlaySound("Sans", 1)
  872. m.Name = "* GEEETTT DUNKED O"
  873. wait(0.1)
  874. PlaySound("Sans", 1)
  875. m.Name = "* GEEETTT DUNKED ON"
  876. wait(0.1)
  877. PlaySound("Sans", 1)
  878. m.Name = "* GEEETTT DUNKED ON!"
  879. wait(0.3)
  880. PlaySound("Sans", 1)
  881. m.Name = "* Y"
  882. wait(0.1)
  883. PlaySound("Sans", 1)
  884. m.Name = "* Yo"
  885. wait(0.1)
  886. PlaySound("Sans", 1)
  887. m.Name = "* You"
  888. wait(0.1)
  889. PlaySound("Sans", 1)
  890. m.Name = "* You m"
  891. wait(0.1)
  892. PlaySound("Sans", 1)
  893. m.Name = "* You me"
  894. wait(0.1)
  895. PlaySound("Sans", 1)
  896. m.Name = "* You meg"
  897. wait(0.1)
  898. PlaySound("Sans", 1)
  899. m.Name = "* You mega"
  900. wait(0.1)
  901. PlaySound("Sans", 1)
  902. m.Name = "* You megal"
  903. wait(0.1)
  904. PlaySound("Sans", 1)
  905. m.Name = "* You megalo"
  906. wait(0.1)
  907. PlaySound("Sans", 1)
  908. m.Name = "* You megalom"
  909. wait(0.1)
  910. PlaySound("Sans", 1)
  911. m.Name = "* You megaloma"
  912. wait(0.1)
  913. PlaySound("Sans", 1)
  914. m.Name = "* You megaloman"
  915. wait(0.1)
  916. PlaySound("Sans", 1)
  917. m.Name = "* You megalomani"
  918. wait(0.1)
  919. PlaySound("Sans", 1)
  920. m.Name = "* You megalomania"
  921. wait(0.1)
  922. PlaySound("Sans", 1)
  923. m.Name = "* You megalomaniac"
  924. wait(0.1)
  925. PlaySound("Sans", 1)
  926. m.Name = "* You megalomaniac!"
  927. wait(3)
  928. m:remove()
  929. end))
  930. end
  931. function startup()
  932. coroutine.resume(coroutine.create(function()
  933. local m = Instance.new("Model", char)
  934. m.Name = "* C"
  935. local chat = Instance.new("Part", m)
  936. chat.TopSurface = "Smooth"
  937. chat.BottomSurface = "Smooth"
  938. chat.Name = "Head"
  939. chat.FormFactor = "Custom"
  940. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  941. chat.Transparency = 0.9
  942. chat.CanCollide = false
  943. local Weld7 = Instance.new("Weld", char)
  944. Weld7.Part0 = char.Head
  945. Weld7.Part1 = chat
  946. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  947. local cy7 = Instance.new("BlockMesh", chat)
  948. local h = Instance.new("Humanoid", m)
  949. h.MaxHealth = 0
  950. m.Name = "* Ch"
  951. wait(0.2)
  952. m.Name = "* Cha"
  953. wait(0.2)
  954. m.Name = "* Char"
  955. wait(0.2)
  956. m.Name = "* Chara"
  957. wait(0.2)
  958. m.Name = "* Chara."
  959. wait(0.5)
  960. m.Name = "* Chara.."
  961. wait(0.5)
  962. m.Name = "* Chara..."
  963. wait(0.5)
  964. wait(5)
  965. m:remove()
  966. end))
  967. end
  968. startup()
  969. PlayLoopedSound("MegaloStrikesBack", 1)
  970. Tool = Instance.new("HopperBin", player.Backpack)
  971. Tool.Name = "Charas Megalovania Knife"
  972. Tool.Selected:connect(function(mouse)
  973. RW.Part0 = char.Torso
  974. RW.C0 = CFrame.new(1.5, 0.5, 0)
  975. RW.C1 = CFrame.new(0, 0.5, 0)
  976. RW.Part1 = char["Right Arm"]
  977. RW.Parent = char.Torso
  978. handle = Instance.new("Part", suit)
  979. handle.TopSurface = "Smooth"
  980. handle.BottomSurface = "Smooth"
  981. handle.Size = Vector3.new(0.2, 0.5, 0.5)
  982. handle.CanCollide = false
  983. handle.BrickColor = BrickColor.new("Dark stone grey")
  984. handle.FormFactor = "Custom"
  985. local Weldb = Instance.new("Weld", char)
  986. Weldb.Part0 = char["Right Arm"]
  987. Weldb.Part1 = handle
  988. Weldb.C1 = CFrame.new(0, -1.6, 0.8) * CFrame.fromEulerAnglesXYZ(-4.2, 0, 0)
  989. local KnifeMesh = Instance.new("SpecialMesh", handle)
  990. KnifeMesh.MeshType = "FileMesh"
  991. KnifeMesh.MeshId = "http://www.roblox.com/asset/?id=121944778"
  992. KnifeMesh.TextureId = "http://www.roblox.com/asset/?id=121944805"
  993. function touch(hit)
  994. if vDebounce == true and hit.Parent:findFirstChild("Humanoid") ~= nil then
  995. if hit.Parent.Name == char.Name then
  996. return
  997. end
  998. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000
  999. do
  1000. local HitSounds = {
  1001. Hurt = Instance.new("Sound")
  1002. }
  1003. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=571898289"
  1004. HitSounds.Hurt.Volume = 1
  1005. function PlayHitSound(soundname, pitch)
  1006. HitSounds[soundname].Parent = hit.Parent.Torso
  1007. HitSounds[soundname].Pitch = pitch
  1008. HitSounds[soundname]:Play()
  1009. local oldsound = HitSounds[soundname]
  1010. coroutine.resume(coroutine.create(function()
  1011. wait(4)
  1012. oldsound:Destroy()
  1013. end))
  1014. HitSounds[soundname] = HitSounds[soundname]:clone()
  1015. end
  1016. PlayHitSound("Hurt", 1)
  1017. end
  1018. end
  1019. end
  1020. handle.Touched:connect(touch)
  1021. function teleportPlayer(pos)
  1022. if player == nil or player.Character == nil then
  1023. return
  1024. end
  1025. Torso.CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
  1026. end
  1027. function slash1()
  1028. if not vDebounce then
  1029. vDebounce = true
  1030. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1031. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1032. wait(0.1)
  1033. PlaySound("Slash", 1)
  1034. coroutine.resume(coroutine.create(function()
  1035. for i = 1, 10 do
  1036. wait()
  1037. local RedSlash = Instance.new("Part", suit)
  1038. RedSlash.FormFactor = "Custom"
  1039. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  1040. RedSlash.Transparency = 0.5
  1041. local selectionBox = Instance.new("SelectionBox", RedSlash)
  1042. selectionBox.Adornee = RedSlash
  1043. selectionBox.Color = BrickColor.new("Red")
  1044. selectionBox.LineThickness = 0.005
  1045. RedSlash.TopSurface = 0
  1046. RedSlash.BottomSurface = 0
  1047. local colorc = {"Red"}
  1048. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1049. RedSlash.BrickColor = Fire
  1050. RedSlash.CanCollide = false
  1051. RedSlash.Anchored = true
  1052. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1053. game.Debris:AddItem(RedSlash, 0.1)
  1054. end
  1055. end))
  1056. for i = 1, 3 do
  1057. wait()
  1058. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1059. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1060. end
  1061. wait(0.3)
  1062. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1063. RW.C1 = CFrame.new(0, 0.5, 0)
  1064. slashvalue = slashvalue + 1
  1065. vDebounce = false
  1066. end
  1067. end
  1068. function slash2()
  1069. if not vDebounce then
  1070. vDebounce = true
  1071. coroutine.resume(coroutine.create(function()
  1072. for i = 1, 20 do
  1073. wait()
  1074. local RedSlash2 = Instance.new("Part", suit)
  1075. RedSlash2.FormFactor = "Custom"
  1076. RedSlash2.Size = Vector3.new(0.5, 2, 0.5)
  1077. RedSlash2.Transparency = 0.5
  1078. local selectionBox = Instance.new("SelectionBox", RedSlash2)
  1079. selectionBox.Adornee = RedSlash2
  1080. selectionBox.Color = BrickColor.new("Really black")
  1081. selectionBox.LineThickness = 0.005
  1082. RedSlash2.TopSurface = 0
  1083. RedSlash2.BottomSurface = 0
  1084. local colorc = {"Black"}
  1085. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1086. RedSlash2.BrickColor = Fire
  1087. RedSlash2.CanCollide = false
  1088. RedSlash2.Anchored = true
  1089. RedSlash2.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1090. game.Debris:AddItem(RedSlash2, 0.2)
  1091. end
  1092. end))
  1093. for i = 1, 10 do
  1094. wait()
  1095. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1096. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  1097. end
  1098. PlaySound("Slash", 1)
  1099. for i = 1, 3 do
  1100. wait()
  1101. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1102. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1103. end
  1104. wait(0.3)
  1105. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1106. RW.C1 = CFrame.new(0, 0.5, 0)
  1107. slashvalue = slashvalue + 1
  1108. vDebounce = false
  1109. end
  1110. end
  1111. function slash3()
  1112. if not vDebounce then
  1113. vDebounce = true
  1114. PlaySound("Slash", 1)
  1115. coroutine.resume(coroutine.create(function()
  1116. for i = 1, 20 do
  1117. wait()
  1118. local RedSlash3 = Instance.new("Part", suit)
  1119. RedSlash3.FormFactor = "Custom"
  1120. RedSlash3.Size = Vector3.new(0.5, 2, 0.5)
  1121. RedSlash3.Transparency = 0.5
  1122. local selectionBox = Instance.new("SelectionBox", RedSlash3)
  1123. selectionBox.Adornee = RedSlash3
  1124. selectionBox.Color = BrickColor.new("Red")
  1125. selectionBox.LineThickness = 0.005
  1126. RedSlash3.TopSurface = 0
  1127. RedSlash3.BottomSurface = 0
  1128. local colorc = {"Red"}
  1129. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1130. RedSlash3.BrickColor = Fire
  1131. RedSlash3.CanCollide = false
  1132. RedSlash3.Anchored = true
  1133. RedSlash3.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1134. game.Debris:AddItem(RedSlash3, 0.3)
  1135. end
  1136. end))
  1137. for i = 1, 3 do
  1138. wait()
  1139. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1140. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1141. end
  1142. wait(0.3)
  1143. PlaySound("Slash", 1)
  1144. for i = 1, 3 do
  1145. wait()
  1146. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  1147. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  1148. end
  1149. wait(0.3)
  1150. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1151. RW.C1 = CFrame.new(0, 0.5, 0)
  1152. slashvalue = slashvalue - 2
  1153. vDebounce = false
  1154. end
  1155. end
  1156. function KnifeBeam1()
  1157. if not vDebounce then
  1158. vDebounce = true
  1159. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1160. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1161. wait(0.1)
  1162. PlaySound("Slash", 1)
  1163. coroutine.resume(coroutine.create(function()
  1164. for i = 1, 10 do
  1165. wait()
  1166. local p = Instance.new("Part", handle)
  1167. p.FormFactor = "Custom"
  1168. p.Size = Vector3.new(1, 0.5, 1)
  1169. p.Transparency = 0.5
  1170. local selectionBox = Instance.new("SelectionBox", p)
  1171. selectionBox.Adornee = p
  1172. selectionBox.Color = BrickColor.new("Red")
  1173. selectionBox.LineThickness = 0.005
  1174. p.Material = "Neon"
  1175. p.TopSurface = 0
  1176. p.BottomSurface = 0
  1177. local colorc = {"Red"}
  1178. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1179. p.BrickColor = Fire
  1180. p.CanCollide = false
  1181. p.Anchored = true
  1182. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1183. game.Debris:AddItem(p, 0.1)
  1184. end
  1185. end))
  1186. for i = 1, 3 do
  1187. wait()
  1188. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1189. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1190. end
  1191. coroutine.resume(coroutine.create(function()
  1192. local ps = Instance.new("Part", suit)
  1193. ps.Name = "MagicPart"
  1194. ps.TopSurface = "Smooth"
  1195. ps.BottomSurface = "Smooth"
  1196. ps.BrickColor = BrickColor.new("Institutional white")
  1197. ps.Material = "Neon"
  1198. ps.FormFactor = "Custom"
  1199. ps.Size = Vector3.new(5, 1, 1)
  1200. ps.Anchored = true
  1201. ps.Transparency = 0.5
  1202. ps.CanCollide = false
  1203. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1204. local selectionBox = Instance.new("SelectionBox", ps)
  1205. selectionBox.Adornee = ps
  1206. selectionBox.Color = BrickColor.new("Black")
  1207. selectionBox.LineThickness = 0.2
  1208. selectionBox.Transparency = 0.5
  1209. function touch(hit)
  1210. if hit.Parent.Name == char.Name then
  1211. return
  1212. end
  1213. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1214. ps:remove()
  1215. if hit.Parent.Name == char.Name then
  1216. return
  1217. end
  1218. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000000000000000000000000000
  1219. do
  1220. local HitSounds = {
  1221. Hurt = Instance.new("Sound")
  1222. }
  1223. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1224. HitSounds.Hurt.Volume = 1
  1225. function PlayHitSound(soundname, pitch)
  1226. HitSounds[soundname].Parent = hit.Parent.Torso
  1227. HitSounds[soundname].Pitch = pitch
  1228. HitSounds[soundname]:Play()
  1229. local oldsound = HitSounds[soundname]
  1230. coroutine.resume(coroutine.create(function()
  1231. wait(4)
  1232. oldsound:Destroy()
  1233. end))
  1234. HitSounds[soundname] = HitSounds[soundname]:clone()
  1235. end
  1236. PlayHitSound("Hurt", 1)
  1237. end
  1238. end
  1239. end
  1240. ps.Touched:connect(touch)
  1241. coroutine.resume(coroutine.create(function()
  1242. for i = 1, 50 do
  1243. wait()
  1244. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  1245. end
  1246. ps.Transparency = ps.Transparency + 1
  1247. wait()
  1248. ps.Transparency = ps.Transparency + 1
  1249. wait()
  1250. ps.Transparency = ps.Transparency + 1
  1251. wait()
  1252. ps.Transparency = ps.Transparency + 1
  1253. wait()
  1254. ps.Transparency = ps.Transparency + 1
  1255. wait()
  1256. ps:remove()
  1257. end))
  1258. end))
  1259. wait(0.3)
  1260. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1261. RW.C1 = CFrame.new(0, 0.5, 0)
  1262. beamvalue = beamvalue + 1
  1263. vDebounce = false
  1264. end
  1265. end
  1266. function KnifeBeam2()
  1267. if not vDebounce then
  1268. vDebounce = true
  1269. coroutine.resume(coroutine.create(function()
  1270. for i = 1, 20 do
  1271. wait()
  1272. local p = Instance.new("Part", handle)
  1273. p.FormFactor = "Custom"
  1274. p.Size = Vector3.new(1, 0.5, 1)
  1275. p.Transparency = 0.5
  1276. local selectionBox = Instance.new("SelectionBox", p)
  1277. selectionBox.Adornee = p
  1278. selectionBox.Color = BrickColor.new("Red")
  1279. selectionBox.LineThickness = 0.005
  1280. p.TopSurface = 0
  1281. p.BottomSurface = 0
  1282. local colorc = {"Red"}
  1283. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1284. p.BrickColor = Fire
  1285. p.CanCollide = false
  1286. p.Anchored = true
  1287. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1288. game.Debris:AddItem(p, 0.2)
  1289. end
  1290. end))
  1291. for i = 1, 10 do
  1292. wait()
  1293. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1294. RW.C1 = cf(0, 0.5, 0) * euler(0.1 * i, 0, 0)
  1295. end
  1296. PlaySound("Slash", 1)
  1297. for i = 1, 3 do
  1298. wait()
  1299. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1300. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1301. end
  1302. coroutine.resume(coroutine.create(function()
  1303. local ps = Instance.new("Part", suit)
  1304. ps.Name = "MagicPart"
  1305. ps.TopSurface = "Smooth"
  1306. ps.BottomSurface = "Smooth"
  1307. ps.BrickColor = BrickColor.new("Institutional white")
  1308. ps.Material = "Neon"
  1309. ps.FormFactor = "Custom"
  1310. ps.Size = Vector3.new(1, 5, 1)
  1311. ps.Anchored = true
  1312. ps.Transparency = 0.5
  1313. ps.CanCollide = false
  1314. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(-10, 0, 0)
  1315. local selectionBox = Instance.new("SelectionBox", ps)
  1316. selectionBox.Adornee = ps
  1317. selectionBox.Color = BrickColor.new("Black")
  1318. selectionBox.LineThickness = 0.2
  1319. selectionBox.Transparency = 0.5
  1320. function touch(hit)
  1321. if hit.Parent.Name == char.Name then
  1322. return
  1323. end
  1324. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1325. ps:remove()
  1326. if hit.Parent.Name == char.Name then
  1327. return
  1328. end
  1329. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 10000000000000000000000000000000000000000000000000
  1330. do
  1331. local HitSounds = {
  1332. Hurt = Instance.new("Sound")
  1333. }
  1334. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1335. HitSounds.Hurt.Volume = 1
  1336. function PlayHitSound(soundname, pitch)
  1337. HitSounds[soundname].Parent = hit.Parent.Torso
  1338. HitSounds[soundname].Pitch = pitch
  1339. HitSounds[soundname]:Play()
  1340. local oldsound = HitSounds[soundname]
  1341. coroutine.resume(coroutine.create(function()
  1342. wait(4)
  1343. oldsound:Destroy()
  1344. end))
  1345. HitSounds[soundname] = HitSounds[soundname]:clone()
  1346. end
  1347. PlayHitSound("Hurt", 1)
  1348. end
  1349. end
  1350. end
  1351. ps.Touched:connect(touch)
  1352. coroutine.resume(coroutine.create(function()
  1353. for i = 1, 50 do
  1354. wait()
  1355. ps.CFrame = ps.CFrame * CFrame.new(0, -1.9, 3)
  1356. end
  1357. ps.Transparency = ps.Transparency + 1
  1358. wait()
  1359. ps.Transparency = ps.Transparency + 1
  1360. wait()
  1361. ps.Transparency = ps.Transparency + 1
  1362. wait()
  1363. ps.Transparency = ps.Transparency + 1
  1364. wait()
  1365. ps.Transparency = ps.Transparency + 1
  1366. wait()
  1367. ps:remove()
  1368. end))
  1369. end))
  1370. wait(0.3)
  1371. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1372. RW.C1 = CFrame.new(0, 0.5, 0)
  1373. beamvalue = beamvalue + 1
  1374. vDebounce = false
  1375. end
  1376. end
  1377. function KnifeBeam3()
  1378. if not vDebounce then
  1379. vDebounce = true
  1380. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1381. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1382. wait(0.1)
  1383. PlaySound("Slash", 1)
  1384. coroutine.resume(coroutine.create(function()
  1385. for i = 1, 10 do
  1386. wait()
  1387. local p = Instance.new("Part", handle)
  1388. p.FormFactor = "Custom"
  1389. p.Size = Vector3.new(1, 0.5, 1)
  1390. p.Transparency = 0.5
  1391. local selectionBox = Instance.new("SelectionBox", p)
  1392. selectionBox.Adornee = p
  1393. selectionBox.Color = BrickColor.new("Really black")
  1394. selectionBox.LineThickness = 0.005
  1395. p.Material = "Neon"
  1396. p.TopSurface = 0
  1397. p.BottomSurface = 0
  1398. local colorc = {"Black"}
  1399. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1400. p.BrickColor = Fire
  1401. p.CanCollide = false
  1402. p.Anchored = true
  1403. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1404. game.Debris:AddItem(p, 0.1)
  1405. end
  1406. end))
  1407. for i = 1, 3 do
  1408. wait()
  1409. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1410. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1411. end
  1412. coroutine.resume(coroutine.create(function()
  1413. local ps = Instance.new("Part", suit)
  1414. ps.Name = "MagicPart"
  1415. ps.TopSurface = "Smooth"
  1416. ps.BottomSurface = "Smooth"
  1417. ps.BrickColor = BrickColor.new("Institutional white")
  1418. ps.Material = "Neon"
  1419. ps.FormFactor = "Custom"
  1420. ps.Size = Vector3.new(10, 10, 1)
  1421. ps.Anchored = true
  1422. ps.Transparency = 0.5
  1423. ps.CanCollide = false
  1424. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1425. local selectionBox = Instance.new("SelectionBox", ps)
  1426. selectionBox.Adornee = ps
  1427. selectionBox.Color = BrickColor.new("Black")
  1428. selectionBox.LineThickness = 0.2
  1429. selectionBox.Transparency = 0.5
  1430. function touch(hit)
  1431. if hit.Parent.Name == char.Name then
  1432. return
  1433. end
  1434. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1435. ps:remove()
  1436. if hit.Parent.Name == char.Name then
  1437. return
  1438. end
  1439. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - 100000000000000000000000000000000000000000000
  1440. do
  1441. local HitSounds = {
  1442. Hurt = Instance.new("Sound")
  1443. }
  1444. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1445. HitSounds.Hurt.Volume = 1
  1446. function PlayHitSound(soundname, pitch)
  1447. HitSounds[soundname].Parent = hit.Parent.Torso
  1448. HitSounds[soundname].Pitch = pitch
  1449. HitSounds[soundname]:Play()
  1450. local oldsound = HitSounds[soundname]
  1451. coroutine.resume(coroutine.create(function()
  1452. wait(4)
  1453. oldsound:Destroy()
  1454. end))
  1455. HitSounds[soundname] = HitSounds[soundname]:clone()
  1456. end
  1457. PlayHitSound("Hurt", 1)
  1458. end
  1459. end
  1460. end
  1461. ps.Touched:connect(touch)
  1462. coroutine.resume(coroutine.create(function()
  1463. for i = 1, 50 do
  1464. wait()
  1465. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -5)
  1466. end
  1467. ps.Transparency = ps.Transparency + 1
  1468. wait()
  1469. ps.Transparency = ps.Transparency + 1
  1470. wait()
  1471. ps.Transparency = ps.Transparency + 1
  1472. wait()
  1473. ps.Transparency = ps.Transparency + 1
  1474. wait()
  1475. ps.Transparency = ps.Transparency + 1
  1476. wait()
  1477. ps:remove()
  1478. end))
  1479. end))
  1480. wait(0.3)
  1481. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1482. RW.C1 = CFrame.new(0, 0.5, 0)
  1483. beamvalue = beamvalue - 2
  1484. vDebounce = false
  1485. end
  1486. end
  1487. function drawded()
  1488. if onehitkill == true then
  1489. onehitkill = false
  1490. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1491. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1492. wait(0.1)
  1493. PlaySound("Slash", 1)
  1494. coroutine.resume(coroutine.create(function()
  1495. for i = 1, 10 do
  1496. wait()
  1497. local p = Instance.new("Part", handle)
  1498. p.FormFactor = "Custom"
  1499. p.Size = Vector3.new(1, 1, 1)
  1500. p.Transparency = 0.5
  1501. local selectionBox = Instance.new("SelectionBox", p)
  1502. selectionBox.Adornee = p
  1503. selectionBox.Color = BrickColor.new("Red")
  1504. selectionBox.LineThickness = 0.001
  1505. p.TopSurface = 0
  1506. p.BottomSurface = 0
  1507. local colorc = {
  1508. "Red"
  1509. }
  1510. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1511. p.BrickColor = Fire
  1512. p.CanCollide = false
  1513. p.Anchored = true
  1514. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1515. game.Debris:AddItem(p, 0.1)
  1516. end
  1517. end))
  1518. for i = 1, 3 do
  1519. wait()
  1520. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1521. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1522. end
  1523. coroutine.resume(coroutine.create(function()
  1524. ultra = Instance.new("Part", suit)
  1525. ultra.Name = "MagicPart"
  1526. ultra.TopSurface = "Smooth"
  1527. ultra.BottomSurface = "Smooth"
  1528. ultra.BrickColor = BrickColor.new("Really black")
  1529. ultra.Material = "Neon"
  1530. ultra.FormFactor = "Custom"
  1531. ultra.Size = Vector3.new(5, 1, 1)
  1532. ultra.Anchored = true
  1533. ultra.CanCollide = false
  1534. ultra.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1535. local selectionBox = Instance.new("SelectionBox", ultra)
  1536. selectionBox.Adornee = ultra
  1537. selectionBox.Color = BrickColor.new("Really black")
  1538. selectionBox.LineThickness = 0.01
  1539. selectionBox.Transparency = 0
  1540. end))
  1541. wait(0.3)
  1542. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1543. RW.C1 = CFrame.new(0, 0.5, 0)
  1544. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1545. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1546. wait(0.1)
  1547. PlaySound("Slash", 1)
  1548. coroutine.resume(coroutine.create(function()
  1549. for i = 1, 10 do
  1550. wait()
  1551. local p = Instance.new("Part", handle)
  1552. p.FormFactor = "Custom"
  1553. p.Size = Vector3.new(1, 0.5, 1)
  1554. p.Transparency = 0.5
  1555. local selectionBox = Instance.new("SelectionBox", p)
  1556. selectionBox.Adornee = p
  1557. selectionBox.Color = BrickColor.new("Red")
  1558. selectionBox.LineThickness = 0.001
  1559. p.TopSurface = 0
  1560. p.BottomSurface = 0
  1561. local colorc = {
  1562. "Red"
  1563. }
  1564. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1565. p.BrickColor = Fire
  1566. p.CanCollide = false
  1567. p.Anchored = true
  1568. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1569. game.Debris:AddItem(p, 0.1)
  1570. end
  1571. end))
  1572. for i = 1, 3 do
  1573. wait()
  1574. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1575. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1576. end
  1577. coroutine.resume(coroutine.create(function()
  1578. ultra2 = Instance.new("Part", suit)
  1579. ultra2.Name = "MagicPart"
  1580. ultra2.TopSurface = "Smooth"
  1581. ultra2.BottomSurface = "Smooth"
  1582. ultra2.BrickColor = BrickColor.new("Red")
  1583. ultra2.Material = "Neon"
  1584. ultra2.FormFactor = "Custom"
  1585. ultra2.Size = Vector3.new(5, 1, 1)
  1586. ultra2.Anchored = true
  1587. ultra2.CanCollide = false
  1588. ultra2.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1589. local selectionBox = Instance.new("SelectionBox", ultra2)
  1590. selectionBox.Adornee = ultra2
  1591. selectionBox.Color = BrickColor.new("Really black")
  1592. selectionBox.LineThickness = 0.01
  1593. selectionBox.Transparency = 0
  1594. end))
  1595. wait(0.3)
  1596. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1597. RW.C1 = CFrame.new(0, 0.5, 0)
  1598. PlaySound("Slash", 1)
  1599. coroutine.resume(coroutine.create(function()
  1600. ultra3 = Instance.new("Part", suit)
  1601. ultra3.Name = "MagicPart"
  1602. ultra3.TopSurface = "Smooth"
  1603. ultra3.BottomSurface = "Smooth"
  1604. ultra3.BrickColor = BrickColor.new("Red")
  1605. ultra3.Material = "Neon"
  1606. ultra3.FormFactor = "Custom"
  1607. ultra3.Size = Vector3.new(1, 5, 1)
  1608. ultra3.Anchored = true
  1609. ultra3.CanCollide = false
  1610. ultra3.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1611. local selectionBox = Instance.new("SelectionBox", ultra3)
  1612. selectionBox.Adornee = ultra3
  1613. selectionBox.Color = BrickColor.new("Red")
  1614. selectionBox.LineThickness = 0.01
  1615. selectionBox.Transparency = 0
  1616. end))
  1617. coroutine.resume(coroutine.create(function()
  1618. for i = 1, 10 do
  1619. wait()
  1620. local p = Instance.new("Part", handle)
  1621. p.FormFactor = "Custom"
  1622. p.Size = Vector3.new(1, 0.5, 1)
  1623. p.Transparency = 0.5
  1624. local selectionBox = Instance.new("SelectionBox", p)
  1625. selectionBox.Adornee = p
  1626. selectionBox.Color = BrickColor.new("Red")
  1627. selectionBox.LineThickness = 0.001
  1628. p.TopSurface = 0
  1629. p.BottomSurface = 0
  1630. local colorc = {
  1631. "Red"
  1632. }
  1633. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1634. p.BrickColor = Fire
  1635. p.CanCollide = false
  1636. p.Anchored = true
  1637. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1638. game.Debris:AddItem(p, 0.1)
  1639. end
  1640. end))
  1641. coroutine.resume(coroutine.create(function()
  1642. for i = 1, 20 do
  1643. wait()
  1644. local p = Instance.new("Part", handle)
  1645. p.FormFactor = "Custom"
  1646. p.Size = Vector3.new(1, 0.5, 1)
  1647. p.Transparency = 0.5
  1648. local selectionBox = Instance.new("SelectionBox", p)
  1649. selectionBox.Adornee = p
  1650. selectionBox.Color = BrickColor.new("Red")
  1651. selectionBox.LineThickness = 0.005
  1652. p.TopSurface = 0
  1653. p.BottomSurface = 0
  1654. local colorc = {"Black"}
  1655. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1656. p.BrickColor = Fire
  1657. p.CanCollide = false
  1658. p.Anchored = true
  1659. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1660. game.Debris:AddItem(p, 0.3)
  1661. end
  1662. end))
  1663. for i = 1, 3 do
  1664. wait()
  1665. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1666. RW.C1 = cf(0, 0.5, 0) * euler(-0.5 * i, 0, 0)
  1667. end
  1668. wait(0.3)
  1669. PlaySound("Slash", 1)
  1670. coroutine.resume(coroutine.create(function()
  1671. ultra4 = Instance.new("Part", suit)
  1672. ultra4.Name = "MagicPart"
  1673. ultra4.TopSurface = "Smooth"
  1674. ultra4.BottomSurface = "Smooth"
  1675. ultra4.BrickColor = BrickColor.new("Red")
  1676. ultra4.Material = "Neon"
  1677. ultra4.FormFactor = "Custom"
  1678. ultra4.Size = Vector3.new(1, 5, 1)
  1679. ultra4.Anchored = true
  1680. ultra4.CanCollide = false
  1681. ultra4.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 0)
  1682. local selectionBox = Instance.new("SelectionBox", ultra3)
  1683. selectionBox.Adornee = ultra4
  1684. selectionBox.Color = BrickColor.new("Really black")
  1685. selectionBox.LineThickness = 0.01
  1686. selectionBox.Transparency = 0
  1687. end))
  1688. for i = 1, 3 do
  1689. wait()
  1690. RW.C0 = cf(1.5, 0.5, 0) * euler(0, 0, 0)
  1691. RW.C1 = cf(0, 0.5, 0) * euler(0.3 * i, 0, 0)
  1692. end
  1693. wait(0.3)
  1694. RW.C0 = CFrame.new(1.5, 0.5, 0)
  1695. RW.C1 = CFrame.new(0, 0.5, 0)
  1696. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  1697. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  1698. wait(0.1)
  1699. PlaySound("Slash", 1)
  1700. coroutine.resume(coroutine.create(function()
  1701. for i = 1, 10 do
  1702. wait()
  1703. local p = Instance.new("Part", handle)
  1704. p.FormFactor = "Custom"
  1705. p.Size = Vector3.new(1, 0.5, 1)
  1706. p.Transparency = 0.5
  1707. local selectionBox = Instance.new("SelectionBox", p)
  1708. selectionBox.Adornee = p
  1709. selectionBox.Color = BrickColor.new("Red")
  1710. selectionBox.LineThickness = 0.001
  1711. p.TopSurface = 0
  1712. p.BottomSurface = 0
  1713. local colorc = {
  1714. "Red"
  1715. }
  1716. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1717. p.BrickColor = Fire
  1718. p.CanCollide = false
  1719. p.Anchored = true
  1720. p.CFrame = handle.CFrame * CFrame.new(0, 1.5, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  1721. game.Debris:AddItem(p, 0.1)
  1722. end
  1723. end))
  1724. for i = 1, 3 do
  1725. wait()
  1726. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  1727. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  1728. end
  1729. coroutine.resume(coroutine.create(function()
  1730. ultra5 = Instance.new("Part", suit)
  1731. ultra5.Name = "MagicPart"
  1732. ultra5.TopSurface = "Smooth"
  1733. ultra5.BottomSurface = "Smooth"
  1734. ultra5.BrickColor = BrickColor.new("Really black")
  1735. ultra5.Material = "Neon"
  1736. ultra5.FormFactor = "Custom"
  1737. ultra5.Size = Vector3.new(5, 1, 1)
  1738. ultra5.Anchored = true
  1739. ultra5.CanCollide = false
  1740. ultra5.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -5) * CFrame.Angles(0, 0, 1)
  1741. local selectionBox = Instance.new("SelectionBox", ultra2)
  1742. selectionBox.Adornee = ultra5
  1743. selectionBox.Color = BrickColor.new("Really black")
  1744. selectionBox.LineThickness = 0.01
  1745. selectionBox.Transparency = 0
  1746. end))
  1747. wait()
  1748. local p = Instance.new("Part", handle)
  1749. p.FormFactor = "Custom"
  1750. p.Material = "Neon"
  1751. p.Size = Vector3.new(1, 2, 1)
  1752. p.Transparency = 0
  1753. local selectionBox = Instance.new("SelectionBox", p)
  1754. selectionBox.Adornee = p
  1755. selectionBox.Color = BrickColor.new("Red")
  1756. selectionBox.LineThickness = 0.001
  1757. p.TopSurface = 0
  1758. p.BottomSurface = 0
  1759. local colorc = {
  1760. "Red"
  1761. }
  1762. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  1763. p.BrickColor = Fire
  1764. p.CanCollide = false
  1765. p.Anchored = true
  1766. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1767. local light1 = Instance.new("SpotLight", p)
  1768. light1.Brightness = 164
  1769. light1.Color = Color3.new(255, 0, 0)
  1770. light1.Range = 7
  1771. for i = 1, 13 do
  1772. p.Transparency = p.Transparency + 0.1
  1773. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  1774. wait()
  1775. end
  1776. game.Debris:AddItem(p, 0.1)
  1777. coroutine.resume(coroutine.create(function()
  1778. coroutine.resume(coroutine.create(function()
  1779. for i = 1, 100 do
  1780. wait()
  1781. ultra.CFrame = ultra.CFrame * CFrame.new(0, 0, -4)
  1782. end
  1783. end))
  1784. coroutine.resume(coroutine.create(function()
  1785. for i = 1, 100 do
  1786. wait()
  1787. ultra2.CFrame = ultra2.CFrame * CFrame.new(0, 0, -4)
  1788. end
  1789. end))
  1790. coroutine.resume(coroutine.create(function()
  1791. for i = 1, 100 do
  1792. wait()
  1793. ultra3.CFrame = ultra3.CFrame * CFrame.new(0, 0, -4)
  1794. end
  1795. end))
  1796. coroutine.resume(coroutine.create(function()
  1797. for i = 1, 100 do
  1798. wait()
  1799. ultra4.CFrame = ultra4.CFrame * CFrame.new(0, 0, -4)
  1800. end
  1801. end))
  1802. coroutine.resume(coroutine.create(function()
  1803. for i = 1, 100 do
  1804. wait()
  1805. ultra5.CFrame = ultra5.CFrame * CFrame.new(0, 0, -4)
  1806. end
  1807. end))
  1808. wait(3)
  1809. ultra.Transparency = ultra.Transparency + 1
  1810. ultra2.Transparency = ultra2.Transparency + 1
  1811. ultra3.Transparency = ultra3.Transparency + 1
  1812. ultra4.Transparency = ultra4.Transparency + 1
  1813. ultra5.Transparency = ultra5.Transparency + 1
  1814. wait()
  1815. ultra.Transparency = ultra.Transparency + 1
  1816. ultra2.Transparency = ultra2.Transparency + 1
  1817. ultra3.Transparency = ultra3.Transparency + 1
  1818. ultra4.Transparency = ultra4.Transparency + 1
  1819. ultra5.Transparency = ultra5.Transparency + 1
  1820. wait()
  1821. ultra.Transparency = ultra.Transparency + 1
  1822. ultra2.Transparency = ultra2.Transparency + 1
  1823. ultra3.Transparency = ultra3.Transparency + 1
  1824. ultra4.Transparency = ultra4.Transparency + 1
  1825. ultra5.Transparency = ultra5.Transparency + 1
  1826. wait()
  1827. ultra.Transparency = ultra.Transparency + 1
  1828. ultra2.Transparency = ultra2.Transparency + 1
  1829. ultra3.Transparency = ultra3.Transparency + 1
  1830. ultra4.Transparency = ultra4.Transparency + 1
  1831. ultra5.Transparency = ultra5.Transparency + 1
  1832. wait()
  1833. ultra.Transparency = ultra.Transparency + 1
  1834. ultra2.Transparency = ultra2.Transparency + 1
  1835. ultra3.Transparency = ultra3.Transparency + 1
  1836. ultra4.Transparency = ultra4.Transparency + 1
  1837. ultra5.Transparency = ultra5.Transparency + 1
  1838. wait()
  1839. ultra:remove()
  1840. ultra2:remove()
  1841. ultra3:remove()
  1842. ultra4:remove()
  1843. ultra5:remove()
  1844. end))
  1845. function touch(hit)
  1846. if hit.Parent.Name == char.Name then
  1847. return
  1848. end
  1849. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1850. if hit.Parent.Name == char.Name then
  1851. return
  1852. end
  1853. hit.Parent:BreakJoints()
  1854. ultra:remove()
  1855. do
  1856. local HitSounds = {
  1857. Hurt = Instance.new("Sound")
  1858. }
  1859. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1860. HitSounds.Hurt.Volume = 1
  1861. function PlayHitSound(soundname, pitch)
  1862. HitSounds[soundname].Parent = hit.Parent.Torso
  1863. HitSounds[soundname].Pitch = pitch
  1864. HitSounds[soundname]:Play()
  1865. local oldsound = HitSounds[soundname]
  1866. coroutine.resume(coroutine.create(function()
  1867. wait(4)
  1868. oldsound:Destroy()
  1869. end))
  1870. HitSounds[soundname] = HitSounds[soundname]:clone()
  1871. end
  1872. PlayHitSound("Hurt", 1)
  1873. end
  1874. end
  1875. end
  1876. ultra.Touched:connect(touch)
  1877. function touch(hit)
  1878. if hit.Parent.Name == char.Name then
  1879. return
  1880. end
  1881. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1882. if hit.Parent.Name == char.Name then
  1883. return
  1884. end
  1885. hit.Parent:BreakJoints()
  1886. ultra2:remove()
  1887. do
  1888. local HitSounds = {
  1889. Hurt = Instance.new("Sound")
  1890. }
  1891. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1892. HitSounds.Hurt.Volume = 1
  1893. function PlayHitSound(soundname, pitch)
  1894. HitSounds[soundname].Parent = hit.Parent.Torso
  1895. HitSounds[soundname].Pitch = pitch
  1896. HitSounds[soundname]:Play()
  1897. local oldsound = HitSounds[soundname]
  1898. coroutine.resume(coroutine.create(function()
  1899. wait(4)
  1900. oldsound:Destroy()
  1901. end))
  1902. HitSounds[soundname] = HitSounds[soundname]:clone()
  1903. end
  1904. PlayHitSound("Hurt", 1)
  1905. end
  1906. end
  1907. end
  1908. ultra2.Touched:connect(touch)
  1909. function touch(hit)
  1910. if hit.Parent.Name == char.Name then
  1911. return
  1912. end
  1913. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1914. if hit.Parent.Name == char.Name then
  1915. return
  1916. end
  1917. hit.Parent:BreakJoints()
  1918. ultra2:remove()
  1919. do
  1920. local HitSounds = {
  1921. Hurt = Instance.new("Sound")
  1922. }
  1923. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1924. HitSounds.Hurt.Volume = 1
  1925. function PlayHitSound(soundname, pitch)
  1926. HitSounds[soundname].Parent = hit.Parent.Torso
  1927. HitSounds[soundname].Pitch = pitch
  1928. HitSounds[soundname]:Play()
  1929. local oldsound = HitSounds[soundname]
  1930. coroutine.resume(coroutine.create(function()
  1931. wait(4)
  1932. oldsound:Destroy()
  1933. end))
  1934. HitSounds[soundname] = HitSounds[soundname]:clone()
  1935. end
  1936. PlayHitSound("Hurt", 1)
  1937. end
  1938. end
  1939. end
  1940. ultra2.Touched:connect(touch)
  1941. function touch(hit)
  1942. if hit.Parent.Name == char.Name then
  1943. return
  1944. end
  1945. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1946. if hit.Parent.Name == char.Name then
  1947. return
  1948. end
  1949. hit.Parent:BreakJoints()
  1950. ultra3:remove()
  1951. do
  1952. local HitSounds = {
  1953. Hurt = Instance.new("Sound")
  1954. }
  1955. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1956. HitSounds.Hurt.Volume = 1
  1957. function PlayHitSound(soundname, pitch)
  1958. HitSounds[soundname].Parent = hit.Parent.Torso
  1959. HitSounds[soundname].Pitch = pitch
  1960. HitSounds[soundname]:Play()
  1961. local oldsound = HitSounds[soundname]
  1962. coroutine.resume(coroutine.create(function()
  1963. wait(4)
  1964. oldsound:Destroy()
  1965. end))
  1966. HitSounds[soundname] = HitSounds[soundname]:clone()
  1967. end
  1968. PlayHitSound("Hurt", 1)
  1969. end
  1970. end
  1971. end
  1972. ultra3.Touched:connect(touch)
  1973. function touch(hit)
  1974. if hit.Parent.Name == char.Name then
  1975. return
  1976. end
  1977. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  1978. if hit.Parent.Name == char.Name then
  1979. return
  1980. end
  1981. hit.Parent:BreakJoints()
  1982. ultra4:remove()
  1983. do
  1984. local HitSounds = {
  1985. Hurt = Instance.new("Sound")
  1986. }
  1987. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  1988. HitSounds.Hurt.Volume = 1
  1989. function PlayHitSound(soundname, pitch)
  1990. HitSounds[soundname].Parent = hit.Parent.Torso
  1991. HitSounds[soundname].Pitch = pitch
  1992. HitSounds[soundname]:Play()
  1993. local oldsound = HitSounds[soundname]
  1994. coroutine.resume(coroutine.create(function()
  1995. wait(4)
  1996. oldsound:Destroy()
  1997. end))
  1998. HitSounds[soundname] = HitSounds[soundname]:clone()
  1999. end
  2000. PlayHitSound("Hurt", 1)
  2001. end
  2002. end
  2003. end
  2004. ultra4.Touched:connect(touch)
  2005. function touch(hit)
  2006. if hit.Parent.Name == char.Name then
  2007. return
  2008. end
  2009. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  2010. if hit.Parent.Name == char.Name then
  2011. return
  2012. end
  2013. hit.Parent:BreakJoints()
  2014. ultra5:remove()
  2015. do
  2016. local HitSounds = {
  2017. Hurt = Instance.new("Sound")
  2018. }
  2019. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2020. HitSounds.Hurt.Volume = 1
  2021. function PlayHitSound(soundname, pitch)
  2022. HitSounds[soundname].Parent = hit.Parent.Torso
  2023. HitSounds[soundname].Pitch = pitch
  2024. HitSounds[soundname]:Play()
  2025. local oldsound = HitSounds[soundname]
  2026. coroutine.resume(coroutine.create(function()
  2027. wait(4)
  2028. oldsound:Destroy()
  2029. end))
  2030. HitSounds[soundname] = HitSounds[soundname]:clone()
  2031. end
  2032. PlayHitSound("Hurt", 1)
  2033. end
  2034. end
  2035. end
  2036. ultra5.Touched:connect(touch)
  2037. wait()
  2038. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2039. RW.C1 = CFrame.new(0, 0.5, 0)
  2040. local Dialogconnect = Instance.new("Part", suit)
  2041. Dialogconnect.TopSurface = "Smooth"
  2042. Dialogconnect.BottomSurface = "Smooth"
  2043. Dialogconnect.Material = "Neon"
  2044. Dialogconnect.FormFactor = "Custom"
  2045. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2046. Dialogconnect.Transparency = 1
  2047. Dialogconnect.CanCollide = false
  2048. Dialogconnect.BrickColor = BrickColor.new("Black")
  2049. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2050. selectionBox1.Adornee = Dialogconnect
  2051. selectionBox1.Color = BrickColor.new("Really black")
  2052. selectionBox1.LineThickness = 0.01
  2053. selectionBox1.Transparency = 1
  2054. local Weld = Instance.new("Weld", char)
  2055. Weld.Part0 = char.Torso
  2056. Weld.Part1 = Dialogconnect
  2057. Weld.C1 = CFrame.new(0, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2058. Dialogconnect.Transparency = 1
  2059. selectionBox1.Transparency = 1
  2060. wait()
  2061. Dialogconnect.Transparency = 0
  2062. selectionBox1.Transparency = 0
  2063. wait()
  2064. Dialogconnect.Transparency = 1
  2065. selectionBox1.Transparency = 1
  2066. wait()
  2067. Dialogconnect.Transparency = 0
  2068. selectionBox1.Transparency = 0
  2069. wait()
  2070. Dialogconnect.Transparency = 1
  2071. selectionBox1.Transparency = 1
  2072. wait()
  2073. Dialogconnect.Transparency = 0
  2074. selectionBox1.Transparency = 0
  2075. wait()
  2076. Dialogconnect.Transparency = 1
  2077. selectionBox1.Transparency = 1
  2078. wait()
  2079. Dialogconnect.Transparency = 0
  2080. selectionBox1.Transparency = 0
  2081. wait()
  2082. Dialogconnect.Transparency = 1
  2083. selectionBox1.Transparency = 1
  2084. wait()
  2085. Dialogconnect.Transparency = 0
  2086. selectionBox1.Transparency = 0
  2087. wait()
  2088. Dialogconnect.Transparency = 1
  2089. selectionBox1.Transparency = 1
  2090. wait()
  2091. Dialogconnect.Transparency = 0
  2092. selectionBox1.Transparency = 0
  2093. wait()
  2094. Dialogconnect.Transparency = 1
  2095. selectionBox1.Transparency = 1
  2096. wait()
  2097. Dialogconnect.Transparency = 0
  2098. selectionBox1.Transparency = 0
  2099. wait()
  2100. Dialogconnect.Transparency = 1
  2101. selectionBox1.Transparency = 1
  2102. wait()
  2103. Dialogconnect.Transparency = 0
  2104. selectionBox1.Transparency = 0
  2105. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2106. wait()
  2107. Dialogconnect.Transparency = 1
  2108. selectionBox1.Transparency = 1
  2109. wait()
  2110. Dialogconnect.Transparency = 0
  2111. selectionBox1.Transparency = 0
  2112. wait()
  2113. Dialogconnect.Transparency = 1
  2114. selectionBox1.Transparency = 1
  2115. wait()
  2116. Dialogconnect.Transparency = 0
  2117. selectionBox1.Transparency = 0
  2118. wait()
  2119. Dialogconnect.Transparency = 1
  2120. selectionBox1.Transparency = 1
  2121. wait()
  2122. Dialogconnect.Transparency = 0
  2123. selectionBox1.Transparency = 0
  2124. wait()
  2125. Dialogconnect.Transparency = 1
  2126. selectionBox1.Transparency = 1
  2127. wait()
  2128. Dialogconnect.Transparency = 0
  2129. selectionBox1.Transparency = 0
  2130. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2131. wait()
  2132. Dialogconnect.Transparency = 1
  2133. selectionBox1.Transparency = 1
  2134. wait()
  2135. Dialogconnect.Transparency = 0
  2136. selectionBox1.Transparency = 0
  2137. wait()
  2138. Dialogconnect.Transparency = 1
  2139. selectionBox1.Transparency = 1
  2140. wait()
  2141. Dialogconnect.Transparency = 0
  2142. selectionBox1.Transparency = 0
  2143. wait()
  2144. Dialogconnect.Transparency = 1
  2145. selectionBox1.Transparency = 1
  2146. wait()
  2147. Dialogconnect.Transparency = 0
  2148. selectionBox1.Transparency = 0
  2149. wait()
  2150. Dialogconnect.Transparency = 1
  2151. selectionBox1.Transparency = 1
  2152. wait()
  2153. Dialogconnect.Transparency = 0
  2154. selectionBox1.Transparency = 0
  2155. wait()
  2156. Dialogconnect.Transparency = 0
  2157. wait()
  2158. Dialogconnect.Transparency = 1
  2159. selectionBox1.Transparency = 1
  2160. wait()
  2161. Dialogconnect.Transparency = 0
  2162. selectionBox1.Transparency = 0
  2163. wait()
  2164. Dialogconnect.Transparency = 1
  2165. selectionBox1.Transparency = 1
  2166. wait()
  2167. Dialogconnect.Transparency = 0
  2168. selectionBox1.Transparency = 0
  2169. wait()
  2170. Dialogconnect.Transparency = 1
  2171. selectionBox1.Transparency = 1
  2172. wait()
  2173. Dialogconnect.Transparency = 0
  2174. selectionBox1.Transparency = 0
  2175. wait()
  2176. Dialogconnect.Transparency = 1
  2177. selectionBox1.Transparency = 1
  2178. wait()
  2179. Dialogconnect.Transparency = 0
  2180. selectionBox1.Transparency = 0
  2181. Dialogconnect:remove()
  2182. onehitkill = true
  2183. end
  2184. end
  2185. function Stuckhit()
  2186. if not vDebounce then
  2187. vDebounce = true
  2188. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  2189. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  2190. wait(0.1)
  2191. PlaySound("Slash", 1)
  2192. coroutine.resume(coroutine.create(function()
  2193. for i = 1, 10 do
  2194. wait()
  2195. local RedSlash = Instance.new("Part", handle)
  2196. RedSlash.FormFactor = "Custom"
  2197. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2198. RedSlash.Transparency = 0.5
  2199. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2200. selectionBox.Adornee = RedSlash
  2201. selectionBox.Color = BrickColor.new("Really black")
  2202. selectionBox.LineThickness = 0.005
  2203. RedSlash.TopSurface = 0
  2204. RedSlash.BottomSurface = 0
  2205. local colorc = {"Black"}
  2206. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2207. RedSlash.BrickColor = Fire
  2208. RedSlash.CanCollide = false
  2209. RedSlash.Anchored = true
  2210. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2211. game.Debris:AddItem(RedSlash, 0.1)
  2212. end
  2213. end))
  2214. for i = 1, 3 do
  2215. wait()
  2216. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  2217. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  2218. end
  2219. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 1000)
  2220. local hit, position = game.Workspace:FindPartOnRay(ray, player)
  2221. wait(0.1)
  2222. local ray = Ray.new(Handle.CFrame.p, (mouse.Hit.p - Handle.CFrame.p).unit * 300)
  2223. local position = mouse.Hit.p
  2224. local distance = (position - Handle.CFrame.p).magnitude
  2225. local rp = Instance.new("Part", workspace)
  2226. rp.Anchored = true
  2227. rp.TopSurface = "Smooth"
  2228. rp.BottomSurface = "Smooth"
  2229. rp.Transparency = 1
  2230. rp.BrickColor = BrickColor.new("Deep orange")
  2231. rp.FormFactor = "Custom"
  2232. rp.CanCollide = false
  2233. rp.Size = Vector3.new(0.6, 0.6, distance)
  2234. rp.Material = "Neon"
  2235. rp.CFrame = CFrame.new(position, Handle.CFrame.p) * CFrame.new(0, 0, -distance / 2)
  2236. local cy = Instance.new("BlockMesh", rp)
  2237. for i = 1, 10 do
  2238. wait()
  2239. cy.Scale = cy.Scale - Vector3.new(0.1, 0.1, 0)
  2240. end
  2241. rp:Destroy()
  2242. local ps = Instance.new("Part", suit)
  2243. ps.Name = "MagicPart"
  2244. ps.TopSurface = "Smooth"
  2245. ps.BottomSurface = "Smooth"
  2246. ps.BrickColor = BrickColor.new("Black")
  2247. ps.FormFactor = "Custom"
  2248. ps.Transparency = 0.9
  2249. ps.Size = Vector3.new(5, 250, 5)
  2250. ps.Anchored = true
  2251. ps.CanCollide = false
  2252. ps.CFrame = CFrame.new(position)
  2253. local cy = Instance.new("BlockMesh", ps)
  2254. function touch(hit)
  2255. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  2256. if hit.Parent.Name == char.Name then
  2257. return
  2258. end
  2259. hit.Parent.Torso.Anchored = true
  2260. do
  2261. local HitSounds = {
  2262. Hurt = Instance.new("Sound")
  2263. }
  2264. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2265. HitSounds.Hurt.Volume = 1
  2266. function PlayHitSound(soundname, pitch)
  2267. HitSounds[soundname].Parent = hit.Parent.Torso
  2268. HitSounds[soundname].Pitch = pitch
  2269. HitSounds[soundname]:Play()
  2270. local oldsound = HitSounds[soundname]
  2271. coroutine.resume(coroutine.create(function()
  2272. wait(4)
  2273. oldsound:Destroy()
  2274. end))
  2275. HitSounds[soundname] = HitSounds[soundname]:clone()
  2276. end
  2277. PlayHitSound("Hurt", 1)
  2278. local p = Instance.new("Part", handle)
  2279. p.FormFactor = "Custom"
  2280. p.Material = "Neon"
  2281. p.Size = Vector3.new(1, 2, 1)
  2282. p.Transparency = 0
  2283. local selectionBox = Instance.new("SelectionBox", p)
  2284. selectionBox.Adornee = p
  2285. selectionBox.Color = BrickColor.new("Really black")
  2286. selectionBox.LineThickness = 0.001
  2287. p.TopSurface = 0
  2288. p.BottomSurface = 0
  2289. local colorc = {"Black"}
  2290. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2291. p.BrickColor = Fire
  2292. p.CanCollide = false
  2293. p.Anchored = true
  2294. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2295. coroutine.resume(coroutine.create(function()
  2296. for i = 1, 100 do
  2297. wait()
  2298. p.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2299. end
  2300. end))
  2301. local light1 = Instance.new("SpotLight", p)
  2302. light1.Brightness = 164
  2303. light1.Color = Color3.new(255, 0, 0)
  2304. light1.Range = 7
  2305. for i = 1, 13 do
  2306. p.Transparency = p.Transparency + 0.1
  2307. wait(0.4)
  2308. end
  2309. game.Debris:AddItem(p, 0.1)
  2310. PlaySound("Slash", 1)
  2311. coroutine.resume(coroutine.create(function()
  2312. for i = 1, 10 do
  2313. wait()
  2314. local RedSlash = Instance.new("Part", handle)
  2315. RedSlash.FormFactor = "Custom"
  2316. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2317. RedSlash.Transparency = 0.5
  2318. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2319. selectionBox.Adornee = RedSlash
  2320. selectionBox.Color = BrickColor.new("Really black")
  2321. selectionBox.LineThickness = 0.005
  2322. RedSlash.TopSurface = 0
  2323. RedSlash.BottomSurface = 0
  2324. local colorc = {"Black"}
  2325. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2326. RedSlash.BrickColor = Fire
  2327. RedSlash.CanCollide = false
  2328. RedSlash.Anchored = true
  2329. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2330. game.Debris:AddItem(RedSlash, 0.1)
  2331. end
  2332. end))
  2333. for i = 1, 3 do
  2334. wait()
  2335. RW.C0 = cf(1.5, 0.5, 0) * euler(1.5, 0, 0)
  2336. RW.C1 = cf(0, 0.5, 0) * euler(0.6 * i, 0, 0)
  2337. end
  2338. hit.Parent.Torso.Anchored = false
  2339. hit.Parent.Torso:BreakJoints()
  2340. end
  2341. end
  2342. end
  2343. ps.Touched:connect(touch)
  2344. for i = 1, 8 do
  2345. wait(0.5)
  2346. ps.Transparency = ps.Transparency - 0.1
  2347. end
  2348. wait(2)
  2349. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2350. RW.C1 = CFrame.new(0, 0.5, 0)
  2351. ps:remove()
  2352. end
  2353. vDebounce = false
  2354. end
  2355. mouse.Button1Down:connect(function()
  2356. if slashvalue == 1 then
  2357. slash1()
  2358. elseif slashvalue == 3 then
  2359. slash3()
  2360. elseif slashvalue == 2 then
  2361. slash2()
  2362. end
  2363. end)
  2364. function WelcomeToMySpecialAttack()
  2365. CharaTalks()
  2366. RW.C0 = cf(1, 0.3, -0.5) * euler(0.8000000000000003, 0, 0)
  2367. RW.C1 = cf(0, 0, 0) * euler(0, -2, 0)
  2368. wait(0.1)
  2369. PlaySound("Slash", 1)
  2370. coroutine.resume(coroutine.create(function()
  2371. for i = 1, 10 do
  2372. wait()
  2373. local RedSlash = Instance.new("Part", handle)
  2374. RedSlash.FormFactor = "Custom"
  2375. RedSlash.Size = Vector3.new(0.5, 2, 0.5)
  2376. RedSlash.Transparency = 0.5
  2377. local selectionBox = Instance.new("SelectionBox", RedSlash)
  2378. selectionBox.Adornee = RedSlash
  2379. selectionBox.Color = BrickColor.new("Really black")
  2380. selectionBox.LineThickness = 0.005
  2381. RedSlash.TopSurface = 0
  2382. RedSlash.BottomSurface = 0
  2383. local colorc = {"Black"}
  2384. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  2385. RedSlash.BrickColor = Fire
  2386. RedSlash.CanCollide = false
  2387. RedSlash.Anchored = true
  2388. RedSlash.CFrame = handle.CFrame * CFrame.new(0, 1, 0)
  2389. game.Debris:AddItem(RedSlash, 0.1)
  2390. end
  2391. end))
  2392. for i = 1, 3 do
  2393. wait()
  2394. RW.C0 = cf(1.2, 0.3 * i, 0.2) * euler(0.8000000000000003, 0, 0)
  2395. RW.C1 = cf(0, 0, 0) * euler(0.8 * i, -2, 0)
  2396. end
  2397. PlaySound("Explode", 1)
  2398. coroutine.resume(coroutine.create(function()
  2399. local ps = Instance.new("Part", suit)
  2400. ps.Name = "MagicPart"
  2401. ps.TopSurface = "Smooth"
  2402. ps.BottomSurface = "Smooth"
  2403. ps.BrickColor = BrickColor.new("Black")
  2404. ps.Material = "Neon"
  2405. ps.FormFactor = "Custom"
  2406. ps.Size = Vector3.new(1500, 1500, 1000)
  2407. ps.Anchored = true
  2408. ps.Transparency = 0
  2409. ps.CanCollide = false
  2410. ps.CFrame = char.Torso.CFrame * CFrame.new(1, 0, -55) * CFrame.Angles(0, 0, 0)
  2411. local selectionBox = Instance.new("SelectionBox", ps)
  2412. selectionBox.Adornee = ps
  2413. selectionBox.Color = BrickColor.new("Black")
  2414. selectionBox.LineThickness = 0.2
  2415. selectionBox.Transparency = 0.5
  2416. function touch(hit)
  2417. if hit.Parent.Name == char.Name then
  2418. return
  2419. end
  2420. if hit.Parent:findFirstChild("Humanoid") ~= nil then
  2421. if hit.Parent.Name == char.Name then
  2422. return
  2423. end
  2424. hit.Parent:BreakJoints()
  2425. do
  2426. local HitSounds = {
  2427. Hurt = Instance.new("Sound")
  2428. }
  2429. HitSounds.Hurt.SoundId = "http://www.roblox.com/asset?id=406913243"
  2430. HitSounds.Hurt.Volume = 1
  2431. function PlayHitSound(soundname, pitch)
  2432. HitSounds[soundname].Parent = hit.Parent.Torso
  2433. HitSounds[soundname].Pitch = pitch
  2434. HitSounds[soundname]:Play()
  2435. local oldsound = HitSounds[soundname]
  2436. coroutine.resume(coroutine.create(function()
  2437. wait(4)
  2438. oldsound:Destroy()
  2439. end))
  2440. HitSounds[soundname] = HitSounds[soundname]:clone()
  2441. end
  2442. PlayHitSound("Hurt", 1)
  2443. end
  2444. end
  2445. end
  2446. ps.Touched:connect(touch)
  2447. coroutine.resume(coroutine.create(function()
  2448. for i = 1, 500 do
  2449. wait()
  2450. ps.CFrame = ps.CFrame * CFrame.new(0, 0, -4)
  2451. end
  2452. ps.Transparency = ps.Transparency + 0.2
  2453. wait()
  2454. ps.Transparency = ps.Transparency + 0.2
  2455. wait()
  2456. ps.Transparency = ps.Transparency + 0.2
  2457. wait()
  2458. ps.Transparency = ps.Transparency + 0.2
  2459. wait()
  2460. ps.Transparency = ps.Transparency + 0.2
  2461. ps:remove()
  2462. end))
  2463. end))
  2464. wait(2)
  2465. RW.C0 = CFrame.new(1.5, 0.5, 0)
  2466. RW.C1 = CFrame.new(0, 0.5, 0)
  2467. end
  2468. mouse.KeyDown:connect(function(key)
  2469. if key == "r" and specialattack == false then
  2470. specialattack = true
  2471. WelcomeToMySpecialAttack()
  2472. local Dialogconnect = Instance.new("Part", suit)
  2473. Dialogconnect.TopSurface = "Smooth"
  2474. Dialogconnect.BottomSurface = "Smooth"
  2475. Dialogconnect.Material = "Neon"
  2476. Dialogconnect.FormFactor = "Custom"
  2477. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2478. Dialogconnect.Transparency = 1
  2479. Dialogconnect.CanCollide = false
  2480. Dialogconnect.BrickColor = BrickColor.new("Black")
  2481. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2482. selectionBox1.Adornee = Dialogconnect
  2483. selectionBox1.Color = BrickColor.new("Really black")
  2484. selectionBox1.LineThickness = 0.01
  2485. selectionBox1.Transparency = 1
  2486. local Weld = Instance.new("Weld", char)
  2487. Weld.Part0 = char.Torso
  2488. Weld.Part1 = Dialogconnect
  2489. Weld.C1 = CFrame.new(-3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2490. Dialogconnect.Transparency = 1
  2491. selectionBox1.Transparency = 1
  2492. wait()
  2493. Dialogconnect.Transparency = 0
  2494. selectionBox1.Transparency = 0
  2495. wait()
  2496. Dialogconnect.Transparency = 1
  2497. selectionBox1.Transparency = 1
  2498. wait()
  2499. Dialogconnect.Transparency = 0
  2500. selectionBox1.Transparency = 0
  2501. wait()
  2502. Dialogconnect.Transparency = 1
  2503. selectionBox1.Transparency = 1
  2504. wait()
  2505. Dialogconnect.Transparency = 0
  2506. selectionBox1.Transparency = 0
  2507. wait()
  2508. Dialogconnect.Transparency = 1
  2509. selectionBox1.Transparency = 1
  2510. wait()
  2511. Dialogconnect.Transparency = 0
  2512. selectionBox1.Transparency = 0
  2513. wait()
  2514. Dialogconnect.Transparency = 1
  2515. selectionBox1.Transparency = 1
  2516. wait()
  2517. Dialogconnect.Transparency = 0
  2518. selectionBox1.Transparency = 0
  2519. wait()
  2520. Dialogconnect.Transparency = 1
  2521. selectionBox1.Transparency = 1
  2522. wait()
  2523. Dialogconnect.Transparency = 0
  2524. selectionBox1.Transparency = 0
  2525. wait()
  2526. Dialogconnect.Transparency = 1
  2527. selectionBox1.Transparency = 1
  2528. wait()
  2529. Dialogconnect.Transparency = 0
  2530. selectionBox1.Transparency = 0
  2531. wait()
  2532. Dialogconnect.Transparency = 1
  2533. selectionBox1.Transparency = 1
  2534. wait()
  2535. Dialogconnect.Transparency = 0
  2536. selectionBox1.Transparency = 0
  2537. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2538. wait()
  2539. Dialogconnect.Transparency = 1
  2540. selectionBox1.Transparency = 1
  2541. wait()
  2542. Dialogconnect.Transparency = 0
  2543. selectionBox1.Transparency = 0
  2544. wait()
  2545. Dialogconnect.Transparency = 1
  2546. selectionBox1.Transparency = 1
  2547. wait()
  2548. Dialogconnect.Transparency = 0
  2549. selectionBox1.Transparency = 0
  2550. wait()
  2551. Dialogconnect.Transparency = 1
  2552. selectionBox1.Transparency = 1
  2553. wait()
  2554. Dialogconnect.Transparency = 0
  2555. selectionBox1.Transparency = 0
  2556. wait()
  2557. Dialogconnect.Transparency = 1
  2558. selectionBox1.Transparency = 1
  2559. wait()
  2560. Dialogconnect.Transparency = 0
  2561. selectionBox1.Transparency = 0
  2562. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2563. wait()
  2564. Dialogconnect.Transparency = 1
  2565. selectionBox1.Transparency = 1
  2566. wait()
  2567. Dialogconnect.Transparency = 0
  2568. selectionBox1.Transparency = 0
  2569. wait()
  2570. Dialogconnect.Transparency = 1
  2571. selectionBox1.Transparency = 1
  2572. wait()
  2573. Dialogconnect.Transparency = 0
  2574. selectionBox1.Transparency = 0
  2575. wait()
  2576. Dialogconnect.Transparency = 1
  2577. selectionBox1.Transparency = 1
  2578. wait()
  2579. Dialogconnect.Transparency = 0
  2580. selectionBox1.Transparency = 0
  2581. wait()
  2582. Dialogconnect.Transparency = 1
  2583. selectionBox1.Transparency = 1
  2584. wait()
  2585. Dialogconnect.Transparency = 0
  2586. selectionBox1.Transparency = 0
  2587. wait()
  2588. Dialogconnect.Transparency = 0
  2589. wait()
  2590. Dialogconnect.Transparency = 1
  2591. selectionBox1.Transparency = 1
  2592. wait()
  2593. Dialogconnect.Transparency = 0
  2594. selectionBox1.Transparency = 0
  2595. wait()
  2596. Dialogconnect.Transparency = 1
  2597. selectionBox1.Transparency = 1
  2598. wait()
  2599. Dialogconnect.Transparency = 0
  2600. selectionBox1.Transparency = 0
  2601. wait()
  2602. Dialogconnect.Transparency = 1
  2603. selectionBox1.Transparency = 1
  2604. wait()
  2605. Dialogconnect.Transparency = 0
  2606. selectionBox1.Transparency = 0
  2607. wait()
  2608. Dialogconnect.Transparency = 1
  2609. selectionBox1.Transparency = 1
  2610. wait()
  2611. Dialogconnect.Transparency = 0
  2612. selectionBox1.Transparency = 0
  2613. Dialogconnect:remove()
  2614. specialattack = false
  2615. end
  2616. if key == "q" then
  2617. if beamvalue == 1 then
  2618. KnifeBeam1()
  2619. elseif beamvalue == 2 then
  2620. KnifeBeam2()
  2621. elseif beamvalue == 3 then
  2622. KnifeBeam3()
  2623. end
  2624. end
  2625. if key == "x" and not vDebounce then
  2626. vDebounce = true
  2627. for i = 1, 5 do
  2628. wait()
  2629. Torso.Transparency = 0.5
  2630. char["Left Arm"].Transparency = 0.5
  2631. char["Left Leg"].Transparency = 0.5
  2632. char["Right Arm"].Transparency = 0.5
  2633. char["Right Leg"].Transparency = 0.5
  2634. char.Head.Transparency = 0.5
  2635. wait()
  2636. Torso.Transparency = 0
  2637. char["Left Arm"].Transparency = 0
  2638. char["Left Leg"].Transparency = 0
  2639. char["Right Arm"].Transparency = 0
  2640. char["Right Leg"].Transparency = 0
  2641. char.Head.Transparency = 0
  2642. end
  2643. teleportPlayer(mouse.hit.p)
  2644. vDebounce = false
  2645. end
  2646. if key == "z" and onehitkilltwo == true then
  2647. onehitkilltwo = false
  2648. Stuckhit()
  2649. local Dialogconnect = Instance.new("Part", suit)
  2650. Dialogconnect.TopSurface = "Smooth"
  2651. Dialogconnect.BottomSurface = "Smooth"
  2652. Dialogconnect.Material = "Neon"
  2653. Dialogconnect.FormFactor = "Custom"
  2654. Dialogconnect.Size = Vector3.new(1, 1, 1)
  2655. Dialogconnect.Transparency = 1
  2656. Dialogconnect.CanCollide = false
  2657. Dialogconnect.BrickColor = BrickColor.new("Black")
  2658. local selectionBox1 = Instance.new("SelectionBox", Dialogconnect)
  2659. selectionBox1.Adornee = Dialogconnect
  2660. selectionBox1.Color = BrickColor.new("Really black")
  2661. selectionBox1.LineThickness = 0.01
  2662. selectionBox1.Transparency = 1
  2663. local Weld = Instance.new("Weld", char)
  2664. Weld.Part0 = char.Torso
  2665. Weld.Part1 = Dialogconnect
  2666. Weld.C1 = CFrame.new(3, -3, -1.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2667. Dialogconnect.Transparency = 1
  2668. selectionBox1.Transparency = 1
  2669. wait()
  2670. Dialogconnect.Transparency = 0
  2671. selectionBox1.Transparency = 0
  2672. wait()
  2673. Dialogconnect.Transparency = 1
  2674. selectionBox1.Transparency = 1
  2675. wait()
  2676. Dialogconnect.Transparency = 0
  2677. selectionBox1.Transparency = 0
  2678. wait()
  2679. Dialogconnect.Transparency = 1
  2680. selectionBox1.Transparency = 1
  2681. wait()
  2682. Dialogconnect.Transparency = 0
  2683. selectionBox1.Transparency = 0
  2684. wait()
  2685. Dialogconnect.Transparency = 1
  2686. selectionBox1.Transparency = 1
  2687. wait()
  2688. Dialogconnect.Transparency = 0
  2689. selectionBox1.Transparency = 0
  2690. wait()
  2691. Dialogconnect.Transparency = 1
  2692. selectionBox1.Transparency = 1
  2693. wait()
  2694. Dialogconnect.Transparency = 0
  2695. selectionBox1.Transparency = 0
  2696. wait()
  2697. Dialogconnect.Transparency = 1
  2698. selectionBox1.Transparency = 1
  2699. wait()
  2700. Dialogconnect.Transparency = 0
  2701. selectionBox1.Transparency = 0
  2702. wait()
  2703. Dialogconnect.Transparency = 1
  2704. selectionBox1.Transparency = 1
  2705. wait()
  2706. Dialogconnect.Transparency = 0
  2707. selectionBox1.Transparency = 0
  2708. wait()
  2709. Dialogconnect.Transparency = 1
  2710. selectionBox1.Transparency = 1
  2711. wait()
  2712. Dialogconnect.Transparency = 0
  2713. selectionBox1.Transparency = 0
  2714. Dialogconnect.BrickColor = BrickColor.new("New Yeller")
  2715. wait()
  2716. Dialogconnect.Transparency = 1
  2717. selectionBox1.Transparency = 1
  2718. wait()
  2719. Dialogconnect.Transparency = 0
  2720. selectionBox1.Transparency = 0
  2721. wait()
  2722. Dialogconnect.Transparency = 1
  2723. selectionBox1.Transparency = 1
  2724. wait()
  2725. Dialogconnect.Transparency = 0
  2726. selectionBox1.Transparency = 0
  2727. wait()
  2728. Dialogconnect.Transparency = 1
  2729. selectionBox1.Transparency = 1
  2730. wait()
  2731. Dialogconnect.Transparency = 0
  2732. selectionBox1.Transparency = 0
  2733. wait()
  2734. Dialogconnect.Transparency = 1
  2735. selectionBox1.Transparency = 1
  2736. wait()
  2737. Dialogconnect.Transparency = 0
  2738. selectionBox1.Transparency = 0
  2739. Dialogconnect.BrickColor = BrickColor.new("Lime green")
  2740. wait()
  2741. Dialogconnect.Transparency = 1
  2742. selectionBox1.Transparency = 1
  2743. wait()
  2744. Dialogconnect.Transparency = 0
  2745. selectionBox1.Transparency = 0
  2746. wait()
  2747. Dialogconnect.Transparency = 1
  2748. selectionBox1.Transparency = 1
  2749. wait()
  2750. Dialogconnect.Transparency = 0
  2751. selectionBox1.Transparency = 0
  2752. wait()
  2753. Dialogconnect.Transparency = 1
  2754. selectionBox1.Transparency = 1
  2755. wait()
  2756. Dialogconnect.Transparency = 0
  2757. selectionBox1.Transparency = 0
  2758. wait()
  2759. Dialogconnect.Transparency = 1
  2760. selectionBox1.Transparency = 1
  2761. wait()
  2762. Dialogconnect.Transparency = 0
  2763. selectionBox1.Transparency = 0
  2764. wait()
  2765. Dialogconnect.Transparency = 0
  2766. wait()
  2767. Dialogconnect.Transparency = 1
  2768. selectionBox1.Transparency = 1
  2769. wait()
  2770. Dialogconnect.Transparency = 0
  2771. selectionBox1.Transparency = 0
  2772. wait()
  2773. Dialogconnect.Transparency = 1
  2774. selectionBox1.Transparency = 1
  2775. wait()
  2776. Dialogconnect.Transparency = 0
  2777. selectionBox1.Transparency = 0
  2778. wait()
  2779. Dialogconnect.Transparency = 1
  2780. selectionBox1.Transparency = 1
  2781. wait()
  2782. Dialogconnect.Transparency = 0
  2783. selectionBox1.Transparency = 0
  2784. wait()
  2785. Dialogconnect.Transparency = 1
  2786. selectionBox1.Transparency = 1
  2787. wait()
  2788. Dialogconnect.Transparency = 0
  2789. selectionBox1.Transparency = 0
  2790. Dialogconnect:remove()
  2791. onehitkilltwo = true
  2792. end
  2793. if key == "e" then
  2794. drawded()
  2795. end
  2796. end)
  2797. Tool.Deselected:connect(function(mouse)
  2798. RW.Parent = nil
  2799. LW.Parent = nil
  2800. handle:remove()
  2801. RSH.Parent = player.Character.Torso
  2802. LSH.Parent = player.Character.Torso
  2803. end)
  2804. end)
  2805. function OnDeath()
  2806. GETDUNKED()
  2807. oldloopedsound:remove()
  2808. end
  2809. char.Humanoid.Died:connect(OnDeath)
  2810. print("Made By Jose Likes And Enjoys Roblox for Josemmoya")
  2811. wait(5)
  2812. print("Based on the animation Determination by Jigsaw Rules.")
  2813. wait(5)
  2814. print("Special attacks are on q,e,z,x,and m(Megalomaniac).")
  2815. print("fixed by ROBLOX")
  2816. -- FridgeClan strikes again!
  2817. -- Sensuke, this is why you DON'T goto Voidacity's
  2818. -- Jaja has been absent, so I've taken it upon myself to steal something
  2819.  
  2820. --------------------------------------------------------
  2821.  
  2822. pls = game:GetService'Players'
  2823. rs = game:GetService'RunService'
  2824. uinps = game:GetService'UserInputService'
  2825. lp = pls.LocalPlayer
  2826. mouse = lp:GetMouse()
  2827. c = lp.Character
  2828. human = c.Humanoid
  2829. human.MaxHealth = 50
  2830. wait()
  2831. human.Health = 50
  2832. c.Health:Destroy()
  2833.  
  2834. --------------------------------------------------------
  2835.  
  2836. Debounces = {
  2837. AnimationCycles = 0;
  2838. FPS = 0;
  2839. scalingDamage = false;
  2840. damageLevel = 0;
  2841. attackNumber = 0;
  2842. isAttacking = false;
  2843. isMoving = false;
  2844. isSprinting = false;
  2845. isBoosting = false;
  2846. isPassive = false;
  2847. isTyping = false;
  2848. }
  2849.  
  2850. --------------------------------------------------------
  2851.  
  2852. numLerp = function(start, goal, alpha)
  2853. return(((goal - start) * alpha) + start)
  2854. end
  2855.  
  2856. CFrameZero = function()
  2857. return CFrame.new(Vector3.new())
  2858. end
  2859.  
  2860. rad = function(value)
  2861. return math.rad(value)
  2862. end
  2863.  
  2864. CFAngles = function(Vector)
  2865. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z))
  2866. end
  2867.  
  2868. --------------------------------------------------------
  2869.  
  2870. AnimStat = {
  2871. lerpSpeed = .2;
  2872. lerpSpeed2 = .35;
  2873. lerpTween = 0;
  2874. }
  2875.  
  2876. Joints = {
  2877. c.HumanoidRootPart.RootJoint;
  2878. c.Torso.Neck;
  2879. c.Torso['Left Shoulder'];
  2880. c.Torso['Right Shoulder'];
  2881. c.Torso['Left Hip'];
  2882. c.Torso['Right Hip'];
  2883. }
  2884.  
  2885. JointTargets = {
  2886. CFrameZero();
  2887. CFrameZero();
  2888. CFrameZero();
  2889. CFrameZero();
  2890. CFrameZero();
  2891. CFrameZero();
  2892. }
  2893.  
  2894. --------------------------------------------------------
  2895.  
  2896. BodyColors = {
  2897. HeadColor = BrickColor.new("Institutional white");
  2898. LeftArmColor = BrickColor.new("Institutional white");
  2899. RightArmColor = BrickColor.new("Institutional white");
  2900. LeftLegColor = BrickColor.new("Institutional white");
  2901. RightLegColor = BrickColor.new("Institutional white");
  2902. TorsoColor = BrickColor.new("Mid gray");
  2903. }
  2904.  
  2905. Customs = {
  2906. Face = "http://www.roblox.com/asset/?id=8560915";
  2907. Shirt = "http://www.roblox.com/asset/?id=334781688";
  2908. Pants = "http://www.roblox.com/asset/?id=335237283";
  2909. }
  2910.  
  2911. --------------------------------------------------------
  2912.  
  2913. prepareCharacter = function()
  2914. local transPoints = {
  2915. NumberSequenceKeypoint.new(0,.819,.0375),
  2916. NumberSequenceKeypoint.new(.207,.594,.0187),
  2917. NumberSequenceKeypoint.new(.4,.55,.031),
  2918. NumberSequenceKeypoint.new(.57,.619,.05),
  2919. NumberSequenceKeypoint.new(.76,.8,.0375),
  2920. NumberSequenceKeypoint.new(1,1,0),
  2921. }
  2922. local sizePoints = {
  2923. NumberSequenceKeypoint.new(0,.687,0),
  2924. NumberSequenceKeypoint.new(.111,.875,0),
  2925. NumberSequenceKeypoint.new(.327,1.19,0),
  2926. NumberSequenceKeypoint.new(.646,1.56,0),
  2927. NumberSequenceKeypoint.new(.805,1.37,0),
  2928. NumberSequenceKeypoint.new(.905,1.06,0),
  2929. NumberSequenceKeypoint.new(.968,.938,0),
  2930. NumberSequenceKeypoint.new(.984,1.13,0),
  2931. NumberSequenceKeypoint.new(1,1.62,0),
  2932. }
  2933. local Size = NumberSequence.new(sizePoints)
  2934. local Transparency = NumberSequence.new(transPoints)
  2935. rayModel = Instance.new("Model",c)
  2936. efxBlock = Instance.new("Part",c)
  2937. efxBlock.BrickColor = BrickColor.new("Cyan")
  2938. efxBlock.Material = "Neon"
  2939. efxBlock.FormFactor = "Custom"
  2940. efxBlock.Transparency = .3
  2941. efxBlock.Size = Vector3.new(.3,.3,.3)
  2942. local mesh = Instance.new("SpecialMesh",efxBlock)
  2943. mesh.MeshType = Enum.MeshType.Sphere
  2944. mesh.Scale = Vector3.new(1,1,1)
  2945. light = Instance.new("PointLight",c.Head)
  2946. light.Range = 10
  2947. light.Color = Color3.new(0,200/255,1)
  2948. light.Shadows = false
  2949. local particles = Instance.new("ParticleEmitter",efxBlock)
  2950. particles.Color = ColorSequence.new(Color3.new(0,0,225/255),Color3.new(20/255,190/255,205/255))
  2951. particles.LightEmission = .95
  2952. particles.Size = Size
  2953. particles.Name = "Fire"
  2954. particles.Transparency = Transparency
  2955. particles.LockedToPart = true
  2956. particles.VelocityInheritance = .5
  2957. particles.LockedToPart = true
  2958. particles.Rate = 70
  2959. particles.Texture = "rbxassetid://56561915"
  2960. particles.Lifetime = NumberRange.new(2,2)
  2961. particles.RotSpeed = NumberRange.new(100,100)
  2962. particles.Speed = NumberRange.new(7,7)
  2963. script.Parent = efxBlock
  2964. fire = particles
  2965. local offset = Vector3.new(-0.11, .23, -0.5)
  2966. local weld = Instance.new("Weld",c.Head)
  2967. weld.Part0 = c.Head
  2968. weld.Part1 = efxBlock
  2969. weld.C0 = CFrame.new(offset) * CFrame.Angles(math.rad(-40),math.rad(10),math.rad(40))
  2970. efxBlock.Parent = c
  2971. local music = Instance.new("Sound",c)
  2972. music.SoundId = "rbxassetid://316012176"
  2973. music.Looped = true
  2974. music.Volume = 0
  2975. fight = music
  2976. local music2 = Instance.new("Sound",c)
  2977. music2.SoundId = "rbxassetid://316014309"
  2978. music2.Looped = true
  2979. music2.Volume = 0
  2980. sans = music2
  2981. pointGyro = Instance.new("BodyGyro",c.HumanoidRootPart)
  2982. pointGyro.P = 1e7
  2983. pointGyro.D = 1e3
  2984. pointGyro.MaxTorque = Vector3.new(0,1e7,0)
  2985. animator = c.Humanoid:FindFirstChild("Animator")
  2986. if animator then
  2987. animator:Destroy()
  2988. end
  2989. c.Torso.roblox:Destroy()
  2990. for i,v in pairs (c.Head:children()) do
  2991. if v.ClassName == "Sound" then
  2992. v:Destroy()
  2993. end
  2994. end
  2995. for i = 1,#Joints do
  2996. Joints[i].C1 = CFrame.new(Vector3.new())
  2997. end
  2998. human.WalkSpeed = 0
  2999. human.JumpPower = 0
  3000. end
  3001.  
  3002. uinps.InputBegan:connect(function(InputObject)
  3003. if InputObject.KeyCode == Enum.KeyCode.K and Debounces.isTyping == false then
  3004. Debounces.isPassive = not Debounces.isPassive
  3005. end
  3006. end)
  3007.  
  3008. setJointCFrames = function(table)
  3009. for i = 1,#table do
  3010. JointTargets[i] = table[i]
  3011. end
  3012. AnimationCycles = 0
  3013. end
  3014.  
  3015. setLerp = function(speed)
  3016. AnimStat.lerpSpeed = speed
  3017. end
  3018.  
  3019. setTween = function(tween)
  3020. AnimStat.lerpTween = tween
  3021. end
  3022.  
  3023. takeDamage = function(position,damage,distance,platformStand)
  3024. for i,v in pairs (pls:children()) do
  3025. if v.ClassName == "Player" and v:FindFirstChild("Character") then
  3026. local torso = v.Character:FindFirstChild("Torso")
  3027. if torso and (torso.Position - position).magnitude < distance then
  3028. v.Character.Humanoid:TakeDamage(damage)
  3029. if platformStand == true then
  3030. v.Character.PlatformStand = platformStand
  3031. end
  3032. end
  3033. end
  3034. end
  3035. end
  3036.  
  3037. --------------------------------------------------------
  3038.  
  3039. prepareCharacter()
  3040.  
  3041. --------------------------------------------------------
  3042.  
  3043. spawn(function()
  3044. local sine = 0
  3045. while wait() do
  3046. pointGyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p - c.HumanoidRootPart.CFrame.p).unit * 100)
  3047. if Debounces.isAttacking == false and Debounces.isMoving == false and Debounces.isBoosting == false then
  3048. setLerp(.1)
  3049. if Debounces.isPassive == true then
  3050. setJointCFrames({
  3051. CFrame.new(Vector3.new(0, -0.901 + math.sin(tick() * 1.5)/45, 0)) * CFAngles(Vector3.new(-22.001, 0, 0));
  3052. CFrame.new(Vector3.new(-0.001, 1.52 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(-10.861 + math.sin((-tick() + 2) * 1.5) * 5, 13.765, -1.658));
  3053. CFrame.new(Vector3.new(-1.5, -0.1 + math.sin(tick() * 1.5)/15, -0.801)) * CFAngles(Vector3.new(44.999, 0, 0));
  3054. CFrame.new(Vector3.new(1.7, 0.2 + math.sin(tick() * 1.5)/15, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 15));
  3055. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.511, 3.84, 0.489));
  3056. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, -0.001));
  3057. })
  3058. else
  3059. setJointCFrames({
  3060. CFrame.new(Vector3.new(0, 0 + math.sin(tick() * 1.5)/25, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3061. CFrame.new(Vector3.new(0, 1.5 + math.sin(tick() * -1.5)/35, math.sin(tick() * 1.5)/35)) * CFAngles(Vector3.new(1.554 + math.sin((-tick() + 2) * 1.5) * 5, -0.001, -0.001));
  3062. CFrame.new(Vector3.new(-1.06, -0.03 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, 0, 29.51));
  3063. CFrame.new(Vector3.new(1.059, -0.031 + math.sin(tick() * 1.5)/25, 0.449)) * CFAngles(Vector3.new(-29.511, -3.842, -29.511));
  3064. CFrame.new(Vector3.new(-0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(0, 8.885, 0));
  3065. CFrame.new(Vector3.new(0.49, -2, -0.05/1.5)) * CFAngles(Vector3.new(-0.001, -8.886, 0));
  3066. })
  3067. end
  3068. elseif Debounces.isAttacking == false and Debounces.isMoving == true and Debounces.isBoosting == false then
  3069. sine = sine + math.rad(12)
  3070. human.WalkSpeed = 15
  3071. setLerp(.15)
  3072. setJointCFrames({
  3073. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, math.sin(sine) * -2.5, 0));
  3074. CFrame.new(Vector3.new(0, 1.499, -0.04)) * CFAngles(Vector3.new(-5.676, -0.001 - math.sin(sine) * 3, -0.001));
  3075. CFrame.new(Vector3.new(-1.97, 0 + math.sin(sine + .5)/20, 0.1 + math.sin(-sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(sine) * 23, 0, 0));
  3076. CFrame.new(Vector3.new(1.97, 0 - math.sin(sine + .5)/20, 0.1 + math.sin(sine)/2)/1.3) * CFAngles(Vector3.new(-5 + math.sin(-sine) * 23, 0, 0));
  3077. CFrame.new(Vector3.new(-0.5, -1.93 - math.cos(sine)/8.7, 0.2 + math.sin(sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(-sine) * 30, 0, 0));
  3078. CFrame.new(Vector3.new(0.5, -1.93 + math.cos(sine)/8.7, 0.2 + math.sin(-sine)/2)) * CFAngles(Vector3.new(-15 + math.sin(sine) * 30, 0, 0));
  3079. })
  3080. end
  3081. if Debounces.scalingDamage == true then
  3082. takeDamage(c.HumanoidRootPart.Position,Debounces.damageLevel,8,true)
  3083. end
  3084. end
  3085. end)
  3086.  
  3087. human.Changed:connect(function(prop)
  3088. if prop == "MoveDirection" then
  3089. if human.MoveDirection.magnitude > .02 then
  3090. Debounces.isMoving = true
  3091. else
  3092. Debounces.isMoving = false
  3093. end
  3094. end
  3095. end)
  3096.  
  3097. uinps.InputBegan:connect(function(InputObject)
  3098. if InputObject.KeyCode == Enum.KeyCode.A and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3099. Debounces.isBoosting = true
  3100. Debounces.damageLevel = 10
  3101. Debounces.scalingDamage = true
  3102. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3103. setLerp(.15)
  3104. setJointCFrames({
  3105. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 20));
  3106. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-10.372, 28.758, -1.837));
  3107. CFrame.new(Vector3.new(-0.7, -0.2, -0.801)) * CFAngles(Vector3.new(45, 0, 45));
  3108. CFrame.new(Vector3.new(1.7, 0.2, 0.199)) * CFAngles(Vector3.new(-15.001, -15.001, 45));
  3109. CFrame.new(Vector3.new(-0.3, -2, 0.2)) * CFAngles(Vector3.new(-11.283, -17.801, 19.495));
  3110. CFrame.new(Vector3.new(0.9, -2, -0.201)) * CFAngles(Vector3.new(15, -15, 29.999));
  3111. })
  3112. local boostSpeed = 250
  3113. local efx = Instance.new("Sound",c.Head)
  3114. efx.SoundId = "rbxassetid://200632875"
  3115. efx.Pitch = math.random(1100,1300)/1000
  3116. efx.Volume = .5
  3117. efx:Play()
  3118. spawn(function()
  3119. wait(5)
  3120. efx:Destroy()
  3121. end)
  3122. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(1,0,0)).p).unit * boostSpeed
  3123. vel.P = 1e3
  3124. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3125. wait(.15)
  3126. vel.P = 1000
  3127. vel.MaxForce = Vector3.new(3000,0,3000)
  3128. vel.Velocity = Vector3.new()
  3129. wait(.3)
  3130. setLerp(.3)
  3131. setJointCFrames({
  3132. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, 13));
  3133. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-30.239, 42.47, 11.879));
  3134. CFrame.new(Vector3.new(-1.9, -0.2, -0.401)) * CFAngles(Vector3.new(44.999, 0, -45));
  3135. CFrame.new(Vector3.new(1.5, 0.4, 0.599)) * CFAngles(Vector3.new(-62.058, -21.088, -15.383));
  3136. CFrame.new(Vector3.new(-0.7, -1.8, 0.6)) * CFAngles(Vector3.new(-59.239, -26.158, -14.457));
  3137. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(-0.505, -14.478, -18.968));
  3138. })
  3139. wait(.2)
  3140. vel:Destroy()
  3141. Debounces.damageLevel = 0
  3142. Debounces.scalingDamage = false
  3143. Debounces.isBoosting = false
  3144. end
  3145. end)
  3146.  
  3147. uinps.InputBegan:connect(function(InputObject)
  3148. if InputObject.KeyCode == Enum.KeyCode.D and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3149. Debounces.isBoosting = true
  3150. Debounces.damageLevel = 10
  3151. Debounces.scalingDamage = true
  3152. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3153. setLerp(.15)
  3154. setJointCFrames({
  3155. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -15));
  3156. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-13.603, -45.662, -6.645));
  3157. CFrame.new(Vector3.new(-1.9, 0, -0.201)) * CFAngles(Vector3.new(31.935, -7.436, -60.853));
  3158. CFrame.new(Vector3.new(1.9, 0, 0.399)) * CFAngles(Vector3.new(-3.644, -23.448, 59.102));
  3159. CFrame.new(Vector3.new(-1.1, -1.8, 0)) * CFAngles(Vector3.new(-3.616, -11.936, -29.566));
  3160. CFrame.new(Vector3.new(0.1, -1.6, -0.601)) * CFAngles(Vector3.new(1.943, -7.181, -32.528));
  3161. })
  3162. local boostSpeed = 250
  3163. local efx = Instance.new("Sound",c.Head)
  3164. efx.SoundId = "rbxassetid://200632875"
  3165. efx.Pitch = math.random(1100,1300)/1000
  3166. efx.Volume = .5
  3167. efx:Play()
  3168. spawn(function()
  3169. wait(5)
  3170. efx:Destroy()
  3171. end)
  3172. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(-1,0,0)).p).unit * boostSpeed
  3173. vel.P = 1e3
  3174. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3175. wait(.15)
  3176. vel.P = 1000
  3177. vel.MaxForce = Vector3.new(3000,0,3000)
  3178. vel.Velocity = Vector3.new()
  3179. wait(.3)
  3180. setLerp(.3)
  3181. setJointCFrames({
  3182. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 0, -13));
  3183. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  3184. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  3185. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  3186. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  3187. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  3188. })
  3189. wait(.2)
  3190. vel:Destroy()
  3191. Debounces.damageLevel = 0
  3192. Debounces.scalingDamage = false
  3193. Debounces.isBoosting = false
  3194. end
  3195. end)
  3196.  
  3197. uinps.InputBegan:connect(function(InputObject)
  3198. if InputObject.KeyCode == Enum.KeyCode.W and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3199. Debounces.isBoosting = true
  3200. Debounces.damageLevel = 10
  3201. Debounces.scalingDamage = true
  3202. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3203. setLerp(.15)
  3204. setJointCFrames({
  3205. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-40.001, 0, 5));
  3206. CFrame.new(Vector3.new(-0.001, 1.429, 0.2)) * CFAngles(Vector3.new(25.141, -8.347, 0.878));
  3207. CFrame.new(Vector3.new(-1.5, 0, .101)) * CFAngles(Vector3.new(14.999, -0.001, 0));
  3208. CFrame.new(Vector3.new(1.7, 0.199, -0.401)) * CFAngles(Vector3.new(28.08, -0.358, 21.087));
  3209. CFrame.new(Vector3.new(-0.5, -1.8, 0.6)) * CFAngles(Vector3.new(-29.448, 3.57, -1.5));
  3210. CFrame.new(Vector3.new(0.499, -1.6, -0.401)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  3211. })
  3212. local boostSpeed = 250
  3213. local efx = Instance.new("Sound",c.Head)
  3214. efx.SoundId = "rbxassetid://200632875"
  3215. efx.Pitch = math.random(1100,1300)/1000
  3216. efx.Volume = .5
  3217. efx:Play()
  3218. spawn(function()
  3219. wait(5)
  3220. efx:Destroy()
  3221. end)
  3222. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,1)).p).unit * boostSpeed
  3223. vel.P = 1e3
  3224. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3225. wait(.15)
  3226. vel.P = 1000
  3227. vel.MaxForce = Vector3.new(3000,0,3000)
  3228. vel.Velocity = Vector3.new()
  3229. wait(.3)
  3230. setLerp(.3)
  3231. setJointCFrames({
  3232. CFrame.new(Vector3.new(0, -0.901, 0)) * CFAngles(Vector3.new(-22.001, 40, -13));
  3233. CFrame.new(Vector3.new(-0.001, 1.52, 0)) * CFAngles(Vector3.new(-12.936, -46.206, -2.327));
  3234. CFrame.new(Vector3.new(-1.9, 0.2, -0.201)) * CFAngles(Vector3.new(45, 0, -60));
  3235. CFrame.new(Vector3.new(1.7, 0, -0.401)) * CFAngles(Vector3.new(14.035, -5.69, 35.342));
  3236. CFrame.new(Vector3.new(-0.3, -1.8, 0.6)) * CFAngles(Vector3.new(-55.479, -10.612, 15.729));
  3237. CFrame.new(Vector3.new(0.5, -1, -0.801)) * CFAngles(Vector3.new(14.999, -15, 14.999));
  3238. })
  3239. wait(.2)
  3240. vel:Destroy()
  3241. Debounces.damageLevel = 0
  3242. Debounces.scalingDamage = false
  3243. Debounces.isBoosting = false
  3244. end
  3245. end)
  3246.  
  3247. uinps.InputBegan:connect(function(InputObject)
  3248. if InputObject.KeyCode == Enum.KeyCode.S and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isBoosting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3249. Debounces.isBoosting = true
  3250. Debounces.damageLevel = 10
  3251. Debounces.scalingDamage = true
  3252. local vel = Instance.new("BodyVelocity",c.HumanoidRootPart)
  3253. setLerp(.15)
  3254. setJointCFrames({
  3255. CFrame.new(Vector3.new(0, -.3, 0)) * CFAngles(Vector3.new(15, 0, 0));
  3256. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-5.298, -1.305, -4.093));
  3257. CFrame.new(Vector3.new(-1.7, 0, -0.201)) * CFAngles(Vector3.new(12.112, -6.562, -16.939));
  3258. CFrame.new(Vector3.new(1.7, 0, -0.201)) * CFAngles(Vector3.new(8.817, 8.378, 20.465));
  3259. CFrame.new(Vector3.new(-0.7, -1.8, 0.2)) * CFAngles(Vector3.new(-14.432, 3.06, -2.373));
  3260. CFrame.new(Vector3.new(0.5, -1.8, -0.201)) * CFAngles(Vector3.new(-0.505, -14.478, -3.968));
  3261. })
  3262. local boostSpeed = 150
  3263. local boostSpeed = 250
  3264. local efx = Instance.new("Sound",c.Head)
  3265. efx.SoundId = "rbxassetid://200632875"
  3266. efx.Pitch = math.random(1100,1300)/1000
  3267. efx.Volume = .5
  3268. efx:Play()
  3269. spawn(function()
  3270. wait(5)
  3271. efx:Destroy()
  3272. end)
  3273. vel.Velocity = (c.HumanoidRootPart.Position - c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-1)).p).unit * boostSpeed
  3274. vel.P = 1e3
  3275. vel.MaxForce = Vector3.new(math.huge,0,math.huge)
  3276. wait(.15)
  3277. vel.P = 1000
  3278. vel.MaxForce = Vector3.new(3000,0,3000)
  3279. vel.Velocity = Vector3.new()
  3280. wait(.3)
  3281. setLerp(.3)
  3282. setJointCFrames({
  3283. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(4, 0, 0));
  3284. CFrame.new(Vector3.new(-0.001, 1.52, -0.03)) * CFAngles(Vector3.new(-20.081, 28.752, 3.598));
  3285. CFrame.new(Vector3.new(-1.7, 0.2, -0.601)) * CFAngles(Vector3.new(59.51, -3.841, -14.511));
  3286. CFrame.new(Vector3.new(1.7, 0.2, 0.399)) * CFAngles(Vector3.new(-47.597, -13.104, 17.887));
  3287. CFrame.new(Vector3.new(-0.7, -1.4, 0.2)) * CFAngles(Vector3.new(-44.477, 3.836, -0.524));
  3288. CFrame.new(Vector3.new(0.5, -1.4, -0.601)) * CFAngles(Vector3.new(-15.868, -12.953, -7.631));
  3289. })
  3290. wait(.2)
  3291. vel:Destroy()
  3292. Debounces.damageLevel = 0
  3293. Debounces.scalingDamage = false
  3294. Debounces.isBoosting = false
  3295. end
  3296. end)
  3297.  
  3298. uinps.InputBegan:connect(function(InputObject)
  3299. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3300. local isLooping = true
  3301. uinps.InputEnded:connect(function(InputObject2)
  3302. if InputObject2.KeyCode == Enum.KeyCode.Q then
  3303. isLooping = false
  3304. end
  3305. end)
  3306. while true do
  3307. if isLooping == false then
  3308. break
  3309. end
  3310. Debounces.attackNumber = Debounces.attackNumber + 1
  3311. local aimPos = mouse.Hit.p
  3312. local head = Instance.new("Part",c)
  3313. head.Size = Vector3.new(12,.2,12)
  3314. head.CanCollide = false
  3315. head.Anchored = true
  3316. head.Transparency = 1
  3317. for i = 1,2 do
  3318. local decal = Instance.new("Decal",head)
  3319. decal.Texture = "rbxassetid://323497117"
  3320. if i == 1 then
  3321. decal.Face = Enum.NormalId.Top
  3322. else
  3323. decal.Face = Enum.NormalId.Bottom
  3324. end
  3325. end
  3326. if Debounces.attackNumber%2 == 1 then
  3327. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  3328. else
  3329. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  3330. end
  3331. spawn(function()
  3332. local timer = 0
  3333. while rs.RenderStepped:wait() do
  3334. if timer >= 1.55 then
  3335. break
  3336. end
  3337. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3338. timer = timer + 1/30/(Debounces.FPS/60)
  3339. end
  3340. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3341. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  3342. local hit, pos = workspace:FindPartOnRay(ray,c)
  3343. local dis = (head.CFrame.p - pos).magnitude
  3344. local rayPart = Instance.new("Part",rayModel)
  3345. rayPart.Material = "Neon"
  3346. rayPart.FormFactor = "Custom"
  3347. rayPart.BrickColor = BrickColor.new(1,1,1)
  3348. rayPart.Anchored = true
  3349. rayPart.CanCollide = false
  3350. rayPart.Size = Vector3.new(7,7,dis + 400)
  3351. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  3352. rayPart.CFrame = rayCFrame
  3353. head:Destroy()
  3354. end)
  3355. wait()
  3356. local s = Instance.new("Sound",head)
  3357. s.Volume = 1
  3358. s.SoundId = "rbxassetid://332223043"
  3359. s:Play()
  3360. wait(.04)
  3361. end
  3362. end
  3363. end)
  3364.  
  3365. uinps.InputBegan:connect(function(InputObj)
  3366. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == false and Debounces.isPassive == true and Debounces.isTyping == false then
  3367. Debounces.isAttacking = true
  3368. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  3369. local head = Instance.new("Part",c)
  3370. head.Size = Vector3.new(18,.2,18)
  3371. head.CanCollide = false
  3372. head.Anchored = true
  3373. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  3374. head.Transparency = 1
  3375. for i = 1,2 do
  3376. local decal = Instance.new("Decal",head)
  3377. decal.Texture = "rbxassetid://323497117"
  3378. if i == 1 then
  3379. decal.Face = Enum.NormalId.Top
  3380. else
  3381. decal.Face = Enum.NormalId.Bottom
  3382. end
  3383. end
  3384. setLerp(.1)
  3385. setJointCFrames({
  3386. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3387. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  3388. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  3389. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  3390. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  3391. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  3392. })
  3393. spawn(function()
  3394. local timer = 0
  3395. while rs.RenderStepped:wait() do
  3396. if timer >= 1.55/.8 then
  3397. break
  3398. end
  3399. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3400. timer = timer + 1/30/(Debounces.FPS/60)
  3401. end
  3402. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3403. local ray = Ray.new(head.CFrame.p,(aimPos - head.CFrame.p).unit * 999)
  3404. local hit, pos = workspace:FindPartOnRay(ray,c)
  3405. local dis = (head.CFrame.p - pos).magnitude
  3406. local rayPart = Instance.new("Part",rayModel)
  3407. rayPart.Material = "Neon"
  3408. rayPart.FormFactor = "Custom"
  3409. rayPart.Name = "Punch"
  3410. rayPart.BrickColor = BrickColor.new(1,1,1)
  3411. rayPart.Anchored = true
  3412. rayPart.CanCollide = false
  3413. rayPart.Size = Vector3.new(28,28,dis + 400)
  3414. local rayCFrame = CFrame.new(head.CFrame.p + (aimPos - head.CFrame.p).unit * (dis/2 + 200),head.CFrame.p + (aimPos - head.CFrame.p).unit * dis * 2)
  3415. rayPart.CFrame = rayCFrame
  3416. head:Destroy()
  3417. end)
  3418. wait()
  3419. local s = Instance.new("Sound",head)
  3420. s.Volume = 1
  3421. s.SoundId = "rbxassetid://332223043"
  3422. s.Pitch = .8
  3423. s:Play()
  3424. wait(.75)
  3425. setLerp(.17)
  3426. setJointCFrames({
  3427. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  3428. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  3429. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  3430. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  3431. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  3432. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  3433. })
  3434. wait(.5)
  3435. Debounces.isAttacking = false
  3436. end
  3437. end)
  3438.  
  3439. reflect = function(d,n)
  3440. local i, n = -1 * d.unit, n.unit
  3441. local dot = n:Dot(i)
  3442. return 2*dot*n - i
  3443. end
  3444.  
  3445. makeReflectionBeam = function(pos,look,isCrit)
  3446. local ray = Ray.new(pos,look)
  3447. local hit,hitpos,norm = workspace:FindPartOnRay(ray,c)
  3448. local e = Instance.new("Part",rayModel)
  3449. e.Anchored = true
  3450. e.CanCollide = false
  3451. e.BrickColor = BrickColor.new("White")
  3452. e.Material = "Neon"
  3453. e.FormFactor = "Custom"
  3454. e.Size = Vector3.new(6,6,(pos - hitpos).magnitude)
  3455. if isCrit == true then
  3456. e.Size = Vector3.new(16,16,(pos - hitpos).magnitude)
  3457. e.Name = "Punch"
  3458. end
  3459. e.CFrame = CFrame.new(pos + (hitpos - pos)/2, pos)
  3460. local e = Instance.new("Sound",c)
  3461. if isCrit == true then
  3462. e.Volume = .5
  3463. else
  3464. e.Volume = .3
  3465. e.Pitch = 1.5
  3466. end
  3467. e.SoundId = "rbxassetid://200632875"
  3468. e:Play()
  3469. spawn(function()
  3470. wait(6)
  3471. e:Destroy()
  3472. end)
  3473. wait(.05)
  3474. if hit ~= nil then
  3475. newDir = reflect(look.unit,norm,isCrit)
  3476. makeReflectionBeam(hitpos,newDir * 999,isCrit)
  3477. end
  3478. end
  3479.  
  3480. uinps.InputBegan:connect(function(InputObject)
  3481. if InputObject.KeyCode == Enum.KeyCode.Q and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  3482. local isLooping = true
  3483. uinps.InputEnded:connect(function(InputObject2)
  3484. if InputObject2.KeyCode == Enum.KeyCode.Q then
  3485. isLooping = false
  3486. end
  3487. end)
  3488. while true do
  3489. if isLooping == false then
  3490. break
  3491. end
  3492. Debounces.attackNumber = Debounces.attackNumber + 1
  3493. local aimPos = mouse.Hit.p
  3494. local head = Instance.new("Part",c)
  3495. head.Size = Vector3.new(12,.2,12)
  3496. head.CanCollide = false
  3497. head.Anchored = true
  3498. head.Transparency = 1
  3499. for i = 1,2 do
  3500. local decal = Instance.new("Decal",head)
  3501. decal.Texture = "rbxassetid://323497117"
  3502. if i == 1 then
  3503. decal.Face = Enum.NormalId.Top
  3504. else
  3505. decal.Face = Enum.NormalId.Bottom
  3506. end
  3507. end
  3508. if Debounces.attackNumber%2 == 1 then
  3509. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(8,8,.5)).p,aimPos)
  3510. else
  3511. head.CFrame = CFrame.new(c.Torso.CFrame:toWorldSpace(CFrame.new(-8,8,.5)).p,aimPos)
  3512. end
  3513. spawn(function()
  3514. local timer = 0
  3515. while rs.RenderStepped:wait() do
  3516. if timer >= 1.55 then
  3517. break
  3518. end
  3519. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3520. timer = timer + 1/30/(Debounces.FPS/60)
  3521. end
  3522. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3523. head:Destroy()
  3524. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,false)
  3525. end)
  3526.  
  3527. wait()
  3528. local s = Instance.new("Sound",head)
  3529. s.Volume = 1
  3530. s.SoundId = "rbxassetid://332223043"
  3531. s.Pitch = 1.02
  3532. s:Play()
  3533. wait(.2)
  3534. end
  3535. end
  3536. end)
  3537.  
  3538. uinps.InputBegan:connect(function(InputObj)
  3539. if InputObj.KeyCode == Enum.KeyCode.E and Debounces.isAttacking == false and Debounces.isSprinting == true and Debounces.isPassive == true and Debounces.isTyping == false then
  3540. Debounces.isAttacking = true
  3541. local aimPos = c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-999)).p
  3542. local head = Instance.new("Part",c)
  3543. head.Size = Vector3.new(18,.2,18)
  3544. head.CanCollide = false
  3545. head.Anchored = true
  3546. head.CFrame = CFrame.new(c.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,-9)).p,aimPos)
  3547. head.Transparency = 1
  3548. for i = 1,2 do
  3549. local decal = Instance.new("Decal",head)
  3550. decal.Texture = "rbxassetid://323497117"
  3551. if i == 1 then
  3552. decal.Face = Enum.NormalId.Top
  3553. else
  3554. decal.Face = Enum.NormalId.Bottom
  3555. end
  3556. end
  3557. setLerp(.1)
  3558. setJointCFrames({
  3559. CFrame.new(Vector3.new(0, 0, 0)) * CFAngles(Vector3.new(0, 0, 0));
  3560. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, -0.001, -0.001));
  3561. CFrame.new(Vector3.new(-1.7, 0, 0)) * CFAngles(Vector3.new(-12.808, -28.88, -21.502));
  3562. CFrame.new(Vector3.new(1.699, 1.2, 0.599)) * CFAngles(Vector3.new(-146.606, 16.571, 13.928));
  3563. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-60, 0, -0.001));
  3564. CFrame.new(Vector3.new(0.5, -1.4, -0.4)) * CFAngles(Vector3.new(-15.001, -15.001, 0));
  3565. })
  3566. spawn(function()
  3567. local timer = 0
  3568. while rs.RenderStepped:wait() do
  3569. if timer >= 1.55/.8 then
  3570. break
  3571. end
  3572. head.CFrame = head.CFrame * CFrame.Angles(0,0,math.rad(timer * 25/(Debounces.FPS/60)))
  3573. timer = timer + 1/30/(Debounces.FPS/60)
  3574. end
  3575. head.CFrame = CFrame.new(head.CFrame.p,aimPos)
  3576. head:Destroy()
  3577. makeReflectionBeam(head.CFrame.p,(head.CFrame.p - aimPos).unit * -999,true)
  3578. end)
  3579. wait()
  3580. local s = Instance.new("Sound",head)
  3581. s.Volume = 2
  3582. s.SoundId = "rbxassetid://332223043"
  3583. s.Pitch = .8
  3584. s:Play()
  3585. wait(.75)
  3586. setLerp(.17)
  3587. setJointCFrames({
  3588. CFrame.new(Vector3.new(0, -.5, 0)) * CFAngles(Vector3.new(-20, 15, 0));
  3589. CFrame.new(Vector3.new(0, 1.499, -0.09)) * CFAngles(Vector3.new(-11.676, 14.999, -0.001));
  3590. CFrame.new(Vector3.new(-1.7, 0, 0.2)) * CFAngles(Vector3.new(-33.928, -4.374, -38.76));
  3591. CFrame.new(Vector3.new(1.499, 0.4, -0.601)) * CFAngles(Vector3.new(74.335, 25.091, -6.155));
  3592. CFrame.new(Vector3.new(-0.501, -1.601, 0.6)) * CFAngles(Vector3.new(-45, 0, -0.001));
  3593. CFrame.new(Vector3.new(0.5, -1.8, -0.4)) * CFAngles(Vector3.new(-15, -15, 0));
  3594. })
  3595. wait(.5)
  3596. Debounces.isAttacking = false
  3597. end
  3598. end)
  3599.  
  3600. uinps.InputBegan:connect(function(InputObj)
  3601. if InputObj.KeyCode == Enum.KeyCode.Slash then
  3602. local finishEvent = nil
  3603. Debounces.isTyping = true
  3604. finishEvent = uinps.InputBegan:connect(function(InputObj)
  3605. if InputObj.KeyCode == Enum.KeyCode.Return or InputObj.UserInputType == Enum.UserInputType.MouseButton1 then
  3606. Debounces.isTyping = false
  3607. finishEvent:disconnect()
  3608. end
  3609. end)
  3610. end
  3611. end)
  3612.  
  3613. uinps.InputBegan:connect(function(InputObj)
  3614. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  3615. Debounces.isSprinting = true
  3616. end
  3617. end)
  3618.  
  3619. uinps.InputEnded:connect(function(InputObj)
  3620. if InputObj.KeyCode == Enum.KeyCode.LeftShift then
  3621. Debounces.isSprinting = false
  3622. end
  3623. end)
  3624.  
  3625. rs.RenderStepped:connect(function()
  3626. Debounces.FPS = 1/rs.RenderStepped:wait()
  3627. local FPSLerp = AnimStat.lerpSpeed/(Debounces.FPS/60)
  3628. if Debounces.isPassive == false then
  3629. fire.Enabled = false
  3630. light.Range = 0
  3631. fight:Pause()
  3632. sans:Resume()
  3633. efxBlock.Transparency = 1
  3634. else
  3635. fire.Enabled = true
  3636. light.Range = 10
  3637. fight:Resume()
  3638. sans:Pause()
  3639. efxBlock.Transparency = 0
  3640. end
  3641. for i,v in pairs (rayModel:children()) do
  3642. if v.Transparency >= 1 then
  3643. v:Destroy()
  3644. else
  3645. v.CanCollide = true
  3646. local parts = v:GetTouchingParts()
  3647. v.CanCollide = false
  3648. for i = 1,#parts do
  3649. if parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name ~= "Punch" then
  3650. parts[i].Parent.Humanoid:TakeDamage(.5/(Debounces.FPS/60))
  3651. elseif parts[i].Parent:FindFirstChild("Humanoid") and parts[i].Parent ~= c and v.Name == "Punch" then
  3652. parts[i].Parent.Humanoid:TakeDamage(3.1/(Debounces.FPS/60))
  3653. end
  3654. end
  3655. v.Size = v.Size + Vector3.new(1/(Debounces.FPS/60),1/(Debounces.FPS/60),0)
  3656. v.Transparency = v.Transparency + .05/(Debounces.FPS/60)
  3657. end
  3658. end
  3659. for i = 1,#Joints do
  3660. Joints[i].C0 = Joints[i].C0:lerp(JointTargets[i], FPSLerp)
  3661. end
  3662. local sineval = math.sin(tick() * 2) * 3
  3663. fire.Acceleration = Vector3.new(sineval,1,sineval)
  3664. light.Brightness = math.sin(math.cos(tick() * 2) * 1.5)
  3665. end)
Add Comment
Please, Sign In to add comment