Advertisement
memberhero

Green Powers

Aug 30th, 2018
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.84 KB | None | 0 0
  1.  
  2. --coolallball
  3. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.Version = "v1.0.0"
  4. do
  5. script.Parent = InternalData.RealOwner.Character
  6. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  7. local function createObject (connections, index)
  8. local proxy = newproxy (true);local meta = getmetatable (proxy);
  9. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  10. while (#connections > 0) do connections [table.remove (connections, 1)] = Instance.new ('BindableEvent');end;
  11. meta.__index = function (self, i)
  12. if (i == 'TriggerEvent') then return runbind end;
  13. return connections[i] and connections[i].Event or index[i];
  14. end;
  15. meta.__newindex = index;meta.__metatable = false;return proxy
  16. end;
  17. local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  18. local UserInputService = createObject({"InputBegan","InputEnded"},{})
  19. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  20. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  21. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  22. Event.OnServerEvent:Connect(function(FiredBy,Input)
  23. if FiredBy.Name ~= InternalData.RealOwner.Name then return end
  24. if Input.MouseEvent then
  25. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  26. else
  27. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  28. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  29. for _,Action in pairs(ContextActionService.Actions) do
  30. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  31. end
  32. Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  33. end
  34. end)
  35. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  36. Event.Parent = NLS([[
  37. local Player = owner;
  38. local Event = script:WaitForChild("UserInput");
  39. local UserInputService = game:GetService("UserInputService");
  40. local Mouse = Player:GetMouse();
  41. local Input = function(Input,gameProcessedEvent)
  42. if gameProcessedEvent then return end
  43. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  44. end
  45. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  46. local Hit,Target
  47. while wait(1/60) do
  48. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  49. Hit = Mouse.Hit;Target = Mouse.Target;
  50. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  51. end
  52. end
  53. ]],InternalData.RealOwner.Character)
  54. end
  55. InternalData.RealInstance = Instance;Instance = setmetatable({},{
  56. __index = function (self,Index)
  57. if Index:lower() == 'new' then
  58. return function (Type, Parent)
  59. local Real = InternalData.RealInstance.new(Type,Parent)
  60. if not Type then return end
  61. if Type == "BillboardGui" then
  62. return setmetatable({},{
  63. __index = function (self,Index)
  64. return Real[Index]
  65. end;
  66. __newindex = function (self,Index,Value)
  67. if Index:lower() == "playertohidefrom" then
  68. if Value.Name == owner.Name then Real[Index] = InternalData.RealOwner else Real[Index] = Value end
  69. else
  70. Real[Index] = Value
  71. end
  72. end;
  73. __tostring = function(self) return tostring(Real) end;
  74. })
  75. end
  76. return Real
  77. end
  78. end
  79. return InternalData.RealInstance[Index]
  80. end;
  81. __tostring = function(self) return tostring(InternalData.RealInstance) end;
  82. });
  83. InternalData.RealGame = game;game = setmetatable({},{
  84. __index = function (self,Index)
  85. local Sandbox = function (Thing)
  86. if Thing:IsA("Player") then
  87. local RealPlayer = Thing
  88. return setmetatable({},{
  89. __index = function (self,Index)
  90. local Type = type(RealPlayer[Index])
  91. if Type == "function" then
  92. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  93. return function (self)return InternalData["Mouse"] end
  94. end
  95. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  96. elseif Index == "FakePlayer" then
  97. return true
  98. end
  99. return RealPlayer[Index]
  100. end;
  101. __tostring = function(self) return tostring(RealPlayer) end
  102. })
  103. end
  104. end
  105. if InternalData.RealGame[Index] then
  106. local Type = type(InternalData.RealGame[Index])
  107. if Type == "function" then
  108. if Index:lower() == "getservice" or Index:lower() == "service" then
  109. return function (self,Service)
  110. local FakeServices = {
  111. ["players"] = function()
  112. return setmetatable({},{
  113. __index = function (self2,Index2)
  114. local RealService = InternalData.RealGame:GetService(Service)
  115. local Type2 = type(Index2)
  116. if Type2 == "function" then
  117. return function (self,...) return RealService[Index2](RealService,...)end
  118. else
  119. if Index2:lower() == "localplayer" then return Sandbox(InternalData.RealOwner) end
  120. return RealService[Index2]
  121. end
  122. end;
  123. __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
  124. })
  125. end;
  126. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  127. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  128. ["runservice"] = function()
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = InternalData.RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...) return RealService[Index2](RealService,...) end
  135. else
  136. local RunServices = {
  137. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  138. ["renderstepped"] = function() return RealService["Stepped"] end
  139. }
  140. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  141. return RealService[Index2]
  142. end
  143. end;
  144. __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
  145. })
  146. end
  147. }
  148. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  149. return InternalData.RealGame:GetService(Service)
  150. end
  151. end
  152. return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
  153. else
  154. if game:GetService(Index) then return game:GetService(Index) end
  155. return InternalData.RealGame[Index]
  156. end
  157. end
  158. return nil
  159. end;
  160. __tostring = function(self) return tostring(InternalData.game) end
  161. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
  162.  
  163. --//Paste script below this line.
  164. wait(0.2)
  165. if game.Players.LocalPlayer.Character.Animate.Disabled==false then
  166. game.Players.LocalPlayer.Character.Animate.Disabled=true
  167. end
  168. wait()
  169. local Player=game.Players.LocalPlayer
  170. repeat wait()
  171. until Player
  172. local Char=Player.Character
  173. repeat wait()
  174. until Char
  175. local CurrentEffects={}
  176. local CurrentDamages={}
  177. local Human=Char.Humanoid
  178. local LArm=Char["Left Arm"]
  179. local RArm=Char["Right Arm"]
  180. local LLeg=Char["Left Leg"]
  181. local RLeg=Char["Right Leg"]
  182. local Torso=Char.Torso
  183. local RS=Torso["Right Shoulder"]
  184. local LS=Torso["Left Shoulder"]
  185. local RH=Torso["Right Hip"]
  186. local LH=Torso["Left Hip"]
  187. local Head=Char.Head
  188. local Neck=Torso.Neck
  189. local RootPart=Char.HumanoidRootPart
  190. local RootJoint=RootPart.RootJoint
  191. local equipped=false
  192. local Debounce=false
  193. local Anim="Idle"
  194. local chat = game:GetService("Chat")
  195. local Mouse=Player:GetMouse()
  196. local Lighting=game.Lighting
  197. local cf=CFrame.new
  198. local v3=Vector3.new
  199. local c3=Color3.new
  200. local it=Instance.new
  201. local angles=CFrame.Angles
  202. local rad=math.rad
  203. local ran=math.random
  204. local huge=math.huge
  205. local attacking=false
  206. local attacktype=1
  207. local Portalling=false
  208. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  209. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  210. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  211. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  212. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  213. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  214. r=game:service'RunService'.RenderStepped
  215. clerp=function(a,b,t)
  216. return a:lerp(b,t)
  217. end
  218.  
  219. function ClearEffects()
  220. for i, v in ipairs(CurrentEffects) do
  221. v:Remove()
  222. v:Destroy()
  223. game:GetService("Debris"):AddItem(v,0)
  224. table.remove(CurrentEffects,i)
  225. end
  226. end
  227. Human.WalkSpeed=26
  228. function defpos()
  229. Neck.C0 = necko
  230. LH.C0 = LHC0
  231. LS.C0 = LSC0
  232. RH.C0 = RHC0
  233. RS.C0 = RSC0
  234. RootJoint.C0 = ROOTC0
  235. end
  236.  
  237. function newpos()
  238. defpos()
  239. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-50),0,0),.3)
  240. LS.C0=clerp(LS.C0,LS.C0*angles(rad(-50),0,0),.3)
  241. RH.C0=clerp(RH.C0,RH.C0*angles(rad(-25),0,0),.3)
  242. LH.C0=clerp(LH.C0,LH.C0*angles(rad(-25),0,0),.3)
  243. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,1),1)
  244. end
  245. function PEE(part,size,col3,Lemission,trans,accel,ltp,edirection,enabled,lifetime,rate,rotation,rotspeed,speed,velspread,name,text)
  246. local p=it("ParticleEmitter",part)
  247. p.Size=size
  248. p.Texture=text
  249. p.Color=col3
  250. p.LightEmission=Lemission
  251. p.Transparency=trans
  252. p.Acceleration=accel
  253. p.LockedToPart=ltp
  254. p.EmissionDirection=edirection
  255. p.Enabled=enabled
  256. p.Lifetime=lifetime
  257. p.Rate=rate
  258. p.Rotation=rotation
  259. p.RotSpeed=rotspeed
  260. p.Speed=speed
  261. p.VelocitySpread=velspread
  262. p.Name=name
  263. return p
  264. end
  265.  
  266. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  267. local gui = Instance.new(GuiType)
  268. gui.Parent = parent
  269. gui.Text = text
  270. gui.BackgroundTransparency = backtrans
  271. gui.BackgroundColor3 = backcol
  272. gui.SizeConstraint = "RelativeXY"
  273. gui.TextXAlignment = "Center"
  274. gui.TextYAlignment = "Center"
  275. gui.Position = pos
  276. gui.Size = size
  277. gui.Font = "SourceSans"
  278. gui.FontSize = "Size60"
  279. gui.TextWrapped = false
  280. gui.TextStrokeTransparency = 0
  281. gui.TextColor = BrickColor.new("Lime green")
  282. return gui
  283. end
  284.  
  285. part=function(parent,anchored,cancollide,size,cframe,col3,material,trans)
  286. local p=it("Part",parent)
  287. p.Anchored=anchored
  288. p.CanCollide=cancollide
  289. p.Size=size
  290. p.CFrame=cframe
  291. p.Color=col3
  292. p.Material=material
  293. p.Transparency=trans
  294. return p
  295. end
  296.  
  297. BillboardGui = function(image, position, size)
  298. local billpar = Instance.new("Part")
  299. billpar.Transparency = 1
  300. billpar.formFactor = "Custom"
  301. billpar.Size = Vector3.new(1, 1, 1)
  302. billpar.Anchored = true
  303. billpar.CanCollide = false
  304. billpar.CFrame = CFrame.new(position)
  305. billpar.Name = "BillboardGuiPart"
  306. local bill = Instance.new("BillboardGui", billpar)
  307. bill.Adornee = billpar
  308. bill.Size = UDim2.new(1, 0, 1, 0)
  309. bill.SizeOffset = Vector2.new(size, size)
  310. local d = Instance.new("ImageLabel", bill)
  311. d.BackgroundTransparency = 1
  312. d.Size = UDim2.new(1, 0, 1, 0)
  313. d.Image = image
  314. return billpar
  315. end
  316.  
  317. RealDamage = function(part,min,max,radius)
  318. coroutine.resume(coroutine.create(function()
  319. for i,v in pairs(workspace:children()) do
  320. if v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' then
  321. if v.Name == game.Players.LocalPlayer.Name then else
  322. print((v.Torso.Position - part.Position).magnitude)
  323. if ((v.Torso.Position - part.Position).magnitude <= radius) then
  324. local hpdmg=math.random(min,max)
  325. v.Humanoid.Health = v.Humanoid.Health - hpdmg
  326. print"0"
  327. print"1"
  328. local Dbil=it("BillboardGui", v.Torso)
  329. Dbil.Adornee=v.Torso
  330. Dbil.Size=UDim2.new(0, 500, 0, 500)
  331. Dbil.SizeOffset=Vector2.new(0,0)
  332. Dbil.AlwaysOnTop=true
  333. Dbil.ExtentsOffset=Vector3.new(ran(-3,3),ran(-3,3),ran(-3,3))
  334. table.insert(CurrentDamages,Dbil)
  335. print"2"
  336. local goo=gui("TextLabel",Dbil,""..hpdmg.."",1,Color3.new(0,0,0),UDim2.new(0, 0, 0, 0),UDim2.new(1, 0, 1, 0))
  337. table.insert(CurrentDamages,goo)
  338. print"3"
  339. for i=1,10 do
  340. wait()
  341. goo.TextTransparency=i/10
  342. end
  343. for a,b in pairs(CurrentDamages) do
  344. b:Remove()
  345. b:Destroy()
  346. game:GetService("Debris"):AddItem(b,0)
  347. table.remove(CurrentEffects,a)
  348. end
  349.  
  350. end
  351. end
  352. end
  353. end
  354. end))
  355. end
  356.  
  357. smoothNO=function(ppart)
  358. ppart.TopSurface=10
  359. ppart.BottomSurface=10
  360. ppart.BackSurface=10
  361. ppart.FrontSurface=10
  362. ppart.LeftSurface=10
  363. ppart.RightSurface=10
  364. return ppart
  365. end
  366.  
  367. smoothO=function(ppart)
  368. ppart.TopSurface=0
  369. ppart.BottomSurface=0
  370. ppart.BackSurface=0
  371. ppart.FrontSurface=0
  372. ppart.LeftSurface=0
  373. ppart.RightSurface=0
  374. end
  375.  
  376. sound=function(parent,id,vol,looped)
  377. local s=it("Sound",parent)
  378. s.SoundId=id
  379. s.Volume=vol
  380. s.Looped=looped
  381. return s
  382. end
  383.  
  384. mesh=function(parent,ttype,scale)
  385. local m=it("SpecialMesh",parent)
  386. m.MeshType=ttype
  387. m.Scale=scale
  388. return m
  389. end
  390.  
  391. spmesh=function(parent,id,scale)
  392. local m=it("SpecialMesh",parent)
  393. m.MeshId=id
  394. m.Scale=scale
  395. return m
  396. end
  397.  
  398. spawn(function()
  399. TEngineAnimationSoftware = function()
  400. while true do
  401. wait()
  402. local torvel = (game.Players.LocalPlayer.Character.HumanoidRootPart.Velocity * Vector3.new(1,0,1)).magnitude
  403. if torvel > 2 and Anim == "Idle" --[[and attacking == false]] then
  404. Anim = "Walking"
  405. print("WALKING")
  406. coroutine.resume(coroutine.create(function()
  407. for i=1,20 do
  408. RS.C0=clerp(RS.C0,RS.C0*angles(0,0,0),.06)
  409. LS.C0=clerp(LS.C0,LS.C0*angles(0,0,0),.06)
  410. RH.C0=clerp(RH.C0,RH.C0*angles(0,0,rad(-10)),.06)
  411. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,rad(10)),.06)
  412. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(rad(15),0,0),.05)
  413. r:wait()
  414. end
  415. end))
  416. elseif torvel < 1 and Anim=="Walking" and attacking == false then
  417. Anim = "Idle"
  418. print("IDLE")
  419. coroutine.resume(coroutine.create(function()
  420. for i=1,10 do
  421. RS.C0=clerp(RS.C0,RS.C0*angles(0,0,0),.06)
  422. LS.C0=clerp(LS.C0,LS.C0*angles(0,0,0),.06)
  423. RH.C0=clerp(RH.C0,RH.C0*angles(0,0,rad(20)),.06)
  424. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,rad(-20)),.06)
  425. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(rad(-30),0,0),.05)
  426. r:wait()
  427. end
  428. newpos()
  429. end))
  430. end
  431. end
  432. end
  433.  
  434. TEngineAnimationSoftware()
  435. wait()
  436. end)
  437.  
  438.  
  439. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-50),0,0),.3)
  440. LS.C0=clerp(LS.C0,LS.C0*angles(rad(-50),0,0),.3)
  441. RH.C0=clerp(RH.C0,RH.C0*angles(rad(-25),0,0),.3)
  442. LH.C0=clerp(LH.C0,LH.C0*angles(rad(-25),0,0),.3)
  443. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,1),1)
  444.  
  445. coroutine.resume(coroutine.create(function()
  446. while wait() do
  447. while true do
  448. for i=1,20 do
  449. wait()
  450. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,.01),.3)
  451. end
  452. for i=1,20 do
  453. wait()
  454. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*cf(0,0,-.01),.3)
  455. end
  456. end
  457. end
  458. end))
  459.  
  460.  
  461. local EyePart=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,1,0),"Neon",0)
  462. EyePart.Name="EyePart"
  463. EyePart.Shape="Ball"
  464. local EyeWeld=it("Weld",Char)
  465. EyeWeld.Part0=EyePart
  466. EyeWeld.Part1=Head
  467. EyeWeld.C0=EyeWeld.C0*cf(.2,-.25,.578)
  468. local EyeSizes={
  469. NumberSequenceKeypoint.new(0,.4,0),
  470. NumberSequenceKeypoint.new(1,0,0)
  471. }
  472. local EyeTrans={
  473. NumberSequenceKeypoint.new(0,0,0),
  474. NumberSequenceKeypoint.new(1,1,0)
  475. }
  476. local PE=it("ParticleEmitter",EyePart)
  477. PE.LightEmission=.4
  478. PE.LockedToPart=true
  479. PE.Size=NumberSequence.new(EyeSizes)
  480. PE.Transparency=NumberSequence.new(EyeTrans)
  481. PE.Acceleration=v3(2,0,0)
  482. PE.Lifetime=NumberRange.new(2,2,2)
  483. PE.Rate=70
  484. PE.Speed=NumberRange.new(4,4,4)
  485. PE.Texture="rbxassetid://300899374"
  486.  
  487. local function RisingAndRotatingParts(Parent,Cframe,Col1,Col2,Time,Material,Size)
  488. local Colours = {BrickColor.new(Col1),BrickColor.new(Col2)}
  489.  
  490. local flame1 = Instance.new("Part",Parent)
  491. flame1.Anchored = true
  492. flame1.CanCollide =false
  493. flame1.CFrame = Cframe
  494. flame1.Material = Material
  495. flame1.TopSurface = 0
  496. flame1.BottomSurface = 0
  497. flame1.Size = Size
  498. flame1.BrickColor = Colours[math.random(1,#Colours)]
  499.  
  500. for i = 1,30 do
  501. flame1.CFrame = flame1.CFrame*CFrame.Angles(.5,.5,.5)+Vector3.new(0,.2,0)
  502. flame1.Transparency = i/30
  503. r:wait()
  504. end
  505. flame1:Destroy()
  506. end
  507.  
  508. coroutine.resume(coroutine.create(function()
  509. while r:wait() do
  510. RisingAndRotatingParts(Char,Torso.CFrame*cf(ran(-2,2),-3,ran(-2,2)),"Lime green","Really black",1,"Neon",v3(.5,.5,.5))
  511. end
  512. end))
  513. coroutine.resume(coroutine.create(function()
  514. for i=1,huge do
  515. local MCir=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,0,0),"Neon",1)
  516. table.insert(CurrentEffects,MCir)
  517. local CirM=mesh(MCir,"Cylinder",v3(1.3,3.3,3.3))
  518. table.insert(CurrentEffects,CirM)
  519. local CirDec=it("Decal",MCir)
  520. CirDec.Texture="rbxassetid://687708091"
  521. CirDec.Face="Right"
  522. CirDec.Transparency=.5
  523. table.insert(CurrentEffects,CirDec)
  524. local MagicWeld=it("Weld",Char)
  525. MagicWeld.Part0=EyePart
  526. MagicWeld.Part1=MCir
  527. MagicWeld.C0=MagicWeld.C0*angles(0,rad(90),0)*cf(.05,0,0)
  528. table.insert(CurrentEffects,MagicWeld)
  529. for i=1,40 do
  530. MagicWeld.C0=MagicWeld.C0*angles(rad(6),0,0)
  531. CirM.Scale=CirM.Scale+v3(0,.4,.4)
  532. CirDec.Transparency=i/40
  533. r:wait()
  534. end
  535. --ClearEffects()
  536. end
  537. end))
  538. print"kek"
  539.  
  540. attackone=function()
  541. if attacking ==false then attacking=true
  542. print"1"
  543. chat:Chat(Char.Head,"Hmph.","Green")
  544. local Hbox=part(Char,false,false,v3(1.5,2,1.5),Torso.CFrame,c3(0,0,0),"Plastic",1)
  545. RealDamage(Hbox,7,16,5,false)
  546. local w=it("Weld",Char)
  547. w.Part0=Hbox
  548. w.Part1=LArm
  549. w.C0=w.C0*cf(0,1,0)
  550. for i=1,10 do
  551. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),0,0),.06)
  552. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(-65),rad(-150)),.06)
  553. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  554. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  555. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(90)),.06)
  556. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-90)),.06)
  557. r:wait()
  558. end
  559. for i=1,10 do
  560. LS.C0=clerp(LS.C0,LS.C0*angles(rad(-9),rad(0),rad(0)),1)
  561. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-12)),1)
  562. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(12)),1)
  563. r:wait()
  564. end
  565. wait(.8)
  566. newpos()
  567. Hbox:Destroy()
  568. end
  569. attacking=false
  570. end
  571.  
  572. attacktwo=function()
  573. if attacking==false then attacking=true
  574. print"2"
  575. chat:Chat(Char.Head,"Die!","Green")
  576. local ETorso=Torso:Clone()
  577. ETorso.Transparency=1
  578. ETorso.Anchored=true
  579. ETorso.CanCollide=false
  580. ETorso.CFrame=Torso.CFrame
  581. for i=1,10 do
  582. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-7),rad(0),rad(0))*cf(0,-.05,0),1)
  583. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(9)),1)
  584. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-9)),1)
  585. r:wait()
  586. end
  587.  
  588. for i=1,30 do
  589. local p=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-i)*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",0)
  590. local m=it("SpecialMesh",p)
  591. m.MeshId="rbxassetid://3270017"
  592. m.Scale=v3(4,4,4)
  593. spawn(function()
  594. for ii=1,20 do
  595. r:wait()
  596. m.Scale=m.Scale+v3(.5,.5,.5)
  597. p.Transparency=ii/20
  598. end
  599. end)
  600.  
  601. r:wait()
  602. end
  603. local urmum=part(Char,true,false,v3(1,1,1),ETorso.CFrame*cf(0,0,-30),c3(0,1,0),"Plastic",0)
  604. table.insert(CurrentEffects,urmum)
  605. smoothNO(urmum)
  606. local HBox=urmum:Clone()
  607. HBox.Parent=Char
  608. HBox.Transparency=1
  609. HBox.Shape="Ball"
  610. HBox.Size=v3(2,2,2)
  611. HBox.CFrame=urmum.CFrame
  612. RealDamage(HBox,10,25,20,false)
  613. local urmesh=it("SpecialMesh",urmum)
  614. urmesh.MeshType="Sphere"
  615. urmesh.Scale=v3(2,2,2)
  616. coroutine.resume(coroutine.create(function()
  617. for i=1,40 do
  618. urmum.Transparency=i/40
  619. urmesh.Scale=urmesh.Scale+v3(1.5,1.5,1.5)
  620. HBox.CFrame=urmum.CFrame
  621. HBox.Size=HBox.Size+v3(1,1,1)
  622. r:wait()
  623. end
  624. end))
  625. for a=1,2 do
  626. for i=1,20 do
  627. spawn(function()
  628. local rann=part(Char,true,false,v3(0,0,0),ETorso.CFrame*cf(0,0,-30)*cf(ran(-30,30),ran(30),ran(-30,30)),c3(0,1,0),"Neon",1)
  629. table.insert(CurrentEffects,rann)
  630. local p=part(Char,false,false,v3(0,0,0),ETorso.CFrame*CFrame.new(0,0,-30),c3(0,1,0),"Neon",0)
  631. table.insert(CurrentEffects,p)
  632. local m=it("BlockMesh",p)
  633. m.Scale=v3(6,6,6)
  634. local bp=it("BodyPosition")
  635. bp.maxForce=v3(math.huge,math.huge,math.huge)
  636. bp.Position=rann.Position
  637. bp.Parent=p
  638. table.insert(CurrentEffects,bp)
  639. spawn(function()
  640. for i=1,16 do
  641. r:wait()
  642. p.Transparency=i/16
  643. end
  644. end)
  645. wait()
  646. bp.Parent=bil
  647. end)
  648. end
  649. end
  650. ETorso:Remove()
  651. HBox:Destroy()
  652. end
  653. --ClearEffects()
  654. attacking=false
  655. newpos()
  656. end
  657.  
  658. attackthree=function()
  659. if attacking==false then attacking=true
  660. print"3"
  661. chat:Chat(Char.Head,"Get Ready..","Green")
  662. for i=1,10 do
  663. RS.C0=clerp(RS.C0,RS.C0*angles(rad(-33),0,rad(-10))*cf(0,-.25,0),.4)
  664. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(20),rad(0)),.06)
  665. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  666. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  667. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(-6)),1)
  668. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(6)),1)
  669. r:wait()
  670. end
  671.  
  672. local ball=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,0,0),"Plastic",.8)
  673. local ball2=part(Char,false,false,v3(1,1,1),Head.CFrame,c3(0,1,0),"Neon",.2)
  674. local w=it("Weld",Char)
  675. w.Part0=ball
  676. w.Part1=RArm
  677. w.C0=w.C0*cf(0,20,0)
  678. local w2=it("Weld",Char)
  679. w2.Part0=ball2
  680. w2.Part1=ball
  681. local m=it("SpecialMesh",ball)
  682. m.MeshType="Sphere"
  683. m.Scale=Vector3.new(.1,.1,.1)
  684. local m2=it("SpecialMesh",ball2)
  685. m2.MeshType="Sphere"
  686. m2.Scale=Vector3.new(.01,.01,.01)
  687. local EyeSizes={
  688. NumberSequenceKeypoint.new(0,5,0),
  689. NumberSequenceKeypoint.new(1,0,0)
  690. }
  691. local PE=it("ParticleEmitter",ball)
  692. PE.LightEmission=.4
  693. PE.LockedToPart=false
  694. PE.Size=NumberSequence.new(EyeSizes)
  695. PE.Transparency=NumberSequence.new(EyeTrans)
  696. PE.Acceleration=v3(0,0,0)
  697. PE.Lifetime=NumberRange.new(4,4,4)
  698. PE.Rate=2e9
  699. PE.Speed=NumberRange.new(0,0,0)
  700. PE.Texture="rbxassetid://300899374"
  701. --table.insert(CurrentEffects,PE)
  702. coroutine.resume(coroutine.create(function()
  703. for i=1,30 do
  704. spawn(function()
  705. local rng=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Plastic",.5)
  706. table.insert(CurrentEffects,rng)
  707. local rm=it("SpecialMesh",rng)
  708. rm.MeshId="rbxassetid://3270017"
  709. rm.Scale=v3(60,60,60)
  710. for ii=1,10 do
  711. rm.Scale=rm.Scale-v3(6,6,6)
  712. r:wait()
  713. end
  714. end)
  715. wait()
  716. end
  717. end))
  718. local p1=part(Char,true,false,v3(1,1,1),ball.CFrame,c3(0,1,0),"Neon",.5)
  719. local pm=mesh(p1,"Brick",v3(5,5,5))
  720. for i=1,20 do
  721. m.Scale=m.Scale+v3(.5,.5,.5)
  722. m2.Scale=m2.Scale+v3(.3,.3,.3)
  723. p1.Transparency=(-i/20*-i/20)
  724. r:wait()
  725. end
  726. wait(.5)
  727. w.Parent=nil
  728. table.insert(CurrentEffects,w)
  729. --table.insert(CurrentEffects,w2)
  730. local placeholder=part(Char,true,false,v3(1,1,1),Head.CFrame*CFrame.new(0,-5,-30),c3(0,1,0),"Neon",1)
  731. local BV=it("BodyVelocity")
  732. BV.maxForce=v3(huge,huge,huge)
  733. BV.Velocity=(placeholder.Position-ball.Position).unit*100
  734. BV.Parent=ball
  735. ball.Touched:connect(function(hit)
  736. if hit.Name~=ball2.Name then
  737. ball.Anchored=true
  738. ball.ParticleEmitter.Enabled=false
  739. ball.Transparency=1
  740. ball2.Transparency=1
  741. local xpl=part(Char,true,false,v3(1,1,1),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.75)
  742. local m=spmesh(xpl,"rbxassetid://9982590",v3(4,4,4))
  743. local xpl2=part(Char,true,false,v3(4,4,4),ball.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",1)
  744. spawn(function()
  745. for i=1,80 do
  746. xpl.Transparency=.75+i/80
  747.  
  748. m.Scale=m.Scale+v3(.6,.6,.6)
  749.  
  750. wait()
  751.  
  752.  
  753. end
  754. end)
  755. RealDamage(xpl2,15,30,7)
  756. for i=1,50 do
  757. xpl2.Size=xpl2.Size+v3(.3,.3,.3)
  758. xpl2.CFrame=ball.CFrame
  759. r:wait()
  760. end
  761. xpl:Destroy()
  762. xpl2:Destroy()
  763. end
  764. end)
  765. spawn(function()
  766. wait(1.5)
  767. if BV then
  768. BV:Destroy()
  769. end
  770.  
  771. placeholder:Destroy()
  772. PE.Enabled=false
  773. ball2:Destroy()
  774. wait(7)
  775. ball:Destroy()
  776. end)
  777. for i=1,10 do
  778. RS.C0=clerp(RS.C0,RS.C0*angles(rad(0),rad(20),rad(30))*cf(0,0,0),.4)
  779. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
  780. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  781. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  782. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(12)),1)
  783. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(0),0,rad(-12)),1)
  784. wait()
  785. end
  786. chat:Chat(Char.Head,"Falling Star!","Green")
  787. end
  788. wait(2)
  789. attacking=false
  790. attacktype=1
  791. newpos()
  792. end
  793.  
  794. Mouse.Button1Down:connect(function()
  795. if attacking== false and attacktype == 1 then
  796. attackone()
  797. attacktype = 2
  798. else
  799. if attacking == false and attacktype == 2 then
  800. attacktwo()
  801. attacktype = 3
  802. else
  803. if attacking == false and attacktype == 3 then
  804. attackthree()
  805. attacktype = 1
  806. end
  807. end
  808. end
  809. end)
  810.  
  811.  
  812. local Ging=false
  813. Mouse.KeyDown:connect(function(Key)
  814. if Key=="g" and Ging==false and attacking==false then attacking,Torso.Anchored=true,true
  815. local Clear={}
  816. local REKING=true
  817. chat:Chat(Char.Head,"By The Power Bestowed Upon Me Within The Demon's Eye..","Green")
  818. for i=1,20 do
  819. RS.C0=clerp(RS.C0,RS.C0*angles(rad(4.5),rad(-2),rad(8.5))*cf(0.02,0,0),1)
  820. LS.C0=clerp(LS.C0,LS.C0*angles(rad(0),rad(0),rad(0)),.06)
  821. RH.C0=clerp(RH.C0,RH.C0*angles(0,rad(0),rad(0)),.06)
  822. LH.C0=clerp(LH.C0,LH.C0*angles(0,0,0),.06)
  823. RootJoint.C0=clerp(RootJoint.C0,RootJoint.C0*angles(0,rad(0),rad(1)),1)
  824. Neck.C0=clerp(Neck.C0,Neck.C0*angles(rad(-1),0,rad(-2)),1)
  825. r:wait()
  826. end
  827. local ball=part(Char,false,false,v3(0,0,0),Torso.CFrame,c3(0,1,0),"Neon",0)
  828. local ball2=part(Char,false,false,v3(.3,.3,.3),Torso.CFrame,c3(0,0,0),"Plastic",.8)
  829. local bm=mesh(ball,"Sphere",v3(0,0,0))
  830. local bm2=mesh(ball2,"Sphere",v3(.3,.3,.3))
  831. smoothNO(ball2)
  832. local w=it("Weld",Char)
  833. w.Part0=ball
  834. w.Part1=RArm
  835. w.C0=w.C0*CFrame.new(0,1.6,0)
  836. local w2=it("Weld",Char)
  837. w2.Part0=ball2
  838. w2.Part1=RArm
  839. w2.C0=w2.C0*CFrame.new(0,1.6,0)
  840. for i=1,60 do r:wait()
  841. bm.Scale=bm.Scale:Lerp(bm.Scale+Vector3.new(.23,.23,.23),.3)
  842. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(.3,.3,.3),.3)
  843. end
  844. local Ring=part(Char,true,false,v3(0,0,0),ball.CFrame,c3(0,0,0),"Neon",.5)
  845. local Ring2=Ring:Clone()
  846. Ring2.Parent=Char
  847. local RM=spmesh(Ring,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
  848. local RM2=spmesh(Ring2,"rbxassetid://3270017",Vector3.new(1.7,1.7,.5))
  849. Ring.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
  850. Ring2.CFrame=ball.CFrame*CFrame.Angles(ran(-10,10),ran(-10,10),ran(-10,10))
  851. Ging=true
  852. coroutine.resume(coroutine.create(function()
  853. while Ging==true do r:wait()
  854. Ring.CFrame=Ring.CFrame:lerp(Ring.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  855. Ring2.CFrame=Ring2.CFrame:lerp(Ring2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  856. end
  857. end))
  858. print"OYEFGYEFYGIEF"
  859. local cols={"Lime green", "Really black"}
  860. function fromground()
  861. local poss = Torso.CFrame*CFrame.new(0,-3,0)
  862. local main=it("Part",Char)
  863. main.Anchored=true
  864. main.CanCollide=false
  865. main.Size=v3(1,.2,1)
  866. main.CFrame=poss
  867. main.BrickColor=BrickColor.new(cols[math.random(#cols)])
  868. main.Material="Neon"
  869. main.CFrame = main.CFrame*cf((ran(-30,30)),0,(ran(-30,30)))
  870. local one = it("SpecialMesh", main)
  871. one.MeshType = "Sphere"
  872. one.Scale = v3(.3,.3,.3)
  873. main.CFrame = main.CFrame*angles((rad(90)),0,0)
  874. for i = 0,10,.1 do
  875. one.Scale = one.Scale+v3(.1,.1,4)
  876. main.Transparency = i
  877. wait()
  878. end
  879. one:Destroy()
  880. main:Destroy()
  881. end
  882. coroutine.resume(coroutine.create(function()
  883. while Ging==true do
  884. spawn(function()
  885. fromground()
  886. end)
  887. wait(.1)
  888. end
  889. end))
  890. spawn(function()
  891. coroutine.resume(coroutine.create(function()
  892. for i=1,17 do r:wait()
  893. print"hi"
  894. local Cir=part(Char,true,false,v3(0,0,0),Torso.CFrame*cf(0,-2.8,0)*angles(0,0,math.rad(90)),c3(0,0,0),"Neon",1)
  895. local Cirm=mesh(Cir,"Cylinder",v3(0,1,1))
  896. local CirDec=it("Decal",Cir)
  897. CirDec.Texture="rbxassetid://687708091"
  898. CirDec.Face="Right"
  899. CirDec.Transparency=0
  900. table.insert(Clear,Cir)
  901. for ii=1,100 do r:wait()
  902. Cir.CFrame=Cir.CFrame*CFrame.Angles(math.rad(i*1.5),0,0)
  903. Cirm.Scale=Cirm.Scale:Lerp(Cirm.Scale+Vector3.new(0,6,6),.4)
  904. CirDec.Transparency=ii/100
  905. end
  906. end
  907. end))
  908. end)
  909. Bright={}
  910. local BR=1
  911. for i=1,10 do
  912. table.insert(Bright,BR)
  913. BR=BR-.1
  914. end
  915. table.insert(Bright,0)
  916. for i, v in pairs(Bright) do
  917. print(v)
  918. end
  919. Lighting.Brightness=1
  920. spawn(function()
  921. for i=1,#Bright do
  922. Lighting.Brightness=Bright[i]
  923. wait(.1)
  924. end
  925. end)
  926. local C1=part(Char,true,false,v3(1,1,1),Torso.CFrame*CFrame.new(0,155,0),c3(90/255,97/255,99/255),"Plastic",1)
  927. local C1m=spmesh(C1,"rbxassetid://1095708",v3(1000,50,1000))
  928. for i=1,#Bright do
  929. C1.Transparency=Bright[i]
  930. wait(.1)
  931. end
  932. chat:Chat(Char.Head,"Open! Hades Gate!","Green")
  933. --PORTAL
  934. Portalling=true
  935. for i=1,2 do
  936. local Spoke1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,1),"Plastic",1)
  937. local pp1=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  938. local pp2=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  939. local pp3=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  940. local pp4=part(Char,false,false,v3(2,2,2),Torso.CFrame,c3(0,1,1),"Plastic",1)
  941. local POS=part(Char,false,false,v3(2,2,2),Torso.CFrame*angles(math.rad(90),0,0)*cf(0,0,-140),c3(0,1,1),"Plastic",1)
  942.  
  943. local wel0=it("Weld",Char)
  944. wel0.Part0=Spoke1
  945. wel0.Part1=POS
  946. wait()
  947. local wel1=it("Weld",Char)
  948. wel1.Part0=POS
  949. wel1.Part1=pp1
  950. wait()
  951. wel1.C0=wel1.C0*cf(0,60,0)
  952. wait()
  953. local wel2=it("Weld",Char)
  954. wel2.Part0=POS
  955. wel2.Part1=pp2
  956. wel2.C0=wel2.C0*cf(0,-60,0)
  957. wait()
  958.  
  959. local wel3=it("Weld",Char)
  960. wel3.Part0=POS
  961. wel3.Part1=pp3
  962. wel3.C0=wel3.C0*cf(-60,0,0)
  963. wait()
  964. local wel4=it("Weld",Char)
  965. wel4.Part0=POS
  966. wel4.Part1=pp4
  967. wel4.C0=wel4.C0*cf(60,0,0)
  968. local TransPoints={
  969. NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(.51,0,0),NumberSequenceKeypoint.new(.517,.0123,0),
  970. NumberSequenceKeypoint.new(.767,0.0926,0),NumberSequenceKeypoint.new(.88,.395,0),NumberSequenceKeypoint.new(1,1,0)
  971. }
  972. local SizePoints={
  973. NumberSequenceKeypoint.new(0,4.56,0),NumberSequenceKeypoint.new(.046,4.44,0),NumberSequenceKeypoint.new(.144,4.25,0),
  974. NumberSequenceKeypoint.new(.521,4,0),NumberSequenceKeypoint.new(1,3.75,0)
  975. }
  976. local PE1=PEE(pp1,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Bottom",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect1","rbxassetid://300899374")
  977. local PE2=PEE(pp2,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Top",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect2","rbxassetid://300899374")
  978. local PE3=PEE(pp3,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Right",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect3","rbxassetid://300899374")
  979. local PE4=PEE(pp4,NumberSequence.new(SizePoints),ColorSequence.new(Color3.new(1,1,1),Color3.new(0,1,1)),.6,NumberSequence.new(TransPoints),v3(0,0,0),false,"Left",true,NumberRange.new(6,6,6),499999997952.000,NumberRange.new(0,0,0),NumberRange.new(0,0,0),NumberRange.new(6,6,6),0,"SpinningPortalEffect4","rbxassetid://300899374")
  980. spawn(function()
  981.  
  982.  
  983. while Portalling==true do
  984. wait()
  985. POS.CFrame=POS.CFrame*angles(0,0,math.rad(3))
  986. end
  987. POS:Destroy()
  988. pp1:Destroy()
  989. pp2:Destroy()
  990. pp3:Destroy()
  991. pp4:Destroy()
  992. end)
  993. wait(.5)
  994. end
  995. wait(5)
  996. newpos()
  997. chat:Chat(Char.Head,"Now, You Will Know What It's Like To Burn.","Green")
  998. Ging=false
  999. Ring:Destroy()
  1000. Ring2:Destroy()
  1001. ball:Destroy()
  1002. ball2:Destroy()
  1003. for i,v in pairs(Clear) do
  1004. v:Destroy()
  1005. end
  1006. wait(3)
  1007. --anims
  1008. chat:Chat(Char.Head,"DIE!!!!!","Green")
  1009. defpos()
  1010.  
  1011. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1012. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1013. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1014. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1015. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
  1016. local cylp=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(0,0,math.rad(90)),c3(0,1,0),"Neon",.5)
  1017. local clym=mesh(cylp,"Cylinder",v3(5000,60,40))
  1018. smoothNO(cylp)
  1019. spawn(function()
  1020. while REKING==true do r:wait()
  1021. cylp.CFrame=Torso.CFrame*angles(0,0,math.rad(90))*CFrame.new(ran(-2,2),0,ran(-2,2))
  1022. end
  1023. end)
  1024. local Explosion=function()
  1025. local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
  1026. local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
  1027. local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
  1028. local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1029. local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1030. local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
  1031. local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1032. local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1033. local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
  1034. local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
  1035. local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
  1036. local bm2=mesh(b2,"Sphere",v3(40,40,40))
  1037. local bm3=mesh(b3,"Sphere",v3(42,42,42))
  1038. local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
  1039. local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
  1040. local bbm=mesh(bb,"Sphere",v3(60,60,60))
  1041. local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
  1042. local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
  1043. local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
  1044. local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
  1045. wait()
  1046. smoothNO(b1)
  1047. smoothNO(b2)
  1048. smoothNO(bb)
  1049. RealDamage(Torso,70,200,70,false)
  1050. for i=1,400 do r:wait()
  1051. --CFrames
  1052. b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
  1053. r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1054. r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1055. gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1056. gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1057. sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
  1058. sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
  1059. --Sizing
  1060. bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
  1061. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
  1062. bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
  1063. rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
  1064. rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
  1065. bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
  1066. grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
  1067. grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
  1068. ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
  1069. ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
  1070. --Transparency
  1071. b1.Transparency=.7+i/400
  1072. b2.Transparency=.7+i/400
  1073. b3.Transparency=.7+i/400
  1074. r1.Transparency=.7+i/400
  1075. r2.Transparency=.7+i/400
  1076. bb.Transparency=.7+i/400
  1077. gr.Transparency=.7+i/400
  1078. gr2.Transparency=.7+i/400
  1079. sw.Transparency=.7+i/400
  1080. sw2.Transparency=.7+i/400
  1081.  
  1082. end
  1083. --Destroying
  1084. b1:Destroy()
  1085. b2:Destroy()
  1086. b3:Destroy()
  1087. r1:Destroy()
  1088. r2:Destroy()
  1089. bb:Destroy()
  1090. gr:Destroy()
  1091. gr2:Destroy()
  1092. sw:Destroy()
  1093. sw2:Destroy()
  1094. end
  1095. for i=1,30 do r:wait()
  1096. spawn(function()
  1097. Explosion()
  1098. end)
  1099. wait(.89)
  1100. end
  1101. REKING=false
  1102. NBright={}
  1103. local NBR=0
  1104. for i=1,10 do
  1105. table.insert(NBright,NBR)
  1106. NBR=NBR+.1
  1107. end
  1108. print"boop"
  1109. for i, v in pairs(NBright) do
  1110. print(v)
  1111. end
  1112. for i=1,#NBright do
  1113. Lighting.Brightness=NBright[i]
  1114. wait(.1)
  1115. end
  1116. Lighting.Brightness=1
  1117. Portalling=false
  1118. for i=1,10 do wait()
  1119. C1.Transparency=i/10
  1120. cylp.Transparency=.5+i/10
  1121. end
  1122. Torso.Anchored=false
  1123. newpos()
  1124. attacking=false
  1125. canattack=true
  1126.  
  1127. end
  1128. end)
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134. Mouse.KeyDown:connect(function(Key)
  1135. if Key=="p" and attacking==false then attacking=true
  1136. chat:Chat(Char.Head,"URAGH!","Green")
  1137. local Explosion=function()
  1138. local b1=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.5)--spike mesh in middle
  1139. local b2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.6)--black ball mesh thats big and expands
  1140. local b3=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--green ball mesh that coats black ball mesh
  1141. local r1=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1142. local r2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,0,0),"Neon",.6)--ring that rotates around section
  1143. local bb=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,0,0),"Neon",.7)--black ball that envelopes all >:D rhymes
  1144. local gr=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1145. local gr2=part(Char,true,false,v3(1,1,1),Torso.CFrame*angles(ran(-10,10),ran(-10,10),ran(-10,10)),c3(0,1,0),"Neon",.7)--green ring that goes around bb
  1146. local sw=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--shockwave around whole fing
  1147. local sw2=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)--another shockwave around whole fing
  1148. local bm1=spmesh(b1,"rbxassetid://9982590",v3(8,8,8))
  1149. local bm2=mesh(b2,"Sphere",v3(40,40,40))
  1150. local bm3=mesh(b3,"Sphere",v3(42,42,42))
  1151. local rm1=spmesh(r1,"rbxassetid://3270017",v3(50,50,30))
  1152. local rm2=spmesh(r2,"rbxassetid://3270017",v3(50,50,30))
  1153. local bbm=mesh(bb,"Sphere",v3(60,60,60))
  1154. local grm1=spmesh(gr,"rbxassetid://3270017",v3(80,80,50))
  1155. local grm2=spmesh(gr2,"rbxassetid://3270017",v3(80,80,50))
  1156. local ss1=spmesh(sw,"rbxassetid://20329976",v3(40,15,40))
  1157. local ss2=spmesh(sw2,"rbxassetid://20329976",v3(48,5,48))
  1158. wait()
  1159. smoothNO(b1)
  1160. smoothNO(b2)
  1161. smoothNO(bb)
  1162. for i=1,400 do r:wait()
  1163. --CFrames
  1164. b1.CFrame=b1.CFrame:lerp(b1.CFrame*CFrame.Angles(rad(3),0,rad(3)),.4)
  1165. r1.CFrame=r1.CFrame:lerp(r1.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1166. r2.CFrame=r2.CFrame:lerp(r2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.3)
  1167. gr.CFrame=gr.CFrame:lerp(gr.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1168. gr2.CFrame=gr2.CFrame:lerp(gr2.CFrame*CFrame.Angles(math.rad(ran(1,30)),math.rad(ran(1,30)),math.rad(ran(1,30))),.1)
  1169. sw.CFrame=sw.CFrame:lerp(sw.CFrame*CFrame.Angles(0,math.rad(5),0),.4)
  1170. sw2.CFrame=sw2.CFrame:lerp(sw2.CFrame*CFrame.Angles(0,math.rad(-5),0),.4)
  1171. --Sizing
  1172. bm1.Scale=bm1.Scale:Lerp(bm1.Scale+Vector3.new(1.8,1.8,1.8),.069)--hehe
  1173. bm2.Scale=bm2.Scale:Lerp(bm2.Scale+Vector3.new(6,6,6),.1)
  1174. bm3.Scale=bm3.Scale:Lerp(bm3.Scale+Vector3.new(6,6,6),.1)
  1175. rm1.Scale=rm1.Scale:Lerp(rm1.Scale+Vector3.new(7,7,7),.1)
  1176. rm2.Scale=rm2.Scale:Lerp(rm2.Scale+Vector3.new(7,7,7),.1)
  1177. bbm.Scale=bbm.Scale:Lerp(bbm.Scale+Vector3.new(8,8,8),.1)
  1178. grm1.Scale=grm1.Scale:Lerp(grm1.Scale+Vector3.new(7,7,7),.1)
  1179. grm2.Scale=grm2.Scale:Lerp(grm2.Scale+Vector3.new(7,7,7),.1)
  1180. ss1.Scale=ss1.Scale:Lerp(ss1.Scale+Vector3.new(7,3,7),.1)
  1181. ss2.Scale=ss2.Scale:Lerp(ss2.Scale+Vector3.new(7,2,7),.1)
  1182. --Transparency
  1183. b1.Transparency=.7+i/400
  1184. b2.Transparency=.7+i/400
  1185. b3.Transparency=.7+i/400
  1186. r1.Transparency=.7+i/400
  1187. r2.Transparency=.7+i/400
  1188. bb.Transparency=.7+i/400
  1189. gr.Transparency=.7+i/400
  1190. gr2.Transparency=.7+i/400
  1191. sw.Transparency=.7+i/400
  1192. sw2.Transparency=.7+i/400
  1193.  
  1194. end
  1195. b1:Destroy()
  1196. b2:Destroy()
  1197. b3:Destroy()
  1198. r1:Destroy()
  1199. r2:Destroy()
  1200. bb:Destroy()
  1201. gr:Destroy()
  1202. gr2:Destroy()
  1203. sw:Destroy()
  1204. sw2:Destroy()
  1205. end
  1206. Torso.Anchored=true
  1207. RS.C0 = clerp(RS.C0,RS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1208. LS.C0 = clerp(LS.C0,LS.C0* angles(rad(-30), rad(0), rad(0)), 1)
  1209. RH.C0 = clerp(RH.C0,RH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1210. LH.C0 = clerp(LH.C0,LH.C0* angles(rad(-10), rad(0), rad(0)), 1)
  1211. Neck.C0 = clerp(Neck.C0,Neck.C0*angles(rad(-35), rad(0), rad(0)), 1)
  1212. spawn(function()
  1213. Explosion()
  1214. end)
  1215. wait(2)
  1216. Torso.Anchored=false
  1217. newpos()
  1218.  
  1219. attacking=false
  1220. end
  1221. end)
  1222.  
  1223. Mouse.KeyDown:connect(function(Key)
  1224. if Key=="l" then
  1225. local poop=part(Char,true,false,v3(1,1,1),Torso.CFrame,c3(0,1,0),"Neon",.7)
  1226. local cyl=mesh(poop,"Cylinder",v3(1,1,1))
  1227. for i=1,60,.2 do r:wait()
  1228. cyl.Scale=Vector3.new(i*2,i*2,4)
  1229. poop.CFrame=Torso.CFrame*CFrame.new(0,0,-i)*CFrame.Angles(0,rad(90),0)
  1230. end
  1231.  
  1232. end
  1233. end)
  1234.  
  1235. Mouse.KeyDown:connect(function(Key)
  1236. if Key=="m" then
  1237. local poop=part(Char,true,false,v3(1,1,1),Torso.CFrame*cf(ran(3,10),ran(0,10),ran(3,10)),c3(0,1,0),"Neon",.7)
  1238. poop.CFrame=poop.CFrame*CFrame.new(poop.Position-Torso.Position,poop.Position)
  1239. end
  1240. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement