SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
2 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
3 | do | |
4 | print("FE Compatibility code by Mokiros") | |
5 | script.Parent = Player.Character | |
6 | ||
7 | --RemoteEvent for communicating | |
8 | local Event = Instance.new("RemoteEvent") | |
9 | Event.Name = "UserInput_Event" | |
10 | ||
11 | --Fake event to make stuff like Mouse.KeyDown work | |
12 | local function fakeEvent() | |
13 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end} | |
14 | t.connect = t.Connect | |
15 | return t | |
16 | end | |
17 | ||
18 | --Creating fake input objects with fake variables | |
19 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
20 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
21 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
22 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
23 | end} | |
24 | --Merged 2 functions into one by checking amount of arguments | |
25 | CAS.UnbindAction = CAS.BindAction | |
26 | ||
27 | --This function will trigger the events that have been :Connect()'ed | |
28 | local function te(self,ev,...) | |
29 | local t = m[ev] | |
30 | if t and t._fakeEvent and t.Function then | |
31 | t.Function(...) | |
32 | end | |
33 | end | |
34 | m.TrigEvent = te | |
35 | UIS.TrigEvent = te | |
36 | ||
37 | Event.OnServerEvent:Connect(function(plr,io) | |
38 | if plr~=Player then return end | |
39 | if io.isMouse then | |
40 | m.Target = io.Target | |
41 | m.Hit = io.Hit | |
42 | else | |
43 | local b = io.UserInputState == Enum.UserInputState.Begin | |
44 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
45 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
46 | end | |
47 | for _,t in pairs(CAS.Actions) do | |
48 | for _,k in pairs(t.Keys) do | |
49 | if k==io.KeyCode then | |
50 | t.Function(t.Name,io.UserInputState,io) | |
51 | end | |
52 | end | |
53 | end | |
54 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
55 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
56 | end | |
57 | end) | |
58 | Event.Parent = NLS([==[ | |
59 | local Player = game:GetService("Players").LocalPlayer | |
60 | local Event = script:WaitForChild("UserInput_Event") | |
61 | ||
62 | local UIS = game:GetService("UserInputService") | |
63 | local input = function(io,a) | |
64 | if a then return end | |
65 | --Since InputObject is a client-side instance, we create and pass table instead | |
66 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}) | |
67 | end | |
68 | UIS.InputBegan:Connect(input) | |
69 | UIS.InputEnded:Connect(input) | |
70 | ||
71 | local Mouse = Player:GetMouse() | |
72 | local h,t | |
73 | --Give the server mouse data 30 times every second, but only if the values changed | |
74 | --If player is not moving their mouse, client won't fire events | |
75 | while wait(1/30) do | |
76 | if h~=Mouse.Hit or t~=Mouse.Target then | |
77 | h,t=Mouse.Hit,Mouse.Target | |
78 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
79 | - | Player = game.Players.LocalPlayer |
79 | + | end |
80 | end]==],Player.Character) | |
81 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
82 | end | |
83 | ||
84 | wait(0.1) | |
85 | ModelName = "Sasuke" | |
86 | SkinColor = BrickColor.new("Pastel brown") | |
87 | HairColor =BrickColor.new("Black") | |
88 | ShirtColor = BrickColor.new("Medium stone grey") | |
89 | SymbolColor = BrickColor.new("Bright red") | |
90 | SymbolColor2 = BrickColor.new("White") | |
91 | PantsColor = BrickColor.new(Color3.new(0.4,0.4,1)) | |
92 | PantsColor2 = BrickColor.new("Black") | |
93 | BeltColor = BrickColor.new(Color3.new(0.6,0.4,1)) | |
94 | BladeColor = BrickColor.new("White") | |
95 | Sharingan = "http://www.roblox.com/asset/?id=64386509" | |
96 | MangekyouSharinan = "http://www.roblox.com/asset/?id=66933293" | |
97 | function CreatePart(Part,Color,Size,Name,Parent) | |
98 | Part.BrickColor = Color | |
99 | Part.FormFactor = "Custom" | |
100 | Part.Size = Size | |
101 | Part.CanCollide = false | |
102 | Part.TopSurface = 0 | |
103 | Part.BottomSurface = 0 | |
104 | Part.CFrame = CFrame.new(0,10,0) | |
105 | Part.Name = Name | |
106 | Part.Parent = Parent | |
107 | end | |
108 | function Block(Scale,Parent) | |
109 | Mesh = Instance.new("BlockMesh") | |
110 | Mesh.Scale = Scale | |
111 | Mesh.Parent = Parent | |
112 | end | |
113 | function Cylinder(Scale,Parent) | |
114 | Mesh = Instance.new("CylinderMesh") | |
115 | Mesh.Scale = Scale | |
116 | Mesh.Parent = Parent | |
117 | end | |
118 | function Sphere(Scale,Parent) | |
119 | Mesh = Instance.new("SpecialMesh") | |
120 | Mesh.MeshType = "Sphere" | |
121 | Mesh.Scale = Scale | |
122 | Mesh.Parent = Parent | |
123 | end | |
124 | function Wedge(Scale,Parent) | |
125 | Mesh = Instance.new("SpecialMesh") | |
126 | Mesh.MeshType = "Wedge" | |
127 | Mesh.Scale = Scale | |
128 | Mesh.Parent = Parent | |
129 | end | |
130 | function CreateTorso(Scale,Parent) | |
131 | Mesh = Instance.new("SpecialMesh") | |
132 | Mesh.MeshType = "Torso" | |
133 | Mesh.Scale = Scale | |
134 | Mesh.Parent = Parent | |
135 | end | |
136 | function Glue(Part0,Part1,C0) | |
137 | Weld = Instance.new("Weld") | |
138 | Weld.Part0 = Part0 | |
139 | Weld.Part1 = Part1 | |
140 | Weld.C0 = C0 | |
141 | Weld.Parent = Part1 | |
142 | end | |
143 | function CreateHead(Scale,Parent) | |
144 | Mesh = Instance.new("SpecialMesh") | |
145 | Mesh.Scale = Scale | |
146 | Mesh.Parent = Parent | |
147 | end | |
148 | function Sharp(Scale,Parent) | |
149 | Mesh = Instance.new("SpecialMesh") | |
150 | Mesh.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
151 | Mesh.Scale = Scale | |
152 | Mesh.Parent = Parent | |
153 | end | |
154 | function SpecialMesh(MeshId,Scale,Parent) | |
155 | Mesh = Instance.new("SpecialMesh") | |
156 | Mesh.MeshId = MeshId | |
157 | Mesh.Scale = Scale | |
158 | Mesh.Parent = Parent | |
159 | end | |
160 | Camera = workspace.Camera | |
161 | Camera.CameraType = "Follow" | |
162 | Char = Player.Character | |
163 | for i, v in pairs(Char:GetChildren()) do | |
164 | if v.Name == ModelName then | |
165 | v:remove() | |
166 | elseif v:IsA("Hat") then | |
167 | v.Handle.Transparency = 1 | |
168 | elseif v:IsA("Part") then | |
169 | v.Transparency = 1 | |
170 | end | |
171 | end | |
172 | Humanoid = Char.Humanoid | |
173 | Head = Char.Head | |
174 | Camera.CameraSubject = Head | |
175 | for i, v in pairs(Head:GetChildren()) do | |
176 | if v:IsA("Decal") then | |
177 | v:remove() | |
178 | end | |
179 | end | |
180 | Torso = Char.Torso | |
181 | RightArm = Char["Right Arm"] | |
182 | LeftArm = Char["Left Arm"] | |
183 | RightLeg = Char["Right Leg"] | |
184 | LeftLeg = Char["Left Leg"] | |
185 | Weapon = Instance.new("Model") | |
186 | Weapon.Name = ModelName | |
187 | Weapon.Parent = Char | |
188 | Stomach = Instance.new("Part") | |
189 | CreatePart(Stomach,SkinColor,Vector3.new(0.4,0.4,0.4),"Stomach",Weapon) | |
190 | Block(Vector3.new(3.6,4,2.5),Stomach) | |
191 | ||
192 | Glue(Torso,Stomach,CFrame.new(0,0.3,0)) | |
193 | Shirt = Instance.new("Part") | |
194 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
195 | Block(Vector3.new(3.7,4.1,2.6),Shirt) | |
196 | ||
197 | Glue(Stomach,Shirt,CFrame.new(0,0,0)) | |
198 | Shirt = Instance.new("Part") | |
199 | CreatePart(Shirt,PantsColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
200 | Block(Vector3.new(3.8,2,2.7),Shirt) | |
201 | ||
202 | Glue(Stomach,Shirt,CFrame.new(0,0,0)) | |
203 | Pants = Instance.new("Part") | |
204 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
205 | Block(Vector3.new(3,4,2),Pants) | |
206 | ||
207 | Glue(Stomach,Pants,CFrame.new(0.5,-0.8,-0.4) * CFrame.Angles(math.rad(25),0,0)) | |
208 | Belt = Instance.new("Part") | |
209 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
210 | Sphere(Vector3.new(3,2,1),Belt) | |
211 | Glue(Pants,Belt,CFrame.new(0,0.4,-0.4)) | |
212 | Pants = Instance.new("Part") | |
213 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
214 | Block(Vector3.new(3,4,2),Pants) | |
215 | ||
216 | Glue(Stomach,Pants,CFrame.new(0,-0.8,-0.35) * CFrame.Angles(math.rad(25),math.rad(15),0)) | |
217 | Belt = Instance.new("Part") | |
218 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
219 | Sphere(Vector3.new(3,2,1),Belt) | |
220 | Glue(Pants,Belt,CFrame.new(0,0.4,-0.4)) | |
221 | Pants = Instance.new("Part") | |
222 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
223 | Block(Vector3.new(3,4,2),Pants) | |
224 | ||
225 | Glue(Stomach,Pants,CFrame.new(-0.5,-0.8,-0.2) * CFrame.Angles(math.rad(25),math.rad(30),0)) | |
226 | Belt = Instance.new("Part") | |
227 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
228 | Sphere(Vector3.new(3,2,1),Belt) | |
229 | Glue(Pants,Belt,CFrame.new(0,0.4,-0.4)) | |
230 | Pants = Instance.new("Part") | |
231 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
232 | Block(Vector3.new(3,4,2),Pants) | |
233 | ||
234 | Glue(Stomach,Pants,CFrame.new(0.5,-0.8,0.4) * CFrame.Angles(math.rad(-25),math.rad(15),0)) | |
235 | Belt = Instance.new("Part") | |
236 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
237 | Sphere(Vector3.new(3,2,1),Belt) | |
238 | Glue(Pants,Belt,CFrame.new(0,0.4,0.4)) | |
239 | Pants = Instance.new("Part") | |
240 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
241 | Block(Vector3.new(3,4,2),Pants) | |
242 | ||
243 | Glue(Stomach,Pants,CFrame.new(0,-0.8,0.45) * CFrame.Angles(math.rad(-25),math.rad(-15),0)) | |
244 | Belt = Instance.new("Part") | |
245 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
246 | Sphere(Vector3.new(3,2,1),Belt) | |
247 | Glue(Pants,Belt,CFrame.new(0,0.4,0.4)) | |
248 | Pants = Instance.new("Part") | |
249 | CreatePart(Pants,PantsColor,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
250 | Block(Vector3.new(3,4,2),Pants) | |
251 | ||
252 | Glue(Stomach,Pants,CFrame.new(-0.5,-0.8,0.2) * CFrame.Angles(math.rad(-25),math.rad(-20),0)) | |
253 | Belt = Instance.new("Part") | |
254 | CreatePart(Belt,BeltColor,Vector3.new(0.4,0.4,0.4),"Belt",Weapon) | |
255 | Sphere(Vector3.new(3,2,1),Belt) | |
256 | Glue(Pants,Belt,CFrame.new(0,0.4,0.4)) | |
257 | Body = Instance.new("Part") | |
258 | CreatePart(Body,SkinColor,Vector3.new(0.4,0.4,0.4),"Body",Weapon) | |
259 | Block(Vector3.new(4.6,4,3),Body) | |
260 | ||
261 | Glue(Stomach,Body,CFrame.new(0,1,-0.1)) | |
262 | Shirt = Instance.new("Part") | |
263 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
264 | Block(Vector3.new(4.7,4.15,3.1),Shirt) | |
265 | ||
266 | Glue(Body,Shirt,CFrame.new(0,0,0.1)) | |
267 | Shirt = Instance.new("Part") | |
268 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
269 | Block(Vector3.new(2.4,4.1,3.3),Shirt) | |
270 | ||
271 | Glue(Body,Shirt,CFrame.new(0.5,0,0)) | |
272 | Shirt = Instance.new("Part") | |
273 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
274 | Block(Vector3.new(2.6,4.1,3.2),Shirt) | |
275 | ||
276 | Glue(Body,Shirt,CFrame.new(0.25,0,0) * CFrame.Angles(0,0,math.rad(-25))) | |
277 | Shirt = Instance.new("Part") | |
278 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
279 | Block(Vector3.new(2.4,4.1,3.3),Shirt) | |
280 | ||
281 | Glue(Body,Shirt,CFrame.new(-0.5,0,0)) | |
282 | Shirt = Instance.new("Part") | |
283 | CreatePart(Shirt,ShirtColor,Vector3.new(0.4,0.4,0.4),"Shirt",Weapon) | |
284 | Block(Vector3.new(2.6,4.1,3.2),Shirt) | |
285 | ||
286 | Glue(Body,Shirt,CFrame.new(-0.25,0,0) * CFrame.Angles(0,0,math.rad(25))) | |
287 | Symbol = Instance.new("Part") | |
288 | CreatePart(Symbol,SymbolColor,Vector3.new(0.4,0.4,0.4),"Symbol",Weapon) | |
289 | Cylinder(Vector3.new(1.8,1,1.8),Symbol) | |
290 | Glue(Body,Symbol,CFrame.new(0,0.2,0.55) * CFrame.Angles(math.rad(90),0,0)) | |
291 | Symbol = Instance.new("Part") | |
292 | CreatePart(Symbol,SymbolColor2,Vector3.new(0.4,0.4,0.4),"Symbol",Weapon) | |
293 | Cylinder(Vector3.new(1.4,1.01,1.4),Symbol) | |
294 | Glue(Body,Symbol,CFrame.new(0,0,0.55) * CFrame.Angles(math.rad(90),0,0)) | |
295 | Symbol = Instance.new("Part") | |
296 | CreatePart(Symbol,SymbolColor2,Vector3.new(0.4,0.4,0.4),"Symbol",Weapon) | |
297 | Block(Vector3.new(1,1.01,1),Symbol) | |
298 | Glue(Body,Symbol,CFrame.new(0,-0.15,0.55) * CFrame.Angles(math.rad(90),0,0)) | |
299 | Sheath = Instance.new("Part") | |
300 | CreatePart(Sheath,PantsColor2,Vector3.new(0.4,0.4,0.4),"Sheath",Weapon) | |
301 | Block(Vector3.new(1.4,10,1),Sheath) | |
302 | ||
303 | Glue(Body,Sheath,CFrame.new(1,-0.6,0.9) * CFrame.Angles(0,0,math.rad(45))) | |
304 | Handle = Instance.new("Part") | |
305 | CreatePart(Handle,PantsColor2,Vector3.new(0.4,0.4,0.4),"Handle",Weapon) | |
306 | Block(Vector3.new(1.4,3,1.1),Handle) | |
307 | ||
308 | Glue(Body,Handle,CFrame.new(-0.8,1.2,0.9) * CFrame.Angles(0,0,math.rad(45))) | |
309 | Blade = Instance.new("Part") | |
310 | CreatePart(Blade,BladeColor,Vector3.new(0.4,3.4,0.4),"Blade",Weapon) | |
311 | Blade.CanCollide = true | |
312 | Block(Vector3.new(1,1,0.4),Blade) | |
313 | Glue(Handle,Blade,CFrame.new(0,-2,0)) | |
314 | Edge = Instance.new("Part") | |
315 | CreatePart(Edge,BladeColor,Vector3.new(0.4,0.4,0.4),"Edge",Weapon) | |
316 | Edge.CanCollide = true | |
317 | Wedge(Vector3.new(0.4,1,1.1),Edge) | |
318 | Glue(Blade,Edge,CFrame.new(0,-1.9,0) * CFrame.Angles(math.rad(180),math.rad(90),0)) | |
319 | Neck = Instance.new("Part") | |
320 | CreatePart(Neck,SkinColor,Vector3.new(0.4,0.4,0.4),"Neck",Weapon) | |
321 | Cylinder(Vector3.new(1.6,2,1.6),Neck) | |
322 | Glue(Body,Neck,CFrame.new(0,1,0)) | |
323 | Head = Instance.new("Part") | |
324 | CreatePart(Head,SkinColor,Vector3.new(2,1,1),"Head",Weapon) | |
325 | CreateHead(Vector3.new(1.25,1.25,1.25),Head) | |
326 | Glue(Neck,Head,CFrame.new(0,0.6,-0.1)) | |
327 | Face = Instance.new("Part") | |
328 | CreatePart(Face,SkinColor,Vector3.new(1.4,1,0.4),"Face",Weapon) | |
329 | Face.Transparency = 1 | |
330 | Decal = Instance.new("Decal") | |
331 | Decal.Texture = Sharingan | |
332 | Decal.Parent = Face | |
333 | Glue(Head,Face,CFrame.new(0,-0.1,-0.45)) | |
334 | Hair = Instance.new("Part") | |
335 | CreatePart(Hair,HairColor,Vector3.new(0.4,0.4,0.4),"Hair",Weapon) | |
336 | SpecialMesh("http://www.roblox.com/asset/?id=62246019",Vector3.new(1.2,1.2,1.2),Hair) | |
337 | Glue(Head,Hair,CFrame.new(0,0.2,0.2)) | |
338 | Hair = Instance.new("Part") | |
339 | CreatePart(Hair,HairColor,Vector3.new(0.4,0.4,0.4),"Hair",Weapon) | |
340 | SpecialMesh("http://www.roblox.com/asset/?id=16627529",Vector3.new(1.1,1.1,1.1),Hair) | |
341 | Glue(Head,Hair,CFrame.new(0,0.4,0)) | |
342 | RArm = Instance.new("Part") | |
343 | CreatePart(RArm,SkinColor,Vector3.new(0.4,0.4,0.4),"RArm",Weapon) | |
344 | Block(Vector3.new(1.8,4,1.8),RArm) | |
345 | ||
346 | Glue(Body,RArm,CFrame.new(1,-0.2,0)) | |
347 | Sleeve = Instance.new("Part") | |
348 | CreatePart(Sleeve,ShirtColor,Vector3.new(0.4,0.4,0.4),"Sleeve",Weapon) | |
349 | Block(Vector3.new(1.9,4.1,1.9),Sleeve) | |
350 | ||
351 | Glue(RArm,Sleeve,CFrame.new(0,0,0)) | |
352 | RArm2 = Instance.new("Part") | |
353 | CreatePart(RArm2,SkinColor,Vector3.new(0.4,0.4,0.4),"RArm2",Weapon) | |
354 | Block(Vector3.new(1.8,3.5,1.8),RArm2) | |
355 | ||
356 | Glue(RArm,RArm2,CFrame.new(0,-1,0)) | |
357 | Hand = Instance.new("Part") | |
358 | CreatePart(Hand,SkinColor,Vector3.new(0.4,0.4,0.4),"Hand",Weapon) | |
359 | Block(Vector3.new(2,2.4,2),Hand) | |
360 | ||
361 | Glue(RArm2,Hand,CFrame.new(0,-0.6,0)) | |
362 | Sleeve = Instance.new("Part") | |
363 | CreatePart(Sleeve,PantsColor2,Vector3.new(0.4,0.4,0.4),"Sleeve",Weapon) | |
364 | Block(Vector3.new(1.9,3,1.9),Sleeve) | |
365 | ||
366 | Glue(RArm2,Sleeve,CFrame.new(0,-0.1,0)) | |
367 | LArm = Instance.new("Part") | |
368 | CreatePart(LArm,SkinColor,Vector3.new(0.4,0.4,0.4),"LArm",Weapon) | |
369 | Block(Vector3.new(1.8,4,1.8),LArm) | |
370 | ||
371 | Glue(Body,LArm,CFrame.new(-1,-0.2,0)) | |
372 | Sleeve = Instance.new("Part") | |
373 | CreatePart(Sleeve,ShirtColor,Vector3.new(0.4,0.4,0.4),"Sleeve",Weapon) | |
374 | Block(Vector3.new(1.9,4.1,1.9),Sleeve) | |
375 | ||
376 | Glue(LArm,Sleeve,CFrame.new(0,0,0)) | |
377 | LArm2 = Instance.new("Part") | |
378 | CreatePart(LArm2,SkinColor,Vector3.new(0.4,0.4,0.4),"LArm2",Weapon) | |
379 | Block(Vector3.new(1.8,3.5,1.8),LArm2) | |
380 | ||
381 | Glue(LArm,LArm2,CFrame.new(0,-1,0)) | |
382 | Sleeve = Instance.new("Part") | |
383 | CreatePart(Sleeve,PantsColor2,Vector3.new(0.4,0.4,0.4),"Sleeve",Weapon) | |
384 | Block(Vector3.new(1.9,3,1.9),Sleeve) | |
385 | ||
386 | Glue(LArm2,Sleeve,CFrame.new(0,-0.1,0)) | |
387 | Hand2 = Instance.new("Part") | |
388 | CreatePart(Hand2,SkinColor,Vector3.new(0.4,0.4,0.4),"Hand",Weapon) | |
389 | Block(Vector3.new(2,2.4,2),Hand2) | |
390 | ||
391 | Glue(LArm2,Hand2,CFrame.new(0,-0.6,0)) | |
392 | RLeg = Instance.new("Part") | |
393 | CreatePart(RLeg,SkinColor,Vector3.new(0.4,0.4,0.4),"RLeg",Weapon) | |
394 | Block(Vector3.new(2,4,2),RLeg) | |
395 | ||
396 | Glue(Stomach,RLeg,CFrame.new(0.5,-1.2,0)) | |
397 | Pants = Instance.new("Part") | |
398 | CreatePart(Pants,PantsColor2,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
399 | Block(Vector3.new(2.1,4.1,2.1),Pants) | |
400 | ||
401 | Glue(RLeg,Pants,CFrame.new(0,0,0)) | |
402 | RLeg2 = Instance.new("Part") | |
403 | CreatePart(RLeg2,SkinColor,Vector3.new(0.4,0.4,0.4),"RLeg2",Weapon) | |
404 | Block(Vector3.new(1.6,4,1.6),RLeg2) | |
405 | ||
406 | Glue(RLeg,RLeg2,CFrame.new(0,-1.2,0)) | |
407 | Pants = Instance.new("Part") | |
408 | CreatePart(Pants,PantsColor2,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
409 | Block(Vector3.new(2.1,4.1,2.1),Pants) | |
410 | ||
411 | Glue(RLeg2,Pants,CFrame.new(0,0,0)) | |
412 | Foot = Instance.new("Part") | |
413 | CreatePart(Foot,SkinColor,Vector3.new(0.4,0.4,0.4),"Foot",Weapon) | |
414 | Block(Vector3.new(1.6,1,3.4),Foot) | |
415 | ||
416 | Glue(RLeg2,Foot,CFrame.new(0,-0.6,-0.4)) | |
417 | Sole = Instance.new("Part") | |
418 | CreatePart(Sole,PantsColor2,Vector3.new(0.4,0.4,0.4),"Sole",Weapon) | |
419 | Block(Vector3.new(1.7,0.8,3.5),Sole) | |
420 | ||
421 | Glue(Foot,Sole,CFrame.new(0,-0.1,0)) | |
422 | Shoe = Instance.new("Part") | |
423 | CreatePart(Shoe,PantsColor2,Vector3.new(0.4,0.4,0.4),"Shoe",Weapon) | |
424 | Block(Vector3.new(1.7,1.1,3),Shoe) | |
425 | ||
426 | Glue(Foot,Shoe,CFrame.new(0,0,0)) | |
427 | LLeg = Instance.new("Part") | |
428 | CreatePart(LLeg,SkinColor,Vector3.new(0.4,0.4,0.4),"LLeg",Weapon) | |
429 | Block(Vector3.new(2,4,2),LLeg) | |
430 | ||
431 | Glue(Stomach,LLeg,CFrame.new(-0.5,-1.2,0)) | |
432 | Pants = Instance.new("Part") | |
433 | CreatePart(Pants,PantsColor2,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
434 | Block(Vector3.new(2.1,4.1,2.1),Pants) | |
435 | ||
436 | Glue(LLeg,Pants,CFrame.new(0,0,0)) | |
437 | LLeg2 = Instance.new("Part") | |
438 | CreatePart(LLeg2,SkinColor,Vector3.new(0.4,0.4,0.4),"LLeg2",Weapon) | |
439 | Block(Vector3.new(1.6,4,1.6),LLeg2) | |
440 | ||
441 | Glue(LLeg,LLeg2,CFrame.new(0,-1.2,0)) | |
442 | Pants = Instance.new("Part") | |
443 | CreatePart(Pants,PantsColor2,Vector3.new(0.4,0.4,0.4),"Pants",Weapon) | |
444 | Block(Vector3.new(2.1,4.1,2.1),Pants) | |
445 | ||
446 | Glue(LLeg2,Pants,CFrame.new(0,0,0)) | |
447 | Foot2 = Instance.new("Part") | |
448 | CreatePart(Foot2,SkinColor,Vector3.new(0.4,0.4,0.4),"Foot",Weapon) | |
449 | Block(Vector3.new(1.6,1,3.4),Foot2) | |
450 | ||
451 | Glue(LLeg2,Foot2,CFrame.new(0,-0.6,-0.4)) | |
452 | Sole = Instance.new("Part") | |
453 | CreatePart(Sole,PantsColor2,Vector3.new(0.4,0.4,0.4),"Sole",Weapon) | |
454 | Block(Vector3.new(1.7,0.8,3.5),Sole) | |
455 | ||
456 | Glue(Foot2,Sole,CFrame.new(0,-0.1,0)) | |
457 | Shoe = Instance.new("Part") | |
458 | CreatePart(Shoe,PantsColor2,Vector3.new(0.4,0.4,0.4),"Shoe",Weapon) | |
459 | Block(Vector3.new(1.7,1.1,3),Shoe) | |
460 | ||
461 | Glue(Foot2,Shoe,CFrame.new(0,0,0)) | |
462 | Spot = Instance.new("Part") | |
463 | Backpack = Player.Backpack | |
464 | for i, v in pairs(Backpack:GetChildren()) do | |
465 | if v.Name == ModelName then | |
466 | v:remove() | |
467 | end | |
468 | end | |
469 | HopperBin = Instance.new("HopperBin") | |
470 | HopperBin.Name = ModelName | |
471 | HopperBin.Parent = Backpack | |
472 | Damage = Instance.new("IntValue") | |
473 | Damage.Value = 5 | |
474 | Damage.Name = "Damage" | |
475 | Damage.Parent = HopperBin | |
476 | script.Parent = HopperBin | |
477 | PlayerGui = Player.PlayerGui | |
478 | for i, v in pairs(PlayerGui:GetChildren()) do | |
479 | v:remove() | |
480 | end | |
481 | Gui = Instance.new("ScreenGui") | |
482 | Gui.Name = "Gui" | |
483 | Gui.Parent = PlayerGui | |
484 | MaxChakra = Instance.new("IntValue") | |
485 | MaxChakra.Value = 500 | |
486 | MaxChakra.Name = "MaxChakra" | |
487 | MaxChakra.Parent = Gui | |
488 | Chakra = Instance.new("IntValue") | |
489 | Chakra.Value = MaxChakra.Value | |
490 | Chakra.Name = "Chakra" | |
491 | Chakra.Parent = Gui | |
492 | Image = Instance.new("ImageLabel") | |
493 | Image.BackgroundColor = BrickColor.new("White") | |
494 | Image.BackgroundTransparency = 1 | |
495 | --Image.Image = "http://www.roblox.com/thumbs/avatar.ashx?x=352y=352format=pngusername="..Player.Name | |
496 | Image.Image = "http://www.roblox.com/asset/?id=62272965" | |
497 | Image.Size = UDim2.new(0.1,0,0.1,0) | |
498 | Image.Position = UDim2.new(0.02,0,0.46,0) | |
499 | Image.Name = "Image" | |
500 | Image.Parent = Gui | |
501 | Circle = Instance.new("ImageLabel") | |
502 | Circle.BackgroundColor = BrickColor.new("White") | |
503 | Circle.BackgroundTransparency = 1 | |
504 | Circle.Image = "http://www.roblox.com/asset/?id=55585187" | |
505 | Circle.Size = UDim2.new(0.15,0,0.15,0) | |
506 | Circle.Position = UDim2.new(0,0,0.43,0) | |
507 | Circle.Parent = Gui | |
508 | Bar = Instance.new("ImageLabel") | |
509 | Bar.BackgroundColor = BrickColor.new("White") | |
510 | Bar.Image = "http://www.roblox.com/asset/?id=67599350" | |
511 | Bar.Size = UDim2.new(0.25,0,0.02,0) | |
512 | Bar.Position = UDim2.new(0.13,0,0.52,0) | |
513 | Bar.Name = "Bar" | |
514 | Bar.Parent = Gui | |
515 | BarTracking = Instance.new("ImageLabel") | |
516 | BarTracking.BackgroundColor = BrickColor.new("Bright blue") | |
517 | BarTracking.Image = "http://www.roblox.com/asset/?id=48819326" | |
518 | BarTracking.Size = UDim2.new(0.4,0,1,0) | |
519 | BarTracking.Name = "BarTracking" | |
520 | BarTracking.Parent = Bar | |
521 | Bar2 = Instance.new("ImageLabel") | |
522 | Bar2.BackgroundColor = BrickColor.new("Bright red") | |
523 | Bar2.Image = "http://www.roblox.com/asset/?id=67599364" | |
524 | Bar2.Size = UDim2.new(0.26,0,0.02,0) | |
525 | Bar2.Position = UDim2.new(0.13,0,0.5,0) | |
526 | Bar2.Name = "Bar" | |
527 | Bar2.Parent = Gui | |
528 | BarTracking2 = Instance.new("ImageLabel") | |
529 | BarTracking2.BackgroundColor = BrickColor.new("Bright green") | |
530 | BarTracking2.Image = "http://www.roblox.com/asset/?id=67599373" | |
531 | BarTracking2.Size = UDim2.new(0.65,0,1,0) | |
532 | BarTracking2.Name = "BarTracking" | |
533 | BarTracking2.Parent = Bar2 | |
534 | Pose = "Standing" | |
535 | Action = "Flip" | |
536 | Flipping = false | |
537 | Time = 0 | |
538 | Combo = true | |
539 | Combo2 = false | |
540 | Combo3 = false | |
541 | Attack = false | |
542 | Use = false | |
543 | Streaming = false | |
544 | ChidoriAttack = false | |
545 | Awakening = false | |
546 | Ready = false | |
547 | Sword = Sheathed | |
548 | function ShurikenThrow() | |
549 | if Attack == false and Awakening == false then | |
550 | Attack = true | |
551 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(90),0,math.rad(135)) | |
552 | RArm2.Weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(0,0,math.rad(-10)) | |
553 | Shuriken = Instance.new("Part") | |
554 | CreatePart(Shuriken,BrickColor.new("Black"),Vector3.new(1,1,1),"Shuriken",Weapon) | |
555 | SpecialMesh("http://www.roblox.com/asset/?id=11376946",Vector3.new(2,2,2),Shuriken) | |
556 | Glue(Hand,Shuriken,CFrame.new(0,-0.8,0) * CFrame.Angles(0,math.rad(90),math.rad(90))) | |
557 | game.Debris:AddItem(Shuriken,4) | |
558 | function onTouched(hit) | |
559 | Human = hit.Parent:FindFirstChild("Humanoid") | |
560 | if Human ~= nil and hit.Parent.Name ~= Player.Name then | |
561 | Human:TakeDamage(2) | |
562 | end | |
563 | end | |
564 | Shuriken.Touched:connect(onTouched) | |
565 | function onTouched(hit) | |
566 | if hit.Name == "Wall" or hit.Name == "Shuriken" then | |
567 | Shuriken.CanCollide = true | |
568 | Shuriken.Anchored = true | |
569 | Blast = Instance.new("Part") | |
570 | CreatePart(Blast,BrickColor.new("New Yeller"),Vector3.new(0.4,0.4,0.4),"Blast",Shuriken) | |
571 | Blast.Transparency = 0.4 | |
572 | Blast.Anchored = true | |
573 | Blast.CFrame = Shuriken.CFrame | |
574 | Sphere(Vector3.new(1,1,1),Blast) | |
575 | game.Debris:AddItem(Blast,1) | |
576 | for i=1, 10 do | |
577 | wait(0.0001) | |
578 | Blast.Mesh.Scale = Blast.Mesh.Scale + Vector3.new(0.1,0.1,0.1) | |
579 | end | |
580 | Shuriken.Anchored = false | |
581 | Shuriken.BodyPosition:remove() | |
582 | end | |
583 | end | |
584 | Shuriken.Touched:connect(onTouched) | |
585 | for i=1, 10 do | |
586 | wait(0.0001) | |
587 | RArm.Weld.C0 = RArm.Weld.C0 * CFrame.Angles(0,0,math.rad(-12.5)) | |
588 | end | |
589 | Spot.CFrame = Hand.CFrame * CFrame.new(0,-1000,0) | |
590 | Shuriken.Weld:remove() | |
591 | Bp = Instance.new("BodyPosition") | |
592 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
593 | Bp.P = 120 | |
594 | Bp.position = Spot.Position | |
595 | Bp.Parent = Shuriken | |
596 | Bg = Instance.new("BodyGyro") | |
597 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
598 | Bg.cframe = Shuriken.CFrame | |
599 | Bg.Parent = Shuriken | |
600 | wait(0.4) | |
601 | Attack = false | |
602 | elseif Attack == false and Awakening == true and Chakra.Value >= 200 then | |
603 | Attack = true | |
604 | for i=1, 5 do | |
605 | wait(0.0001) | |
606 | Chakra.Value = Chakra.Value - 40 | |
607 | end | |
608 | Bp = Instance.new("BodyPosition") | |
609 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
610 | Bp.position = Torso.Position | |
611 | Bp.Parent = Torso | |
612 | game.Debris:AddItem(Bp,2) | |
613 | Bg = Instance.new("BodyGyro") | |
614 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
615 | Bg.cframe = Torso.CFrame | |
616 | Bg.Parent = Torso | |
617 | game.Debris:AddItem(Bg,2) | |
618 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(135),0,0) | |
619 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
620 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(135),0,0) | |
621 | LArm2.Weld.C0 = CFrame.new(0,-1,0) | |
622 | Shuriken = Instance.new("Part") | |
623 | CreatePart(Shuriken,BrickColor.new("Black"),Vector3.new(4,2,4),"Shuriken",Weapon) | |
624 | Shuriken.CanCollide = true | |
625 | Shuriken.CFrame = RArm.CFrame * CFrame.new(0,-100,0) * CFrame.Angles(0,0,math.rad(90)) | |
626 | SpecialMesh("http://www.roblox.com/asset/?id=11376946",Vector3.new(8,4,8),Shuriken) | |
627 | Bp = Instance.new("BodyPosition") | |
628 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
629 | Bp.position = Shuriken.Position | |
630 | Bp.Parent = Shuriken | |
631 | Bg = Instance.new("BodyGyro") | |
632 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
633 | Bg.cframe = Torso.CFrame * CFrame.Angles(0,0,math.rad(90)) | |
634 | Bg.Parent = Shuriken | |
635 | game.Debris:AddItem(Shuriken,2) | |
636 | function onTouched(hit) | |
637 | Human = hit.Parent:FindFirstChild("Humanoid") | |
638 | if Human ~= nil and hit.Parent.Name ~= Char.Name then | |
639 | Human:TakeDamage(3) | |
640 | Faint = Instance.new("IntValue") | |
641 | Faint.Name = "Faint" | |
642 | Faint.Parent = Human | |
643 | game.Debris:AddItem(Faint,1) | |
644 | Bp.position = hit.Position | |
645 | end | |
646 | end | |
647 | Shuriken.Touched:connect(onTouched) | |
648 | Shuriken2 = Instance.new("Part") | |
649 | CreatePart(Shuriken2,BrickColor.new("Black"),Vector3.new(4,2,4),"Shuriken",Weapon) | |
650 | Shuriken2.CanCollide = true | |
651 | Shuriken2.CFrame = LArm.CFrame * CFrame.new(0,-100,0) * CFrame.Angles(0,0,math.rad(90)) | |
652 | SpecialMesh("http://www.roblox.com/asset/?id=11376946",Vector3.new(8,4,8),Shuriken2) | |
653 | Bp2 = Instance.new("BodyPosition") | |
654 | Bp2.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
655 | Bp2.position = Shuriken2.Position | |
656 | Bp2.Parent = Shuriken2 | |
657 | Bg2 = Instance.new("BodyGyro") | |
658 | Bg2.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
659 | Bg2.cframe = Torso.CFrame * CFrame.Angles(0,0,math.rad(90)) | |
660 | Bg2.Parent = Shuriken2 | |
661 | game.Debris:AddItem(Shuriken2,2) | |
662 | function onTouched(hit) | |
663 | Human = hit.Parent:FindFirstChild("Humanoid") | |
664 | if Human ~= nil and hit.Parent.Name ~= Char.Name then | |
665 | Human:TakeDamage(3) | |
666 | Faint = Instance.new("IntValue") | |
667 | Faint.Name = "Faint" | |
668 | Faint.Parent = Human | |
669 | game.Debris:AddItem(Faint,1) | |
670 | Bp2.position = hit.Position | |
671 | end | |
672 | end | |
673 | Shuriken2.Touched:connect(onTouched) | |
674 | wait(0.0001) | |
675 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(90),0,0) | |
676 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(90),0,0) | |
677 | Shuriken.CFrame = RArm.CFrame * CFrame.new(0,-80,0) | |
678 | Bp.position = Shuriken.Position | |
679 | Shuriken2.CFrame = LArm.CFrame * CFrame.new(0,-80,0) | |
680 | Bp2.position = Shuriken2.Position | |
681 | wait(0.0001) | |
682 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(45),0,0) | |
683 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(45),0,0) | |
684 | Shuriken.CFrame = RArm.CFrame * CFrame.new(0,0,-20) | |
685 | Bp.position = Shuriken.Position | |
686 | Shuriken2.CFrame = LArm.CFrame * CFrame.new(0,0,-20) | |
687 | Bp2.position = Shuriken2.Position | |
688 | wait(0.0001) | |
689 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(25),0,0) | |
690 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(25),0,0) | |
691 | Shuriken.CFrame = RArm.CFrame * CFrame.new(0,0,-10) | |
692 | Bp.position = Shuriken.Position + Vector3.new(0,-12,0) | |
693 | Shuriken2.CFrame = LArm.CFrame * CFrame.new(0,0,-10) | |
694 | Bp2.position = Shuriken2.Position + Vector3.new(0,-12,0) | |
695 | wait(2) | |
696 | Attack = false | |
697 | end | |
698 | end | |
699 | function Slash() | |
700 | if Attack == false and Combo == true and Handle:FindFirstChild("Weld") ~= nil then | |
701 | Attack = true | |
702 | Combo = false | |
703 | Time = 0 | |
704 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(-45),0,math.rad(-45)) | |
705 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-45),0,0) | |
706 | wait(0.05) | |
707 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.2) * CFrame.Angles(math.rad(-90),0,math.rad(-45)) | |
708 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-65),0,0) | |
709 | wait(0.05) | |
710 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.4) * CFrame.Angles(math.rad(-135),0,math.rad(-45)) | |
711 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-25),0,0) | |
712 | wait(0.05) | |
713 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.4) * CFrame.Angles(math.rad(-155),0,math.rad(-25)) | |
714 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-25),0,0) | |
715 | Handle.Weld.Part0 = Hand2 | |
716 | Handle.Weld.C0 = CFrame.new(0,-0.4,0) * CFrame.Angles(math.rad(135),0,math.rad(90)) | |
717 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) * CFrame.Angles(math.rad(90),0,math.rad(-45)) | |
718 | Attack = false | |
719 | Combo2 = true | |
720 | elseif Attack == false and Combo2 == true and Time <= 1 and Handle:FindFirstChild("Weld") ~= nil then | |
721 | Attack = true | |
722 | Combo2 = false | |
723 | Time = 0 | |
724 | Handle.Weld.C0 = CFrame.new(0,-0.4,0) * CFrame.Angles(math.rad(90),math.rad(90),0) | |
725 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(-45)) | |
726 | wait(0.0001) | |
727 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(80),math.rad(-90),math.rad(-35)) | |
728 | wait(0.0001) | |
729 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(60),math.rad(-90),math.rad(-25)) | |
730 | wait(0.0001) | |
731 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(50),math.rad(-90),math.rad(-15)) | |
732 | Attack = false | |
733 | Combo3 = true | |
734 | elseif Attack == false and Combo3 == true and Time <= 1 and Handle:FindFirstChild("Weld") ~= nil then | |
735 | Attack = true | |
736 | Combo3 = false | |
737 | Time = 0 | |
738 | Humanoid.Jump = true | |
739 | Body.Weld.C0 = CFrame.new(0,1,-0.4) * CFrame.Angles(math.rad(-25),0,0) | |
740 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
741 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
742 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
743 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
744 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,-0.4) * CFrame.Angles(math.rad(45),0,0) | |
745 | RLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-65),0,0) | |
746 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,-0.4) * CFrame.Angles(math.rad(65),0,0) | |
747 | LLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-45),0,0) | |
748 | for i=1, 7 do | |
749 | wait(0.0001) | |
750 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(-15)) | |
751 | Stomach.Weld.C0 = Stomach.Weld.C0 * CFrame.new(0,1,-0.4) CFrame.Angles(math.rad(-20),0,0) | |
752 | Torso.CFrame = Torso.CFrame * CFrame.new(0,0,-1) | |
753 | if Bp ~= nil then | |
754 | Bp.position = Bp.position + Vector3.new(0,10,0) | |
755 | end | |
756 | end | |
757 | for i=1, 7 do | |
758 | wait(0.0001) | |
759 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(90),math.rad(-90),math.rad(-15)) | |
760 | Stomach.Weld.C0 = Stomach.Weld.C0 * CFrame.new(0,-1,-0.4) CFrame.Angles(math.rad(-20),0,0) | |
761 | Torso.CFrame = Torso.CFrame * CFrame.new(0,0,-1) | |
762 | if Bp ~= nil then | |
763 | Bp.position = Bp.position + Vector3.new(0,10,0) | |
764 | end | |
765 | end | |
766 | Stomach.Weld.C0 = CFrame.new(0,0.2,0) | |
767 | Attack = false | |
768 | Combo = true | |
769 | end | |
770 | end | |
771 | function ChakraRestore() | |
772 | if Attack == false then | |
773 | Attack = true | |
774 | Hold = true | |
775 | for i=1, 100 do | |
776 | wait() | |
777 | if Hold == true then | |
778 | Chakra.Value = Chakra.Value + 1 | |
779 | Humanoid.WalkSpeed = 0 | |
780 | Sparkles = Instance.new("Sparkles") | |
781 | Sparkles.Parent = Torso | |
782 | game.Debris:AddItem(Sparkles,0.2) | |
783 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.4) * CFrame.Angles(math.rad(90),0,math.rad(-22.5)) | |
784 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,0) * CFrame.Angles(0,0,math.rad(-22.5)) | |
785 | LArm.Weld.C0 = CFrame.new(-1,0.2,-0.4) * CFrame.Angles(math.rad(90),0,math.rad(22.5)) | |
786 | LArm2.Weld.C0 = CFrame.new(0.2,-1,0) * CFrame.Angles(0,0,math.rad(22.5)) | |
787 | else | |
788 | Attack = false | |
789 | end | |
790 | end | |
791 | Attack = false | |
792 | end | |
793 | end | |
794 | function Chidori() | |
795 | if Attack == false and ChidoriAttack == false and Awakening == false and Chakra.Value >= 300 then | |
796 | Attack = true | |
797 | Use = false | |
798 | ChidoriAttack = true | |
799 | Humanoid.WalkSpeed = 0 | |
800 | for i=1, 5 do | |
801 | wait(0.0001) | |
802 | Chakra.Value = Chakra.Value - 60 | |
803 | end | |
804 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.2) * CFrame.Angles(math.rad(45),0,math.rad(-25)) | |
805 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
806 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(45),0,math.rad(45)) | |
807 | Lightning = Instance.new("Part") | |
808 | CreatePart(Lightning,PantsColor,Vector3.new(2,2,2),"Chidori",Weapon) | |
809 | Lightning.Transparency = 1 | |
810 | Sphere(Vector3.new(0,0,0),Lightning) | |
811 | Glue(Hand,Lightning,CFrame.new(0,-1,0)) | |
812 | game.Debris:AddItem(Lightning,10) | |
813 | Sparkles = Instance.new("Sparkles") | |
814 | Sparkles.Color = PantsColor.Color | |
815 | Sparkles.Parent = Lightning | |
816 | Sparkles = Instance.new("Fire") | |
817 | Sparkles.Color = PantsColor.Color | |
818 | Sparkles.SecondaryColor = Sparkles.Color | |
819 | Sparkles.Parent = Lightning | |
820 | for i=1, 10 do | |
821 | wait(0.0001) | |
822 | Lightning.Mesh.Scale = Lightning.Mesh.Scale + Vector3.new(0.1,0.1,0.1) | |
823 | end | |
824 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.2) * CFrame.Angles(math.rad(45),0,math.rad(-25)) | |
825 | RArm2.Weld.C0 = CFrame.new(0,-1,-0.2) * CFrame.Angles(math.rad(45),0,0) | |
826 | Humanoid.WalkSpeed = 100 | |
827 | function onTouched(hit) | |
828 | Human = hit.Parent.Parent:FindFirstChild("Humanoid") | |
829 | if Human ~= nil and Use == false and hit.Parent.Parent.Name ~= Char.Name and hit.className ~= "Hat" then | |
830 | Use = true | |
831 | Human:TakeDamage(40) | |
832 | Lightning.Weld.Part0 = hit.Parent.Torso | |
833 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-100) | |
834 | game.Debris:AddItem(Lightning,0.1) | |
835 | end | |
836 | end | |
837 | Lightning.Touched:connect(onTouched) | |
838 | function onTouched(hit) | |
839 | Human = hit.Parent:FindFirstChild("Humanoid") | |
840 | if Human ~= nil then | |
841 | Flung = Instance.new("IntValue") | |
842 | Flung.Name = "Flung" | |
843 | Flung.Parent = Human | |
844 | game.Debris:AddItem(Flung,1) | |
845 | Faint = Instance.new("IntValue") | |
846 | Faint.Name = "Faint" | |
847 | Faint.Parent = Human | |
848 | game.Debris:AddItem(Faint,1) | |
849 | end | |
850 | end | |
851 | Lightning.Touched:connect(onTouched) | |
852 | function onTouched(hit) | |
853 | if hit.Name == "Rasengan" then | |
854 | Ball = Instance.new("Part") | |
855 | CreatePart(Ball,HairColor,Vector3.new(0.4,0.4,0.4),"Ball",Weapon) | |
856 | Ball.Anchored = true | |
857 | Ball.CFrame = hit.CFrame | |
858 | Sphere(Vector3.new(30,30,30),Ball) | |
859 | game.Debris:AddItem(Ball,2) | |
860 | for i=1, 10 do | |
861 | wait(0.2) | |
862 | Ball.Transparency = Ball.Transparency + 0.1 | |
863 | Ball.Mesh.Scale = Ball.Mesh.Scale + Vector3.new(2,2,2) | |
864 | end | |
865 | end | |
866 | end | |
867 | Lightning.Touched:connect(onTouched) | |
868 | for i=1, 100 do | |
869 | wait(0.0001) | |
870 | if Lightning ~= nil then | |
871 | Lightning.CFrame = Hand.CFrame * CFrame.new(0,-1,0) | |
872 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.2) * CFrame.Angles(math.rad(45),0,math.rad(-25)) | |
873 | RArm2.Weld.C0 = CFrame.new(0,-1,-0.2) * CFrame.Angles(math.rad(45),0,0) | |
874 | Spark = Instance.new("Part") | |
875 | CreatePart(Spark,PantsColor,Vector3.new(0.4,0.4,0.4),"Chidori",Weapon) | |
876 | Spark.Transparency = 1 | |
877 | Glue(Lightning,Spark,CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))) | |
878 | game.Debris:AddItem(Spark,1) | |
879 | Sparkles = Instance.new("Sparkles") | |
880 | Sparkles.Color = PantsColor.Color | |
881 | Sparkles.Parent = Spark | |
882 | end | |
883 | end | |
884 | for i, v in pairs(Weapon:GetChildren()) do | |
885 | if v.Name == "Chidori" then | |
886 | v:remove() | |
887 | end | |
888 | end | |
889 | Humanoid.WalkSpeed = 16 | |
890 | Attack = false | |
891 | wait(8) | |
892 | ChidoriAttack = false | |
893 | elseif Attack == false and ChidoriAttack == false and Awakening == true and Chakra.Value >= 125 then | |
894 | Attack = true | |
895 | Use = false | |
896 | ChidoriAttack = true | |
897 | Humanoid.WalkSpeed = 0 | |
898 | for i=1, 5 do | |
899 | wait(0.0001) | |
900 | Chakra.Value = Chakra.Value - 25 | |
901 | end | |
902 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.2) * CFrame.Angles(math.rad(45),0,math.rad(-25)) | |
903 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
904 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(45),0,math.rad(45)) | |
905 | Lightning = Instance.new("Part") | |
906 | CreatePart(Lightning,BrickColor.new("Black"),Vector3.new(4,4,4),"Chidori",Weapon) | |
907 | Lightning.Transparency = 0.6 | |
908 | Sphere(Vector3.new(0,0,0),Lightning) | |
909 | Glue(Hand,Lightning,CFrame.new(0,-1,0)) | |
910 | game.Debris:AddItem(Lightning,10) | |
911 | Sparkles = Instance.new("Sparkles") | |
912 | Sparkles.Color = BrickColor.new("Black").Color | |
913 | Sparkles.Parent = Lightning | |
914 | Sparkles = Instance.new("Fire") | |
915 | Sparkles.Color = BrickColor.new("Black").Color | |
916 | Sparkles.SecondaryColor = Sparkles.Color | |
917 | Sparkles.Parent = Lightning | |
918 | for i=1, 10 do | |
919 | wait(0.0001) | |
920 | Lightning.Mesh.Scale = Lightning.Mesh.Scale + Vector3.new(0.05,0.05,0.05) | |
921 | end | |
922 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.2) * CFrame.Angles(math.rad(45),0,math.rad(-25)) | |
923 | RArm2.Weld.C0 = CFrame.new(0,-1,-0.2) * CFrame.Angles(math.rad(45),0,0) | |
924 | Humanoid.WalkSpeed = 100 | |
925 | function onTouched(hit) | |
926 | Human = hit.Parent.Parent:FindFirstChild("Humanoid") | |
927 | if Human ~= nil and Use == false and hit.Parent.Parent.Name ~= Char.Name and hit.className ~= "Hat" then | |
928 | Use = true | |
929 | Human:TakeDamage(50) | |
930 | Lightning.Weld.Part0 = hit.Parent.Torso | |
931 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-100) | |
932 | game.Debris:AddItem(Lightning,0.1) | |
933 | end | |
934 | end | |
935 | Lightning.Touched:connect(onTouched) | |
936 | function onTouched(hit) | |
937 | Human = hit.Parent:FindFirstChild("Humanoid") | |
938 | if Human ~= nil then | |
939 | Flung = Instance.new("IntValue") | |
940 | Flung.Name = "Flung" | |
941 | Flung.Parent = Human | |
942 | game.Debris:AddItem(Flung,1) | |
943 | Faint = Instance.new("IntValue") | |
944 | Faint.Name = "Faint" | |
945 | Faint.Parent = Human | |
946 | game.Debris:AddItem(Faint,1) | |
947 | end | |
948 | end | |
949 | Lightning.Touched:connect(onTouched) | |
950 | function onTouched(hit) | |
951 | if hit.Name == "Rasengan" then | |
952 | Ball = Instance.new("Part") | |
953 | CreatePart(Ball,HairColor,Vector3.new(0.4,0.4,0.4),"Ball",Weapon) | |
954 | Ball.Anchored = true | |
955 | Ball.CFrame = hit.CFrame | |
956 | Sphere(Vector3.new(30,30,30),Ball) | |
957 | game.Debris:AddItem(Ball,2) | |
958 | for i=1, 10 do | |
959 | wait(0.2) | |
960 | Ball.Transparency = Ball.Transparency + 0.1 | |
961 | Ball.Mesh.Scale = Ball.Mesh.Scale + Vector3.new(2,2,2) | |
962 | end | |
963 | end | |
964 | end | |
965 | Lightning.Touched:connect(onTouched) | |
966 | Spawn(function() | |
967 | for i=1, 100 do | |
968 | wait(0.0001) | |
969 | if Lightning ~= nil then | |
970 | RArm.Weld.C0 = CFrame.new(1,0.2,0) * CFrame.Angles(math.rad(180),0,0) | |
971 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
972 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(180),0,math.rad(45)) | |
973 | Spark = Instance.new("Part") | |
974 | CreatePart(Spark,PantsColor,Vector3.new(0.4,0.4,0.4),"Chidori",Weapon) | |
975 | Spark.Transparency = 1 | |
976 | Glue(Lightning,Spark,CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))) | |
977 | game.Debris:AddItem(Spark,1) | |
978 | Sparkles = Instance.new("Sparkles") | |
979 | Sparkles.Color = BrickColor.new("Black").Color | |
980 | Sparkles.Parent = Spark | |
981 | end | |
982 | end | |
983 | end) | |
984 | Bp = Instance.new("BodyPosition") | |
985 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
986 | Bp.position = Torso.Position | |
987 | Bp.Parent = Torso | |
988 | Bg = Instance.new("BodyGyro") | |
989 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
990 | Bg.cframe = Torso.CFrame | |
991 | Bg.Parent = Torso | |
992 | for i=1, 20 do | |
993 | wait(0.0001) | |
994 | Bp.position = Bp.position + Vector3.new(0,1,0) | |
995 | end | |
996 | for i=1, 12 do | |
997 | wait(0.0001) | |
998 | Stomach.Weld.C0 = Stomach.Weld.C0 * CFrame.Angles(math.rad(-10),0,0) | |
999 | end | |
1000 | Spot.CFrame = Torso.CFrame | |
1001 | for i=1, 5 do | |
1002 | wait(0.0001) | |
1003 | Spot.CFrame = Spot.CFrame * CFrame.new(0,-6.2,-4) | |
1004 | Bp.position = Spot.Position | |
1005 | end | |
1006 | for i=1, 5 do | |
1007 | wait(0.0001) | |
1008 | Spot.CFrame = Spot.CFrame * CFrame.new(0,0,-4) | |
1009 | Bp.position = Spot.Position | |
1010 | end | |
1011 | for i=1, 5 do | |
1012 | wait(0.0001) | |
1013 | Stomach.Weld.C0 = Stomach.Weld.C0 * CFrame.Angles(math.rad(25),0,0) | |
1014 | Spot.CFrame = Spot.CFrame * CFrame.new(0,6.2,-4) | |
1015 | Bp.position = Spot.Position | |
1016 | end | |
1017 | for i, v in pairs(Weapon:GetChildren()) do | |
1018 | if v.Name == "Chidori" or v:IsA("BodyPosition") or v:IsA("BodyGyro") then | |
1019 | v:remove() | |
1020 | end | |
1021 | end | |
1022 | Stomach.Weld.C0 = CFrame.new(0,0.2,0) | |
1023 | Bp:remove() | |
1024 | Bg:remove() | |
1025 | Humanoid.WalkSpeed = 16 | |
1026 | Attack = false | |
1027 | wait(8) | |
1028 | ChidoriAttack = false | |
1029 | end | |
1030 | end | |
1031 | function FireBall() | |
1032 | if Attack == false and Awakening == false and Chakra.Value >= 50 then | |
1033 | Attack = true | |
1034 | Chakra.Value = Chakra.Value - 80 | |
1035 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(5),0,0) | |
1036 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.4) * CFrame.Angles(math.rad(90),0,math.rad(-22.5)) | |
1037 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,0) * CFrame.Angles(0,0,math.rad(-22.5)) | |
1038 | wait(0.0001) | |
1039 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(10),0,0) | |
1040 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(5),0,math.rad(-22.5)) | |
1041 | wait(0.0001) | |
1042 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(10),0,math.rad(-22.5)) | |
1043 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(15),0,0) | |
1044 | wait(0.0001) | |
1045 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(15),0,math.rad(-22.5)) | |
1046 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(20),0,0) | |
1047 | wait(0.0001) | |
1048 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(25),0,math.rad(-22.5)) | |
1049 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(25),0,0) | |
1050 | wait(0.5) | |
1051 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(30),0,math.rad(-22.5)) | |
1052 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(20),0,0) | |
1053 | wait(0.0001) | |
1054 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(15),0,0) | |
1055 | wait(0.0001) | |
1056 | Body.Weld.C0 = CFrame.new(0,1,0.1) * CFrame.Angles(math.rad(10),0,0) | |
1057 | wait(0.0001) | |
1058 | Body.Weld.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(5),0,0) | |
1059 | wait(0.0001) | |
1060 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(0),0,0) | |
1061 | wait(0.0001) | |
1062 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(-5),0,0) | |
1063 | wait(0.0001) | |
1064 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(-10),0,0) | |
1065 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-100) | |
1066 | Fire = Instance.new("Part") | |
1067 | CreatePart(Fire,BrickColor.new("Bright yellow"),Vector3.new(8,8,12),"Fire",Weapon) | |
1068 | Fire.Transparency = 0.4 | |
1069 | Fire.CFrame = Head.CFrame * CFrame.new(0,0,math.random(-2,2)) | |
1070 | Sphere(Vector3.new(1,1,1),Fire) | |
1071 | Bp = Instance.new("BodyPosition") | |
1072 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1073 | Bp.P = 1000 | |
1074 | Bp.position = Spot.Position | |
1075 | Bp.Parent = Fire | |
1076 | game.Debris:AddItem(Fire,2) | |
1077 | function onTouched(hit) | |
1078 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1079 | if Human ~= nil and hit.Parent.Name ~= Player.Name and hit.Parent.Parent.Name ~= Player.Name then | |
1080 | Human:TakeDamage(1) | |
1081 | Flame = Instance.new("Fire") | |
1082 | Flame.Parent = hit | |
1083 | game.Debris:AddItem(Flame,4) | |
1084 | Faint = Instance.new("IntValue") | |
1085 | Faint.Name = "Faint" | |
1086 | Faint.Parent = Human | |
1087 | game.Debris:AddItem(Faint,1) | |
1088 | end | |
1089 | end | |
1090 | Fire.Touched:connect(onTouched) | |
1091 | Ball = Instance.new("Part") | |
1092 | CreatePart(Ball,BrickColor.new("Bright red"),Fire.Size + Vector3.new(0.4,0.4,0.4),"Ball",Weapon) | |
1093 | Ball.Transparency = 0.4 | |
1094 | Ball.CFrame = Fire.CFrame | |
1095 | Sphere(Vector3.new(1,1,1),Ball) | |
1096 | Glue(Fire,Ball,CFrame.new(0,0,0)) | |
1097 | game.Debris:AddItem(Ball,2) | |
1098 | Attack = false | |
1099 | elseif Attack == false and Awakening == true and Chakra.Value >= 50 then | |
1100 | Attack = true | |
1101 | Chakra.Value = Chakra.Value - 80 | |
1102 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(5),0,0) | |
1103 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.4) * CFrame.Angles(math.rad(90),0,math.rad(-22.5)) | |
1104 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,0) * CFrame.Angles(0,0,math.rad(-22.5)) | |
1105 | wait(0.0001) | |
1106 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(10),0,0) | |
1107 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(5),0,math.rad(-22.5)) | |
1108 | wait(0.0001) | |
1109 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(10),0,math.rad(-22.5)) | |
1110 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(15),0,0) | |
1111 | wait(0.0001) | |
1112 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(15),0,math.rad(-22.5)) | |
1113 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(20),0,0) | |
1114 | wait(0.0001) | |
1115 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(25),0,math.rad(-22.5)) | |
1116 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(25),0,0) | |
1117 | wait(0.5) | |
1118 | RArm2.Weld.C0 = CFrame.new(-0.2,-1,-0.1) * CFrame.Angles(math.rad(30),0,math.rad(-22.5)) | |
1119 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(20),0,0) | |
1120 | wait(0.0001) | |
1121 | Body.Weld.C0 = CFrame.new(0,1,0.2) * CFrame.Angles(math.rad(15),0,0) | |
1122 | wait(0.0001) | |
1123 | Body.Weld.C0 = CFrame.new(0,1,0.1) * CFrame.Angles(math.rad(10),0,0) | |
1124 | wait(0.0001) | |
1125 | Body.Weld.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(5),0,0) | |
1126 | wait(0.0001) | |
1127 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(0),0,0) | |
1128 | wait(0.0001) | |
1129 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(-5),0,0) | |
1130 | wait(0.0001) | |
1131 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(-10),0,0) | |
1132 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-100) | |
1133 | Fire = Instance.new("Part") | |
1134 | CreatePart(Fire,BrickColor.new("Bright yellow"),Vector3.new(20,20,20),"Fire",Weapon) | |
1135 | Fire.Transparency = 0.4 | |
1136 | Fire.CFrame = Head.CFrame * CFrame.new(0,0,math.random(-2,2)) | |
1137 | Sphere(Vector3.new(1,1,1),Fire) | |
1138 | Bp = Instance.new("BodyPosition") | |
1139 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1140 | Bp.P = 1000 | |
1141 | Bp.position = Spot.Position | |
1142 | Bp.Parent = Fire | |
1143 | game.Debris:AddItem(Fire,2) | |
1144 | function onTouched(hit) | |
1145 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1146 | if Human ~= nil and hit.Parent.Name ~= Player.Name and hit.Parent.Parent.Name ~= Player.Name then | |
1147 | Human:TakeDamage(2) | |
1148 | Flame = Instance.new("Fire") | |
1149 | Flame.Color = BrickColor.new("Bright red").Color | |
1150 | Flame.SecondaryColor = Flame.Color | |
1151 | Flame.Parent = hit | |
1152 | game.Debris:AddItem(Flame,4) | |
1153 | Faint = Instance.new("IntValue") | |
1154 | Faint.Name = "Faint" | |
1155 | Faint.Parent = Human | |
1156 | game.Debris:AddItem(Faint,1) | |
1157 | end | |
1158 | end | |
1159 | Fire.Touched:connect(onTouched) | |
1160 | Ball = Instance.new("Part") | |
1161 | CreatePart(Ball,BrickColor.new("Bright red"),Fire.Size + Vector3.new(4,4,4),"Ball",Weapon) | |
1162 | Ball.Transparency = 0.4 | |
1163 | Ball.CFrame = Fire.CFrame | |
1164 | Sphere(Vector3.new(1,1,1),Ball) | |
1165 | Glue(Fire,Ball,CFrame.new(0,0,0)) | |
1166 | game.Debris:AddItem(Ball,2) | |
1167 | Spawn(function() | |
1168 | for i=1, 10 do | |
1169 | wait(0.0001) | |
1170 | for i=1, 4 do | |
1171 | wait(0.0001) | |
1172 | for i, v in pairs(Weapon:GetChildren()) do | |
1173 | if v.Name == "Fire" or v.Name == "Ball" then | |
1174 | v.Transparency = v.Transparency + 0.1 | |
1175 | end | |
1176 | end | |
1177 | end | |
1178 | for i=1, 4 do | |
1179 | wait(0.0001) | |
1180 | for i, v in pairs(Weapon:GetChildren()) do | |
1181 | if v.Name == "Fire" or v.Name == "Ball" then | |
1182 | v.Transparency = v.Transparency - 0.1 | |
1183 | end | |
1184 | end | |
1185 | end | |
1186 | end | |
1187 | end) | |
1188 | Attack = false | |
1189 | end | |
1190 | end | |
1191 | function Kirin() | |
1192 | if Attack == false and Chakra.Value >= 500 then | |
1193 | Attack = true | |
1194 | Use = false | |
1195 | for i=1, 5 do | |
1196 | wait(0.0001) | |
1197 | Chakra.Value = Chakra.Value - 100 | |
1198 | end | |
1199 | Humanoid.WalkSpeed = 0 | |
1200 | Bp = Instance.new("BodyPosition") | |
1201 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1202 | Bp.position = Torso.Position | |
1203 | Bp.Parent = Torso | |
1204 | game.Debris:AddItem(Bp,2) | |
1205 | Bg = Instance.new("BodyGyro") | |
1206 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
1207 | Bg.cframe = Torso.CFrame | |
1208 | Bg.Parent = Torso | |
1209 | game.Debris:AddItem(Bg,2) | |
1210 | Spot.Position = Torso.Position + Vector3.new(0,200,0) | |
1211 | Cloud = Instance.new("Part") | |
1212 | CreatePart(Cloud,BladeColor,Vector3.new(0.4,0.4,0.4),"Cloud",Weapon) | |
1213 | Cloud.Anchored = true | |
1214 | Cloud.CFrame = Spot.CFrame | |
1215 | SpecialMesh("http://www.roblox.com/asset/?id=1095708",Vector3.new(1000,200,1000),Cloud) | |
1216 | game.Debris:AddItem(Cloud,4) | |
1217 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-4) | |
1218 | game.Lighting.Brightness = 1 | |
1219 | Camera.CameraType = "Attach" | |
1220 | Camera.CameraSubject = Spot | |
1221 | for i=1, 10 do | |
1222 | wait() | |
1223 | game.Lighting.Brightness = game.Lighting.Brightness - 0.1 | |
1224 | end | |
1225 | for i=1, 10 do | |
1226 | wait() | |
1227 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-i) * CFrame.Angles(0,math.rad(180),0) | |
1228 | end | |
1229 | for i=1, 10 do | |
1230 | wait() | |
1231 | Spot.CFrame = Spot.CFrame * CFrame.new(0,10,0) | |
1232 | end | |
1233 | for i=1, 10 do | |
1234 | wait() | |
1235 | Spot.CFrame = Spot.CFrame * CFrame.new(0,-10,0) | |
1236 | end | |
1237 | game:GetService("Chat"):Chat(Head,"Lol, prepare for doom") | |
1238 | Lightning = Instance.new("Part") | |
1239 | CreatePart(Lightning,PantsColor,Vector3.new(0.4,0.4,0.4),"Lightning",Weapon) | |
1240 | Lightning.Transparency = 1 | |
1241 | Glue(Hand,Lightning,CFrame.new(0,-1,0)) | |
1242 | game.Debris:AddItem(Lightning,10) | |
1243 | Sparkles = Instance.new("Sparkles") | |
1244 | Sparkles.Color = PantsColor.Color | |
1245 | Sparkles.Parent = Lightning | |
1246 | Sparkles = Instance.new("Fire") | |
1247 | Sparkles.Color = PantsColor.Color | |
1248 | Sparkles.SecondaryColor = Sparkles.Color | |
1249 | Sparkles.Parent = Lightning | |
1250 | game.Debris:AddItem(Lightning,1) | |
1251 | Spawn(function() | |
1252 | for i=1, 100 do | |
1253 | wait() | |
1254 | RArm.Weld.C0 = CFrame.new(1,0.2,-0.4) * CFrame.Angles(math.rad(90),0,0) | |
1255 | end | |
1256 | end) | |
1257 | Spot.CFrame = Torso.CFrame * CFrame.new(0,10,10) | |
1258 | game:GetService("Chat"):Chat(Head,"AWOOOOOOOOOOOOO!!!!!") | |
1259 | Dragon = Instance.new("Part") | |
1260 | CreatePart(Dragon,PantsColor,Vector3.new(120,120,120),"Kirin",Weapon) | |
1261 | Dragon.Transparency = 0.4 | |
1262 | Dragon.CFrame = Torso.CFrame * CFrame.new(0,160,-100) | |
1263 | SpecialMesh("http://www.roblox.com/asset?id=45918598",Vector3.new(60,60,200),Dragon) | |
1264 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,-100) | |
1265 | Bp = Instance.new("BodyPosition") | |
1266 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1267 | Bp.position = Spot.Position | |
1268 | Bp.Parent = Dragon | |
1269 | Bg = Instance.new("BodyGyro") | |
1270 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
1271 | Bg.cframe = Torso.CFrame * CFrame.Angles(math.rad(90),0,0) | |
1272 | Bg.Parent = Dragon | |
1273 | game.Debris:AddItem(Dragon,1) | |
1274 | Spot.CFrame = Torso.CFrame * CFrame.new(0,10,-20) | |
1275 | Beam = Instance.new("Part") | |
1276 | CreatePart(Beam,PantsColor,Vector3.new(0.4,0.4,0.4),"Beam",Weapon) | |
1277 | Beam.Transparency = 0.4 | |
1278 | Beam.Anchored = true | |
1279 | Beam.CFrame = Torso.CFrame * CFrame.new(0,0,-40) | |
1280 | Cylinder(Vector3.new(100,99999,100),Beam) | |
1281 | game.Debris:AddItem(Beam,2) | |
1282 | Blast = Instance.new("Part") | |
1283 | CreatePart(Blast,PantsColor,Vector3.new(0.4,0.4,0.4),"Blast",Weapon) | |
1284 | Blast.Transparency = 0.4 | |
1285 | Blast.Anchored = true | |
1286 | Blast.CFrame = Beam.CFrame | |
1287 | SpecialMesh("http://www.roblox.com/asset/?id=20329976",Vector3.new(20,20,20),Blast) | |
1288 | game.Debris:AddItem(Blast,2) | |
1289 | function onTouched(hit) | |
1290 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1291 | if Human ~= nil and hit.Parent.Name ~= Player.Name and Use == false then | |
1292 | Use = true | |
1293 | Faint = Instance.new("IntValue") | |
1294 | Faint.Name = "Faint" | |
1295 | Faint.Parent = Human | |
1296 | game.Debris:AddItem(Faint,1) | |
1297 | Human:TakeDamage(1000) | |
1298 | end | |
1299 | end | |
1300 | Dragon.Touched:connect(onTouched) | |
1301 | for i=1, 20 do | |
1302 | wait() | |
1303 | Beam.Mesh.Scale = Beam.Mesh.Scale + Vector3.new(1,1,1) | |
1304 | Blast.Mesh.Scale = Blast.Mesh.Scale + Vector3.new(1,1,1) | |
1305 | end | |
1306 | game.Lighting.Brightness = 1 | |
1307 | Humanoid.WalkSpeed = 16 | |
1308 | Camera.CameraType = "Track" | |
1309 | Camera.CameraSubject = Head | |
1310 | Attack = false | |
1311 | end | |
1312 | end | |
1313 | function ChidoriStream() | |
1314 | if Attack == false and Streaming == false and Awakening == false and Chakra.Value >= 100 then | |
1315 | Attack = true | |
1316 | Streaming = true | |
1317 | Head.Anchored = true | |
1318 | for i=1, 5 do | |
1319 | wait(0.0001) | |
1320 | Chakra.Value = Chakra.Value - 20 | |
1321 | end | |
1322 | Stream = Instance.new("Part") | |
1323 | CreatePart(Stream,BrickColor.new("Deep blue"),Vector3.new(40,40,40),"Stream",Weapon) | |
1324 | Stream.Transparency = 0.2 | |
1325 | Stream.Anchored = true | |
1326 | Stream.CFrame = Torso.CFrame | |
1327 | Sphere(Vector3.new(1,1,1),Stream) | |
1328 | function onTouched(hit) | |
1329 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1330 | if Human ~= nil and hit.Parent.Name ~= Player.Name then | |
1331 | Faint = Instance.new("IntValue") | |
1332 | Faint.Name = "Faint" | |
1333 | Faint.Parent = Human | |
1334 | game.Debris:AddItem(Faint,1) | |
1335 | Human:TakeDamage(5) | |
1336 | end | |
1337 | end | |
1338 | Stream.Touched:connect(onTouched) | |
1339 | wait(4) | |
1340 | Head.Anchored = false | |
1341 | Stream:remove() | |
1342 | Attack = false | |
1343 | wait(8) | |
1344 | Streaming = false | |
1345 | elseif Attack == false and Streaming == false and Awakening == true and Chakra.Value >= 50 then | |
1346 | Attack = true | |
1347 | Streaming = true | |
1348 | Head.Anchored = true | |
1349 | for i=1, 5 do | |
1350 | wait(0.0001) | |
1351 | Chakra.Value = Chakra.Value - 10 | |
1352 | end | |
1353 | Stream = Instance.new("Part") | |
1354 | CreatePart(Stream,BrickColor.new("Deep blue"),Vector3.new(40,40,40),"Stream",Weapon) | |
1355 | Stream.Transparency = 0.2 | |
1356 | Stream.Anchored = true | |
1357 | Stream.CFrame = Torso.CFrame | |
1358 | Sphere(Vector3.new(1,1,1),Stream) | |
1359 | function onTouched(hit) | |
1360 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1361 | if Human ~= nil and hit.Parent.Name ~= Player.Name then | |
1362 | Faint = Instance.new("IntValue") | |
1363 | Faint.Name = "Faint" | |
1364 | Faint.Parent = Human | |
1365 | game.Debris:AddItem(Faint,1) | |
1366 | Human:TakeDamage(1000) | |
1367 | end | |
1368 | end | |
1369 | Stream.Touched:connect(onTouched) | |
1370 | wait(4) | |
1371 | Head.Anchored = false | |
1372 | Stream:remove() | |
1373 | Attack = false | |
1374 | wait(8) | |
1375 | Streaming = false | |
1376 | end | |
1377 | end | |
1378 | function Awaken() | |
1379 | if Attack == false and Awakening == false and Ready == false and Chakra.Value >= MaxChakra.Value and Humanoid.Health <= 100 then | |
1380 | Attack = true | |
1381 | Ready = true | |
1382 | Awakening = true | |
1383 | Handle.Weld.Part0 = Stomach | |
1384 | Sheath.Weld.Part0 = Stomach | |
1385 | for i, v in pairs(Weapon:GetChildren()) do | |
1386 | if v.Name == "Shirt" or v.Name == "Sleeve" or v.Name == "Symbol" then | |
1387 | v.Transparency = 1 | |
1388 | end | |
1389 | end | |
1390 | SkinColor = BrickColor.new("Dark stone grey") | |
1391 | for i, v in pairs(Weapon:GetChildren()) do | |
1392 | if v.BrickColor == BrickColor.new("Pastel brown") then | |
1393 | v.BrickColor = SkinColor | |
1394 | end | |
1395 | end | |
1396 | for i=1, 30 do | |
1397 | wait(0.0001) | |
1398 | HairColor = BrickColor.new(Color3.new(0,0,i/25)) | |
1399 | for i, v in pairs(Weapon:GetChildren()) do | |
1400 | if v.Name == "Hair" then | |
1401 | v.BrickColor = HairColor | |
1402 | v.Mesh.Scale = v.Mesh.Scale + Vector3.new(0,0.016,0.0006) | |
1403 | v.Weld.C0 = v.Weld.C0 * CFrame.new(0,-0.005,0.0025) | |
1404 | end | |
1405 | end | |
1406 | end | |
1407 | Blade.BrickColor = BrickColor.new("Bright blue") | |
1408 | Edge.BrickColor = BrickColor.new("Bright blue") | |
1409 | Damage.Value = 10 | |
1410 | Wing = Instance.new("Part") | |
1411 | CreatePart(Wing,SkinColor,Vector3.new(0.4,0.4,0.4),"Wing",Weapon) | |
1412 | Block(Vector3.new(1.4,3,1.4),Wing) | |
1413 | ||
1414 | Glue(Body,Wing,CFrame.new(0.8,0.4,0.6) * CFrame.Angles(math.rad(-135),0,math.rad(45))) | |
1415 | Hand = Instance.new("Part") | |
1416 | CreatePart(Hand,SkinColor,Vector3.new(0.4,0.4,0.4),"Hand",Weapon) | |
1417 | Block(Vector3.new(8,7,2),Hand) | |
1418 | ||
1419 | Glue(Wing,Hand,CFrame.new(1.6,-0.6,0) * CFrame.Angles(math.rad(-65),0,math.rad(45))) | |
1420 | Finger = Instance.new("Part") | |
1421 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1422 | Block(Vector3.new(2,10,2),Finger) | |
1423 | ||
1424 | Glue(Hand,Finger,CFrame.new(0,-2,0)) | |
1425 | Finger = Instance.new("Part") | |
1426 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1427 | Block(Vector3.new(2,10,2),Finger) | |
1428 | ||
1429 | Glue(Hand,Finger,CFrame.new(0,-2,0)) | |
1430 | Finger = Instance.new("Part") | |
1431 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1432 | Block(Vector3.new(2,6,2),Finger) | |
1433 | ||
1434 | Glue(Hand,Finger,CFrame.new(2,-1,0) * CFrame.Angles(0,0,math.rad(50))) | |
1435 | Finger = Instance.new("Part") | |
1436 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1437 | Block(Vector3.new(2,8,2),Finger) | |
1438 | ||
1439 | Glue(Hand,Finger,CFrame.new(-1,-2,0) * CFrame.Angles(0,0,math.rad(-25))) | |
1440 | Finger = Instance.new("Part") | |
1441 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1442 | Block(Vector3.new(2,6,2),Finger) | |
1443 | ||
1444 | Glue(Hand,Finger,CFrame.new(-2,-1,0) * CFrame.Angles(0,0,math.rad(-80))) | |
1445 | Finger = Instance.new("Part") | |
1446 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1447 | Block(Vector3.new(2,6,2),Finger) | |
1448 | ||
1449 | Glue(Hand,Finger,CFrame.new(1,-2,0) * CFrame.Angles(0,0,math.rad(25))) | |
1450 | Wing = Instance.new("Part") | |
1451 | CreatePart(Wing,SkinColor,Vector3.new(0.4,0.4,0.4),"Wing",Weapon) | |
1452 | Block(Vector3.new(1.4,3,1.4),Wing) | |
1453 | ||
1454 | Glue(Body,Wing,CFrame.new(-0.8,0.4,0.6) * CFrame.Angles(math.rad(-135),0,math.rad(-45))) | |
1455 | Hand = Instance.new("Part") | |
1456 | CreatePart(Hand,SkinColor,Vector3.new(0.4,0.4,0.4),"Hand",Weapon) | |
1457 | Block(Vector3.new(8,7,2),Hand) | |
1458 | ||
1459 | Glue(Wing,Hand,CFrame.new(-1.6,-0.6,0) * CFrame.Angles(math.rad(-65),0,math.rad(-45))) | |
1460 | Finger = Instance.new("Part") | |
1461 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1462 | Block(Vector3.new(2,10,2),Finger) | |
1463 | ||
1464 | Glue(Hand,Finger,CFrame.new(0,-2,0)) | |
1465 | Finger = Instance.new("Part") | |
1466 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1467 | Block(Vector3.new(2,10,2),Finger) | |
1468 | ||
1469 | Glue(Hand,Finger,CFrame.new(0,-2,0)) | |
1470 | Finger = Instance.new("Part") | |
1471 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1472 | Block(Vector3.new(2,6,2),Finger) | |
1473 | ||
1474 | Glue(Hand,Finger,CFrame.new(2,-1,0) * CFrame.Angles(0,0,math.rad(50))) | |
1475 | Finger = Instance.new("Part") | |
1476 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1477 | Block(Vector3.new(2,8,2),Finger) | |
1478 | ||
1479 | Glue(Hand,Finger,CFrame.new(-1,-2,0) * CFrame.Angles(0,0,math.rad(-25))) | |
1480 | Finger = Instance.new("Part") | |
1481 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1482 | Block(Vector3.new(2,6,2),Finger) | |
1483 | ||
1484 | Glue(Hand,Finger,CFrame.new(-2,-1,0) * CFrame.Angles(0,0,math.rad(-80))) | |
1485 | Finger = Instance.new("Part") | |
1486 | CreatePart(Finger,SkinColor,Vector3.new(0.4,0.4,0.4),"Finger",Weapon) | |
1487 | Block(Vector3.new(2,6,2),Finger) | |
1488 | ||
1489 | Glue(Hand,Finger,CFrame.new(1,-2,0) * CFrame.Angles(0,0,math.rad(25))) | |
1490 | Attack = false | |
1491 | wait(999999) | |
1492 | Awakening = false | |
1493 | for i, v in pairs(Weapon:GetChildren()) do | |
1494 | if v.Name == "Shirt" or v.Name == "Sleeve" or v.Name == "Symbol" then | |
1495 | v.Transparency = 0 | |
1496 | end | |
1497 | end | |
1498 | for i, v in pairs(Weapon:GetChildren()) do | |
1499 | if v.Name == "Wing" or v.Name == "Finger" then | |
1500 | v:remove() | |
1501 | end | |
1502 | end | |
1503 | SkinColor = BrickColor.new("Pastel brown") | |
1504 | for i, v in pairs(Weapon:GetChildren()) do | |
1505 | if v.BrickColor == BrickColor.new("Dark stone grey") then | |
1506 | v.BrickColor = SkinColor | |
1507 | end | |
1508 | end | |
1509 | for i=1, 30 do | |
1510 | wait(0.0001) | |
1511 | HairColor = BrickColor.new("Black") | |
1512 | for i, v in pairs(Weapon:GetChildren()) do | |
1513 | if v.Name == "Hair" then | |
1514 | v.BrickColor = HairColor | |
1515 | v.Mesh.Scale = v.Mesh.Scale + Vector3.new(0,-0.016,-0.0006) | |
1516 | v.Weld.C0 = v.Weld.C0 * CFrame.new(0,0.005,-0.0025) | |
1517 | end | |
1518 | end | |
1519 | end | |
1520 | for i, v in pairs(Torso:GetChildren()) do | |
1521 | if v:IsA("BodyPosition") then | |
1522 | v:remove() | |
1523 | end | |
1524 | end | |
1525 | Blade.BrickColor = BrickColor.new("White") | |
1526 | Edge.BrickColor = BrickColor.new("White") | |
1527 | Damage.Value = 5 | |
1528 | wait(999999) | |
1529 | Ready = false | |
1530 | end | |
1531 | end | |
1532 | function Toggle() | |
1533 | if Attack == false and Sword == Sheathed then | |
1534 | Attack = true | |
1535 | Sword = Drawn | |
1536 | LArm.Weld.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(math.rad(-45),0,math.rad(-45)) | |
1537 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-45),0,0) | |
1538 | wait(0.05) | |
1539 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.2) * CFrame.Angles(math.rad(-90),0,math.rad(-45)) | |
1540 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-65),0,0) | |
1541 | wait(0.05) | |
1542 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.4) * CFrame.Angles(math.rad(-135),0,math.rad(-45)) | |
1543 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-25),0,0) | |
1544 | wait(0.05) | |
1545 | LArm.Weld.C0 = CFrame.new(-1,0.2,0.4) * CFrame.Angles(math.rad(-155),0,math.rad(-25)) | |
1546 | LArm2.Weld.C0 = CFrame.new(0,-1,0.2) * CFrame.Angles(math.rad(-25),0,0) | |
1547 | Handle.Weld.Part0 = Hand2 | |
1548 | Handle.Weld.C0 = CFrame.new(0,-0.4,0) * CFrame.Angles(math.rad(135),0,math.rad(90)) | |
1549 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) * CFrame.Angles(math.rad(90),0,math.rad(-45)) | |
1550 | wait(0.05) | |
1551 | Handle.Weld.C0 = CFrame.new(0,-0.4,0) * CFrame.Angles(math.rad(135),math.rad(-90),math.rad(90)) | |
1552 | wait(0.05) | |
1553 | Handle.Weld.C0 = CFrame.new(0,-0.4,0) * CFrame.Angles(math.rad(45),math.rad(-90),math.rad(90)) | |
1554 | wait(1) | |
1555 | Handle.Weld:remove() | |
1556 | Handle.Anchored = true | |
1557 | Attack = false | |
1558 | end | |
1559 | end | |
1560 | function onKeyDown(key) | |
1561 | key:lower() | |
1562 | if key == "q" then | |
1563 | ShurikenThrow() | |
1564 | elseif key == "e" then | |
1565 | Slash() | |
1566 | elseif key == "0" then | |
1567 | ChakraRestore() | |
1568 | elseif key == "v" then | |
1569 | Chidori() | |
1570 | elseif key == "f" then | |
1571 | FireBall() | |
1572 | elseif key == "g" then | |
1573 | Kirin() | |
1574 | elseif key == "t" then | |
1575 | ChidoriStream() | |
1576 | elseif key == "b" then | |
1577 | Awaken() | |
1578 | elseif key == "r" then | |
1579 | Toggle() | |
1580 | end | |
1581 | end | |
1582 | function onKeyUp(key) | |
1583 | key:lower() | |
1584 | if key == "0" then | |
1585 | Hold = false | |
1586 | Humanoid.WalkSpeed = 16 | |
1587 | elseif key == "f" then | |
1588 | Hold = false | |
1589 | Humanoid.WalkSpeed = 16 | |
1590 | end | |
1591 | end | |
1592 | function onButton1Down(mouse) | |
1593 | if Attack == false and Awakening == false then | |
1594 | Attack = true | |
1595 | for i=1, 20 do | |
1596 | wait(0.1) | |
1597 | if Chakra.Value >= 1 then | |
1598 | Chakra.Value = Chakra.Value - 1 | |
1599 | Humanoid.WalkSpeed = 40 | |
1600 | Sparkles = Instance.new("Sparkles") | |
1601 | Sparkles.Parent = Torso | |
1602 | game.Debris:AddItem(Sparkles,0.2) | |
1603 | else | |
1604 | Attack = false | |
1605 | Humanoid.WalkSpeed = 16 | |
1606 | end | |
1607 | end | |
1608 | Humanoid.WalkSpeed = 16 | |
1609 | Attack = false | |
1610 | elseif Attack == false and Awakening == true then | |
1611 | Attack = true | |
1612 | Action = "" | |
1613 | Bp = Instance.new("BodyPosition") | |
1614 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1615 | Bp.P = 1000 | |
1616 | Bp.position = Torso.Position | |
1617 | Bp.Parent = Torso | |
1618 | Stomach.Weld.C0 = CFrame.new(0,0.2,0) * CFrame.Angles(math.rad(-90),0,0) | |
1619 | for i=1, 40 do | |
1620 | wait(0.0001) | |
1621 | if (mouse.Hit.p - Spot.Position).magnitude <= 200 then | |
1622 | Spot.CFrame = CFrame.new(mouse.Hit.p,Torso.Position) | |
1623 | Bp.position = Spot.Position + Vector3.new(0,20,0) | |
1624 | Torso.CFrame = CFrame.new(Torso.Position,mouse.Hit.p) | |
1625 | else | |
1626 | end | |
1627 | end | |
1628 | for i, v in pairs(Torso:GetChildren()) do | |
1629 | if v:IsA("BodyPosition") then | |
1630 | v:remove() | |
1631 | end | |
1632 | end | |
1633 | Stomach.Weld.C0 = CFrame.new(0,0.2,0) | |
1634 | Attack = false | |
1635 | Action = "Flipping" | |
1636 | end | |
1637 | end | |
1638 | function onSelected(mouse) | |
1639 | mouse.KeyDown:connect(onKeyDown) | |
1640 | mouse.KeyUp:connect(onKeyUp) | |
1641 | mouse.Button1Down:connect(function() onButton1Down(mouse) end) | |
1642 | script.Parent = Char | |
1643 | HopperBin:remove() | |
1644 | end | |
1645 | script.Parent.Selected:connect(onSelected) | |
1646 | function onRunning(speed) | |
1647 | if speed >= 0.1 then | |
1648 | Pose = "Running" | |
1649 | else | |
1650 | Pose = "Standing" | |
1651 | end | |
1652 | end | |
1653 | function onJumping() | |
1654 | Pose = "Jumping" | |
1655 | for i=1, 5 do | |
1656 | wait(0.1) | |
1657 | if Attack == false then | |
1658 | Body.Weld.C0 = CFrame.new(0,1,-0.4) * CFrame.Angles(math.rad(-25),0,0) | |
1659 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1660 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1661 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1662 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1663 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,-0.4) * CFrame.Angles(math.rad(45),0,0) | |
1664 | RLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-65),0,0) | |
1665 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,-0.4) * CFrame.Angles(math.rad(65),0,0) | |
1666 | LLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-45),0,0) | |
1667 | end | |
1668 | end | |
1669 | end | |
1670 | Humanoid.Running:connect(onRunning) | |
1671 | Humanoid.Jumping:connect(onJumping) | |
1672 | function onJumping() | |
1673 | Pose = "Jumping" | |
1674 | for i=1, 5 do | |
1675 | wait(0.1) | |
1676 | if Attck == false then | |
1677 | Body.Weld.C0 = CFrame.new(0,1,-0.4) * CFrame.Angles(math.rad(-25),0,0) | |
1678 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1679 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1680 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1681 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1682 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,-0.4) * CFrame.Angles(math.rad(45),0,0) | |
1683 | RLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-65),0,0) | |
1684 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,-0.4) * CFrame.Angles(math.rad(65),0,0) | |
1685 | LLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-45),0,0) | |
1686 | end | |
1687 | end | |
1688 | end | |
1689 | Humanoid.Died:connect(onDied) | |
1690 | Humanoid.Running:connect(onRunning) | |
1691 | Humanoid.Jumping:connect(onJumping) | |
1692 | Spawn(function() | |
1693 | while true do | |
1694 | wait() | |
1695 | if Pose == "Running" and Attack == false then | |
1696 | Body.Weld.C0 = CFrame.new(0,1,-0.1) * CFrame.Angles(math.rad(-15),0,0) | |
1697 | RArm.Weld.C0 = CFrame.new(1,0,0.4) * CFrame.Angles(math.rad(-90),0,0) | |
1698 | LArm.Weld.C0 = CFrame.new(-1,0,0.4) * CFrame.Angles(math.rad(-90),0,0) | |
1699 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) | |
1700 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1701 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) | |
1702 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1703 | for i=1, 4 do | |
1704 | wait(0.01) | |
1705 | if Pose == "Running" and Attack == false then | |
1706 | RArm.Weld.C0 = RArm.Weld.C0 * CFrame.Angles(math.rad(2),0,0) | |
1707 | RArm2.Weld.C0 = RArm2.Weld.C0 * CFrame.Angles(math.rad(2),0,0) | |
1708 | LArm.Weld.C0 = LArm.Weld.C0 * CFrame.Angles(math.rad(-2),0,0) | |
1709 | LArm2.Weld.C0 = LArm2.Weld.C0 * CFrame.Angles(math.rad(-2),0,0) | |
1710 | else | |
1711 | end | |
1712 | end | |
1713 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) * CFrame.Angles(math.rad(45),0,0) | |
1714 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-15),0,0) | |
1715 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) * CFrame.Angles(math.rad(-45),0,0) | |
1716 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-15),0,0) | |
1717 | for i=1, 4 do | |
1718 | wait(0.01) | |
1719 | if Pose == "Running" and Attack == false then | |
1720 | RArm.Weld.C0 = RArm.Weld.C0 * CFrame.Angles(math.rad(-4),0,0) | |
1721 | RArm2.Weld.C0 = RArm2.Weld.C0 * CFrame.Angles(math.rad(-4),0,0) | |
1722 | LArm.Weld.C0 = LArm.Weld.C0 * CFrame.Angles(math.rad(4),0,0) | |
1723 | LArm2.Weld.C0 = LArm2.Weld.C0 * CFrame.Angles(math.rad(4),0,0) | |
1724 | else | |
1725 | end | |
1726 | end | |
1727 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) * CFrame.Angles(math.rad(-45),0,0) | |
1728 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-15),0,0) | |
1729 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) * CFrame.Angles(math.rad(45),0,0) | |
1730 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-15),0,0) | |
1731 | for i=1, 4 do | |
1732 | wait(0.01) | |
1733 | if Pose == "Running" and Attack == false then | |
1734 | RArm.Weld.C0 = RArm.Weld.C0 * CFrame.Angles(math.rad(2),0,0) | |
1735 | RArm2.Weld.C0 = RArm2.Weld.C0 * CFrame.Angles(math.rad(2),0,0) | |
1736 | LArm.Weld.C0 = LArm.Weld.C0 * CFrame.Angles(math.rad(-2),0,0) | |
1737 | LArm2.Weld.C0 = LArm2.Weld.C0 * CFrame.Angles(math.rad(-2),0,0) | |
1738 | else | |
1739 | end | |
1740 | end | |
1741 | RArm.Weld.C0 = CFrame.new(1,-0.2,0) | |
1742 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1743 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) | |
1744 | LArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1745 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) | |
1746 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1747 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) | |
1748 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1749 | end | |
1750 | end | |
1751 | end) | |
1752 | function onTouched(hit) | |
1753 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1754 | if Human ~= nil and hit.Parent.Name == Char.Name and hit.Name == "Torso" then | |
1755 | Glue(Handle,Body,CFrame.new(0,0,0)) | |
1756 | Handle.Anchored = false | |
1757 | Sword = Sheathed | |
1758 | end | |
1759 | end | |
1760 | Handle.Touched:connect(onTouched) | |
1761 | function onTouched(hit) | |
1762 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1763 | if Human ~= nil and Combo2 == true or Combo3 == true and Attack == true then | |
1764 | Human:TakeDamage(Damage.Value) | |
1765 | end | |
1766 | end | |
1767 | Blade.Touched:connect(onTouched) | |
1768 | function onTouched(hit) | |
1769 | Human = hit.Parent:FindFirstChild("Humanoid") | |
1770 | if Human ~= nil and Combo2 == true or Combo3 == true and Attack == true then | |
1771 | Human:TakeDamage(Damage.Value) | |
1772 | end | |
1773 | end | |
1774 | Edge.Touched:connect(onTouched) | |
1775 | function onTouched(hit) | |
1776 | if hit.Name == "Wall" and Flipping == false and Action == "Flip" then | |
1777 | Flipping = true | |
1778 | Bp = Instance.new("BodyPosition") | |
1779 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1780 | Bp.P = 1000 | |
1781 | Bp.position = Torso.Position | |
1782 | Bp.Parent = Torso | |
1783 | Bg = Instance.new("BodyGyro") | |
1784 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
1785 | Bg.P = 69999999 | |
1786 | Bg.cframe = Torso.CFrame | |
1787 | Bg.Parent = Torso | |
1788 | Spot.CFrame = Torso.CFrame * CFrame.new(0,20,10) | |
1789 | Bp.position = Spot.Position | |
1790 | for i=1, 18 do | |
1791 | wait(0.0001) | |
1792 | Spot.CFrame = Spot.CFrame * CFrame.new(0,-0.4,1) | |
1793 | Bp.position = Spot.Position | |
1794 | Stomach.Weld.C0 = Stomach.Weld.C0 * CFrame.Angles(math.rad(20),0,0) | |
1795 | Body.Weld.C0 = CFrame.new(0,1,-0.4) * CFrame.Angles(math.rad(-25),0,0) | |
1796 | if Attack == false then | |
1797 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1798 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1799 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1800 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1801 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,-0.4) * CFrame.Angles(math.rad(45),0,0) | |
1802 | RLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-65),0,0) | |
1803 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,-0.4) * CFrame.Angles(math.rad(65),0,0) | |
1804 | LLeg2.Weld.C0 = CFrame.new(0,-1,0.6) * CFrame.Angles(math.rad(-45),0,0) | |
1805 | end | |
1806 | end | |
1807 | Stomach.Weld.C0 = CFrame.new(0,0.2,0) | |
1808 | Bp:remove() | |
1809 | Bg:remove() | |
1810 | Flipping = false | |
1811 | end | |
1812 | end | |
1813 | RLeg2.Touched:connect(onTouched) | |
1814 | Spawn(function() | |
1815 | while true do | |
1816 | wait() | |
1817 | if Pose == "Standing" and Attack == false then | |
1818 | Body.Weld.C0 = CFrame.new(0,1,0) | |
1819 | RArm.Weld.C0 = CFrame.new(1,-0.2,0) | |
1820 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1821 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) | |
1822 | LArm2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1823 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) | |
1824 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1825 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) | |
1826 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1827 | wait(1) | |
1828 | if Pose == "Standing" and Attack == false then | |
1829 | Body.Weld.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-5),0,0) | |
1830 | RArm.Weld.C0 = CFrame.new(1,-0.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1831 | RArm2.Weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(5),0,0) | |
1832 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1833 | LArm2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1834 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1835 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1836 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1837 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1838 | wait(1) | |
1839 | if Pose == "Standing" and Attack == false then | |
1840 | Body.Weld.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-10),0,0) | |
1841 | RArm.Weld.C0 = CFrame.new(1,-0.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1842 | RArm2.Weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-5),0,0) | |
1843 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1844 | LArm2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1845 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1846 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-5),0,0) | |
1847 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1848 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(5),0,0) | |
1849 | wait(1) | |
1850 | if Pose == "Standing" and Attack == false then | |
1851 | Body.Weld.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(-15),0,0) | |
1852 | RArm.Weld.C0 = CFrame.new(1,-0.2,0) * CFrame.Angles(math.rad(-10),0,0) | |
1853 | RArm2.Weld.C0 = CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-10),0,0) | |
1854 | LArm.Weld.C0 = CFrame.new(-1,-0.2,0) * CFrame.Angles(math.rad(10),0,0) | |
1855 | LArm2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(10),0,0) | |
1856 | RLeg.Weld.C0 = CFrame.new(0.5,-1.2,0) * CFrame.Angles(math.rad(-10),0,0) | |
1857 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(-10),0,0) | |
1858 | LLeg.Weld.C0 = CFrame.new(-0.5,-1.2,0) * CFrame.Angles(math.rad(10),0,0) | |
1859 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) * CFrame.Angles(math.rad(10),0,0) | |
1860 | end | |
1861 | end | |
1862 | end | |
1863 | end | |
1864 | end | |
1865 | end) | |
1866 | Spawn(function() | |
1867 | while true do | |
1868 | wait() | |
1869 | if Awakening == true then | |
1870 | for i=1, 4 do | |
1871 | wait(0.1) | |
1872 | for i, v in pairs(Weapon:GetChildren()) do | |
1873 | if v.Name == "Wing" then | |
1874 | v.Weld.C0 = v.Weld.C0 * CFrame.Angles(math.rad(10),0,0) | |
1875 | end | |
1876 | end | |
1877 | end | |
1878 | for i=1, 4 do | |
1879 | wait(0.1) | |
1880 | for i, v in pairs(Weapon:GetChildren()) do | |
1881 | if v.Name == "Wing" then | |
1882 | v.Weld.C0 = v.Weld.C0 * CFrame.Angles(math.rad(-10),0,0) | |
1883 | end | |
1884 | end | |
1885 | end | |
1886 | end | |
1887 | end | |
1888 | end) | |
1889 | Spawn(function() | |
1890 | while true do | |
1891 | wait() | |
1892 | if Humanoid.Health <= 1 then | |
1893 | Attack = true | |
1894 | Bp = Instance.new("BodyPosition") | |
1895 | Bp.maxForce = Vector3.new(0,math.huge,0) | |
1896 | Bp.position = workspace.Base.Position + Vector3.new(0,1,0) | |
1897 | Bp.Parent = Torso | |
1898 | Bg = Instance.new("BodyGyro") | |
1899 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
1900 | Bg.cframe = CFrame.Angles(math.rad(90),0,0) | |
1901 | Bg.Parent = Torso | |
1902 | for i=1, 100 do | |
1903 | wait(0.01) | |
1904 | Bp.position = Bp.position + Vector3.new(math.random(-0.01,0.01),0,math.random(-0.01,0.01)) | |
1905 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1906 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1907 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1908 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1909 | RLeg.Weld.C0 = CFrame.new(0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(45)) | |
1910 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1911 | LLeg.Weld.C0 = CFrame.new(-0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(-45)) | |
1912 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1913 | end | |
1914 | Model = Instance.new("Model") | |
1915 | Model.Parent = workspace | |
1916 | Torso = Instance.new("Part") | |
1917 | Torso.Name = "Torso" | |
1918 | Torso.Anchored = true | |
1919 | Torso.Transparency = 1 | |
1920 | Torso.CanCollide = false | |
1921 | Torso.Position = Vector3.new(0,100000,0) | |
1922 | Human = Instance.new("Humanoid") | |
1923 | Human.Parent = Model | |
1924 | Human.Torso = Torso | |
1925 | Player.Character = Model | |
1926 | end | |
1927 | end | |
1928 | end) | |
1929 | Spawn(function() | |
1930 | while true do | |
1931 | wait() | |
1932 | if Humanoid:FindFirstChild("Faint") ~= nil then | |
1933 | Attack = true | |
1934 | Bp = Instance.new("BodyPosition") | |
1935 | Bp.maxForce = Vector3.new(0,math.huge,0) | |
1936 | Bp.position = workspace.Base.Position + Vector3.new(0,1,0) | |
1937 | Bp.Parent = Torso | |
1938 | game.Debris:AddItem(Bp,8) | |
1939 | Bg = Instance.new("BodyGyro") | |
1940 | Bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
1941 | Bg.cframe = CFrame.Angles(math.rad(90),0,0) | |
1942 | Bg.Parent = Torso | |
1943 | game.Debris:AddItem(Bg,8) | |
1944 | for i=1, 80 do | |
1945 | wait(0.1) | |
1946 | Bp.position = Bp.position + Vector3.new(math.random(-0.01,0.01),0,math.random(-0.01,0.01)) | |
1947 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1948 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1949 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1950 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1951 | RLeg.Weld.C0 = CFrame.new(0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(45)) | |
1952 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1953 | LLeg.Weld.C0 = CFrame.new(-0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(-45)) | |
1954 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1955 | end | |
1956 | Humanoid.Jump = true | |
1957 | Attack = false | |
1958 | end | |
1959 | end | |
1960 | end) | |
1961 | Spawn(function() | |
1962 | while true do | |
1963 | wait() | |
1964 | Flung = Humanoid:FindFirstChild("Flung") | |
1965 | if Flung ~= nil then | |
1966 | Attack = true | |
1967 | Spot.CFrame = Torso.CFrame * CFrame.new(0,0,100) | |
1968 | Bp = Instance.new("BodyPosition") | |
1969 | Bp.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1970 | Bp.P = 10000 | |
1971 | Bp.position = Spot.Position | |
1972 | Bp.Parent = Torso | |
1973 | game.Debris:AddItem(Bp,1) | |
1974 | Bg = Instance.new("BodyGyro") | |
1975 | Bg.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
1976 | Bg.cframe = Torso.CFrame | |
1977 | Bg.Parent = Torso | |
1978 | game.Debris:AddItem(Bg,1) | |
1979 | for i=1, 30 do | |
1980 | wait(0.01) | |
1981 | Bg.cframe = Bg.cframe * CFrame.Angles(0,0,math.rad(10)) | |
1982 | RArm.Weld.C0 = CFrame.new(1.6,0.2,0) * CFrame.Angles(0,math.rad(-25),math.rad(90)) | |
1983 | RArm2.Weld.C0 = CFrame.new(0,-1,0) | |
1984 | LArm.Weld.C0 = CFrame.new(-1.6,0.2,0) * CFrame.Angles(0,math.rad(25),math.rad(-90)) | |
1985 | LArm2.Weld.C0 = CFrame.new(0,-1,-0) | |
1986 | RLeg.Weld.C0 = CFrame.new(0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(45)) | |
1987 | RLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1988 | LLeg.Weld.C0 = CFrame.new(-0.6,-1.2,0) * CFrame.Angles(0,0,math.rad(-45)) | |
1989 | LLeg2.Weld.C0 = CFrame.new(0,-1.2,0) | |
1990 | end | |
1991 | Attack = false | |
1992 | end | |
1993 | end | |
1994 | end) | |
1995 | Spawn(function() | |
1996 | while true do | |
1997 | wait() | |
1998 | BarTracking.Size = UDim2.new(Chakra.Value/MaxChakra.Value,0,1,0) | |
1999 | BarTracking2.Size = UDim2.new(Humanoid.Health/Humanoid.MaxHealth,0,1,0) | |
2000 | end | |
2001 | end) | |
2002 | Spawn(function() | |
2003 | while true do | |
2004 | wait() | |
2005 | if Chakra.Value >= MaxChakra.Value then | |
2006 | Chakra.Value = MaxChakra.Value | |
2007 | end | |
2008 | end | |
2009 | end) | |
2010 | Spawn(function() | |
2011 | while true do | |
2012 | wait() | |
2013 | if Humanoid.Health <= 1 then | |
2014 | Humanoid.Health = 1 | |
2015 | end | |
2016 | end | |
2017 | end) | |
2018 | Spawn(function() | |
2019 | while true do | |
2020 | for i=1, 2 do | |
2021 | Circle.Image = "http://www.roblox.com/asset/?id=55585187" | |
2022 | wait(0.1) | |
2023 | Circle.Image = "http://www.roblox.com/asset/?id=67713329" | |
2024 | wait(0.1) | |
2025 | end | |
2026 | for i=1, 2 do | |
2027 | Circle.Image = "http://www.roblox.com/asset/?id=55585187" | |
2028 | wait(0.1) | |
2029 | Circle.Image = "http://www.roblox.com/asset/?id=67713329" | |
2030 | wait(0.1) | |
2031 | end | |
2032 | end | |
2033 | end) | |
2034 | Spawn(function() | |
2035 | while true do | |
2036 | wait(0.1) | |
2037 | if Attack == false then | |
2038 | Time = Time + 0.1 | |
2039 | end | |
2040 | end | |
2041 | end) | |
2042 | Spawn(function() | |
2043 | while true do | |
2044 | wait() | |
2045 | if Time >= 1 and Attack == false and Awakening == false and Handle:FindFirstChild("Weld") ~= nil then | |
2046 | Combo = true | |
2047 | Combo2 = false | |
2048 | Combo3 = false | |
2049 | Handle.Weld.Part0 = Body | |
2050 | Handle.Weld.C0 = CFrame.new(-0.8,1.2,0.9) * CFrame.Angles(0,0,math.rad(45)) | |
2051 | Sheath.Weld.Part0 = Body | |
2052 | Sheath.Weld.C0 = CFrame.new(1,-0.6,0.9) * CFrame.Angles(0,0,math.rad(45)) | |
2053 | elseif Time >= 1 and Attack == false and Awakening == true and Handle:FindFirstChild("Weld") ~= nil then | |
2054 | Combo = true | |
2055 | Combo2 = false | |
2056 | Combo3 = false | |
2057 | Handle.Weld.Part0 = Stomach | |
2058 | Handle.Weld.C0 = CFrame.new(-1.4,1.2,0.9) * CFrame.Angles(0,0,math.rad(45)) | |
2059 | Sheath.Weld.C0 = CFrame.new(0.4,-0.6,0.9) * CFrame.Angles(0,0,math.rad(45)) | |
2060 | end | |
2061 | end | |
2062 | end) |