Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. Character = game.Players.LocalPlayer.Character
  7. Head = Character.Head
  8.  
  9. CV="Blue"
  10. p = game.Players.LocalPlayer
  11. char = p.Character
  12. local txt = Instance.new("BillboardGui", char)
  13. txt.Adornee = char .Head
  14. txt.Name = "_status"
  15. txt.Size = UDim2.new(2, 0, 1.2, 0)
  16. txt.StudsOffset = Vector3.new(-9, 8, 0)
  17. local text = Instance.new("TextLabel", txt)
  18. local Transparency = 1
  19. text.Size = UDim2.new(10, 0, 7, 0)
  20. text.FontSize = "Size24"
  21. text.TextScaled = true
  22. text.TextTransparency = 1
  23. text.BackgroundTransparency = 1
  24. text.TextTransparency = 1
  25. text.TextStrokeTransparency = 0
  26. text.Font = "ArialBold"
  27. text.TextStrokeColor3 = Color3.new(255, 0, 0)
  28.  
  29. v=Instance.new("Part")
  30. v.Name = "ColorBrick"
  31. v.Parent=p.Character
  32. v.FormFactor="Symmetric"
  33. v.Anchored=true
  34. v.CanCollide=false
  35. v.BottomSurface="Smooth"
  36. v.TopSurface="Smooth"
  37. v.Size=Vector3.new(10,5,3)
  38. v.Transparency=1
  39. v.CFrame=char.Torso.CFrame
  40. v.BrickColor=BrickColor.new(CV)
  41. v.Transparency=1
  42. text.TextColor3 = Color3.new(255, 0, 0)
  43. v.Shape="Block"
  44. text.Text = ""
  45.  
  46. local s = Instance.new("Sound",char)
  47. s.Name = "BGMusic"
  48. s.SoundId = "rbxassetid://0"
  49. s.Pitch = 1
  50. s.Volume = 10
  51. s.Looped = true
  52. s.archivable = false
  53. s.Parent = char.Head
  54. wait(0.1)
  55. s:play()
  56.  
  57. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  58. print("LightLoaded.")
  59. print("Unleash the deadly fire to anyone to destroy.")
  60. p = game.Players.LocalPlayer
  61. char = p.Character
  62. torso = char.Torso
  63. neck = char.Torso.Neck
  64.  
  65. Player=game:GetService("Players").LocalPlayer
  66. Character=Player.Character
  67. PlayerGui=Player.PlayerGui
  68. Backpack=Player.Backpack
  69. Torso=Character.Torso
  70. Head=Character.Head
  71. Humanoid=Character.Humanoid
  72. LeftArm=Character["Left Arm"]
  73. LeftLeg=Character["Left Leg"]
  74. RightArm=Character["Right Arm"]
  75. RightLeg=Character["Right Leg"]
  76. cam=game.Workspace.CurrentCamera
  77. LS=Torso["Left Shoulder"]
  78. LH=Torso["Left Hip"]
  79. RS=Torso["Right Shoulder"]
  80. RH=Torso["Right Hip"]
  81. Face = Head.face
  82. Neck=Torso.Neck
  83. it=Instance.new
  84. attacktype=1
  85. vt=Vector3.new
  86. cf=CFrame.new
  87. euler=CFrame.fromEulerAnglesXYZ
  88. angles=CFrame.Angles
  89. cloaked=false
  90. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  91. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  92. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  93. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  94. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  95. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  96. RootPart=Character.HumanoidRootPart
  97. RootJoint=RootPart.RootJoint
  98. RootCF=euler(-1.57,0,3.14)
  99. attack = false
  100. bounce=false
  101. cooldown=false
  102. deeznuts=false
  103. attackdebounce = false
  104. deb=false
  105. equipped=true
  106. hand=false
  107. MMouse=nil
  108. combo=0
  109. mana=0
  110. trispeed=.2
  111. attackmode='none'
  112. local idle=0
  113. local Anim="Idle"
  114. local Effects={}
  115. local gun=false
  116. local shoot=false
  117. player=nil
  118. mana=0
  119. cam = workspace.CurrentCamera
  120. ZTarget = nil
  121. RocketTarget = nil
  122. local m = Instance.new("Model",Character)
  123. m.Name = "WeaponModel"
  124.  
  125. mouse=Player:GetMouse()
  126. --save shoulders
  127. RSH, LSH=nil, nil
  128. --welds
  129. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  130. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  131. LH=Torso["Left Hip"]
  132. RH=Torso["Right Hip"]
  133. TorsoColor=Torso.BrickColor
  134. function NoOutline(Part)
  135. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  136. end
  137. player=Player
  138. ch=Character
  139. RSH=ch.Torso["Right Shoulder"]
  140. LSH=ch.Torso["Left Shoulder"]
  141. --
  142. RSH.Parent=nil
  143. LSH.Parent=nil
  144. --
  145. RW.Name="Right Shoulder"
  146. RW.Part0=ch.Torso
  147. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  148. RW.C1=cf(0, 0.5, 0)
  149. RW.Part1=ch["Right Arm"]
  150. RW.Parent=ch.Torso
  151. --
  152. LW.Name="Left Shoulder"
  153. LW.Part0=ch.Torso
  154. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  155. LW.C1=cf(0, 0.5, 0)
  156. LW.Part1=ch["Left Arm"]
  157. LW.Parent=ch.Torso
  158.  
  159. function swait(num)
  160. if num==0 or num==nil then
  161. game:service'RunService'.Heartbeat:wait(0)
  162. else
  163. for i=0,num do
  164. game:service'RunService'.Heartbeat:wait(0)
  165. end
  166. end
  167. end
  168.  
  169.  
  170. local Player = game.Players.LocalPlayer
  171. local Character = Player.Character
  172. local red = 255
  173. local green = 255
  174. local blue = 255
  175. local Humanoid = Character.Humanoid
  176. local mouse = Player:GetMouse()
  177. local m = Instance.new("Model", Character)
  178. m.Name = "WeaponModel"
  179. local LeftArm = Character["Left Arm"]
  180. local RightArm = Character["Right Arm"]
  181. local LeftLeg = Character["Left Leg"]
  182. local RightLeg = Character["Right Leg"]
  183. local Head = Character.Head
  184. local Torso = Character.Torso
  185. local cam = game.Workspace.CurrentCamera
  186. local RootPart = Character.HumanoidRootPart
  187. local RootJoint = RootPart.RootJoint
  188. local equipped = false
  189. local attack = false
  190. local Anim = "Idle"
  191. local idle = 0
  192. local attacktype = 1
  193. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  194. local velocity = RootPart.Velocity.y
  195. local sine = 0
  196. local change = 1
  197. local grabbed = false
  198. local cn = CFrame.new
  199. local mr = math.rad
  200. local angles = CFrame.Angles
  201. local ud = UDim2.new
  202. local c3 = Color3.new
  203. local lim = 0
  204. local st = 0
  205. local necko = cn(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  206. local attacktype = 1
  207. local ZTarget, RocketTarget = nil, nil
  208. local euler = CFrame.fromEulerAnglesXYZ
  209. function clerp(a,b,t)
  210. local qa = {QuaternionFromCFrame(a)}
  211. local qb = {QuaternionFromCFrame(b)}
  212. local ax, ay, az = a.x, a.y, a.z
  213. local bx, by, bz = b.x, b.y, b.z
  214. local _t = 1-t
  215. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  216. end
  217.  
  218. function QuaternionFromCFrame(cf)
  219. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  220. local trace = m00 + m11 + m22
  221. if trace > 0 then
  222. local s = math.sqrt(1 + trace)
  223. local recip = 0.5/s
  224. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  225. else
  226. local i = 0
  227. if m11 > m00 then
  228. i = 1
  229. end
  230. if m22 > (i == 0 and m00 or m11) then
  231. i = 2
  232. end
  233. if i == 0 then
  234. local s = math.sqrt(m00-m11-m22+1)
  235. local recip = 0.5/s
  236. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  237. elseif i == 1 then
  238. local s = math.sqrt(m11-m22-m00+1)
  239. local recip = 0.5/s
  240. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  241. elseif i == 2 then
  242. local s = math.sqrt(m22-m00-m11+1)
  243. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  244. end
  245. end
  246. end
  247.  
  248. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  249. local xs, ys, zs = x + x, y + y, z + z
  250. local wx, wy, wz = w*xs, w*ys, w*zs
  251. local xx = x*xs
  252. local xy = x*ys
  253. local xz = x*zs
  254. local yy = y*ys
  255. local yz = y*zs
  256. local zz = z*zs
  257. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  258. end
  259.  
  260. function QuaternionSlerp(a, b, t)
  261. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  262. local startInterp, finishInterp;
  263. if cosTheta >= 0.0001 then
  264. if (1 - cosTheta) > 0.0001 then
  265. local theta = math.acos(cosTheta)
  266. local invSinTheta = 1/math.sin(theta)
  267. startInterp = math.sin((1-t)*theta)*invSinTheta
  268. finishInterp = math.sin(t*theta)*invSinTheta
  269. else
  270. startInterp = 1-t
  271. finishInterp = t
  272. end
  273. else
  274. if (1+cosTheta) > 0.0001 then
  275. local theta = math.acos(-cosTheta)
  276. local invSinTheta = 1/math.sin(theta)
  277. startInterp = math.sin((t-1)*theta)*invSinTheta
  278. finishInterp = math.sin(t*theta)*invSinTheta
  279. else
  280. startInterp = t-1
  281. finishInterp = t
  282. end
  283. end
  284. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  285. end
  286. rayCast = function(Position, Direction, Range, Ignore)
  287. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  288. end
  289. local v = game.Players.LocalPlayer
  290. local torso = v.Character.Torso
  291.  
  292. plr = game.Players.LocalPlayer
  293. char = game.Players.LocalPlayer.Character
  294. hum = game.Players.LocalPlayer.Character.Humanoid
  295. t = game.Players.LocalPlayer.Character.Torso
  296. h = game.Players.LocalPlayer.Character.Head
  297. ra = game.Players.LocalPlayer.Character["Right Arm"]
  298. la = game.Players.LocalPlayer.Character["Left Arm"]
  299. rl = game.Players.LocalPlayer.Character["Right Leg"]
  300. ll = game.Players.LocalPlayer.Character["Left Leg"]
  301. tors = Character.Torso
  302. lleg = Character["Left Leg"]
  303. root = Character.HumanoidRootPart
  304. hed = Character.Head
  305. rleg = Character["Right Leg"]
  306. rarm = Character["Right Arm"]
  307. larm = Character["Left Arm"]
  308. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  309. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  310. local Effects = {}
  311. attack = false
  312. local attacking = false
  313. vt = Vector3.new
  314. bc = BrickColor.new
  315. br = BrickColor.random
  316. it = Instance.new
  317. cf = CFrame.new
  318. euler = CFrame.fromEulerAnglesXYZ
  319. angles = CFrame.Angles
  320. matr = math.random
  321. local colororg = BrickColor.new("Dark indigo") -- set color u like
  322. local meshtype = "Sphere" -- only for specialmesh
  323. mouse = plr:GetMouse()
  324.  
  325. CFuncs = {
  326. ["Part"] = {
  327. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  328. local Part = Create("Part"){
  329. Parent = Parent,
  330. Reflectance = Reflectance,
  331. Transparency = Transparency,
  332. CanCollide = false,
  333. Locked = true,
  334. BrickColor = BrickColor.new(tostring(BColor)),
  335. Name = Name,
  336. Size = Size,
  337. Material = Material,
  338. }
  339. RemoveOutlines(Part)
  340. return Part
  341. end;
  342. };
  343.  
  344. ["Mesh"] = {
  345. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  346. local Msh = Create(Mesh){
  347. Parent = Part,
  348. Offset = OffSet,
  349. Scale = Scale,
  350. }
  351. if Mesh == "SpecialMesh" then
  352. Msh.MeshType = MeshType
  353. Msh.MeshId = MeshId
  354. end
  355. return Msh
  356. end;
  357. };
  358.  
  359. ["Mesh"] = {
  360. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  361. local Msh = Create(Mesh){
  362. Parent = Part,
  363. Offset = OffSet,
  364. Scale = Scale,
  365. }
  366. if Mesh == "SpecialMesh" then
  367. Msh.MeshType = MeshType
  368. Msh.MeshId = MeshId
  369. end
  370. return Msh
  371. end;
  372. };
  373.  
  374. ["Weld"] = {
  375. Create = function(Parent, Part0, Part1, C0, C1)
  376. local Weld = Create("Weld"){
  377. Parent = Parent,
  378. Part0 = Part0,
  379. Part1 = Part1,
  380. C0 = C0,
  381. C1 = C1,
  382. }
  383. return Weld
  384. end;
  385. };
  386.  
  387. ["Sound"] = {
  388. Create = function(id, par, vol, pit)
  389. coroutine.resume(coroutine.create(function()
  390. local S = Create("Sound"){
  391. Volume = vol,
  392. Pitch = pit or 1,
  393. SoundId = id,
  394. Parent = par or workspace,
  395. }
  396. wait()
  397. S:play()
  398. game:GetService("Debris"):AddItem(S, 6)
  399. end))
  400. end;
  401. };
  402.  
  403. ["ParticleEmitter"] = {
  404. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  405. local fp = Create("ParticleEmitter"){
  406. Parent = Parent,
  407. Color = ColorSequence.new(Color1, Color2),
  408. LightEmission = LightEmission,
  409. Size = Size,
  410. Texture = Texture,
  411. Transparency = Transparency,
  412. ZOffset = ZOffset,
  413. Acceleration = Accel,
  414. Drag = Drag,
  415. LockedToPart = LockedToPart,
  416. VelocityInheritance = VelocityInheritance,
  417. EmissionDirection = EmissionDirection,
  418. Enabled = Enabled,
  419. Lifetime = LifeTime,
  420. Rate = Rate,
  421. Rotation = Rotation,
  422. RotSpeed = RotSpeed,
  423. Speed = Speed,
  424. VelocitySpread = VelocitySpread,
  425. }
  426. return fp
  427. end;
  428. };
  429.  
  430. CreateTemplate = {
  431.  
  432. };
  433. }
  434.  
  435.  
  436.  
  437. New = function(Object, Parent, Name, Data)
  438. local Object = Instance.new(Object)
  439. for Index, Value in pairs(Data or {}) do
  440. Object[Index] = Value
  441. end
  442. Object.Parent = Parent
  443. Object.Name = Name
  444. return Object
  445. end
  446.  
  447. function chatfunc(text)
  448. local chat = coroutine.wrap(function()
  449. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  450. Character:FindFirstChild("TalkingBillBoard"):destroy()
  451. end
  452. local naeeym2 = Instance.new("BillboardGui",Character)
  453. naeeym2.Size = UDim2.new(0,100,0,40)
  454. naeeym2.StudsOffset = Vector3.new(0,3,0)
  455. naeeym2.Adornee = Character.Head
  456. naeeym2.Name = "TalkingBillBoard"
  457. local tecks2 = Instance.new("TextLabel",naeeym2)
  458. tecks2.BackgroundTransparency = 1
  459. tecks2.BorderSizePixel = 0
  460. tecks2.Text = ""
  461. tecks2.Font = "SciFi"
  462. tecks2.TextSize = 30
  463. tecks2.TextStrokeTransparency = 0
  464. tecks2.TextColor3 = Color3.new(255, 0, 0)
  465. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  466. tecks2.Size = UDim2.new(1,0,0.5,0)
  467. local tecks3 = Instance.new("TextLabel",naeeym2)
  468. tecks3.BackgroundTransparency = 1
  469. tecks3.BorderSizePixel = 0
  470. tecks3.Text = ""
  471. tecks3.Font = "SciFi"
  472. tecks3.TextSize = 30
  473. tecks3.TextStrokeTransparency = 0
  474. tecks3.TextColor3 = Color3.new(255, 0, 0)
  475. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  476. tecks3.Size = UDim2.new(1,0,0.5,0)
  477. for i = 1,string.len(text),1 do
  478. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
  479. tecks2.Text = string.sub(text,1,i)
  480. tecks3.Text = string.sub(text,1,i)
  481. wait(0.01)
  482. end
  483. wait(2)
  484. for i = 1, 50 do
  485. swait()
  486. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  487. tecks2.Rotation = tecks2.Rotation - .8
  488. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  489. tecks2.TextTransparency = tecks2.TextTransparency + 1
  490. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  491. tecks3.Rotation = tecks2.Rotation + .8
  492. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  493. tecks3.TextTransparency = tecks2.TextTransparency + 1
  494. end
  495. naeeym2:Destroy()
  496. end)
  497. chat()
  498. end
  499. function onChatted(msg)
  500. chatfunc(msg)
  501. end
  502. Player.Chatted:connect(onChatted)
  503.  
  504.  
  505. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  506. if hit.Parent==nil then
  507. return
  508. end
  509. h=hit.Parent:FindFirstChild("Humanoid")
  510. for _,v in pairs(hit.Parent:children()) do
  511. if v:IsA("Humanoid") then
  512. h=v
  513. end
  514. end
  515. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  516. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  517. end
  518. if hit.Parent.className=="Hat" then
  519. hit=hit.Parent.Parent:findFirstChild("Head")
  520. end
  521. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  522. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  523. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  524. return
  525. end]]
  526. -- hs(hit,1.2)
  527. c=Instance.new("ObjectValue")
  528. c.Name="creator"
  529. c.Value=game:service("Players").everymanbuthimself19
  530. c.Parent=h
  531. game:GetService("Debris"):AddItem(c,.5)
  532. Damage=math.random(minim,maxim)
  533. -- h:TakeDamage(Damage)
  534. blocked=false
  535. block=hit.Parent:findFirstChild("Block")
  536. if block~=nil then
  537. print(block.className)
  538. if block.className=="NumberValue" then
  539. if block.Value>0 then
  540. blocked=true
  541. if decreaseblock==nil then
  542. block.Value=block.Value-1
  543. end
  544. end
  545. end
  546. if block.className=="IntValue" then
  547. if block.Value>0 then
  548. blocked=true
  549. if decreaseblock~=nil then
  550. block.Value=block.Value-1
  551. end
  552. end
  553. end
  554. end
  555. if blocked==false then
  556. -- h:TakeDamage(Damage)
  557. h.Health=h.Health-Damage
  558. showDamage(hit.Parent,Damage,3,TorsoColor)
  559. else
  560. h.Health=h.Health-(Damage/2)
  561. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Persimmon"))
  562. end
  563. if Type=="Knockdown" then
  564. hum=hit.Parent.Humanoid
  565. hum.PlatformStand=true
  566. coroutine.resume(coroutine.create(function(HHumanoid)
  567. swait(1)
  568. HHumanoid.PlatformStand=false
  569. end),hum)
  570. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  571. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  572. local bodvol=Instance.new("BodyVelocity")
  573. bodvol.velocity=angle*knockback
  574. bodvol.P=5000
  575. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  576. bodvol.Parent=hit
  577. rl=Instance.new("BodyAngularVelocity")
  578. rl.P=3000
  579. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  580. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  581. rl.Parent=hit
  582. game:GetService("Debris"):AddItem(bodvol,.5)
  583. game:GetService("Debris"):AddItem(rl,.5)
  584. elseif Type=="Normal" then
  585. vp=Instance.new("BodyVelocity")
  586. vp.P=500
  587. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  588. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  589. if KnockbackType==1 then
  590. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  591. elseif KnockbackType==2 then
  592. vp.velocity=Property.CFrame.lookVector*knockback
  593. end
  594. if knockback>0 then
  595. vp.Parent=hit.Parent.Torso
  596. end
  597. game:GetService("Debris"):AddItem(vp,.5)
  598. elseif Type=="Up" then
  599. local bodyVelocity=Instance.new("BodyVelocity")
  600. bodyVelocity.velocity=vt(0,10,0)
  601. bodyVelocity.P=1000
  602. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  603. bodyVelocity.Parent=hit
  604. game:GetService("Debris"):AddItem(bodyVelocity,1)
  605. rl=Instance.new("BodyAngularVelocity")
  606. rl.P=3000
  607. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  608. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  609. rl.Parent=hit
  610. game:GetService("Debris"):AddItem(rl,.5)
  611. elseif Type=="Snare" then
  612. bp=Instance.new("BodyPosition")
  613. bp.P=2000
  614. bp.D=100
  615. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  616. bp.position=hit.Parent.Torso.Position
  617. bp.Parent=hit.Parent.Torso
  618. game:GetService("Debris"):AddItem(bp,1)
  619. elseif Type=="Target" then
  620. if Targetting==false then
  621. ZTarget=hit.Parent.Torso
  622. coroutine.resume(coroutine.create(function(Part)
  623. swait(5)
  624. end),ZTarget)
  625. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  626. targetgui=Instance.new("BillboardGui")
  627. targetgui.Parent=ZTarget
  628. targetgui.Size=UDim2.new(10,100,10,100)
  629. targ=Instance.new("ImageLabel")
  630. targ.Parent=targetgui
  631. targ.BackgroundTransparency=1
  632. targ.Image="rbxassetid://4834067"
  633. targ.Size=UDim2.new(1,0,1,0)
  634. cam.CameraType="Scriptable"
  635. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  636. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  637. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  638. Targetting=true
  639. RocketTarget=ZTarget
  640. for i=1,Property do
  641. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  642. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  643. swait()
  644. end
  645. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  646. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  647. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  648. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  649. end
  650. Targetting=false
  651. RocketTarget=nil
  652. targetgui.Parent=nil
  653. cam.CameraType="Custom"
  654. end
  655. end
  656. debounce=Instance.new("BoolValue")
  657. debounce.Name="DebounceHit"
  658. debounce.Parent=hit.Parent
  659. debounce.Value=true
  660. game:GetService("Debris"):AddItem(debounce,Delay)
  661. c=Instance.new("ObjectValue")
  662. c.Name="creator"
  663. c.Value=Player
  664. c.Parent=h
  665. game:GetService("Debris"):AddItem(c,.5)
  666. CRIT=false
  667. hitDeb=true
  668. AttackPos=6
  669. end
  670. end
  671.  
  672. showDamage=function(Char,Dealt,du,Color)
  673. m=Instance.new("Model")
  674. m.Name=""
  675. h=Instance.new("Humanoid")
  676. h.Health=0
  677. h.MaxHealth=0
  678. h.Parent=m
  679. c=Instance.new("Part")
  680. c.Transparency=0
  681. c.Material = "Neon"
  682. c.BrickColor=bc("Crimson")
  683. c.Name="Head"
  684. c.TopSurface=0
  685. c.BottomSurface=0
  686. CV="Hot pink"
  687.  
  688. local txt = Instance.new("BillboardGui", c)
  689. txt.Adornee = c
  690. txt.Name = "_status"
  691. txt.Size = UDim2.new(2, 0, 1.2, 0)
  692. txt.StudsOffset = Vector3.new(-9, 8, 0)
  693. local text = Instance.new("TextLabel", txt)
  694. text.Size = UDim2.new(10, 0, 7, 0)
  695. text.FontSize = "Size24"
  696. text.TextScaled = true
  697. text.TextTransparency = 1
  698. text.BackgroundTransparency = 1
  699. text.TextTransparency = 1
  700. text.TextStrokeTransparency = 0
  701. if Dealt < 12 then
  702. text.Font = "Highway"
  703. elseif Dealt < 20 then
  704. text.Font = "SourceSansBold"
  705. elseif Dealt >= 20 then
  706. text.Font = "Fantasy"
  707. end
  708. text.TextStrokeColor3 = BrickColor.new("Persimmon").Color
  709. local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  710. v=Instance.new("Part")
  711. v.Name = "ColorBrick"
  712. v.Parent=c
  713. v.FormFactor="Symmetric"
  714. v.Anchored=true
  715. v.CanCollide=false
  716. v.BottomSurface="Smooth"
  717. v.TopSurface="Smooth"
  718. v.Size=Vector3.new(10,5,3)
  719. v.Transparency=1
  720. v.CFrame=c.CFrame
  721. v.BrickColor=BrickColor.new(CV)
  722. v.Transparency=1
  723. if Dealt < 12 then
  724. text.TextColor3 = BrickColor.new("White").Color
  725. elseif Dealt < 20 then
  726. text.TextColor3 = BrickColor.new("Bright yellow").Color
  727. elseif Dealt >= 20 then
  728. text.TextColor3 = BrickColor.new("Really red").Color
  729. end
  730. v.Shape="Block"
  731. text.Text = tostring(Dealt).. "!"
  732. local dam = Instance.new("Sound",c)
  733. local rndm=math.random(1,#hitsounds)
  734. local r=rndm
  735. dam.SoundId = "http://www.roblox.com/asset/?id="..hitsounds[r]
  736. dam.Volume = 1.25
  737. dam.Pitch = 1
  738. dam:Play()
  739. c.formFactor="Plate"
  740. c.Transparency = 1
  741. c.Size=Vector3.new(1,.4,1)
  742. ms=Instance.new("CylinderMesh")
  743. ms.Scale=Vector3.new(.8,.8,.8)
  744. if CRIT==true then
  745. ms.Scale=Vector3.new(1,1.25,1)
  746. end
  747. ms.Parent=c
  748. c.Reflectance=0
  749. Instance.new("BodyGyro").Parent=c
  750. c.Parent=m
  751. if Char:findFirstChild("Head")~=nil then
  752. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  753. elseif Char.Parent:findFirstChild("Head")~=nil then
  754. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  755. end
  756. f=Instance.new("BodyPosition")
  757. f.P=2000
  758. f.D=100
  759. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  760. f.position=c.Position+Vector3.new(0,3,0)
  761. f.Parent=c
  762. game:GetService("Debris"):AddItem(m,.5+du)
  763. c.CanCollide=false
  764. m.Parent=workspace
  765. c.CanCollide=false
  766. wait(1)
  767. for l = 0, 9 do
  768. text.TextTransparency = text.TextTransparency + 0.1
  769. text.TextStrokeTransparency = text.TextStrokeTransparency + 0.1
  770. wait()
  771. end
  772. end
  773.  
  774. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  775. local gui = it(GuiType)
  776. gui.Parent = parent
  777. gui.Text = text
  778. gui.BackgroundTransparency = backtrans
  779. gui.BackgroundColor3 = backcol
  780. gui.SizeConstraint = "RelativeXY"
  781. gui.TextXAlignment = "Center"
  782. gui.TextYAlignment = "Center"
  783. gui.Position = pos
  784. gui.Size = size
  785. gui.Font = "SourceSans"
  786. gui.FontSize = "Size14"
  787. gui.TextWrapped = false
  788. gui.TextStrokeTransparency = 0
  789. gui.TextColor = BrickColor.new("White")
  790. return gui
  791. end
  792. ---- GUI set
  793. local basgui = it("GuiMain")
  794. basgui.Parent = Player.PlayerGui
  795. basgui.Name = "CooldownsGUI"
  796. local basframe = it("Frame")
  797. basframe.Parent = basgui
  798. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  799. basframe.BackgroundTransparency = 1
  800. basframe.BorderColor3 = Color3.new(17, 17, 17)
  801. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  802. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  803. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  804. basicgui.ZIndex = 2
  805. basicgui.Font = "Highway"
  806. basicgui.BackgroundTransparency = 0.5
  807. basicgui.BorderSizePixel = 0.65
  808. basicgui.TextScaled = true
  809. basicgui.Text = "(F)\nPolaris "
  810. basicgui.TextSize = 24
  811. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  812. basicgui2.ZIndex = 2
  813. basicgui2.Font = "Highway"
  814. basicgui2.BackgroundTransparency = 0.5
  815. basicgui2.BorderSizePixel = 0.65
  816. basicgui2.TextScaled = true
  817. basicgui2.Text = "(E)\nBlaze"
  818. basicgui2.TextSize = 24
  819. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  820. basicgui3.ZIndex = 2
  821. basicgui3.Font = "Highway"
  822. basicgui3.BackgroundTransparency = 0.5
  823. basicgui3.BorderSizePixel = 0.65
  824. basicgui3.TextScaled = true
  825. basicgui3.Text = "(Q)\nSparkBullet"
  826. basicgui3.TextSize = 24
  827. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  828. basicgui4.ZIndex = 2
  829. basicgui4.Font = "Highway"
  830. basicgui4.BackgroundTransparency = 0.5
  831. basicgui4.BorderSizePixel = 0.65
  832. basicgui4.TextScaled = true
  833. basicgui4.Text = "(R)\nSparkRealease"
  834. basicgui4.TextSize = 24
  835. local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  836. basicgui5.ZIndex = 2
  837. basicgui5.Font = "Highway"
  838. basicgui5.BackgroundTransparency = 0.5
  839. basicgui5.BorderSizePixel = 0.65
  840. basicgui5.TextScaled = true
  841. basicgui5.Text = "(Z)\nSpark"
  842. basicgui5.TextSize = 24
  843. local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  844. basicgui6.ZIndex = 2
  845. basicgui6.Font = "Highway"
  846. basicgui6.BackgroundTransparency = 0.5
  847. basicgui6.BorderSizePixel = 0.65
  848. basicgui6.TextScaled = true
  849. basicgui6.Text = "(X)\nSpark"
  850. basicgui6.TextSize = 24
  851.  
  852. local healthg = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Persimmon").Color, UDim2.new(-0.15, 0, 0.675, 0), UDim2.new(0.95, 0, 0.15, 0))
  853. healthg.ZIndex = 2
  854. healthg.Font = "Highway"
  855. healthg.BackgroundTransparency = 0.5
  856. healthg.BorderSizePixel = 0.65
  857. healthg.TextScaled = true
  858. healthg.Text = "health"
  859. healthg.TextSize = 24
  860.  
  861. char.Humanoid.Animator.Parent = nil
  862.  
  863. ---------------- set a position
  864. local handle = Instance.new("Part")
  865. handle.Parent = Character
  866. handle.Size = Vector3.new(0.2,0.2,0.2)
  867. handle.Archivable = true
  868. handle.Transparency = 1
  869. handle.CanCollide = false
  870. handle.BrickColor = BrickColor.new("White")
  871. handle.Material = "Neon"
  872. local handlmesh = Instance.new("BlockMesh",handle)
  873. handlmesh.Scale = Vector3.new(1,1,1)
  874. local handleweld = Instance.new("Weld")
  875. handleweld.Parent = handle
  876. handleweld.Part0 = rarm
  877. handleweld.Part1 = handle
  878. handleweld.C1 = CFrame.new(0, 1.35, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  879. handleweld.Part0 = rarm
  880.  
  881. ---- yeee boi here comes entrance of Light
  882.  
  883. hum.WalkSpeed = 0
  884.  
  885. local dd = Instance.new("ParticleEmitter",handle)
  886. dd.Texture = "http://www.roblox.com/asset/?id=217245118"
  887. dd.LightEmission = 1
  888. dd.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  889. dd.Rate = 10
  890. dd.Lifetime = NumberRange.new(0.5)
  891. dd.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  892. dd.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  893. dd.Speed = NumberRange.new(0)
  894. dd.Rotation = NumberRange.new(-500,500)
  895. dd.VelocitySpread = 90000
  896. dd.LockedToPart = true
  897. dd.RotSpeed = NumberRange.new(-500,500)
  898. local bon = Instance.new("ParticleEmitter",handle)
  899. bon.Texture = "http://www.roblox.com/asset/?id=398285173"
  900. bon.LightEmission = 1
  901. bon.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  902. bon.Rate = 0
  903. bon.Lifetime = NumberRange.new(2.5)
  904. bon.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  905. bon.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  906. bon.Speed = NumberRange.new(15)
  907. bon.Rotation = NumberRange.new(-500,500)
  908. bon.VelocitySpread = 90000
  909. bon.RotSpeed = NumberRange.new(-500,500)
  910. local bon2 = Instance.new("ParticleEmitter",handle)
  911. bon2.Texture = "http://www.roblox.com/asset/?id=398285173"
  912. bon2.LightEmission = 1
  913. bon2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  914. bon2.Rate = 0
  915. bon2.Lifetime = NumberRange.new(2.5)
  916. bon2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,10,0)})
  917. bon2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  918. bon2.Speed = NumberRange.new(25)
  919. bon2.Rotation = NumberRange.new(-500,500)
  920. bon2.VelocitySpread = 90000
  921. bon2.RotSpeed = NumberRange.new(-500,500)
  922. for i = 0,8,0.1 do
  923. swait()
  924. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  925. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  926. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-90), math.rad(0), math.rad(100)), 0.3)
  927. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-7.5 + 2.5 * math.cos(sine / 32))), 0.3)
  928. end
  929. dd.Rate = 0
  930. bon.Rate = 99999
  931. bon2.Rate = 99999
  932.  
  933. local tran = Instance.new("ParticleEmitter",handle)
  934. tran.Texture = "http://www.roblox.com/asset/?id=398285173"
  935. tran.LightEmission = 1
  936. tran.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  937. tran.Rate = 99999
  938. tran.Lifetime = NumberRange.new(0.25)
  939. tran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(1,0,0)})
  940. tran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  941. tran.Speed = NumberRange.new(0)
  942. tran.Rotation = NumberRange.new(-500,500)
  943. tran.VelocitySpread = 90000
  944. tran.LockedToPart = true
  945. tran.RotSpeed = NumberRange.new(-500,500)
  946. local tran2 = Instance.new("ParticleEmitter",handle)
  947. tran2.Texture = "http://www.roblox.com/asset/?id=217245118"
  948. tran2.LightEmission = 1
  949. tran2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  950. tran2.Rate = 50
  951. tran2.Lifetime = NumberRange.new(0.5)
  952. tran2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5,0),NumberSequenceKeypoint.new(1,0,0)})
  953. tran2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0,0)})
  954. tran2.Speed = NumberRange.new(0)
  955. tran2.Rotation = NumberRange.new(-500,500)
  956. tran2.VelocitySpread = 90000
  957. tran2.LockedToPart = true
  958. tran2.RotSpeed = NumberRange.new(-500,500)
  959. wait(0.5)
  960. bon.Rate = 0
  961. bon2.Rate = 0
  962. wait(3.25)
  963. bon:Destroy()
  964. bon:Destroy()
  965. dd:Destroy()
  966. hum.WalkSpeed = 16
  967. -----------
  968.  
  969. function LightComet()
  970. attack = true
  971. chatfunc("")
  972. handleweld.Part0 = rarm
  973. local tra = Instance.new("ParticleEmitter",handle)
  974. tra.Texture = "http://www.roblox.com/asset/?id=398285173"
  975. tra.LightEmission = 1
  976. tra.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  977. tra.Rate = 99999
  978. tra.Lifetime = NumberRange.new(0.25)
  979. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  980. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  981. tra.Speed = NumberRange.new(0)
  982. tra.Rotation = NumberRange.new(-500,500)
  983. tra.VelocitySpread = 90000
  984. tra.LockedToPart = true
  985. tra.RotSpeed = NumberRange.new(-500,500)
  986. local tra2 = Instance.new("ParticleEmitter",handle)
  987. tra2.Texture = "http://www.roblox.com/asset/?id=398285173"
  988. tra2.LightEmission = 1
  989. tra2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  990. tra2.Rate = 50
  991. tra2.Lifetime = NumberRange.new(0.5)
  992. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  993. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  994. tra2.Speed = NumberRange.new(0)
  995. tra2.Rotation = NumberRange.new(-500,500)
  996. tra2.VelocitySpread = 90000
  997. tra2.LockedToPart = true
  998. tra2.RotSpeed = NumberRange.new(-500,500)
  999. for i = 0,4,0.1 do
  1000. swait()
  1001. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1002. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1003. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  1004. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1005. end
  1006. local sa = Instance.new("Sound",handle)
  1007. sa.SoundId = "rbxassetid://260433450"
  1008. sa.Volume = 1
  1009. sa.Pitch = 1
  1010. sa:Play()
  1011. tra.Rate = 0
  1012. tra2.Rate = 0
  1013. local lb = Instance.new("Part")
  1014. lb.Parent = char
  1015. lb.Material = "Neon"
  1016. lb.Color = BrickColor.new("Persimmon").Color
  1017. lb.CanCollide = false
  1018. lb.Shape = "Ball"
  1019. lb.CFrame = handle.CFrame
  1020. lb.Anchored = true
  1021. lb.Transparency = 1
  1022. lb.Size = vt(1,1,1)
  1023. local thing = Instance.new("SpecialMesh",lb)
  1024. thing.MeshType = meshtype
  1025. local hitted = false
  1026. lb.Anchored = false
  1027. local trail = Instance.new("ParticleEmitter",lb)
  1028. trail.Texture = "http://www.roblox.com/asset/?id=398285173"
  1029. trail.LightEmission = 1
  1030. trail.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1031. trail.Rate = 9999
  1032. trail.Lifetime = NumberRange.new(1.5)
  1033. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1034. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1035. trail.Speed = NumberRange.new(0,0)
  1036. trail.Rotation = NumberRange.new(-500,500)
  1037. trail.RotSpeed = NumberRange.new(-500,500)
  1038. local bv = Instance.new("BodyVelocity")
  1039. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1040. bv.velocity = mouse.Hit.lookVector *75
  1041. bv.Parent = lb
  1042. wait(0.05)
  1043. lb.Touched:connect(function(hit)
  1044. if hitted == false then
  1045. hitted = true
  1046. trail.Rate = 0
  1047. lb.Anchored = true
  1048. local aa = Instance.new("Part")
  1049. local val = 1*3.5
  1050. aa.Parent = lb
  1051. local exsound = Instance.new("Sound",aa)
  1052. exsound.SoundId = "rbxassetid://181004957"
  1053. exsound.Volume = 3.5
  1054. exsound.Pitch = 1
  1055. exsound:Play()
  1056. aa.Material = "Neon"
  1057. aa.Color = BrickColor.new("Persimmon").Color
  1058. aa.CanCollide = false
  1059. aa.Shape = "Ball"
  1060. aa.CFrame = lb.CFrame
  1061. aa.Anchored = true
  1062. aa.Transparency = 0
  1063. aa.Size = vt(1,1,1)
  1064. local thinger = Instance.new("SpecialMesh",aa)
  1065. thinger.MeshType = meshtype
  1066. thinger.Scale = vt(15,15,15)
  1067. local explosion = Instance.new("Explosion",aa)
  1068. explosion.Position = aa.Position
  1069. explosion.BlastRadius = 22.5
  1070. explosion.BlastPressure = 100
  1071. local exp = Instance.new("ParticleEmitter",aa)
  1072. exp.Texture = "http://www.roblox.com/asset/?id=398285173"
  1073. exp.LightEmission = 1
  1074. exp.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1075. exp.Rate = 9000000000
  1076. exp.Lifetime = NumberRange.new(1)
  1077. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1078. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1079. exp.Speed = NumberRange.new(100)
  1080. exp.VelocitySpread = 9000000
  1081. exp.Rotation = NumberRange.new(-500,500)
  1082. exp.RotSpeed = NumberRange.new(-500,500)
  1083. local expa = Instance.new("ParticleEmitter",aa)
  1084. expa.Texture = "http://www.roblox.com/asset/?id=398285173"
  1085. expa.LightEmission = 1
  1086. expa.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1087. expa.Rate = 9000000000
  1088. expa.Lifetime = NumberRange.new(2.75)
  1089. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  1090. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1091. expa.Speed = NumberRange.new(100)
  1092. expa.VelocitySpread = 9000000
  1093. expa.Rotation = NumberRange.new(-500,500)
  1094. expa.RotSpeed = NumberRange.new(-500,500)
  1095. local exp2 = exp:Clone()
  1096. exp2.Parent = aa
  1097. local exp3 = exp:Clone()
  1098. exp3.Parent = aa
  1099. local exp4 = exp:Clone()
  1100. exp4.Parent = aa
  1101. local exp5 = exp:Clone()
  1102. exp5.Parent = aa
  1103. local exp6 = exp:Clone()
  1104. exp6.Parent = aa
  1105. local exp7 = exp:Clone()
  1106. exp7.Parent = aa
  1107. local expa2 = expa:Clone()
  1108. expa2.Parent = aa
  1109. local expa3 = expa:Clone()
  1110. expa3.Parent = aa
  1111. local expa4 = expa:Clone()
  1112. expa4.Parent = aa
  1113. local expa5 = expa:Clone()
  1114. expa5.Parent = aa
  1115. local expa6 = expa:Clone()
  1116. expa6.Parent = aa
  1117. local expa7 = expa:Clone()
  1118. expa7.Parent = aa
  1119. for i = 0, 1 do
  1120. val = val - 0.025*3.5
  1121. thinger.Scale = thinger.Scale + vt(val,val,val)
  1122. wait()
  1123. end
  1124. exp.Rate = 0
  1125. exp2.Rate = 0
  1126. exp3.Rate = 0
  1127. exp4.Rate = 0
  1128. exp5.Rate = 0
  1129. exp6.Rate = 0
  1130. exp7.Rate = 0
  1131. for i = 0, 1 do
  1132. val = val - 0.025*3.5
  1133. thinger.Scale = thinger.Scale + vt(val,val,val)
  1134. wait()
  1135. end
  1136. expa.Rate = 0
  1137. expa2.Rate = 0
  1138. expa3.Rate = 0
  1139. expa4.Rate = 0
  1140. expa5.Rate = 0
  1141. expa6.Rate = 0
  1142. expa7.Rate = 0
  1143. for i = 0, 21 do
  1144. val = val - 0.025*3.5
  1145. thinger.Scale = thinger.Scale + vt(val,val,val)
  1146. wait()
  1147. end
  1148. for i = 0, 74 do
  1149. val = val - 0.0145
  1150. aa.Transparency = aa.Transparency + 0.0145
  1151. thinger.Scale = thinger.Scale + vt(val,val,val)
  1152. wait()
  1153. end
  1154. end
  1155. end)
  1156. attack = false
  1157. wait(30)
  1158. sa:Destroy()
  1159. tra:Destroy()
  1160. tra2:Destroy()
  1161. lb:Destroy()
  1162. end
  1163.  
  1164. function LightHell()
  1165. attack = true
  1166. chatfunc("")
  1167. handleweld.Part0 = rarm
  1168. local aura = Instance.new("ParticleEmitter",tors)
  1169. aura.Texture = "http://www.roblox.com/asset/?id=398285173"
  1170. aura.LightEmission = 1
  1171. aura.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1172. aura.Rate = 25
  1173. aura.Lifetime = NumberRange.new(0)
  1174. aura.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,8.5,0),NumberSequenceKeypoint.new(1,0,0)})
  1175. aura.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1176. aura.Speed = NumberRange.new(15)
  1177. aura.VelocitySpread = 50
  1178. local aura2 = Instance.new("ParticleEmitter",tors)
  1179. aura2.Texture = "http://www.roblox.com/asset/?id=398285173"
  1180. aura2.LightEmission = 1
  1181. aura2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1182. aura2.Rate = 99999
  1183. aura2.Lifetime = NumberRange.new(1.5)
  1184. aura2.Acceleration = vt(0,45,0)
  1185. aura2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(1,0,0)})
  1186. aura2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1187. aura2.Speed = NumberRange.new(-25)
  1188. aura2.Rotation = NumberRange.new(-500,500)
  1189. aura2.VelocitySpread = 45
  1190. aura2.RotSpeed = NumberRange.new(-500,500)
  1191. local auran = Instance.new("ParticleEmitter",tors)
  1192. auran.Texture = "http://www.roblox.com/asset/?id=398285173"
  1193. auran.LightEmission = 1
  1194. auran.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1195. auran.Rate = 0
  1196. auran.Lifetime = NumberRange.new(5)
  1197. auran.Acceleration = vt(0,-45,0)
  1198. auran.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  1199. auran.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1200. auran.Speed = NumberRange.new(65)
  1201. auran.Rotation = NumberRange.new(-500,500)
  1202. auran.VelocitySpread = 100
  1203. auran.RotSpeed = NumberRange.new(-500,500)
  1204. local sa = Instance.new("Sound",handle)
  1205. sa.SoundId = "rbxassetid://431105970"
  1206. sa.Volume = 5
  1207. sa.Pitch = 1
  1208. sa:Play()
  1209. for i = 0,2,0.1 do
  1210. swait()
  1211. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1212. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1213. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)), 0.3)
  1214. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.3)
  1215. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  1216. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1217. end
  1218. for i = 0, 5 do
  1219. auran.Rate = 99999
  1220. local lb = Instance.new("Part")
  1221. lb.Parent = char
  1222. lb.Material = "Neon"
  1223. lb.Color = BrickColor.new("Persimmon").Color
  1224. lb.CanCollide = false
  1225. lb.Size = vt(1,1,1)
  1226. lb.CFrame = tors.CFrame
  1227. lb.Rotation = vt(0,0,0)
  1228. lb.Anchored = true
  1229. lb.Transparency = 0
  1230. local thing = Instance.new("SpecialMesh",lb)
  1231. thing.MeshType = "FileMesh"
  1232. thing.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1233. thing.Scale = vt(0,15,0)
  1234. local chancerot = math.random(1,2)
  1235. for z = 0, 4 do
  1236. if chancerot == 1 then
  1237. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  1238. elseif chancerot == 2 then
  1239. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  1240. end
  1241. lb.Transparency = lb.Transparency + 0.1
  1242. thing.Scale = thing.Scale + vt(15,0,15)
  1243. wait()
  1244. end
  1245. auran.Rate = 0
  1246. for z = 0, 4 do
  1247. if chancerot == 1 then
  1248. lb.CFrame = lb.CFrame*CFrame.Angles(0,0.1,0)
  1249. elseif chancerot == 2 then
  1250. lb.CFrame = lb.CFrame*CFrame.Angles(0,-0.1,0)
  1251. end
  1252. lb.Transparency = lb.Transparency + 0.1
  1253. thing.Scale = thing.Scale + vt(15,0,15)
  1254. wait()
  1255. end
  1256. lb:Destroy()
  1257. end
  1258. chatfunc("")
  1259. local sa = Instance.new("Sound",handle)
  1260. sa.SoundId = "rbxassetid://416328540"
  1261. sa.Volume = 10
  1262. sa.Pitch = 0
  1263. sa:Play()
  1264.  
  1265. local sbs = Instance.new("BodyPosition", root)
  1266. sbs.P = 3000
  1267. sbs.D = 1000
  1268. sbs.maxForce = Vector3.new(500000, 500000000, 500000)
  1269. sbs.position = RootPart.CFrame.p + Vector3.new(0, 1000, 0)
  1270. for i = 0,24,0.1 do
  1271. swait()
  1272. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1273. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1274. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1275. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1276. end
  1277. local shur = Instance.new("Part",char)
  1278. local gahde = Instance.new("Sound",char)
  1279. gahde.SoundId = "rbxassetid://257001241"
  1280. gahde.Volume = 5
  1281. gahde.Pitch = 0.6
  1282. gahde:Play()
  1283. shur.Transparency = 1
  1284. shur.Material = "Neon"
  1285. shur.BrickColor = bc("Crimson")
  1286. shur.Anchored = true
  1287. shur.CFrame = tors.CFrame + vt(0,10,0)
  1288. shur.Size = vt(1,0.2,1)
  1289. shur.CanCollide = false
  1290. local dec = Instance.new("Decal",shur)
  1291. dec.Texture = "http://www.roblox.com/asset/?id=0"
  1292. dec.Face = "Top"
  1293. local dec2 = dec:Clone()
  1294. dec2.Parent = shur
  1295. dec2.Face = "Bottom"
  1296. local Meshshur = Instance.new("CylinderMesh",shur)
  1297. Meshshur.Scale = vt(0,1,0)
  1298. for i = 0, 39 do
  1299. wait()
  1300. Meshshur.Scale = Meshshur.Scale + vt(15,0,15)
  1301. end
  1302. local sa = Instance.new("Sound",char)
  1303. sa.SoundId = ""
  1304. sa.Volume = 2.5
  1305. sa.Pitch = 0.5
  1306. sa:Play()
  1307. local lb = Instance.new("Part")
  1308. lb.Parent = char
  1309. lb.Material = "Neon"
  1310. lb.Color = BrickColor.new("Persimmon").Color
  1311. lb.CanCollide = false
  1312. lb.Shape = "Ball"
  1313. lb.CFrame = handle.CFrame
  1314. lb.Anchored = true
  1315. lb.Transparency = 0
  1316. lb.Size = vt(1,1,1)
  1317. lb.CFrame = handle.CFrame
  1318. local thing = Instance.new("SpecialMesh",lb)
  1319. thing.MeshType = meshtype
  1320. thing.Scale = vt(0,0,0)
  1321. for i = 0, 89 do
  1322. thing.Scale = thing.Scale + vt(2.5,2.5,2.5)
  1323. lb.CFrame = lb.CFrame + Vector3.new(0,1.425,0)
  1324. wait()
  1325. end
  1326. wait(1)
  1327. for i = 0, 39 do
  1328. wait()
  1329. Meshshur.Scale = Meshshur.Scale - vt(15,0,15)
  1330. end
  1331. local sa = Instance.new("Sound",char)
  1332. sa.SoundId = "rbxassetid://181004957"
  1333. sa.Volume = 1
  1334. sa.Pitch = 0.95
  1335. sa:Play()
  1336. wait(0.5)
  1337. shur:Destroy()
  1338. sbs:Destroy()
  1339. local sa = Instance.new("Sound",char)
  1340. sa.SoundId = "rbxassetid://416328540"
  1341. sa.Volume = 1.5
  1342. sa.Pitch = 0.5
  1343. sa:Play()
  1344. local sa = Instance.new("Sound",char)
  1345. sa.SoundId = "rbxassetid://466493476"
  1346. sa.Volume = 1.5
  1347. sa.Pitch = 0.5
  1348. sa:Play()
  1349. aura.Rate = 0
  1350. aura2.Rate = 0
  1351. local hitted = false
  1352. lb.Anchored = false
  1353. local trail = Instance.new("ParticleEmitter",lb)
  1354. trail.Texture = "http://www.roblox.com/asset/?id=398285173"
  1355. trail.LightEmission = 1
  1356. trail.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1357. trail.Rate = 9999
  1358. trail.Lifetime = NumberRange.new(2.5)
  1359. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(1,5,0)})
  1360. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1361. trail.Speed = NumberRange.new(100)
  1362. trail.VelocitySpread = 9000000
  1363. trail.Rotation = NumberRange.new(-500,500)
  1364. trail.RotSpeed = NumberRange.new(-500,500)
  1365. local bv = Instance.new("BodyVelocity")
  1366. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1367. bv.velocity = mouse.Hit.lookVector *75
  1368. bv.Parent = lb
  1369. wait(0.05)
  1370. lb.Touched:connect(function(hit)
  1371. if hitted == false then
  1372. hitted = true
  1373. trail.Rate = 0
  1374. lb.Anchored = true
  1375. local aa = Instance.new("Part")
  1376. for i = 0, 9 do
  1377. lb.Transparency = lb.Transparency + 0.1
  1378. local val = 1*3.5
  1379. aa.Parent = lb
  1380. local exsound = Instance.new("Sound",aa)
  1381. exsound.SoundId = "rbxassetid://412831137"
  1382. exsound.Volume = 10
  1383. exsound.Pitch = 0.5
  1384. exsound:Play()
  1385. local exsound = Instance.new("Sound",aa)
  1386. exsound.SoundId = "rbxassetid://439342426"
  1387. exsound.Volume = 10
  1388. exsound.Pitch = 0
  1389. exsound:Play()
  1390. local exsound = Instance.new("Sound",aa)
  1391. exsound.SoundId = "rbxassetid://439342426"
  1392. exsound.Volume = 10
  1393. exsound.Pitch = 0.5
  1394. exsound:Play()
  1395. local exsound = Instance.new("Sound",aa)
  1396. exsound.SoundId = "rbxassetid://439342426"
  1397. exsound.Volume = 10
  1398. exsound.Pitch = 0.35
  1399. exsound:Play()
  1400. local exsound = Instance.new("Sound",aa)
  1401. exsound.SoundId = "rbxassetid://439342426"
  1402. exsound.Volume = 10
  1403. exsound.Pitch = 0.25
  1404. exsound:Play()
  1405. local exsound = Instance.new("Sound",aa)
  1406. exsound.SoundId = "rbxassetid://439342426"
  1407. exsound.Volume = 10
  1408. exsound.Pitch = 0.2
  1409. exsound:Play()
  1410. local sick = Instance.new("Sound",Character)
  1411. sick.SoundId = "rbxassetid://1749327371"
  1412. sick.Looped = true
  1413. sick.Pitch = 1
  1414. sick.Volume = 1
  1415. sick:Play()
  1416. aa.Material = "Neon"
  1417. aa.Color = BrickColor.new("Persimmon").Color
  1418. aa.CanCollide = false
  1419. aa.Shape = "Ball"
  1420. aa.CFrame = lb.CFrame
  1421. aa.Anchored = true
  1422. aa.Transparency = 0
  1423. aa.Size = vt(1,1,1)
  1424. local thinger = Instance.new("SpecialMesh",aa)
  1425. thinger.MeshType = meshtype
  1426. thinger.Scale = vt(225,225,225)
  1427. local explosion = Instance.new("Explosion",aa)
  1428. explosion.Position = aa.Position
  1429. explosion.BlastRadius = 500
  1430. explosion.BlastPressure = 100
  1431. local exp = Instance.new("ParticleEmitter",aa)
  1432. exp.Texture = "http://www.roblox.com/asset/?id=398285173"
  1433. exp.LightEmission = 1
  1434. exp.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1435. exp.Rate = 9000000000
  1436. exp.Lifetime = NumberRange.new(1)
  1437. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(1,1,0)})
  1438. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1439. exp.Speed = NumberRange.new(100)
  1440. exp.VelocitySpread = 9000000
  1441. exp.Rotation = NumberRange.new(-500,500)
  1442. exp.RotSpeed = NumberRange.new(-500,500)
  1443. local expa = Instance.new("ParticleEmitter",aa)
  1444. expa.Texture = "http://www.roblox.com/asset/?id=398285173"
  1445. expa.LightEmission = 1
  1446. expa.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1447. expa.Rate = 9000000000
  1448. expa.Lifetime = NumberRange.new(2.75)
  1449. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,150,0)})
  1450. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1451. expa.Speed = NumberRange.new(100)
  1452. expa.VelocitySpread = 9000000
  1453. expa.Rotation = NumberRange.new(-500,500)
  1454. expa.RotSpeed = NumberRange.new(-500,500)
  1455. local exp2 = exp:Clone()
  1456. exp2.Parent = aa
  1457. local exp3 = exp:Clone()
  1458. exp3.Parent = aa
  1459. local exp4 = exp:Clone()
  1460. exp4.Parent = aa
  1461. local exp5 = exp:Clone()
  1462. exp5.Parent = aa
  1463. local exp6 = exp:Clone()
  1464. exp6.Parent = aa
  1465. local exp7 = exp:Clone()
  1466. exp7.Parent = aa
  1467. local expa2 = expa:Clone()
  1468. expa2.Parent = aa
  1469. local expa3 = expa:Clone()
  1470. expa3.Parent = aa
  1471. local expa4 = expa:Clone()
  1472. expa4.Parent = aa
  1473. local expa5 = expa:Clone()
  1474. expa5.Parent = aa
  1475. local expa6 = expa:Clone()
  1476. expa6.Parent = aa
  1477. local expa7 = expa:Clone()
  1478. expa7.Parent = aa
  1479. for i = 0, 1 do
  1480. val = val - 0.025*3.5
  1481. thinger.Scale = thinger.Scale + vt(val,val,val)
  1482. wait()
  1483. end
  1484. exp.Rate = 0
  1485. exp2.Rate = 0
  1486. exp3.Rate = 0
  1487. exp4.Rate = 0
  1488. exp5.Rate = 0
  1489. exp6.Rate = 0
  1490. exp7.Rate = 0
  1491. for i = 0, 1 do
  1492. val = val - 0.025*3.5
  1493. thinger.Scale = thinger.Scale + vt(val,val,val)
  1494. wait()
  1495. end
  1496. expa.Rate = 0
  1497. expa2.Rate = 0
  1498. expa3.Rate = 0
  1499. expa4.Rate = 0
  1500. expa5.Rate = 0
  1501. expa6.Rate = 0
  1502. expa7.Rate = 0
  1503. for i = 0, 21 do
  1504. val = val - 0.025*3.5
  1505. thinger.Scale = thinger.Scale + vt(val,val,val)
  1506. wait()
  1507. end
  1508. for i = 0, 4 do
  1509. val = val - 0.05
  1510. aa.Transparency = aa.Transparency + 0.065*4.5
  1511. thinger.Scale = thinger.Scale + vt(val,val,val)
  1512. wait()
  1513. end
  1514. end
  1515. end
  1516. end)
  1517. for i = 0,2,0.1 do
  1518. swait()
  1519. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1520. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3)
  1521. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1522. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1523. end
  1524. attack = false
  1525. wait(60)
  1526. sa:Destroy()
  1527. sa:Destroy()
  1528. sa:Destroy()
  1529. sa:Destroy()
  1530. sa:Destroy()
  1531. aura:Destroy()
  1532. aura2:Destroy()
  1533. lb:Destroy()
  1534. end
  1535.  
  1536.  
  1537. function Polaris ()
  1538. attack = true
  1539. chatfunc("")
  1540. handleweld.Part0 = rarm
  1541. local tra = Instance.new("ParticleEmitter",handle)
  1542. tra.Texture = "http://www.roblox.com/asset/?id=398285173"
  1543. tra.LightEmission = 1
  1544. tra.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1545. tra.Rate = 99999
  1546. tra.Lifetime = NumberRange.new(0.25)
  1547. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1548. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  1549. tra.Speed = NumberRange.new(0)
  1550. tra.Rotation = NumberRange.new(-500,500)
  1551. tra.VelocitySpread = 90000
  1552. tra.LockedToPart = true
  1553. tra.RotSpeed = NumberRange.new(-500,500)
  1554. local tra2 = Instance.new("ParticleEmitter",handle)
  1555. tra2.Texture = "http://www.roblox.com/asset/?id=217245118"
  1556. tra2.LightEmission = 1
  1557. tra2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1558. tra2.Rate = 50
  1559. tra2.Lifetime = NumberRange.new(0.5)
  1560. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(1,0,0)})
  1561. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  1562. tra2.Speed = NumberRange.new(0)
  1563. tra2.Rotation = NumberRange.new(-500,500)
  1564. tra2.VelocitySpread = 90000
  1565. tra2.LockedToPart = true
  1566. tra2.RotSpeed = NumberRange.new(-500,500)
  1567. local sa = Instance.new("Sound",handle)
  1568. sa.SoundId = "rbxassetid://181004957"
  1569. sa.Volume = 1.5
  1570. sa.Pitch = 0.975
  1571. sa:Play()
  1572. for i = 0,4,0.1 do
  1573. swait()
  1574. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1575. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1576. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(90)), 0.3)
  1577. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1578. end
  1579. chatfunc("")
  1580. local sa = Instance.new("Sound",handle)
  1581. sa.SoundId = "rbxassetid://304529688"
  1582. sa.Volume = 1.5
  1583. sa.Pitch = 0.85
  1584. sa:Play()
  1585. tra.Rate = 0
  1586. tra2.Rate = 0
  1587. local lb = Instance.new("Part")
  1588. lb.Parent = char
  1589. lb.Material = "Neon"
  1590. lb.Color = BrickColor.new("Persimmon").Color
  1591. lb.CanCollide = false
  1592. lb.Shape = "Ball"
  1593. lb.CFrame = handle.CFrame
  1594. lb.Anchored = true
  1595. lb.Transparency = 1
  1596. lb.Size = vt(1,1,1)
  1597. local thing = Instance.new("SpecialMesh",lb)
  1598. thing.MeshType = meshtype
  1599. local hitted = false
  1600. lb.Anchored = false
  1601. local trail = Instance.new("ParticleEmitter",lb)
  1602. trail.Texture = "http://www.roblox.com/asset/?id=398285173"
  1603. trail.LightEmission = 1
  1604. trail.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1605. trail.Rate = 9999
  1606. trail.Lifetime = NumberRange.new(1.5)
  1607. trail.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(1,0,0)})
  1608. trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1609. trail.Speed = NumberRange.new(0,0)
  1610. trail.Rotation = NumberRange.new(-500,500)
  1611. trail.RotSpeed = NumberRange.new(-500,500)
  1612. local bv = Instance.new("BodyVelocity")
  1613. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1614. bv.velocity = mouse.Hit.lookVector *95
  1615. bv.Parent = lb
  1616. wait(0.05)
  1617. lb.Touched:connect(function(hit)
  1618. if hitted == false then
  1619. hitted = true
  1620. trail.Rate = 0
  1621. lb.Anchored = true
  1622. local aa = Instance.new("Part")
  1623. local val = 1*8
  1624. aa.Parent = lb
  1625. local exsound = Instance.new("Sound",aa)
  1626. exsound.SoundId = "rbxassetid://181004957"
  1627. exsound.Volume = 10
  1628. exsound.Pitch = 0.945
  1629. exsound:Play()
  1630. aa.Material = "Neon"
  1631. aa.Color = BrickColor.new("Persimmon").Color
  1632. aa.CanCollide = false
  1633. aa.Shape = "Ball"
  1634. aa.CFrame = lb.CFrame
  1635. aa.Anchored = true
  1636. aa.Transparency = 0
  1637. aa.Size = vt(1,1,1)
  1638. local thinger = Instance.new("SpecialMesh",aa)
  1639. thinger.MeshType = meshtype
  1640. thinger.Scale = vt(15,15,15)
  1641. local explosion = Instance.new("Explosion",aa)
  1642. explosion.Position = aa.Position
  1643. explosion.BlastRadius = 65
  1644. explosion.BlastPressure = 100
  1645. local exp = Instance.new("ParticleEmitter",aa)
  1646. exp.Texture = "http://www.roblox.com/asset/?id=398285173"
  1647. exp.LightEmission = 1
  1648. exp.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1649. exp.Rate = 9000000000
  1650. exp.Lifetime = NumberRange.new(1)
  1651. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(1,1,0)})
  1652. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1653. exp.Speed = NumberRange.new(200)
  1654. exp.VelocitySpread = 9000000
  1655. exp.Rotation = NumberRange.new(-500,500)
  1656. exp.RotSpeed = NumberRange.new(-500,500)
  1657. local expa = Instance.new("ParticleEmitter",aa)
  1658. expa.Texture = "http://www.roblox.com/asset/?id=398285173"
  1659. expa.LightEmission = 1
  1660. expa.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1661. expa.Rate = 9000000000
  1662. expa.Lifetime = NumberRange.new(2.75)
  1663. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,125,0)})
  1664. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1665. expa.Speed = NumberRange.new(200)
  1666. expa.VelocitySpread = 9000000
  1667. expa.Rotation = NumberRange.new(-500,500)
  1668. expa.RotSpeed = NumberRange.new(-500,500)
  1669. local exp2 = exp:Clone()
  1670. exp2.Parent = aa
  1671. local exp3 = exp:Clone()
  1672. exp3.Parent = aa
  1673. local exp4 = exp:Clone()
  1674. exp4.Parent = aa
  1675. local exp5 = exp:Clone()
  1676. exp5.Parent = aa
  1677. local exp6 = exp:Clone()
  1678. exp6.Parent = aa
  1679. local exp7 = exp:Clone()
  1680. exp7.Parent = aa
  1681. local expa2 = expa:Clone()
  1682. expa2.Parent = aa
  1683. local expa3 = expa:Clone()
  1684. expa3.Parent = aa
  1685. local expa4 = expa:Clone()
  1686. expa4.Parent = aa
  1687. local expa5 = expa:Clone()
  1688. expa5.Parent = aa
  1689. local expa6 = expa:Clone()
  1690. expa6.Parent = aa
  1691. local expa7 = expa:Clone()
  1692. expa7.Parent = aa
  1693. for i = 0, 1 do
  1694. val = val - 0.025*8
  1695. thinger.Scale = thinger.Scale + vt(val,val,val)
  1696. wait()
  1697. end
  1698. exp.Rate = 0
  1699. exp2.Rate = 0
  1700. exp3.Rate = 0
  1701. exp4.Rate = 0
  1702. exp5.Rate = 0
  1703. exp6.Rate = 0
  1704. exp7.Rate = 0
  1705. for i = 0, 1 do
  1706. val = val - 0.025*8
  1707. thinger.Scale = thinger.Scale + vt(val,val,val)
  1708. wait()
  1709. end
  1710. expa.Rate = 0
  1711. expa2.Rate = 0
  1712. expa3.Rate = 0
  1713. expa4.Rate = 0
  1714. expa5.Rate = 0
  1715. expa6.Rate = 0
  1716. expa7.Rate = 0
  1717. for i = 0, 21 do
  1718. val = val - 0.025*8
  1719. thinger.Scale = thinger.Scale + vt(val,val,val)
  1720. wait()
  1721. end
  1722. for i = 0, 74 do
  1723. val = val - 0.0145
  1724. aa.Transparency = aa.Transparency + 0.0145
  1725. thinger.Scale = thinger.Scale + vt(val,val,val)
  1726. wait()
  1727. end
  1728. end
  1729. end)
  1730. attack = false
  1731. wait(30)
  1732. sa:Destroy()
  1733. tra:Destroy()
  1734. tra2:Destroy()
  1735. lb:Destroy()
  1736. end
  1737.  
  1738.  
  1739. function LightWrath()
  1740. attack = true
  1741. chatfunc("")
  1742. for i = 0,4,0.1 do
  1743. swait()
  1744. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1745. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1746. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1747. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1748. end
  1749. local ff = Instance.new("ForceField",char)
  1750. hum.WalkSpeed = 0
  1751. local lb = Instance.new("Part")
  1752. lb.Parent = char
  1753. lb.Material = "Neon"
  1754. lb.Color = BrickColor.new("Persimmon").Color
  1755. lb.CanCollide = false
  1756. lb.Shape = "Ball"
  1757. lb.CFrame = torso.CFrame
  1758. lb.Anchored = true
  1759. lb.Transparency = 1
  1760. lb.Size = vt(1,1,1)
  1761. local thing = Instance.new("SpecialMesh",lb)
  1762. thing.MeshType = meshtype
  1763. for i = 0, 4 do
  1764. local lbr = Instance.new("Part")
  1765. lbr.Parent = char
  1766. lbr.Material = "Neon"
  1767. lbr.Color = BrickColor.new("Persimmon").Color
  1768. lbr.CanCollide = false
  1769. lbr.Shape = "Ball"
  1770. lbr.CFrame = lb.CFrame
  1771. lbr.Anchored = true
  1772. lbr.Transparency = 1
  1773. lbr.Size = vt(1,1,1)
  1774. local thinga = Instance.new("SpecialMesh",lbr)
  1775. thinga.MeshType = meshtype
  1776. thinga.Scale = vt(20*6,20*6,20*6)
  1777. for z = 0, 19 do
  1778. wait(0.025)
  1779. lbr.Transparency = lbr.Transparency - 0.05
  1780. thinga.Scale = thinga.Scale - vt(1*6,1*6,1*6)
  1781. end
  1782. lbr:Destroy()
  1783. end
  1784. local aa = Instance.new("Part")
  1785. local val = 1*7.5
  1786. aa.Parent = lb
  1787. local exsound = Instance.new("Sound",handle)
  1788. exsound.SoundId = "rbxassetid://181004957"
  1789. exsound.Volume = 10
  1790. exsound.Pitch = 1
  1791. exsound:Play()
  1792. aa.Material = "Neon"
  1793. aa.Color = BrickColor.new("Persimmon").Color
  1794. aa.CanCollide = false
  1795. aa.Shape = "Ball"
  1796. aa.CFrame = lb.CFrame
  1797. aa.Anchored = true
  1798. aa.Transparency = 0
  1799. aa.Size = vt(1,1,1)
  1800. local thinger = Instance.new("SpecialMesh",aa)
  1801. thinger.MeshType = meshtype
  1802. thinger.Scale = vt(15*1.5,15*1.5,15*1.5)
  1803. local explosion = Instance.new("Explosion",aa)
  1804. explosion.Position = aa.Position
  1805. explosion.BlastRadius = 50
  1806. explosion.BlastPressure = 100
  1807. local exp = Instance.new("ParticleEmitter",aa)
  1808. exp.Texture = "http://www.roblox.com/asset/?id=398285173"
  1809. exp.LightEmission = 1
  1810. exp.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1811. exp.Rate = 0
  1812. exp.Lifetime = NumberRange.new(0)
  1813. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1814. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1815. exp.Speed = NumberRange.new(115)
  1816. exp.VelocitySpread = 9000000
  1817. exp.Rotation = NumberRange.new(-500,500)
  1818. exp.RotSpeed = NumberRange.new(-500,500)
  1819. local expa = Instance.new("ParticleEmitter",aa)
  1820. expa.Texture = "http://www.roblox.com/asset/?id=398285173"
  1821. expa.LightEmission = 1
  1822. expa.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1823. expa.Rate = 9000000000
  1824. expa.Lifetime = NumberRange.new(2.75)
  1825. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  1826. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1827. expa.Speed = NumberRange.new(115)
  1828. expa.VelocitySpread = 9000000
  1829. expa.Rotation = NumberRange.new(-500,500)
  1830. expa.RotSpeed = NumberRange.new(-500,500)
  1831. local exp2 = exp:Clone()
  1832. exp2.Parent = aa
  1833. local exp3 = exp:Clone()
  1834. exp3.Parent = aa
  1835. local exp4 = exp:Clone()
  1836. exp4.Parent = aa
  1837. local exp5 = exp:Clone()
  1838. exp5.Parent = aa
  1839. local exp6 = exp:Clone()
  1840. exp6.Parent = aa
  1841. local exp7 = exp:Clone()
  1842. exp7.Parent = aa
  1843. local expa2 = expa:Clone()
  1844. expa2.Parent = aa
  1845. local expa3 = expa:Clone()
  1846. expa3.Parent = aa
  1847. local expa4 = expa:Clone()
  1848. expa4.Parent = aa
  1849. local expa5 = expa:Clone()
  1850. expa5.Parent = aa
  1851. local expa6 = expa:Clone()
  1852. expa6.Parent = aa
  1853. local expa7 = expa:Clone()
  1854. expa7.Parent = aa
  1855. for i = 0, 1 do
  1856. val = val - 0.025*7.5
  1857. thinger.Scale = thinger.Scale + vt(val,val,val)
  1858. wait()
  1859. end
  1860. exp.Rate = 0
  1861. exp2.Rate = 0
  1862. exp3.Rate = 0
  1863. exp4.Rate = 0
  1864. exp5.Rate = 0
  1865. exp6.Rate = 0
  1866. exp7.Rate = 0
  1867. for i = 0, 1 do
  1868. val = val - 0.025*7.5
  1869. thinger.Scale = thinger.Scale + vt(val,val,val)
  1870. wait()
  1871. end
  1872. ff:Destroy()
  1873. hum.WalkSpeed = 16
  1874. attack = false
  1875. expa.Rate = 0
  1876. expa2.Rate = 0
  1877. expa3.Rate = 0
  1878. expa4.Rate = 0
  1879. expa5.Rate = 0
  1880. expa6.Rate = 0
  1881. expa7.Rate = 0
  1882. for i = 0, 21 do
  1883. val = val - 0.025*7.5
  1884. thinger.Scale = thinger.Scale + vt(val,val,val)
  1885. wait()
  1886. end
  1887. for i = 0, 74 do
  1888. val = val - 0.0145
  1889. aa.Transparency = aa.Transparency + 0.0145
  1890. thinger.Scale = thinger.Scale + vt(val,val,val)
  1891. wait()
  1892. end
  1893. wait(5)
  1894. lb:Destroy()
  1895. end
  1896.  
  1897. function LightDemise()
  1898. attack = true
  1899. chatfunc("")
  1900. local tra = Instance.new("ParticleEmitter",handle)
  1901. tra.Texture = "http://www.roblox.com/asset/?id=398285173"
  1902. tra.LightEmission = 1
  1903. tra.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1904. tra.Rate = 0
  1905. tra.Lifetime = NumberRange.new(0)
  1906. tra.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,0,0)})
  1907. tra.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.25,0)})
  1908. tra.Speed = NumberRange.new(0)
  1909. tra.Rotation = NumberRange.new(-500,500)
  1910. tra.VelocitySpread = 90000
  1911. tra.LockedToPart = true
  1912. tra.RotSpeed = NumberRange.new(-500,500)
  1913. local tra2 = Instance.new("ParticleEmitter",handle)
  1914. tra2.Texture = "http://www.roblox.com/asset/?id=217245118"
  1915. tra2.LightEmission = 1
  1916. tra2.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1917. tra2.Rate = 0
  1918. tra2.Lifetime = NumberRange.new(0)
  1919. tra2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5.5,0),NumberSequenceKeypoint.new(1,0,0)})
  1920. tra2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(1,0.5,0)})
  1921. tra2.Speed = NumberRange.new(0)
  1922. tra2.Rotation = NumberRange.new(-500,500)
  1923. tra2.VelocitySpread = 90000
  1924. tra2.LockedToPart = true
  1925. tra2.RotSpeed = NumberRange.new(-500,500)
  1926. for i = 0,1,0.1 do
  1927. swait()
  1928. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1929. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3)
  1930. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.3)
  1931. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25 + 2.5 * math.cos(sine / 32))), 0.3)
  1932. end
  1933. tra.Rate = 0
  1934. tra2.Rate = 0
  1935. local lb = Instance.new("Part")
  1936. lb.Parent = char
  1937. lb.Material = "Neon"
  1938. lb.Color = BrickColor.new("Persimmon").Color
  1939. lb.CanCollide = false
  1940. lb.Shape = "Ball"
  1941. lb.CFrame = mouse.Hit
  1942. lb.Anchored = true
  1943. lb.Transparency = 1
  1944. lb.Size = vt(1,1,1)
  1945. local thing = Instance.new("SpecialMesh",lb)
  1946. thing.MeshType = meshtype
  1947. for i = 0, 4 do
  1948. local lbr = Instance.new("Part")
  1949. lbr.Parent = char
  1950. lbr.Material = "Neon"
  1951. lbr.Color = BrickColor.new("Persimmon").Color
  1952. lbr.CanCollide = false
  1953. lbr.Shape = "Ball"
  1954. lbr.CFrame = lb.CFrame
  1955. lbr.Anchored = true
  1956. lbr.Transparency = 1
  1957. lbr.Size = vt(1,1,1)
  1958. local thinga = Instance.new("SpecialMesh",lbr)
  1959. thinga.MeshType = meshtype
  1960. thinga.Scale = vt(20*4.5,20*4.5,20*4.5)
  1961. for z = 0, 19 do
  1962. wait(0.025)
  1963. lbr.Transparency = lbr.Transparency - 0.05
  1964. thinga.Scale = thinga.Scale - vt(1*4.5,1*4.5,1*4.5)
  1965. end
  1966. lbr:Destroy()
  1967. end
  1968. local aa = Instance.new("Part")
  1969. local val = 1*6.25
  1970. aa.Parent = lb
  1971. local exsound = Instance.new("Sound",aa)
  1972. exsound.SoundId = "rbxassetid://181004957"
  1973. exsound.Volume = 4.5
  1974. exsound.Pitch = 1
  1975. exsound:Play()
  1976. aa.Material = "Neon"
  1977. aa.Color = BrickColor.new("Persimmon").Color
  1978. aa.CanCollide = false
  1979. aa.Shape = "Ball"
  1980. aa.CFrame = lb.CFrame
  1981. aa.Anchored = true
  1982. aa.Transparency = 0
  1983. aa.Size = vt(1,1,1)
  1984. local thinger = Instance.new("SpecialMesh",aa)
  1985. thinger.MeshType = meshtype
  1986. thinger.Scale = vt(15*1.15,15*1.15,15*1.15)
  1987. local explosion = Instance.new("Explosion",aa)
  1988. explosion.Position = aa.Position
  1989. explosion.BlastRadius = 35
  1990. explosion.BlastPressure = 100
  1991. local exp = Instance.new("ParticleEmitter",aa)
  1992. exp.Texture = "http://www.roblox.com/asset/?id=398285173"
  1993. exp.LightEmission = 1
  1994. exp.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  1995. exp.Rate = 9000000000
  1996. exp.Lifetime = NumberRange.new(1)
  1997. exp.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(1,1,0)})
  1998. exp.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  1999. exp.Speed = NumberRange.new(105)
  2000. exp.VelocitySpread = 9000000
  2001. exp.Rotation = NumberRange.new(-500,500)
  2002. exp.RotSpeed = NumberRange.new(-500,500)
  2003. local expa = Instance.new("ParticleEmitter",aa)
  2004. expa.Texture = "http://www.roblox.com/asset/?id=398285173"
  2005. expa.LightEmission = 1
  2006. expa.Color = ColorSequence.new(bc'Crimson'.Color,Color3.new(1,1,1))
  2007. expa.Rate = 9000000000
  2008. expa.Lifetime = NumberRange.new(2.75)
  2009. expa.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(1,75,0)})
  2010. expa.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2011. expa.Speed = NumberRange.new(105)
  2012. expa.VelocitySpread = 9000000
  2013. expa.Rotation = NumberRange.new(-500,500)
  2014. expa.RotSpeed = NumberRange.new(-500,500)
  2015. local exp2 = exp:Clone()
  2016. exp2.Parent = aa
  2017. local exp3 = exp:Clone()
  2018. exp3.Parent = aa
  2019. local exp4 = exp:Clone()
  2020. exp4.Parent = aa
  2021. local exp5 = exp:Clone()
  2022. exp5.Parent = aa
  2023. local exp6 = exp:Clone()
  2024. exp6.Parent = aa
  2025. local exp7 = exp:Clone()
  2026. exp7.Parent = aa
  2027. local expa2 = expa:Clone()
  2028. expa2.Parent = aa
  2029. local expa3 = expa:Clone()
  2030. expa3.Parent = aa
  2031. local expa4 = expa:Clone()
  2032. expa4.Parent = aa
  2033. local expa5 = expa:Clone()
  2034. expa5.Parent = aa
  2035. local expa6 = expa:Clone()
  2036. expa6.Parent = aa
  2037. local expa7 = expa:Clone()
  2038. expa7.Parent = aa
  2039. for i = 0, 1 do
  2040. val = val - 0.025*6.25
  2041. thinger.Scale = thinger.Scale + vt(val,val,val)
  2042. wait()
  2043. end
  2044. exp.Rate = 0
  2045. exp2.Rate = 0
  2046. exp3.Rate = 0
  2047. exp4.Rate = 0
  2048. exp5.Rate = 0
  2049. exp6.Rate = 0
  2050. exp7.Rate = 0
  2051. for i = 0, 1 do
  2052. val = val - 0.025*6.25
  2053. thinger.Scale = thinger.Scale + vt(val,val,val)
  2054. wait()
  2055. end
  2056. attack = false
  2057. expa.Rate = 0
  2058. expa2.Rate = 0
  2059. expa3.Rate = 0
  2060. expa4.Rate = 0
  2061. expa5.Rate = 0
  2062. expa6.Rate = 0
  2063. expa7.Rate = 0
  2064. for i = 0, 21 do
  2065. val = val - 0.025*6.25
  2066. thinger.Scale = thinger.Scale + vt(val,val,val)
  2067. wait()
  2068. end
  2069. for i = 0, 74 do
  2070. val = val - 0.0145
  2071. aa.Transparency = aa.Transparency + 0.0145
  2072. thinger.Scale = thinger.Scale + vt(val,val,val)
  2073. wait()
  2074. end
  2075. wait(5)
  2076. lb:Destroy()
  2077. tra:Destroy()
  2078. tra2:Destroy()
  2079. end
  2080.  
  2081. mouse.KeyDown:connect(function(key)
  2082. if key == "z" and attack == false then
  2083. LightComet()
  2084. end
  2085. if key == "e" and attack == false then
  2086. LightDemise()
  2087. end
  2088. if key == "r" and attack == false then
  2089. LightWrath()
  2090. end
  2091. if key == "f" and attack == false then
  2092. Polaris ()
  2093. end
  2094. if key == "x" and attack == false then
  2095. LightHell()
  2096. end
  2097. end)
  2098.  
  2099. game:GetService("RunService").Stepped:connect(function()
  2100. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2101. velocity = RootPart.Velocity.y
  2102. sine = sine + change
  2103. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2104. if equipped == true or equipped == false then
  2105. healthg.Text = math.floor(hum.Health).. "/" ..math.floor(hum.MaxHealth)
  2106. if RootPart.Velocity.y > 1 and hit == nil then
  2107. Anim = "Jump"
  2108. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2109. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2110. if attack == false then
  2111. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2113. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(50)), 0.3)
  2114. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3)
  2115. end
  2116. else
  2117. if RootPart.Velocity.y < -1 and hit == nil then
  2118. Anim = "Fall"
  2119. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2120. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2121. if attack == false then
  2122. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2123. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2124. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  2125. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  2126. end
  2127. else
  2128. if Torsovelocity < 1 and hit ~= nil then
  2129. Anim = "Idle"
  2130. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-10),math.rad(0)),.3)
  2131. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(10),math.rad(0)),.3)
  2132. if attack == false then
  2133. change = 1
  2134. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2135. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2136. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.25) * angles(math.rad(20 + 1.5 * math.cos(sine / 32)), math.rad(-30), math.rad(-90)), 0.3)
  2137. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10 + 1.5 * math.cos(sine / 32))), 0.3)
  2138. end
  2139. else
  2140. if Torsovelocity > 2 and hit ~= nil then
  2141. Anim = "Walk"
  2142. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  2143. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(-25),math.rad(0 + 50 * math.cos(sine / 6))),.3)
  2144. if attack == false then
  2145. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 32))* angles(math.rad(15),math.rad(0),math.rad(25)),.3)
  2146. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-25)),.3)
  2147. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.35, -0.5) * angles(math.rad(20), math.rad(-30), math.rad(-90)), 0.3)
  2148. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 5)), math.rad(0), math.rad(-10)), 0.3)
  2149. end
  2150. end
  2151. end
  2152. end
  2153. end
  2154. end
  2155. end)
  2156.  
  2157. function invul()
  2158. game.Players.CharacterAutoLoads = false
  2159. game.Players.everymanbuthimself19.Character.Humanoid.Name = "Hooman"
  2160. hum = game.Players.everymanbuthimself19.Character.Hooman
  2161. mod = Instance.new("Model",workspace)
  2162. mod.Name = hum.Parent.Name
  2163. hum.Parent.Parent = mod
  2164. while true do
  2165. wait()
  2166. hum.MaxHealth = math.huge + math.huge
  2167. hum.Health = math.huge + math.huge
  2168. if not hum.Parent:FindFirstChild("ForceField") then
  2169. ff = Instance.new("ForceField",hum.Parent)
  2170. hum.Parent:MakeJoints()
  2171. ff.Visible = false
  2172. end
  2173. end
  2174. end
  2175.  
  2176. delay(0,invul)
  2177.  
  2178. script.Parent.Selected:connect(function(mouse) --have this LocalScript inside a HopperBin
  2179. script.Parent:findFirstChild("Admin").Disabled = false
  2180. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement