Ven0ced

Untitled

Jun 9th, 2016
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.59 KB | None | 0 0
  1. LocalPlayer = game.Players.LocalPlayer
  2. LocalPlayer.Character.Humanoid.MaxHealth = 150000
  3. LocalPlayer.Character.Humanoid.Health = 150000
  4. Activated = false
  5. Equipped = false
  6. Regening = false
  7. FireBall = false
  8. Spikes = false
  9. Destiny = false
  10. Explosion = false
  11. Tornado = false
  12. Wall = false
  13. shooting = false
  14. Mode = "Shoot"
  15. Energy = 2500
  16. mouse = LocalPlayer:GetMouse()
  17. t = Instance.new("Tool",LocalPlayer.Backpack)
  18. t.Name = 'Sword of Hyper Nova'
  19. t.GripPos = Vector3.new(0,0,0)---5
  20. p = Instance.new("Part",t)
  21. p.FormFactor = 'Custom'
  22. p.Name = 'Handle'
  23. p.Transparency = 0.5
  24. p.Reflectance = 0.5
  25. p.CanCollide = false
  26. p.BrickColor = BrickColor.new("Bright bluish green")
  27. m = Instance.new("SpecialMesh",p)
  28. m.MeshId = 'http://www.roblox.com/asset/?id=31758253'
  29. m.TextureId = 'http://www.roblox.com/asset/?id='
  30. m.Scale = Vector3.new(0.25,0.25,0.25)
  31. char = LocalPlayer.Character
  32. mouse = LocalPlayer:GetMouse()
  33. humanoid = char:findFirstChild("Humanoid")
  34. torso = char:findFirstChild("Torso")
  35. head = char.Head
  36. local Colors = {"White","Really black"}
  37. ra = char:findFirstChild("Right Arm")
  38. la = char:findFirstChild("Left Arm")
  39. rl = char:findFirstChild("Right Leg")
  40. ll = char:findFirstChild("Left Leg")
  41. rs = torso:findFirstChild("Right Shoulder")
  42. ls = torso:findFirstChild("Left Shoulder")
  43. rh = torso:findFirstChild("Right Hip")
  44. lh = torso:findFirstChild("Left Hip")
  45. neck = torso:findFirstChild("Neck")
  46. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  47. anim = char:findFirstChild("Animate")
  48. rootpart = char:findFirstChild("HumanoidRootPart")
  49. camera = workspace.CurrentCamera
  50. if anim then
  51. anim:Destroy()
  52. end
  53. rm = Instance.new("Motor", torso)
  54. rm.C0 = CFrame.new(1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  55. rm.C1 = CFrame.new(0, 0.5, 0)
  56. rm.Part0 = torso
  57. rm.Part1 = ra
  58. lm = Instance.new("Motor", torso)
  59. lm.C0 = CFrame.new(-1.5, 0.5, 0) *CFrame.Angles(0, 0, 0)
  60. lm.C1 = CFrame.new(0, 0.5, 0)
  61. lm.Part0 = torso
  62. lm.Part1 = la
  63. rlegm = Instance.new("Motor", torso)
  64. rlegm.C0 = CFrame.new(0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  65. rlegm.C1 = CFrame.new(0, 1, 0)
  66. rlegm.Part0 = torso
  67. rlegm.Part1 = rl
  68. llegm = Instance.new("Motor", torso)
  69. llegm.C0 = CFrame.new(-0.5, -1, 0) *CFrame.Angles(0, 0, 0)
  70. llegm.C1 = CFrame.new(0, 1, 0)
  71. llegm.Part0 = torso
  72. llegm.Part1 = ll
  73. rsc0 = rm.C0
  74. lsc0 = lm.C0
  75. llc0 = llegm.C0
  76. rlc0 = rlegm.C0
  77. neckc0 = neck.C0
  78. rootc0 = rj.C0
  79. PLAYERGUI = LocalPlayer.PlayerGui
  80. GUI = Instance.new("ScreenGui",PLAYERGUI)
  81. FRAME = Instance.new("Frame",GUI)
  82. FRAME.Size = UDim2.new(0.5,0,0.05,0)
  83. FRAME.BackgroundColor3 = BrickColor.new("Bright bluish green").Color
  84. FRAME.BorderSizePixel = 0
  85. FRAME.BackgroundTransparency = 0.8
  86. TEXTLABEL = Instance.new("TextLabel",FRAME)
  87. TEXTLABEL.Size = UDim2.new(1,0,1,0)
  88. TEXTLABEL.BackgroundTransparency = 1
  89. TEXTLABEL.Text = "Power: "..tostring(Energy)
  90. TEXTLABEL.TextColor3 = BrickColor.new("Bright bluish green").Color
  91. TEXTLABEL.TextStrokeColor3 = BrickColor.new("Bright blue").Color
  92. TEXTLABEL.BorderSizePixel = 0
  93. TEXTLABEL.Font = 'SourceSansBold'
  94. TEXTLABEL.FontSize = 'Size36'
  95. TEXTLABEL.TextStrokeTransparency = 0
  96. FRAME2 = Instance.new("Frame",GUI)
  97. FRAME2.Size = UDim2.new(0.5,0,0.05,0)
  98. FRAME2.BackgroundColor3 = BrickColor.new("Bright red").Color
  99. FRAME2.BorderSizePixel = 0
  100. FRAME2.Position = UDim2.new(0.5,0,0,0)
  101. FRAME2.BackgroundTransparency = 0.8
  102. TEXTLABEL2 = Instance.new("TextLabel",FRAME2)
  103. TEXTLABEL2.Size = UDim2.new(1,0,1,0)
  104. TEXTLABEL2.BackgroundTransparency = 1
  105. TEXTLABEL2.Text = "Current Health: "..tostring(humanoid.Health)
  106. TEXTLABEL2.TextColor3 = BrickColor.new("Really red").Color
  107. TEXTLABEL2.TextStrokeColor3 = BrickColor.new("Bright red").Color
  108. TEXTLABEL2.BorderSizePixel = 0
  109. TEXTLABEL2.BorderSizePixel = 0
  110. TEXTLABEL2.Font = 'SourceSansBold'
  111. TEXTLABEL2.FontSize = 'Size36'
  112. FRAME3 = Instance.new("Frame",GUI)
  113. FRAME3.Size = UDim2.new(0.5,0,0.05,0)
  114. FRAME3.BackgroundColor3 = BrickColor.new("Lime green").Color
  115. FRAME3.BorderSizePixel = 0
  116. FRAME3.Position = UDim2.new(0.5,0,0.05,0)
  117. FRAME3.BackgroundTransparency = 0.8
  118. TEXTLABEL3 = Instance.new("TextLabel",FRAME3)
  119. TEXTLABEL3.Size = UDim2.new(1,0,1,0)
  120. TEXTLABEL3.BackgroundTransparency = 1
  121. TEXTLABEL3.Text = "Strength: Dragon Nova Blast"
  122. TEXTLABEL3.BorderSizePixel = 0
  123. TEXTLABEL3.Font = 'SourceSansBold'
  124. TEXTLABEL3.FontSize = 'Size24'
  125. function __getVelocity(p1,p2,speed)
  126. local dis=(p1-p2).magnitude
  127. if speed=="dis" then
  128. if dis*6>100 then
  129. speed=dis*6
  130. else
  131. speed=100
  132. end
  133. end
  134. local x=(p1.x-p2.x)/dis*speed
  135. local y=(p1.y-p2.y)/dis*speed
  136. local z=(p1.z-p2.z)/dis*speed
  137. return Vector3.new(-x,-y+10,-z)
  138. end
  139. function __onActivated()
  140. Activated = true
  141. end
  142. function __onDeactivated()
  143. Activated = false
  144. end
  145. function __onEquipped(mouse)
  146. Equipped = true
  147. pcall(function()
  148. local a = Instance.new("Explosion",LocalPlayer.Character)
  149. a.Position = LocalPlayer.Character['Right Arm'].Position
  150. a.BlastPressure = 0
  151. a.BlastRadius = 50
  152. local l = Instance.new("PointLight", LocalPlayer.Character.Torso)
  153. l.Brightness = 20
  154. l.Color = Color3.new(0, 180, 255)
  155. l.Enabled = true
  156. l.Range = 20
  157. l.Shadows = true
  158. end)
  159. local b = Instance.new("Fire",p)
  160. b.Size = 1
  161. b.Color = Color3.new(255, 255, 255)
  162. b.SecondaryColor = Color3.new(0, 255, 255)
  163. local l = Instance.new("PointLight", p)
  164. l.Brightness = 20
  165. l.Color = Color3.new(255, 255, 255)
  166. l.Enabled = true
  167. l.Range = 20
  168. l.Shadows = true
  169. local w = Instance.new("Motor",char['Right Arm'])
  170. w.Name = 'hyper sword weld'
  171. w.Part0 = char['Right Arm']
  172. w.Part1 = p
  173. w.C1 = CFrame.new(0,-1.5,0.5) * CFrame.Angles(math.rad(90),0,0)
  174. end
  175. function __onUnequipped(mouse)
  176. Equipped = false
  177. pcall(function()
  178. p.Fire:Destroy()
  179. end)
  180. pcall(function()
  181. char['Right Arm']['hyper sword weld']:Destroy()
  182. end)
  183. end
  184. function __Shoot()
  185. if Regening == true then return end
  186. if Energy < 50 then return end
  187. shooting = true
  188. game:GetService("Chat"):Chat(head,"DRAGON NOVA BLAST!",2)
  189. Energy = Energy - 150
  190. humanoid.WalkSpeed = 30
  191. local speed = math.random(400,500)
  192. local bullet = Instance.new("Part",workspace)
  193. bullet.Name = 'Bullet'
  194. bullet.TopSurface = 0
  195. bullet.BottomSurface = 0
  196. bullet.Size = Vector3.new(10,10,10)
  197. bullet.FormFactor = 'Custom'
  198. bullet.CFrame = p.CFrame
  199. bullet.CanCollide = false
  200. bullet.BrickColor = BrickColor.new("Really red")
  201. bullet.Velocity = __getVelocity(bullet.Position, mouse.Hit.p, speed)
  202. bullet.FrontSurface = "Smooth"
  203. bullet.BottomSurface = "Smooth"
  204. local pie = Instance.new("PointLight", bullet)
  205. pie.Brightness = 5000
  206. pie.Color = BrickColor.new("Really red").Color
  207. pie.Range = 60
  208. local bulletmesh = Instance.new("SpecialMesh",bullet)
  209. bulletmesh.MeshId = 'http://www.roblox.com/asset/?id=24478215'
  210. bulletmesh.VertexColor = Vector3.new(0,0,0)
  211. bullet.Touched:connect(function(toucher)
  212. if toucher.Parent:findFirstChild'Head' and toucher.Parent:findFirstChild'Torso' and toucher.Parent.Name ~= LocalPlayer.Name then
  213. for i,v in pairs(toucher.Parent:children()) do
  214. if v.ClassName == 'Humanoid' then
  215. if v.Health > 100 then
  216. v.Health = 100
  217. else
  218. v.Health = v.Health - speed/50
  219. end
  220. end
  221. end
  222. bullet:Destroy()
  223. end
  224. end)
  225. wait(1)
  226. shooting = false
  227. humanoid.WalkSpeed = 100
  228. end
  229. function __FireBall()
  230. if Regening == true then return end
  231. if Energy < 150 then return end
  232. if FireBall == true then return end
  233. Energy = Energy - 150
  234. game:GetService("Chat"):Chat(head,"ROAR OF NOVA DRAGON!",2)
  235. local a = Instance.new("Part",workspace)
  236. a.Anchored = true
  237. a.CanCollide = false
  238. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  239. a.FormFactor = 'Custom'
  240. a.Size = Vector3.new(100,100,100)
  241. a.Transparency = 0.5
  242. a.Reflectance = 0.5
  243. a.BrickColor = BrickColor.new("Bright bluish green")
  244. a.FrontSurface = "Smooth"
  245. a.BottomSurface = "Smooth"
  246. local pie = Instance.new("PointLight", a)
  247. pie.Brightness = 5000
  248. pie.Color = BrickColor.new("Really blue").Color
  249. pie.Range = 60
  250. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  251. local con = a.Touched:connect(function(what)
  252. if what.Parent.Name ~= LocalPlayer.Name then
  253. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  254. what:Destroy()
  255. end
  256. end
  257. end)
  258. coroutine.wrap(function()
  259. FireBall = true
  260. humanoid.WalkSpeed = 0
  261. for i = 0,1,0.05 do
  262. a.Mesh.Scale = Vector3.new(i,i,i)
  263. wait()
  264. end
  265. FireBall = false
  266. humanoid.WalkSpeed = 100
  267. while wait() do
  268. if a == nil or a.Parent ~= workspace then break end
  269. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  270. end
  271. con:disconnect()
  272. end)()
  273. coroutine.wrap(function()
  274. wait(5)
  275. Instance.new("Explosion",workspace).Position = a.Position
  276. a:Destroy()
  277. end)()
  278. end
  279. function __Wall()
  280. if Regening == true then return end
  281. if Energy < 200 then return end
  282. if Wall == true then return end
  283. Energy = Energy - 200
  284. game:GetService("Chat"):Chat(head,"BURNING WALL!",2)
  285. local a = Instance.new("Part",workspace)
  286. a.Anchored = true
  287. a.CanCollide = false
  288. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
  289. a.FormFactor = 'Custom'
  290. a.Size = Vector3.new(100,100,25)
  291. a.Transparency = 0.5
  292. a.Reflectance = 0.5
  293. a.BrickColor = BrickColor.new("Really red")
  294. a.FrontSurface = "Smooth"
  295. a.BottomSurface = "Smooth"
  296. local pie = Instance.new("PointLight", a)
  297. pie.Brightness = 5000
  298. pie.Color = BrickColor.new("Really red").Color
  299. pie.Range = 60
  300. local con = a.Touched:connect(function(what)
  301. if what.Parent.Name ~= LocalPlayer.Name then
  302. if what.Name == "Part" or "Sand" or "Blast" or "Ray" then
  303. what:Remove()
  304. elseif what.Name == "Base" or "Baseplate" then
  305. return
  306. end
  307. end
  308. end)
  309. coroutine.wrap(function()
  310. Wall = true
  311. humanoid.WalkSpeed = 0
  312. wait(2)
  313. Wall = false
  314. humanoid.WalkSpeed = 100
  315. con:disconnect()
  316. p:Remove()
  317. end)()
  318. coroutine.wrap(function()
  319. wait(5)
  320. Instance.new("Explosion",workspace).Position = a.Position
  321. a:Destroy()
  322. end)()
  323. end
  324.  
  325. function __Tornado()
  326. if Regening == true then return end
  327. if Energy < 150 then return end
  328. if Tornado == true then return end
  329. Energy = Energy - 150
  330. game:GetService("Chat"):Chat(head,"DRAGON'S TORNADO!",2)
  331. local a = Instance.new("Part",workspace)
  332. a.Anchored = true
  333. a.CanCollide = false
  334. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-30)
  335. a.FormFactor = 'Custom'
  336. a.Size = Vector3.new(40,50,50)
  337. a.Transparency = 0.5
  338. a.Reflectance = 0.5
  339. a.BrickColor = BrickColor.new("Royal Purple")
  340. a.BottomSurface = "Smooth"
  341. a.TopSurface = "Smooth"
  342. local pie = Instance.new("PointLight", a)
  343. pie.Brightness = 5000
  344. pie.Color = BrickColor.new("Really blue").Color
  345. pie.Range = 10
  346. local b = Instance.new("SpecialMesh",a)
  347. b.MeshId = 'http://www.roblox.com/asset/?id=16606212'
  348. b.VertexColor = Vector3.new(1, 1, 1)
  349. b.Scale = Vector3.new(10, 10, 10)
  350. local con = a.Touched:connect(function(what)
  351. if what.Parent.Name ~= LocalPlayer.Name then
  352. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  353. what:Destroy()
  354. end
  355. end
  356. end)
  357. coroutine.wrap(function()
  358. Tornado = true
  359. humanoid.WalkSpeed = 0
  360. for i = 0,1,0.05 do
  361. a.Mesh.Scale = Vector3.new(10,10,10)
  362. wait()
  363. end
  364. Tornado = false
  365. humanoid.WalkSpeed = 100
  366. while wait() do
  367. if a == nil or a.Parent ~= workspace then break end
  368. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  369. end
  370. con:disconnect()
  371. end)()
  372. coroutine.wrap(function()
  373. wait(5)
  374. Instance.new("Explosion",workspace).Position = a.Position
  375. a:Destroy()
  376. end)()
  377. end
  378. function __Destiny()
  379. if Regening == true then return end
  380. if Energy < 200 then return end
  381. if Destiny == true then return end
  382. Energy = Energy - 200
  383. game:GetService("Chat"):Chat(head,"SLASH OF NOVA!",2)
  384. local a = Instance.new("Part",workspace)
  385. a.Anchored = true
  386. a.CanCollide = false
  387. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
  388. a.FormFactor = 'Custom'
  389. a.Size = Vector3.new(50,1,25)
  390. a.BottomSurface = 'Smooth'
  391. a.TopSurface = 'Smooth'
  392. a.Transparency = 0.5
  393. a.Reflectance = 0.5
  394. a.BrickColor = BrickColor.new("Bright bluish green")
  395. local pie = Instance.new("PointLight", a)
  396. pie.Brightness = 5000
  397. pie.Color = BrickColor.new("Really blue").Color
  398. pie.Range = 20
  399. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  400. local con = a.Touched:connect(function(what)
  401. if what.Parent.Name ~= LocalPlayer.Name then
  402. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  403. what:Destroy()
  404. end
  405. end
  406. end)
  407. coroutine.wrap(function()
  408. Destiny = true
  409. humanoid.WalkSpeed = 0
  410. for i = 0,1,0.05 do
  411. a.Mesh.Scale = Vector3.new(i,i,i)
  412. wait()
  413. end
  414. Destiny = false
  415. humanoid.WalkSpeed = 100
  416. while wait() do
  417. if a == nil or a.Parent ~= workspace then break end
  418. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  419. end
  420. con:disconnect()
  421. end)()
  422. coroutine.wrap(function()
  423. wait(5)
  424. Instance.new("Explosion",workspace).Position = a.Position
  425. a:Destroy()
  426. end)()
  427. end
  428. function __Spikes()
  429. if Regening == true then return end
  430. if Energy < 100 then return end
  431. if Spikes == true then return end
  432. Energy = Energy - 100
  433. Spikes = true
  434. game:GetService("Chat"):Chat(head,"BURST OF DOOM!",2)
  435. humanoid.WalkSpeed = 0
  436. for z = 0,6 do
  437. local a = Instance.new("Part",workspace)
  438. a.FormFactor = 'Custom'
  439. a.Size = Vector3.new(10, 25, 10)
  440. a.Anchored = true
  441. a.CanCollide = false
  442. a.BrickColor = BrickColor.new("Really blue")
  443. a.Transparency = 0.5
  444. a.Reflectance = 0.5
  445. a.FrontSurface = "Smooth"
  446. a.BottomSurface = "Smooth"
  447. local pie = Instance.new("PointLight", a)
  448. pie.Brightness = 5000
  449. pie.Color = BrickColor.new("Royal purple").Color
  450. pie.Range = 20
  451. local b = Instance.new("SpecialMesh",a)
  452. b.MeshId = 'http://www.roblox.com/asset/?id=1033714'
  453. b.VertexColor = Vector3.new(1, 1, 1)
  454. b.Scale = Vector3.new(2.5, 25, 2.5)
  455. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  456. local con = a.Touched:connect(function(what)
  457. if what.Parent.Name ~= LocalPlayer.Name then
  458. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  459. for i,v in pairs(what.Parent:children()) do
  460. if v.ClassName == 'Humanoid' then
  461. if v.Health > 100 then v.Health = 100 end
  462. v.Health = v.Health - 100
  463. end
  464. end
  465. end
  466. end
  467. end)
  468. coroutine.wrap(function()
  469. wait(3)
  470. a:Destroy()
  471. con:disconnect()
  472. end)()
  473. wait()
  474. end
  475. humanoid.WalkSpeed = 100
  476. Spikes = false
  477. end
  478. function __Lightning()
  479. if Energy < 250 then return end
  480. if Lightning == true then return end
  481. if Regening == true then return end
  482. humanoid.WalkSpeed = 50
  483. Lightning = true
  484. game:GetService("Chat"):Chat(head,"LIGHTNING OF SWORDS!",2)
  485. Energy = Energy - 250
  486. local function segment(pos1,pos2,color)
  487. local dis=(pos1-pos2).magnitude
  488. local p=Instance.new("Part")
  489. p.CanCollide=false
  490. p.FormFactor="Custom"
  491. p.Size=Vector3.new(5,5,dis)
  492. p.Anchored=true
  493. p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  494. p.BrickColor=color
  495. p.Transparency = 0.5
  496. p.Reflectance = 0.5
  497. p.FrontSurface = "Smooth"
  498. p.BottomSurface = "Smooth"
  499. local pie = Instance.new("PointLight", p)
  500. pie.Brightness = 5000
  501. pie.Color = BrickColor.new("New Yeller").Color
  502. pie.Range = 20
  503. local pie2 = Instance.new("SpecialMesh", p)
  504. pie2.MeshId = "rbxasset://fonts/sword.mesh"
  505. pie2.Scale = Vector3.new(10,10,10)
  506. return p
  507. end
  508. target = mouse.Hit
  509. height=1000
  510. prev=(target*CFrame.new(0,300,0)).p
  511. for i=height,30,-50 do
  512. cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  513. p=segment(prev,cur,BrickColor.new("Really red"))
  514. p.Parent=workspace
  515. local pie = Instance.new("PointLight", p)
  516. pie.Brightness = 5000
  517. pie.Color = BrickColor.new("New Yeller").Color
  518. pie.Range = 10
  519. game:service("Debris"):AddItem(p,3)
  520. prev=cur
  521. wait()
  522. end
  523. p=segment(prev,target.p,BrickColor.new("Really red"))
  524. p.Parent=workspace
  525. local pie = Instance.new("PointLight", p)
  526. pie.Brightness = 5000
  527. pie.Color = BrickColor.new("New Yeller").Color
  528. pie.Range = 10
  529. game:service("Debris"):AddItem(p,3)
  530. Instance.new("Explosion",workspace).Position=target.p
  531. wait(1)
  532. Lightning = false
  533. humanoid.WalkSpeed = 100
  534. end
  535. function __Explosion()
  536. if Energy < 1000 then return end
  537. if Explosion == true then return end
  538. if Regening == true then return end
  539. humanoid.WalkSpeed = 0
  540. Explosion = true
  541. Energy = Energy - 1000
  542. game:GetService("Chat"):Chat(head,"COME HUG ME!",2)
  543. Instance.new("ForceField", LocalPlayer.Character)
  544. local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  545. Fire.Color = BrickColor.new("Bright bluish green").Color
  546. for i = 0,100 do
  547. game:GetService("Chat"):Chat(head,"-LOADING...-",1)
  548. Fire.Size = i
  549. wait(0.1)
  550. end
  551. game:GetService("Chat"):Chat(head,"PERISH BEFORE ME!NOVA DESTRUCTION!",2)
  552. Fire:remove()
  553. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  554. local a = Instance.new("Explosion", LocalPlayer.Character)
  555. a.Position = LocalPlayer.Character.Torso.Position
  556. a.BlastPressure = 1e100
  557. a.BlastRadius = 100
  558. Explosion = false
  559. humanoid.WalkSpeed = 100
  560. end
  561. t.Activated:connect(__onActivated)
  562. t.Deactivated:connect(__onDeactivated)
  563. t.Equipped:connect(__onEquipped)
  564. t.Unequipped:connect(__onUnequipped)
  565. coroutine.wrap(function()
  566. while wait() do
  567. if Activated == true then
  568. if Mode == 'Shoot' then
  569. __Shoot()
  570. elseif Mode == 'FireBall' then
  571. __FireBall()
  572. elseif Mode == 'Spikes' then
  573. __Spikes()
  574. elseif Mode == 'Lightning' then
  575. __Lightning()
  576. elseif Mode == 'Explosion' then
  577. __Explosion()
  578. elseif Mode == 'Destiny' then
  579. __Destiny()
  580. elseif Mode == 'Tornado' then
  581. __Tornado()
  582. elseif Mode == 'Wall' then
  583. __Wall()
  584. end
  585. end
  586. if Regening == true then
  587. game:GetService("Chat"):Chat(head,"-CHARGING POWER..-",1)
  588. Energy = Energy + 250
  589. Instance.new("ForceField", LocalPlayer.Character)
  590. wait(1)
  591. end
  592. end
  593. end)()
  594. mouse.KeyDown:connect(function(key)
  595. if key == 'e' then
  596. game:GetService("Chat"):Chat(head,"-CHARGING POWER...-",1)
  597. humanoid.WalkSpeed = 10
  598. Regening = true
  599. end
  600. if key == 'q' then
  601. if Mode == 'Shoot' then
  602. Mode = 'FireBall'
  603. elseif Mode == 'FireBall' then
  604. Mode = 'Spikes'
  605. elseif Mode == 'Spikes' then
  606. Mode = 'Lightning'
  607. elseif Mode == 'Lightning' then
  608. Mode = 'Explosion'
  609. elseif Mode == 'Explosion' then
  610. Mode = 'Destiny'
  611. elseif Mode == 'Destiny' then
  612. Mode = 'Tornado'
  613. elseif Mode == 'Tornado' then
  614. Mode = 'Wall'
  615. else
  616. Mode = 'Shoot'
  617. end
  618. end
  619. end)
  620. mouse.KeyUp:connect(function(key)
  621. if key == 'e' then
  622. game:GetService("Chat"):Chat(head,"-Lets finish this.-",1)
  623. humanoid.WalkSpeed = 100
  624. Regening = false
  625. if LocalPlayer.Character:FindFirstChild("ForceField") then
  626. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  627. end
  628. end
  629. end)
  630. count = 0
  631. countspeed = 0.70
  632. coroutine.wrap(function()
  633. while wait() do
  634. if Energy > 2500 then Energy = 2500 end
  635. if Energy < 0 then Energy = 0 end
  636. TEXTLABEL.Text = "Power: "..tostring(Energy)
  637. TEXTLABEL2.Text = "Current Health: "..tostring(math.floor(humanoid.Health))
  638. if Mode == 'Shoot' then
  639. TEXTLABEL3.Text = 'Strength: Dragon Nova Blast (50 Power)'
  640. elseif Mode == 'FireBall' then
  641. TEXTLABEL3.Text = 'Strength: Roar of Nova Dragon (150 Power)'
  642. elseif Mode == 'Spikes' then
  643. TEXTLABEL3.Text = 'Strength: Burst of Doom (100 Power)'
  644. elseif Mode == 'Lightning' then
  645. TEXTLABEL3.Text = 'Strength: Lightning of Nova (250 Power)'
  646. elseif Mode == 'Explosion' then
  647. TEXTLABEL3.Text = 'Strength: Nova Destruction (1000 Power)'
  648. elseif Mode == 'Destiny' then
  649. TEXTLABEL3.Text = 'Strength: Slash of Nova (200 Power)'
  650. elseif Mode == 'Tornado' then
  651. TEXTLABEL3.Text = 'Strength: Dragons Tornado (150 Power)'
  652. elseif Mode == 'Wall' then
  653. TEXTLABEL3.Text = 'Strength: Burning Wall (200 Power)'
  654. end
  655. count = (count % 100) + countspeed
  656. angle = math.pi * math.sin(math.pi*2/100*count)
  657. if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  658. countspeed = 8
  659. if Equipped == false then
  660. rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  661. else
  662. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  663. end
  664. lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  665. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  666. llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  667. neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  668. rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  669. wait()
  670. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  671. if shooting then
  672. countspeed = 8
  673. rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  674. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  675. llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  676. lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  677. rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  678. elseif Regening == true then
  679. if Energy == 2500 then Regening = false end
  680. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  681. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  682. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  683. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  684. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  685. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  686. elseif FireBall == true then
  687. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  688. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  689. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  690. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  691. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  692. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  693. elseif Spikes == true then
  694. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  695. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  696. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  697. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  698. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  699. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  700. elseif Lightning == true then
  701. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  702. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  703. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  704. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  705. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  706. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  707. elseif Explosion == true then
  708. coroutine.wrap(function()
  709. for i = 0,360 do
  710. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  711. wait()
  712. end
  713. end)()
  714. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  715. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  716. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  717. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  718. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  719. else
  720. countspeed = 0.70-- this judges how fast idle animation goes
  721. rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  722. llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  723. lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  724. if Equipped == false then
  725. rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  726. else
  727. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  728. end
  729. neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  730. rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  731. end
  732. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  733. countspeed = 8-- this judges how fast the walk animation goes
  734. rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  735. llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  736. neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  737. lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  738. if Equipped == false then
  739. rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  740. else
  741. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  742. end
  743. rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  744. end
  745. end
  746. end)()
  747. humanoid.Died:connect(function()
  748. for cframe_parts = 0, 50 do
  749. local p = Instance.new("Part")
  750. p.FormFactor = "Custom"
  751. p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  752. p.Size = Vector3.new(1, 1, 1)
  753. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  754. p.Locked = true
  755. p.CanCollide = false
  756. p.Anchored = true
  757. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  758. p.Parent = workspace
  759. local box = Instance.new("SelectionBox", p)
  760. box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  761. box.Adornee = p
  762. box.Transparency = 0.5
  763. box.Visible = true
  764. game:service'Debris':AddItem(p, 5)
  765. coroutine.wrap(function()
  766. while wait() do
  767. if p ~= nil then
  768. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  769. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  770. p.Transparency = p.Transparency + 0.015
  771. else
  772. break
  773. end
  774. end
  775. end)()
  776. end
  777. for _,v in pairs(char:children()) do
  778. if v:IsA("Part") then
  779. v:Destroy()
  780. end
  781. end
  782.  
  783. end)
Add Comment
Please, Sign In to add comment