Advertisement
Sami83094

converted

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