Glexteon

Untitled

Oct 13th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.26 KB | None | 0 0
  1. --[[Salvo_Starly[Salvy].Weaponry_2018.2]]--
  2. --[[Project Name: Rocketer from Critical Strike]]--
  3. --[[ybeqsr]]--
  4. wait(.2)
  5. plr=game.Players.LocalPlayer
  6. chr=plr.Character
  7. Head=chr.Head
  8. Root=chr.HumanoidRootPart
  9. Torso=chr.Torso
  10. RArm=chr["Right Arm"]
  11. LArm=chr["Left Arm"]
  12. RLeg=chr["Right Leg"]
  13. LLeg=chr["Left Leg"]
  14. RJ=Root.RootJoint
  15. Neck=Torso.Neck
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. hum=chr:FindFirstChildOfClass("Humanoid")
  21. mouse=plr:GetMouse()
  22. Pose="Idle"
  23. attack=false
  24. combo=1
  25. skilldoing=false
  26. skilldoing2=false
  27. skilldoing3=false
  28. comb=1
  29. sin=0
  30. cha=1
  31. buff=1
  32. another=false
  33. hold=false
  34. create=LoadLibrary("RbxUtility").Create
  35.  
  36. local hax=create("BodyVelocity"){
  37. Parent=nil,
  38. MaxForce=Vector3.new(0, math.huge, 0),
  39. Velocity=(Vector3.new(0,1,0)*10)}
  40.  
  41.  
  42. chr.Animate:Remove()
  43. hum.Animator:Remove()
  44.  
  45. function clerp(a,b,t)
  46. return a:lerp(b,t)
  47. end
  48.  
  49. local newMotor=function(p0,p1,c0,c1)
  50. local w=Instance.new('Motor',p0)
  51. w.Part0=p0
  52. w.Part1=p1
  53. w.C0=c0
  54. w.C1=c1
  55. return w
  56. end
  57.  
  58. RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
  59. Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
  60. --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
  61. LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
  62. RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
  63. LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
  64. local RS=newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  65. local LS=newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  66. local RH=newMotor(Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  67. local LH=newMotor(Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  68.  
  69. function NoOutline(Part)
  70. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
  71. end
  72.  
  73. function rayCast(Position,Direction,Range,Ignore)
  74. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
  75. end
  76.  
  77. function swait(num)
  78. if num==0 or num==nil then
  79. game:service'RunService'.Stepped:wait(0)
  80. else
  81. for i=0,num do
  82. game:service'RunService'.Stepped:wait(0)
  83. end
  84. end
  85. end
  86.  
  87. function parts(Par,name,size,color,mat,ref,tra)
  88. local part=create("Part"){
  89. Parent=Par,
  90. Name=name,
  91. Size=size,
  92. CanCollide=false,
  93. Anchored=false,
  94. BrickColor=BrickColor.new(color),
  95. Material=mat,
  96. Reflectance=ref,
  97. Transparency=tra}
  98. --Position=Torso.Position}
  99. NoOutline(part)
  100. part:BreakJoints()
  101. return part
  102. end
  103.  
  104. function meshs(Par,name,scale,mtype,id)
  105. local mesh=create("SpecialMesh"){
  106. Parent=Par,
  107. Name=name,
  108. Scale=scale,
  109. MeshType=mtype}
  110. if id~="" then
  111. mesh.MeshId="rbxassetid://"..id
  112. end
  113. return meshs
  114. end
  115.  
  116. function welds(Par,name,p0,p1,c0,c1)
  117. local weld=create("Weld"){
  118. Parent=Par,
  119. Name=name,
  120. Part0=p0,
  121. Part1=p1,
  122. C0=c0,
  123. C1=c1}
  124. return weld
  125. end
  126.  
  127. function sounds(Par,id,vol,pit)
  128. local sound=create("Sound"){
  129. Parent=Par,
  130. SoundId="rbxassetid://"..id,
  131. Volume=vol,
  132. PlaybackSpeed=pit}
  133. sound:Play()
  134. game:GetService("Debris"):AddItem(sound,10)
  135. return sound
  136. end
  137. m=Instance.new("Model",chr)
  138. m.Name="Suit"
  139. e=Instance.new("Model",chr)
  140. e.Name="Effect"
  141.  
  142. R3=parts(m,"R3",Vector3.new(2.10000014, 0.199999928, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  143. R3Weld=welds(R3,"R3Weld",Torso,R3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.0000267, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  144. meshs(R3,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  145. R2=parts(m,"R2",Vector3.new(2.00000024, 0.799999595, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  146. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0500049591, -0.799976587, 0.0999909639, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  147. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  148. R2=parts(m,"R2",Vector3.new(1.60000014, 1.99999988, 0.800000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  149. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-06, 2.28881836e-05, -0.90001297, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  150. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  151. R2=parts(m,"R2",Vector3.new(2.39999986, 1.19999969, 0.399999917),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  152. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-06, -0.692916393, -0.87274766, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  153. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  154. R2=parts(m,"R2",Vector3.new(2.00000024, 0.999999642, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  155. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-9.53674316e-06, -0.592919827, -1.57274485, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  156. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  157. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  158. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599994659, -0.592919827, -1.57274485, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  159. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  160. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  161. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600006104, -0.592919827, -1.57274485, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  162. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  163. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  164. R2Weld=welds(R2,"R2Weld",Torso,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.7220459e-06, -0.592919827, -1.57274485, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  165. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  166. R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
  167. R2TWeld=welds(R2T,"R2TWeld",Torso,R2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419266701, 0.419252396, -2.07274485, -0.707106829, -0.683012843, 0.183011949, 0.707106709, -0.683012962, 0.183011979, -3.5527141e-15, 0.258818001, 0.965926111))
  168. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  169. R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
  170. R2TWeld=welds(R2T,"R2TWeld",Torso,R2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.419253349, -0.41926384, -2.07274532, 0.707106829, -0.683012843, 0.183011949, 0.707106829, 0.683012724, -0.183012918, 6.84886288e-07, 0.258818656, 0.965925932))
  171. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  172. R2T=parts(m,"R2T",Vector3.new(1.20000005, 1.49999976, 1.20000005),"Really black",Enum.Material.SmoothPlastic,0,0)
  173. R2TWeld=welds(R2T,"R2TWeld",Torso,R2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-06, 0.350021362, 0.0999909639, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  174. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  175. R2=parts(m,"R2",Vector3.new(0.199999928, 0.499999553, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  176. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 0.950004578, -3.6239624e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  177. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  178. R2=parts(m,"R2",Vector3.new(0.599999905, 0.999999642, 0.199999973),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  179. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 1.00000191, -0.600034714, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  180. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  181. R2=parts(m,"R2",Vector3.new(1, 2.00000167, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  182. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 0.600002289, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  183. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  184. R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  185. R2TWeld=welds(R2T,"R2TWeld",RArm,R2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 1.8000021, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  186. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  187. R2=parts(m,"R2",Vector3.new(1, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  188. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 2.30000401, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  189. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  190. R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  191. R2TWeld=welds(R2T,"R2TWeld",RArm,R2T,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, -0.599996567, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  192. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  193. R2=parts(m,"R2",Vector3.new(1, 0.600001633, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  194. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, -1.09999871, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  195. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  196. R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  197. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, -1.59999681, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  198. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  199. R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  200. R2Weld=welds(R2,"R2Weld",RArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, 2.80000401, 0.999965787, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  201. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  202. R2=parts(m,"R2",Vector3.new(1.10000002, 1.09999967, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  203. R2Weld=welds(R2T,"R2TWeld",LArm,R2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28881836e-05, -0.549974442, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  204. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  205. R21=parts(m,"R21",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  206. R21Weld=welds(R21,"R2Weld",RArm,R21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-05, -0.999954343, 2.80000401, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  207. meshs(R21,"Mesh",Vector3.new(1, 1, 1.00999999),Enum.MeshType.Brick,"")
  208.  
  209. for _,v in pairs(m:children()) do
  210. if v:IsA("Part")and v.Name=="R2T"then
  211. v.BrickColor=Torso.BrickColor
  212. end
  213. end
  214.  
  215. aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(1, 0)})
  216. bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  217. local Efect=create("ParticleEmitter"){
  218. Color=ColorSequence.new(BrickColor.new("Bright orange").Color),
  219. LightEmission=.45,
  220. Texture="rbxassetid://50657528",
  221. Transparency=bbb,
  222. Size=aaa,
  223. ZOffset=0,
  224. Acceleration=Vector3.new(0, 0, 0),
  225. LockedToPart=false,
  226. EmissionDirection="Top",
  227. Lifetime=NumberRange.new(.5,.5),
  228. Rate=100,
  229. Rotation=NumberRange.new(-100, 100),
  230. RotSpeed=NumberRange.new(-50, 50),
  231. Speed=NumberRange.new(0),
  232. VelocitySpread=1000,
  233. Enabled=false,
  234. Parent=Root
  235. }
  236.  
  237. Efecc=Efect:Clone()
  238. Efecc.Parent=R3
  239. Efecc.EmissionDirection="Bottom"
  240. Efecc.VelocitySpread=0
  241. Efecc.Speed=NumberRange.new(6)
  242. Efecc.Color=ColorSequence.new(BrickColor.new("Neon orange").Color)
  243.  
  244. local Buff=create("BillboardGui"){
  245. Size=UDim2.new(5, 0, 15, 0),
  246. Adornee=Root,
  247. Parent=Root,
  248. ExtentsOffset=Vector3.new(0, 3, 0),
  249. AlwaysOnTop=true
  250. }
  251. local BuffLabel=create("TextLabel"){
  252. AnchorPoint=Vector2.new(.5,.5),
  253. BackgroundTransparency=1,
  254. TextStrokeTransparency=1,
  255. TextTransparency=1,
  256. TextColor3=Color3.new(0, 1, 1),
  257. Position=UDim2.new(.5, 0, .5, 0),
  258. Size=UDim2.new(1.5, 0, .2, 0),
  259. Text="Damage+",
  260. Font="SourceSansBold",
  261. TextScaled=true,
  262. Parent=Buff,
  263. }
  264.  
  265. function FindNearestTorso(pos)
  266. local list=(workspace:children())
  267. local torso=nil
  268. local dist=100000
  269. local temp,human,temp2=nil,nil,nil
  270. for x=1,#list do
  271. temp2=list[x]
  272. if temp2.className=="Model"and temp2.Name~=chr.Name then
  273. temp=temp2:findFirstChild("Head")
  274. human=temp2:findFirstChildOfClass("Humanoid")
  275. if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then
  276. local dohit=true
  277. if dohit==true then
  278. torso=temp
  279. dist=(temp.Position-pos).magnitude
  280. end
  281. end
  282. end
  283. end
  284. return torso,dist
  285. end
  286.  
  287. function Damage(Type,Part,hit,dmg,delet)
  288. if hit.Parent==nil then
  289. return
  290. end
  291. local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  292. for _,v in pairs(hit.Parent:children()) do
  293. if v:IsA("Humanoid")then
  294. h=v
  295. end
  296. end
  297. if h~=nil and hit.Parent.Name~=chr.Name then
  298. if hit.Parent:findFirstChild("AHit")==nil then
  299. h.Health=game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent.Torso)
  300. if h.Health==math.huge or dmg==math.huge then
  301. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent.Head)
  302. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent.Torso)
  303. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent["Right Arm"])
  304. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent["Left Arm"])
  305. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent["Right Leg"])
  306. game.ReplicatedStorage.Events.destryObj:FireServer(hit.Parent["Left Leg"])
  307. end
  308. end
  309. if Type=="Disappear"then
  310. effect(e,"Bright orange",Part.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  311. Part.Parent=nil
  312. if hit.Parent:findFirstChild("AHit")==nil then
  313. local c=create("BoolValue"){
  314. Name="AHit",
  315. Value=true,
  316. Parent=hit.Parent}
  317. game:GetService("Debris"):AddItem(c,0)
  318. end
  319. elseif Type=="None"then
  320. if hit.Parent:findFirstChild("AHit")==nil then
  321. local c=create("BoolValue"){
  322. Name="AHit",
  323. Value=true,
  324. Parent=hit.Parent}
  325. game:GetService("Debris"):AddItem(c,0)
  326. end
  327. end
  328. end
  329. end
  330.  
  331. function Mdamage(Type,Part,Magn,Dmg)
  332. for _,c in pairs(workspace:children()) do
  333. local hum=c:findFirstChildOfClass("Humanoid")
  334. if hum~=nil then
  335. local ddee=c:findFirstChild("Torso")
  336. if ddee~=nil then
  337. local targ=ddee.Position-Part.Position
  338. local mag=targ.magnitude
  339. if mag<=Magn and c.Name~=plr.Name then
  340. Damage(Type,Part,ddee,Dmg)
  341. if hum.Health==math.huge then
  342. ddee:BreakJoints()
  343. end
  344. end
  345. end
  346. end
  347. end
  348. end
  349.  
  350. --v efec
  351. function effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ)
  352. local ex=create("Part"){
  353. Size=Vector3.new(.2,.2,.2),
  354. BrickColor=BrickColor.new(color),
  355. CanCollide=false,
  356. Material="Neon",
  357. Anchored=true,
  358. CFrame=CF,
  359. Parent=par}
  360. NoOutline(ex)
  361. local exe=create("SpecialMesh"){
  362. Scale=Vector3.new(x,y,z),
  363. MeshType=mtyp,
  364. Parent=ex}
  365. game:GetService("Debris"):AddItem(ex,10)
  366. coroutine.resume(coroutine.create(function()
  367. for i=0,1.1,de do
  368. swait()
  369. ex.Transparency=i
  370. exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
  371. if typ==1 then
  372. ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  373. end
  374. end
  375. ex:Remove()
  376. end))
  377. end
  378. --v atak
  379. function Rocket_Launcher()
  380. attack=true
  381. for i=0,1,0.14 do
  382. swait()
  383. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  384. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  385. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  386. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  387. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  388. break
  389. end
  390. end
  391. sounds(Root,"515942061",1,1)
  392. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
  393. efec.CFrame=Root.CFrame*CFrame.new(1,1,-2)
  394. local fire=Efect:Clone()
  395. fire.Parent=efec
  396. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  397. fire.Enabled=true
  398. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  399. local aa=create("BodyVelocity"){
  400. Parent=efec,
  401. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  402. Velocity=efec.CFrame.lookVector*70}
  403. local hon=efec.Touched:connect(function(hitt)
  404. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  405. Damage("Disappear",efec,hitt,20)
  406. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  407. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  408. swait()
  409. efec:Remove()
  410. end
  411. end)
  412. coroutine.resume(coroutine.create(function()
  413. for i=1,450 do
  414. swait()
  415. if efec.Parent==nil then
  416. break
  417. end
  418. end
  419. if efec.Parent~=nil then
  420. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  421. swait()
  422. efec:Remove()
  423. end
  424. end))
  425. for i=0,1,0.14 do
  426. swait()
  427. RJ.C0=clerp(RJ.C0,CFrame.new(-1.32061541e-05, 0, 0.1999984592, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  428. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  429. RS.C0=clerp(RS.C0,CFrame.new(0.542488813, 0.80978471, -1.01473677, 0.500000238, 0.75, -0.433012903, 0, -0.500000238, -0.866025388, -0.866025388, 0.433012903, -0.250000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  430. LS.C0=clerp(LS.C0,CFrame.new(-1.46680224, 0.719067335, -0.762373567, 0.965926051, 0.249999881, -0.0669872165, 0, -0.258818924, -0.965925872, -0.258818865, 0.933012962, -0.249999911)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  431. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  432. break
  433. end
  434. end
  435. for i=0,1,0.12 do
  436. swait()
  437. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  438. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  439. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  440. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  441. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  442. break
  443. end
  444. end
  445. attack=false
  446. end
  447. --20
  448. function Land_Mine()
  449. if skilldoing==true then
  450. return
  451. end
  452. skilldoing=true
  453. for i=1,3 do
  454. for i=0,1,0.3 do
  455. swait()
  456. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  457. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  458. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  459. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  460. if attack==true or skilldoing2==true or skilldoing3==true then
  461. break
  462. end
  463. end
  464. sounds(Root,"515942061",1,1)
  465. local efec=parts(e,"hit",Vector3.new(2,.2,2),"Crimson",Enum.Material.Neon,0,0)
  466. local lazytomeshs=create("CylinderMesh"){
  467. Parent=efec}
  468. efec.CFrame=R21.CFrame
  469. efec.BrickColor=Torso.BrickColor
  470. efec.Velocity=Root.CFrame.lookVector*50
  471. efec.CanCollide=true
  472. local hon=efec.Touched:connect(function(hitt)
  473. if hitt.Parent.Name~=chr.Name then
  474. Damage("Disappear",efec,hitt,20)
  475. end
  476. end)
  477. coroutine.resume(coroutine.create(function()
  478. for i=1,650 do
  479. swait()
  480. if efec.Parent==nil then
  481. break
  482. end
  483. end
  484. if efec.Parent~=nil then
  485. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  486. swait()
  487. efec:Remove()
  488. end
  489. end))
  490.  
  491. for i=0,1,0.3 do
  492. swait()
  493. RJ.C0=clerp(RJ.C0,CFrame.new(-1.32061541e-05, 0, 0.1999984592, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  494. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  495. RS.C0=clerp(RS.C0,CFrame.new(0.542488813, 0.80978471, -1.01473677, 0.500000238, 0.75, -0.433012903, 0, -0.500000238, -0.866025388, -0.866025388, 0.433012903, -0.250000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  496. LS.C0=clerp(LS.C0,CFrame.new(-1.46680224, 0.719067335, -0.762373567, 0.965926051, 0.249999881, -0.0669872165, 0, -0.258818924, -0.965925872, -0.258818865, 0.933012962, -0.249999911)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  497. if attack==true or skilldoing2==true or skilldoing3==true then
  498. break
  499. end
  500. end
  501. end
  502. for i=0,1,0.12 do
  503. swait()
  504. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  505. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  506. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  507. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  508. if attack==true or skilldoing2==true or skilldoing3==true then
  509. break
  510. end
  511. end
  512.  
  513. skilldoing=false
  514. end
  515. --15
  516. function Homing_Missle()
  517. if skilldoing2==true then
  518. return
  519. end
  520. skilldoing2=true
  521. for i=1,3 do
  522. for i=0,1,0.16 do
  523. swait()
  524. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  525. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  526. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  527. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  528. if attack==true or skilldoing==true or skilldoing3==true then
  529. break
  530. end
  531. end
  532. sounds(Root,"515942061",1,1)
  533. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"Really red",Enum.Material.Neon,0,0)
  534. efec.CFrame=R21.CFrame
  535. local fire=Efect:Clone()
  536. fire.Parent=efec
  537. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  538. fire.Enabled=true
  539. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  540. efec.BrickColor=Torso.BrickColor
  541. local aa=create("BodyVelocity"){
  542. Parent=efec,
  543. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  544. Velocity=efec.CFrame.lookVector*60}
  545. local ab=create("BodyGyro"){
  546. Parent=efec,
  547. MaxTorque=Vector3.new(math.huge, math.huge, math.huge)}
  548. game:GetService("Debris"):AddItem(efec,15)
  549. local chase=FindNearestTorso(efec.Position)
  550. if chase~=nil then
  551. ab.cframe=CFrame.new(efec.Position,chase.Position)
  552. end
  553. local hon=efec.Touched:connect(function(hitt)
  554. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  555. Damage("Disappear",efec,hitt,20)
  556. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  557. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  558. swait()
  559. efec:Remove()
  560. end
  561. end)
  562. coroutine.resume(coroutine.create(function()
  563. for i=1,60 do
  564. swait(2)
  565. if chase~=nil then
  566. ab.cframe=CFrame.new(efec.Position,chase.Position)
  567. end
  568. aa.Velocity=efec.CFrame.lookVector*60
  569. if efec.Parent==nil then
  570. break
  571. end
  572. end
  573. for i=1,120 do
  574. swait(1)
  575. ab.cframe=efec.CFrame
  576. if efec.Parent==nil then
  577. break
  578. end
  579. end
  580. if efec.Parent~=nil then
  581. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  582. swait()
  583. efec:Remove()
  584. end
  585. end))
  586. for i=0,1,0.16 do
  587. swait()
  588. RJ.C0=clerp(RJ.C0,CFrame.new(-1.32061541e-05, 0, 0.1999984592, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  589. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  590. RS.C0=clerp(RS.C0,CFrame.new(0.542488813, 0.80978471, -1.01473677, 0.500000238, 0.75, -0.433012903, 0, -0.500000238, -0.866025388, -0.866025388, 0.433012903, -0.250000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  591. LS.C0=clerp(LS.C0,CFrame.new(-1.46680224, 0.719067335, -0.762373567, 0.965926051, 0.249999881, -0.0669872165, 0, -0.258818924, -0.965925872, -0.258818865, 0.933012962, -0.249999911)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  592. if attack==true or skilldoing==true or skilldoing3==true then
  593. break
  594. end
  595. end
  596. end
  597. for i=0,1,0.12 do
  598. swait()
  599. RJ.C0=clerp(RJ.C0,CFrame.new(-1.42024101e-05, 0, -1.71110696e-06, 0.500000238, 0, -0.866025388, 0, 1, 0, 0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  600. Neck.C0=clerp(Neck.C0,CFrame.new(8.3275354e-06, 1.50000429, -1.0609012e-05, 0.500000238, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.500000238)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  601. RS.C0=clerp(RS.C0,CFrame.new(0.487585902, 0.499977589, -1.046435, 0.500000238, 0.866025388, -0, 0, 0, -1, -0.866025388, 0.500000238, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  602. LS.C0=clerp(LS.C0,CFrame.new(-1.45520043, 0.500001192, -0.719071865, 0.965926051, 0.258818865, -0, 0, 0, -1, -0.258818865, 0.965926051, 0)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.4)
  603. if attack==true or skilldoing==true or skilldoing3==true then
  604. break
  605. end
  606. end
  607. skilldoing2=false
  608. end
  609. --15
  610. function rocket_jump()
  611. if skilldoing3==true then
  612. return
  613. end
  614. skilldoing3=true
  615. local sound=create("Sound"){
  616. Parent=Root,
  617. SoundId="rbxassetid://1086152873",
  618. Volume=1.2,
  619. PlaybackSpeed=1}
  620. sound:Play()
  621. for i=0,1,0.08 do
  622. swait()
  623. RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0.226795956, -0.119617194, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  624. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.5382762, -0.289225727, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  625. RS.C0=clerp(RS.C0,CFrame.new(1.40002203, 0.00358454883, -0.552657604, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  626. LS.C0=clerp(LS.C0,CFrame.new(-0.227237135, 0.116231769, -1.0522635, 0.707105994, -0.707107604, -2.95028229e-07, 0.353553444, 0.353553087, -0.866025686, 0.612373352, 0.612371922, 0.499999821)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  627. RH.C0=clerp(RH.C0,CFrame.new(0.499995708, -1.84751534, 0.250238627, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  628. LH.C0=clerp(LH.C0,CFrame.new(-0.500016212, -1.85445249, -0.689795613, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  629. end
  630. hum.Jump=true
  631. Torso.Velocity=(Root.CFrame.lookVector*160)+(Vector3.new(0,1,0)*190)
  632. Mdamage("None",Root,12,30)
  633. effect(e,"Bright orange",Root.CFrame,120,120,120,0,0,0,.07,"Sphere",2)
  634. sounds(Root,"698417145",1,1.1)
  635. swait(10)
  636. sounds(Root,"130823281",2,1)
  637. swait(50)
  638. local num2=0
  639. local R22=parts(m,"R22",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,1)
  640. local R22Weld=welds(R22,"R2Weld",R22,R21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.Angles(0,0,-math.rad(90)),CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  641. for i=0,1,.002 do
  642. swait(1)
  643. RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0.226795956, -0.119617194, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  644. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.5382762, -0.289225727, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  645. RS.C0=clerp(RS.C0,CFrame.new(1.40002203, 0.00358454883, -0.552657604, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  646. LS.C0=clerp(LS.C0,CFrame.new(-0.227237135, 0.116231769, -1.0522635, 0.707105994, -0.707107604, -2.95028229e-07, 0.353553444, 0.353553087, -0.866025686, 0.612373352, 0.612371922, 0.499999821)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  647. RH.C0=clerp(RH.C0,CFrame.new(0.499995708, -1.84751534, 0.250238627, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  648. LH.C0=clerp(LH.C0,CFrame.new(-0.500016212, -1.85445249, -0.689795613, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  649. Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
  650. num2=num2+21
  651. sounds(R21,"515942061",1,1)
  652. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
  653. efec.CFrame=R22.CFrame*CFrame.Angles(math.rad(num2*math.random(-10,10)),math.rad(math.random(65,90)),0)
  654. local fire=Efect:Clone()
  655. fire.Parent=efec
  656. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  657. fire.Enabled=true
  658. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  659. local aa=create("BodyVelocity"){
  660. Parent=efec,
  661. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  662. Velocity=efec.CFrame.lookVector*70}
  663. local hon=efec.Touched:connect(function(hitt)
  664. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  665. Damage("Disappear",efec,hitt,20)
  666. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  667. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  668. swait()
  669. efec:Remove()
  670. end
  671. end)
  672. coroutine.resume(coroutine.create(function()
  673. for i=1,450 do
  674. swait()
  675. if efec.Parent==nil then
  676. break
  677. end
  678. end
  679. if efec.Parent~=nil then
  680. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  681. swait()
  682. efec:Remove()
  683. end
  684. end))
  685. end
  686. swait(20)
  687. R22:Remove()
  688. sounds(Root,"1255656289",1.5,1)
  689. for i=0,1,.0025 do
  690. swait()
  691. RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0.226795956, -0.119617194, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  692. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.5382762, -0.289225727, 1, 0, 0, 0, 0.866025805, 0.499999762, 0, -0.499999762, 0.866025805)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  693. RS.C0=clerp(RS.C0,CFrame.new(1.40002203, 0.00358454883, -0.552657604, 1, 0, 0, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  694. LS.C0=clerp(LS.C0,CFrame.new(-0.227237135, 0.116231769, -1.0522635, 0.707105994, -0.707107604, -2.95028229e-07, 0.353553444, 0.353553087, -0.866025686, 0.612373352, 0.612371922, 0.499999821)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  695. RH.C0=clerp(RH.C0,CFrame.new(0.499995708, -1.84751534, 0.250238627, 1, 0, 0, 0, 0.965926051, 0.258818865, 0, -0.258818865, 0.965926051)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  696. LH.C0=clerp(LH.C0,CFrame.new(-0.500016212, -1.85445249, -0.689795613, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  697. Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
  698. end
  699. sounds(Root,"152624155",2,1)
  700. sounds(Root,"148814641",1.3,1)
  701. local efec=parts(e,"hit",Vector3.new(3,3,10.5),"White",Enum.Material.Neon,0,0)
  702. efec.CFrame=R21.CFrame*CFrame.new(0,0,-10)
  703. local fire=Efect:Clone()
  704. fire.Parent=efec
  705. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  706. fire.Enabled=true
  707. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  708. local aa=create("BodyVelocity"){
  709. Parent=efec,
  710. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  711. Velocity=efec.CFrame.lookVector*70}
  712. local hon=efec.Touched:connect(function(hitt)
  713. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  714. local aaa=parts(e,"gg",Vector3.new(.2,.2,.2),"White",Enum.Material.Neon,0,1)
  715. aaa.CFrame=efec.CFrame
  716. Mdamage("Disappear",efec,80,math.huge)
  717. game:GetService("Debris"):AddItem(aaa,1)
  718. local Efec=parts(m,"Area",Vector3.new(0.199999928, 0.199999988, 0.199999988),"Royal purple",Enum.Material.Neon,0,0)
  719. meshs(Efec,"Mesh",Vector3.new(800, 800, 800),Enum.MeshType.Sphere,"")
  720. Efec.CFrame=aaa.CFrame
  721. Efec.Anchored=true
  722. sounds(Efec,"131101306",3,1)
  723. sounds(Efec,"197161452",1,1)
  724. coroutine.resume(coroutine.create(function()
  725. for i=0,1.01,.002 do
  726. swait()
  727. Efec.Transparency=i
  728. Efec.Color=Color3.new(math.random(), math.random(), math.random())
  729. end
  730. Efec.Transparency=1
  731. game:GetService("Debris"):AddItem(Efec,1)
  732. end))
  733. end
  734. end)
  735. coroutine.resume(coroutine.create(function()
  736. repeat
  737. swait()
  738. fire.Color=ColorSequence.new(Color3.new(math.random(), math.random(), math.random()))
  739. efec.Color=Color3.new(math.random(), math.random(), math.random())
  740. until efec.Parent==nil
  741. end))
  742. Torso.Velocity=(Root.CFrame.lookVector*1)+(Vector3.new(0,1,0)*150)
  743. swait(90)
  744. game:GetService("Debris"):AddItem(sound,22)
  745. sounds(Root,"184080858",1.5,1)
  746. skilldoing3=false
  747. end
  748.  
  749. mouse.Button1Down:connect(function()
  750. if attack==false then
  751. if combo==1 then
  752. combo=2
  753. Rocket_Launcher(1)
  754. elseif combo==2 then
  755. combo=1
  756. Rocket_Launcher(2)
  757. end
  758. end
  759. end)
  760.  
  761. sounds(Root,"174437226",2,1)
  762. mouse.KeyDown:connect(function(k)
  763. k=k:lower()
  764. if k=="z" and skilldoing==false then
  765. Land_Mine()
  766. elseif k=="x" and skilldoing2==false and another==false then
  767. Homing_Missle()
  768. elseif k=="m" and skilldoing3==false then
  769. rocket_jump()
  770. elseif k==" " and hold==false and skilldoing3==false and(Pose=="Jump"or Pose=="Fall")then
  771. hax.Parent=Root
  772. hold=true
  773. Efecc.Enabled=true
  774. end
  775. end)
  776.  
  777. mouse.KeyUp:connect(function(k)
  778. k=k:lower()
  779. if k==" " and hold==true then
  780. hax.Parent=nil
  781. hold=false
  782. Efecc.Enabled=false
  783. end
  784. end)
  785.  
  786. while chr.Humanoid.Health>=0 do
  787. swait()
  788. sin=sin+cha
  789. hum.WalkSpeed=25
  790. hax.Velocity=(Torso.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*5)
  791. if skilldoing3==true then
  792. hax.Parent=nil
  793. end
  794. if chr:findFirstChild("Effect")==nil then
  795. e=Instance.new("Model",chr)
  796. e.Name="Effect"
  797. end
  798. local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
  799. local velderp=Root.Velocity.y
  800. hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
  801. if Root.Velocity.y>1 and hitfloor==nil then
  802. Pose="Jump"
  803. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  804. RJ.C0=clerp(RJ.C0,CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  805. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.49998474, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  806. RS.C0=clerp(RS.C0,CFrame.new(1.70980763, 0.236601114, 0, 0.866025388, -0.500000238, 0, 0.500000238, 0.866025388, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  807. LS.C0=clerp(LS.C0,CFrame.new(-1.70980763, 0.236601114, -0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  808. end
  809. if skilldoing3==false then
  810. RH.C0=clerp(RH.C0,CFrame.new(0.5, -1.99998808, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  811. LH.C0=clerp(LH.C0,CFrame.new(-0.5, -1.99998808, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  812. end
  813. elseif Root.Velocity.y<-1 and hitfloor==nil then
  814. Pose="Fall"
  815. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  816. RJ.C0=clerp(RJ.C0,CFrame.new(-0.034501072, -0, -0.0986937582, 0.707106829, 0, -0.707106829, 0, 1, 0, 0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  817. Neck.C0=clerp(Neck.C0,CFrame.new(0.0941823646, 1.49998474, 0.0453972146, 0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, 0.707106829)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  818. RS.C0=clerp(RS.C0,CFrame.new(1.63909817, 0.114127249, -2.24583914e-07, 0.965925992, -0.258818954, 1.78813934e-07, 0.258818924, 0.965925932, -6.76490401e-07, 0, 7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  819. LS.C0=clerp(LS.C0,CFrame.new(-1.63910222, 0.114126861, 2.24584937e-07, 0.965925992, 0.258818954, 1.78813934e-07, -0.258818924, 0.965925932, 6.76490401e-07, 0, -7.15255737e-07, 1)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  820. end
  821. if skilldoing3==false then
  822. RH.C0=clerp(RH.C0,CFrame.new(0.499996245, -1.99998808, -7.62939544e-06, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  823. LH.C0=clerp(LH.C0,CFrame.new(-0.499994338, -1.19998801, -0.500003874, 1.00000012, 0, 0, 0, 1, 0, 0, 0, 1.00000012)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  824. end
  825. elseif torvel<1 and hitfloor~=nil then
  826. Pose="Idle"
  827. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  828. RJ.C0=clerp(RJ.C0,CFrame.new(0, -0.1, -0, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388)*CFrame.new(0,0-.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  829. Neck.C0=clerp(Neck.C0,CFrame.new(-9.53674771e-07, 1.49998951, -1.65181234e-06, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),.3)
  830. RS.C0=clerp(RS.C0,CFrame.new(1.67320299, 0.10000509, 3.71405895e-06, 0.866025567, -0.5, 8.94069672e-08, 0.49999994, 0.866025507, -2.49183756e-07, 5.96046448e-08, 2.5331974e-07, 1.00000012)*CFrame.new(0-.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0-8*math.cos(sin/18))),.3)
  831. LS.C0=clerp(LS.C0,CFrame.new(-1.67320156, 0.0999999046, 1.0063988e-07, 0.866025567, 0.5, 8.94069672e-08, -0.49999994, 0.866025507, 2.50893436e-07, 5.96046448e-08, -2.5331974e-07, 1.00000012)*CFrame.new(0+.05*math.cos(sin/18),0,0) * CFrame.Angles(0,0,math.rad(0+8*math.cos(sin/18))),.3)
  832. end
  833. if skilldoing3==false then
  834. RH.C0=clerp(RH.C0,CFrame.new(0.500003934, -1.89999309, 0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024)*CFrame.new(0,0+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  835. LH.C0=clerp(LH.C0,CFrame.new(-0.500000119, -1.89999309, -0, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024)*CFrame.new(0,0+.05*math.cos(sin/18),0)*CFrame.Angles(0,0,0),.3)
  836. end
  837. elseif torvel>2 and hitfloor~=nil then
  838. Pose="Walk"
  839. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  840. RJ.C0=clerp(RJ.C0,CFrame.new(0, -0.0669884086-.1*math.cos(sin/3), -0.249999404, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388)*CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(0)+Root.RotVelocity.Y/15,0),.3)
  841. Neck.C0=clerp(Neck.C0,CFrame.new(0, 1.47410548, 0.096591115, 1, 0, 0, 0, 0.965925872, -0.258819342, 0, 0.258819342, 0.965925872)*CFrame.new(0,0,0)*CFrame.Angles(0,0+Head.RotVelocity.Y/25,0),.3)
  842. RS.C0=clerp(RS.C0,CFrame.new(1.50000083, -1.7881257e-07, -7.55374003e-07, 0.866024852, -0.500000954, -3.31524848e-06, 0.500000954, 0.866024971, -2.38418579e-07, 2.98023224e-06, -1.4603138e-06, 1.00000012)*CFrame.new(.2,.1,0+.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0-70*math.cos(sin/6)),0,0),.3)
  843. LS.C0=clerp(LS.C0,CFrame.new(-1.5, 7.74863224e-07, -2.42472197e-07, 0.86602515, 0.500000536, -1.43179045e-06, -0.500000536, 0.866025209, 1.49011612e-06, 1.98185444e-06, -5.66244125e-07, 1.00000012)*CFrame.new(-.2,.1,0-.8*math.cos(sin/6)) * CFrame.Angles(math.rad(0+70*math.cos(sin/6)),0,0),.3)
  844. end
  845. if skilldoing3==false then
  846. RH.C0=clerp(RH.C0,CFrame.new(0.5, -1.99998903, 0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)*CFrame.new(0,0,0-1*math.cos(sin/6)) * CFrame.Angles(math.rad(0+70*math.cos(sin/6)),0,0),.3)
  847. LH.C0=clerp(LH.C0,CFrame.new(-0.5, -1.99998903, -0, 1, 0, 0, 0, 1.00000024, 0, 0, 0, 1.00000024)*CFrame.new(0,0,0+1*math.cos(sin/6)) * CFrame.Angles(math.rad(0-70*math.cos(sin/6)),0,0),.3)
  848. end
  849. end
  850. end
Add Comment
Please, Sign In to add comment