SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Excidium Script created by: | |
3 | Fenrier: Everything. | |
4 | turdulator: Damage shower, Inspiration for the taunt kill. | |
5 | If you're gonna steal this, then please I ask you. Please don't forum,free model, give | |
6 | away, or anything like that to this script. Thank you very much :) | |
7 | Percent done: haxcaikz% [DDDEEERRRPPP......] | |
8 | ]] | |
9 | - | Player = game:GetService("Players").Sora295 |
9 | + | Player = game:GetService("Players").OniTaiji |
10 | Character = Player.Character | |
11 | Anime = Character:FindFirstChild("Animate") | |
12 | Anime:Destroy() -- Sorry i just named it like that done get offended otaku fans XD | |
13 | PlayerGui = Player.PlayerGui | |
14 | Backpack = Player.Backpack | |
15 | Torso = Character.Torso | |
16 | Head = Character.Head | |
17 | LeftArm = Character["Left Arm"] | |
18 | LeftLeg = Character["Left Leg"] | |
19 | RightArm = Character["Right Arm"] | |
20 | RightLeg = Character["Right Leg"] | |
21 | LS = Torso["Left Shoulder"] | |
22 | LH = Torso["Left Hip"] | |
23 | RS = Torso["Right Shoulder"] | |
24 | RH = Torso["Right Hip"] | |
25 | attacktype = 1 | |
26 | damage = 3 | |
27 | oridamage = 3 | |
28 | --player | |
29 | player = nil | |
30 | --save shoulders | |
31 | RSH, LSH = nil, nil | |
32 | --welds | |
33 | RW, LW = Instance.new("Weld"), Instance.new("Weld") | |
34 | --what anim | |
35 | anim = "none" | |
36 | CF = Torso.CFrame | |
37 | --debounces | |
38 | debounce1 = false | |
39 | walking = false | |
40 | fightstance = false | |
41 | attacking = false | |
42 | attackdebounce = false | |
43 | --SoulPower = true | |
44 | if Character:findFirstChild("Excidium",true) ~= nil then | |
45 | Character:findFirstChild("Excidium",true).Parent = nil | |
46 | end | |
47 | ||
48 | ||
49 | ||
50 | local modelzorz = Instance.new("Model") | |
51 | modelzorz.Name = "Excidium" | |
52 | modelzorz.Parent = nil | |
53 | ||
54 | local ExciHandle = Instance.new("Part") | |
55 | ExciHandle.Material = "SmoothPlastic" | |
56 | ExciHandle.formFactor = 1 | |
57 | ExciHandle.Parent = modelzorz | |
58 | ExciHandle.Transparency = 0 | |
59 | ExciHandle.CanCollide = false | |
60 | ExciHandle.BrickColor = BrickColor.new("Really black") | |
61 | ExciHandle.Name = "ExcidiumHandle" | |
62 | ExciHandle.Size = Vector3.new(1,1,1) | |
63 | ExciHandle.CFrame = Torso.CFrame | |
64 | ||
65 | local ExciPart1 = Instance.new("Part") | |
66 | ExciPart1.Material = "SmoothPlastic" | |
67 | ExciPart1.formFactor = 1 | |
68 | ExciPart1.Parent = modelzorz | |
69 | ExciPart1.Transparency = 0 | |
70 | ExciPart1.CanCollide = false | |
71 | ExciPart1.BottomSurface = "Smooth" | |
72 | ExciPart1.TopSurface = "Smooth" | |
73 | ExciPart1.BrickColor = BrickColor.new("Medium stone grey") | |
74 | ExciPart1.Material = "Wood" | |
75 | ExciPart1.Name = "ExcidiumPart1" | |
76 | ExciPart1.Size = Vector3.new(1,7,1) | |
77 | ExciPart1.CFrame = Torso.CFrame | |
78 | local ExciPart2 = Instance.new("Part") | |
79 | ExciPart2.Material = "SmoothPlastic" | |
80 | ExciPart2.formFactor = 1 | |
81 | ExciPart2.Parent = modelzorz | |
82 | ExciPart2.Transparency = 0 | |
83 | ExciPart2.CanCollide = false | |
84 | ExciPart2.BrickColor = BrickColor.new("Dark stone grey") | |
85 | ExciPart2.Name = "ExcidiumPart2" | |
86 | ExciPart2.Size = Vector3.new(1,2,2) | |
87 | ExciPart2.CFrame = Torso.CFrame | |
88 | local ExciPart3 = Instance.new("Part") | |
89 | ExciPart3.Material = "SmoothPlastic" | |
90 | ExciPart3.formFactor = 1 | |
91 | ExciPart3.Parent = modelzorz | |
92 | ExciPart3.Transparency = 0 | |
93 | ExciPart3.CanCollide = false | |
94 | ExciPart3.BrickColor = BrickColor.new("Really black") | |
95 | ExciPart3.Name = "ExcidiumPart3" | |
96 | ExciPart3.Size = Vector3.new(1,2,2) | |
97 | ExciPart3.CFrame = Torso.CFrame | |
98 | ||
99 | local ExciBlade1 = Instance.new("Part") | |
100 | ExciBlade1.Material = "SmoothPlastic" | |
101 | ExciBlade1.formFactor = 1 | |
102 | ExciBlade1.Parent = modelzorz | |
103 | ExciBlade1.Transparency = 0 | |
104 | ExciBlade1.Reflectance = 0.2 | |
105 | ExciBlade1.CanCollide = false | |
106 | ExciBlade1.BottomSurface = "Smooth" | |
107 | ExciBlade1.TopSurface = "Smooth" | |
108 | ExciBlade1.BrickColor = BrickColor.new("White") | |
109 | ExciBlade1.Name = "ExcidiumBlade1" | |
110 | ExciBlade1.Size = Vector3.new(1,1,1) | |
111 | ExciBlade1.CFrame = Torso.CFrame | |
112 | local ExciBlade2 = Instance.new("Part") | |
113 | ExciBlade2.Material = "SmoothPlastic" | |
114 | ExciBlade2.formFactor = 1 | |
115 | ExciBlade2.Parent = modelzorz | |
116 | ExciBlade2.Transparency = 0 | |
117 | ExciBlade2.Reflectance = 0.2 | |
118 | ExciBlade2.CanCollide = false | |
119 | ExciBlade2.BottomSurface = "Smooth" | |
120 | ExciBlade2.TopSurface = "Smooth" | |
121 | ExciBlade2.BrickColor = BrickColor.new("White") | |
122 | ExciBlade2.Name = "ExcidiumBlade2" | |
123 | ExciBlade2.Size = Vector3.new(1,1,1) | |
124 | ExciBlade2.CFrame = Torso.CFrame | |
125 | local ExciBlade3 = Instance.new("Part") | |
126 | ExciBlade3.Material = "SmoothPlastic" | |
127 | ExciBlade3.formFactor = 1 | |
128 | ExciBlade3.Parent = modelzorz | |
129 | ExciBlade3.Transparency = 0 | |
130 | ExciBlade3.Reflectance = 0.2 | |
131 | ExciBlade3.CanCollide = false | |
132 | ExciBlade3.BottomSurface = "Smooth" | |
133 | ExciBlade3.TopSurface = "Smooth" | |
134 | ExciBlade3.BrickColor = BrickColor.new("White") | |
135 | ExciBlade3.Name = "ExcidiumBlade3" | |
136 | ExciBlade3.Size = Vector3.new(1,1,2) | |
137 | ExciBlade3.CFrame = Torso.CFrame | |
138 | local ExciBlade4 = Instance.new("Part") | |
139 | ExciBlade4.Material = "SmoothPlastic" | |
140 | ExciBlade4.formFactor = 1 | |
141 | ExciBlade4.Parent = modelzorz | |
142 | ExciBlade4.Transparency = 0 | |
143 | ExciBlade4.Reflectance = 0.2 | |
144 | ExciBlade4.CanCollide = false | |
145 | ExciBlade4.BottomSurface = "Smooth" | |
146 | ExciBlade4.TopSurface = "Smooth" | |
147 | ExciBlade4.BrickColor = BrickColor.new("White") | |
148 | ExciBlade4.Name = "ExcidiumBlade4" | |
149 | ExciBlade4.Size = Vector3.new(1,1,2) | |
150 | ExciBlade4.CFrame = Torso.CFrame | |
151 | local ExciBlade5 = Instance.new("Part") | |
152 | ExciBlade5.Material = "SmoothPlastic" | |
153 | ExciBlade5.formFactor = 1 | |
154 | ExciBlade5.Parent = modelzorz | |
155 | ExciBlade5.Transparency = 0 | |
156 | ExciBlade5.Reflectance = 0.2 | |
157 | ExciBlade5.CanCollide = false | |
158 | ExciBlade5.BottomSurface = "Smooth" | |
159 | ExciBlade5.TopSurface = "Smooth" | |
160 | ExciBlade5.BrickColor = BrickColor.new("White") | |
161 | ExciBlade5.Name = "ExcidiumBlade5" | |
162 | ExciBlade5.Size = Vector3.new(1,1,3) | |
163 | ExciBlade5.CFrame = Torso.CFrame | |
164 | local ExciBlade6 = Instance.new("Part") | |
165 | ExciBlade6.Material = "SmoothPlastic" | |
166 | ExciBlade6.formFactor = 1 | |
167 | ExciBlade6.Parent = modelzorz | |
168 | ExciBlade6.Transparency = 0 | |
169 | ExciBlade6.Reflectance = 0.2 | |
170 | ExciBlade6.CanCollide = false | |
171 | ExciBlade6.BottomSurface = "Smooth" | |
172 | ExciBlade6.TopSurface = "Smooth" | |
173 | ExciBlade6.BrickColor = BrickColor.new("White") | |
174 | ExciBlade6.Name = "ExcidiumBlade6" | |
175 | ExciBlade6.Size = Vector3.new(1,1,3) | |
176 | ExciBlade6.CFrame = Torso.CFrame | |
177 | modelzorz:BreakJoints() | |
178 | ||
179 | local msh1 = Instance.new("CylinderMesh") | |
180 | msh1.Parent = ExciHandle | |
181 | msh1.Scale = Vector3.new(0.51,1,0.51) | |
182 | local msh2 = Instance.new("SpecialMesh") | |
183 | msh2.Parent = ExciPart1 | |
184 | msh2.MeshType = "Head" | |
185 | msh2.Scale = Vector3.new(0.5,1,0.5) | |
186 | local msh3 = Instance.new("BlockMesh") | |
187 | msh3.Parent = ExciPart2 | |
188 | msh3.Scale = Vector3.new(0.51,1.1,0.6) | |
189 | local msh4 = Instance.new("CylinderMesh") | |
190 | msh4.Parent = ExciPart3 | |
191 | msh4.Scale = Vector3.new(0.8,0.8,0.8) | |
192 | local msh5 = Instance.new("SpecialMesh") | |
193 | msh5.Parent = ExciBlade1 | |
194 | msh5.MeshType = "Wedge" | |
195 | msh5.Scale = Vector3.new(0.1,1,1.1) | |
196 | local msh6 = Instance.new("SpecialMesh") | |
197 | msh6.Parent = ExciBlade2 | |
198 | msh6.MeshType = "Wedge" | |
199 | msh6.Scale = Vector3.new(0.1,1,1.1) | |
200 | local msh7 = Instance.new("SpecialMesh") | |
201 | msh7.Parent = ExciBlade3 | |
202 | msh7.MeshType = "Wedge" | |
203 | msh7.Scale = Vector3.new(0.1,1,0.8) | |
204 | local msh8 = Instance.new("SpecialMesh") | |
205 | msh8.Parent = ExciBlade4 | |
206 | msh8.MeshType = "Wedge" | |
207 | msh8.Scale = Vector3.new(0.1,1,0.8) | |
208 | local msh9 = Instance.new("SpecialMesh") | |
209 | msh9.Parent = ExciBlade5 | |
210 | msh9.MeshType = "Wedge" | |
211 | msh9.Scale = Vector3.new(0.1,0.7,0.8) | |
212 | local msh10 = Instance.new("SpecialMesh") | |
213 | msh10.Parent = ExciBlade6 | |
214 | msh10.MeshType = "Wedge" | |
215 | msh10.Scale = Vector3.new(0.1,0.7,0.8) | |
216 | ||
217 | local wld1 = Instance.new("Weld") | |
218 | wld1.Parent = ExciHandle | |
219 | wld1.Part0 = ExciHandle | |
220 | wld1.Part1 = LeftArm | |
221 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
222 | local wld2 = Instance.new("Weld") | |
223 | wld2.Parent = ExciPart1 | |
224 | wld2.Part0 = ExciPart1 | |
225 | wld2.Part1 = ExciHandle | |
226 | wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0) | |
227 | local wld3 = Instance.new("Weld") | |
228 | wld3.Parent = ExciPart2 | |
229 | wld3.Part0 = ExciPart2 | |
230 | wld3.Part1 = ExciPart1 | |
231 | wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-4.5,0) | |
232 | local wld4 = Instance.new("Weld") | |
233 | wld4.Parent = ExciPart3 | |
234 | wld4.Part0 = ExciPart3 | |
235 | wld4.Part1 = ExciPart1 | |
236 | wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-3.5,0) | |
237 | local wld5 = Instance.new("Weld") | |
238 | wld5.Parent = ExciBlade1 | |
239 | wld5.Part0 = ExciBlade1 | |
240 | wld5.Part1 = ExciPart2 | |
241 | wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,1) | |
242 | local wld6 = Instance.new("Weld") | |
243 | wld6.Parent = ExciBlade2 | |
244 | wld6.Part0 = ExciBlade2 | |
245 | wld6.Part1 = ExciPart2 | |
246 | wld6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(180)) * CFrame.new(0,0.6,-1) | |
247 | local wld7 = Instance.new("Weld") | |
248 | wld7.Parent = ExciBlade3 | |
249 | wld7.Part0 = ExciBlade3 | |
250 | wld7.Part1 = ExciPart2 | |
251 | wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.7,1.2) | |
252 | local wld8 = Instance.new("Weld") | |
253 | wld8.Parent = ExciBlade4 | |
254 | wld8.Part0 = ExciBlade4 | |
255 | wld8.Part1 = ExciPart2 | |
256 | wld8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,math.rad(180)) * CFrame.new(0,-0.7,-1.2) | |
257 | local wld9 = Instance.new("Weld") | |
258 | wld9.Parent = ExciBlade5 | |
259 | wld9.Part0 = ExciBlade5 | |
260 | wld9.Part1 = ExciPart2 | |
261 | wld9.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,-2,-0.42) | |
262 | local wld10 = Instance.new("Weld") | |
263 | wld10.Parent = ExciBlade6 | |
264 | wld10.Part0 = ExciBlade6 | |
265 | wld10.Part1 = ExciPart2 | |
266 | wld10.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(180),0) * CFrame.new(0,-2,0.42) | |
267 | ||
268 | if (script.Parent.className ~= "HopperBin") then | |
269 | Tool = Instance.new("HopperBin") | |
270 | Tool.Parent = Backpack | |
271 | Tool.Name = "Excidium" | |
272 | script.Parent = Tool | |
273 | end | |
274 | Bin = script.Parent | |
275 | ||
276 | function unequipweld() | |
277 | modelzorz.Parent = nil | |
278 | end | |
279 | ||
280 | function equipweld() | |
281 | modelzorz.Parent = Character | |
282 | wld1.Parent = ExciHandle | |
283 | wld2.Parent = ExciPart1 | |
284 | wld3.Parent = ExciPart2 | |
285 | wld4.Parent = ExciPart3 | |
286 | wld5.Parent = ExciBlade1 | |
287 | wld6.Parent = ExciBlade2 | |
288 | wld7.Parent = ExciBlade3 | |
289 | wld8.Parent = ExciBlade4 | |
290 | wld9.Parent = ExciBlade5 | |
291 | wld10.Parent = ExciBlade6 | |
292 | end | |
293 | ||
294 | function hideanim() | |
295 | for i = 0 ,1 , 0.1 do | |
296 | wait(0) | |
297 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,-math.rad(90)*i,0) | |
298 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
299 | end | |
300 | unequipweld() | |
301 | wait(0.5) | |
302 | for i = 0 , 1 , 0.075 do | |
303 | wait(0) | |
304 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),math.rad(90)*i-math.rad(90),0) | |
305 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
306 | end | |
307 | end | |
308 | ||
309 | function equipanim() | |
310 | for i = 0 ,1 , 0.1 do | |
311 | wait(0) | |
312 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i,-math.rad(90)*i,0) | |
313 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
314 | end | |
315 | equipweld() | |
316 | wait(0.5) | |
317 | for i = 0 , 1 , 0.075 do | |
318 | wait(0) | |
319 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-math.rad(90)*i+math.rad(90),math.rad(90)*i-math.rad(90),0) | |
320 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
321 | end | |
322 | end | |
323 | ||
324 | function oneslash() | |
325 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
326 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
327 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
328 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
329 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
330 | attacking = true | |
331 | for i = 0 , 1 , 0.1 do | |
332 | wait(0) | |
333 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.43*i+1.57,0,0) | |
334 | end | |
335 | ss(ExciHandle,0.8) | |
336 | for i = 0 , 1 , 0.1 do | |
337 | wait(0) | |
338 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1*i+math.rad(90),0,0) * CFrame.new(0,1,0) | |
339 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1.5*i+2,0,0) | |
340 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0) | |
341 | con2:disconnect() | |
342 | con2:disconnect() | |
343 | con2:disconnect() | |
344 | con2:disconnect() | |
345 | con2:disconnect() | |
346 | end | |
347 | end | |
348 | ||
349 | function twoslash() | |
350 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
351 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
352 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
353 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
354 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
355 | attacking = true | |
356 | ss(ExciHandle,0.8) | |
357 | for i = 0 , 1 , 0.1 do | |
358 | wait(0) | |
359 | wld1.C0 = CFrame.fromEulerAnglesXYZ(-2.43*i+2.57,0,0) * CFrame.new(0,1,0) | |
360 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i+0.5,0,0) | |
361 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
362 | con2:disconnect() | |
363 | con2:disconnect() | |
364 | con2:disconnect() | |
365 | con2:disconnect() | |
366 | con2:disconnect() | |
367 | end | |
368 | end | |
369 | ||
370 | function threeslash() | |
371 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
372 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
373 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
374 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
375 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
376 | attacking = true | |
377 | ss(ExciHandle,0.8) | |
378 | for i = 0 , 1 , 0.1 do | |
379 | wait(0) | |
380 | wld1.C0 = CFrame.fromEulerAnglesXYZ(3*i+0.14,0,0) * CFrame.new(0,1,0) | |
381 | LW.C0 = CFrame.new(0.5*i-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(-3.5*i+3,0.5*i,1*i) | |
382 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
383 | con2:disconnect() | |
384 | con2:disconnect() | |
385 | con2:disconnect() | |
386 | con2:disconnect() | |
387 | con2:disconnect() | |
388 | end | |
389 | end | |
390 | ||
391 | function fourslash() | |
392 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
393 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
394 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
395 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
396 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
397 | attacking = true | |
398 | ss(ExciHandle,0.8) | |
399 | for i = 0 , 1 , 0.1 do | |
400 | wait(0) | |
401 | wld1.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,1,0) | |
402 | LW.C0 = CFrame.new(-0.5*i-1, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(3.57*i-0.5,-0.5*i+0.5,-2*i+1) | |
403 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0) | |
404 | con2:disconnect() | |
405 | con2:disconnect() | |
406 | con2:disconnect() | |
407 | con2:disconnect() | |
408 | con2:disconnect() | |
409 | end | |
410 | end | |
411 | ||
412 | function dash() | |
413 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
414 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
415 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
416 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
417 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
418 | attacking = true | |
419 | for i = 0 ,1 , 0.1 do | |
420 | wait(0) | |
421 | RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.fromEulerAnglesXYZ(1.5,0,-1) | |
422 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1.07*i-0.5,1.07*i+0.5,0.2*i-0.2) | |
423 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,1*i-1) | |
424 | end | |
425 | ss(ExciHandle,0.8) | |
426 | local vel = Instance.new("BodyVelocity") | |
427 | vel.Parent = Torso | |
428 | vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1 | |
429 | vel.velocity = Torso.CFrame.lookVector * 100 | |
430 | for i = 0 ,1 , 0.2 do | |
431 | wait(0) | |
432 | RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.fromEulerAnglesXYZ(1.5,0,-1) | |
433 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1.57,1.57,0) | |
434 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-4*i,0,0) | |
435 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1*i+math.rad(90),0,0) * CFrame.new(0,1,0) | |
436 | end | |
437 | vel.Parent = nil | |
438 | ||
439 | wait(1) | |
440 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
441 | attacking = false | |
442 | con2:disconnect() | |
443 | con2:disconnect() | |
444 | con2:disconnect() | |
445 | con2:disconnect() | |
446 | con2:disconnect() | |
447 | end | |
448 | ||
449 | function MagicCombo1() | |
450 | attacking = true | |
451 | for i = 0 ,1 , 0.1 do | |
452 | wait(0) | |
453 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
454 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2*i+1,0,0) | |
455 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1*i+math.rad(90),0,0) * CFrame.new(0,1,0) | |
456 | end | |
457 | wait(0.1) | |
458 | for i = 0 ,1 , 0.2 do | |
459 | wait(0) | |
460 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
461 | LW.C0 = CFrame.new(-1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(2.57*i-1,0,0) | |
462 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1*i+math.rad(90),0,0) * CFrame.new(0,1,0) | |
463 | end | |
464 | Wave() | |
465 | wait(0.3) | |
466 | for i = 0 ,1 , 0.1 do | |
467 | wait(0) | |
468 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
469 | LW.C0 = CFrame.new(-1.5, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(2.43*i+1.57,0,0) | |
470 | wld1.C0 = CFrame.fromEulerAnglesXYZ(-2.07*i+2.57,0,0) * CFrame.new(0,1,0) | |
471 | end | |
472 | for i = 0 ,1 , 0.2 do | |
473 | wait(0) | |
474 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
475 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.5*i+3,0,0) | |
476 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1.5*i+0.5,0,0) * CFrame.new(0,1,0) | |
477 | end | |
478 | Wave2() | |
479 | wait(0.5) | |
480 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
481 | attacking = false | |
482 | end | |
483 | ||
484 | function loltauntkill() | |
485 | con2=ExciBlade5.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
486 | con2=ExciBlade4.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
487 | con2=ExciBlade3.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
488 | con2=ExciBlade2.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
489 | con2=ExciBlade1.Touched:connect(function(hit) Damagefunc1(hit,15,10) end) | |
490 | attacking = true | |
491 | for i = 0 ,1 , 0.05 do | |
492 | wait(0) | |
493 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(90)*i+math.rad(90),0,-1*i) | |
494 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(180)*i,0,1*i) | |
495 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.57*i+1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
496 | wld1.C0 = CFrame.fromEulerAnglesXYZ(1*i+math.rad(90),0,0) * CFrame.new(0,1,0) | |
497 | end | |
498 | wait(1) | |
499 | for i = 0 ,1 , 0.05 do | |
500 | wait(0) | |
501 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.5*i+math.rad(180),0,1*i-1) | |
502 | RW.C0 = CFrame.new(-1.5*i+1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(-2.5*i+math.rad(180),0,-1) | |
503 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(0.57*i+1,3.14,0) * CFrame.new(0,0,-0.5) | |
504 | end | |
505 | wait(0.5) | |
506 | ss(ExciPart2,0.8) | |
507 | for i = 0 ,1 , 0.2 do | |
508 | wait(0) | |
509 | LW.C0 = CFrame.new(-1.5, 0.5, -1*i) * CFrame.fromEulerAnglesXYZ(1*i+0.64,0,0) | |
510 | RW.C0 = CFrame.new(0, 0.5, -1*i-0.5) * CFrame.fromEulerAnglesXYZ(1*i+0.64,0,-1) | |
511 | end | |
512 | for i = 0 ,1 , 0.2 do | |
513 | wait(0) | |
514 | LW.C0 = CFrame.new(-1.5, 0.5, 1*i-1) * CFrame.fromEulerAnglesXYZ(1.64,0,0) | |
515 | RW.C0 = CFrame.new(0, 0.5, 1*i-1.5) * CFrame.fromEulerAnglesXYZ(1.64,0,-1) | |
516 | end | |
517 | ||
518 | wait(0.5) | |
519 | for i = 0 ,1 , 0.05 do | |
520 | wait(0) | |
521 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.07*i+1.64,0,0) | |
522 | RW.C0 = CFrame.new(1.5*i, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.64*i+1.64,0,1*i-1) | |
523 | wld1.C0 = CFrame.fromEulerAnglesXYZ(-1*i+2.57,0,0) * CFrame.new(0,1,0) | |
524 | end | |
525 | wait(1) | |
526 | attacking = false | |
527 | con2:disconnect() | |
528 | con2:disconnect() | |
529 | con2:disconnect() | |
530 | con2:disconnect() | |
531 | con2:disconnect() | |
532 | end | |
533 | ||
534 | Damagefunc1=function(hit,Damage,Knockback) | |
535 | h=hit.Parent:FindFirstChild("Humanoid") | |
536 | if attackdebounce == false then | |
537 | attackdebounce = true | |
538 | coroutine.resume(coroutine.create(function() | |
539 | wait(0.1) | |
540 | attackdebounce = false | |
541 | end)) | |
542 | if hit.Parent==nil then | |
543 | return | |
544 | end | |
545 | CPlayer=Bin | |
546 | h=hit.Parent:FindFirstChild("Humanoid") | |
547 | if h~=nil and hit.Parent~=Player and hit.Parent:FindFirstChild("Torso")~=nil then | |
548 | Damage=Damage | |
549 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
550 | return | |
551 | end]] | |
552 | hs(hit,1) | |
553 | c=Instance.new("ObjectValue") | |
554 | c.Name="creator" | |
555 | c.Value=game.Players.LocalPlayer | |
556 | c.Parent=h | |
557 | game:GetService("Debris"):AddItem(c,.5) | |
558 | -- print(c.Value) | |
559 | if math.random(1,5)==1 then | |
560 | CRIT=true | |
561 | Damage=Damage*2 | |
562 | Knockback=Knockback*2 | |
563 | r=Instance.new("BodyAngularVelocity") | |
564 | r.P=3000 | |
565 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
566 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
567 | r.Parent=hit.Parent.Torso | |
568 | s=Instance.new("Sound") | |
569 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
570 | s.Volume=1 | |
571 | s.Pitch=2 | |
572 | s.Parent=hit | |
573 | s:Play() | |
574 | ||
575 | end | |
576 | if SoulPower==true then | |
577 | game:GetService("Debris"):AddItem(s,3) | |
578 | Star=hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10) | |
579 | Gp=Instance.new("Part") | |
580 | Gp.TopSurface=0 | |
581 | Gp.BottomSurface=0 | |
582 | Gp.Anchored=true | |
583 | Gp.CanCollide=false | |
584 | Gp.BrickColor=BrickColor:Black() | |
585 | Gp.Size=Vector3.new(1,1,1) | |
586 | Gp.formFactor="Symmetric" | |
587 | Gp.CFrame=Star*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) | |
588 | Gp.Parent=workspace | |
589 | Instance.new("BlockMesh").Parent=Gp | |
590 | Gp.Mesh.Scale=Vector3.new(.8,.8,.8) | |
591 | coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.25,.25,.25) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/20,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),Gp,1) | |
592 | end | |
593 | Damage=Damage+math.random(0,10) | |
594 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
595 | h:TakeDamage(Damage) | |
596 | showDamage(hit.Parent,Damage,.5) | |
597 | vp=Instance.new("BodyVelocity") | |
598 | vp.P=500 | |
599 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
600 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
601 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
602 | if Knockback>0 then | |
603 | vp.Parent=hit.Parent.Torso | |
604 | end | |
605 | game:GetService("Debris"):AddItem(vp,.25) | |
606 | --[[ r=Instance.new("BodyAngularVelocity") | |
607 | r.P=3000 | |
608 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
609 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
610 | r.Parent=hit.Parent.Torso]] | |
611 | game:GetService("Debris"):AddItem(r,.5) | |
612 | c=Instance.new("ObjectValue") | |
613 | c.Name="creator" | |
614 | c.Value=Player | |
615 | c.Parent=h | |
616 | game:GetService("Debris"):AddItem(c,.5) | |
617 | CRIT=false | |
618 | hitDeb=true | |
619 | AttackPos=6 | |
620 | end | |
621 | end | |
622 | end | |
623 | ||
624 | Damagefunc2=function(hit,Damage,Knockback) | |
625 | h=hit.Parent:FindFirstChild("Humanoid") | |
626 | ||
627 | if attackdebounce == false then | |
628 | attackdebounce = true | |
629 | coroutine.resume(coroutine.create(function() | |
630 | wait(0.1) | |
631 | attackdebounce = false | |
632 | end)) | |
633 | if hit.Parent==nil then | |
634 | return | |
635 | end | |
636 | CPlayer=Bin | |
637 | h=hit.Parent:FindFirstChild("Humanoid") | |
638 | if h~=nil and hit.Parent~=Player and hit.Parent:FindFirstChild("Torso")~=nil then | |
639 | Damage=Damage | |
640 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
641 | return | |
642 | end]] | |
643 | hs(hit,1) | |
644 | c=Instance.new("ObjectValue") | |
645 | c.Name="creator" | |
646 | c.Value=game.Players.LocalPlayer | |
647 | c.Parent=h | |
648 | game:GetService("Debris"):AddItem(c,.5) | |
649 | -- print(c.Value) | |
650 | if math.random(2,5)==1 then | |
651 | CRIT=true | |
652 | Damage=Damage*2 | |
653 | Knockback=Knockback*2 | |
654 | r=Instance.new("BodyAngularVelocity") | |
655 | r.P=3000 | |
656 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
657 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
658 | r.Parent=hit.Parent.Torso | |
659 | s=Instance.new("Sound") | |
660 | s.SoundId="http://www.roblox.com/asset/?id=2801263" | |
661 | s.Volume=1 | |
662 | s.Pitch=2 | |
663 | s.Parent=hit | |
664 | s:Play() | |
665 | ||
666 | end | |
667 | if SoulPower==true then | |
668 | game:GetService("Debris"):AddItem(s,3) | |
669 | Star=hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-20,20)/10,math.random(-10,10)/10) | |
670 | Gp=Instance.new("Part") | |
671 | Gp.Material = "SmoothPlastic" | |
672 | Gp.TopSurface=0 | |
673 | Gp.BottomSurface=0 | |
674 | Gp.Anchored=true | |
675 | Gp.CanCollide=false | |
676 | Gp.BrickColor=BrickColor:Black() | |
677 | Gp.Size=Vector3.new(1,1,1) | |
678 | Gp.formFactor="Symmetric" | |
679 | Gp.CFrame=Star*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) | |
680 | Gp.Parent=workspace | |
681 | Instance.new("BlockMesh").Parent=Gp | |
682 | Gp.Mesh.Scale=Vector3.new(.8,.8,.8) | |
683 | coroutine.resume(coroutine.create(function(par,int) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.25,.25,.25) par.CFrame=par.CFrame*CFrame.new(0,math.random(0,10)/20,0)*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/20,math.random(-10,10)/20) wait() end par.Parent=nil end),Gp,1) | |
684 | end | |
685 | Damage=Damage+math.random(0,5) | |
686 | -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2)) | |
687 | h:TakeDamage(Damage) | |
688 | showDamage(hit.Parent,Damage,.5) | |
689 | vp=Instance.new("BodyVelocity") | |
690 | vp.P=500 | |
691 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
692 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
693 | vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05 | |
694 | if Knockback>0 then | |
695 | vp.Parent=hit.Parent.Torso | |
696 | end | |
697 | game:GetService("Debris"):AddItem(vp,.25) | |
698 | --[[ r=Instance.new("BodyAngularVelocity") | |
699 | r.P=3000 | |
700 | r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000 | |
701 | r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
702 | r.Parent=hit.Parent.Torso]] | |
703 | game:GetService("Debris"):AddItem(r,.5) | |
704 | c=Instance.new("ObjectValue") | |
705 | c.Name="creator" | |
706 | c.Value=Player | |
707 | c.Parent=h | |
708 | game:GetService("Debris"):AddItem(c,.5) | |
709 | CRIT=false | |
710 | hitDeb=true | |
711 | AttackPos=6 | |
712 | end | |
713 | end | |
714 | end | |
715 | ||
716 | TAUNTKILLWIN=function(hit) | |
717 | if attackdebounce == false then | |
718 | attackdebounce = true | |
719 | coroutine.resume(coroutine.create(function() | |
720 | wait(0.1) | |
721 | attackdebounce = false | |
722 | end)) | |
723 | h=hit.Parent:FindFirstChild("Humanoid") | |
724 | if h~=nil then | |
725 | print("Hello world!") | |
726 | ||
727 | Characterr = hit.Parent | |
728 | Humanoideh = Characterr.Humanoid | |
729 | Torsoie = Characterr.Torso | |
730 | ||
731 | function OnDeath() | |
732 | print("Death")-- HAHA | |
733 | wait(0.00000001) | |
734 | Humanoideh.Parent = nil | |
735 | if Torsoie then | |
736 | local Headeh = Characterr:FindFirstChild("Head") | |
737 | if Headeh then | |
738 | local Neckeh = Instance.new("Weld") | |
739 | Neckeh.Name = "Neck" | |
740 | Neckeh.Part0 = Torsoie | |
741 | Neckeh.Part1 = Headeh | |
742 | Neckeh.C0 = CFrame.new(0, 1.5, 0) | |
743 | Neckeh.C1 = CFrame.new() | |
744 | Neckeh.Parent = Torsoie | |
745 | end | |
746 | local Limb = Characterr:FindFirstChild("Right Arm") | |
747 | if Limb then | |
748 | ||
749 | Limb.CFrame = Torsoie.CFrame * CFrame.new(1.5, 0, 0) | |
750 | local Joint = Instance.new("Glue") | |
751 | Joint.Name = "RightShoulder" | |
752 | Joint.Part0 = Torsoie | |
753 | Joint.Part1 = Limb | |
754 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
755 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
756 | Joint.Parent = Torsoie | |
757 | ||
758 | local B = Instance.new("Part") | |
759 | B.TopSurface = 0 | |
760 | B.BottomSurface = 0 | |
761 | B.formFactor = "Symmetric" | |
762 | B.Size = Vector3.new(1, 1, 1) | |
763 | B.Transparency = 1 | |
764 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
765 | B.Parent = Characterr | |
766 | local W = Instance.new("Weld") | |
767 | W.Part0 = Limb | |
768 | W.Part1 = B | |
769 | W.C0 = CFrame.new(0, -0.5, 0) | |
770 | W.Parent = Limb | |
771 | ||
772 | end | |
773 | local Limb = Characterr:FindFirstChild("Left Arm") | |
774 | if Limb then | |
775 | ||
776 | Limb.CFrame = Torsoie.CFrame * CFrame.new(-1.5, 0, 0) | |
777 | local Joint = Instance.new("Glue") | |
778 | Joint.Name = "LeftShoulder" | |
779 | Joint.Part0 = Torsoie | |
780 | Joint.Part1 = Limb | |
781 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
782 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
783 | Joint.Parent = Torsoie | |
784 | ||
785 | local B = Instance.new("Part") | |
786 | B.TopSurface = 0 | |
787 | B.BottomSurface = 0 | |
788 | B.formFactor = "Symmetric" | |
789 | B.Size = Vector3.new(1, 1, 1) | |
790 | B.Transparency = 1 | |
791 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
792 | B.Parent = Characterr | |
793 | local W = Instance.new("Weld") | |
794 | W.Part0 = Limb | |
795 | W.Part1 = B | |
796 | W.C0 = CFrame.new(0, -0.5, 0) | |
797 | W.Parent = Limb | |
798 | ||
799 | end | |
800 | local Limb = Characterr:FindFirstChild("Right Leg") | |
801 | if Limb then | |
802 | ||
803 | Limb.CFrame = Torsoie.CFrame * CFrame.new(0.5, -2, 0) | |
804 | local Joint = Instance.new("Glue") | |
805 | Joint.Name = "RightHip" | |
806 | Joint.Part0 = Torsoie | |
807 | Joint.Part1 = Limb | |
808 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
809 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
810 | Joint.Parent = Torsoie | |
811 | ||
812 | local B = Instance.new("Part") | |
813 | B.TopSurface = 0 | |
814 | B.BottomSurface = 0 | |
815 | B.formFactor = "Symmetric" | |
816 | B.Size = Vector3.new(1, 1, 1) | |
817 | B.Transparency = 1 | |
818 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
819 | B.Parent = Characterr | |
820 | local W = Instance.new("Weld") | |
821 | W.Part0 = Limb | |
822 | W.Part1 = B | |
823 | W.C0 = CFrame.new(0, -0.5, 0) | |
824 | W.Parent = Limb | |
825 | ||
826 | end | |
827 | local Limb = Characterr:FindFirstChild("Left Leg") | |
828 | if Limb then | |
829 | ||
830 | Limb.CFrame = Torsoie.CFrame * CFrame.new(-0.5, -2, 0) | |
831 | local Joint = Instance.new("Glue") | |
832 | Joint.Name = "LeftHip" | |
833 | Joint.Part0 = Torsoie | |
834 | Joint.Part1 = Limb | |
835 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
836 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
837 | Joint.Parent = Torsoie | |
838 | ||
839 | local B = Instance.new("Part") | |
840 | B.TopSurface = 0 | |
841 | B.BottomSurface = 0 | |
842 | B.formFactor = "Symmetric" | |
843 | B.Size = Vector3.new(1, 1, 1) | |
844 | B.Transparency = 1 | |
845 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
846 | B.Parent = Characterr | |
847 | local W = Instance.new("Weld") | |
848 | W.Part0 = Limb | |
849 | W.Part1 = B | |
850 | W.C0 = CFrame.new(0, -0.5, 0) | |
851 | W.Parent = Limb | |
852 | ||
853 | end | |
854 | --[[ | |
855 | local Bar = Instance.new("Part") | |
856 | Bar.TopSurface = 0 | |
857 | Bar.BottomSurface = 0 | |
858 | Bar.formFactor = "Symmetric" | |
859 | Bar.Size = Vector3.new(1, 1, 1) | |
860 | Bar.Transparency = 1 | |
861 | Bar.CFrame = Torsoie.CFrame * CFrame.new(0, 0.5, 0) | |
862 | Bar.Parent = Characterr | |
863 | local Weld = Instance.new("Weld") | |
864 | Weld.Part0 = Torsoie | |
865 | Weld.Part1 = Bar | |
866 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
867 | Weld.Parent = Torsoie | |
868 | --]] | |
869 | end | |
870 | end | |
871 | ||
872 | Humanoideh.Died:connect(OnDeath) | |
873 | ||
874 | ||
875 | wait(.1) | |
876 | h:TakeDamage(9999999999999999999999999999999999999999) | |
877 | wait() | |
878 | p=Instance.new("BodyVelocity") | |
879 | p.P=4000 | |
880 | p.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
881 | p.velocity=Torso.CFrame.lookVector*math.random(-30,-10)+Vector3.new(0,math.random(20,30),0) | |
882 | p.Parent=hit.Parent:FindFirstChild("Torso",nil) | |
883 | game:GetService("Debris"):AddItem(p,.5) | |
884 | --[[ _G["critEffect"](hit) | |
885 | dd=script.LocalScript:clone() | |
886 | dd.Disabled=false | |
887 | dd.Parent=hit.Parent]] | |
888 | f=Instance.new("BodyForce") | |
889 | f.force=Vector3.new(0,2400,0) | |
890 | f.Parent=p.Parent | |
891 | game:GetService("Debris"):AddItem(f,1.75) | |
892 | s=Instance.new("Sound") | |
893 | s.Volume=1 | |
894 | s.Pitch=1 | |
895 | s.Name="Applause" | |
896 | s.SoundId="http://www.roblox.com/asset/?id=21343225" | |
897 | s.Parent=Torso | |
898 | s:Play() | |
899 | game:GetService("Debris"):AddItem(s,3) | |
900 | s=Instance.new("Sound") | |
901 | s.Volume=1 | |
902 | s.Pitch=1 | |
903 | s.Name="Applause" | |
904 | s.SoundId="http://www.roblox.com/asset/?id=21343225" | |
905 | s.Parent=hit | |
906 | s:Play() | |
907 | game:GetService("Debris"):AddItem(s,3) | |
908 | c=Instance.new("Sound") | |
909 | c.SoundId="http://roblox.com/asset/?id=10209481" | |
910 | c.Volume=.3 | |
911 | c.Pitch=1.15 | |
912 | c.Parent=Torso | |
913 | c:Play() | |
914 | game:GetService("Debris"):AddItem(c,.5) | |
915 | --[[ s=Instance.new("Sound") | |
916 | s.SoundId="http://roblox.com/asset/?id=10209467" | |
917 | s.Volume=1 | |
918 | s.Pitch=math.random(12,14)*.1 | |
919 | s.Parent=hit | |
920 | s:Play() | |
921 | game:GetService("Debris"):AddItem(s,3)]] | |
922 | showDamage(hit.Parent,"OVAR NINE THOUSAAAAAAND!!",.5) | |
923 | end | |
924 | end | |
925 | end | |
926 | ||
927 | showDamage=function(Char,Dealt,du) | |
928 | m=Instance.new("Model") | |
929 | m.Name=tostring(Dealt) | |
930 | h=Instance.new("Humanoid") | |
931 | h.Health=0 | |
932 | h.MaxHealth=0 | |
933 | h.Parent=m | |
934 | c=Instance.new("Part") | |
935 | c.Material = "SmoothPlastic" | |
936 | c.Transparency=0 | |
937 | c.BrickColor=BrickColor:Red() | |
938 | if CRIT==true then | |
939 | c.BrickColor=BrickColor.new("New Yeller") | |
940 | end | |
941 | c.Name="Head" | |
942 | c.TopSurface=0 | |
943 | c.BottomSurface=0 | |
944 | c.formFactor="Plate" | |
945 | c.Size=Vector3.new(1,.4,1) | |
946 | ms=Instance.new("CylinderMesh") | |
947 | ||
948 | ms.Scale=Vector3.new(.8,.8,.8) | |
949 | if CRIT==true then | |
950 | ms.Scale=Vector3.new(1.25,1.5,1.25) | |
951 | ||
952 | end | |
953 | ms.Parent=c | |
954 | c.Reflectance=0 | |
955 | Instance.new("BodyGyro").Parent=c | |
956 | c.Parent=m | |
957 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
958 | f=Instance.new("BodyPosition") | |
959 | f.P=2000 | |
960 | f.D=100 | |
961 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
962 | f.position=c.Position+Vector3.new(0,3,0) | |
963 | f.Parent=c | |
964 | game:GetService("Debris"):AddItem(m,.5+du) | |
965 | c.CanCollide=false | |
966 | m.Parent=workspace | |
967 | c.CanCollide=false | |
968 | end | |
969 | ||
970 | function Wave() | |
971 | sss(ExciPart2,1.3) | |
972 | local wav1 = Instance.new("Part") | |
973 | wav1.Parent = workspace | |
974 | wav1.BrickColor = BrickColor.new("Bright yellow") | |
975 | wav1.Material = "SmoothPlastic" | |
976 | wav1.CanCollide = false | |
977 | wav1.Anchored = true | |
978 | wav1.Size = Vector3.new(2,2,2) | |
979 | wav1.CFrame = ExciPart2.CFrame | |
980 | local meh1 = Instance.new("BlockMesh") | |
981 | meh1.Parent = wav1 | |
982 | meh1.Scale = Vector3.new(0.5,0.5,0.5) | |
983 | local wav2 = Instance.new("Part") | |
984 | wav2.Parent = workspace | |
985 | wav2.BrickColor = BrickColor.new("New Yeller") | |
986 | wav2.Material = "SmoothPlastic" | |
987 | wav2.CanCollide = false | |
988 | wav2.Anchored = true | |
989 | wav2.Size = Vector3.new(2,2,2) | |
990 | wav2.CFrame = ExciPart2.CFrame | |
991 | local meh2 = Instance.new("BlockMesh") | |
992 | meh2.Parent = wav2 | |
993 | meh2.Scale = Vector3.new(0.5,0.5,0.5) | |
994 | local c = Workspace:GetChildren(); | |
995 | for i = 1, #c do | |
996 | local hum = c[i]:findFirstChild("Humanoid") | |
997 | if hum ~= nil and hum.Health ~= 0 then | |
998 | local head = c[i]:findFirstChild("Head"); | |
999 | local targ = head.Position - wav2.Position; | |
1000 | local mag = targ.magnitude; | |
1001 | if mag <= 8 and c[i].Name ~= Player.Name then | |
1002 | head.CFrame = head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1003 | Damagefunc1(head,5,0) | |
1004 | end | |
1005 | end | |
1006 | end | |
1007 | coroutine.resume(coroutine.create(function() | |
1008 | for i = 0,1,0.1 do | |
1009 | wait() | |
1010 | meh1.Scale = meh1.Scale + Vector3.new(0.5,0.5,0.5) | |
1011 | meh2.Scale = meh2.Scale + Vector3.new(0.5,0.5,0.5) | |
1012 | wav1.CFrame = wav1.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1013 | wav2.CFrame = wav2.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1014 | wav1.Transparency = wav1.Transparency + 0.1 | |
1015 | wav2.Transparency = wav2.Transparency + 0.1 | |
1016 | end | |
1017 | wav1.Parent = nil | |
1018 | wav2.Parent = nil | |
1019 | end)) | |
1020 | end | |
1021 | ||
1022 | function Wave2() | |
1023 | sss(ExciPart2,1) | |
1024 | local wav1 = Instance.new("Part") | |
1025 | wav1.Parent = workspace | |
1026 | wav1.BrickColor = BrickColor.new("New Yeller") | |
1027 | wav1.Material = "SmoothPlastic" | |
1028 | wav1.CanCollide = false | |
1029 | wav1.Anchored = true | |
1030 | wav1.Size = Vector3.new(2,2,2) | |
1031 | wav1.CFrame = ExciPart2.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) | |
1032 | local meh1 = Instance.new("SpecialMesh") | |
1033 | meh1.Parent = wav1 | |
1034 | meh1.MeshId = "http://www.roblox.com/asset/?id=1323306" | |
1035 | meh1.Scale = Vector3.new(0.5,0.5,0.5) | |
1036 | local c = Workspace:GetChildren(); | |
1037 | for i = 1, #c do | |
1038 | local hum = c[i]:findFirstChild("Humanoid") | |
1039 | if hum ~= nil and hum.Health ~= 0 then | |
1040 | local head = c[i]:findFirstChild("Head"); | |
1041 | local targ = head.Position - wav1.Position; | |
1042 | local mag = targ.magnitude; | |
1043 | if mag <= 8 and c[i].Name ~= Player.Name then | |
1044 | head.CFrame = head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) | |
1045 | Damagefunc2(head,5,10) | |
1046 | end | |
1047 | end | |
1048 | end | |
1049 | coroutine.resume(coroutine.create(function() | |
1050 | for i = 0,1,0.1 do | |
1051 | wait() | |
1052 | meh1.Scale = meh1.Scale + Vector3.new(0.5,1,0.5) | |
1053 | wav1.CFrame = wav1.CFrame | |
1054 | end | |
1055 | for i = 0,1,0.1 do | |
1056 | wait() | |
1057 | meh1.Scale = meh1.Scale + Vector3.new(0.3,0.3,0.3) | |
1058 | wav1.CFrame = wav1.CFrame | |
1059 | wav1.Transparency = wav1.Transparency + 0.1 | |
1060 | end | |
1061 | wav1.Parent = nil | |
1062 | end)) | |
1063 | end | |
1064 | local HitSound = Instance.new("Sound") | |
1065 | HitSound.SoundId = "http://roblox.com/asset/?id=10209590" | |
1066 | HitSound.Parent = Tool | |
1067 | HitSound.Volume = .7 | |
1068 | HitSound.Pitch = 1 | |
1069 | function hs(parent,pitch) | |
1070 | local SlashSoundeh1 = HitSound:Clone() | |
1071 | SlashSoundeh1.Parent = parent | |
1072 | SlashSoundeh1.Pitch = pitch | |
1073 | SlashSoundeh1.PlayOnRemove = true | |
1074 | coroutine.resume(coroutine.create(function() | |
1075 | wait() | |
1076 | SlashSoundeh1.Parent = nil | |
1077 | end)) | |
1078 | end | |
1079 | local HitSound = Instance.new("Sound") | |
1080 | HitSound.SoundId = "http://roblox.com/asset/?id=10209590" | |
1081 | HitSound.Parent = Tool | |
1082 | HitSound.Volume = .7 | |
1083 | HitSound.Pitch = 1 | |
1084 | local SlashSound = Instance.new("Sound") | |
1085 | SlashSound.SoundId = "http://roblox.com/asset/?id=10209645" | |
1086 | SlashSound.Parent = Tool | |
1087 | SlashSound.Volume = .7 | |
1088 | SlashSound.Pitch = 1 | |
1089 | local SlashSound2 = Instance.new("Sound") | |
1090 | SlashSound2.SoundId = "http://www.roblox.com/asset/?id=2248511" | |
1091 | SlashSound2.Parent = Tool | |
1092 | SlashSound2.Volume = .7 | |
1093 | SlashSound2.Pitch = 1 | |
1094 | local SlashSound3 = Instance.new("Sound") | |
1095 | SlashSound3.SoundId = "rbxasset://sounds\\unsheath.wav" | |
1096 | SlashSound3.Parent = Tool | |
1097 | SlashSound3.Volume = .7 | |
1098 | SlashSound3.Pitch = 1 | |
1099 | function ss(parent,pitch) | |
1100 | ||
1101 | local SlashSoundeh1 = SlashSound:Clone() | |
1102 | SlashSoundeh1.Parent = parent | |
1103 | SlashSoundeh1.Pitch = pitch | |
1104 | SlashSoundeh1:play() | |
1105 | coroutine.resume(coroutine.create(function() | |
1106 | wait(1) | |
1107 | SlashSoundeh1.Parent = nil | |
1108 | end)) | |
1109 | end | |
1110 | function sss(parent,pitch) | |
1111 | ||
1112 | local SlashSoundeh2 = SlashSound2:Clone() | |
1113 | SlashSoundeh2.Parent = parent | |
1114 | SlashSoundeh2.Pitch = pitch | |
1115 | SlashSoundeh2:play() | |
1116 | coroutine.resume(coroutine.create(function() | |
1117 | wait(1) | |
1118 | SlashSoundeh2.Parent = nil | |
1119 | end)) | |
1120 | end | |
1121 | function uss(parent,pitch) | |
1122 | ||
1123 | local SlashSoundeh3 = SlashSound3:Clone() | |
1124 | SlashSoundeh3.Parent = parent | |
1125 | SlashSoundeh3.Pitch = pitch | |
1126 | SlashSoundeh3:play() | |
1127 | coroutine.resume(coroutine.create(function() | |
1128 | wait(1) | |
1129 | SlashSoundeh3.Parent = nil | |
1130 | end)) | |
1131 | end | |
1132 | ||
1133 | hold = false | |
1134 | ||
1135 | function ob1d(mouse) | |
1136 | if attacking == true then return end | |
1137 | hold = true | |
1138 | if walking == true then | |
1139 | dash() | |
1140 | attacking = true | |
1141 | wait(0.5) | |
1142 | attacking = false | |
1143 | else | |
1144 | oneslash() | |
1145 | if hold == true then | |
1146 | twoslash() | |
1147 | end | |
1148 | if hold == true then | |
1149 | threeslash() | |
1150 | end | |
1151 | if hold == true then | |
1152 | fourslash() | |
1153 | end | |
1154 | end | |
1155 | wait(1) | |
1156 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0) | |
1157 | LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
1158 | attacking = false | |
1159 | end | |
1160 | ||
1161 | function ob1u(mouse) | |
1162 | hold = false | |
1163 | end | |
1164 | ||
1165 | buttonhold = false | |
1166 | ||
1167 | function key(key) | |
1168 | if attacking == true then return end | |
1169 | if key == "q" then | |
1170 | end | |
1171 | if key == "g" then | |
1172 | loltauntkill() | |
1173 | end | |
1174 | if key == "z" then | |
1175 | MagicCombo1() | |
1176 | end | |
1177 | end | |
1178 | ||
1179 | function key2(key) | |
1180 | end | |
1181 | ||
1182 | function s(mouse) | |
1183 | mouse.Button1Down:connect(function() ob1d(mouse) end) | |
1184 | mouse.Button1Up:connect(function() ob1u(mouse) end) | |
1185 | mouse.KeyDown:connect(key) | |
1186 | mouse.KeyUp:connect(key2) | |
1187 | player = Player | |
1188 | ch = Character | |
1189 | RSH = ch.Torso["Right Shoulder"] | |
1190 | LSH = ch.Torso["Left Shoulder"] | |
1191 | -- | |
1192 | RSH.Parent = nil | |
1193 | LSH.Parent = nil | |
1194 | -- | |
1195 | RW.Part0 = ch.Torso | |
1196 | RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1197 | RW.C1 = CFrame.new(0, 0.5, 0) | |
1198 | RW.Part1 = ch["Right Arm"] | |
1199 | RW.Parent = ch.Torso | |
1200 | --_G.R = RW | |
1201 | -- | |
1202 | LW.Part0 = ch.Torso | |
1203 | LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1204 | LW.C1 = CFrame.new(0, 0.5, 0) | |
1205 | LW.Part1 = ch["Left Arm"] | |
1206 | LW.Parent = ch.Torso | |
1207 | --_G.L = LW | |
1208 | -- | |
1209 | equipanim() | |
1210 | end | |
1211 | ||
1212 | function ds(mouse) | |
1213 | hideanim() | |
1214 | RW.Parent = nil | |
1215 | LW.Parent = nil | |
1216 | RSH.Parent = player.Character.Torso | |
1217 | LSH.Parent = player.Character.Torso | |
1218 | end | |
1219 | ||
1220 | Bin.Selected:connect(s) | |
1221 | Bin.Deselected:connect(ds) | |
1222 | ||
1223 | function onRunning(speed) | |
1224 | if attacking == true then return end | |
1225 | if speed>0 then | |
1226 | walking = true | |
1227 | for i = 0 ,1 , 0.1 do | |
1228 | wait(0) | |
1229 | RW.C0 = CFrame.new(-0.5*i+1.5, 0.5, -0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,0,-1*i) | |
1230 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2.07*i+1.57,0.5*i,-0.2*i) | |
1231 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,-1*i) | |
1232 | end | |
1233 | Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5) | |
1234 | else | |
1235 | walking = false | |
1236 | for i = 0 ,1 , 0.1 do | |
1237 | wait(0) | |
1238 | RW.C0 = CFrame.new(0.5*i+1, 0.5, 0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.5*i+1.5,0,1*i-1) | |
1239 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i-0.5,-0.5*i+0.5,0.2*i-0.2) | |
1240 | wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,1*i-1) | |
1241 | end | |
1242 | for i = 0 ,1 , 0.2 do | |
1243 | wait(0) | |
1244 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.93*i+2.5,0,0) | |
1245 | end | |
1246 | coroutine.resume(coroutine.create(function() | |
1247 | while walking == false do | |
1248 | for i = 0 ,1 , 0.01 do | |
1249 | wait(0) | |
1250 | if walking == false and attacking == false then | |
1251 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57,0.25*i,-0.5*i) | |
1252 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i) | |
1253 | end | |
1254 | end | |
1255 | for i = 0 ,1 , 0.01 do | |
1256 | wait(0) | |
1257 | if walking == false and attacking == false then | |
1258 | LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57,-0.25*i+0.25,0.5*i-0.5) | |
1259 | RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i+0.5) | |
1260 | end | |
1261 | end | |
1262 | end | |
1263 | end)) | |
1264 | end | |
1265 | end | |
1266 | ||
1267 | ||
1268 | Character.Humanoid.Running:connect(onRunning) | |
1269 | Character.Humanoid.Jumping:connect(onJumping) | |
1270 | Character.Humanoid.Seated:connect(onSeated) | |
1271 | Character.Humanoid.PlatformStanding:connect(onPlatformStanding) | |
1272 | -- lego blockland This acts as a chat filter. Don't ask why I do it. I just do >.> | |
1273 | --[[ | |
1274 | Copyrighted (C) Fenrier 2011 | |
1275 | This script is copyrighted for Fenrier. Any use of this script is breaking | |
1276 | this copyright. | |
1277 | All Rights Reserved. | |
1278 | ]] |