Advertisement
DISTROYER190

Untitled

Mar 4th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 119.97 KB | None | 0 0
  1.  
  2.  
  3.  
  4.  
  5. ---//Thanos
  6. ---||Roblox Script
  7. ---\\Created By Leo
  8.  
  9. print'Thanos has loaded.'
  10. warn'...I AM GOING TO KILL YOU...'
  11. plr = game.Players.LocalPlayer
  12. char = plr.Character
  13. hum = char.Humanoid
  14. local cam = game.Workspace.CurrentCamera
  15. t = char.Torso
  16. h = char.Head
  17. ra = char["Right Arm"]
  18. la = char["Left Arm"]
  19. rl = char["Right Leg"]
  20. ll = char["Left Leg"]
  21. tors = char.Torso
  22. lleg = char["Left Leg"]
  23. root = char.HumanoidRootPart
  24. char.Humanoid.MaxHealth = math.huge
  25. wait()
  26. char.Humanoid.Health = math.huge
  27. local thanosA = Instance.new("ForceField",char)
  28. thanosA.Visible = false
  29.  
  30. for i,v in pairs(char:GetChildren()) do
  31. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  32. v:Destroy()
  33. end
  34. end
  35.  
  36. for i,v in pairs(char:GetChildren()) do
  37. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "CharacterMesh" then
  38. v:Destroy()
  39. end
  40. end
  41.  
  42. p = game.Players.LocalPlayer
  43. char = p.Character
  44. local txt = Instance.new("BillboardGui", char)
  45. txt.Adornee = char .Head
  46. txt.Name = "_status"
  47. txt.Size = UDim2.new(2, 0, 1.2, 0)
  48. txt.StudsOffset = Vector3.new(-9, 8, 0)
  49. local text = Instance.new("TextLabel", txt)
  50. text.Size = UDim2.new(10, 0, 7, 0)
  51. text.FontSize = "Size24"
  52. text.TextScaled = true
  53. text.TextTransparency = 0
  54. text.BackgroundTransparency = 1
  55. text.TextTransparency = 0
  56. text.TextStrokeTransparency = 0
  57. text.TextStrokeColor3 = Color3.new(0,0,0)
  58.  
  59. v=Instance.new("Part")
  60. v.Name = "ColorBrick"
  61. v.Parent=p.Character
  62. v.FormFactor="Symmetric"
  63. v.Anchored=true
  64. v.CanCollide=false
  65. v.BottomSurface="Smooth"
  66. v.TopSurface="Smooth"
  67. v.Size=Vector3.new(10,5,3)
  68. v.Transparency=1
  69. v.CFrame=char.Torso.CFrame
  70. v.Transparency=1
  71. text.TextColor3 = Color3.new(255,0,100)
  72. v.Shape="Block"
  73. text.Text = "Thanos"
  74.  
  75. coroutine.wrap(function()
  76. while wait() do
  77. wait()
  78. text.Font = "SourceSans"
  79. wait()
  80. text.Font = "SourceSansBold"
  81. end
  82. end)()
  83.  
  84. -----------------------------------
  85. function chatfunc(text)
  86. local chat = coroutine.wrap(function()
  87. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  88. Character:FindFirstChild("TalkingBillBoard"):destroy()
  89. end
  90. local naeeym2 = Instance.new("BillboardGui",Character)
  91. naeeym2.Size = UDim2.new(0,100,0,40)
  92. naeeym2.StudsOffset = Vector3.new(0,3,0)
  93. naeeym2.Adornee = Character.Head
  94. naeeym2.Name = "TalkingBillBoard"
  95. local tecks2 = Instance.new("TextLabel",naeeym2)
  96. tecks2.BackgroundTransparency = 1
  97. tecks2.BorderSizePixel = 0
  98. tecks2.Text = ""
  99. tecks2.Font = "ArialBold"
  100. tecks2.TextSize = 30
  101. tecks2.TextStrokeTransparency = 0
  102. tecks2.TextColor3 = Color3.new(255,255,0)
  103. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  104. tecks2.Size = UDim2.new(1,0,0.5,0)
  105. local tecks3 = Instance.new("TextLabel",naeeym2)
  106. tecks3.BackgroundTransparency = 1
  107. tecks3.BorderSizePixel = 0
  108. tecks3.Text = ""
  109. tecks3.Font = "ArialBold"
  110. tecks3.TextSize = 30
  111. tecks3.TextStrokeTransparency = 0
  112. tecks3.TextColor3 = Color3.new(255,255,0)
  113. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  114. tecks3.Size = UDim2.new(1,0,0.5,0)
  115. for i = 1,string.len(text),1 do
  116. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=138089340", Character, .6, .8)
  117. tecks2.Text = string.sub(text,1,i)
  118. tecks3.Text = string.sub(text,1,i)
  119. wait(0.01)
  120. end
  121. wait(2)
  122. for i = 1, 50 do
  123. swait()
  124. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  125. tecks2.Rotation = tecks2.Rotation - .8
  126. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  127. tecks2.TextTransparency = tecks2.TextTransparency + .04
  128. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  129. tecks3.Rotation = tecks2.Rotation + .8
  130. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  131. tecks3.TextTransparency = tecks2.TextTransparency + .04
  132. end
  133. naeeym2:Destroy()
  134. end)
  135. chat()
  136. end
  137. function onChatted(msg)
  138. chatfunc(msg)
  139. end
  140.  
  141. -----------------------------------
  142.  
  143. local Create = LoadLibrary("RbxUtility").Create
  144.  
  145. CFuncs = {
  146. ["Part"] = {
  147. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  148. local Part = Create("Part"){
  149. Parent = Parent,
  150. Reflectance = Reflectance,
  151. Transparency = Transparency,
  152. CanCollide = false,
  153. Locked = true,
  154. BrickColor = BrickColor.new(tostring(BColor)),
  155. Name = Name,
  156. Size = Size,
  157. Material = Material,
  158. }
  159. RemoveOutlines(Part)
  160. return Part
  161. end;
  162. };
  163.  
  164. ["Mesh"] = {
  165. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  166. local Msh = Create(Mesh){
  167. Parent = Part,
  168. Offset = OffSet,
  169. Scale = Scale,
  170. }
  171. if Mesh == "SpecialMesh" then
  172. Msh.MeshType = MeshType
  173. Msh.MeshId = MeshId
  174. end
  175. return Msh
  176. end;
  177. };
  178.  
  179. ["Mesh"] = {
  180. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  181. local Msh = Create(Mesh){
  182. Parent = Part,
  183. Offset = OffSet,
  184. Scale = Scale,
  185. }
  186. if Mesh == "SpecialMesh" then
  187. Msh.MeshType = MeshType
  188. Msh.MeshId = MeshId
  189. end
  190. return Msh
  191. end;
  192. };
  193.  
  194. ["Weld"] = {
  195. Create = function(Parent, Part0, Part1, C0, C1)
  196. local Weld = Create("Weld"){
  197. Parent = Parent,
  198. Part0 = Part0,
  199. Part1 = Part1,
  200. C0 = C0,
  201. C1 = C1,
  202. }
  203. return Weld
  204. end;
  205. };
  206.  
  207. ["Sound"] = {
  208. Create = function(id, par, vol, pit)
  209. coroutine.resume(coroutine.create(function()
  210. local S = Create("Sound"){
  211. Volume = vol,
  212. Pitch = pit or 1,
  213. SoundId = id,
  214. Parent = par or workspace,
  215. }
  216. wait()
  217. S:play()
  218. game:GetService("Debris"):AddItem(S, 10)
  219. end))
  220. end;
  221. };
  222.  
  223. ["ParticleEmitter"] = {
  224. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  225. local fp = Create("ParticleEmitter"){
  226. Parent = Parent,
  227. Color = ColorSequence.new(Color1, Color2),
  228. LightEmission = LightEmission,
  229. Size = Size,
  230. Texture = Texture,
  231. Transparency = Transparency,
  232. ZOffset = ZOffset,
  233. Acceleration = Accel,
  234. Drag = Drag,
  235. LockedToPart = LockedToPart,
  236. VelocityInheritance = VelocityInheritance,
  237. EmissionDirection = EmissionDirection,
  238. Enabled = Enabled,
  239. Lifetime = LifeTime,
  240. Rate = Rate,
  241. Rotation = Rotation,
  242. RotSpeed = RotSpeed,
  243. Speed = Speed,
  244. VelocitySpread = VelocitySpread,
  245. }
  246. return fp
  247. end;
  248. };
  249.  
  250. CreateTemplate = {
  251.  
  252. };
  253. }
  254.  
  255.  
  256.  
  257. New = function(Object, Parent, Name, Data)
  258. local Object = Instance.new(Object)
  259. for Index, Value in pairs(Data or {}) do
  260. Object[Index] = Value
  261. end
  262. Object.Parent = Parent
  263. Object.Name = Name
  264. return Object
  265. end
  266. local m = Instance.new("Model",char)
  267.  
  268. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  269. local p = Instance.new("Part")
  270. p.Parent = parent
  271. p.Size = Vector3.new(1,1,1)
  272. p.Transparency = transparency
  273. p.Reflectance = reflectance
  274. p.CanCollide = false
  275. p.Locked = true
  276. p.BrickColor = brickcolor
  277. p.Material = material
  278. return p
  279. end
  280.  
  281. function CreateMesh(parent,meshtype,x1,y1,z1)
  282. local mesh = Instance.new("SpecialMesh",parent)
  283. mesh.MeshType = meshtype
  284. mesh.Scale = Vector3.new(x1,y1,z1)
  285. return mesh
  286. end
  287.  
  288. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  289. local mesh = Instance.new("SpecialMesh",parent)
  290. mesh.MeshType = "FileMesh"
  291. mesh.MeshId = meshid
  292. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  293. mesh.Scale = Vector3.new(x1,y1,z1)
  294. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  295. return mesh
  296. end
  297.  
  298. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  299. local weld = Instance.new("Weld")
  300. weld.Parent = parent
  301. weld.Part0 = part0
  302. weld.Part1 = part1
  303. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  304. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  305. return weld
  306. end
  307.  
  308. for i,v in pairs(char:GetChildren()) do
  309. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  310. v:Destroy()
  311. end
  312. end
  313.  
  314. local bdycolors = char:findFirstChild("Body Colors")
  315. bdycolors.TorsoColor3 = Color3.new(91, 154, 76)
  316. bdycolors.LeftArmColor3 = Color3.new(91, 154, 76)
  317. bdycolors.RightArmColor3 = Color3.new(91, 154, 76)
  318. bdycolors.HeadColor3 = Color3.new(91, 154, 76)
  319. bdycolors.LeftLegColor3 = Color3.new(91, 154, 76)
  320. bdycolors.RightLegColor3 = Color3.new(91, 154, 76)
  321. char.Head.face.Texture = "rbxassetid://1211126983"
  322.  
  323. hed = char.Head
  324. rleg = char["Right Leg"]
  325. rarm = char["Right Arm"]
  326. larm = char["Left Arm"]
  327. vt = Vector3.new
  328. bc = BrickColor.new
  329. br = BrickColor.random
  330. it = Instance.new
  331. cf = CFrame.new
  332.  
  333. local sick = Instance.new("Sound",char)
  334. sick.SoundId = "rbxassetid://1333021608"
  335. sick.Looped = true
  336. sick.Pitch = 1
  337. sick.Volume = 0.3
  338. sick:Play()
  339.  
  340. function ApplyTrig(Num,Func)
  341. local Min,Max = Func(0),Func(1)
  342. local i = Func(Num)
  343. return (i-Min)/(Max-Min)
  344. --[[if Func == "sin" then
  345. return (math.sin((1-Num)*math.pi)+1)/2
  346. elseif Func == "cos" then
  347. return (math.cos((1-Num)*math.pi)+1)/2
  348. end]]
  349. end
  350.  
  351. local acos = math.acos
  352. local sqrt = math.sqrt
  353. local Vec3 = Vector3.new
  354.  
  355. local function toAxisAngle(CFr)
  356. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  357. local Angle = math.acos((R00+R11+R22-1)/2)
  358. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  359. A = A == 0 and 0.00001 or A
  360. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  361. B = B == 0 and 0.00001 or B
  362. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  363. C = C == 0 and 0.00001 or C
  364. local x = (R21-R12)/sqrt(A)
  365. local y = (R02-R20)/sqrt(B)
  366. local z = (R10-R01)/sqrt(C)
  367. return Vec3(x,y,z),Angle
  368. end
  369.  
  370. local fromAxisAngle = CFrame.fromAxisAngle
  371.  
  372. function LerpCFrame(CFrame1,CFrame2,Num)
  373. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  374. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  375. end
  376.  
  377.  
  378.  
  379.  
  380.  
  381. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  382. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  383. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.random())
  384. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  385.  
  386. Player=game:GetService("Players").LocalPlayer
  387. Character=Player.Character
  388. PlayerGui=Player.PlayerGui
  389. Backpack=Player.Backpack
  390. Torso=Character.Torso
  391. Head=Character.Head
  392. Humanoid=Character.Humanoid
  393. m=Instance.new('Model',Character)
  394. LeftArm=Character["Left Arm"]
  395. LeftLeg=Character["Left Leg"]
  396. RightArm=Character["Right Arm"]
  397. RightLeg=Character["Right Leg"]
  398. LS=Torso["Left Shoulder"]
  399. LH=Torso["Left Hip"]
  400. RS=Torso["Right Shoulder"]
  401. RH=Torso["Right Hip"]
  402. Face = Head.face
  403. Neck=Torso.Neck
  404. it=Instance.new
  405. attacktype=1
  406. vt=Vector3.new
  407. cf=CFrame.new
  408. euler=CFrame.fromEulerAnglesXYZ
  409. angles=CFrame.Angles
  410. cloaked=false
  411. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  412. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  413. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  414. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  415. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  416. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  417. RootPart=Character.HumanoidRootPart
  418. RootJoint=RootPart.RootJoint
  419. RootCF=euler(-1.57,0,3.14)
  420. attack = false
  421. attackdebounce = false
  422. deb=false
  423. equipped=true
  424. hand=false
  425. MMouse=nil
  426. combo=0
  427. mana=0
  428. trispeed=.2
  429. attackmode='none'
  430. local idle=0
  431. local Anim="Idle"
  432. local Effects={}
  433. local gun=false
  434. local shoot=false
  435. local sine = 0
  436. local change = 1
  437. player=nil
  438. shirt = Instance.new("Shirt", char)
  439. shirt.Name = "Shirt"
  440. pants = Instance.new("Pants", char)
  441. pants.Name = "Pants"
  442. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1164502809"
  443. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1164518521"
  444. hum.WalkSpeed = 20
  445.  
  446. asd = Instance.new("Sound",char)
  447. asd.SoundId = "http://www.roblox.com/asset/?id = 254826701"
  448. asd.Volume = 3
  449. asd.Looped = true
  450.  
  451. local txt = Instance.new("BillboardGui", char)
  452. CV="Lime green"
  453. txt.Adornee = char .Head
  454. txt.Name = "_status"
  455. txt.Size = UDim2.new(2, 0, 1.2, 0)
  456. txt.StudsOffset = Vector3.new(-9, 8, 0)
  457. local text = Instance.new("TextLabel", txt)
  458. text.Size = UDim2.new(10, 0, 7, 0)
  459. text.FontSize = "Size24"
  460. text.TextScaled = true
  461. text.TextTransparency = 0
  462. text.BackgroundTransparency = 1
  463. text.TextTransparency = 0
  464. text.TextStrokeTransparency = 0
  465. text.Font = "Bodoni"
  466. text.TextStrokeColor3 = Color3.new(0,0,0)
  467. text.TextColor3 = Color3.fromRGB(255,255,0)
  468. text.Text = " "
  469. v=Instance.new("Part")
  470. v.Name = "ColorBrick"
  471. v.Parent= plr.Character
  472. v.FormFactor="Symmetric"
  473. v.Anchored=true
  474. v.CanCollide=false
  475. v.BottomSurface="Smooth"
  476. v.TopSurface="Smooth"
  477. v.Size=Vector3.new(10,5,3)
  478. v.Transparency=0
  479. v.CFrame=char.Torso.CFrame
  480. v.BrickColor=BrickColor.new("Dark green")
  481. v.Transparency=1
  482. v.Shape="Block"
  483.  
  484. mouse=Player:GetMouse()
  485. --save shoulders
  486. RSH, LSH=nil, nil
  487. --welds
  488. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  489. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  490. LH=Torso["Left Hip"]
  491. RH=Torso["Right Hip"]
  492. TorsoColor=Torso.BrickColor
  493. function NoOutline(Part)
  494. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  495. end
  496. player=Player
  497. ch=Character
  498. RSH=ch.Torso["Right Shoulder"]
  499. LSH=ch.Torso["Left Shoulder"]
  500. --
  501. RSH.Parent=nil
  502. LSH.Parent=nil
  503. --
  504. RW.Name="Right Shoulder"
  505. RW.Part0=ch.Torso
  506. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  507. RW.C1=cf(0, 0.5, 0)
  508. RW.Part1=ch["Right Arm"]
  509. RW.Parent=ch.Torso
  510. --
  511. LW.Name="Left Shoulder"
  512. LW.Part0=ch.Torso
  513. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  514. LW.C1=cf(0, 0.5, 0)
  515. LW.Part1=ch["Left Arm"]
  516. LW.Parent=ch.Torso
  517.  
  518. local Stats=Instance.new("BoolValue")
  519. Stats.Name="Stats"
  520. Stats.Parent=Character
  521. local Atk=Instance.new("NumberValue")
  522. Atk.Name="Damage"
  523. Atk.Parent=Stats
  524. Atk.Value=1
  525. local Def=Instance.new("NumberValue")
  526. Def.Name="Defense"
  527. Def.Parent=Stats
  528. Def.Value=1
  529. local Speed=Instance.new("NumberValue")
  530. Speed.Name="Speed"
  531. Speed.Parent=Stats
  532. Speed.Value=1
  533. local Mvmt=Instance.new("NumberValue")
  534. Mvmt.Name="Movement"
  535. Mvmt.Parent=Stats
  536. Mvmt.Value=1
  537.  
  538. local donum=0
  539.  
  540.  
  541. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  542. local fp=it("Part")
  543. fp.formFactor=formfactor
  544. fp.Parent=parent
  545. fp.Reflectance=reflectance
  546. fp.Transparency=transparency
  547. fp.CanCollide=false
  548. fp.Locked=true
  549. fp.BrickColor=brickcolor
  550. fp.Name=name
  551. fp.Size=size
  552. fp.Position=Torso.Position
  553. NoOutline(fp)
  554. fp.Material="SmoothPlastic"
  555. fp:BreakJoints()
  556. return fp
  557. end
  558.  
  559. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  560. local mesh=it(Mesh)
  561. mesh.Parent=part
  562. if Mesh=="SpecialMesh" then
  563. mesh.MeshType=meshtype
  564. if meshid~="nil" then
  565. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  566. end
  567. end
  568. mesh.Offset=offset
  569. mesh.Scale=scale
  570. return mesh
  571. end
  572.  
  573. function weld(parent,part0,part1,c0)
  574. local weld=it("Weld")
  575. weld.Parent=parent
  576. weld.Part0=part0
  577. weld.Part1=part1
  578. weld.C0=c0
  579. return weld
  580. end
  581.  
  582. local Color1=Torso.BrickColor
  583.  
  584. local bodvel=Instance.new("BodyVelocity")
  585. local bg=Instance.new("BodyGyro")
  586.  
  587. function swait(num)
  588. if num==0 or num==nil then
  589. game:service'RunService'.Stepped:wait(0)
  590. else
  591. for i=0,num do
  592. game:service'RunService'.Stepped:wait(0)
  593. end
  594. end
  595. end
  596.  
  597.  
  598. so = function(id,par,vol,pit)
  599. coroutine.resume(coroutine.create(function()
  600. local sou = Instance.new("Sound",par or workspace)
  601. sou.Volume=vol
  602. sou.Pitch=pit or 1
  603. sou.SoundId=id
  604. swait()
  605. sou:play()
  606. game:GetService("Debris"):AddItem(sou,6)
  607. end))
  608. end
  609.  
  610. function clerp(a,b,t)
  611. local qa = {QuaternionFromCFrame(a)}
  612. local qb = {QuaternionFromCFrame(b)}
  613. local ax, ay, az = a.x, a.y, a.z
  614. local bx, by, bz = b.x, b.y, b.z
  615. local _t = 1-t
  616. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  617. end
  618.  
  619. function QuaternionFromCFrame(cf)
  620. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  621. local trace = m00 + m11 + m22
  622. if trace > 0 then
  623. local s = math.sqrt(1 + trace)
  624. local recip = 0.5/s
  625. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  626. else
  627. local i = 0
  628. if m11 > m00 then
  629. i = 1
  630. end
  631. if m22 > (i == 0 and m00 or m11) then
  632. i = 2
  633. end
  634. if i == 0 then
  635. local s = math.sqrt(m00-m11-m22+1)
  636. local recip = 0.5/s
  637. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  638. elseif i == 1 then
  639. local s = math.sqrt(m11-m22-m00+1)
  640. local recip = 0.5/s
  641. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  642. elseif i == 2 then
  643. local s = math.sqrt(m22-m00-m11+1)
  644. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  645. end
  646. end
  647. end
  648.  
  649. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  650. local xs, ys, zs = x + x, y + y, z + z
  651. local wx, wy, wz = w*xs, w*ys, w*zs
  652. local xx = x*xs
  653. local xy = x*ys
  654. local xz = x*zs
  655. local yy = y*ys
  656. local yz = y*zs
  657. local zz = z*zs
  658. 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))
  659. end
  660.  
  661. function QuaternionSlerp(a, b, t)
  662. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  663. local startInterp, finishInterp;
  664. if cosTheta >= 0.0001 then
  665. if (1 - cosTheta) > 0.0001 then
  666. local theta = math.acos(cosTheta)
  667. local invSinTheta = 1/math.sin(theta)
  668. startInterp = math.sin((1-t)*theta)*invSinTheta
  669. finishInterp = math.sin(t*theta)*invSinTheta
  670. else
  671. startInterp = 1-t
  672. finishInterp = t
  673. end
  674. else
  675. if (1+cosTheta) > 0.0001 then
  676. local theta = math.acos(-cosTheta)
  677. local invSinTheta = 1/math.sin(theta)
  678. startInterp = math.sin((t-1)*theta)*invSinTheta
  679. finishInterp = math.sin(t*theta)*invSinTheta
  680. else
  681. startInterp = t-1
  682. finishInterp = t
  683. end
  684. end
  685. 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
  686. end
  687.  
  688. local function CFrameFromTopBack(at, top, back)
  689. local right = top:Cross(back)
  690. return CFrame.new(at.x, at.y, at.z,
  691. right.x, top.x, back.x,
  692. right.y, top.y, back.y,
  693. right.z, top.z, back.z)
  694. end
  695.  
  696. function Triangle(a, b, c)
  697. local edg1 = (c-a):Dot((b-a).unit)
  698. local edg2 = (a-b):Dot((c-b).unit)
  699. local edg3 = (b-c):Dot((a-c).unit)
  700. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  701. a, b, c = a, b, c
  702. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  703. a, b, c = b, c, a
  704. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  705. a, b, c = c, a, b
  706. else
  707. assert(false, "unreachable")
  708. end
  709.  
  710. local len1 = (c-a):Dot((b-a).unit)
  711. local len2 = (b-a).magnitude - len1
  712. local width = (a + (b-a).unit*len1 - c).magnitude
  713.  
  714. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  715.  
  716. local list = {}
  717.  
  718. if len1 > 0.01 then
  719. local w1 = Instance.new('WedgePart', m)
  720. game:GetService("Debris"):AddItem(w1,5)
  721. w1.Material = "SmoothPlastic"
  722. w1.FormFactor = 'Custom'
  723. w1.BrickColor = BrickColor.new("Really red")
  724. w1.Transparency = 0
  725. w1.Reflectance = 0
  726. w1.Material = "SmoothPlastic"
  727. w1.CanCollide = false
  728. local l1 = Instance.new("PointLight",w1)
  729. l1.Color = Color3.new(170,0,0)
  730. NoOutline(w1)
  731. local sz = Vector3.new(0.2, width, len1)
  732. w1.Size = sz
  733. local sp = Instance.new("SpecialMesh",w1)
  734. sp.MeshType = "Wedge"
  735. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  736. w1:BreakJoints()
  737. w1.Anchored = true
  738. w1.Parent = workspace
  739. w1.Transparency = 0.7
  740. table.insert(Effects,{w1,"Disappear",.01})
  741. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  742. table.insert(list,w1)
  743. end
  744.  
  745. if len2 > 0.01 then
  746. local w2 = Instance.new('WedgePart', m)
  747. game:GetService("Debris"):AddItem(w2,5)
  748. w2.Material = "SmoothPlastic"
  749. w2.FormFactor = 'Custom'
  750. w2.BrickColor = BrickColor.new("Really red")
  751. w2.Transparency = 0
  752. w2.Reflectance = 0
  753. w2.Material = "SmoothPlastic"
  754. w2.CanCollide = false
  755. local l2 = Instance.new("PointLight",w2)
  756. l2.Color = Color3.new(170,0,0)
  757. NoOutline(w2)
  758. local sz = Vector3.new(0.2, width, len2)
  759. w2.Size = sz
  760. local sp = Instance.new("SpecialMesh",w2)
  761. sp.MeshType = "Wedge"
  762. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  763. w2:BreakJoints()
  764. w2.Anchored = true
  765. w2.Parent = workspace
  766. w2.Transparency = 0.7
  767. table.insert(Effects,{w2,"Disappear",.01})
  768. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  769. table.insert(list,w2)
  770. end
  771. return unpack(list)
  772. end
  773.  
  774.  
  775.  
  776. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  777. if hit.Parent==nil then
  778. return
  779. end
  780. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  781. for _,v in pairs(hit.Parent:children()) do
  782. if v:IsA("Humanoid") then
  783. h=v
  784. end
  785. end
  786. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  787. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  788. end
  789. if hit.Parent.className=="Hat" then
  790. hit=hit.Parent.Parent:findFirstChild("Head")
  791. end
  792. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  793. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  794. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  795. return
  796. end]]
  797. -- hs(hit,1.2)
  798. c=Instance.new("ObjectValue")
  799. c.Name="creator"
  800. c.Value=game:service("Players").LocalPlayer
  801. c.Parent=h
  802. game:GetService("Debris"):AddItem(c,.5)
  803. Damage=math.random(minim,maxim)
  804. -- h:TakeDamage(Damage)
  805. blocked=false
  806. block=hit.Parent:findFirstChild("Block")
  807. if block~=nil then
  808. print(block.className)
  809. if block.className=="NumberValue" then
  810. if block.Value>0 then
  811. blocked=true
  812. if decreaseblock==nil then
  813. block.Value=block.Value-1
  814. end
  815. end
  816. end
  817. if block.className=="IntValue" then
  818. if block.Value>0 then
  819. blocked=true
  820. if decreaseblock~=nil then
  821. block.Value=block.Value-1
  822. end
  823. end
  824. end
  825. end
  826. if blocked==false then
  827. -- h:TakeDamage(Damage)
  828. h.Health=h.Health-Damage
  829. showDamage(hit.Parent,Damage,.999,BrickColor.new("Really red"))
  830. else
  831. h.Health=h.Health-(Damage/999)
  832. showDamage(hit.Parent,Damage/999,.999,BrickColor.new("Bright blue"))
  833. end
  834. if Type=="Knockdown" then
  835. hum=hit.Parent.Humanoid
  836. hum.PlatformStand=true
  837. coroutine.resume(coroutine.create(function(HHumanoid)
  838. swait(1)
  839. HHumanoid.PlatformStand=false
  840. end),hum)
  841. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  842. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  843. local bodvol=Instance.new("BodyVelocity")
  844. bodvol.velocity=angle*knockback
  845. bodvol.P=5000
  846. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  847. bodvol.Parent=hit
  848. rl=Instance.new("BodyAngularVelocity")
  849. rl.P=3000
  850. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  851. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  852. rl.Parent=hit
  853. game:GetService("Debris"):AddItem(bodvol,.5)
  854. game:GetService("Debris"):AddItem(rl,.5)
  855. elseif Type=="Normal" then
  856. bp=Instance.new("BodyVelocity")
  857. bp.P=100000
  858. bp.maxForce=Vector3.new(math.huge,0,math.huge)
  859. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  860. if KnockbackType==1 then
  861. bp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  862. elseif KnockbackType==2 then
  863. bp.velocity=Property.CFrame.lookVector*knockback
  864. end
  865. if knockback>0 then
  866. bp.Parent=hit.Parent.Torso
  867.  
  868. end
  869. game:GetService("Debris"):AddItem(bp,.5)
  870. elseif Type=="Up" then
  871. local bodyVelocity=Instance.new("BodyVelocity")
  872. bodyVelocity.velocity=vt(0,60,0)
  873. bodyVelocity.P=5000
  874. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  875. bodyVelocity.Parent=hit
  876. game:GetService("Debris"):AddItem(bodyVelocity,1)
  877. rl=Instance.new("BodyAngularVelocity")
  878. rl.P=3000
  879. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  880. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  881. rl.Parent=hit
  882. game:GetService("Debris"):AddItem(rl,.5)
  883. elseif Type=="Snare" then
  884. bp=Instance.new("BodyPosition")
  885. bp.P=2000
  886. bp.D=100
  887. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  888. bp.position=hit.Parent.Torso.Position
  889. bp.Parent=hit.Parent.Torso
  890. game:GetService("Debris"):AddItem(bp,1)
  891. elseif Type=="Target" then
  892. if Targetting==false then
  893. ZTarget=hit.Parent.Torso
  894. coroutine.resume(coroutine.create(function(Part)
  895. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  896. swait(1)
  897. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  898. end),ZTarget)
  899. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  900. targetgui=Instance.new("BillboardGui")
  901. targetgui.Parent=ZTarget
  902. targetgui.Size=UDim2.new(10,100,10,100)
  903. targ=Instance.new("ImageLabel")
  904. targ.Parent=targetgui
  905. targ.BackgroundTransparency=1
  906. targ.Image="rbxassetid://4834067"
  907. targ.Size=UDim2.new(1,0,1,0)
  908. cam.CameraType="Scriptable"
  909. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  910. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  911. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  912. Targetting=true
  913. RocketTarget=ZTarget
  914. for i=1,Property do
  915. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  916. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  917. swait()
  918. end
  919. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  920. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  921. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  922. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  923. end
  924. Targetting=true
  925. RocketTarget=true
  926. targetgui.Parent=true
  927. cam.CameraType="Custom"
  928. end
  929. end
  930. debounce=Instance.new("BoolValue")
  931. debounce.Name="DebounceHit"
  932. debounce.Parent=hit.Parent
  933. debounce.Value=true
  934. game:GetService("Debris"):AddItem(debounce,Delay)
  935. c=Instance.new("ObjectValue")
  936. c.Name="creator"
  937. c.Value=Player
  938. c.Parent=h
  939. game:GetService("Debris"):AddItem(c,.5)
  940. CRIT=true
  941. hitDeb=true
  942. AttackPos=6
  943. end
  944. end
  945.  
  946. showDamage=function(Char,Dealt,du,Color)
  947. m=Instance.new("Model")
  948. m.Name=tostring(Dealt)
  949. h=Instance.new("Humanoid")
  950. h.Health=0
  951. h.MaxHealth=0
  952. h.Parent=m
  953. c=Instance.new("Part")
  954. c.Transparency=0
  955. c.BrickColor=Color
  956. c.Transparency = 1
  957. c.Name="Head"
  958. c.TopSurface=0
  959. c.BottomSurface=0
  960. c.formFactor="Plate"
  961. c.Size=Vector3.new(1,.4,1)
  962.  
  963. local txt = Instance.new("BillboardGui", c)
  964. txt.Adornee = c
  965. txt.Name = "_status"
  966. txt.Size = UDim2.new(2, 0, 1.2, 0)
  967. txt.StudsOffset = Vector3.new(-9, 8, 0)
  968. local text = Instance.new("TextLabel", txt)
  969. text.Size = UDim2.new(10, 0, 7, 0)
  970. text.FontSize = "Size12"
  971. text.TextScaled = true
  972. text.TextTransparency = 0.5
  973. text.BackgroundTransparency = 1
  974. text.TextTransparency = 0.5
  975. text.TextStrokeTransparency = 0.5
  976. text.Font = "SciFi"
  977. text.TextStrokeColor3 = Color3.new(0,0,0)
  978. v=Instance.new("Part")
  979. v.Name = "ColorBrick"
  980. v.Parent=c
  981. v.FormFactor="Symmetric"
  982. v.Anchored=true
  983. v.CanCollide=false
  984. v.BottomSurface="Smooth"
  985. v.TopSurface="Smooth"
  986. v.Size=Vector3.new(10,5,3)
  987. v.Transparency=1
  988. v.CFrame=c.CFrame
  989. v.BrickColor=BrickColor.random()
  990. v.Transparency=1
  991. text.TextColor3 = t.BrickColor.Color
  992. v.Shape="Block"
  993. text.Text = tostring(Dealt)
  994. ms=Instance.new("CylinderMesh")
  995. ms.Scale=Vector3.new(.8,.8,.8)
  996. --[[local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"}
  997. local rndm=math.random(1,#hitsounds)
  998. local r=rndm
  999. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id="..hitsounds[r],c,1.25,1)]]--
  1000. if CRIT==true then
  1001. ms.Scale=Vector3.new(1,1.25,1)
  1002. end
  1003. ms.Parent=c
  1004. c.Reflectance=0
  1005. Instance.new("BodyGyro").Parent=c
  1006. c.Parent=m
  1007. if Char:findFirstChild("Head")~=nil then
  1008. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1009. elseif Char.Parent:findFirstChild("Head")~=nil then
  1010. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1011. end
  1012. f=Instance.new("BodyPosition")
  1013. f.P=200000
  1014. f.D=100
  1015. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1016. f.position=c.Position+Vector3.new(0,3,0)
  1017. f.Parent=c
  1018. game:GetService("Debris"):AddItem(m,.5+du)
  1019. c.CanCollide=false
  1020. m.Parent=workspace
  1021. c.CanCollide=false
  1022. end
  1023.  
  1024. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1025. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1026. end
  1027.  
  1028. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1029. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1030. prt.Anchored=true
  1031. prt.CFrame=cframe
  1032. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1033. --http://www.roblox.com/asset/?id=4770560
  1034. game:GetService("Debris"):AddItem(prt,2)
  1035. CF=prt.CFrame
  1036. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1037. for i=0,1,0.2 do
  1038. wait()
  1039. Part.CFrame=CF*cf(0,0,-0.4)
  1040. end
  1041. for i=0,1,delay do
  1042. wait()
  1043. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  1044. Mesh.Scale=Mesh.Scale
  1045. end
  1046. for i=0,1,0.1 do
  1047. wait()
  1048. Part.Transparency=i
  1049. end
  1050. Part.Parent=nil
  1051. end),prt,msh,CF)
  1052. end
  1053.  
  1054. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1055. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1056. prt.Anchored=true
  1057. prt.Material = "Plastic"
  1058. prt.CFrame=cframe
  1059. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1060. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1061. game:GetService("Debris"):AddItem(prt,5)
  1062. coroutine.resume(coroutine.create(function(Part,Mesh)
  1063. for i=0,1,delay do
  1064. swait()
  1065. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1066. Part.Transparency=i
  1067. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1068. end
  1069. Part.Parent=nil
  1070. end),prt,msh)
  1071. end
  1072.  
  1073.  
  1074.  
  1075.  
  1076. function MagicBlockDash(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1077. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.3,0.3,0.3))
  1078. prt.Anchored=true
  1079. prt.Material = "Neon"
  1080. prt.CFrame=cframe
  1081. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1082. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1083. game:GetService("Debris"):AddItem(prt,1)
  1084. coroutine.resume(coroutine.create(function(Part,Mesh)
  1085. for i=0,1,delay do
  1086. swait()
  1087. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1088. Part.Transparency=i
  1089. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1090. end
  1091. Part.Parent=nil
  1092. end),prt,msh)
  1093. end
  1094.  
  1095.  
  1096. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1097. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1098. prt.Anchored=true
  1099. prt.Material = "Neon"
  1100. prt.CFrame=cframe
  1101. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1102. game:GetService("Debris"):AddItem(prt,5)
  1103. coroutine.resume(coroutine.create(function(Part,Mesh)
  1104. local rtype = rottype
  1105. for i=0,1,delay do
  1106. swait()
  1107. if rtype == 1 then
  1108. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1109. elseif rtype == 2 then
  1110. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1111. end
  1112. Part.Transparency=i
  1113. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1114. end
  1115. Part.Parent=nil
  1116. end),prt,msh)
  1117. end
  1118.  
  1119. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1120. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1121. prt.Anchored=true
  1122. prt.CFrame=cframe
  1123. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1124. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1125. game:GetService("Debris"):AddItem(prt,5)
  1126. coroutine.resume(coroutine.create(function(Part,Mesh)
  1127. for i=0,1,delay do
  1128. wait()
  1129. Part.Transparency=i
  1130. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1131. end
  1132. Part.Parent=nil
  1133. end),prt,msh)
  1134. end
  1135.  
  1136. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  1137. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1138. prt.Anchored=true
  1139. prt.Material = "Neon"
  1140. prt.CFrame=cframe
  1141. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1142. game:GetService("Debris"):AddItem(prt,5)
  1143. coroutine.resume(coroutine.create(function(Part,Mesh)
  1144. local rtype = rottype
  1145. for i=0,1,delay do
  1146. swait()
  1147. if rtype == 1 then
  1148. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1149. elseif rtype == 2 then
  1150. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1151. end
  1152. Part.Transparency=i
  1153. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1154. end
  1155. Part.Parent=nil
  1156. end),prt,msh)
  1157. end
  1158.  
  1159. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1160. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1161. prt.Anchored=true
  1162. prt.Material = "Neon"
  1163. prt.CFrame=cframe
  1164. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1165. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  1166. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1167. game:GetService("Debris"):AddItem(prt,5)
  1168. coroutine.resume(coroutine.create(function(Part,Mesh)
  1169. local rtype = rottype
  1170. for i=0,1,delay do
  1171. swait()
  1172. if rtype == 1 then
  1173. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1174. elseif rtype == 2 then
  1175. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1176. end
  1177. dec.Transparency=i
  1178. dec2.Transparency=i
  1179. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1180. end
  1181. Part.Parent=nil
  1182. end),prt,msh)
  1183. end
  1184.  
  1185. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  1186. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1187. prt.Anchored=true
  1188. prt.Material = "Neon"
  1189. prt.CFrame=cframe
  1190. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  1191. game:GetService("Debris"):AddItem(prt,5)
  1192. coroutine.resume(coroutine.create(function(Part,Mesh)
  1193. local rtype = rottype
  1194. for i=0,1,delay do
  1195. swait()
  1196. if rtype == 1 then
  1197. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1198. elseif rtype == 2 then
  1199. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1200. end
  1201. prt.Transparency=i
  1202. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1203. end
  1204. Part.Parent=nil
  1205. end),prt,msh)
  1206. end
  1207.  
  1208. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  1209. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1210. prt.Anchored=true
  1211. prt.Material = "Neon"
  1212. prt.CFrame=cframe
  1213. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  1214. game:GetService("Debris"):AddItem(prt,5)
  1215. coroutine.resume(coroutine.create(function(Part,Mesh)
  1216. local rtype = rottype
  1217. for i=0,1,delay do
  1218. swait()
  1219. if rtype == 1 then
  1220. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  1221. elseif rtype == 2 then
  1222. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  1223. end
  1224. prt.Transparency=i
  1225. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  1226. end
  1227. Part.Parent=nil
  1228. end),prt,msh)
  1229. end
  1230.  
  1231. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  1232. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1233. prt.Anchored=true
  1234. prt.Material = "Neon"
  1235. prt.CFrame=cframe
  1236. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1237. game:GetService("Debris"):AddItem(prt,5)
  1238. coroutine.resume(coroutine.create(function(Part,Mesh)
  1239. local rtype = rottype
  1240. for i=0,1,delay do
  1241. swait()
  1242. if rtype == 1 then
  1243. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  1244. elseif rtype == 2 then
  1245. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  1246. end
  1247. prt.Transparency=i
  1248. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  1249. end
  1250. Part.Parent=nil
  1251. end),prt,msh)
  1252. end
  1253.  
  1254. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1255. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1256. prt.Material = "Neon"
  1257. prt.Anchored=true
  1258. prt.CFrame=cframe
  1259. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1260. local wld=weld(prt,prt,Parent,cframe)
  1261. game:GetService("Debris"):AddItem(prt,5)
  1262. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1263. for i=0,1,delay do
  1264. wait()
  1265. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1266. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1267. Part.Transparency=i
  1268. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1269. end
  1270. Part.Parent=nil
  1271. end),prt,msh,wld)
  1272. end
  1273.  
  1274. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1275. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1276. prt.Anchored=false
  1277. prt.CFrame=cframe
  1278. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1279. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1280. game:GetService("Debris"):AddItem(prt,5)
  1281. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1282. for i=0,1,delay do
  1283. wait()
  1284. Weld.C0=euler(i*20,0,0)
  1285. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1286. Part.Transparency=i
  1287. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1288. end
  1289. Part.Parent=nil
  1290. end),prt,msh,wld)
  1291. end
  1292.  
  1293. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1294. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1295. prt.Anchored=true
  1296. prt.CFrame=cframe
  1297. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1298. game:GetService("Debris"):AddItem(prt,2)
  1299. coroutine.resume(coroutine.create(function(Part,Mesh)
  1300. for i=0,1,delay do
  1301. wait()
  1302. Part.CFrame=Part.CFrame
  1303. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1304. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1305. prt2.Anchored=true
  1306. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1307. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1308. game:GetService("Debris"):AddItem(prt2,2)
  1309. coroutine.resume(coroutine.create(function(Part,Mesh)
  1310. for i=0,1,0.1 do
  1311. wait()
  1312. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1313. end
  1314. Part.Parent=nil
  1315. end),prt2,msh2)
  1316. end
  1317. for i=0,1,delay*2 do
  1318. wait()
  1319. Part.CFrame=Part.CFrame
  1320. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1321. end
  1322. Part.Parent=nil
  1323. end),prt,msh)
  1324. end
  1325.  
  1326. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1327. local frame = IT("Frame")
  1328. frame.BackgroundTransparency = TRANSPARENCY
  1329. frame.BorderSizePixel = BORDERSIZEPIXEL
  1330. frame.Position = POSITION
  1331. frame.Size = SIZE
  1332. frame.BackgroundColor3 = COLOR
  1333. frame.BorderColor3 = BORDERCOLOR
  1334. frame.Name = NAME
  1335. frame.Parent = PARENT
  1336. return frame
  1337. end
  1338.  
  1339. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1340. local label = IT("TextLabel")
  1341. label.BackgroundTransparency = 1
  1342. label.Size = UD2(1, 0, 1, 0)
  1343. label.Position = UD2(0, 0, 0, 0)
  1344. label.TextColor3 = TEXTCOLOR
  1345. label.TextStrokeTransparency = STROKETRANSPARENCY
  1346. label.TextTransparency = TRANSPARENCY
  1347. label.FontSize = TEXTFONTSIZE
  1348. label.Font = TEXTFONT
  1349. label.BorderSizePixel = BORDERSIZEPIXEL
  1350. label.TextScaled = false
  1351. label.Text = TEXT
  1352. label.Name = NAME
  1353. label.Parent = PARENT
  1354. return label
  1355. end
  1356.  
  1357. IT = Instance.new
  1358. CF = CFrame.new
  1359. VT = Vector3.new
  1360. RAD = math.rad
  1361. C3 = Color3.new
  1362. UD2 = UDim2.new
  1363. BRICKC = BrickColor.new
  1364. ANGLES = CFrame.Angles
  1365. EULER = CFrame.fromEulerAnglesXYZ
  1366. COS = math.cos
  1367. ACOS = math.acos
  1368. SIN = math.sin
  1369. ASIN = math.asin
  1370. ABS = math.abs
  1371. MRANDOM = math.random
  1372. FLOOR = math.floor
  1373.  
  1374. local SKILLTEXTCOLOR = C3(255,0,255)
  1375. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1376. WEAPONGUI.Name = "Weapon GUI"
  1377.  
  1378. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1379. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1380. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1381. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1382. local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1383. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.130, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1384.  
  1385. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q] Power Stone Blast", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 1")
  1386. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[E] Power Stone Bomb", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 2")
  1387. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[R] Power Beam", SKILLTEXTCOLOR, 7, "Bodoni", 0, 2, 1, "Text 3")
  1388. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] True Power Throw", SKILLTEXTCOLOR, 6, "Bodoni", 0, 2, 1, "Text4")
  1389. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[Z] Time Blast", SKILLTEXTCOLOR, 6, "Bodoni", 0, 2, 1, "Text5")
  1390. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[C] Snap Fingers", SKILLTEXTCOLOR, 6, "Bodoni", 0, 2, 1, "Text6")
  1391.  
  1392. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1393. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1394. prt.Anchored=true
  1395. prt.CFrame=cframe
  1396. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1397. game:GetService("Debris"):AddItem(prt,2)
  1398. coroutine.resume(coroutine.create(function(Part,Mesh)
  1399. for i=0,1,delay do
  1400. wait()
  1401. Part.CFrame=Part.CFrame
  1402. Part.Transparency=i
  1403. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1404. end
  1405. Part.Parent=nil
  1406. end),prt,msh)
  1407. end
  1408.  
  1409. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1410. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1411. prt.Anchored=true
  1412. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1413. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1414. game:GetService("Debris"):AddItem(prt,2)
  1415. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1416. CF=Part.CFrame
  1417. Numbb=0
  1418. randnumb=math.random()/10
  1419. rand1=math.random()/10
  1420. for i=0,1,rand1 do
  1421. wait()
  1422. CF=CF*cf(0,math.random()/2,0)
  1423. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1424. Part.CFrame=CF*euler(Numbb,0,0)
  1425. Part.Transparency=i
  1426. Numbb=Numbb+randnumb
  1427. end
  1428. Part.Parent=nil
  1429. end),prt,CF,Numbb,randnumb)
  1430. end
  1431.  
  1432. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1433. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1434. prt.Anchored=true
  1435. prt.CFrame=cframe
  1436. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1437. game:GetService("Debris"):AddItem(prt,5)
  1438. coroutine.resume(coroutine.create(function(Part,Mesh)
  1439. for i=0,1,delay do
  1440. wait()
  1441. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1442. Part.Transparency=i
  1443. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1444. end
  1445. Part.Parent=nil
  1446. end),prt,msh)
  1447. end
  1448.  
  1449. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1450. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1451. prt.Anchored=true
  1452. prt.CFrame=cframe
  1453. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1454. game:GetService("Debris"):AddItem(prt,2)
  1455. coroutine.resume(coroutine.create(function(Part,Mesh)
  1456. for i=0,1,delay do
  1457. wait()
  1458. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1459. Part.Transparency=i
  1460. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1461. end
  1462. Part.Parent=nil
  1463. end),prt,msh)
  1464. end
  1465.  
  1466. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1467. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1468. prt.Anchored=true
  1469. prt.CFrame=cframe*cf(x,y,z)
  1470. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1471. game:GetService("Debris"):AddItem(prt,5)
  1472. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1473. local num=math.random()
  1474. local num2=math.random(-3,2)+math.random()
  1475. local numm=0
  1476. for i=0,1,delay*2 do
  1477. swait()
  1478. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1479. Part.Transparency=i
  1480. numm=numm+0.01
  1481. end
  1482. Part.Parent=nil
  1483. Mesh.Parent=nil
  1484. end),prt,msh,x,y,z)
  1485. end
  1486.  
  1487. function dmgstart(dmg,what)
  1488. hitcon = what.Touched:connect(function(hit)
  1489. local hum = hit.Parent:FindFirstChild("Humanoid")
  1490. if hum and not hum:IsDescendantOf(Character) then
  1491. hum:TakeDamage(dmg)
  1492. end
  1493. end)
  1494. end
  1495.  
  1496. function dmgstop()
  1497. hitcon:disconnect()
  1498. end
  1499.  
  1500. function Cloak()
  1501. Face.Parent=nil
  1502. cloaked=true
  1503. for _,v in pairs(Torso.Parent:children()) do
  1504. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1505. coroutine.resume(coroutine.create(function()
  1506. for i=0,1,0.2 do
  1507. wait()
  1508. v.Transparency=i
  1509. end
  1510. v.Transparency=1
  1511. end))
  1512. end
  1513. if v.className=="Hat" then
  1514. hatp=v.Handle
  1515. coroutine.resume(coroutine.create(function(derp)
  1516. for i=0,1,0.2 do
  1517. wait()
  1518. derp.Transparency=i
  1519. end
  1520. derp.Transparency=1
  1521. end),hatp)
  1522. end
  1523. end
  1524. for _,v in pairs(m:children()) do
  1525. if v.className=="Part" then
  1526. coroutine.resume(coroutine.create(function()
  1527. for i=0,1,0.2 do
  1528. wait()
  1529. v.Transparency=i
  1530. end
  1531. v.Transparency=1
  1532. end))
  1533. end
  1534. end
  1535. end
  1536.  
  1537. function UnCloak()
  1538. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  1539. Face.Parent=Head
  1540. cloaked=false
  1541. for _,v in pairs(Torso.Parent:children()) do
  1542. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  1543. coroutine.resume(coroutine.create(function()
  1544. for i=0,1,0.1 do
  1545. wait()
  1546. v.Transparency=v.Transparency-0.1
  1547. end
  1548. v.Transparency=0
  1549. end))
  1550. end
  1551. if v.className=="Hat" then
  1552. hatp=v.Handle
  1553. coroutine.resume(coroutine.create(function(derp)
  1554. for i=0,1,0.1 do
  1555. wait()
  1556. derp.Transparency=derp.Transparency-0.1
  1557. end
  1558. derp.Transparency=0
  1559. end),hatp)
  1560. end
  1561. end
  1562. for _,v in pairs(m:children()) do
  1563. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  1564. coroutine.resume(coroutine.create(function()
  1565. for i=0,1,0.1 do
  1566. wait()
  1567. v.Transparency=v.Transparency-0.1
  1568. end
  1569. v.Transparency=0
  1570. end))
  1571. v.Transparency=0
  1572. end
  1573. end
  1574. end
  1575.  
  1576. local jumped = false
  1577. function jump()
  1578. attack = true
  1579. jumped = true
  1580. hum.WalkSpeed = 0
  1581. MagicBlock(bc("Really red"),root.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  1582. CFuncs["Sound"].Create("rbxassetid://169445572", root, 0.7, 0.7)
  1583. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  1584. for i = 0,15,0.1 do
  1585. swait()
  1586. MagicBlock(bc("Really red"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1587. MagicBlock(bc("Lavender"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1588. RH.C0=clerp(RH.C0,cf(1,0.45,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(50)),.05)
  1589. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(15)),.05)
  1590. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(50),math.rad(0),math.rad(0)),0.05)
  1591. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.05)
  1592. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  1593. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  1594. lig = Instance.new("PointLight",player.Character.Torso)
  1595. lig.Color=Color3.new(255,0,0)
  1596. lig.Range = 10
  1597. end
  1598. local bv = Instance.new("BodyVelocity")
  1599. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1600. bv.velocity = Vector3.new(0,500,0)
  1601. bv.Parent = root
  1602. game:GetService("Debris"):AddItem(bv, 0.5)
  1603. local rng = Instance.new("Part", char)
  1604. rng.Anchored = true
  1605. rng.BrickColor = BrickColor.new("Lavender")
  1606. rng.CanCollide = false
  1607. rng.FormFactor = 3
  1608. rng.Name = "Ring"
  1609. rng.Size = Vector3.new(1, 1, 1)
  1610. rng.Transparency = 0
  1611. rng.TopSurface = 0
  1612. rng.BottomSurface = 0
  1613. rng.Position = root.Position
  1614. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1615. local rngm = Instance.new("SpecialMesh", rng)
  1616. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1617. local rng2 = rng:Clone()
  1618. rng2.Parent = char
  1619. local rng2m = rng2.Mesh
  1620. local rng3 = rng:Clone()
  1621. rng3.Parent = char
  1622. rng3.BrickColor = BrickColor.new("Really red")
  1623. local rng3m = rng3.Mesh
  1624. local rng4 = rng:Clone()
  1625. rng4.Parent = char
  1626. local rng4m = rng4.Mesh
  1627. local rng5 = rng:Clone()
  1628. rng5.Parent = char
  1629. rng5.BrickColor = BrickColor.new("Lime green")
  1630. local rng5m = rng5.Mesh
  1631. CFuncs["Sound"].Create("rbxassetid://324867021", rng, 10, 1)
  1632. wait()
  1633. local scaler = 10
  1634. local scaler2 = 10
  1635. game:GetService("Debris"):AddItem(bv, 2.4)
  1636. hum.WalkSpeed = 50
  1637. MagicBlock(bc("White"),root.CFrame,15,15,15,10,10,10,0.015)
  1638. for i = 0,10,0.1 do
  1639. swait()
  1640. rng.Transparency = rng.Transparency + 0.01
  1641. rng2.Transparency = rng2.Transparency + 0.01
  1642. rng3.Transparency = rng3.Transparency + 0.01
  1643. rng4.Transparency = rng4.Transparency + 0.01
  1644. rng5.Transparency = rng5.Transparency + 0.01
  1645. scaler = scaler - 0.125
  1646. scaler2 = scaler2 - 0.1
  1647. rng2m.Scale = rng2m.Scale + Vector3.new(scaler/1.25, scaler/1.25, 20)
  1648. rng3m.Scale = rng3m.Scale + Vector3.new(scaler/1.5, scaler/1.5, 30)
  1649. rng4m.Scale = rng4m.Scale + Vector3.new(scaler/1.75, scaler/1.75, 40)
  1650. rng5m.Scale = rng5m.Scale + Vector3.new(scaler/2, scaler/2, 50)
  1651. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1652. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1653. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.5)
  1654. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),0.5)
  1655. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.5)
  1656. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.5)
  1657. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.5)
  1658. end
  1659. game:GetService("Debris"):AddItem(rng, 0.1)
  1660. game:GetService("Debris"):AddItem(rng2, 0.1)
  1661. game:GetService("Debris"):AddItem(rng3, 0.1)
  1662. game:GetService("Debris"):AddItem(rng4, 0.1)
  1663. game:GetService("Debris"):AddItem(rng5, 0.1)
  1664. hum.WalkSpeed = 16
  1665. attack = false
  1666. jumped = false
  1667. end
  1668.  
  1669. function dash()
  1670. attack = true
  1671. jumped = true
  1672. hum.WalkSpeed = 16
  1673. killbrick = Instance.new("Part",char)
  1674. killbrick.Size = Vector3.new(1,1,1)
  1675. killbrick.Transparency = 1
  1676. killbrick:BreakJoints()
  1677. killbrick.CanCollide = false
  1678. local wel = Instance.new("Weld",killbrick)
  1679. wel.Part0 = killbrick
  1680. wel.Part1 = char["Left Arm"]
  1681. wel.C0 = CFrame.new(0,1,0)
  1682. local bv = Instance.new("BodyVelocity")
  1683. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1684. bv.velocity = root.CFrame.lookVector*150
  1685. bv.Parent = root
  1686. char.Head.face.Texture = "rbxassetid://126198982"
  1687. game:GetService("Debris"):AddItem(bv, 1)
  1688. local rng = Instance.new("Part", char)
  1689. rng.Anchored = true
  1690. rng.BrickColor = BrickColor.new("Neon orange")
  1691. rng.CanCollide = false
  1692. rng.FormFactor = 3
  1693. rng.Name = "Ring"
  1694. rng.Size = Vector3.new(1, 1, 1)
  1695. rng.Transparency = 0
  1696. rng.TopSurface = 0
  1697. rng.BottomSurface = 0
  1698. rng.CFrame = root.CFrame
  1699. local rngm = Instance.new("SpecialMesh", rng)
  1700. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1701. local rng2 = rng:Clone()
  1702. rng2.BrickColor = BrickColor.new("New Yeller")
  1703. rng2.Parent = char
  1704. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1705. local rng2m = rng2.Mesh
  1706. local rng3 = rng:Clone()
  1707. rng3.Parent = char
  1708. rng3.BrickColor = BrickColor.new("New Yeller")
  1709. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1710. local rng3m = rng3.Mesh
  1711. local rng4 = rng:Clone()
  1712. rng4.Parent = char
  1713. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1714. local rng4m = rng4.Mesh
  1715. local rng5 = rng:Clone()
  1716. rng5.Parent = char
  1717. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1718. local rng5m = rng5.Mesh
  1719. local rng6 = rng:Clone()
  1720. rng6.Material = "Neon"
  1721. rng6.CanCollide = false
  1722. rng6.BrickColor = BrickColor.new("Really blue")
  1723. rng6.Parent = LeftLeg
  1724. local rng6m = rng6.Mesh
  1725. rng6m.Scale = vt(1,1,1)
  1726. rng6m.MeshType = "Sphere"
  1727. local rng7 = rng:Clone()
  1728. rng7.Material = "Plastic"
  1729. rng7.CanCollide = false
  1730. rng7.BrickColor = BrickColor.new("New Yeller")
  1731. rng7.Parent = LeftLeg
  1732. local rng7m = rng7.Mesh
  1733. rng7m.Scale = vt(1,1,1)
  1734. rng7m.MeshType = "Sphere"
  1735. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1736. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1737. wait()
  1738. local scaler = 10/5
  1739. local scaler2 = 10/5
  1740. local hit = rng6.Touched:connect(function(hit)
  1741. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1742. end)
  1743. for i = 0,10,0.1 do
  1744. swait()
  1745. rng.Transparency = rng.Transparency + 0.01
  1746. rng2.Transparency = rng2.Transparency + 0.01
  1747. rng3.Transparency = rng3.Transparency + 0.01
  1748. rng4.Transparency = rng4.Transparency + 0.01
  1749. rng5.Transparency = rng5.Transparency + 0.01
  1750. rng6.Transparency = rng5.Transparency + 0.001
  1751. rng7.Transparency = rng5.Transparency + 0.001
  1752. scaler = scaler - 0.125/5
  1753. scaler2 = scaler2 - 0.1/5
  1754. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1755. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1756. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1757. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1758. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1759. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1760. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1761. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1762. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1763. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1764. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1765. rng6.CFrame = rng3.CFrame
  1766. rng7.CFrame = rng3.CFrame
  1767. end
  1768. game:GetService("Debris"):AddItem(rng, 0.1)
  1769. game:GetService("Debris"):AddItem(rng2, 0.1)
  1770. game:GetService("Debris"):AddItem(rng3, 0.1)
  1771. game:GetService("Debris"):AddItem(rng4, 0.1)
  1772. game:GetService("Debris"):AddItem(rng5, 0.1)
  1773. hum.WalkSpeed = 16
  1774. hit:disconnect()
  1775. attack = false
  1776. killbrick:Destroy()
  1777. char.Head.face.Texture = "rbxassetid://1211126983"
  1778. jumped = false
  1779. end
  1780.  
  1781.  
  1782.  
  1783. function daash()
  1784. attack = false
  1785. jumped = false
  1786. hum.WalkSpeed = 16
  1787. local bv = Instance.new("BodyVelocity")
  1788. bv.maxForce = Vector3.new(6000,6000,6000)
  1789. bv.velocity = root.CFrame.lookVector*150
  1790. bv.Parent = root
  1791. char.Head.face.Texture = "rbxassetid://126198982"
  1792. game:GetService("Debris"):AddItem(bv, 1)
  1793. local rng = Instance.new("Part", char)
  1794. rng.Anchored = true
  1795. rng.BrickColor = BrickColor.new("Really red")
  1796. rng.CanCollide = false
  1797. rng.FormFactor = 3
  1798. rng.Name = "Ring"
  1799. rng.Size = Vector3.new(1, 1, 1)
  1800. rng.Transparency = 0
  1801. rng.TopSurface = 0
  1802. rng.BottomSurface = 0
  1803. rng.CFrame = root.CFrame
  1804. local rngm = Instance.new("SpecialMesh", rng)
  1805. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1806. local rng2 = rng:Clone()
  1807. rng2.BrickColor = BrickColor.new("Lime green")
  1808. rng2.Parent = char
  1809. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1810. local rng2m = rng2.Mesh
  1811.  
  1812. local rng5m = rng.Mesh
  1813. CFuncs["Sound"].Create("rbxassetid://262562442", root, 1, 1)
  1814. wait()
  1815. local scaler = 10/5
  1816. local scaler2 = 10/5
  1817. local hit = rng.Touched:connect(function(hit)
  1818. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1819. end)
  1820. for i = 0,10,0.1 do
  1821. swait()
  1822. MagicBlockDash(bc("New Yeller"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1823. MagicBlockDash(bc("Really blue"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1824. rng.Transparency = rng.Transparency + 0.01
  1825. rng2.Transparency = rng2.Transparency + 0.01
  1826.  
  1827.  
  1828. scaler = scaler - 0.125/5
  1829. scaler2 = scaler2 - 0.125/5
  1830. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1, scaler2/1, 0)
  1831.  
  1832.  
  1833. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1834.  
  1835. end
  1836. game:GetService("Debris"):AddItem(rng, 0.1)
  1837. game:GetService("Debris"):AddItem(rng2, 0.1)
  1838. hum.WalkSpeed = 16
  1839. hit:disconnect()
  1840. attack = false
  1841. char.Head.face.Texture = "rbxassetid://29291814"
  1842. jumped = false
  1843. end
  1844.  
  1845.  
  1846.  
  1847. function dashh()
  1848. attack = true
  1849. jumped = true
  1850. hum.WalkSpeed = 16
  1851. local BV = Instance.new("BodyVelocity")
  1852. BV = Instance.new("BodyVelocity", tors)
  1853. BV.maxForce = Vector3.new(0,10000,0)
  1854. BV.P = 1000
  1855. BV.velocity = Vector3.new(0,800,0)
  1856. char.Head.face.Texture = "rbxassetid://126198982"
  1857. game:GetService("Debris"):AddItem(BV, 1)
  1858. local rng = Instance.new("Part", char)
  1859. rng.Anchored = true
  1860. rng.BrickColor = BrickColor.new("New Yeller")
  1861. rng.CanCollide = false
  1862. rng.FormFactor = 3
  1863. rng.Name = "Ring"
  1864. rng.Size = Vector3.new(1, 1, 1)
  1865. rng.Transparency = 0
  1866. rng.TopSurface = 0
  1867. rng.BottomSurface = 0
  1868. rng.CFrame = root.CFrame
  1869. local rngm = Instance.new("SpecialMesh", rng)
  1870. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1871. local rng2 = rng:Clone()
  1872. rng2.BrickColor = BrickColor.new("Bright red")
  1873. rng2.Parent = char
  1874. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1875. local rng2m = rng2.Mesh
  1876. local rng3 = rng:Clone()
  1877. rng3.Parent = char
  1878. rng3.BrickColor = BrickColor.new("Bright blue")
  1879. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1880. local rng3m = rng3.Mesh
  1881. local rng4 = rng:Clone()
  1882. rng4.Parent = char
  1883. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1884. local rng4m = rng4.Mesh
  1885. local rng5 = rng:Clone()
  1886. rng5.Parent = char
  1887. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1888. local rng5m = rng5.Mesh
  1889. local rng6 = rng:Clone()
  1890. rng6.Material = "Neon"
  1891. rng6.CanCollide = false
  1892. rng6.BrickColor = BrickColor.new("New Yeller")
  1893. rng6.Parent = LeftLeg
  1894. local rng6m = rng6.Mesh
  1895. rng6m.Scale = vt(1,1,1)
  1896. rng6m.MeshType = "Sphere"
  1897. local rng7 = rng:Clone()
  1898. rng7.Material = "Plastic"
  1899. rng7.CanCollide = false
  1900. rng7.BrickColor = BrickColor.new("Bright red")
  1901. rng7.Parent = LeftLeg
  1902. local rng7m = rng7.Mesh
  1903. rng7m.Scale = vt(1,1,1)
  1904. rng7m.MeshType = "Sphere"
  1905. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  1906. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  1907. wait()
  1908. local scaler = 10/5
  1909. local scaler2 = 10/5
  1910. local hit = rng6.Touched:connect(function(hit)
  1911. Damagefunc(hit,25,35,math.random(20,30),"Normal",root,.2,1)
  1912. end)
  1913. for i = 0,10,0.1 do
  1914. swait()
  1915. MagicBlock(bc("Lime green"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1916. MagicBlock(bc("Really blue"),sorb2.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  1917. rng.Transparency = rng.Transparency + 0.01
  1918. rng2.Transparency = rng2.Transparency + 0.01
  1919. rng3.Transparency = rng3.Transparency + 0.01
  1920. rng4.Transparency = rng4.Transparency + 0.01
  1921. rng5.Transparency = rng5.Transparency + 0.01
  1922. rng6.Transparency = rng5.Transparency + 0.001
  1923. rng7.Transparency = rng5.Transparency + 0.001
  1924. scaler = scaler - 0.125/5
  1925. scaler2 = scaler2 - 0.1/5
  1926. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  1927. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  1928. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  1929. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  1930. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  1931. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  1932. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1933. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  1934. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  1935. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  1936. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  1937. rng6.CFrame = rng3.CFrame
  1938. rng7.CFrame = rng3.CFrame
  1939. end
  1940. game:GetService("Debris"):AddItem(rng, 0.1)
  1941. game:GetService("Debris"):AddItem(rng2, 0.1)
  1942. game:GetService("Debris"):AddItem(rng3, 0.1)
  1943. game:GetService("Debris"):AddItem(rng4, 0.1)
  1944. game:GetService("Debris"):AddItem(rng5, 0.1)
  1945. hum.WalkSpeed = 16
  1946. hit:disconnect()
  1947. attack = false
  1948. char.Head.face.Texture = "rbxassetid://1211126983"
  1949. jumped = false
  1950. end
  1951.  
  1952.  
  1953. function dashs()
  1954. attack = true
  1955. jumped = true
  1956. hum.WalkSpeed = 16
  1957. local bv = Instance.new("BodyVelocity")
  1958. bv.maxForce = Vector3.new(0, 0, 0)
  1959. bv.velocity = root.CFrame.lookVector*150
  1960. bv.Parent = root
  1961. char.Head.face.Texture = "rbxassetid://1211126983"
  1962. game:GetService("Debris"):AddItem(bv, 1)
  1963. local rng = Instance.new("Part", char)
  1964. rng.Anchored = true
  1965. rng.BrickColor = BrickColor.new("Neon orange")
  1966. rng.CanCollide = false
  1967. rng.FormFactor = 3
  1968. rng.Name = "Ring"
  1969. rng.Size = Vector3.new(1, 1, 1)
  1970. rng.Transparency = 0
  1971. rng.TopSurface = 0
  1972. rng.BottomSurface = 0
  1973. rng.CFrame = root.CFrame
  1974. local rngm = Instance.new("SpecialMesh", rng)
  1975. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1976. local rng2 = rng:Clone()
  1977. rng2.BrickColor = BrickColor.new("Bright red")
  1978. rng2.Parent = char
  1979. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  1980. local rng2m = rng2.Mesh
  1981. local rng3 = rng:Clone()
  1982. rng3.Parent = char
  1983. rng3.BrickColor = BrickColor.new("Bright blue")
  1984. rng3.CFrame = root.CFrame + root.CFrame.lookVector*20
  1985. local rng3m = rng3.Mesh
  1986. local rng4 = rng:Clone()
  1987. rng4.Parent = char
  1988. rng4.CFrame = root.CFrame + root.CFrame.lookVector*30
  1989. local rng4m = rng4.Mesh
  1990. local rng5 = rng:Clone()
  1991. rng5.Parent = char
  1992. rng5.CFrame = root.CFrame + root.CFrame.lookVector*40
  1993. local rng5m = rng5.Mesh
  1994. local rng6 = rng:Clone()
  1995. rng6.Material = "Neon"
  1996. rng6.CanCollide = false
  1997. rng6.BrickColor = BrickColor.new("New Yeller")
  1998. rng6.Parent = LeftLeg
  1999. local rng6m = rng6.Mesh
  2000. rng6m.Scale = vt(1,1,1)
  2001. rng6m.MeshType = "Sphere"
  2002. local rng7 = rng:Clone()
  2003. rng7.Material = "Plastic"
  2004. rng7.CanCollide = false
  2005. rng7.BrickColor = BrickColor.new("Lime green")
  2006. rng7.Parent = LeftLeg
  2007. local rng7m = rng7.Mesh
  2008. rng7m.Scale = vt(1,1,1)
  2009. rng7m.MeshType = "Sphere"
  2010. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2011. CFuncs["Sound"].Create("rbxassetid://539294959", root, 1, 1)
  2012. wait()
  2013. local scaler = 10/5
  2014. local scaler2 = 10/5
  2015. local hit = rng6.Touched:connect(function(hit)
  2016. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2017. end)
  2018. for i = 0,10,0.1 do
  2019. swait()
  2020. rng.Transparency = rng.Transparency + 0.01
  2021. rng2.Transparency = rng2.Transparency + 0.01
  2022. rng3.Transparency = rng3.Transparency + 0.01
  2023. rng4.Transparency = rng4.Transparency + 0.01
  2024. rng5.Transparency = rng5.Transparency + 0.01
  2025. rng6.Transparency = rng5.Transparency + 0.001
  2026. rng7.Transparency = rng5.Transparency + 0.001
  2027. scaler = scaler - 0.125/5
  2028. scaler2 = scaler2 - 0.1/5
  2029. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2030. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2031. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2032. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/1.65, scaler2/1.65, 0)
  2033. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/0.5)
  2034. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/0.3)
  2035. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2036. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2037. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  2038. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2039. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2040. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  2041. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2042. rng6.CFrame = rng3.CFrame
  2043. rng7.CFrame = rng3.CFrame
  2044. end
  2045. game:GetService("Debris"):AddItem(rng, 0.1)
  2046. game:GetService("Debris"):AddItem(rng2, 0.1)
  2047. game:GetService("Debris"):AddItem(rng3, 0.1)
  2048. game:GetService("Debris"):AddItem(rng4, 0.1)
  2049. game:GetService("Debris"):AddItem(rng5, 0.1)
  2050. hum.WalkSpeed = 16
  2051. hit:disconnect()
  2052. attack = false
  2053. char.Head.face.Texture = "rbxassetid://1211126983"
  2054. jumped = false
  2055. end
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061. function punch()
  2062. attack = true
  2063. jumped = true
  2064. hum.WalkSpeed = 30
  2065. killbrick = Instance.new("Part",rarm)
  2066. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2067. killbrick.Transparency = 1
  2068. killbrick:BreakJoints()
  2069. killbrick.CanCollide = false
  2070. killbrick.Anchored = true
  2071. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2072. lig = Instance.new("PointLight",player.Character.Torso)
  2073. lig.Color=Color3.new(255,0,0)
  2074. lig.Range = 20
  2075. local bv = Instance.new("BodyVelocity")
  2076. bv.maxForce = Vector3.new(1,1,1)
  2077. bv.velocity = root.CFrame.lookVector*150
  2078. bv.Parent = root
  2079. char.Head.face.Texture = "rbxassetid://1211126983"
  2080. game:GetService("Debris"):AddItem(bv, 1)
  2081. local rng = Instance.new("Part", char)
  2082. rng.Anchored = true
  2083. rng.BrickColor = BrickColor.new("Really red")
  2084. rng.CanCollide = false
  2085. rng.FormFactor = 3
  2086. rng.Name = "Ring"
  2087. rng.Size = Vector3.new(1, 1, 1)
  2088. rng.Transparency = 0
  2089. rng.TopSurface = 0
  2090. rng.BottomSurface = 0
  2091. rng.CFrame = root.CFrame
  2092. local rngm = Instance.new("SpecialMesh", rng)
  2093. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2094. local rng2 = rng:Clone()
  2095. rng2.BrickColor = BrickColor.new("Bright blue")
  2096. rng2.Parent = char
  2097. rng2.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2098. local rng2m = rng2.Mesh
  2099. local rng3 = rng:Clone()
  2100. rng3.Parent = char
  2101. rng3.BrickColor = BrickColor.new("Alder")
  2102. rng3.CFrame = rng.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2103. local rng3m = Instance.new("SpecialMesh", rng3)
  2104. rng3m.MeshId = "http://www.roblox.com/asset/?id=665769722"
  2105. local rng4 = rng:Clone()
  2106. rng4.Parent = char
  2107. rng4.BrickColor = BrickColor.new("Alder")
  2108. rng4.CFrame = root.CFrame + root.CFrame.lookVector*12
  2109. local rng4m = rng4.Mesh
  2110. local rng5 = rng:Clone()
  2111. rng5.Parent = char
  2112. rng5.BrickColor = BrickColor.new("Daisy orange")
  2113. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2114. local rng5m = rng5.Mesh
  2115. local rng6 = rng:Clone()
  2116. rng6.Material = "Neon"
  2117. rng6.CanCollide = false
  2118. rng6.BrickColor = BrickColor.new("Magenta")
  2119. rng6.Parent = LeftLeg
  2120. local rng6m = rng6.Mesh
  2121. rng6m.Scale = vt(1,1,1)
  2122. rng6m.MeshType = "Sphere"
  2123. local rng7 = rng:Clone()
  2124. rng7.Material = "Plastic"
  2125. rng7.CanCollide = false
  2126. rng7.BrickColor = BrickColor.new("Bright red")
  2127. rng7.Parent = LeftLeg
  2128. local rng7m = rng7.Mesh
  2129. rng7m.Scale = vt(1,1,1)
  2130. rng7m.MeshType = "Sphere"
  2131. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2132. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2133. wait()
  2134. local scaler = 10/5
  2135. local scaler2 = 10/5
  2136. local hit = rng6.Touched:connect(function(hit)
  2137. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2138. CRIT=true
  2139. end)
  2140. for i = 0,10,0.1 do
  2141. swait()
  2142. rng.Transparency = rng.Transparency + 0.01
  2143. rng2.Transparency = rng2.Transparency + 0.01
  2144. rng3.Transparency = rng3.Transparency + 0.01
  2145. rng4.Transparency = rng4.Transparency + 0.01
  2146. rng5.Transparency = rng5.Transparency + 0.01
  2147. rng6.Transparency = rng5.Transparency + 0.001
  2148. rng7.Transparency = rng5.Transparency + 0.001
  2149. scaler = scaler - 0.125/5
  2150. scaler2 = scaler2 - 0.1/5
  2151. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2152. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/7.5, scaler2/7.5, 0)
  2153. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2154. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2155. rng6.Size = rng6.Size + Vector3.new(scaler2/1.2, scaler2/1.2, scaler2/1.2)
  2156. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2157. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2158. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2159. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2160. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2161. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2162. rng6.CFrame = killbrick.CFrame
  2163. rng7.CFrame = killbrick.CFrame
  2164. end
  2165. game:GetService("Debris"):AddItem(rng, 0.1)
  2166. game:GetService("Debris"):AddItem(rng2, 0.1)
  2167. game:GetService("Debris"):AddItem(rng3, 0.1)
  2168. game:GetService("Debris"):AddItem(rng4, 0.1)
  2169. game:GetService("Debris"):AddItem(rng5, 0.1)
  2170. hum.WalkSpeed = 16
  2171. hit:disconnect()
  2172. attack = false
  2173. killbrick:Destroy()
  2174. char.Head.face.Texture = "rbxassetid://1211126983"
  2175. jumped = false
  2176. lig:Remove()
  2177. end
  2178.  
  2179.  
  2180.  
  2181.  
  2182. function punchd()
  2183. attack = true
  2184. jumped = true
  2185. hum.WalkSpeed = 30
  2186. killbrick = Instance.new("Part",rarm)
  2187. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2188. killbrick.Transparency = 1
  2189. killbrick:BreakJoints()
  2190. killbrick.CanCollide = false
  2191. killbrick.Anchored = true
  2192. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2193. lig = Instance.new("PointLight",player.Character.Torso)
  2194. lig.Color=Color3.new(255,0,0)
  2195. lig.Range = 20
  2196. local bv = Instance.new("BodyVelocity")
  2197. bv.maxForce = Vector3.new(1,1,1)
  2198. bv.velocity = root.CFrame.lookVector*150
  2199. bv.Parent = root
  2200. char.Head.face.Texture = "rbxassetid://1211126983"
  2201. game:GetService("Debris"):AddItem(bv, 1)
  2202. local rng = Instance.new("Part", char)
  2203. rng.Anchored = true
  2204. rng.BrickColor = BrickColor.new("Really blue")
  2205. rng.CanCollide = false
  2206. rng.FormFactor = 3
  2207. rng.Name = "Ring"
  2208. rng.Size = Vector3.new(1, 1, 1)
  2209. rng.Transparency = 0
  2210. rng.TopSurface = 0
  2211. rng.BottomSurface = 0
  2212. rng.CFrame = root.CFrame
  2213. local rngm = Instance.new("SpecialMesh", rng)
  2214. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2215. local rng2 = rng:Clone()
  2216. rng2.BrickColor = BrickColor.new("Lime green")
  2217. rng2.Parent = char
  2218. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2219. local rng2m = rng2.Mesh
  2220. local rng3 = rng:Clone()
  2221. rng3.Parent = char
  2222. rng3.BrickColor = BrickColor.new("Magenta")
  2223. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2224. local rng3m = rng3.Mesh
  2225. local rng4 = rng:Clone()
  2226. rng4.Parent = char
  2227. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2228. local rng4m = rng4.Mesh
  2229. local rng5 = rng:Clone()
  2230. rng5.Parent = char
  2231. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2232. local rng5m = rng5.Mesh
  2233. local rng6 = rng:Clone()
  2234. rng6.Material = "Neon"
  2235. rng6.CanCollide = false
  2236. rng6.BrickColor = BrickColor.new("New Yeller")
  2237. rng6.Parent = LeftLeg
  2238. local rng6m = rng6.Mesh
  2239. rng6m.Scale = vt(1,1,1)
  2240. rng6m.MeshType = "Sphere"
  2241. local rng7 = rng:Clone()
  2242. rng7.Material = "Plastic"
  2243. rng7.CanCollide = false
  2244. rng7.BrickColor = BrickColor.new("New Yeller")
  2245. rng7.Parent = LeftLeg
  2246. local rng7m = rng7.Mesh
  2247. rng7m.Scale = vt(1,1,1)
  2248. rng7m.MeshType = "Sphere"
  2249. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2250. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2251. wait()
  2252. local scaler = 10/5
  2253. local scaler2 = 10/5
  2254. local hit = rng6.Touched:connect(function(hit)
  2255. Damagefunc(hit,45,55,math.random(40,50),"Normal",root,.2,1)
  2256. CRIT=true
  2257. end)
  2258. for i = 0,10,0.1 do
  2259. swait()
  2260. rng.Transparency = rng.Transparency + 0.01
  2261. rng2.Transparency = rng2.Transparency + 0.01
  2262. rng3.Transparency = rng3.Transparency + 0.01
  2263. rng4.Transparency = rng4.Transparency + 0.01
  2264. rng5.Transparency = rng5.Transparency + 0.01
  2265. rng6.Transparency = rng5.Transparency + 0.001
  2266. rng7.Transparency = rng5.Transparency + 0.001
  2267. scaler = scaler - 0.125/5
  2268. scaler2 = scaler2 - 0.1/5
  2269. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.25, 0)
  2270. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2271. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.75, 0)
  2272. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2273. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2274. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2275. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2276. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2277. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2278. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2279. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2280. rng6.CFrame = killbrick.CFrame
  2281. rng7.CFrame = killbrick.CFrame
  2282. end
  2283. game:GetService("Debris"):AddItem(rng, 0.1)
  2284. game:GetService("Debris"):AddItem(rng2, 0.1)
  2285. game:GetService("Debris"):AddItem(rng3, 0.1)
  2286. game:GetService("Debris"):AddItem(rng4, 0.1)
  2287. game:GetService("Debris"):AddItem(rng5, 0.1)
  2288. hum.WalkSpeed = 16
  2289. hit:disconnect()
  2290. attack = false
  2291. killbrick:Destroy()
  2292. char.Head.face.Texture = "rbxassetid://1211126983"
  2293. jumped = false
  2294. lig:Remove()
  2295. end
  2296.  
  2297.  
  2298.  
  2299.  
  2300. function punch2()
  2301. attack = true
  2302. jumped = true
  2303. hum.WalkSpeed = 16
  2304. killbrick = Instance.new("Part",rarm)
  2305. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2306. killbrick.Transparency = 1
  2307. killbrick:BreakJoints()
  2308. killbrick.CanCollide = false
  2309. killbrick.Anchored = true
  2310. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2311. lig = Instance.new("PointLight",player.Character.Torso)
  2312. lig.Color=Color3.new(255,0,0)
  2313. lig.Range = 20
  2314. local bv = Instance.new("BodyVelocity")
  2315. bv.maxForce = Vector3.new(1,1,1)
  2316. bv.velocity = root.CFrame.lookVector*150
  2317. bv.Parent = root
  2318. char.Head.face.Texture = "rbxassetid://1211126983"
  2319. game:GetService("Debris"):AddItem(bv, 1)
  2320. local rng = Instance.new("Part", char)
  2321. rng.Anchored = true
  2322. rng.BrickColor = BrickColor.new("Slime green")
  2323. rng.CanCollide = false
  2324. rng.FormFactor = 3
  2325. rng.Name = "Ring"
  2326. rng.Size = Vector3.new(1, 1, 1)
  2327. rng.Transparency = 0
  2328. rng.TopSurface = 0
  2329. rng.BottomSurface = 0
  2330. rng.CFrame = root.CFrame
  2331. local rngm = Instance.new("SpecialMesh", rng)
  2332. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2333. local rng2 = rng:Clone()
  2334. rng2.BrickColor = BrickColor.new("Bright blue")
  2335. rng2.Parent = char
  2336. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2337. local rng2m = rng2.Mesh
  2338. local rng3 = rng:Clone()
  2339. rng3.Parent = char
  2340. rng3.BrickColor = BrickColor.new("Really red")
  2341. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2342. local rng3m = rng3.Mesh
  2343. local rng4 = rng:Clone()
  2344. rng4.Parent = char
  2345. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2346. local rng4m = rng4.Mesh
  2347. local rng5 = rng:Clone()
  2348. rng5.Parent = char
  2349. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2350. local rng5m = rng5.Mesh
  2351. local rng6 = rng:Clone()
  2352. rng6.Material = "Neon"
  2353. rng6.CanCollide = false
  2354. rng6.BrickColor = BrickColor.new("Really blue")
  2355. rng6.Parent = LeftLeg
  2356. local rng6m = rng6.Mesh
  2357. rng6m.Scale = vt(1,1,1)
  2358. rng6m.MeshType = "Sphere"
  2359. local rng7 = rng:Clone()
  2360. rng7.Material = "Plastic"
  2361. rng7.CanCollide = false
  2362. rng7.BrickColor = BrickColor.new("Bright yellow")
  2363. rng7.Parent = LeftLeg
  2364. local rng7m = rng7.Mesh
  2365. rng7m.Scale = vt(1,1,1)
  2366. rng7m.MeshType = "Sphere"
  2367. CFuncs["Sound"].Create("rbxassetid://633130540", root, 1, 1)
  2368. CFuncs["Sound"].Create("rbxassetid://187137517", root, 1, 1)
  2369. wait()
  2370. local scaler = 10/5
  2371. local scaler2 = 10/5
  2372. local hit = rng6.Touched:connect(function(hit)
  2373. Damagefunc(hit,67,75,math.random(60,70),"Normal",root,.2,1)
  2374. end)
  2375. for i = 0,10,0.1 do
  2376. swait()
  2377. rng.Transparency = rng.Transparency + 0.01
  2378. rng2.Transparency = rng2.Transparency + 0.01
  2379. rng3.Transparency = rng3.Transparency + 0.01
  2380. rng4.Transparency = rng4.Transparency + 0.01
  2381. rng5.Transparency = rng5.Transparency + 0.01
  2382. rng6.Transparency = rng5.Transparency + 0.001
  2383. rng7.Transparency = rng5.Transparency + 0.001
  2384. scaler = scaler - 0.125/5
  2385. scaler2 = scaler2 - 0.1/5
  2386. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2387. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2388. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2389. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2390. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2391. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2392. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2393. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2394. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2395. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2396. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2397. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2398. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2399. rng6.CFrame = killbrick.CFrame
  2400. rng7.CFrame = killbrick.CFrame
  2401.  
  2402. end
  2403. game:GetService("Debris"):AddItem(rng, 0.1)
  2404. game:GetService("Debris"):AddItem(rng2, 0.1)
  2405. game:GetService("Debris"):AddItem(rng3, 0.1)
  2406. game:GetService("Debris"):AddItem(rng4, 0.1)
  2407. game:GetService("Debris"):AddItem(rng5, 0.1)
  2408. hum.WalkSpeed = 16
  2409. hit:disconnect()
  2410. attack = false
  2411. killbrick:Destroy()
  2412. char.Head.face.Texture = "rbxassetid://1211126983"
  2413. jumped = false
  2414. lig:Remove()
  2415. end
  2416.  
  2417.  
  2418. function Crater(hed,Radius)
  2419. spawn(function()
  2420. local Ray = Ray.new(hed.Position,Vector3.new(0,-1,0)*10)
  2421. local Ignore = {}
  2422. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  2423. if v.Character ~= nil then
  2424. Ignore[#Ignore+1] = v.Character
  2425. end
  2426. end
  2427. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  2428. if Hit == nil then return end
  2429. local Parts = {}
  2430. for i = 1,360,10 do
  2431. local P = Instance.new("Part",hed.Parent)
  2432. P.Anchored = true
  2433. P.FormFactor = "Custom"
  2434. P.BrickColor = Hit.BrickColor
  2435. P.Material = Hit.Material
  2436. P.TopSurface = "Smooth"
  2437. P.BottomSurface = "Smooth"
  2438. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  2439. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2440. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  2441. if math.random(0,5) == 0 then -- rubble
  2442. local P = Instance.new("Part",hed.Parent)
  2443. P.Anchored = true
  2444. P.FormFactor = "Custom"
  2445. P.BrickColor = Hit.BrickColor
  2446. P.Material = Hit.Material
  2447. P.TopSurface = "Smooth"
  2448. P.BottomSurface = "Smooth"
  2449. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  2450. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  2451. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  2452. end
  2453. end
  2454. for i = 0,1,0.05 do
  2455. for i2,v in pairs(Parts) do
  2456. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  2457. end
  2458. wait(0)
  2459. end
  2460. for i,v in pairs(Parts) do
  2461. if v[1].Size.X > 2.1 then
  2462. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  2463. end
  2464. v[1].Anchored = false
  2465. end
  2466. for i = 0,1,0.05 do
  2467. for i2,v in pairs(Parts) do
  2468. v[1].Transparency = i
  2469. if i == 1 then
  2470. v[1]:Destroy()
  2471. elseif i >= 0.25 then
  2472. v[1].CanCollide = false
  2473. end
  2474. end
  2475. wait(0.02)
  2476. end
  2477. Parts = nil
  2478. end)
  2479. end
  2480.  
  2481.  
  2482. function shock()
  2483. attack = true
  2484. jumped = true
  2485. hum.WalkSpeed = 16
  2486. killbrick = Instance.new("Part",rarm)
  2487. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2488. killbrick.Transparency = 1
  2489. killbrick:BreakJoints()
  2490. killbrick.CanCollide = false
  2491. killbrick.Anchored = true
  2492. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2493. lig = Instance.new("PointLight",player.Character.Torso)
  2494. lig.Color=Color3.new(255,0,0)
  2495. lig.Range = 20
  2496. local bv = Instance.new("BodyVelocity")
  2497. bv.maxForce = Vector3.new(1,1,1)
  2498. bv.velocity = root.CFrame.lookVector*150
  2499. bv.Parent = root
  2500. char.Head.face.Texture = "rbxassetid://1211126983"
  2501. game:GetService("Debris"):AddItem(bv, 1)
  2502. local rng = Instance.new("Part", char)
  2503. rng.Anchored = true
  2504. rng.BrickColor = BrickColor.new("Really red")
  2505. rng.CanCollide = false
  2506. rng.FormFactor = 3
  2507. rng.Name = "Ring"
  2508. rng.Size = Vector3.new(1, 1, 1)
  2509. rng.Transparency = 0
  2510. rng.TopSurface = 0
  2511. rng.BottomSurface = 0
  2512. rng.CFrame = root.CFrame
  2513. local rngm = Instance.new("SpecialMesh", rng)
  2514. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2515. local rng2 = rng:Clone()
  2516. rng2.BrickColor = BrickColor.new("Really red")
  2517. rng2.Parent = char
  2518. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2519. local rng2m = rng2.Mesh
  2520. local rng3 = rng:Clone()
  2521. rng3.Parent = char
  2522. rng3.BrickColor = BrickColor.new("Really red")
  2523. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2524. local rng3m = rng3.Mesh
  2525. local rng4 = rng:Clone()
  2526. rng4.Parent = char
  2527. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2528. local rng4m = rng4.Mesh
  2529. local rng5 = rng:Clone()
  2530. rng5.Parent = char
  2531. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2532. local rng5m = rng5.Mesh
  2533. local rng6 = rng:Clone()
  2534. rng6.Material = "Neon"
  2535. rng6.CanCollide = false
  2536. rng6.BrickColor = BrickColor.new("New Yeller")
  2537. rng6.Parent = LeftLeg
  2538. local rng6m = rng6.Mesh
  2539. rng6m.Scale = vt(1,1,1)
  2540. rng6m.MeshType = "Sphere"
  2541. local rng7 = rng:Clone()
  2542. rng7.Material = "Plastic"
  2543. rng7.CanCollide = false
  2544. rng7.BrickColor = BrickColor.new("Bright blue")
  2545. rng7.Parent = LeftLeg
  2546. local rng7m = rng7.Mesh
  2547. rng7m.Scale = vt(1,1,1)
  2548. rng7m.MeshType = "Sphere"
  2549. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2550. wait()
  2551. local scaler = 10/5
  2552. local scaler2 = 10/5
  2553. local hit = rng6.Touched:connect(function(hit)
  2554. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2555. end)
  2556. for i = 0,10,0.1 do
  2557. swait()
  2558. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2559. rng.Transparency = rng.Transparency + 0.01
  2560. rng2.Transparency = rng2.Transparency + 0.01
  2561. rng3.Transparency = rng3.Transparency + 0.01
  2562. rng4.Transparency = rng4.Transparency + 0.01
  2563. rng5.Transparency = rng5.Transparency + 0.01
  2564. rng6.Transparency = rng5.Transparency + 0.001
  2565. rng7.Transparency = rng5.Transparency + 0.001
  2566. scaler = scaler - 0.125/5
  2567. scaler2 = scaler2 - 0.1/5
  2568. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/0.25, scaler2/0.45, 0)
  2569. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/0.5, scaler2/0.7, 0)
  2570. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/0.75, scaler2/0.95, 0)
  2571. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/0.9, scaler2/0.9, 0)
  2572. rng6.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2573. rng7.Size = rng6.Size + Vector3.new(scaler2/0.6, scaler2/0.6, scaler2/0.6)
  2574. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2575. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2576. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2577. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2578. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2579. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2580. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2581. rng6.CFrame = killbrick.CFrame
  2582. rng7.CFrame = killbrick.CFrame
  2583. end
  2584. game:GetService("Debris"):AddItem(rng, 0.1)
  2585. game:GetService("Debris"):AddItem(rng2, 0.1)
  2586. game:GetService("Debris"):AddItem(rng3, 0.1)
  2587. game:GetService("Debris"):AddItem(rng4, 0.1)
  2588. game:GetService("Debris"):AddItem(rng5, 0.1)
  2589. hum.WalkSpeed = 16
  2590. hit:disconnect()
  2591. attack = false
  2592. killbrick:Destroy()
  2593. char.Head.face.Texture = "rbxassetid://1211126983"
  2594. jumped = false
  2595. lig:Remove()
  2596. end
  2597.  
  2598.  
  2599. function punch3()
  2600. attack = true
  2601. jumped = true
  2602. hum.WalkSpeed = 16
  2603. killbrick = Instance.new("Part",rarm)
  2604. killbrick.Size = Vector3.new(0.1,0.1,0.1)
  2605. killbrick.Transparency = 1
  2606. killbrick:BreakJoints()
  2607. killbrick.CanCollide = false
  2608. killbrick.Anchored = true
  2609. killbrick.CFrame = char.Torso.CFrame * CFrame.new(0,0,0)
  2610.  
  2611. killbrick2 = Instance.new("Part",rarm)
  2612. killbrick2.Size = Vector3.new(0.1,0.1,0.1)
  2613. killbrick2.Transparency = 1
  2614. killbrick2:BreakJoints()
  2615. killbrick2.CanCollide = false
  2616. killbrick2.Anchored = true
  2617. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-30)
  2618. lig = Instance.new("PointLight",player.Character.Torso)
  2619. lig.Color=Color3.new(255,0,0)
  2620. lig.Range = 20
  2621. local bv = Instance.new("BodyVelocity")
  2622. bv.maxForce = Vector3.new(1,1,1)
  2623. bv.velocity = root.CFrame.lookVector*150
  2624. bv.Parent = root
  2625. char.Head.face.Texture = "rbxassetid://1211126983"
  2626. game:GetService("Debris"):AddItem(bv, 1)
  2627. local rng = Instance.new("Part", char)
  2628. rng.Anchored = true
  2629. rng.BrickColor = BrickColor.new("Really black")
  2630. rng.CanCollide = false
  2631. rng.FormFactor = 3
  2632. rng.Name = "Ring"
  2633. rng.Size = Vector3.new(1, 1, 1)
  2634. rng.Transparency = 0
  2635. rng.TopSurface = 0
  2636. rng.BottomSurface = 0
  2637. rng.CFrame = root.CFrame
  2638. local rngm = Instance.new("SpecialMesh", rng)
  2639. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2640. local rng2 = rng:Clone()
  2641. rng2.BrickColor = BrickColor.new("Really yellow")
  2642. rng2.Parent = char
  2643. rng2.CFrame = root.CFrame + root.CFrame.lookVector*10
  2644. local rng2m = rng2.Mesh
  2645. local rng3 = rng:Clone()
  2646. rng3.Parent = char
  2647. rng3.BrickColor = BrickColor.new("Really red")
  2648. rng3.CFrame = root.CFrame + root.CFrame.lookVector*-12
  2649. local rng3m = rng3.Mesh
  2650. local rng4 = rng:Clone()
  2651. rng4.Parent = char
  2652. rng4.CFrame = root.CFrame + root.CFrame.lookVector*13
  2653. local rng4m = rng4.Mesh
  2654. local rng5 = rng:Clone()
  2655. rng5.Parent = char
  2656. rng5.CFrame = root.CFrame + root.CFrame.lookVector*-14
  2657. local rng5m = rng5.Mesh
  2658. local rng6 = rng:Clone()
  2659. rng6.Material = "Neon"
  2660. rng6.CanCollide = false
  2661. rng6.BrickColor = BrickColor.new("Alder")
  2662. rng6.Parent = LeftLeg
  2663. local rng6m = rng6.Mesh
  2664. rng6m.Scale = vt(1,1,1)
  2665. rng6m.MeshType = "Sphere"
  2666. local rng7 = rng:Clone()
  2667. rng7.Material = "Plastic"
  2668. rng7.CanCollide = false
  2669. rng7.BrickColor = BrickColor.new("Bright red")
  2670. rng7.Parent = LeftLeg
  2671. local rng7m = rng7.Mesh
  2672. rng7m.Scale = vt(1,1,1)
  2673. rng7m.MeshType = "Sphere"
  2674. local rng8 = rng6:Clone()
  2675. rng8.Material = "Neon"
  2676. rng8.CanCollide = false
  2677. rng8.BrickColor = BrickColor.new("Bright blue")
  2678. rng8.Parent = LeftLeg
  2679. local rng8m = rng7.Mesh
  2680. rng8m.Scale = vt(1,1,1)
  2681. rng8m.MeshType = "Sphere"
  2682. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2683. wait()
  2684. local scaler = 10/5
  2685. local scaler2 = 10/5
  2686. local hit = rng8.Touched:connect(function(hit)
  2687. Damagefunc(hit,57,65,math.random(50,60),"Normal",root,.2,1)
  2688. end)
  2689. for i = 0,10,0.1 do
  2690. swait()
  2691. rng.Transparency = rng.Transparency + 0.01
  2692. rng2.Transparency = rng2.Transparency + 0.01
  2693. rng3.Transparency = rng3.Transparency + 0.01
  2694. rng4.Transparency = rng4.Transparency + 0.01
  2695. rng5.Transparency = rng5.Transparency + 0.01
  2696. rng6.Transparency = rng5.Transparency + 0.001
  2697. rng7.Transparency = rng5.Transparency + 0.001
  2698. rng8.Transparency = rng5.Transparency + 0.001
  2699. scaler = scaler - 0.125/5
  2700. scaler2 = scaler2 - 0.1/5
  2701. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.25, scaler2/1.45, 0)
  2702. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.7, 0)
  2703. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.75, scaler2/1.95, 0)
  2704. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2705. rng6.Size = rng6.Size + Vector3.new(scaler2/1.5, scaler2/1.5, scaler2/1.5)
  2706. rng7.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2707. rng8.Size = rng6.Size + Vector3.new(scaler2/1.3, scaler2/1.3, scaler2/1.3)
  2708. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2709. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2710. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2711. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2712. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2713. rng6.CFrame = killbrick.CFrame
  2714. rng7.CFrame = killbrick.CFrame
  2715. rng8.CFrame = killbrick2.CFrame
  2716. end
  2717. game:GetService("Debris"):AddItem(rng, 0.1)
  2718. game:GetService("Debris"):AddItem(rng2, 0.1)
  2719. game:GetService("Debris"):AddItem(rng3, 0.1)
  2720. game:GetService("Debris"):AddItem(rng4, 0.1)
  2721. game:GetService("Debris"):AddItem(rng5, 0.1)
  2722. hum.WalkSpeed = 16
  2723. hit:disconnect()
  2724. attack = false
  2725. killbrick:Destroy()
  2726. char.Head.face.Texture = "rbxassetid://1211126983"
  2727. jumped = false
  2728. lig:Remove()
  2729. end
  2730.  
  2731.  
  2732.  
  2733. function boom()
  2734. attack = true
  2735. jumped = true
  2736. hum.WalkSpeed = 0
  2737. MagicBlock(bc("White"),sorb.CFrame,15,15,15,-0.25,-0.25,-0.25,0.015)
  2738. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2739. CFuncs["Sound"].Create("rbxassetid://169380495", root, 1, 0.7)
  2740. for i = 0,15,0.1 do
  2741. swait()
  2742. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2743. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2744. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2745. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2746. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2747. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2748. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2749. char.Head.face.Texture = "rbxassetid://1211126983"
  2750. end
  2751. local rng = Instance.new("Part", char)
  2752. rng.Anchored = true
  2753. rng.BrickColor = BrickColor.new("White")
  2754. rng.CanCollide = false
  2755. rng.FormFactor = 3
  2756. rng.Name = "Ring"
  2757. rng.Size = Vector3.new(1, 1, 1)
  2758. rng.Transparency = 0
  2759. rng.TopSurface = 0
  2760. rng.BottomSurface = 0
  2761. rng.Position = root.Position
  2762. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2763. local rngm = Instance.new("SpecialMesh", rng)
  2764. rngm.MeshId = "http://www.roblox.com/asset/?id=431033827"
  2765. local rng2 = rng:Clone()
  2766. rng2.Parent = char
  2767. rng2.BrickColor = BrickColor.new("Really red")
  2768. local rng2m = rng2.Mesh
  2769. local rng3 = rng:Clone()
  2770. rng3.Parent = char
  2771. local rng3m = rng3.Mesh
  2772. local rng4 = rng:Clone()
  2773. rng4.Parent = char
  2774. local rng4m = rng4.Mesh
  2775. local rng5 = rng:Clone()
  2776. rng5.Parent = char
  2777. rng5.BrickColor = BrickColor.new("Really red")
  2778. local rng5m = rng5.Mesh
  2779. local hit = rng5.Touched:connect(function(hit)
  2780. Damagefunc(hit,999,999,math.random(999,999),"Normal",root,.2,1)
  2781. end)
  2782. MagicBlock(bc("Really red"),root.CFrame,15,15,15,5,5,5,0.015)
  2783. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 10, 1)
  2784. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.85)
  2785. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 10, 1)
  2786. wait()
  2787. local scaler = 10
  2788. local scaler2 = 10
  2789. for i = 0,10,0.1 do
  2790. swait()
  2791. rng.Transparency = rng.Transparency + 0.01
  2792. rng2.Transparency = rng2.Transparency + 0.01
  2793. rng3.Transparency = rng3.Transparency + 0.01
  2794. rng4.Transparency = rng4.Transparency + 0.01
  2795. rng5.Transparency = rng5.Transparency + 0.01
  2796. scaler = scaler - 0.125
  2797. scaler2 = scaler2 - 0.1
  2798. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/999, scaler2/999, 999)
  2799. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/999, scaler2/999, 999)
  2800. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/999, scaler2/999, 999)
  2801. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 999)
  2802. rng5.Size = rng5m.Scale
  2803. rng5.CFrame = rng.CFrame
  2804. rngm.Scale = rngm.Scale + Vector3.new(scaler2/999, scaler2/999, 999)
  2805. text.Text = " DIE! "
  2806. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  2807. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.5)
  2808. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1)* angles(math.rad(30),math.rad(0),math.rad(80)),0.5)
  2809. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2810. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.5)
  2811. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-50)), 0.5)
  2812. end
  2813. hit:disconnect()
  2814. game:GetService("Debris"):AddItem(rng, 1)
  2815. game:GetService("Debris"):AddItem(rng2, 1)
  2816. game:GetService("Debris"):AddItem(rng3, 1)
  2817. game:GetService("Debris"):AddItem(rng4, 1)
  2818. game:GetService("Debris"):AddItem(rng5, 1)
  2819. hum.WalkSpeed = 16
  2820. attack = false
  2821. text.Text = " "
  2822. char.Head.face.Texture = "rbxassetid://1211126983"
  2823. jumped = false
  2824. end
  2825.  
  2826. function shooty()
  2827. attack = true
  2828. MagicBlock(bc("Really red"),sorb.CFrame,999,999,999,999,999,999,999)
  2829. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  2830. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  2831. for i = 0,15,0.1 do
  2832. swait()
  2833. MagicBlock(bc("Really red"),sorb.CFrame,999,999,999,999,999,999,999)
  2834. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  2835. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  2836. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.05)
  2837. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  2838. char.Head.face.Texture = "rbxassetid://1211126983"
  2839. end
  2840. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 1)
  2841. local a = Instance.new("Part",Character)
  2842. a.Name = "Direction"
  2843. a.Anchored = true
  2844. a.BrickColor = bc("Really red")
  2845. a.Material = "Neon"
  2846. a.Transparency = 1
  2847. a.CanCollide = false
  2848. local ray = Ray.new(
  2849. root.CFrame.p, -- origin
  2850. (mouse.Hit.p - root.CFrame.p).unit * 500 -- direction
  2851. )
  2852. local ignore = Character
  2853. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2854. a.BottomSurface = 10
  2855. a.TopSurface = 10
  2856. local distance = (root.CFrame.p - position).magnitude
  2857. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2858. a.CFrame = CFrame.new(root.CFrame.p, position) * CFrame.new(0, 0, 0)
  2859. local lb = Instance.new("Part")
  2860. lb.Parent = char
  2861. lb.BrickColor = bc("Really red")
  2862. local pie22 = Instance.new("ParticleEmitter")
  2863. pie22.Parent = char.Torso
  2864. pie22.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  2865. pie22.LightEmission = 0
  2866. pie22.Size = NumberSequence.new(10,5)
  2867. pie22.Texture = "http://www.roblox.com/asset/?id=254959503"
  2868. pie22.Transparency = NumberSequence.new(0, 1)
  2869. pie22.EmissionDirection = "Top"
  2870. pie22.Enabled = true
  2871. pie22.Lifetime = NumberRange.new(1)
  2872. pie22.Rotation = NumberRange.new(-17, 17)
  2873. pie22.Rate = 200
  2874. pie22.Speed = NumberRange.new(3)
  2875. pie22.LockedToPart = false
  2876. pie22.VelocitySpread = 3
  2877. pie22.Name = "Haa"
  2878. pie22.Parent = lb
  2879. lb.CanCollide = false
  2880. lb.Material = "Neon"
  2881. lb.Anchored = true
  2882. lb.TopSurface = 0
  2883. lb.BottomSurface = 0
  2884. lb.Transparency = 0
  2885. lb.Size = vt(0.5,0.5,0.5)
  2886. lb.CFrame = sorb.CFrame
  2887. lb.Anchored = false
  2888. local thingery = Instance.new("SpecialMesh",lb)
  2889. thingery.MeshType = "Sphere"
  2890. thingery.Scale = vt(25,25,25)
  2891. game:GetService("Debris"):AddItem(lb, 10)
  2892. local bv = Instance.new("BodyVelocity")
  2893. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2894. bv.velocity = a.CFrame.lookVector*150
  2895. bv.Parent = lb
  2896. game:GetService("Debris"):AddItem(a, 0.1)
  2897. wait(0.05)
  2898. local hitted = false
  2899. lb.Touched:connect(function(hit)
  2900. if hitted == false then
  2901. hitted = true
  2902. lb.Anchored = true
  2903. lb.Transparency = 1
  2904. local rng = Instance.new("Part", char)
  2905. rng.Anchored = true
  2906. rng.BrickColor = BrickColor.new("Really red")
  2907. rng.CanCollide = false
  2908. rng.FormFactor = 3
  2909. rng.Name = "Ring"
  2910. rng.Size = Vector3.new(1, 1, 1)
  2911. rng.Transparency = 0
  2912. rng.TopSurface = 0
  2913. rng.BottomSurface = 0
  2914. rng.CFrame = lb.CFrame
  2915. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2916. local rngm = Instance.new("SpecialMesh", rng)
  2917. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2918. local rng2 = rng:Clone()
  2919. rng2.Parent = char
  2920. local rng2m = rng2.Mesh
  2921. local rng3 = rng:Clone()
  2922. rng3.Parent = char
  2923. rng3.BrickColor = BrickColor.new("Really red")
  2924. local rng3m = rng3.Mesh
  2925. local rng4 = rng:Clone()
  2926. rng4.Parent = char
  2927. local rng4m = rng4.Mesh
  2928. local rng5 = rng:Clone()
  2929. rng5.Parent = char
  2930. rng5.BrickColor = BrickColor.new("Really red")
  2931. rng5.CFrame = rng5.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2932. local rng5m = rng5.Mesh
  2933. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2934. rng3.CFrame = rng3.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2935. rng4.CFrame = rng4.CFrame * CFrame.Angles(math.rad(math.random(-360,360)), math.rad(math.random(-360,360)), math.rad(math.random(-360,360)))
  2936. MagicBlock(bc("White"),lb.CFrame,15,15,15,5,5,5,0.015)
  2937. local rng6 = rng:Clone()
  2938. rng6.Material = "Neon"
  2939. rng6.Parent = char
  2940. local rng6m = rng6.Mesh
  2941. rng6m.Scale = vt(1,1,1)
  2942. rng6m.MeshType = "Sphere"
  2943. local hita = rng6.Touched:connect(function(hit)
  2944. Damagefunc(hit,72,78,math.random(70,70),"Normal",root,.2,1)
  2945. end)
  2946. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 1)
  2947. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 0.75)
  2948. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  2949. local scaler = 5
  2950. local scaler2 = 5
  2951. for i = 0,20,0.1 do
  2952. swait()
  2953. rng.Transparency = rng.Transparency + 0.005
  2954. rng2.Transparency = rng2.Transparency + 0.005
  2955. rng3.Transparency = rng3.Transparency + 0.005
  2956. rng4.Transparency = rng4.Transparency + 0.005
  2957. rng5.Transparency = rng5.Transparency + 0.005
  2958. rng6.Transparency = rng6.Transparency + 0.005
  2959. scaler = scaler - 0.005/2
  2960. scaler2 = scaler2 - 0.05/2
  2961. rng6.Size = rng6.Size + Vector3.new(scaler2/3, scaler2/3, scaler2/3)
  2962. rng6.CFrame = rng.CFrame
  2963. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2964. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0)
  2965. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/2, scaler2/2, 0)
  2966. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  2967. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2968. end
  2969. hita:disconnect()
  2970. game:GetService("Debris"):AddItem(rng, 1)
  2971. game:GetService("Debris"):AddItem(rng2, 1)
  2972. game:GetService("Debris"):AddItem(rng3, 1)
  2973. game:GetService("Debris"):AddItem(rng4, 1)
  2974. game:GetService("Debris"):AddItem(rng5, 1)
  2975. game:GetService("Debris"):AddItem(rng6, 1)
  2976. end
  2977. end)
  2978. for i = 0,2,0.1 do
  2979. swait()
  2980. MagicBlock(bc("White"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  2981. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  2982. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  2983. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  2984. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  2985. text.Text = " DIE! "
  2986. end
  2987. attack = false
  2988. text.Text = " "
  2989. char.Head.face.Texture = "rbxassetid://1211126983"
  2990. end
  2991.  
  2992. function superpunch()
  2993. attack = true
  2994. jumped = true
  2995. hum.WalkSpeed = 16
  2996. chatfunc("DIE!!!")
  2997. wait(1.5)
  2998. text.Text = " "
  2999. wait(0.5)
  3000. CFuncs["Sound"].Create("rbxassetid://169445572", root, 1, 1)
  3001. CFuncs["Sound"].Create("rbxassetid://165970126", root, 1, 0.7)
  3002. wait(0.7)
  3003. chatfunc("Explosion Grenade!")
  3004. for i = 0,15,0.1 do
  3005. swait()
  3006. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  3007. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.05)
  3008. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.05)
  3009. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.05)
  3010. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-20)), 0.05)
  3011. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.05)
  3012. char.Head.face.Texture = "rbxassetid://126198982"
  3013. end
  3014. local rng = Instance.new("Part", char)
  3015. rng.Anchored = true
  3016. rng.BrickColor = BrickColor.new("Neon orange")
  3017. rng.CanCollide = false
  3018. rng.FormFactor = 3
  3019. rng.Name = "Ring"
  3020. rng.Size = Vector3.new(1, 1, 1)
  3021. rng.Transparency = 0
  3022. rng.TopSurface = 0
  3023. rng.BottomSurface = 0
  3024. rng.CFrame = root.CFrame
  3025. local rngm = Instance.new("SpecialMesh", rng)
  3026. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3027. local rng2 = rng:Clone()
  3028. rng2.Parent = char
  3029. rng2.BrickColor = BrickColor.new("Dark stone grey")
  3030. local rng2m = rng2.Mesh
  3031. local rng3 = rng:Clone()
  3032. rng3.Parent = char
  3033. local rng3m = rng3.Mesh
  3034. local rng4 = rng:Clone()
  3035. rng4.Parent = char
  3036. rng4.BrickColor = BrickColor.new("Dark stone grey")
  3037. local rng4m = rng4.Mesh
  3038. local rng5 = rng:Clone()
  3039. rng5.Parent = char
  3040. local rng5m = rng5.Mesh
  3041. local rng6 = rng:Clone()
  3042. rng6.Material = "Neon"
  3043. rng6.Parent = char
  3044. local rng6m = rng6.Mesh
  3045. rng6m.Scale = vt(1,1,1)
  3046. rng6m.MeshType = "Sphere"
  3047. local hita = rng6.Touched:connect(function(hit)
  3048. Damagefunc(hit,30000,44000,math.random(30000,40000),"Normal",root,.2,1)
  3049. end)
  3050. rng2.CFrame = root.CFrame
  3051. rng3.CFrame = root.CFrame
  3052. rng4.CFrame = root.CFrame
  3053. rng5.CFrame = root.CFrame
  3054. rng6.CFrame = root.CFrame
  3055. CFuncs["Sound"].Create("rbxassetid://260430117", rng, 5, 1)
  3056. CFuncs["Sound"].Create("rbxassetid://187137517", rng, 5, 0.85)
  3057. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3058. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3059. CFuncs["Sound"].Create("rbxassetid://165970126", rng, 5, 1)
  3060. wait()
  3061. local scaler = 10/5
  3062. local scaler2 = 10/5
  3063. MagicBlock(bc("Dark stone grey"),root.CFrame,30,30,30,5,5,5,0.015)
  3064. for i = 0,10,0.1 do
  3065. swait()
  3066. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*scaler2
  3067. rng2.CFrame = rng2.CFrame + rng2.CFrame.lookVector*scaler2/0.25
  3068. rng3.CFrame = rng3.CFrame + rng3.CFrame.lookVector*scaler2/0.5
  3069. rng4.CFrame = rng4.CFrame + rng4.CFrame.lookVector*scaler2/0.75
  3070. rng5.CFrame = rng5.CFrame + rng5.CFrame.lookVector*scaler2/2
  3071. rng6.Size = rng6.Size + Vector3.new(scaler2/0.9, scaler2/0.9, scaler2/0.4)
  3072. rng6.CFrame = rng.CFrame
  3073. rng.Transparency = rng.Transparency + 0.01
  3074. rng2.Transparency = rng2.Transparency + 0.01
  3075. rng3.Transparency = rng3.Transparency + 0.01
  3076. rng4.Transparency = rng4.Transparency + 0.01
  3077. rng5.Transparency = rng5.Transparency + 0.01
  3078. rng6.Transparency = rng6.Transparency + 0.01
  3079. scaler = scaler - 0.125/5
  3080. scaler2 = scaler2 - 0.1/5
  3081. rng2m.Scale = rng2m.Scale + Vector3.new(scaler2/2.5, scaler2/2.5, 1.5)
  3082. rng3m.Scale = rng3m.Scale + Vector3.new(scaler2/2, scaler2/2, 1)
  3083. rng4m.Scale = rng4m.Scale + Vector3.new(scaler2/1.5, scaler2/1.5, 0.5)
  3084. rng5m.Scale = rng5m.Scale + Vector3.new(scaler2, scaler2, 0)
  3085. rngm.Scale = rngm.Scale + Vector3.new(scaler2/3, scaler2/3, 2)
  3086. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(80)),0.5)
  3087. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.5)
  3088. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(20)), 0.5)
  3089. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-90)), 0.5)
  3090. end
  3091. hita:disconnect()
  3092. game:GetService("Debris"):AddItem(rng, 1)
  3093. game:GetService("Debris"):AddItem(rng2, 1)
  3094. game:GetService("Debris"):AddItem(rng3, 1)
  3095. game:GetService("Debris"):AddItem(rng4, 1)
  3096. game:GetService("Debris"):AddItem(rng5, 1)
  3097. hum.WalkSpeed = 16
  3098. attack = false
  3099. char.Head.face.Texture = "rbxassetid://29291814"
  3100. jumped = false
  3101. end
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109. mouse.KeyDown:connect(function(k)
  3110. if k == "z" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  3111. jump()
  3112. end
  3113. if k == "x" and attack == false then
  3114. dash()
  3115. end
  3116. if k == "" and attack == false then
  3117. dashh()
  3118. end
  3119. if k == "r" and attack == false then
  3120. dashs()
  3121. end
  3122. if k == "" and attack == false then
  3123. asd:Stop()
  3124. end
  3125. if k == "" and attack == false then
  3126. chatfunc("Deku!")
  3127. end
  3128. if k == "1" and attack == false then
  3129. chatfunc("I WILL KILL YOU!")
  3130. end
  3131. if k == "" and attack == false then
  3132. chatfunc("That's what you consider strong?!")
  3133. end
  3134. if k == "" and attack == false then
  3135. chatfunc("Useless!")
  3136. end
  3137. if k == "" and attack == false then
  3138. chatfunc("What?!")
  3139. end
  3140. if k == "" and attack == false then
  3141. chatfunc("Hmph.")
  3142. end
  3143. if k == "" and attack == false then
  3144. chatfunc("Trash!")
  3145. end
  3146. if k == "" and attack == false then
  3147. chatfunc("You're Nothing!")
  3148. end
  3149. if k == "" and attack == false then
  3150. chatfunc("Die!")
  3151. end
  3152. if k == "" and attack == false then
  3153. char.Head.face.Texture = "rbxassetid://126198982"
  3154. chatfunc("I'll crush you!")
  3155. end
  3156. if k == "" and attack == false then
  3157. chatfunc("Idiot!")
  3158. end
  3159. if k == "" and attack == false then
  3160. chatfunc("I'll crush that Half-n-Half bastard..")
  3161. end
  3162. if k == "" and attack == false then
  3163. chatfunc("Remember who you are.. YOU'RE BENEATH ME!")
  3164. end
  3165. if k == "" and attack == false then
  3166. daash()
  3167. end
  3168. if k == "" and attack == false then
  3169. asd:Play()
  3170. end
  3171. if k == "e" and attack == false then
  3172. punch()
  3173. end
  3174. if k == "" and attack == false then
  3175. punch3()
  3176. end
  3177.  
  3178. if k == "q" and attack == false then
  3179. punch2()
  3180. end
  3181. if k == "c" and attack == false and RootPart.Velocity.y == 0 and hitfloor~=nil then
  3182. boom()
  3183. end
  3184. if k == "v" and attack == false then
  3185. shooty()
  3186. end
  3187. if k == "" and attack == false then
  3188. if Serious == true then
  3189. punchd()
  3190. end
  3191. end
  3192. if k == "" and attack == false then
  3193. superpunch()
  3194. end
  3195. end)
  3196. mouse.KeyDown:connect(function(key)
  3197. if key=="" then
  3198. Serious()
  3199. end
  3200. end)
  3201. Health = math.huge --------- Serious mode aura.
  3202. BaseHealth = math.huge
  3203.  
  3204.  
  3205.  
  3206.  
  3207. InForm = false
  3208.  
  3209. Player = game.Players.LocalPlayer
  3210. Char = Player.Character
  3211. Torso = Char.Torso
  3212.  
  3213. function Serious()
  3214. for X = 1, 1 do wait()
  3215. asd1 = Instance.new("Sound",char)
  3216. asd1.SoundId = "http://www.roblox.com/asset/?id = 934992368"
  3217. asd1.Volume = 2
  3218. asd1.Looped = true
  3219. asd1:Play()
  3220. chatfunc("...")
  3221. wait(1.6)
  3222. chatfunc("...You..")
  3223. wait(1.6)
  3224. chatfunc("...")
  3225. wait(1.6)
  3226. chatfunc("There's no point in winning if both sides don't give it their all.")
  3227. wait(8)
  3228. for X = 1, 1 do wait()
  3229. local Effect = Instance.new("Part")
  3230. Effect.Name = "Effect"
  3231. Effect.Parent = Torso
  3232. Effect.CFrame = Torso.CFrame
  3233. Effect.BrickColor = BrickColor.new("Neon orange")
  3234. Effect.Shape = "Ball"
  3235. Effect.Size = Vector3.new(1, 1, 1)
  3236. Effect.Anchored = true
  3237. Effect.Material = "Neon"
  3238. Effect.CanCollide = false
  3239. Effect.CFrame = Torso.CFrame
  3240. Effect.Size = Effect.Size + Vector3.new(0.5)
  3241. Effect.Transparency = Effect.Transparency + 0.04
  3242. end
  3243. end
  3244.  
  3245. repeat
  3246. Torso:FindFirstChild("Effect"):Remove()
  3247. until Torso:FindFirstChild("Effect") == nil
  3248.  
  3249.  
  3250. local Color1 = Color3.new(255, 255, 0)
  3251. local Color2 = Color3.new(255, 255, 0)
  3252.  
  3253.  
  3254. local Aura = Instance.new('ParticleEmitter')
  3255. Aura.Name = "Aura"
  3256. Aura.Texture = "rbxassetid://254959503"
  3257. Aura.Parent = Torso
  3258. Aura.LightEmission = 0.6
  3259. Aura.Transparency = NumberSequence.new(0.5)
  3260. Aura.Color = ColorSequence.new(BrickColor.new("Neon orange").Color)
  3261. Aura.Size = NumberSequence.new(7,4,1)
  3262. Aura.LockedToPart = false
  3263. Aura.Lifetime = NumberRange.new(3)
  3264. Aura.Rate = 40
  3265. Aura.Speed = NumberRange.new(2)
  3266. Aura.Rotation = NumberRange.new(-420,420)
  3267. Aura.EmissionDirection = "Top"
  3268. MagicBlock(bc("Neon orange"),sorb.CFrame,3,3,3,0.05,0.05,0.05,0.05)
  3269. punch2()
  3270. chatfunc("DON'T UNDERESTIMATE ME!")
  3271. Instance.new("ForceField",char).Visible = false
  3272. hum.Name = "youdungoofed"
  3273. local Aura2 = Instance.new('ParticleEmitter')
  3274. Aura2.Name = "Aura"
  3275. Aura2.Texture = "rbxassetid://254959503"
  3276. Aura2.Parent = Torso
  3277. Aura2.LightEmission = 0
  3278. Aura2.Transparency = NumberSequence.new(0.7)
  3279. Aura2.Color = ColorSequence.new(BrickColor.new("Grey").Color)
  3280. Aura2.Size = NumberSequence.new(10,6,1)
  3281. Aura2.LockedToPart = false
  3282. Aura2.Lifetime = NumberRange.new(3)
  3283. Aura2.Rate = 40
  3284. Aura2.Speed = NumberRange.new(2)
  3285. Aura2.Rotation = NumberRange.new(3,-3)
  3286. Aura2.EmissionDirection = "Top"
  3287. local Aura3 = Instance.new('ParticleEmitter')
  3288. Aura3.Name = "Aura"
  3289. Aura3.Texture = "rbxassetid://245595131"
  3290. Aura3.Parent = Torso
  3291. Aura3.LightEmission = 1
  3292. Aura3.Transparency = NumberSequence.new(0.7)
  3293. Aura3.Color = ColorSequence.new(BrickColor.new("Grey").Color)
  3294. Aura3.Size = NumberSequence.new(0.6)
  3295. Aura3.LockedToPart = false
  3296. Aura3.Lifetime = NumberRange.new(1)
  3297. Aura3.Rate = 40
  3298. Aura3.Speed = NumberRange.new(2)
  3299. Aura3.Rotation = NumberRange.new(3,-3)
  3300. Aura3.EmissionDirection = "Top"
  3301.  
  3302.  
  3303. InForm = true
  3304.  
  3305. Char.Humanoid.MaxHealth = Health
  3306. wait(0.3)
  3307. Char.Humanoid.Health = Health
  3308.  
  3309.  
  3310. end
  3311.  
  3312. function Base()
  3313. InForm = false
  3314. local Effect = Instance.new("Part")
  3315. Effect.Name = "Effect"
  3316. Effect.Parent = Torso
  3317. Effect.CFrame = Torso.CFrame
  3318. Effect.BrickColor = BrickColor.new("White")
  3319. Effect.Shape = "Ball"
  3320. Effect.Size = Vector3.new(8, 8, 8)
  3321. Effect.Anchored = true
  3322. Effect.Material = "Neon"
  3323. Effect.CanCollide = false
  3324. for loop = 1, 25 do wait()
  3325. Effect.CFrame = Torso.CFrame
  3326. Effect.Size = Effect.Size + Vector3.new(-0.5)
  3327. Effect.Transparency = Effect.Transparency + 0.04
  3328. end
  3329. repeat
  3330. Torso:FindFirstChild("Effect"):Remove()
  3331. until Torso:FindFirstChild("Effect") == nil
  3332.  
  3333. for i, v in pairs(Torso:GetChildren()) do
  3334. if v:IsA('ParticleEmitter') then
  3335. v:Remove()
  3336. asd1:Destroy()
  3337. killbrick:Destroy()
  3338. end
  3339. end
  3340. char.Humanoid.MaxHealth = BaseHealth
  3341. wait(0.3)
  3342. char.Humanoid.Health = BaseHealth
  3343.  
  3344. end
  3345.  
  3346. mouse.KeyDown:connect(function(key)
  3347. if key=="9" then
  3348. Base()
  3349. end
  3350. end)
  3351.  
  3352. Player.Chatted:connect(function(Message)
  3353. if Message == "Time to get serious." and InForm == false then
  3354. wait(0.10)
  3355. Serious()
  3356. end
  3357. if Message == "off" or Message == "Nice fight." and InForm == true then
  3358. Base()
  3359. end
  3360. end)
  3361. Humanoid.Animator.Parent = nil
  3362. idleanim=.4
  3363. while true do
  3364. swait()
  3365. sine = sine + change
  3366. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3367. local velderp=RootPart.Velocity.y
  3368. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3369. if equipped==true or equipped==false then
  3370. if attack==false then
  3371. idle=idle+1
  3372. else
  3373. idle=0
  3374. end
  3375. if idle>=500 then
  3376. if attack==false then
  3377. --Sheath()
  3378. end
  3379. end
  3380. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3381. Anim="Jump"
  3382. if attack==false then
  3383. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3384. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3385. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3386. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  3387. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3388. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  3389. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3390. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.2)
  3391. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.2)
  3392. end
  3393. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3394. Anim="Fall"
  3395. if attack==false then
  3396. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  3397. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3398. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.25)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  3399. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  3400. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3401. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2)*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  3402. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3403. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.2)
  3404. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.2)
  3405. end
  3406. elseif torvel<1 and hitfloor~=nil then
  3407. Anim="Idle"
  3408. if jumped == false then
  3409. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3410. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 2.5 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 7.5 * math.cos(sine / 32))),.3)
  3411. end
  3412. if attack==false then
  3413. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.15 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3414. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0 - 5 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.3)
  3415. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(5 + 2.5 * math.cos(sine / 25))),.3)
  3416. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-5 - 2.5 * math.cos(sine / 25))),.3)
  3417. end
  3418. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3419. Anim="Walk"
  3420. if jumped == false then
  3421. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3422. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  3423. end
  3424. if attack==false then
  3425. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  3426. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3427. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  3428. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  3429. end
  3430. elseif torvel>=22 and hitfloor~=nil then
  3431. Anim="Run"
  3432. if jumped == false then
  3433. 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(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3434. 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(0),math.rad(0 + 75 * math.cos(sine / 3))),.3)
  3435. end
  3436. if attack==false then
  3437. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.25 + 0.05 * math.cos(sine / 32))* angles(math.rad(35),math.rad(0),math.rad(0)),.3)
  3438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3439. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-60),math.rad(25)),.3)
  3440. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-25)),.3)
  3441. end
  3442. end
  3443. end
  3444. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement