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