hawoody

The Purest Feluxinian

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