Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --[[Salvo_Starly[Salvy].Weaponry_2018.2]]--
- --[[Project Name: Rocketer from Critical Strike]]--
- --[[ybeqsr]]--
- wait(2)
- plr=game.Players.LocalPlayer
- chr=plr.Character
- Head=chr.Head
- Root=chr.HumanoidRootPart
- Torso=chr.Torso
- RArm=chr["Right Arm"]
- LArm=chr["Left Arm"]
- RLeg=chr["Right Leg"]
- LLeg=chr["Left Leg"]
- RJ=Root.RootJoint
- Neck=Torso.Neck
- LS=Torso["Left Shoulder"]
- LH=Torso["Left Hip"]
- RS=Torso["Right Shoulder"]
- RH=Torso["Right Hip"]
- hum=chr:FindFirstChildOfClass("Humanoid")
- mouse=plr:GetMouse()
- Pose="Idle"
- attack=false
- combo=1
- skilldoing=false
- skilldoing2=false
- skilldoing3=false
- comb=1
- sin=0
- cha=1
- buff=1
- another=false
- hold=false
- create=LoadLibrary("RbxUtility").Create
- local hax=create("BodyVelocity"){
- Parent=nil,
- MaxForce=Vector3.new(0, math.huge, 0),
- Velocity=(Vector3.new(0,1,0)*10)}
- chr.Animate:Remove()
- hum.Animator:Remove()
- function clerp(a,b,t)
- return a:lerp(b,t)
- end
- local newMotor=function(p0,p1,c0,c1)
- local w=Instance.new('Motor',p0)
- w.Part0=p0
- w.Part1=p1
- w.C0=c0
- w.C1=c1
- return w
- end
- RJ.C0,RJ.C1=CFrame.new(0,0,0),CFrame.new(0,0,0)
- Neck.C0,Neck.C1=CFrame.new(0,1.5,0),CFrame.new(0,0,0)
- --[[RS.C0,RS.C1=CFrame.new(1.5,0,0),CFrame.new(0,0,0)
- LS.C0,LS.C1=CFrame.new(-1.5,0,0),CFrame.new(0,0,0)
- RH.C0,RH.C1=CFrame.new(.5,-2,0),CFrame.new(0,0,0)
- LH.C0,LH.C1=CFrame.new(-.5,-2,0),CFrame.new(0,0,0)]]
- local RS=newMotor(Torso, RArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LS=newMotor(Torso, LArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH=newMotor(Torso, RLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH=newMotor(Torso, LLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface=10,10,10,10,10,10
- end
- function rayCast(Position,Direction,Range,Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position,Direction.unit*(Range or 999.999)),Ignore)
- end
- function swait(num)
- if num==0 or num==nil then
- game:service'RunService'.Stepped:wait(0)
- else
- for i=0,num do
- game:service'RunService'.Stepped:wait(0)
- end
- end
- end
- function parts(Par,name,size,color,mat,ref,tra)
- local part=create("Part"){
- Parent=Par,
- Name=name,
- Size=size,
- CanCollide=false,
- Anchored=false,
- BrickColor=BrickColor.new(color),
- Material=mat,
- Reflectance=ref,
- Transparency=tra}
- --Position=Torso.Position}
- NoOutline(part)
- part:BreakJoints()
- return part
- end
- function meshs(Par,name,scale,mtype,id)
- local mesh=create("SpecialMesh"){
- Parent=Par,
- Name=name,
- Scale=scale,
- MeshType=mtype}
- if id~="" then
- mesh.MeshId="rbxassetid://"..id
- end
- return meshs
- end
- function welds(Par,name,p0,p1,c0,c1)
- local weld=create("Weld"){
- Parent=Par,
- Name=name,
- Part0=p0,
- Part1=p1,
- C0=c0,
- C1=c1}
- return weld
- end
- function sounds(Par,id,vol,pit)
- local sound=create("Sound"){
- Parent=Par,
- SoundId="rbxassetid://"..id,
- Volume=vol,
- PlaybackSpeed=pit}
- sound:Play()
- game:GetService("Debris"):AddItem(sound,10)
- return sound
- end
- m=Instance.new("Model",chr)
- m.Name="Suit"
- e=Instance.new("Model",chr)
- e.Name="Effect"
- R3=parts(m,"R3",Vector3.new(2.10000014, 0.199999928, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R3,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(2.00000024, 0.799999595, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1.60000014, 1.99999988, 0.800000012),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(2.39999986, 1.19999969, 0.399999917),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(2.00000024, 0.999999642, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(0.400000006, 3, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2T=parts(m,"R2T",Vector3.new(0.200000003, 1.000000072, 0.200000003),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2T=parts(m,"R2T",Vector3.new(1.20000005, 1.49999976, 1.20000005),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(0.199999928, 0.499999553, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(0.599999905, 0.999999642, 0.199999973),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1, 2.00000167, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1, 0.600000024, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2T=parts(m,"R2T",Vector3.new(1, 0.400000364, 1),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2T,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1, 0.600001633, 1),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1.20000005, 0.400000006, 1.20000005),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R2=parts(m,"R2",Vector3.new(1.10000002, 1.09999967, 1.10000002),"Smoky grey",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R2,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- R21=parts(m,"R21",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,0)
- 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))
- meshs(R21,"Mesh",Vector3.new(1, 1, 1.00999999),Enum.MeshType.Brick,"")
- for _,v in pairs(m:children()) do
- if v:IsA("Part")and v.Name=="R2T"then
- v.BrickColor=Torso.BrickColor
- end
- end
- aaa=NumberSequence.new({NumberSequenceKeypoint.new(0, .5),NumberSequenceKeypoint.new(1, 0)})
- bbb=NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
- local Efect=create("ParticleEmitter"){
- Color=ColorSequence.new(BrickColor.new("Bright orange").Color),
- LightEmission=.45,
- Texture="rbxassetid://50657528",
- Transparency=bbb,
- Size=aaa,
- ZOffset=0,
- Acceleration=Vector3.new(0, 0, 0),
- LockedToPart=false,
- EmissionDirection="Top",
- Lifetime=NumberRange.new(.5,.5),
- Rate=100,
- Rotation=NumberRange.new(-100, 100),
- RotSpeed=NumberRange.new(-50, 50),
- Speed=NumberRange.new(0),
- VelocitySpread=1000,
- Enabled=false,
- Parent=Root
- }
- Efecc=Efect:Clone()
- Efecc.Parent=R3
- Efecc.EmissionDirection="Bottom"
- Efecc.VelocitySpread=0
- Efecc.Speed=NumberRange.new(6)
- Efecc.Color=ColorSequence.new(BrickColor.new("Neon orange").Color)
- local Buff=create("BillboardGui"){
- Size=UDim2.new(5, 0, 15, 0),
- Adornee=Root,
- Parent=Root,
- ExtentsOffset=Vector3.new(0, 3, 0),
- AlwaysOnTop=true
- }
- local BuffLabel=create("TextLabel"){
- AnchorPoint=Vector2.new(.5,.5),
- BackgroundTransparency=1,
- TextStrokeTransparency=1,
- TextTransparency=1,
- TextColor3=Color3.new(0, 1, 1),
- Position=UDim2.new(.5, 0, .5, 0),
- Size=UDim2.new(1.5, 0, .2, 0),
- Text="Damage+",
- Font="SourceSansBold",
- TextScaled=true,
- Parent=Buff,
- }
- function FindNearestTorso(pos)
- local list=(workspace:children())
- local torso=nil
- local dist=100000
- local temp,human,temp2=nil,nil,nil
- for x=1,#list do
- temp2=list[x]
- if temp2.className=="Model"and temp2.Name~=chr.Name then
- temp=temp2:findFirstChild("Head")
- human=temp2:findFirstChildOfClass("Humanoid")
- if temp~=nil and human~=nil and human.Health>=0 and (temp.Position-pos).magnitude<dist then
- local dohit=true
- if dohit==true then
- torso=temp
- dist=(temp.Position-pos).magnitude
- end
- end
- end
- end
- return torso,dist
- end
- function Damage(Type,Part,hit,dmg,delet)
- if hit.Parent==nil then
- return
- end
- local h=hit.Parent:FindFirstChildOfClass("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid")then
- h=v
- end
- end
- if h~=nil and hit.Parent.Name~=chr.Name then
- if hit.Parent:findFirstChild("AHit")==nil then
- h.Health=h.Health-dmg
- if h.Health==math.huge or dmg==math.huge then
- hit.Parent:BreakJoints()
- end
- end
- if Type=="Disappear"then
- effect(e,"Bright orange",Part.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- Part.Parent=nil
- if hit.Parent:findFirstChild("AHit")==nil then
- local c=create("BoolValue"){
- Name="AHit",
- Value=true,
- Parent=hit.Parent}
- game:GetService("Debris"):AddItem(c,0)
- end
- elseif Type=="None"then
- if hit.Parent:findFirstChild("AHit")==nil then
- local c=create("BoolValue"){
- Name="AHit",
- Value=true,
- Parent=hit.Parent}
- game:GetService("Debris"):AddItem(c,0)
- end
- end
- end
- end
- function Mdamage(Type,Part,Magn,Dmg)
- for _,c in pairs(workspace:children()) do
- local hum=c:findFirstChildOfClass("Humanoid")
- if hum~=nil then
- local ddee=c:findFirstChild("Torso")
- if ddee~=nil then
- local targ=ddee.Position-Part.Position
- local mag=targ.magnitude
- if mag<=Magn and c.Name~=plr.Name then
- Damage(Type,Part,ddee,Dmg)
- if hum.Health==math.huge then
- ddee:BreakJoints()
- end
- end
- end
- end
- end
- end
- --v efec
- function effect(par,color,CF,x,y,z,x1,y1,z1,de,mtyp,typ)
- local ex=create("Part"){
- Size=Vector3.new(.2,.2,.2),
- BrickColor=BrickColor.new(color),
- CanCollide=false,
- Material="Neon",
- Anchored=true,
- CFrame=CF,
- Parent=par}
- NoOutline(ex)
- local exe=create("SpecialMesh"){
- Scale=Vector3.new(x,y,z),
- MeshType=mtyp,
- Parent=ex}
- game:GetService("Debris"):AddItem(ex,10)
- coroutine.resume(coroutine.create(function()
- for i=0,1.1,de do
- swait()
- ex.Transparency=i
- exe.Scale=exe.Scale+Vector3.new(x1,y1,z1)
- if typ==1 then
- ex.CFrame=ex.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
- end
- end
- ex:Remove()
- end))
- end
- --v atak
- function Rocket_Launcher()
- attack=true
- for i=0,1,0.14 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if skilldoing==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- sounds(Root,"515942061",1,1)
- local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
- efec.CFrame=Root.CFrame*CFrame.new(1,1,-2)
- local fire=Efect:Clone()
- fire.Parent=efec
- fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
- fire.Enabled=true
- meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- local aa=create("BodyVelocity"){
- Parent=efec,
- MaxForce=Vector3.new(math.huge, math.huge, math.huge),
- Velocity=efec.CFrame.lookVector*70}
- local hon=efec.Touched:connect(function(hitt)
- if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
- Damage("Disappear",efec,hitt,20)
- elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i=1,450 do
- swait()
- if efec.Parent==nil then
- break
- end
- end
- if efec.Parent~=nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end))
- for i=0,1,0.14 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if skilldoing==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- for i=0,1,0.12 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if skilldoing==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- attack=false
- end
- --20
- function Land_Mine()
- if skilldoing==true then
- return
- end
- skilldoing=true
- for i=1,3 do
- for i=0,1,0.3 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- sounds(Root,"515942061",1,1)
- local efec=parts(e,"hit",Vector3.new(2,.2,2),"Crimson",Enum.Material.Neon,0,0)
- local lazytomeshs=create("CylinderMesh"){
- Parent=efec}
- efec.CFrame=R21.CFrame
- efec.BrickColor=Torso.BrickColor
- efec.Velocity=Root.CFrame.lookVector*50
- efec.CanCollide=true
- local hon=efec.Touched:connect(function(hitt)
- if hitt.Parent.Name~=chr.Name then
- Damage("Disappear",efec,hitt,20)
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i=1,650 do
- swait()
- if efec.Parent==nil then
- break
- end
- end
- if efec.Parent~=nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end))
- for i=0,1,0.3 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- end
- for i=0,1,0.12 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing2==true or skilldoing3==true then
- break
- end
- end
- skilldoing=false
- end
- --15
- function Homing_Missle()
- if skilldoing2==true then
- return
- end
- skilldoing2=true
- for i=1,3 do
- for i=0,1,0.16 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing==true or skilldoing3==true then
- break
- end
- end
- sounds(Root,"515942061",1,1)
- local efec=parts(e,"hit",Vector3.new(1,1,3.5),"Really red",Enum.Material.Neon,0,0)
- efec.CFrame=R21.CFrame
- local fire=Efect:Clone()
- fire.Parent=efec
- fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
- fire.Enabled=true
- meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- efec.BrickColor=Torso.BrickColor
- local aa=create("BodyVelocity"){
- Parent=efec,
- MaxForce=Vector3.new(math.huge, math.huge, math.huge),
- Velocity=efec.CFrame.lookVector*60}
- local ab=create("BodyGyro"){
- Parent=efec,
- MaxTorque=Vector3.new(math.huge, math.huge, math.huge)}
- game:GetService("Debris"):AddItem(efec,15)
- local chase=FindNearestTorso(efec.Position)
- if chase~=nil then
- ab.cframe=CFrame.new(efec.Position,chase.Position)
- end
- local hon=efec.Touched:connect(function(hitt)
- if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
- Damage("Disappear",efec,hitt,20)
- elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i=1,60 do
- swait(2)
- if chase~=nil then
- ab.cframe=CFrame.new(efec.Position,chase.Position)
- end
- aa.Velocity=efec.CFrame.lookVector*60
- if efec.Parent==nil then
- break
- end
- end
- for i=1,120 do
- swait(1)
- ab.cframe=efec.CFrame
- if efec.Parent==nil then
- break
- end
- end
- if efec.Parent~=nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end))
- for i=0,1,0.16 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing==true or skilldoing3==true then
- break
- end
- end
- end
- for i=0,1,0.12 do
- swait()
- 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)
- 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)
- 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)
- 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)
- if attack==true or skilldoing==true or skilldoing3==true then
- break
- end
- end
- skilldoing2=false
- end
- --15
- function rocket_jump()
- if skilldoing3==true then
- return
- end
- skilldoing3=true
- local sound=create("Sound"){
- Parent=Root,
- SoundId="rbxassetid://1086152873",
- Volume=1.2,
- PlaybackSpeed=1}
- sound:Play()
- for i=0,1,0.08 do
- swait()
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- end
- hum.Jump=true
- Torso.Velocity=(Root.CFrame.lookVector*160)+(Vector3.new(0,1,0)*190)
- Mdamage("None",Root,12,30)
- effect(e,"Bright orange",Root.CFrame,120,120,120,0,0,0,.07,"Sphere",2)
- sounds(Root,"698417145",1,1.1)
- swait(10)
- sounds(Root,"130823281",2,1)
- swait(50)
- local num2=0
- local R22=parts(m,"R22",Vector3.new(0.800000012, 0.800000012, 0.400000006),"Really black",Enum.Material.SmoothPlastic,0,1)
- 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))
- for i=0,1,.002 do
- swait(1)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
- num2=num2+21
- sounds(R21,"515942061",1,1)
- local efec=parts(e,"hit",Vector3.new(1,1,3.5),"White",Enum.Material.Neon,0,0)
- efec.CFrame=R22.CFrame*CFrame.Angles(math.rad(num2*math.random(-10,10)),math.rad(math.random(65,90)),0)
- local fire=Efect:Clone()
- fire.Parent=efec
- fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
- fire.Enabled=true
- meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- local aa=create("BodyVelocity"){
- Parent=efec,
- MaxForce=Vector3.new(math.huge, math.huge, math.huge),
- Velocity=efec.CFrame.lookVector*70}
- local hon=efec.Touched:connect(function(hitt)
- if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")~=nil then
- Damage("Disappear",efec,hitt,20)
- elseif hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end)
- coroutine.resume(coroutine.create(function()
- for i=1,450 do
- swait()
- if efec.Parent==nil then
- break
- end
- end
- if efec.Parent~=nil then
- effect(e,"Bright orange",efec.CFrame,20,20,20,0,0,0,.07,"Sphere",2)
- swait()
- efec:Remove()
- end
- end))
- end
- swait(20)
- R22:Remove()
- sounds(Root,"1255656289",1.5,1)
- for i=0,1,.0025 do
- swait()
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- Torso.Velocity=(Root.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*4)
- end
- sounds(Root,"152624155",2,1)
- sounds(Root,"148814641",1.3,1)
- local efec=parts(e,"hit",Vector3.new(3,3,10.5),"White",Enum.Material.Neon,0,0)
- efec.CFrame=R21.CFrame*CFrame.new(0,0,-10)
- local fire=Efect:Clone()
- fire.Parent=efec
- fire.Color=ColorSequence.new(BrickColor.new("Bright orange").Color)
- fire.Enabled=true
- meshs(efec,"Mesh",Vector3.new(1, 1, 1),Enum.MeshType.Brick,"")
- local aa=create("BodyVelocity"){
- Parent=efec,
- MaxForce=Vector3.new(math.huge, math.huge, math.huge),
- Velocity=efec.CFrame.lookVector*70}
- local hon=efec.Touched:connect(function(hitt)
- if hitt.Parent.Name~=chr.Name and hitt.Parent:findFirstChildOfClass("Humanoid")==nil and hitt.Parent.Parent:findFirstChildOfClass("Humanoid")==nil then
- local aaa=parts(e,"gg",Vector3.new(.2,.2,.2),"White",Enum.Material.Neon,0,1)
- aaa.CFrame=efec.CFrame
- Mdamage("Disappear",efec,80,math.huge)
- game:GetService("Debris"):AddItem(aaa,1)
- local Efec=parts(m,"Area",Vector3.new(0.199999928, 0.199999988, 0.199999988),"Royal purple",Enum.Material.Neon,0,0)
- meshs(Efec,"Mesh",Vector3.new(800, 800, 800),Enum.MeshType.Sphere,"")
- Efec.CFrame=aaa.CFrame
- Efec.Anchored=true
- sounds(Efec,"131101306",3,1)
- sounds(Efec,"197161452",1,1)
- coroutine.resume(coroutine.create(function()
- for i=0,1.01,.002 do
- swait()
- Efec.Transparency=i
- Efec.Color=Color3.new(math.random(), math.random(), math.random())
- end
- Efec.Transparency=1
- game:GetService("Debris"):AddItem(Efec,1)
- end))
- end
- end)
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- fire.Color=ColorSequence.new(Color3.new(math.random(), math.random(), math.random()))
- efec.Color=Color3.new(math.random(), math.random(), math.random())
- until efec.Parent==nil
- end))
- Torso.Velocity=(Root.CFrame.lookVector*1)+(Vector3.new(0,1,0)*150)
- swait(90)
- game:GetService("Debris"):AddItem(sound,22)
- sounds(Root,"184080858",1.5,1)
- skilldoing3=false
- end
- mouse.Button1Down:connect(function()
- if attack==false then
- if combo==1 then
- combo=2
- Rocket_Launcher(1)
- elseif combo==2 then
- combo=1
- Rocket_Launcher(2)
- end
- end
- end)
- sounds(Root,"174437226",2,1)
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if k=="z" and skilldoing==false then
- Land_Mine()
- elseif k=="x" and skilldoing2==false and another==false then
- Homing_Missle()
- elseif k=="m" and skilldoing3==false then
- rocket_jump()
- elseif k==" " and hold==false and skilldoing3==false and(Pose=="Jump"or Pose=="Fall")then
- hax.Parent=Root
- hold=true
- Efecc.Enabled=true
- end
- end)
- mouse.KeyUp:connect(function(k)
- k=k:lower()
- if k==" " and hold==true then
- hax.Parent=nil
- hold=false
- Efecc.Enabled=false
- end
- end)
- while chr.Humanoid.Health>=0 do
- swait()
- sin=sin+cha
- hum.WalkSpeed=25
- hax.Velocity=(Torso.CFrame.lookVector*hum.WalkSpeed)+(Vector3.new(0,1,0)*5)
- if skilldoing3==true then
- hax.Parent=nil
- end
- if chr:findFirstChild("Effect")==nil then
- e=Instance.new("Model",chr)
- e.Name="Effect"
- end
- local torvel=(Root.Velocity*Vector3.new(1,0,1)).magnitude
- local velderp=Root.Velocity.y
- hitfloor,posfloor=rayCast(Root.Position,(CFrame.new(Root.Position,Root.Position-Vector3.new(0,1,0))).lookVector,4,chr)
- if Root.Velocity.y>1 and hitfloor==nil then
- Pose="Jump"
- if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
- 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)
- 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)
- 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)
- 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)
- end
- if skilldoing3==false then
- 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)
- 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)
- end
- elseif Root.Velocity.y<-1 and hitfloor==nil then
- Pose="Fall"
- if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
- 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)
- 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)
- 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)
- 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)
- end
- if skilldoing3==false then
- 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)
- 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)
- end
- elseif torvel<1 and hitfloor~=nil then
- Pose="Idle"
- if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
- 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)
- 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)
- 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)
- 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)
- end
- if skilldoing3==false then
- 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)
- 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)
- end
- elseif torvel>2 and hitfloor~=nil then
- Pose="Walk"
- if attack==false and skilldoing==false and skilldoing2==false and skilldoing3==false then
- 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)
- 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)
- 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)
- 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)
- end
- if skilldoing3==false then
- 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)
- 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)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement