Advertisement
OofNoob

The Flexiun edit (wrong name?)

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