Advertisement
xXAvia04Xx

Untitled

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