rcubed1003

The Purest Feluxinian fe ver

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