Advertisement
Guest User

Untitled

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