Sevakot

Untitled

Mar 12th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.95 KB | None | 0 0
  1. LocalPlayer = game.Players.LocalPlayer
  2. LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  3. Activated = false
  4. Equipped = false
  5. Regening = false
  6. FireBall = false
  7. Spikes = false
  8. Destiny = false
  9. Explosion = false
  10. Tornado = false
  11. Wall = false
  12. Armor = false
  13. shooting = false
  14. Mode = "Shoot"
  15. Energy = 10000
  16. mouse = LocalPlayer:GetMouse()
  17. t = Instance.new("Tool",LocalPlayer.Backpack)
  18. t.Name = 'LOLs Phantom Scythe'
  19. t.GripPos = Vector3.new(0,0,0)
  20. p = Instance.new("Part",t)
  21. p.FormFactor = 'Custom'
  22. p.Name = 'Handle'
  23. p.Transparency = 0.3
  24. p.Reflectance = 0.3
  25. p.CanCollide = false
  26. p.BrickColor = BrickColor.new("Really black")
  27. m = Instance.new("SpecialMesh",p)
  28. m.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  29. m.TextureId = 'http://www.roblox.com/asset/?id='
  30. m.Scale = Vector3.new(1,1,1)
  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 = {"Royal Purple","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: Dark Wyvern"
  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(1,1,1)
  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(1,1,1)
  166. l.Enabled = true
  167. l.Range = 20
  168. l.Shadows = true
  169. local w = Instance.new("Motor",char['Right Arm'])
  170. w.Name = 'phantom scythe 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']['phantom scythe 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,"[ Dark Wyvern! ]",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(30,30,30)
  197. bullet.FormFactor = 'Custom'
  198. bullet.CFrame = p.CFrame
  199. bullet.CanCollide = false
  200. bullet.BrickColor = BrickColor.new("Really black")
  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=95891318'
  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 = 0
  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 __Armor()
  230. if Regening == true then return end
  231. if Energy < 1000 then return end
  232. if FireBall == true then return end
  233. Energy = Energy - 1000
  234. game:GetService("Chat"):Chat(head,"[ Armor of Constealing Light! ]",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(500,500,500)
  241. a.Transparency = 0.5
  242. a.BrickColor = BrickColor.new("Really black")
  243. a.FrontSurface = "Smooth"
  244. a.BottomSurface = "Smooth"
  245. local pie = Instance.new("PointLight", a)
  246. pie.Brightness = 5000
  247. pie.Color = BrickColor.new("Really blue").Color
  248. pie.Range = 60
  249. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  250. local con = a.Touched:connect(function(what)
  251. if what.Parent.Name ~= LocalPlayer.Name then
  252. if what:IsA("Part") then
  253. local ex2 = Instance.new("Explosion", workspace)
  254. ex2.Position = what.Position
  255. ex2.BlastPressure = 0
  256. ex2.BlastRadius = 50
  257. wait(1)
  258. what:Destroy()
  259. end
  260. end
  261. end)
  262. coroutine.wrap(function()
  263. Armor = true
  264. humanoid.WalkSpeed = 30
  265. for i = 0,1,0.05 do
  266. a.Mesh.Scale = Vector3.new(i,i,i)
  267. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-70)
  268. wait()
  269. end
  270. Armor = false
  271. humanoid.WalkSpeed = 100
  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 __FireBall()
  280. if Regening == true then return end
  281. if Energy < 150 then return end
  282. if FireBall == true then return end
  283. Energy = Energy - 150
  284. game:GetService("Chat"):Chat(head,"[ Dark Black-Fire! ]",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,-70)
  289. a.FormFactor = 'Custom'
  290. a.Size = Vector3.new(100,100,100)
  291. a.Transparency = 0.5
  292. a.BrickColor = BrickColor.new("Really black")
  293. a.FrontSurface = "Smooth"
  294. a.BottomSurface = "Smooth"
  295. local pie = Instance.new("PointLight", a)
  296. pie.Brightness = 5000
  297. pie.Color = BrickColor.new("Really blue").Color
  298. pie.Range = 60
  299. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  300. local con = a.Touched:connect(function(what)
  301. if what.Parent.Name ~= LocalPlayer.Name then
  302. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  303. what:Destroy()
  304. end
  305. end
  306. end)
  307. coroutine.wrap(function()
  308. FireBall = true
  309. humanoid.WalkSpeed = 0
  310. for i = 0,1,0.05 do
  311. a.Mesh.Scale = Vector3.new(i,i,i)
  312. wait()
  313. end
  314. FireBall = false
  315. humanoid.WalkSpeed = 100
  316. while wait() do
  317. if a == nil or a.Parent ~= workspace then break end
  318. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  319. end
  320. con:disconnect()
  321. end)()
  322. coroutine.wrap(function()
  323. wait(5)
  324. Instance.new("Explosion",workspace).Position = a.Position
  325. a:Destroy()
  326. end)()
  327. end
  328. function __Wall()
  329. if Regening == true then return end
  330. if Energy < 200 then return end
  331. if Wall == true then return end
  332. Energy = Energy - 200
  333. game:GetService("Chat"):Chat(head,"[ Wall of Stealing Souls! ]",2)
  334. local a = Instance.new("Part",workspace)
  335. a.Anchored = true
  336. a.CanCollide = false
  337. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-20)
  338. a.FormFactor = 'Custom'
  339. a.Size = Vector3.new(500,500,50)
  340. a.Transparency = 0.5
  341. a.BrickColor = BrickColor.new("Really black")
  342. a.FrontSurface = "Smooth"
  343. a.BottomSurface = "Smooth"
  344. local pie = Instance.new("PointLight", a)
  345. pie.Brightness = 5000
  346. pie.Color = BrickColor.new("Really red").Color
  347. pie.Range = 60
  348. local con = a.Touched:connect(function(what)
  349. if what.Parent.Name ~= LocalPlayer.Name then
  350. if what.Name == "Part" or "Sand" or "Blast" or "Ray" then
  351. what:Remove()
  352. elseif what.Name == "Base" or "Baseplate" then
  353. return
  354. end
  355. end
  356. end)
  357. coroutine.wrap(function()
  358. Wall = true
  359. humanoid.WalkSpeed = 0
  360. wait(2)
  361. Wall = false
  362. humanoid.WalkSpeed = 100
  363. con:disconnect()
  364. p:Remove()
  365. end)()
  366. coroutine.wrap(function()
  367. wait(5)
  368. Instance.new("Explosion",workspace).Position = a.Position
  369. a:Destroy()
  370. end)()
  371. end
  372. function __Tornado()
  373. if Regening == true then return end
  374. if Energy < 150 then return end
  375. if Tornado == true then return end
  376. Energy = Energy - 150
  377. game:GetService("Chat"):Chat(head,"[ Black Wind ]",2)
  378. local a = Instance.new("Part",workspace)
  379. a.Anchored = true
  380. a.CanCollide = false
  381. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  382. a.FormFactor = 'Custom'
  383. a.Size = Vector3.new(100,100,100)
  384. a.Transparency = 0.5
  385. a.Reflectance = 0.5
  386. a.BrickColor = BrickColor.new("Really black")
  387. a.BottomSurface = "Smooth"
  388. a.TopSurface = "Smooth"
  389. local pie = Instance.new("PointLight", a)
  390. pie.Brightness = 5000
  391. pie.Color = BrickColor.new("Really blue").Color
  392. pie.Range = 10
  393. local b = Instance.new("SpecialMesh",a)
  394. b.MeshId = 'http://www.roblox.com/asset/?id=16606212'
  395. b.VertexColor = Vector3.new(1, 1, 1)
  396. b.Scale = Vector3.new(10, 10, 10)
  397. local con = a.Touched:connect(function(what)
  398. if what.Parent.Name ~= LocalPlayer.Name then
  399. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  400. what:Destroy()
  401. end
  402. end
  403. end)
  404. coroutine.wrap(function()
  405. Tornado = true
  406. humanoid.WalkSpeed = 0
  407. for i = 0,1,0.05 do
  408. a.Mesh.Scale = Vector3.new(10,10,10)
  409. wait()
  410. end
  411. Tornado = false
  412. humanoid.WalkSpeed = 100
  413. while wait() do
  414. if a == nil or a.Parent ~= workspace then break end
  415. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  416. end
  417. con:disconnect()
  418. end)()
  419. coroutine.wrap(function()
  420. wait(5)
  421. Instance.new("Explosion",workspace).Position = a.Position
  422. a:Destroy()
  423. end)()
  424. end
  425. function __Destiny()
  426. if Regening == true then return end
  427. if Energy < 200 then return end
  428. if Destiny == true then return end
  429. Energy = Energy - 200
  430. game:GetService("Chat"):Chat(head,"[ Scythe's Shadow ]",2)
  431. local a = Instance.new("Part",workspace)
  432. a.Anchored = true
  433. a.CanCollide = false
  434. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,0,-50)
  435. a.FormFactor = 'Custom'
  436. a.Size = Vector3.new(1000,0.2,50)
  437. a.BottomSurface = 'Smooth'
  438. a.TopSurface = 'Smooth'
  439. a.Transparency = 0.5
  440. a.BrickColor = BrickColor.new("Really black")
  441. local pie = Instance.new("PointLight", a)
  442. pie.Brightness = 5000
  443. pie.Color = BrickColor.new("Really blue").Color
  444. pie.Range = 20
  445. Instance.new("SpecialMesh", a).MeshType = 'Sphere'
  446. local con = a.Touched:connect(function(what)
  447. if what.Parent.Name ~= LocalPlayer.Name then
  448. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  449. what:Destroy()
  450. end
  451. end
  452. end)
  453. coroutine.wrap(function()
  454. Destiny = true
  455. humanoid.WalkSpeed = 0
  456. for i = 0,1,0.05 do
  457. a.Mesh.Scale = Vector3.new(i,i,i)
  458. wait()
  459. end
  460. Destiny = false
  461. humanoid.WalkSpeed = 100
  462. while wait() do
  463. if a == nil or a.Parent ~= workspace then break end
  464. a.CFrame = a.CFrame * CFrame.new(0,0,-1)
  465. end
  466. con:disconnect()
  467. end)()
  468. coroutine.wrap(function()
  469. wait(5)
  470. Instance.new("Explosion",workspace).Position = a.Position
  471. a:Destroy()
  472. end)()
  473. end
  474. function __Spikes()
  475. if Regening == true then return end
  476. if Energy < 100 then return end
  477. if Spikes == true then return end
  478. Energy = Energy - 100
  479. Spikes = true
  480. game:GetService("Chat"):Chat(head,"[ Scythes of Hell! ]",2)
  481. humanoid.WalkSpeed = 0
  482. for z = 0,200 do
  483. local a = Instance.new("Part",workspace)
  484. a.FormFactor = 'Custom'
  485. a.Size = Vector3.new(30, 500, 30)
  486. a.Anchored = true
  487. a.CanCollide = false
  488. a.BrickColor = BrickColor.new("Really blue")
  489. a.Transparency = 0.5
  490. a.Reflectance = 0.5
  491. a.FrontSurface = "Smooth"
  492. a.BottomSurface = "Smooth"
  493. local pie = Instance.new("PointLight", a)
  494. pie.Brightness = 5000
  495. pie.Color = BrickColor.new("Royal purple").Color
  496. pie.Range = 20
  497. local b = Instance.new("SpecialMesh",a)
  498. b.MeshId = 'http://www.roblox.com/asset/?id=95891318'
  499. b.VertexColor = Vector3.new(1, 1, 1)
  500. b.Scale = Vector3.new(1,1,1)
  501. a.CFrame = LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-0.5,-(z*4)-2)
  502. local con = a.Touched:connect(function(what)
  503. if what.Parent.Name ~= LocalPlayer.Name then
  504. if what.Parent:findFirstChild'Torso' and what.Parent:findFirstChild'Head' then
  505. for i,v in pairs(what.Parent:children()) do
  506. if v.ClassName == 'Humanoid' then
  507. if v.Health > 100 then v.Health = 100 end
  508. v.Health = v.Health - 100
  509. end
  510. end
  511. end
  512. end
  513. end)
  514. coroutine.wrap(function()
  515. wait(3)
  516. a:Destroy()
  517. con:disconnect()
  518. end)()
  519. wait()
  520. end
  521. humanoid.WalkSpeed = 100
  522. Spikes = false
  523. end
  524. function __Lightning()
  525. if Energy < 250 then return end
  526. if Lightning == true then return end
  527. if Regening == true then return end
  528. humanoid.WalkSpeed = 50
  529. Lightning = true
  530. game:GetService("Chat"):Chat(head,"[ Scythe's Judgement! ]",2)
  531. Energy = Energy - 250
  532. local function segment(pos1,pos2,color)
  533. local dis=(pos1-pos2).magnitude
  534. local p=Instance.new("Part")
  535. p.CanCollide=false
  536. p.FormFactor="Custom"
  537. p.Size=Vector3.new(50,50,dis)
  538. p.Anchored=true
  539. p.CFrame=CFrame.new(pos1,pos2)*CFrame.new(0,0,-dis/2)
  540. p.BrickColor=color
  541. p.Transparency = 0.5
  542. p.Reflectance = 0.5
  543. p.FrontSurface = "Smooth"
  544. p.BottomSurface = "Smooth"
  545. local pie = Instance.new("PointLight", p)
  546. pie.Brightness = 5000
  547. pie.Color = BrickColor.new("Really blue").Color
  548. pie.Range = 20
  549. local pie2 = Instance.new("SpecialMesh", p)
  550. pie2.MeshId = "http://www.roblox.com/asset/?id=95891318"
  551. pie2.Scale = Vector3.new(10,10,10)
  552. return p
  553. end
  554. target = mouse.Hit
  555. height=1000
  556. prev=(target*CFrame.new(0,300,0)).p
  557. for i=height,30,-50 do
  558. cur=Vector3.new(math.random(15)+target.x,i,math.random(15)+target.z)
  559. p=segment(prev,cur,BrickColor.new("Really black"))
  560. p.Parent=workspace
  561. local pie = Instance.new("PointLight", p)
  562. pie.Brightness = 5000
  563. pie.Color = BrickColor.new("Really blue").Color
  564. pie.Range = 10
  565. game:service("Debris"):AddItem(p,3)
  566. prev=cur
  567. wait()
  568. end
  569. p=segment(prev,target.p,BrickColor.new("Really black"))
  570. p.Parent=workspace
  571. local pie = Instance.new("PointLight", p)
  572. pie.Brightness = 5000
  573. pie.Color = BrickColor.new("Really blue").Color
  574. pie.Range = 10
  575. game:service("Debris"):AddItem(p,3)
  576. local ex = Instance.new("Explosion",workspace)
  577. ex.Position=target.p
  578. ex.BlastRadius = 100
  579. wait(1)
  580. Lightning = false
  581. humanoid.WalkSpeed = 100
  582. end
  583. function __Explosion()
  584. if Energy < 1000 then return end
  585. if Explosion == true then return end
  586. if Regening == true then return end
  587. humanoid.WalkSpeed = 0
  588. Explosion = true
  589. Energy = Energy - 1000
  590. game:GetService("Chat"):Chat(head,"[ Scythe's Shattted Judgement of Hell! ]",2)
  591. Instance.new("ForceField", LocalPlayer.Character)
  592. local Fire = Instance.new("Fire",LocalPlayer.Character.Torso)
  593. Fire.Color = BrickColor.new("Really black").Color
  594. for i = 0,100 do
  595. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  596. Fire.Size = i
  597. wait(0.1)
  598. end
  599. game:GetService("Chat"):Chat(head,"[ Scythe's Shattered Judgement of Hell! ]",2)
  600. Fire:remove()
  601. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  602. local a = Instance.new("Explosion", LocalPlayer.Character)
  603. a.Position = LocalPlayer.Character.Torso.Position
  604. a.BlastPressure = 1e100
  605. a.BlastRadius = 100
  606. Explosion = false
  607. humanoid.WalkSpeed = 100
  608. end
  609. t.Activated:connect(__onActivated)
  610. t.Deactivated:connect(__onDeactivated)
  611. t.Equipped:connect(__onEquipped)
  612. t.Unequipped:connect(__onUnequipped)
  613. coroutine.wrap(function()
  614. while wait() do
  615. if Activated == true then
  616. if Mode == 'Shoot' then
  617. __Shoot()
  618. elseif Mode == 'FireBall' then
  619. __FireBall()
  620. elseif Mode == 'Spikes' then
  621. __Spikes()
  622. elseif Mode == 'Lightning' then
  623. __Lightning()
  624. elseif Mode == 'Explosion' then
  625. __Explosion()
  626. elseif Mode == 'Destiny' then
  627. __Destiny()
  628. elseif Mode == 'Tornado' then
  629. __Tornado()
  630. elseif Mode == 'Armor' then
  631. __Armor()
  632. elseif Mode == 'Wall' then
  633. __Wall()
  634. end
  635. end
  636. if Regening == true then
  637. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  638. Energy = Energy + 5000
  639. Instance.new("ForceField", LocalPlayer.Character)
  640. wait(1)
  641. end
  642. end
  643. end)()
  644. mouse.KeyDown:connect(function(key)
  645. if key == 'e' then
  646. game:GetService("Chat"):Chat(head,"[ Charging... ]",1)
  647. humanoid.WalkSpeed = 75
  648. Regening = true
  649. end
  650. if key == 'q' then
  651. if Mode == 'Shoot' then
  652. Mode = 'FireBall'
  653. elseif Mode == 'FireBall' then
  654. Mode = 'Spikes'
  655. elseif Mode == 'Spikes' then
  656. Mode = 'Lightning'
  657. elseif Mode == 'Lightning' then
  658. Mode = 'Explosion'
  659. elseif Mode == 'Explosion' then
  660. Mode = 'Destiny'
  661. elseif Mode == 'Destiny' then
  662. Mode = 'Tornado'
  663. elseif Mode == 'Tornado' then
  664. Mode = 'Wall'
  665. elseif Mode == 'Wall' then
  666. Mode = 'Armor'
  667. else
  668. Mode = 'Shoot'
  669. end
  670. end
  671. end)
  672. mouse.KeyUp:connect(function(key)
  673. if key == 'e' then
  674. game:GetService("Chat"):Chat(head,"[ Lets see how you do now. ]",1)
  675. humanoid.WalkSpeed = 100
  676. Regening = false
  677. if LocalPlayer.Character:FindFirstChild("ForceField") then
  678. LocalPlayer.Character:FindFirstChild("ForceField"):Remove()
  679. end
  680. end
  681. end)
  682. count = 0
  683. countspeed = 0.70
  684. coroutine.wrap(function()
  685. while wait() do
  686. if Energy > 10000 then Energy = 10000 end
  687. if Energy < 0 then Energy = 0 end
  688. TEXTLABEL.Text = "Power: "..tostring(Energy)
  689. TEXTLABEL2.Text = "Current Health: "..tostring(math.floor(humanoid.Health))
  690. if Mode == 'Shoot' then
  691. TEXTLABEL3.Text = 'Strength: Dark Wyvern (50 Power)'
  692. elseif Mode == 'FireBall' then
  693. TEXTLABEL3.Text = 'Strength: Dark-Black Fire (150 Power)'
  694. elseif Mode == 'Spikes' then
  695. TEXTLABEL3.Text = 'Strength: Scythes of Hell (100 Power)'
  696. elseif Mode == 'Lightning' then
  697. TEXTLABEL3.Text = 'Strength: Scythes Judgement (250 Power)'
  698. elseif Mode == 'Explosion' then
  699. TEXTLABEL3.Text = 'Strength: Scythes Shattted Judgement of Hell (1000 Power)'
  700. elseif Mode == 'Destiny' then
  701. TEXTLABEL3.Text = 'Strength: Scythes Shadow (200 Power)'
  702. elseif Mode == 'Tornado' then
  703. TEXTLABEL3.Text = 'Strength: Black Wind (150 Power)'
  704. elseif Mode == 'Armor' then
  705. TEXTLABEL3.Text = 'Strength: Armor of Constealing Light (1000 Power)'
  706. elseif Mode == 'Wall' then
  707. TEXTLABEL3.Text = 'Strength: Wall of Stealing Souls (200 Power)'
  708. end
  709. count = (count % 100) + countspeed
  710. angle = math.pi * math.sin(math.pi*2/100*count)
  711. if Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 then
  712. countspeed = 8
  713. if Equipped == false then
  714. rm.C0 = rsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  715. else
  716. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  717. end
  718. lm.C0 = lsc0 * CFrame.Angles(math.rad(150), 0, math.rad(0))
  719. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  720. llegm.C0 = llc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05), 0, 0)
  721. neck.C0 = neckc0 * CFrame.Angles(math.rad(-10) + (-angle*0.05),0,0)
  722. rootpart.RootJoint.C0 = rootc0 * CFrame.Angles(0,0,0)
  723. wait()
  724. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then --stand
  725. if shooting then
  726. countspeed = 8
  727. rj.C0 = rootc0 * CFrame.Angles(0,0,math.rad(25))
  728. rlegm.C0 = rlc0 * CFrame.Angles(math.rad(5), -math.rad(25), 0) --right leg
  729. llegm.C0 = llc0 * CFrame.Angles(-math.rad(5), -math.rad(25), -0) --left leg
  730. lm.C0 = lsc0 * CFrame.Angles(-math.rad(30), 0, -math.rad(25)) --left arm
  731. rm.C0 = rsc0 * CFrame.Angles(math.rad(90)+angle*0.050, 0, 0) --right arm
  732. elseif Regening == true then
  733. if Energy == 10000 then Regening = false end
  734. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  735. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  736. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  737. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(20))
  738. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-20))
  739. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  740. elseif FireBall == true then
  741. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  742. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  743. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  744. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  745. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  746. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  747. elseif Spikes == true then
  748. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  749. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  750. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  751. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(10))
  752. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(90),0,math.rad(-10))
  753. neck.C0 = neckc0 * CFrame.Angles(math.rad(15),0,0)
  754. elseif Lightning == true then
  755. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  756. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  757. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  758. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  759. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  760. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  761. elseif Explosion == true then
  762. coroutine.wrap(function()
  763. for i = 0,360 do
  764. rj.C0 = rootc0 * CFrame.Angles(0,0,0)
  765. wait()
  766. end
  767. end)()
  768. llegm.C0 = llc0 * CFrame.Angles(0,0,math.rad(-15))
  769. rlegm.C0 = rlc0 * CFrame.Angles(0,0,math.rad(15))
  770. lm.C0 = lsc0 * CFrame.new(0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(10))
  771. rm.C0 = rsc0 * CFrame.new(-0.5,0,0) * CFrame.Angles(math.rad(120),0,math.rad(-10))
  772. neck.C0 = neckc0 * CFrame.Angles(math.rad(-15),0,0)
  773. else
  774. countspeed = 0.70-- this judges how fast idle animation goes
  775. rlegm.C0 = rlc0 * CFrame.Angles(0, 0, 0) --right leg
  776. llegm.C0 = llc0 * CFrame.Angles(0, 0, -0) --left leg
  777. lm.C0 = lsc0 * CFrame.Angles(-angle*0.050, 0, 0) --left arm
  778. if Equipped == false then
  779. rm.C0 = rsc0 * CFrame.Angles(angle*0.050, 0, 0) --right arm
  780. else
  781. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  782. end
  783. neck.C0 = neckc0 * CFrame.Angles(-angle*0.025, 0, 0) --head
  784. rj.C0 = rootc0 * CFrame.Angles(-math.rad(1), 0, 0) --torso
  785. end
  786. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then-- walk
  787. countspeed = 8-- this judges how fast the walk animation goes
  788. rlegm.C0 = rlc0 * CFrame.Angles(-angle*0.100, 0, 0)
  789. llegm.C0 = llc0 * CFrame.Angles(angle*0.100, 0, 0)
  790. neck.C0 = neckc0 * CFrame.Angles(0, 0, 0)
  791. lm.C0 = lsc0 * CFrame.Angles(-angle*0.100, 0, 0)
  792. if Equipped == false then
  793. rm.C0 = rsc0 * CFrame.Angles(angle*0.100, 0, 0)
  794. else
  795. rm.C0 = rsc0 * CFrame.Angles(math.rad(90),0,0)
  796. end
  797. rj.C0 = rootc0 * CFrame.Angles(0, 0, 0)
  798. end
  799. end
  800. end)()
  801. humanoid.Died:connect(function()
  802. for cframe_parts = 0, 50 do
  803. local p = Instance.new("Part")
  804. p.FormFactor = "Custom"
  805. p.BrickColor = BrickColor.new(Colors[math.random(1, #Colors)])
  806. p.Size = Vector3.new(1, 1, 1)
  807. Instance.new("BlockMesh", p).Scale = Vector3.new(0.05, 0.05, 0.05)
  808. p.Locked = true
  809. p.CanCollide = false
  810. p.Anchored = true
  811. p.CFrame = torso.CFrame * CFrame.Angles(math.random(-50, 50),math.random(-50, 50),math.random(-50, 50))
  812. p.Parent = workspace
  813. local box = Instance.new("SelectionBox", p)
  814. box.Color = BrickColor.new(Colors[math.random(1, #Colors)])
  815. box.Adornee = p
  816. box.Transparency = 0.5
  817. box.Visible = true
  818. game:service'Debris':AddItem(p, 5)
  819. coroutine.wrap(function()
  820. while wait() do
  821. if p ~= nil then
  822. p.CFrame = p.CFrame * CFrame.new(0, 0.085, 0)
  823. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(0.005, 0, 0.005) + Vector3.new(0, 0.01, 0)
  824. p.Transparency = p.Transparency + 0.015
  825. else
  826. break
  827. end
  828. end
  829. end)()
  830. end
  831. for _,v in pairs(char:children()) do
  832. if v:IsA("Part") then
  833. v:Destroy()
  834. end
  835. end
  836.  
  837. end)
Add Comment
Please, Sign In to add comment