Advertisement
yuiucytf

yes

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