Advertisement
Guest User

Nothing to see

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