Advertisement
awzp

Divinity

May 25th, 2018
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.30 KB | None | 0 0
  1. name = "4vasion"
  2. player = game.Players:WaitForChild(name)
  3. chara = player.Character
  4. debby = game:GetService("Debris")
  5. chara.Humanoid.MaxHealth = math.huge
  6. chara.Humanoid.Health = math.huge
  7. chara.Humanoid.WalkSpeed = 50
  8. chara.Humanoid.JumpPower = 100
  9. if chara:FindFirstChild("Shirt") ~= nil then
  10. chara.Shirt:Destroy()
  11. end
  12. if chara:FindFirstChild("Pants") ~= nil then
  13. chara.Pants:Destroy()
  14. end
  15. if chara:FindFirstChild("ShirtGraphic") ~= nil then
  16. chara.ShirtGraphic:Destroy()
  17. end
  18. local ch = chara:GetChildren()
  19. for i = 1, #ch do
  20. if ch[i].ClassName == "Shirt" or ch[i].ClassName == "Pants" or ch[i].ClassName == "ShirtGraphic" or ch[i].ClassName == "Accessory" then
  21. ch[i]:Destroy()
  22. elseif ch[i].ClassName == "Part" then
  23. ch[i].BrickColor = BrickColor.new("Institutional white")
  24. if ch[i].Name == "Torso" then
  25. ch[i].roblox.Texture = ""
  26. elseif ch[i].Name == "Head" then
  27. ch[i].face.Texture = "http://www.roblox.com/asset/?id=679717479"
  28. ch[i].Transparency = 1
  29. end
  30. end
  31. end
  32. local shirt = Instance.new("Shirt", chara)
  33. shirt.Name = "Shirt"
  34. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=679629869"
  35. local pants = Instance.new("Pants", chara)
  36. pants.Name = "Pants"
  37. pants.PantsTemplate = "http://www.roblox.com/asset/?id=679630079"
  38. local p = Instance.new("Part", chara)
  39. p.Name = "Ears"
  40. p.BrickColor = BrickColor.new("Institutional white")
  41. p.Size = Vector3.new(0, 0, 0)
  42. p.BottomSurface = 0
  43. p.TopSurface = 0
  44. p.Position = chara.Head.Position
  45. local pweld = Instance.new("Weld", p)
  46. pweld.Part0 = chara.Head
  47. pweld.Part1 = p
  48. pweld.C0 = CFrame.new(0, 0.7, 0)
  49. pweld.C0 = pweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180))
  50. local earmesh = Instance.new("SpecialMesh", p)
  51. earmesh.MeshType = "FileMesh"
  52. earmesh.MeshId = "http://www.roblox.com/asset/?id=1374148"
  53. earmesh.Scale = Vector3.new(1.1, 1.5, 3)
  54. local hair = p:Clone()
  55. hair.Name = "Hair"
  56. hair.Parent = chara
  57. hair.Position = chara.Head.Position
  58. hair.Mesh.MeshId = "http://www.roblox.com/asset/?id=145283773"
  59. hair.Mesh.Scale = Vector3.new(0.7, 0.5, 0.7)
  60. hair.Mesh.Offset = Vector3.new(0, -0.2, 0)
  61. local hweld = Instance.new("Weld", hair)
  62. hweld.Part0 = chara.Head
  63. hweld.Part1 = hair
  64. hweld.C0 = CFrame.new(0, 0.7, 0)
  65. hweld.C0 = hweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(180), math.rad(180), math.rad(180))
  66. local fakehead = chara.Head:clone()
  67. fakehead.Name = "FakeHead"
  68. fakehead.Parent = chara
  69. fakehead.Position = chara.Head.Position
  70. fakehead.Transparency = 0
  71. fakehead.face.Texture = "http://www.roblox.com/asset/?id=679717621"
  72. local fakeweld = Instance.new("Weld", fakehead)
  73. fakeweld.Part0 = chara.Head
  74. fakeweld.Part1 = fakehead
  75. local tail = Instance.new("Part", chara)
  76. tail.Name = "Tail"
  77. tail.Size = Vector3.new(0, 0, 0)
  78. tail.Position = chara.Torso.Position
  79. tail.BrickColor = BrickColor.new("Institutional white")
  80. local tailmesh = Instance.new("SpecialMesh", tail)
  81. tailmesh.MeshType = "FileMesh"
  82. tailmesh.MeshId = "http://www.roblox.com/asset/?id=188635159"
  83. tailmesh.Scale = Vector3.new(1, 1, 2)
  84. local tailweld = Instance.new("Weld", tail)
  85. tailweld.Part0 = chara.Torso
  86. tailweld.Part1 = tail
  87. tailweld.C0 = CFrame.new(-1.1, -1.5, 0.7)
  88. tailweld.C0 = tailweld.C0 * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(180))
  89. local sholpad = Instance.new("Part", chara)
  90. sholpad.Name = "SholPads"
  91. sholpad.Size = Vector3.new(1, 0.4, 1)
  92. sholpad.Reflectance = 0.3
  93. sholpad.BottomSurface = 0
  94. sholpad.TopSurface = 0
  95. sholpad.BrickColor = BrickColor.new("Really red")
  96. sholpad.Position = chara.Torso.Position
  97. local padweld = Instance.new("Weld", sholpad)
  98. padweld.Part0 = chara.Torso
  99. padweld.Part1 = sholpad
  100. padweld.C0 = CFrame.new(0, 0.9, 0)
  101. local padmesh = Instance.new("SpecialMesh", sholpad)
  102. padmesh.MeshType = "FileMesh"
  103. padmesh.MeshId = "http://www.roblox.com/asset/?id=574448286"
  104. padmesh.Scale = Vector3.new(1, 0.4, 1)
  105. local cape = Instance.new("Part", chara)
  106. cape.Name = "Cape"
  107. cape.CanCollide = false
  108. cape.Size = Vector3.new(2, 4, 0.2)
  109. cape.Position = chara.Torso.Position
  110. cape.BrickColor = BrickColor.new("Institutional white")
  111. local capeweld = Instance.new("Weld", cape)
  112. capeweld.Part0 = chara.Torso
  113. capeweld.Part1 = cape
  114. capeweld.C0 = CFrame.new(0, -1.1, 0.8)
  115. capeweld.C0 = capeweld.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, 0)
  116. local hand1 = Instance.new("Part", chara)
  117. hand1.Name = "Hand1"
  118. hand1.Size = Vector3.new(0.8, 0.8, 0.8)
  119. hand1.Transparency = 1
  120. hand1.Position = chara["Left Arm"].Position
  121. local hand1weld = Instance.new("Weld", hand1)
  122. hand1weld.Part0 = chara["Left Arm"]
  123. hand1weld.Part1 = hand1
  124. hand1weld.C0 = CFrame.new(0, -1, 0)
  125. local hand2 = hand1:Clone()
  126. hand2.Name = "Hand2"
  127. hand2.Parent = chara
  128. hand2.Position = chara["Right Arm"].Position
  129. local hand2weld = Instance.new("Weld", hand2)
  130. hand2weld.Part0 = chara["Right Arm"]
  131. hand2weld.Part1 = hand2
  132. hand2weld.C0 = CFrame.new(0, -1, 0)
  133. local orbuu = Instance.new("Part", chara)
  134. orbuu.Size = Vector3.new(0, 0, 0)
  135. orbuu.Name = "DiamondPoint"
  136. orbuu.Anchored = true
  137. orbuu.CanCollide = false
  138. orbuu.Transparency = 1
  139. local orbuur = Instance.new("Part", chara)
  140. orbuur.Size = Vector3.new(1, 1, 1)
  141. orbuur.Name = "Diamond"
  142. orbuur.Position = chara.Head.Position
  143. orbuur.CanCollide = false
  144. orbuur.BrickColor = BrickColor.new("Institutional white")
  145. orbuur.Reflectance = 1
  146. local orbforce = Instance.new("BodyPosition", orbuur)
  147. orbforce.D = 1000
  148. local meshooo = Instance.new("SpecialMesh", orbuur)
  149. meshooo.MeshType = "FileMesh"
  150. meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
  151. local RotationSpeed = 5
  152. local BobSpeed = 2
  153. local RotationDist = Vector3.new(10, 0, 0)
  154. local dt = 0
  155. local currentTime = 0
  156. local laserpoint = orbuu:Clone()
  157. laserpoint.Parent = chara
  158. laserpoint.Position = chara.Torso.Position
  159. laserpoint.Name = "LaserPoint"
  160. laserpoint.Anchored = false
  161. local lsptweld = Instance.new("Weld", laserpoint)
  162. lsptweld.Part0 = chara.Torso
  163. lsptweld.Part1 = laserpoint
  164. lsptweld.C0 = CFrame.new(0, 6, 0)
  165. local summonsound = Instance.new("Sound", chara.Torso)
  166. summonsound.SoundId = "http://www.roblox.com/asset/?id=367850772"
  167. summonsound.Volume = 1
  168. local lassnd = Instance.new("Sound", orbuur)
  169. lassnd.SoundId = "http://www.roblox.com/asset/?id=228343271"
  170. lassnd.Volume = 1
  171. local blastsnd = Instance.new("Sound", chara.Torso)
  172. blastsnd.SoundId = "http://www.roblox.com/asset/?id=200633327"
  173. blastsnd.Volume = 1
  174. local metsnd = Instance.new("Sound", chara.Torso)
  175. metsnd.SoundId = "http://www.roblox.com/asset/?id=367850840"
  176. metsnd.Volume = 1
  177. local swdsnd = Instance.new("Sound", chara.Torso)
  178. swdsnd.SoundId = "http://www.roblox.com/asset/?id=231917758"
  179. swdsnd.Volume = 1
  180. local swd2snd = Instance.new("Sound", chara.Torso)
  181. swd2snd.SoundId = "http://www.roblox.com/asset/?id=154965962"
  182. swd2snd.Volume = 1
  183. local hitsnd = Instance.new("Sound", chara.Torso)
  184. hitsnd.SoundId = "http://www.roblox.com/asset/?id=154965973"
  185. hitsnd.Volume = 1
  186. local eckssnd = Instance.new("Sound", chara.Torso)
  187. eckssnd.SoundId = "http://www.roblox.com/asset/?id=258057783"
  188. eckssnd.Volume = 1
  189. local music1 = Instance.new("Sound", chara.Torso)
  190. music1.SoundId = "http://www.roblox.com/asset/?id=547275939"
  191. music1.Volume = 1
  192. music1.Looped = true
  193. music1:Play()
  194. color3colour = {
  195. BrickColor.new("Really red").Color,
  196. BrickColor.new("Neon orange").Color,
  197. BrickColor.new("New yeller").Color,
  198. BrickColor.new("Lime green").Color,
  199. BrickColor.new("Really blue").Color,
  200. BrickColor.new("Alder").Color
  201. }
  202. breekcolour = {
  203. BrickColor.new("Really red"),
  204. BrickColor.new("Neon orange"),
  205. BrickColor.new("New yeller"),
  206. BrickColor.new("Lime green"),
  207. BrickColor.new("Really blue"),
  208. BrickColor.new("Alder")
  209. }
  210. firecolour = {
  211. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  212. ColorSequenceKeypoint.new(0.05, BrickColor.new("Neon orange").Color),
  213. ColorSequenceKeypoint.new(0.1, BrickColor.new("New yeller").Color),
  214. ColorSequenceKeypoint.new(0.15, BrickColor.new("Lime green").Color),
  215. ColorSequenceKeypoint.new(0.2, BrickColor.new("Really blue").Color),
  216. ColorSequenceKeypoint.new(0.25, BrickColor.new("Alder").Color),
  217. ColorSequenceKeypoint.new(1, BrickColor.new("Alder").Color)
  218. }
  219. barcolour = {
  220. ColorSequenceKeypoint.new(0, BrickColor.new("Really red").Color),
  221. ColorSequenceKeypoint.new(0.2, BrickColor.new("Neon orange").Color),
  222. ColorSequenceKeypoint.new(0.4, BrickColor.new("New yeller").Color),
  223. ColorSequenceKeypoint.new(0.6, BrickColor.new("Lime green").Color),
  224. ColorSequenceKeypoint.new(0.8, BrickColor.new("Really blue").Color),
  225. ColorSequenceKeypoint.new(1, BrickColor.new("Alder").Color)
  226. }
  227. normallife = {
  228. NumberSequenceKeypoint.new(0, 0),
  229. NumberSequenceKeypoint.new(1, 1)
  230. }
  231. extendlife = {
  232. NumberSequenceKeypoint.new(0, 0),
  233. NumberSequenceKeypoint.new(0.8, 0),
  234. NumberSequenceKeypoint.new(1, 1)
  235. }
  236. function createrainbow(color, part, texture, size, trans, life, face, speed, accel, velsp, lock, name)
  237. local fira = Instance.new("ParticleEmitter", part)
  238. fira.Name = name
  239. fira.Color = ColorSequence.new(color)
  240. fira.Size = size
  241. fira.Texture = texture
  242. fira.Transparency = trans
  243. fira.Lifetime = life
  244. fira.EmissionDirection = face
  245. fira.Rate = 100000000
  246. fira.RotSpeed = NumberRange.new(100)
  247. fira.Speed = speed
  248. fira.VelocitySpread = velsp
  249. fira.Acceleration = accel
  250. fira.LightEmission = 1
  251. fira.LockedToPart = lock
  252. end
  253. handfire1 = createrainbow(firecolour, hand1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  254. NumberSequenceKeypoint.new(0, 0.4),
  255. NumberSequenceKeypoint.new(1, 0)
  256. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  257. handfire2 = createrainbow(firecolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  258. NumberSequenceKeypoint.new(0, 0.4),
  259. NumberSequenceKeypoint.new(1, 0)
  260. }), NumberSequence.new(extendlife), NumberRange.new(1), "Right", NumberRange.new(1), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  261. createrainbow(barcolour, orbuur, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  262. NumberSequenceKeypoint.new(0, 1),
  263. NumberSequenceKeypoint.new(0.8, 1),
  264. NumberSequenceKeypoint.new(1, 0)
  265. }), NumberSequence.new(extendlife), NumberRange.new(1), "Front", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "OrbEffect")
  266. local spelleffect = Instance.new("ParticleEmitter", chara.Torso)
  267. spelleffect.Texture = "http://www.roblox.com/asset/?id=679657454"
  268. spelleffect.Speed = NumberRange.new(0)
  269. spelleffect.LightEmission = 1
  270. spelleffect.Transparency = NumberSequence.new(normallife)
  271. spelleffect.Size = NumberSequence.new({
  272. NumberSequenceKeypoint.new(0, 0),
  273. NumberSequenceKeypoint.new(1, 10)
  274. })
  275. spelleffect.Rate = 0.001
  276. spelleffect.Rotation = NumberRange.new(0, 359)
  277. spelleffect.RotSpeed = NumberRange.new(100)
  278. spelleffect.Lifetime = NumberRange.new(1)
  279. createrainbow(barcolour, hand2, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  280. NumberSequenceKeypoint.new(0, 1),
  281. NumberSequenceKeypoint.new(1, 0)
  282. }), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(10), Vector3.new(0, 0, 0), 1000, true, "PowerEffect")
  283. powereffect = hand2.PowerEffect
  284. powereffect.Enabled = false
  285. local naeeym = Instance.new("BillboardGui", chara)
  286. naeeym.Size = UDim2.new(0, 100, 0, 40)
  287. naeeym.StudsOffset = Vector3.new(0, 2, 0)
  288. naeeym.Adornee = chara.Head
  289. local tecks = Instance.new("TextLabel", naeeym)
  290. tecks.BackgroundTransparency = 1
  291. tecks.BorderSizePixel = 0
  292. tecks.Text = "The Feluxinian of Absolute Divinity"
  293. tecks.Font = "Fantasy"
  294. tecks.FontSize = "Size24"
  295. tecks.TextStrokeTransparency = 0
  296. tecks.TextColor3 = Color3.new(1, 1, 1)
  297. tecks.TextStrokeColor3 = BrickColor.new("Really red").Color
  298. tecks.Size = UDim2.new(1, 0, 0.5, 0)
  299. Void = nil
  300. VoidParts = {}
  301. Equipped = false
  302. Counter = 1
  303. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  304. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  305. end
  306. Player = player
  307. Character = chara
  308. Humanoid = Character:FindFirstChild("Humanoid")
  309. Torso = Character:FindFirstChild("Torso")
  310. if not Player or not Humanoid or Humanoid.Health == 0 or not chara.Torso then
  311. return
  312. end
  313. Equipped = true
  314. Void = Instance.new("Model")
  315. Void.Name = "Void"
  316. Angle = 0
  317. for i = 1, 1 do
  318. local VoidPart = Instance.new("Part")
  319. VoidPart.Name = "VoidPart"
  320. VoidPart.Transparency = 1
  321. VoidPart.BrickColor = BrickColor.new("Really black")
  322. VoidPart.Material = Enum.Material.Plastic
  323. VoidPart.Shape = Enum.PartType.Block
  324. VoidPart.FormFactor = Enum.FormFactor.Custom
  325. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  326. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  327. VoidPart.Anchored = true
  328. VoidPart.CanCollide = false
  329. VoidPart.Locked = true
  330. VoidPart.Size = Vector3.new(10, 0.2, 10)
  331. fiyer = createrainbow(firecolour, VoidPart, "http://www.roblox.com/asset/?id=224413104", NumberSequence.new({
  332. NumberSequenceKeypoint.new(0, 0.4),
  333. NumberSequenceKeypoint.new(1, 0)
  334. }), NumberSequence.new({
  335. NumberSequenceKeypoint.new(0, 0),
  336. NumberSequenceKeypoint.new(0.99, 0),
  337. NumberSequenceKeypoint.new(1, 1)
  338. }), NumberRange.new(10), "Top", NumberRange.new(2), Vector3.new(0, 2, 0), 0, false, "FireEffect")
  339. VoidPart.FireEffect.Rate = 10
  340. local BlockMesh = Instance.new("BlockMesh")
  341. BlockMesh.Scale = Vector3.new(1.5, 1, 1.5)
  342. BlockMesh.Parent = VoidPart
  343. VoidPart.Parent = Void
  344. local Star = Instance.new("Decal", VoidPart)
  345. Star.Texture = "http://www.roblox.com/asset/?id=685910499"
  346. Star.Face = "Top"
  347. local Light = Instance.new("PointLight", VoidPart)
  348. Light.Color = Color3.new(1, 1, 1)
  349. Light.Brightness = 100
  350. Light.Range = 10
  351. table.insert(VoidParts, VoidPart)
  352. end
  353. Spawn(function()
  354. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and chara do
  355. if Angle == 360 then
  356. Angle = 0
  357. end
  358. Angle = Angle + 0.05
  359. chara.Humanoid.MaxHealth = math.huge
  360. chara.Humanoid.Health = math.huge
  361. Counter = Counter + 1
  362. if Counter == 7 then
  363. Counter = 1
  364. end
  365. tecks.TextStrokeColor3 = color3colour[Counter]
  366. fakehead.face.Color3 = color3colour[Counter]
  367. Void.VoidPart.Decal.Color3 = color3colour[Counter]
  368. Void.VoidPart.PointLight.Color = color3colour[Counter]
  369. sholpad.BrickColor = breekcolour[Counter]
  370. local parentPos = chara.Torso.CFrame
  371. local rotation = CFrame.Angles(0, RotationSpeed * currentTime, 0)
  372. local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0)
  373. orbuu.CFrame = parentPos + bob + rotation * RotationDist
  374. dt, currentTime = wait(0.025)
  375. if activebeam == true then
  376. orbforce.Position = laserpoint.Position
  377. else
  378. orbforce.Position = orbuu.Position
  379. end
  380. local Hit, EndPosition = RayCast(chara.Torso.Position, Vector3.new(0, -1, 0), chara.Torso.Size.Y * 6.5, {Character})
  381. if Hit then
  382. if not Void.Parent then
  383. Void.Parent = Character
  384. end
  385. for i, v in pairs(VoidParts) do
  386. v.CFrame = CFrame.new(chara.Torso.Position.X, EndPosition.Y, chara.Torso.Position.Z) * CFrame.Angles(0, Angle + i, 0)
  387. end
  388. else
  389. Void.Parent = nil
  390. end
  391. wait()
  392. end
  393. end)
  394. function chat(string)
  395. if chara:FindFirstChild("TalkingBillBoard") ~= nil then
  396. chara:FindFirstChild("TalkingBillBoard"):destroy()
  397. end
  398. local naeeym2 = Instance.new("BillboardGui", chara)
  399. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  400. naeeym2.StudsOffset = Vector3.new(0, 4, 0)
  401. naeeym2.Adornee = chara.Head
  402. naeeym2.Name = "TalkingBillBoard"
  403. local tecks2 = Instance.new("TextLabel", naeeym2)
  404. tecks2.BackgroundTransparency = 1
  405. tecks2.BorderSizePixel = 0
  406. tecks2.Text = string
  407. tecks2.Font = "Fantasy"
  408. tecks2.FontSize = "Size24"
  409. tecks2.TextStrokeTransparency = 0
  410. tecks2.TextColor3 = Color3.new(1, 1, 1)
  411. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  412. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  413. debby:AddItem(naeeym2, 1)
  414. end
  415. local tool = Instance.new("Tool", player.Backpack)
  416. tool.Name = "Holy Energy"
  417. tool.RequiresHandle = false
  418. tool.CanBeDropped = false
  419. music = true
  420. activebeam = false
  421. activegrab = false
  422. didgrab = false
  423. local blasta = Instance.new("Animation", tool)
  424. blasta.AnimationId = "http://www.roblox.com/asset/?id=86504773"
  425. local blastanim = chara.Humanoid:LoadAnimation(blasta)
  426. local summona = Instance.new("Animation", tool)
  427. summona.AnimationId = "http://www.roblox.com/asset/?id=83994319"
  428. local summonanim = chara.Humanoid:LoadAnimation(summona)
  429. local spina = Instance.new("Animation", tool)
  430. spina.AnimationId = "http://www.roblox.com/asset/?id=235542946"
  431. local spinanim = chara.Humanoid:LoadAnimation(spina)
  432. function dealdmg(dude, dmg, spread)
  433. local finaldmg = dmg + math.random(-spread, spread)
  434. dude.Humanoid.Health = dude.Humanoid.Health - finaldmg
  435. if chara:FindFirstChild("TalkingBillBoard") ~= nil then
  436. chara:FindFirstChild("TalkingBillBoard"):destroy()
  437. end
  438. local naeeym2 = Instance.new("BillboardGui", dude)
  439. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  440. naeeym2.StudsOffset = Vector3.new(0, math.random(1, 5), 0)
  441. naeeym2.Adornee = dude.Head
  442. naeeym2.Name = "TalkingBillBoard"
  443. local tecks2 = Instance.new("TextLabel", naeeym2)
  444. tecks2.Position = UDim2.new(0, math.random(-50, 50), 0, math.random(-50, 50))
  445. tecks2.BackgroundTransparency = 1
  446. tecks2.BorderSizePixel = 0
  447. tecks2.Text = "-" .. finaldmg
  448. tecks2.Font = "Fantasy"
  449. tecks2.FontSize = "Size12"
  450. tecks2.TextStrokeTransparency = 0
  451. tecks2.TextColor3 = Color3.new(1, 1, 1)
  452. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  453. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  454. debby:AddItem(naeeym2, 1)
  455. end
  456. local LIGHTNING_STRIKE_DURATION = 3
  457. local LIGHTNING_STRIKE_COOLDOWN = 0
  458. local LIGHTNING_STRIKE_HEIGHT = 500
  459. local LIGHTNING_STRIKE_LAST_TIME = 0.2
  460. local LIGHTNING_TICK_DAMAGE = 30
  461. function WaitForChild(parent, child)
  462. while not parent:FindFirstChild(child) do
  463. parent.ChildAdded:wait()
  464. end
  465. return parent[child]
  466. end
  467. local Tool2 = tool
  468. local Character2, Humanoid2, Mouse, KeyDownConn, KeyUpConn
  469. local enabled = false
  470. Tool2.Enabled = true
  471. function checkLightningHit(newLightning, lightningStart, lightningEnd, EffectPart)
  472. newLightning.Transparency = 0
  473. newLightning.BrickColor = breekcolour[math.random(1, #breekcolour)]
  474. newLightning.Material = Enum.Material.Neon
  475. local newLightningSound = Instance.new("Sound", game.Workspace)
  476. newLightningSound.SoundId = "http://www.roblox.com/asset/?id=224339201"
  477. newLightningSound.Pitch = 1 + math.rad(-0.1, 0.1)
  478. newLightningSound.Volume = 1
  479. newLightningSound.PlayOnRemove = true
  480. newLightningSound:Destroy()
  481. local hitParts = workspace:FindPartsInRegion3(Region3.new(lightningEnd - Vector3.new(2, 0, 2), lightningStart + Vector3.new(2, 0, 2)))
  482. local hitHums = {}
  483. for _, hitPart in pairs(hitParts) do
  484. if hitPart then
  485. local char = hitPart.Parent
  486. if char and char.Parent then
  487. if not char:FindFirstChild("Humanoid") then
  488. char = char.Parent
  489. end
  490. local hum = char:FindFirstChild("Humanoid")
  491. if hum and not hitHums[hum] then
  492. if 0 < hum.Health then
  493. end
  494. hitHums[hum] = true
  495. dealdmg(char, 30, 5)
  496. end
  497. end
  498. end
  499. end
  500. wait(0.1)
  501. EffectPart.PowerEffect.Enabled = false
  502. newLightning.Transparency = 0.25
  503. newLightning.BrickColor = breekcolour[math.random(1, #breekcolour)]
  504. wait(0.1)
  505. newLightning.Transparency = 0.5
  506. newLightning.BrickColor = breekcolour[math.random(1, #breekcolour)]
  507. newLightning.Mesh.Scale = newLightning.Mesh.Scale - Vector3.new(1, 0, 1)
  508. wait(0.1)
  509. newLightning.Transparency = 0.75
  510. newLightning.BrickColor = breekcolour[math.random(1, #breekcolour)]
  511. newLightning.Mesh.Scale = newLightning.Mesh.Scale - Vector3.new(1, 0, 1)
  512. wait(0.1)
  513. newLightning:Remove()
  514. newLightningSound:destroy()
  515. end
  516. function MakeLightningAt(targetPoint)
  517. print("make lightning at")
  518. local lightningStart = targetPoint + Vector3.new(0, LIGHTNING_STRIKE_HEIGHT, 0)
  519. local lightningRay = Ray.new(lightningStart, Vector3.new(0, -LIGHTNING_STRIKE_HEIGHT - 50, 0))
  520. local lightningHitPart, lightningEnd = workspace:FindPartOnRay(lightningRay)
  521. local ignoreTable = {}
  522. while lightningHitPart and lightningHitPart.Parent and lightningHitPart.Parent:FindFirstChild("Humanoid") or lightningHitPart and lightningHitPart.Parent and lightningHitPart.Parent.Parent and lightningHitPart.Parent.Parent:FindFirstChild("Humanoid") do
  523. table.insert(ignoreTable, lightningHitPart)
  524. lightningHitPart, lightningEnd = workspace:FindPartOnRayWithIgnoreList(lightningRay, ignoreTable)
  525. end
  526. if lightningHitPart then
  527. print("actually making some lightning")
  528. do
  529. local EffectPart = Instance.new("Part", game.Workspace)
  530. EffectPart.Size = Vector3.new(1, 1, 1)
  531. EffectPart.Anchored = true
  532. EffectPart.Transparency = 1
  533. EffectPart.Position = targetPoint
  534. debby:AddItem(EffectPart, 3)
  535. createrainbow(barcolour, EffectPart, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new(5), NumberSequence.new(normallife), NumberRange.new(1), "Front", NumberRange.new(50), Vector3.new(0, 0, 0), 1000, false, "PowerEffect")
  536. local newLightning = Instance.new("Part")
  537. newLightning.Size = Vector3.new(1, 1, 1)
  538. newLightning.Transparency = 0.8
  539. newLightning.Anchored = false
  540. newLightning.BrickColor = BrickColor.new("Really red")
  541. local newCylinderMesh = Instance.new("BlockMesh")
  542. newCylinderMesh.Scale = Vector3.new(3, lightningStart.Y - lightningEnd.Y, 3)
  543. newCylinderMesh.Parent = newLightning
  544. local newLightningFloatForce = Instance.new("BodyForce")
  545. newLightningFloatForce.force = Vector3.new(0, newLightning:GetMass() * 196.2, 0)
  546. newLightningFloatForce.Parent = newLightning
  547. local newBAV = Instance.new("BodyAngularVelocity")
  548. newBAV.angularvelocity = Vector3.new(0, 10, 0)
  549. newBAV.P = 1000
  550. newBAV.maxTorque = Vector3.new(0, newBAV.P, 0)
  551. newBAV.Parent = newLightning
  552. newLightning.CanCollide = false
  553. newLightning.CFrame = CFrame.new((lightningStart + lightningEnd) / 2)
  554. newLightning.Parent = workspace
  555. delay(LIGHTNING_STRIKE_LAST_TIME, function()
  556. checkLightningHit(newLightning, lightningStart, lightningEnd, EffectPart)
  557. end)
  558. return true
  559. end
  560. else
  561. return false
  562. end
  563. end
  564. local lightningStrikeCoroutine
  565. local lightningButtonDown = false
  566. function LightningStrike()
  567. print("lightningStrike")
  568. local startTime = tick()
  569. while tick() - startTime < LIGHTNING_STRIKE_DURATION do
  570. if Mouse and lightningButtonDown then
  571. local mouseHit = Mouse.Hit
  572. if mouseHit and MakeLightningAt(mouseHit.p) then
  573. wait(0.05)
  574. end
  575. end
  576. wait()
  577. end
  578. wait(LIGHTNING_STRIKE_COOLDOWN)
  579. Tool2.Enabled = true
  580. powereffect.Enabled = false
  581. summonanim:Stop()
  582. lightningStrikeCoroutine = nil
  583. end
  584. Tool3 = tool
  585. Me = chara
  586. SHOOTOH = true
  587. on = true
  588. mode = true
  589. local force = Instance.new("BodyPosition")
  590. force.Parent = nil
  591. local P2 = Instance.new("Part")
  592. P2.formFactor = 0
  593. P2.Parent = nil
  594. P2.BrickColor = BrickColor.new("White")
  595. P2.Anchored = true
  596. P2.CanCollide = false
  597. P2.TopSurface = "Smooth"
  598. P2.BottomSurface = "Smooth"
  599. P2.Name = "Laser"
  600. function explodtouch(hit)
  601. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  602. dealdmg(hit.Parent, 5, 3)
  603. end
  604. end
  605. function Click(mouse)
  606. if SHOOTOH == true then
  607. SHOOTOH = false
  608. local EffectPart = Instance.new("Part", game.Workspace)
  609. EffectPart.Size = Vector3.new(1, 1, 1)
  610. EffectPart.Anchored = true
  611. EffectPart.Transparency = 1
  612. createrainbow(barcolour, EffectPart, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new(5), NumberSequence.new(normallife), NumberRange.new(0.5), "Front", NumberRange.new(50), Vector3.new(0, 0, 0), 1000, false, "PowerEffect")
  613. lassnd:Play()
  614. for i = 1, 30 do
  615. local P = Instance.new("Part")
  616. local Place0 = CFrame.new(orbuur.CFrame.x, orbuur.CFrame.y, orbuur.CFrame.z)
  617. local Place1 = Mouse.Hit.p
  618. EffectPart.Position = Place1
  619. local meshla = Instance.new("BlockMesh", P)
  620. meshla.Scale = Vector3.new(1, 1, 1)
  621. P.formFactor = 0
  622. P.Size = Vector3.new(1, 1, Place0.p - Place1.magnitude)
  623. P.Name = "Laser"
  624. P.CFrame = CFrame.new((Place0.p + Place1) / 2, Place0.p)
  625. P.Parent = game.Workspace
  626. P.BrickColor = BrickColor.new("Institutional white")
  627. P.Material = "Neon"
  628. P.Anchored = true
  629. P.CanCollide = false
  630. P.Locked = true
  631. P.BottomSurface = "Smooth"
  632. P.TopSurface = "Smooth"
  633. local E = Instance.new("Explosion")
  634. E.Position = Place1
  635. E.Parent = game.Workspace
  636. E.BlastPressure = 0
  637. E.Visible = false
  638. E.Hit:connect(explodtouch)
  639. wait(0.01)
  640. P:remove()
  641. end
  642. EffectPart.PowerEffect.Enabled = false
  643. wait(1)
  644. SHOOTOH = true
  645. EffectPart:Destroy()
  646. local cheeld = script:GetChildren()
  647. tool.Enabled = true
  648. summonanim:Stop()
  649. powereffect.Enabled = false
  650. activebeam = false
  651. end
  652. end
  653. function fire(v)
  654. local vCharacter = chara
  655. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  656. local missile = Instance.new("Part", game.Workspace)
  657. local spawnPos = orbuur.Position
  658. missile.Position = spawnPos
  659. missile.Material = "Neon"
  660. missile.Size = Vector3.new(1, 1, 1)
  661. missile.Velocity = v * 100
  662. missile.BrickColor = BrickColor.new("Institutional white")
  663. missile.Shape = 1
  664. missile.Name = "Blast"
  665. createrainbow(firecolour, missile, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  666. NumberSequenceKeypoint.new(0, 0.4),
  667. NumberSequenceKeypoint.new(1, 0)
  668. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  669. local mesh1 = Instance.new("SpecialMesh", missile)
  670. mesh1.MeshType = "Sphere"
  671. local force = Instance.new("BodyForce")
  672. force.force = Vector3.new(0, missile:GetMass() * 196.2, 0)
  673. force.Parent = missile
  674. missile.Touched:connect(function(hit)
  675. if hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false then
  676. missile.Anchored = true
  677. missile.CanCollide = false
  678. missile.FireEffect:Destroy()
  679. local E = Instance.new("Explosion")
  680. E.Position = missile.Position
  681. E.Parent = game.Workspace
  682. E.BlastPressure = 0
  683. E.Visible = false
  684. E.Hit:connect(explodtouch)
  685. wait(0.1)
  686. missile.Transparency = 0.25
  687. missile.Mesh.Scale = Vector3.new(1.5, 1.5, 1.5)
  688. wait(0.1)
  689. missile.Transparency = 0.5
  690. missile.Mesh.Scale = Vector3.new(2, 2, 2)
  691. wait(0.1)
  692. missile.Transparency = 0.75
  693. missile.Mesh.Scale = Vector3.new(2.5, 2.5, 2.5)
  694. wait(0.1)
  695. missile:Destroy()
  696. end
  697. end)
  698. debby:AddItem(missile, 10)
  699. end
  700. function meteorfire(v)
  701. local vCharacter = chara
  702. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  703. local missile = Instance.new("Part", game.Workspace)
  704. local spawnPos = chara.Head.Position + Vector3.new(0, 100, 0)
  705. missile.Position = spawnPos
  706. missile.Material = "Neon"
  707. missile.Size = Vector3.new(5, 5, 5)
  708. missile.Velocity = v * 100
  709. missile.BrickColor = BrickColor.new("Institutional white")
  710. missile.Shape = 1
  711. missile.Name = "Blast"
  712. createrainbow(firecolour, missile, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  713. NumberSequenceKeypoint.new(0, 10),
  714. NumberSequenceKeypoint.new(1, 0)
  715. }), NumberSequence.new(extendlife), NumberRange.new(5), "Left", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  716. createrainbow(firecolour, missile, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new(10), NumberSequence.new(normallife), NumberRange.new(5), "Front", NumberRange.new(30), Vector3.new(0, 0, 0), 1000, false, "PowerEffect")
  717. missile.PowerEffect.Enabled = false
  718. local mesh1 = Instance.new("SpecialMesh", missile)
  719. mesh1.MeshType = "Sphere"
  720. mesh1.Scale = Vector3.new(2, 2, 2)
  721. local force = Instance.new("BodyForce")
  722. force.force = Vector3.new(0, missile:GetMass() * 196.2, 0)
  723. force.Parent = missile
  724. missile.Touched:connect(function(hit)
  725. if hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false then
  726. missile.Anchored = true
  727. missile.CanCollide = false
  728. missile.FireEffect:Destroy()
  729. missile.PowerEffect.Enabled = true
  730. local exsnd = Instance.new("Sound", missile)
  731. exsnd.SoundId = "http://www.roblox.com/asset/?id=142070127"
  732. exsnd.Volume = 1
  733. exsnd.PlayOnRemove = true
  734. exsnd:Destroy()
  735. local E = Instance.new("Explosion")
  736. E.Position = missile.Position
  737. E.Parent = game.Workspace
  738. E.BlastPressure = 0
  739. E.BlastRadius = 15
  740. E.Visible = false
  741. E.Hit:connect(explodtouch2)
  742. wait(0.1)
  743. missile.Transparency = 0.25
  744. missile.Mesh.Scale = Vector3.new(2.5, 2.5, 2.5)
  745. wait(0.1)
  746. missile.Transparency = 0.5
  747. missile.Mesh.Scale = Vector3.new(3, 3, 3)
  748. wait(0.1)
  749. missile.Transparency = 0.75
  750. missile.Mesh.Scale = Vector3.new(3.5, 3.5, 3.5)
  751. wait(0.1)
  752. missile.PowerEffect.Enabled = false
  753. missile.Transparency = 1
  754. wait(6)
  755. missile:Destroy()
  756. end
  757. end)
  758. debby:AddItem(missile, 10)
  759. end
  760. function meteor2fire(v)
  761. local vCharacter = chara
  762. local vPlayer = game.Players:playerFromCharacter(vCharacter)
  763. local missile = Instance.new("Part", game.Workspace)
  764. local spawnPos = chara.Head.Position + Vector3.new(0, 100, 0)
  765. missile.Position = spawnPos
  766. missile.Material = "Neon"
  767. missile.Size = Vector3.new(10, 10, 10)
  768. missile.Velocity = v * 50
  769. missile.BrickColor = BrickColor.new("Institutional white")
  770. missile.Shape = 1
  771. missile.Name = "Blast"
  772. createrainbow(firecolour, missile, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  773. NumberSequenceKeypoint.new(0, 15),
  774. NumberSequenceKeypoint.new(1, 0)
  775. }), NumberSequence.new(extendlife), NumberRange.new(5), "Left", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  776. createrainbow(firecolour, missile, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new(15), NumberSequence.new(normallife), NumberRange.new(5), "Front", NumberRange.new(50), Vector3.new(0, 0, 0), 1000, false, "PowerEffect")
  777. missile.PowerEffect.Enabled = false
  778. local mesh1 = Instance.new("SpecialMesh", missile)
  779. mesh1.MeshType = "Sphere"
  780. mesh1.Scale = Vector3.new(2, 2, 2)
  781. local force = Instance.new("BodyForce")
  782. force.force = Vector3.new(0, missile:GetMass() * 196.2, 0)
  783. force.Parent = missile
  784. missile.Touched:connect(function(hit)
  785. if hit ~= orbuur and hit ~= orbuu and hit ~= laserpoint and hit.Name ~= "Blast" and missile.Anchored == false then
  786. missile.Anchored = true
  787. missile.CanCollide = false
  788. missile.FireEffect:Destroy()
  789. missile.PowerEffect.Enabled = true
  790. local exsnd = Instance.new("Sound", missile)
  791. exsnd.SoundId = "http://www.roblox.com/asset/?id=142070127"
  792. exsnd.Volume = 1
  793. exsnd.Pitch = 0.5
  794. exsnd.PlayOnRemove = true
  795. exsnd:Destroy()
  796. local E = Instance.new("Explosion")
  797. E.Position = missile.Position
  798. E.Parent = game.Workspace
  799. E.BlastPressure = 0
  800. E.BlastRadius = 30
  801. E.Visible = false
  802. E.Hit:connect(explodtouch3)
  803. wait(0.1)
  804. missile.Transparency = 0.25
  805. missile.Mesh.Scale = Vector3.new(2.5, 2.5, 2.5)
  806. wait(0.1)
  807. missile.Transparency = 0.5
  808. missile.Mesh.Scale = Vector3.new(3, 3, 3)
  809. wait(0.1)
  810. missile.Transparency = 0.75
  811. missile.Mesh.Scale = Vector3.new(3.5, 3.5, 3.5)
  812. wait(0.1)
  813. missile.PowerEffect.Enabled = false
  814. missile.Transparency = 1
  815. wait(6)
  816. missile:Destroy()
  817. end
  818. end)
  819. debby:AddItem(missile, 20)
  820. end
  821. function explodtouch2(hit)
  822. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  823. dealdmg(hit.Parent, 10, 5)
  824. end
  825. end
  826. function explodtouch3(hit)
  827. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  828. dealdmg(hit.Parent, 20, 5)
  829. end
  830. end
  831. function swordsummon()
  832. spinanim:Play()
  833. local sword1 = Instance.new("Part", chara)
  834. sword1.Size = Vector3.new(1, 10, 1)
  835. sword1.BottomSurface = 0
  836. sword1.TopSurface = 1
  837. sword1.BrickColor = BrickColor.new("Institutional white")
  838. sword1.Reflectance = 1
  839. sword1.CanCollide = false
  840. sword1.Position = chara["Left Arm"].Position
  841. local swordmesh = Instance.new("SpecialMesh", sword1)
  842. swordmesh.MeshId = "http://www.roblox.com/asset/?id=181327453"
  843. swordmesh.Offset = Vector3.new(0, -1, 0)
  844. swordmesh.Scale = Vector3.new(3, 3, 3)
  845. createrainbow(firecolour, sword1, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  846. NumberSequenceKeypoint.new(0, 0.4),
  847. NumberSequenceKeypoint.new(1, 0)
  848. }), NumberSequence.new(extendlife), NumberRange.new(1), "Left", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  849. local sword2 = sword1:Clone()
  850. sword2.Parent = chara
  851. sword2.Position = chara["Right Arm"].Position
  852. local sw1weld = Instance.new("Weld", sword1)
  853. sw1weld.Part0 = chara["Left Arm"]
  854. sw1weld.Part1 = sword1
  855. sw1weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-180), 0, 0)
  856. sw1weld.C0 = CFrame.new(0, 10, 0)
  857. local sw2weld = Instance.new("Weld", sword2)
  858. sw2weld.Part0 = chara["Right Arm"]
  859. sw2weld.Part1 = sword2
  860. sw2weld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-180), 0, 0)
  861. sw2weld.C0 = CFrame.new(0, 10, 0)
  862. sword1.Touched:connect(swordTouched)
  863. sword2.Touched:connect(swordTouched)
  864. for i = 1, 20 do
  865. wait(0.5)
  866. swdsnd:Play()
  867. swd2snd:Play()
  868. end
  869. sword1.FireEffect.Enabled = false
  870. sword2.FireEffect.Enabled = false
  871. wait(1)
  872. sword1.FireEffect:Destroy()
  873. sword2.FireEffect:Destroy()
  874. wait(0.5)
  875. sword1.Transparency = 0.5
  876. sword2.Transparency = 0.5
  877. wait(0.1)
  878. sword1:Destroy()
  879. sword2:Destroy()
  880. spinanim:Stop()
  881. tool.Enabled = true
  882. end
  883. function swordTouched(hit)
  884. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  885. dealdmg(hit.Parent, 10, 5)
  886. hitsnd:Play()
  887. end
  888. end
  889. function grabTouch(hit)
  890. if activegrab == true and didgrab == false and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent ~= chara then
  891. local standstillf
  892. activegrab = false
  893. didgrab = true
  894. powereffect.Enabled = false
  895. summonanim:Stop()
  896. local hitdude = hit.Parent
  897. hitdude.Humanoid.Health = 100
  898. hitdude.Humanoid.MaxHealth = 100
  899. hitdude.Humanoid.PlatformStand = true
  900. hitdude.Humanoid.WalkSpeed = 0
  901. chara.Humanoid.WalkSpeed = 0
  902. if hitdude:FindFirstChild("Torso") ~= nil then
  903. hitdude.Torso.CFrame = chara.Torso.CFrame + chara.Torso.CFrame.lookVector * 5
  904. local standstill = Instance.new("BodyPosition", hitdude.Torso)
  905. standstill.Position = hitdude.Torso.Position
  906. standstillf = standstill
  907. end
  908. local spellcirclepart = Instance.new("Part", chara)
  909. spellcirclepart.Size = Vector3.new(1, 1, 1)
  910. spellcirclepart.Anchored = true
  911. spellcirclepart.Transparency = 1
  912. spellcirclepart.CFrame = chara.Torso.CFrame + chara.Torso.CFrame.lookVector * 5 - Vector3.new(0, 2.5, 0)
  913. local spreadpart = Instance.new("Part", chara)
  914. spreadpart.Size = Vector3.new(1, 1, 1)
  915. spreadpart.Anchored = true
  916. spreadpart.Transparency = 1
  917. spreadpart.CFrame = spellcirclepart.CFrame + Vector3.new(0, 100, 0)
  918. local scmesh = Instance.new("BlockMesh", spellcirclepart)
  919. scmesh.Scale = Vector3.new(1, 1.1, 1)
  920. local scdec = Instance.new("Decal", spellcirclepart)
  921. scdec.Texture = "http://www.roblox.com/asset/?id=685910499"
  922. scdec.Face = "Top"
  923. scdec.Transparency = 1
  924. local lite = Instance.new("PointLight", spellcirclepart)
  925. lite.Enabled = false
  926. lite.Brightness = 100
  927. chat("You are not going away...")
  928. wait(1)
  929. chara.Torso.CFrame = chara.Torso.CFrame + chara.Torso.CFrame.lookVector * 50
  930. wait(1)
  931. summonanim:Play()
  932. summonsound:Play()
  933. activebeam = true
  934. powereffect.Texture = "http://www.roblox.com/asset/?id=454403109"
  935. powereffect.Enabled = true
  936. standstillf.Position = standstillf.Position + Vector3.new(0, 10, 0)
  937. scdec.Transparency = 0.9
  938. lite.Enabled = true
  939. lite.Range = 1
  940. for i = 1, 19 do
  941. wait(0.05)
  942. scmesh.Scale = scmesh.Scale + Vector3.new(1, 0, 1)
  943. scdec.Transparency = scdec.Transparency - 0.05
  944. lite.Range = lite.Range + 1
  945. end
  946. wait(1)
  947. chat("Crucify.")
  948. wait(0.5)
  949. lassnd:Play()
  950. eckssnd:Play()
  951. createrainbow(barcolour, spellcirclepart, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  952. NumberSequenceKeypoint.new(0, 10),
  953. NumberSequenceKeypoint.new(0.9, 10),
  954. NumberSequenceKeypoint.new(1, 0)
  955. }), NumberSequence.new(extendlife), NumberRange.new(0.75), "Top", NumberRange.new(200), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  956. createrainbow(barcolour, spreadpart, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  957. NumberSequenceKeypoint.new(0, 10),
  958. NumberSequenceKeypoint.new(0.9, 10),
  959. NumberSequenceKeypoint.new(1, 0)
  960. }), NumberSequence.new(extendlife), NumberRange.new(0.25), "Right", NumberRange.new(200), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  961. createrainbow(barcolour, spreadpart, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  962. NumberSequenceKeypoint.new(0, 10),
  963. NumberSequenceKeypoint.new(0.9, 10),
  964. NumberSequenceKeypoint.new(1, 0)
  965. }), NumberSequence.new(extendlife), NumberRange.new(0.25), "Left", NumberRange.new(200), Vector3.new(0, 0, 0), 0, false, "FireEffect2")
  966. for i = 1, 10 do
  967. dealdmg(hitdude, 666, 0)
  968. end
  969. for i = 1, 9 do
  970. wait(0.1)
  971. local che = hitdude:GetChildren()
  972. for i = 1, #che do
  973. if che[i].ClassName == "Part" then
  974. che[i].Transparency = che[i].Transparency + 0.1
  975. end
  976. end
  977. end
  978. wait(0.1)
  979. local che = hitdude:GetChildren()
  980. for i = 1, #che do
  981. if che[i].ClassName == "Part" then
  982. che[i]:Destroy()
  983. end
  984. end
  985. wait(3)
  986. spellcirclepart.FireEffect.Enabled = false
  987. spreadpart.FireEffect.Enabled = false
  988. spreadpart.FireEffect2.Enabled = false
  989. for i = 1, 19 do
  990. wait(0.05)
  991. scmesh.Scale = scmesh.Scale - Vector3.new(1, 0, 1)
  992. scdec.Transparency = scdec.Transparency + 0.05
  993. lite.Range = lite.Range - 1
  994. end
  995. wait(0.05)
  996. spellcirclepart:Destroy()
  997. spreadpart:Destroy()
  998. summonanim:Stop()
  999. activebeam = false
  1000. powereffect.Enabled = false
  1001. tool.Enabled = true
  1002. chara.Humanoid.WalkSpeed = 50
  1003. didgrab = false
  1004. end
  1005. end
  1006. chara["Right Arm"].Touched:connect(grabTouch)
  1007. function keydowns(key)
  1008. if tool.Enabled == true then
  1009. if key == "z" then
  1010. tool.Enabled = false
  1011. chat("Swords of Light!")
  1012. summonsound:Play()
  1013. swordsummon()
  1014. end
  1015. if key == "x" then
  1016. summonanim:Play()
  1017. summonsound:Play()
  1018. chat("Heaven's Bolts!")
  1019. powereffect.Texture = "http://www.roblox.com/asset/?id=14459921"
  1020. powereffect.Enabled = true
  1021. tool.Enabled = false
  1022. wait(2)
  1023. if not lightningStrikeCoroutine then
  1024. lightningStrikeCoroutine = coroutine.create(LightningStrike)
  1025. coroutine.resume(lightningStrikeCoroutine)
  1026. end
  1027. lightningButtonDown = true
  1028. end
  1029. if key == "c" then
  1030. summonanim:Play()
  1031. summonsound:Play()
  1032. activebeam = true
  1033. chat("Beam of Purity!")
  1034. powereffect.Texture = "rbxasset://textures/particles/sparkles_main.dds"
  1035. powereffect.Enabled = true
  1036. tool.Enabled = false
  1037. wait(2)
  1038. Click()
  1039. end
  1040. if key == "v" then
  1041. summonanim:Play()
  1042. summonsound:Play()
  1043. activebeam = true
  1044. chat("Holy Blast!")
  1045. powereffect.Texture = "http://www.roblox.com/asset/?id=224413104"
  1046. powereffect.Enabled = true
  1047. tool.Enabled = false
  1048. wait(2)
  1049. for i = 1, 6 do
  1050. wait(0.2)
  1051. local saund = blastsnd:Clone()
  1052. saund.Parent = orbuur
  1053. saund.PlayOnRemove = true
  1054. saund:Destroy()
  1055. local targetPos = chara.Humanoid.TargetPoint
  1056. local lookAt = targetPos - orbuur.Position.unit
  1057. fire(lookAt)
  1058. end
  1059. summonanim:Stop()
  1060. activebeam = false
  1061. powereffect.Enabled = false
  1062. tool.Enabled = true
  1063. end
  1064. if key == "b" then
  1065. summonanim:Play()
  1066. summonsound:Play()
  1067. chat("Gaia Shatterer!")
  1068. powereffect.Texture = "http://www.roblox.com/asset/?id=26356341"
  1069. powereffect.Enabled = true
  1070. tool.Enabled = false
  1071. wait(2)
  1072. for i = 1, 5 do
  1073. wait(0.5)
  1074. local saund = metsnd:Clone()
  1075. saund.Parent = orbuur
  1076. saund.PlayOnRemove = true
  1077. saund:Destroy()
  1078. local targetPos = chara.Humanoid.TargetPoint
  1079. local lookAt = targetPos - (chara.Head.Position + Vector3.new(0, 100, 0)).unit
  1080. meteorfire(lookAt)
  1081. end
  1082. wait(0.7)
  1083. local saund = metsnd:Clone()
  1084. saund.Parent = orbuur
  1085. saund.Pitch = 0.5
  1086. saund.PlayOnRemove = true
  1087. saund:Destroy()
  1088. local targetPos = chara.Humanoid.TargetPoint
  1089. local lookAt = targetPos - (chara.Head.Position + Vector3.new(0, 100, 0)).unit
  1090. meteor2fire(lookAt)
  1091. wait(1)
  1092. summonanim:Stop()
  1093. powereffect.Enabled = false
  1094. tool.Enabled = true
  1095. end
  1096. if key == "n" then
  1097. activegrab = true
  1098. summonanim:Play()
  1099. summonsound:Play()
  1100. chat("Get over here...")
  1101. powereffect.Texture = "http://www.roblox.com/asset/?id=224413104"
  1102. powereffect.Enabled = true
  1103. tool.Enabled = false
  1104. wait(5)
  1105. if didgrab == false then
  1106. chat("Agh.")
  1107. powereffect.Enabled = false
  1108. tool.Enabled = true
  1109. summonanim:Stop()
  1110. activegrab = false
  1111. elseif didgrab == true then
  1112. end
  1113. end
  1114. if key == "m" then
  1115. if music == false then
  1116. music1:Play()
  1117. music = true
  1118. elseif music == true then
  1119. music1:Stop()
  1120. music = false
  1121. end
  1122. end
  1123. end
  1124. end
  1125. function onEquipped(mouse)
  1126. print("onEquipped")
  1127. Mouse = player:GetMouse()
  1128. if not Mouse then
  1129. return
  1130. end
  1131. if Mouse then
  1132. Mouse.KeyDown:connect(keydowns)
  1133. end
  1134. Character2 = chara
  1135. Humanoid2 = Character:FindFirstChild("Humanoid")
  1136. Torso2 = Character:FindFirstChild("Torso")
  1137. if not Humanoid2 or Torso2 then
  1138. end
  1139. end
  1140. function onUnequipped()
  1141. print("onUnequipped")
  1142. Torso2 = nil
  1143. Humanoid2 = nil
  1144. Character2 = nil
  1145. Mouse = nil
  1146. end
  1147. tool.Equipped:connect(onEquipped)
  1148. tool.Unequipped:connect(onUnequipped)
  1149. local deathed = false
  1150. function onDied()
  1151. deathed = true
  1152. chat("Final Strike: The End of Days...")
  1153. shirt:Destroy()
  1154. pants:Destroy()
  1155. Void:Destroy()
  1156. orbuur:Destroy()
  1157. summonsound.Pitch = 0.5
  1158. summonsound:Play()
  1159. local shah = chara:GetChildren()
  1160. for i = 1, #shah do
  1161. if shah[i].ClassName == "Part" then
  1162. shah[i].Anchored = true
  1163. end
  1164. end
  1165. local effectbrick = Instance.new("Part", game.Workspace)
  1166. effectbrick.Transparency = 1
  1167. effectbrick.Size = Vector3.new(3, 3, 3)
  1168. effectbrick.CanCollide = false
  1169. effectbrick.Anchored = true
  1170. effectbrick.CFrame = chara.Torso.CFrame
  1171. createrainbow(firecolour, effectbrick, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new({
  1172. NumberSequenceKeypoint.new(0, 10),
  1173. NumberSequenceKeypoint.new(1, 0)
  1174. }), NumberSequence.new(extendlife), NumberRange.new(5), "Left", NumberRange.new(0), Vector3.new(0, 0, 0), 0, false, "FireEffect")
  1175. createrainbow(firecolour, effectbrick, "rbxasset://textures/particles/smoke_main.dds", NumberSequence.new(10), NumberSequence.new(normallife), NumberRange.new(5), "Front", NumberRange.new(100), Vector3.new(0, 0, 0), 1000, false, "PowerEffect")
  1176. effectbrick.PowerEffect.Enabled = false
  1177. debby:AddItem(effectbrick, 10)
  1178. wait(2)
  1179. effectbrick.PowerEffect.Enabled = true
  1180. local exsnd = Instance.new("Sound", game.Workspace)
  1181. exsnd.SoundId = "http://www.roblox.com/asset/?id=258057783"
  1182. exsnd.Volume = 1
  1183. exsnd.Pitch = 0.5
  1184. exsnd.PlayOnRemove = true
  1185. exsnd:Destroy()
  1186. effectbrick.FireEffect:Destroy()
  1187. local exx = Instance.new("Explosion", game.Workspace)
  1188. exx.Position = effectbrick.Position
  1189. exx.BlastPressure = 500000000
  1190. exx.BlastRadius = 10000000000
  1191. exx.Visible = false
  1192. exx.ExplosionType = "CratersAndDebris"
  1193. wait(1)
  1194. effectbrick.PowerEffect.Enabled = false
  1195. end
  1196. chara.Humanoid.Died:connect(onDied)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement