Guest User

Untitled

a guest
Jul 26th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.66 KB | None | 0 0
  1. --[[Salvo_Starly[Salvy].Weaponry_2018.2]]--
  2. --[[Project Name: Rocketer from Critical Strike]]--
  3. --[[ybeqsr]]--
  4.  
  5. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  6. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  7. do
  8. print("FE Compatibility code by Mokiros")
  9. script.Parent = Player.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent and t.Function then
  35. t.Function(...)
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=Player then return end
  43. if io.isMouse then
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. else
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local Mouse = Player:GetMouse()
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  86. end
  87.  
  88. wait(2)
  89. plr=owner
  90. chr=plr.Character
  91. Head=chr.Head
  92. Root=chr.HumanoidRootPart
  93. Torso=chr.Torso
  94. RArm=chr["Right Arm"]
  95. LArm=chr["Left Arm"]
  96. RLeg=chr["Right Leg"]
  97. LLeg=chr["Left Leg"]
  98. RJ=Root.RootJoint
  99. Neck=Torso.Neck
  100. LS=Torso["Left Shoulder"]
  101. LH=Torso["Left Hip"]
  102. RS=Torso["Right Shoulder"]
  103. RH=Torso["Right Hip"]
  104. hum=chr:FindFirstChildOfClass("Humanoid")
  105. Pose="Idle"
  106. attack=false
  107. combo=1
  108. skilldoing=false
  109. skilldoing2=false
  110. skilldoing3=false
  111. comb=1
  112. sin=0
  113. cha=1
  114. buff=1
  115. another=false
  116. hold=false
  117. create=LoadLibrary("RbxUtility").Create
  118.  
  119. local hax=create("BodyVelocity"){
  120. Parent=nil,
  121. MaxForce=Vector3.new(0, math.huge, 0),
  122. Velocity=(Vector3.new(0,1,0)*10)}
  123.  
  124.  
  125. chr.Animate:Remove()
  126. hum.Animator:Remove()
  127.  
  128. function clerp(a,b,t)
  129. return a:lerp(b,t)
  130. end
  131.  
  132. local newMotor=function(p0,p1,c0,c1)
  133. local w=Instance.new('Motor',p0)
  134. w.Part0=p0
  135. w.Part1=p1
  136. w.C0=c0
  137. w.C1=c1
  138. return w
  139. end
  140.  
  141. RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
  142. Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
  143. --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
  144. LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
  145. RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
  146. LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
  147. local RS=newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  148. local LS=newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  149. local RH=newMotor(Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  150. local LH=newMotor(Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  151.  
  152. function NoOutline(Part)
  153. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
  154. end
  155.  
  156. function rayCast(Position,Direction,Range,Ignore)
  157. return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
  158. end
  159.  
  160. function swait(num)
  161. if num==0 or num==nil then
  162. game:service'RunService'.Stepped:wait(0)
  163. else
  164. for i=0,num do
  165. game:service'RunService'.Stepped:wait(0)
  166. end
  167. end
  168. end
  169.  
  170. function parts(Par,name,size,color,mat,ref,tra)
  171. local part=create("Part"){
  172. Parent=Par,
  173. Name=name,
  174. Size=size,
  175. CanCollide=false,
  176. Anchored=false,
  177. BrickColor=BrickColor.new(color),
  178. Material=mat,
  179. Reflectance=ref,
  180. Transparency=tra}
  181. --Position=Torso.Position}
  182. NoOutline(part)
  183. part:BreakJoints()
  184. return part
  185. end
  186.  
  187. function meshs(Par,name,scale,mtype,id)
  188. local mesh=create("SpecialMesh"){
  189. Parent=Par,
  190. Name=name,
  191. Scale=scale,
  192. MeshType=mtype}
  193. if id~="" then
  194. mesh.MeshId="rbxassetid://"..id
  195. end
  196. return meshs
  197. end
  198.  
  199. function welds(Par,name,p0,p1,c0,c1)
  200. local weld=create("Weld"){
  201. Parent=Par,
  202. Name=name,
  203. Part0=p0,
  204. Part1=p1,
  205. C0=c0,
  206. C1=c1}
  207. return weld
  208. end
  209.  
  210. function sounds(Par,id,vol,pit)
  211. local sound=create("Sound"){
  212. Parent=Par,
  213. SoundId="rbxassetid://"..id,
  214. Volume=vol,
  215. PlaybackSpeed=pit}
  216. sound:Play()
  217. game:GetService("Debris"):AddItem(sound,10)
  218. return sound
  219. end
  220. m=Instance.new("Model",chr)
  221. m.Name="Suit"
  222. e=Instance.new("Model",chr)
  223. e.Name="Effect"
  224.  
  225. R3=parts(m,"R3",Vector3.new(2.10000014, 0.199999928, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  226. 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))
  227. meshs(R3,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  228. R2=parts(m,"R2",Vector3.new(2.00000024, 0.799999595, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  229. 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))
  230. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  231. R2=parts(m,"R2",Vector3.new(1.60000014, 1.99999988, 0.800000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  232. 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))
  233. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  234. R2=parts(m,"R2",Vector3.new(2.39999986, 1.19999969, 0.399999917),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  235. 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))
  236. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  237. R2=parts(m,"R2",Vector3.new(2.00000024, 0.999999642, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  238. 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))
  239. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  240. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  241. 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))
  242. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  243. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  244. 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))
  245. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  246. R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  247. 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))
  248. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  249. R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
  250. 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))
  251. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  252. R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
  253. 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))
  254. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  255. R2T=parts(m,"R2T",Vector3.new(1.20000005, 1.49999976, 1.20000005),"Really black",Enum.Material.SmoothPlastic,0,0)
  256. 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))
  257. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  258. R2=parts(m,"R2",Vector3.new(0.199999928, 0.499999553, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  259. 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))
  260. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  261. R2=parts(m,"R2",Vector3.new(0.599999905, 0.999999642, 0.199999973),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  262. 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))
  263. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  264. R2=parts(m,"R2",Vector3.new(1, 2.00000167, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  265. 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))
  266. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  267. R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  268. 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))
  269. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  270. R2=parts(m,"R2",Vector3.new(1, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  271. 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))
  272. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  273. R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
  274. 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))
  275. meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  276. R2=parts(m,"R2",Vector3.new(1, 0.600001633, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  277. 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))
  278. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  279. R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  280. 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))
  281. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  282. R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  283. 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))
  284. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  285. R2=parts(m,"R2",Vector3.new(1.10000002, 1.09999967, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
  286. 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))
  287. meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  288. R21=parts(m,"R21",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
  289. 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))
  290. meshs(R21,"Mesh",Vector3.new(1, 1, 1.00999999),Enum.MeshType.Brick,"")
  291.  
  292. for _,v in pairs(m:children()) do
  293. if v:IsA("Part")and v.Name=="R2T"then
  294. v.BrickColor=Torso.BrickColor
  295. end
  296. end
  297.  
  298. aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(1, 0)})
  299. bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  300. local Efect=create("ParticleEmitter"){
  301. Color=ColorSequence.new(BrickColor.new("Bright orange").Color),
  302. LightEmission=.45,
  303. Texture="rbxassetid://50657528",
  304. Transparency=bbb,
  305. Size=aaa,
  306. ZOffset=0,
  307. Acceleration=Vector3.new(0, 0, 0),
  308. LockedToPart=false,
  309. EmissionDirection="Top",
  310. Lifetime=NumberRange.new(.5,.5),
  311. Rate=100,
  312. Rotation=NumberRange.new(-100, 100),
  313. RotSpeed=NumberRange.new(-50, 50),
  314. Speed=NumberRange.new(0),
  315. VelocitySpread=1000,
  316. Enabled=false,
  317. Parent=Root
  318. }
  319.  
  320. Efecc=Efect:Clone()
  321. Efecc.Parent=R3
  322. Efecc.EmissionDirection="Bottom"
  323. Efecc.VelocitySpread=0
  324. Efecc.Speed=NumberRange.new(6)
  325. Efecc.Color=ColorSequence.new(BrickColor.new("Neon orange").Color)
  326.  
  327. local Buff=create("BillboardGui"){
  328. Size=UDim2.new(5, 0, 15, 0),
  329. Adornee=Root,
  330. Parent=Root,
  331. ExtentsOffset=Vector3.new(0, 3, 0),
  332. AlwaysOnTop=true
  333. }
  334. local BuffLabel=create("TextLabel"){
  335. AnchorPoint=Vector2.new(.5,.5),
  336. BackgroundTransparency=1,
  337. TextStrokeTransparency=1,
  338. TextTransparency=1,
  339. TextColor3=Color3.new(0, 1, 1),
  340. Position=UDim2.new(.5, 0, .5, 0),
  341. Size=UDim2.new(1.5, 0, .2, 0),
  342. Text="Damage+",
  343. Font="SourceSansBold",
  344. TextScaled=true,
  345. Parent=Buff,
  346. }
  347.  
  348. function FindNearestTorso(pos)
  349. local list=(workspace:children())
  350. local torso=nil
  351. local dist=100000
  352. local temp,human,temp2=nil,nil,nil
  353. for x=1,#list do
  354. temp2=list[x]
  355. if temp2.className=="Model"and temp2.Name~=chr.Name then
  356. temp=temp2:findFirstChild("Head")
  357. human=temp2:findFirstChildOfClass("Humanoid")
  358. if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then
  359. local dohit=true
  360. if dohit==true then
  361. torso=temp
  362. dist=(temp.Position-pos).magnitude
  363. end
  364. end
  365. end
  366. end
  367. return torso,dist
  368. end
  369.  
  370. function Damage(Type,Part,hit,dmg,delet)
  371. if hit.Parent==nil then
  372. return
  373. end
  374. local h=hit.Parent:FindFirstChildOfClass("Humanoid")
  375. for _,v in pairs(hit.Parent:children()) do
  376. if v:IsA("Humanoid")then
  377. h=v
  378. end
  379. end
  380. if h~=nil and hit.Parent.Name~=chr.Name then
  381. if hit.Parent:findFirstChild("AHit")==nil then
  382. h.Health=h.Health-dmg
  383. if h.Health==math.huge or dmg==math.huge then
  384. hit.Parent:BreakJoints()
  385. end
  386. end
  387. if Type=="Disappear"then
  388. effect(e,"Bright orange",Part.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  389. Part.Parent=nil
  390. if hit.Parent:findFirstChild("AHit")==nil then
  391. local c=create("BoolValue"){
  392. Name="AHit",
  393. Value=true,
  394. Parent=hit.Parent}
  395. game:GetService("Debris"):AddItem(c,0)
  396. end
  397. elseif Type=="None"then
  398. if hit.Parent:findFirstChild("AHit")==nil then
  399. local c=create("BoolValue"){
  400. Name="AHit",
  401. Value=true,
  402. Parent=hit.Parent}
  403. game:GetService("Debris"):AddItem(c,0)
  404. end
  405. end
  406. end
  407. end
  408.  
  409. function Mdamage(Type,Part,Magn,Dmg)
  410. for _,c in pairs(workspace:children()) do
  411. local hum=c:findFirstChildOfClass("Humanoid")
  412. if hum~=nil then
  413. local ddee=c:findFirstChild("Torso")
  414. if ddee~=nil then
  415. local targ=ddee.Position-Part.Position
  416. local mag=targ.magnitude
  417. if mag<=Magn and c.Name~=plr.Name then
  418. Damage(Type,Part,ddee,Dmg)
  419. if hum.Health==math.huge then
  420. ddee:BreakJoints()
  421. end
  422. end
  423. end
  424. end
  425. end
  426. end
  427.  
  428. --v efec
  429. function effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ)
  430. local ex=create("Part"){
  431. Size=Vector3.new(.2,.2,.2),
  432. BrickColor=BrickColor.new(color),
  433. CanCollide=false,
  434. Material="Neon",
  435. Anchored=true,
  436. CFrame=CF,
  437. Parent=par}
  438. NoOutline(ex)
  439. local exe=create("SpecialMesh"){
  440. Scale=Vector3.new(x,y,z),
  441. MeshType=mtyp,
  442. Parent=ex}
  443. game:GetService("Debris"):AddItem(ex,10)
  444. coroutine.resume(coroutine.create(function()
  445. for i=0,1.1,de do
  446. swait()
  447. ex.Transparency=i
  448. exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
  449. if typ==1 then
  450. ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  451. end
  452. end
  453. ex:Remove()
  454. end))
  455. end
  456. --v atak
  457. function Rocket_Launcher()
  458. attack=true
  459. for i=0,1,0.14 do
  460. swait()
  461. 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)
  462. 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)
  463. 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)
  464. 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)
  465. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  466. break
  467. end
  468. end
  469. sounds(Root,"515942061",1,1)
  470. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
  471. efec.CFrame=Root.CFrame*CFrame.new(1,1,-2)
  472. local fire=Efect:Clone()
  473. fire.Parent=efec
  474. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  475. fire.Enabled=true
  476. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  477. local aa=create("BodyVelocity"){
  478. Parent=efec,
  479. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  480. Velocity=efec.CFrame.lookVector*70}
  481. local hon=efec.Touched:connect(function(hitt)
  482. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  483. Damage("Disappear",efec,hitt,20)
  484. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==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. coroutine.resume(coroutine.create(function()
  491. for i=1,450 do
  492. swait()
  493. if efec.Parent==nil then
  494. break
  495. end
  496. end
  497. if efec.Parent~=nil then
  498. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  499. swait()
  500. efec:Remove()
  501. end
  502. end))
  503. for i=0,1,0.14 do
  504. swait()
  505. 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)
  506. 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)
  507. 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)
  508. 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)
  509. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  510. break
  511. end
  512. end
  513. for i=0,1,0.12 do
  514. swait()
  515. 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)
  516. 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)
  517. 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)
  518. 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)
  519. if skilldoing==true or skilldoing2==true or skilldoing3==true then
  520. break
  521. end
  522. end
  523. attack=false
  524. end
  525. --20
  526. function Land_Mine()
  527. if skilldoing==true then
  528. return
  529. end
  530. skilldoing=true
  531. for i=1,3 do
  532. for i=0,1,0.3 do
  533. swait()
  534. 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)
  535. 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)
  536. 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)
  537. 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)
  538. if attack==true or skilldoing2==true or skilldoing3==true then
  539. break
  540. end
  541. end
  542. sounds(Root,"515942061",1,1)
  543. local efec=parts(e,"hit",Vector3.new(2,.2,2),"Crimson",Enum.Material.Neon,0,0)
  544. local lazytomeshs=create("CylinderMesh"){
  545. Parent=efec}
  546. efec.CFrame=R21.CFrame
  547. efec.BrickColor=Torso.BrickColor
  548. efec.Velocity=Root.CFrame.lookVector*50
  549. efec.CanCollide=true
  550. local hon=efec.Touched:connect(function(hitt)
  551. if hitt.Parent.Name~=chr.Name then
  552. Damage("Disappear",efec,hitt,20)
  553. end
  554. end)
  555. coroutine.resume(coroutine.create(function()
  556. for i=1,650 do
  557. swait()
  558. if efec.Parent==nil then
  559. break
  560. end
  561. end
  562. if efec.Parent~=nil then
  563. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  564. swait()
  565. efec:Remove()
  566. end
  567. end))
  568.  
  569. for i=0,1,0.3 do
  570. swait()
  571. 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)
  572. 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)
  573. 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)
  574. 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)
  575. if attack==true or skilldoing2==true or skilldoing3==true then
  576. break
  577. end
  578. end
  579. end
  580. for i=0,1,0.12 do
  581. swait()
  582. 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)
  583. 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)
  584. 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)
  585. 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)
  586. if attack==true or skilldoing2==true or skilldoing3==true then
  587. break
  588. end
  589. end
  590.  
  591. skilldoing=false
  592. end
  593. --15
  594. function Homing_Missle()
  595. if skilldoing2==true then
  596. return
  597. end
  598. skilldoing2=true
  599. for i=1,3 do
  600. for i=0,1,0.16 do
  601. swait()
  602. 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)
  603. 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)
  604. 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)
  605. 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)
  606. if attack==true or skilldoing==true or skilldoing3==true then
  607. break
  608. end
  609. end
  610. sounds(Root,"515942061",1,1)
  611. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"Really red",Enum.Material.Neon,0,0)
  612. efec.CFrame=R21.CFrame
  613. local fire=Efect:Clone()
  614. fire.Parent=efec
  615. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  616. fire.Enabled=true
  617. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  618. efec.BrickColor=Torso.BrickColor
  619. local aa=create("BodyVelocity"){
  620. Parent=efec,
  621. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  622. Velocity=efec.CFrame.lookVector*60}
  623. local ab=create("BodyGyro"){
  624. Parent=efec,
  625. MaxTorque=Vector3.new(math.huge, math.huge, math.huge)}
  626. game:GetService("Debris"):AddItem(efec,15)
  627. local chase=FindNearestTorso(efec.Position)
  628. if chase~=nil then
  629. ab.cframe=CFrame.new(efec.Position,chase.Position)
  630. end
  631. local hon=efec.Touched:connect(function(hitt)
  632. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  633. Damage("Disappear",efec,hitt,20)
  634. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  635. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  636. swait()
  637. efec:Remove()
  638. end
  639. end)
  640. coroutine.resume(coroutine.create(function()
  641. for i=1,60 do
  642. swait(2)
  643. if chase~=nil then
  644. ab.cframe=CFrame.new(efec.Position,chase.Position)
  645. end
  646. aa.Velocity=efec.CFrame.lookVector*60
  647. if efec.Parent==nil then
  648. break
  649. end
  650. end
  651. for i=1,120 do
  652. swait(1)
  653. ab.cframe=efec.CFrame
  654. if efec.Parent==nil then
  655. break
  656. end
  657. end
  658. if efec.Parent~=nil then
  659. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  660. swait()
  661. efec:Remove()
  662. end
  663. end))
  664. for i=0,1,0.16 do
  665. swait()
  666. 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)
  667. 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)
  668. 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)
  669. 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)
  670. if attack==true or skilldoing==true or skilldoing3==true then
  671. break
  672. end
  673. end
  674. end
  675. for i=0,1,0.12 do
  676. swait()
  677. 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)
  678. 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)
  679. 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)
  680. 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)
  681. if attack==true or skilldoing==true or skilldoing3==true then
  682. break
  683. end
  684. end
  685. skilldoing2=false
  686. end
  687. --15
  688. function rocket_jump()
  689. if skilldoing3==true then
  690. return
  691. end
  692. skilldoing3=true
  693. local sound=create("Sound"){
  694. Parent=Root,
  695. SoundId="rbxassetid://1086152873",
  696. Volume=1.2,
  697. PlaybackSpeed=1}
  698. sound:Play()
  699. for i=0,1,0.08 do
  700. swait()
  701. 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)
  702. 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)
  703. 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)
  704. 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)
  705. 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)
  706. 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)
  707. end
  708. hum.Jump=true
  709. Torso.Velocity=(Root.CFrame.lookVector*160)+(Vector3.new(0,1,0)*190)
  710. Mdamage("None",Root,12,30)
  711. effect(e,"Bright orange",Root.CFrame,120,120,120,0,0,0,.07,"Sphere",2)
  712. sounds(Root,"698417145",1,1.1)
  713. swait(10)
  714. sounds(Root,"130823281",2,1)
  715. swait(50)
  716. local num2=0
  717. local R22=parts(m,"R22",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,1)
  718. 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))
  719. for i=0,1,.002 do
  720. swait(1)
  721. 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)
  722. 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)
  723. 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)
  724. 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)
  725. 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)
  726. 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)
  727. Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
  728. num2=num2+21
  729. sounds(R21,"515942061",1,1)
  730. local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
  731. efec.CFrame=R22.CFrame*CFrame.Angles(math.rad(num2*math.random(-10,10)),math.rad(math.random(65,90)),0)
  732. local fire=Efect:Clone()
  733. fire.Parent=efec
  734. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  735. fire.Enabled=true
  736. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  737. local aa=create("BodyVelocity"){
  738. Parent=efec,
  739. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  740. Velocity=efec.CFrame.lookVector*70}
  741. local hon=efec.Touched:connect(function(hitt)
  742. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
  743. Damage("Disappear",efec,hitt,20)
  744. elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  745. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  746. swait()
  747. efec:Remove()
  748. end
  749. end)
  750. coroutine.resume(coroutine.create(function()
  751. for i=1,450 do
  752. swait()
  753. if efec.Parent==nil then
  754. break
  755. end
  756. end
  757. if efec.Parent~=nil then
  758. effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
  759. swait()
  760. efec:Remove()
  761. end
  762. end))
  763. end
  764. swait(20)
  765. R22:Remove()
  766. sounds(Root,"1255656289",1.5,1)
  767. for i=0,1,.0025 do
  768. swait()
  769. 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)
  770. 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)
  771. 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)
  772. 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)
  773. 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)
  774. 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)
  775. Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
  776. end
  777. sounds(Root,"152624155",2,1)
  778. sounds(Root,"148814641",1.3,1)
  779. local efec=parts(e,"hit",Vector3.new(3,3,10.5),"White",Enum.Material.Neon,0,0)
  780. efec.CFrame=R21.CFrame*CFrame.new(0,0,-10)
  781. local fire=Efect:Clone()
  782. fire.Parent=efec
  783. fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
  784. fire.Enabled=true
  785. meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
  786. local aa=create("BodyVelocity"){
  787. Parent=efec,
  788. MaxForce=Vector3.new(math.huge, math.huge, math.huge),
  789. Velocity=efec.CFrame.lookVector*70}
  790. local hon=efec.Touched:connect(function(hitt)
  791. if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
  792. local aaa=parts(e,"gg",Vector3.new(.2,.2,.2),"White",Enum.Material.Neon,0,1)
  793. aaa.CFrame=efec.CFrame
  794. Mdamage("Disappear",efec,80,math.huge)
  795. game:GetService("Debris"):AddItem(aaa,1)
  796. local Efec=parts(m,"Area",Vector3.new(0.199999928, 0.199999988, 0.199999988),"Royal purple",Enum.Material.Neon,0,0)
  797. meshs(Efec,"Mesh",Vector3.new(800, 800, 800),Enum.MeshType.Sphere,"")
  798. Efec.CFrame=aaa.CFrame
  799. Efec.Anchored=true
  800. sounds(Efec,"131101306",3,1)
  801. sounds(Efec,"197161452",1,1)
  802. coroutine.resume(coroutine.create(function()
  803. for i=0,1.01,.002 do
  804. swait()
  805. Efec.Transparency=i
  806. Efec.Color=Color3.new(math.random(), math.random(), math.random())
  807. end
  808. Efec.Transparency=1
  809. game:GetService("Debris"):AddItem(Efec,1)
  810. end))
  811. end
  812. end)
  813. coroutine.resume(coroutine.create(function()
  814. repeat
  815. swait()
  816. fire.Color=ColorSequence.new(Color3.new(math.random(), math.random(), math.random()))
  817. efec.Color=Color3.new(math.random(), math.random(), math.random())
  818. until efec.Parent==nil
  819. end))
  820. Torso.Velocity=(Root.CFrame.lookVector*1)+(Vector3.new(0,1,0)*150)
  821. swait(90)
  822. game:GetService("Debris"):AddItem(sound,22)
  823. sounds(Root,"184080858",1.5,1)
  824. skilldoing3=false
  825. end
  826.  
  827. mouse.Button1Down:connect(function()
  828. if attack==false then
  829. if combo==1 then
  830. combo=2
  831. Rocket_Launcher(1)
  832. elseif combo==2 then
  833. combo=1
  834. Rocket_Launcher(2)
  835. end
  836. end
  837. end)
  838.  
  839. sounds(Root,"174437226",2,1)
  840. mouse.KeyDown:connect(function(k)
  841. k=k:lower()
  842. if k=="z" and skilldoing==false then
  843. Land_Mine()
  844. elseif k=="x" and skilldoing2==false and another==false then
  845. Homing_Missle()
  846. elseif k=="m" and skilldoing3==false then
  847. rocket_jump()
  848. elseif k==" " and hold==false and skilldoing3==false and(Pose=="Jump"or Pose=="Fall")then
  849. hax.Parent=Root
  850. hold=true
  851. Efecc.Enabled=true
  852. end
  853. end)
  854.  
  855. mouse.KeyUp:connect(function(k)
  856. k=k:lower()
  857. if k==" " and hold==true then
  858. hax.Parent=nil
  859. hold=false
  860. Efecc.Enabled=false
  861. end
  862. end)
  863.  
  864. while chr.Humanoid.Health>=0 do
  865. swait()
  866. sin=sin+cha
  867. hum.WalkSpeed=25
  868. hax.Velocity=(Torso.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*5)
  869. if skilldoing3==true then
  870. hax.Parent=nil
  871. end
  872. if chr:findFirstChild("Effect")==nil then
  873. e=Instance.new("Model",chr)
  874. e.Name="Effect"
  875. end
  876. local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
  877. local velderp=Root.Velocity.y
  878. hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
  879. if Root.Velocity.y>1 and hitfloor==nil then
  880. Pose="Jump"
  881. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  882. 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)
  883. 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)
  884. 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)
  885. 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)
  886. end
  887. if skilldoing3==false then
  888. 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)
  889. 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)
  890. end
  891. elseif Root.Velocity.y<-1 and hitfloor==nil then
  892. Pose="Fall"
  893. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  894. 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)
  895. 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)
  896. 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)
  897. 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)
  898. end
  899. if skilldoing3==false then
  900. 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)
  901. 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)
  902. end
  903. elseif torvel<1 and hitfloor~=nil then
  904. Pose="Idle"
  905. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  906. 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)
  907. 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)
  908. 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)
  909. 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)
  910. end
  911. if skilldoing3==false then
  912. 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)
  913. 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)
  914. end
  915. elseif torvel>2 and hitfloor~=nil then
  916. Pose="Walk"
  917. if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
  918. 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)
  919. 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)
  920. 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)
  921. 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)
  922. end
  923. if skilldoing3==false then
  924. 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)
  925. 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)
  926. end
  927. end
  928. end
Advertisement
Add Comment
Please, Sign In to add comment