Advertisement
Guest User

Purest edit

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