Advertisement
samuelrichter66

rocket launcher

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