SHOW:
|
|
- or go back to the newest paste.
1 | Effects = {} --sound effects, for advanced players. | |
2 | local Player = game.Players.localPlayer | |
3 | local Character = Player.Character | |
4 | local Humanoid = Character.Humanoid | |
5 | z = Instance.new("Sound", Character) | |
6 | - | z.SoundId = "rbxassetid://169376152"-- |
6 | + | z.SoundId = "rbxassetid://435657044"-- |
7 | z.Looped = true --False for a one-time song. | |
8 | z.Pitch = 1.0 | |
9 | z.Volume = 1.6 | |
10 | wait(.1) | |
11 | z:Play() | |
12 | ------------------------ | |
13 | ||
14 | local p = game.Players.LocalPlayer | |
15 | local char = p.Character | |
16 | local mouse = p:GetMouse() | |
17 | local larm = char["Left Arm"] | |
18 | local rarm = char["Right Arm"] | |
19 | local lleg = char["Left Leg"] | |
20 | local rleg = char["Right Leg"] | |
21 | local hed = char.Head | |
22 | local torso = char.Torso | |
23 | local hum = char.Humanoid | |
24 | local cam = game.Workspace.CurrentCamera | |
25 | local root = char.HumanoidRootPart | |
26 | local deb = false | |
27 | local CanAttack = true | |
28 | local shot = 0 | |
29 | local animpose = "Idle" | |
30 | local lastanimpose = "Idle" | |
31 | local stanceToggle = "Normal" | |
32 | local l = game:GetService("Lighting") | |
33 | local rs = game:GetService("RunService").RenderStepped | |
34 | math.randomseed(os.time()) | |
35 | hum.MaxHealth = 900000000001 | |
36 | wait(1) | |
37 | hum.Health = 900000000001 | |
38 | ||
39 | for i,v in pairs (hed:GetChildren()) do | |
40 | if v:IsA("Sound") then | |
41 | v:Destroy() | |
42 | end | |
43 | end | |
44 | --game:service'InsertService':LoadAsset(16469427):children()[1].Parent = char | |
45 | --char.Reaper.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=176349813" | |
46 | ||
47 | ---------------------------------------------------- | |
48 | --[[Additional Variables]] | |
49 | ||
50 | ||
51 | ||
52 | ||
53 | ||
54 | local lightspeed = math.random(0.1,0.2) | |
55 | local holy = false -- Is in holy/angel of death form? | |
56 | local eColors = {"Lime green", "Really black"} | |
57 | local idz = {"161006212", "161006195"} | |
58 | local Effects={} | |
59 | ||
60 | ||
61 | hs = Instance.new("Sound",torso) | |
62 | hs.SoundId = "http://www.roblox.com/asset/?id=149560784" | |
63 | hs.Pitch = 1.2 | |
64 | hs.Volume = 0.6 | |
65 | hs.Looped = true | |
66 | ||
67 | ds = Instance.new("Sound",torso) | |
68 | ds.SoundId = "http://roblox.com/asset/?id=149560784" | |
69 | ds.Pitch = 0.3 | |
70 | ds.Volume = 0.4 | |
71 | ds.Looped = true | |
72 | ||
73 | ||
74 | ds:play() | |
75 | ||
76 | ||
77 | if holy == false then | |
78 | eColors = {"Lime green", "Really black"} | |
79 | else if holy == true then | |
80 | eColors = {"Lime green"} | |
81 | end | |
82 | end | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | ||
88 | ---------------------------------------------------- | |
89 | --[[Additional Functions]] | |
90 | ||
91 | cf=CFrame.new | |
92 | vt=Vector3.new | |
93 | ||
94 | function swait(num) | |
95 | if num==0 or num==nil then | |
96 | game:service'RunService'.Stepped:wait(0) | |
97 | else | |
98 | for i=0,num do | |
99 | game:service'RunService'.Stepped:wait(0) | |
100 | end | |
101 | end | |
102 | end | |
103 | ||
104 | so = function(id,par,vol,pit) | |
105 | coroutine.resume(coroutine.create(function() | |
106 | local sou = Instance.new("Sound",par or workspace) | |
107 | sou.Volume=vol | |
108 | sou.Pitch=pit or 1 | |
109 | sou.SoundId=id | |
110 | swait() | |
111 | sou:play() | |
112 | game:GetService("Debris"):AddItem(sou,6) | |
113 | end)) | |
114 | end | |
115 | ||
116 | ||
117 | ||
118 | ||
119 | ||
120 | ---------------------------------------------------- | |
121 | Debounces = { | |
122 | CanAttack = true; | |
123 | CanJoke = true; | |
124 | NoIdl = false; | |
125 | Slashing = false; | |
126 | Slashed = false; | |
127 | Slapping = false; | |
128 | Slapped = false; | |
129 | ks = false; | |
130 | } | |
131 | ||
132 | local Touche = {char.Name, } | |
133 | ---------------------------------------------------- | |
134 | function HasntTouched(plrname) | |
135 | local ret = true | |
136 | for _, v in pairs(Touche) do | |
137 | if v == plrname then | |
138 | ret = false | |
139 | end | |
140 | end | |
141 | return ret | |
142 | end | |
143 | ---------------------------------------------------- | |
144 | function weld5(part0, part1, c0, c1) | |
145 | weeld=Instance.new("Weld", part0) | |
146 | weeld.Part0=part0 | |
147 | weeld.Part1=part1 | |
148 | weeld.C0=c0 | |
149 | weeld.C1=c1 | |
150 | return weeld | |
151 | end | |
152 | ---------------------------------------------------- | |
153 | mod=Instance.new('Model',char) | |
154 | ||
155 | function Burst() | |
156 | part=Instance.new('Part',mod) | |
157 | part.Anchored=true | |
158 | part.CanCollide=false | |
159 | part.FormFactor='Custom' | |
160 | part.Size=Vector3.new(.2,.2,.2) | |
161 | part.CFrame=root.CFrame*CFrame.new(0,1,0)*CFrame.Angles(math.rad(90),0,0) | |
162 | part.Transparency=.7 | |
163 | ||
164 | if holy ~= true then | |
165 | part.BrickColor=BrickColor.new('Really black') | |
166 | else | |
167 | part.BrickColor=BrickColor.new('Lime green') | |
168 | end | |
169 | ||
170 | mesh=Instance.new('SpecialMesh',part) | |
171 | mesh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
172 | mesh.Scale=Vector3.new(10,5,10) | |
173 | part2=part:clone() | |
174 | part2.Parent=mod | |
175 | ||
176 | if holy ~= true then | |
177 | part2.BrickColor=BrickColor.new('Lime green') | |
178 | else | |
179 | part2.BrickColor=BrickColor.new('Lime green') | |
180 | end | |
181 | ||
182 | mesh2=mesh:clone() | |
183 | mesh2.Parent=part2 | |
184 | mesh2.Scale=Vector3.new(5,2.5,5) | |
185 | coroutine.resume(coroutine.create(function() | |
186 | for i=0,1,0.1 do | |
187 | wait() | |
188 | part.CFrame=part.CFrame | |
189 | part.Transparency=i | |
190 | mesh.Scale=mesh.Scale+Vector3.new(1,1,1) | |
191 | part2.CFrame=part2.CFrame | |
192 | part2.Transparency=i | |
193 | mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1) | |
194 | end | |
195 | part.Parent=nil | |
196 | part2.Parent=nil | |
197 | end)) | |
198 | end | |
199 | ---------------------------------------------------- | |
200 | mod4 = Instance.new("Model",char) | |
201 | ||
202 | ptez = {0.7, 0.8, 0.9, 1} | |
203 | ||
204 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
205 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
206 | local List = {} | |
207 | for i,v in pairs(workspace:GetChildren())do | |
208 | if v:IsA("Model")then | |
209 | if v:findFirstChild("Torso")then | |
210 | if v ~= char then | |
211 | if(v.Torso.Position -Position).magnitude <= Distance then | |
212 | table.insert(List,v) | |
213 | end | |
214 | end | |
215 | end | |
216 | end | |
217 | end | |
218 | return List | |
219 | end | |
220 | ||
221 | function Slam() | |
222 | part=Instance.new('Part',mod4) | |
223 | part.Anchored=true | |
224 | part.CanCollide=false | |
225 | part.FormFactor='Custom' | |
226 | part.Size=Vector3.new(.2,.2,.2) | |
227 | part.CFrame=root.CFrame*CFrame.new(0,-2.8,-1.4)*CFrame.Angles(math.rad(90),0,0) | |
228 | part.Transparency=.7 | |
229 | ||
230 | if holy ~= true then | |
231 | part.BrickColor=BrickColor.new('Really black') | |
232 | else | |
233 | part.BrickColor=BrickColor.new('Lime green') | |
234 | end | |
235 | ||
236 | mesh=Instance.new('SpecialMesh',part) | |
237 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
238 | mesh.Scale=Vector3.new(3,3,3) | |
239 | part2=Instance.new('Part',mod4) | |
240 | part2.Anchored=true | |
241 | part2.CanCollide=false | |
242 | part2.FormFactor='Custom' | |
243 | part2.Size=Vector3.new(.2,.2,.2) | |
244 | part2.CFrame=root.CFrame*CFrame.new(0,-2.4,-1.6) | |
245 | part2.Transparency=.7 | |
246 | ||
247 | if holy ~= true then | |
248 | part2.BrickColor=BrickColor.new('Lime green') | |
249 | else | |
250 | part2.BrickColor=BrickColor.new('Lime green') | |
251 | end | |
252 | ||
253 | mesh2=Instance.new('SpecialMesh',part2) | |
254 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
255 | mesh2.Scale=Vector3.new(3,1.5,3) | |
256 | x = Instance.new("Sound",char) | |
257 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
258 | x.Pitch = ptez[math.random(1,#ptez)] | |
259 | x.Volume = 1 | |
260 | wait(.1) | |
261 | x1 = Instance.new("Sound",char) | |
262 | x1.SoundId = "http://www.roblox.com/asset/?id=206082327" | |
263 | x1.Pitch = ptez[math.random(1,#ptez)] | |
264 | x1.Volume = 1 | |
265 | wait(.1) | |
266 | x:Play() | |
267 | x1:Play() | |
268 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
269 | if v:FindFirstChild('Humanoid') then | |
270 | v.Humanoid:TakeDamage(math.random(99999999,99999999)) | |
271 | end | |
272 | end | |
273 | coroutine.resume(coroutine.create(function() | |
274 | for i=0,0.62,0.13 do | |
275 | wait() | |
276 | part.CFrame=part.CFrame | |
277 | part.Transparency=i | |
278 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
279 | part2.CFrame=part2.CFrame | |
280 | part2.Transparency=i | |
281 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
282 | end | |
283 | part.Parent=nil | |
284 | part2.Parent=nil | |
285 | x:Destroy() | |
286 | end)) | |
287 | end | |
288 | ----------------------------------------------------PUNCH FUNC | |
289 | function Punch() | |
290 | part=Instance.new('Part',mod4) | |
291 | part.Anchored=true | |
292 | part.CanCollide=false | |
293 | part.FormFactor='Custom' | |
294 | part.Size=Vector3.new(.2,.2,.2) | |
295 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
296 | part.Transparency=.7 | |
297 | ||
298 | part.BrickColor=BrickColor.new('Really black') | |
299 | mesh=Instance.new('SpecialMesh',part) | |
300 | mesh.MeshId='http://www.roblox.com/asset/?id=3270017' | |
301 | mesh.Scale=Vector3.new(3,3,3) | |
302 | part2=Instance.new('Part',mod4) | |
303 | part2.Anchored=true | |
304 | part2.CanCollide=false | |
305 | ||
306 | part2.FormFactor='Custom' | |
307 | part2.Size=Vector3.new(.2,.2,.2) | |
308 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
309 | part2.Transparency=.7 | |
310 | part2.BrickColor=BrickColor.new('Lime green') | |
311 | mesh2=Instance.new('SpecialMesh',part2) | |
312 | mesh2.MeshId='http://www.roblox.com/asset/?id=20329976' | |
313 | mesh2.Scale=Vector3.new(3,1.5,3) | |
314 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
315 | if v:FindFirstChild('Humanoid') then | |
316 | v.Humanoid:TakeDamage(math.random(2,6)) | |
317 | end | |
318 | end | |
319 | coroutine.resume(coroutine.create(function() | |
320 | for i=0,0.62,0.4 do | |
321 | wait() | |
322 | part.CFrame=part.CFrame | |
323 | part.Transparency=i | |
324 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
325 | part2.CFrame=part2.CFrame | |
326 | part2.Transparency=i | |
327 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
328 | end | |
329 | part.Parent=nil | |
330 | part2.Parent=nil | |
331 | end)) | |
332 | end | |
333 | ---------------------------------------------------- | |
334 | GroundWave = function() | |
335 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
336 | local Colors = {"Lime green", "Really black"} | |
337 | local wave = Instance.new("Part", torso) | |
338 | ||
339 | if holy == false then | |
340 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
341 | else | |
342 | wave.BrickColor = BrickColor.new("Lime green") | |
343 | end | |
344 | ||
345 | wave.Anchored = true | |
346 | wave.CanCollide = false | |
347 | wave.Material = "Neon" | |
348 | wave.Locked = true | |
349 | wave.Size = Vector3.new(1, 1, 1) | |
350 | wave.TopSurface = "Smooth" | |
351 | wave.BottomSurface = "Smooth" | |
352 | wave.Transparency = 0.35 | |
353 | wave.CFrame = HandCF | |
354 | wm = Instance.new("SpecialMesh", wave) | |
355 | wm.MeshId = "rbxassetid://3270017" | |
356 | coroutine.wrap(function() | |
357 | for i = 1, 14, 1 do | |
358 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
359 | wave.Size = wm.Scale | |
360 | wave.CFrame = HandCF | |
361 | wave.Transparency = i/14 | |
362 | wait() | |
363 | end | |
364 | wait() | |
365 | wave:Destroy() | |
366 | end)() | |
367 | end | |
368 | ---------------------------------------------------- | |
369 | Magik = function() | |
370 | Spawn(function() | |
371 | local function lerp(a,b,c) | |
372 | return a+(b-a)*c | |
373 | end | |
374 | local function rndRange(rng) | |
375 | return math.random(-rng*1000,rng*1000)/1000 | |
376 | end | |
377 | local magik = Instance.new("Part", larm) | |
378 | local Colors = {"Lime green", "Really black"} | |
379 | magik.Anchored = true | |
380 | magik.Locked = true | |
381 | magik.Material = "Neon" | |
382 | magik.FormFactor = "Custom" | |
383 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
384 | magik.TopSurface = "Smooth" | |
385 | magik.BottomSurface = "Smooth" | |
386 | magik.Transparency = 0 | |
387 | magik.CanCollide = false | |
388 | ||
389 | if holy == false then | |
390 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
391 | else | |
392 | magik.BrickColor = BrickColor.new("Lime green") | |
393 | end | |
394 | ||
395 | local mr = math.rad | |
396 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
397 | local cf = larm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
398 | magik.CFrame = cf | |
399 | for i = 0, 1, .05 do | |
400 | local newTrans = lerp(0.5, 1, i) | |
401 | local ns = lerp(1,1.2,i) | |
402 | magik.Transparency = newTrans | |
403 | magik.Size = Vector3.new(ns,ns,ns) | |
404 | magik.CFrame = cf | |
405 | rs:wait() | |
406 | end | |
407 | magik:Destroy() | |
408 | wait() | |
409 | end) | |
410 | end | |
411 | ---------------------------------------------------- | |
412 | Magik2 = function() | |
413 | Spawn(function() | |
414 | if stanceToggle == "Melee" then | |
415 | local function lerp(a,b,c) | |
416 | return a+(b-a)*c | |
417 | end | |
418 | local function rndRange(rng) | |
419 | return math.random(-rng*1000,rng*1000)/1000 | |
420 | end | |
421 | local magik2 = Instance.new("Part", rarm) | |
422 | local Colors = {"Lime green", "Really black"} | |
423 | magik2.Anchored = true | |
424 | magik2.Locked = true | |
425 | magik2.FormFactor = "Custom" | |
426 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
427 | magik2.TopSurface = "Smooth" | |
428 | magik2.BottomSurface = "Smooth" | |
429 | magik2.Transparency = 0 | |
430 | magik2.Material = "Neon" | |
431 | magik2.CanCollide = false | |
432 | ||
433 | if holy == false then | |
434 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
435 | else | |
436 | magik2.BrickColor = BrickColor.new("Lime green") | |
437 | end | |
438 | ||
439 | local mr = math.rad | |
440 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
441 | local cf = rarm.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) | |
442 | magik2.CFrame = cf | |
443 | for i = 0, 1, .05 do | |
444 | local newTrans = lerp(0.5, 1, i) | |
445 | local ns = lerp(1,1.2,i) | |
446 | magik2.Transparency = newTrans | |
447 | magik2.Size = Vector3.new(ns,ns,ns) | |
448 | magik2.CFrame = cf | |
449 | rs:wait() | |
450 | end | |
451 | magik2:Destroy() | |
452 | elseif stanceToggle ~= "Melee" then | |
453 | wait() | |
454 | end | |
455 | end) | |
456 | end | |
457 | ---------------------------------------------------- | |
458 | function lerp(a, b, t) -- Linear interpolation | |
459 | return a + (b - a)*t | |
460 | end | |
461 | ||
462 | function slerp(a, b, t) --Spherical interpolation | |
463 | dot = a:Dot(b) | |
464 | if dot > 0.99999 or dot < -0.99999 then | |
465 | return t <= 0.5 and a or b | |
466 | else | |
467 | r = math.acos(dot) | |
468 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
469 | end | |
470 | end | |
471 | ||
472 | function matrixInterpolate(a, b, t) | |
473 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
474 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
475 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
476 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
477 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
478 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
479 | local t = v1:Dot(v2) | |
480 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
481 | return CFrame.new() | |
482 | end | |
483 | return CFrame.new( | |
484 | v0.x, v0.y, v0.z, | |
485 | v1.x, v1.y, v1.z, | |
486 | v2.x, v2.y, v2.z, | |
487 | v3.x, v3.y, v3.z) | |
488 | end | |
489 | ---------------------------------------------------- | |
490 | function genWeld(a,b) | |
491 | local w = Instance.new("Weld",a) | |
492 | w.Part0 = a | |
493 | w.Part1 = b | |
494 | return w | |
495 | end | |
496 | function weld(a, b) | |
497 | local weld = Instance.new("Weld") | |
498 | weld.Name = "W" | |
499 | weld.Part0 = a | |
500 | weld.Part1 = b | |
501 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
502 | weld.Parent = a | |
503 | return weld; | |
504 | end | |
505 | ---------------------------------------------------- | |
506 | function Lerp(c1,c2,al) | |
507 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
508 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
509 | for i,v in pairs(com1) do | |
510 | com1[i] = v+(com2[i]-v)*al | |
511 | end | |
512 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
513 | end | |
514 | ----------------------------------------------------[[Dissolve function]] | |
515 | function Dissolve(ret) | |
516 | ||
517 | ret.BrickColor = BrickColor.new("Really black") | |
518 | for i = 1, 10 do wait() | |
519 | for i,v in pairs(ret:GetChildren()) do | |
520 | if v:IsA("Part") or v:IsA("WedgePart") then | |
521 | v.Transparency = v.Transparency + 0.1 | |
522 | ||
523 | end | |
524 | end | |
525 | end | |
526 | ret:Destroy() | |
527 | end | |
528 | ||
529 | ---------------------------------------------------- | |
530 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
531 | local wld = Instance.new("Weld", wp1) | |
532 | wld.Part0 = wp0 | |
533 | wld.Part1 = wp1 | |
534 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
535 | end | |
536 | ---------------------------------------------------- | |
537 | newWeld(torso, larm, -1.5, 0.5, 0) | |
538 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
539 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
540 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
541 | newWeld(torso, hed, 0, 1.5, 0) | |
542 | newWeld(torso, lleg, -0.5, -1, 0) | |
543 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
544 | newWeld(torso, rleg, 0.5, -1, 0) | |
545 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
546 | newWeld(root, torso, 0, -1, 0) | |
547 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
548 | ---------------------------------------------------- | |
549 | --local SIDz = {"167985102, 163752916"}--181449739, 167161785, 148274436, 167985102, 163752916 | |
550 | z = Instance.new("Sound",char) --music | |
551 | z.SoundId = "rbxassetid://0"--..SIDz[math.random(1,#SIDz)] | |
552 | z.Looped = true | |
553 | z.Volume = 1 | |
554 | z.Pitch = .72 | |
555 | wait(1) | |
556 | z:Play() | |
557 | hum.WalkSpeed = 10 | |
558 | ||
559 | ||
560 | ||
561 | ||
562 | ||
563 | --[[partic = Instance.new("ParticleEmitter",hed) | |
564 | partic.Color = ColorSequence.new(Color3.new(15/225,0,225/45),Color3.new(20/255,0,205/255)) | |
565 | partic.LightEmission = .95 | |
566 | partic.VelocityInheritance = 0 | |
567 | partic.Rate = 300 | |
568 | partic.Texture = "rbxassetid:// 241650934" --56561915392079955 | |
569 | partic.Lifetime = NumberRange.new(0.1,0.2) | |
570 | partic.RotSpeed = NumberRange.new(100,100) | |
571 | partic.Speed = NumberRange.new(2,6) | |
572 | partic.Enabled = true | |
573 | partic.LockedToPart = true]] | |
574 | ||
575 | --Nah | |
576 | ||
577 | ---------------------------------------------------- | |
578 | ||
579 | ---------------------------------------------------- | |
580 | local m = Instance.new("Model") | |
581 | m.Name = "Genkadda" | |
582 | p1 = Instance.new("Part", m) | |
583 | p1.Material = "Metal" | |
584 | p1.BrickColor = BrickColor.new("Really black") | |
585 | p1.Name = "BladePart" | |
586 | p1.FormFactor = Enum.FormFactor.Symmetric | |
587 | p1.Size = Vector3.new(1, 1, 1) | |
588 | p1.CFrame = CFrame.new(103.003883, 10.755723, -7.61905956, 5.61699271e-005, -7.1823597e-006, 0.999998987, -0.984785616, -0.173714966, 3.55839729e-005, 0.173720747, -0.984761655, 5.9530139e-006) | |
589 | p1.CanCollide = false | |
590 | p1.Locked = true | |
591 | p1.Elasticity = 0 | |
592 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
593 | p1.TopSurface = Enum.SurfaceType.Smooth | |
594 | b1 = Instance.new("BlockMesh", p1) | |
595 | b1.Name = "Mesh" | |
596 | b1.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
597 | p2 = Instance.new("Part", m) | |
598 | p2.Material = "Metal" | |
599 | p2.BrickColor = BrickColor.new("Really black") | |
600 | p2.FormFactor = Enum.FormFactor.Symmetric | |
601 | p2.Size = Vector3.new(1, 1, 1) | |
602 | p2.CFrame = CFrame.new(103.00399, 10.7255898, -6.52608919, 0.00135809346, 0.00169118668, -0.999996662, 0.965820193, 0.259168088, 0.0017684648, 0.259154975, -0.965800881, -0.00130418094) | |
603 | p2.CanCollide = false | |
604 | p2.Locked = true | |
605 | p2.Elasticity = 0 | |
606 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
607 | p2.TopSurface = Enum.SurfaceType.Smooth | |
608 | b2 = Instance.new("BlockMesh", p2) | |
609 | b2.Name = "Mesh" | |
610 | b2.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
611 | p3 = Instance.new("Part", m) | |
612 | p3.Material = "Metal" | |
613 | p3.BrickColor = BrickColor.new("Really black") | |
614 | p3.FormFactor = Enum.FormFactor.Symmetric | |
615 | p3.Size = Vector3.new(1, 2, 1) | |
616 | p3.CFrame = CFrame.new(103.004028, 11.1456547, -6.819067, 1.43263023e-005, -2.88564479e-006, 0.999998987, -0.882936299, -0.469471544, -7.18829688e-006, 0.469469696, -0.882911503, 1.35099981e-005) | |
617 | p3.CanCollide = false | |
618 | p3.Locked = true | |
619 | p3.Elasticity = 0 | |
620 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
621 | p3.TopSurface = Enum.SurfaceType.Smooth | |
622 | b3 = Instance.new("BlockMesh", p3) | |
623 | b3.Name = "Mesh" | |
624 | b3.Scale = Vector3.new(0.099999927, 0.699999928, 0.099999927) | |
625 | p4 = Instance.new("Part", m) | |
626 | p4.Material = "Metal" | |
627 | p4.BrickColor = BrickColor.new("Really black") | |
628 | p4.Name = "BladePart" | |
629 | p4.FormFactor = Enum.FormFactor.Symmetric | |
630 | p4.Size = Vector3.new(1, 1, 1) | |
631 | p4.CFrame = CFrame.new(103.003372, 10.965373, -6.66876507, 1.57370523e-005, -6.04354591e-006, 0.999996603, -0.965898931, -0.25886938, -7.14969246e-006, 0.258875549, -0.965874314, 1.58735529e-005) | |
632 | p4.CanCollide = false | |
633 | p4.Locked = true | |
634 | p4.Elasticity = 0 | |
635 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
636 | p4.TopSurface = Enum.SurfaceType.Smooth | |
637 | b4 = Instance.new("BlockMesh", p4) | |
638 | b4.Name = "Mesh" | |
639 | b4.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
640 | p5 = Instance.new("Part", m) | |
641 | p5.Material = "Metal" | |
642 | p5.BrickColor = BrickColor.new("Really black") | |
643 | p5.Name = "Hilt" | |
644 | p5.FormFactor = Enum.FormFactor.Custom | |
645 | p5.Size = Vector3.new(1, 0.400000006, 1.60000014) | |
646 | p5.CFrame = CFrame.new(103.003395, 11.0653381, -6.1687479, -0.99999404, 5.54991711e-005, -0.000617815298, -0.000594727404, -0.000124425016, 0.999983907, 2.66434654e-005, 0.999962509, 0.000109782166) | |
647 | p5.CanCollide = false | |
648 | p5.Locked = true | |
649 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
650 | p5.TopSurface = Enum.SurfaceType.Smooth | |
651 | b5 = Instance.new("BlockMesh", p5) | |
652 | b5.Name = "Mesh" | |
653 | b5.Scale = Vector3.new(0.299999923, 0.399999917, 0.799999952) | |
654 | p6 = Instance.new("Part", m) | |
655 | p6.Material = "Metal" | |
656 | p6.BrickColor = BrickColor.new("Really black") | |
657 | p6.Name = "Handle" | |
658 | p6.FormFactor = Enum.FormFactor.Custom | |
659 | p6.Size = Vector3.new(1.29999995, 1, 1) | |
660 | p6.CFrame = CFrame.new(103.000061, 11.0688219, -5.5480547, -1.23393656e-005, -1.36360759e-005, 0.999994218, 5.37017331e-006, 0.999984086, -9.45257489e-006, -0.999962509, -9.28580994e-006, 1.64470257e-005) | |
661 | p6.CanCollide = false | |
662 | p6.Locked = true | |
663 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
664 | p6.TopSurface = Enum.SurfaceType.Smooth | |
665 | b6 = Instance.new("SpecialMesh", p6) | |
666 | b6.MeshType = Enum.MeshType.Cylinder | |
667 | b6.Name = "Mesh" | |
668 | b6.Scale = Vector3.new(1, 0.200000003, 0.200000003) | |
669 | p7 = Instance.new("Part", m) | |
670 | p7.Material = "Metal" | |
671 | p7.BrickColor = BrickColor.new("Really black") | |
672 | p7.FormFactor = Enum.FormFactor.Symmetric | |
673 | p7.Size = Vector3.new(1, 1, 1) | |
674 | p7.CFrame = CFrame.new(103.000099, 11.0688391, -4.79808855, -0.000332629686, 0.00429873355, -0.99998492, -4.5920292e-006, 0.999974728, 0.00432178052, 0.999962449, -8.49941443e-006, -0.000361445156) | |
675 | p7.CanCollide = false | |
676 | p7.Locked = true | |
677 | b7 = Instance.new("SpecialMesh", p7) | |
678 | b7.MeshId = "http://www.roblox.com/Asset/?id=9756362" | |
679 | b7.TextureId = "" | |
680 | b7.MeshType = Enum.MeshType.FileMesh | |
681 | b7.Name = "Mesh" | |
682 | b7.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
683 | p8 = Instance.new("Part", m) | |
684 | p8.Material = "Metal" | |
685 | p8.BrickColor = BrickColor.new("Really black") | |
686 | p8.Name = "BladePart" | |
687 | p8.FormFactor = Enum.FormFactor.Symmetric | |
688 | p8.Size = Vector3.new(1, 1, 1) | |
689 | p8.CFrame = CFrame.new(103.003326, 10.6254845, -8.59870911, -2.92104669e-005, -1.10579058e-005, 0.999994218, -0.996175766, -0.0871899351, -5.3152442e-005, 0.0872026458, -0.996152997, 2.03179661e-005) | |
690 | p8.CanCollide = false | |
691 | p8.Locked = true | |
692 | p8.Elasticity = 0 | |
693 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
694 | p8.TopSurface = Enum.SurfaceType.Smooth | |
695 | b8 = Instance.new("BlockMesh", p8) | |
696 | b8.Name = "Mesh" | |
697 | b8.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
698 | p9 = Instance.new("Part", m) | |
699 | p9.Material = "Metal" | |
700 | p9.BrickColor = BrickColor.new("Really black") | |
701 | p9.Name = "BladePart" | |
702 | p9.FormFactor = Enum.FormFactor.Symmetric | |
703 | p9.Size = Vector3.new(1, 1, 1) | |
704 | p9.CFrame = CFrame.new(103.003311, 10.625597, -9.51878738, -2.59891603e-005, -1.34348729e-005, 0.999994218, -0.996185422, 0.087079078, -4.78096408e-005, -0.0870626047, -0.996165276, 1.31400229e-005) | |
705 | p9.CanCollide = false | |
706 | p9.Locked = true | |
707 | p9.Elasticity = 0 | |
708 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
709 | p9.TopSurface = Enum.SurfaceType.Smooth | |
710 | b9 = Instance.new("BlockMesh", p9) | |
711 | b9.Name = "Mesh" | |
712 | b9.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
713 | p10 = Instance.new("Part", m) | |
714 | p10.Material = "Metal" | |
715 | p10.BrickColor = BrickColor.new("Really black") | |
716 | p10.Name = "BladeTip" | |
717 | p10.FormFactor = Enum.FormFactor.Symmetric | |
718 | p10.Size = Vector3.new(1, 1, 2) | |
719 | p10.CFrame = CFrame.new(103.00309, 11.1081867, -11.6109829, -0.999994099, -0.000455793255, 4.643387e-005, 0.00045133481, -0.965918779, -0.25878337, 0.000134008093, -0.258763671, 0.965901971) | |
720 | p10.CanCollide = false | |
721 | p10.Locked = true | |
722 | p10.Elasticity = 0 | |
723 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
724 | p10.TopSurface = Enum.SurfaceType.Smooth | |
725 | b10 = Instance.new("SpecialMesh", p10) | |
726 | b10.MeshType = Enum.MeshType.Wedge | |
727 | b10.Name = "Mesh" | |
728 | b10.Scale = Vector3.new(0.119999997, 0.299999923, 0.699999928) | |
729 | p11 = Instance.new("Part", m) | |
730 | p11.Material = "Metal" | |
731 | p11.BrickColor = BrickColor.new("Really black") | |
732 | p11.Name = "BladePart" | |
733 | p11.FormFactor = Enum.FormFactor.Symmetric | |
734 | p11.Size = Vector3.new(1, 1, 1) | |
735 | p11.CFrame = CFrame.new(103.003296, 10.7956495, -10.4587727, 2.83485351e-005, -1.54050977e-005, 0.999994218, -0.96592474, 0.258761972, 8.27970416e-006, -0.258742362, -0.965907693, 2.1241216e-005) | |
736 | p11.CanCollide = false | |
737 | p11.Locked = true | |
738 | p11.Elasticity = 0 | |
739 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
740 | p11.TopSurface = Enum.SurfaceType.Smooth | |
741 | b11 = Instance.new("BlockMesh", p11) | |
742 | b11.Name = "Mesh" | |
743 | b11.Scale = Vector3.new(0.299999923, 1, 0.120000005) | |
744 | p12 = Instance.new("Part", m) | |
745 | p12.Material = "Metal" | |
746 | p12.BrickColor = BrickColor.new("Really black") | |
747 | p12.Name = "BladeTip2" | |
748 | p12.FormFactor = Enum.FormFactor.Custom | |
749 | p12.Size = Vector3.new(1, 1, 2.4000001) | |
750 | p12.CFrame = CFrame.new(102.999977, 10.6319504, -10.4398403, -0.999994218, -5.5769262e-005, 6.55075928e-005, 4.61044419e-006, 0.882887006, 0.469551951, -0.000112806956, 0.469529003, -0.882874727) | |
751 | p12.CanCollide = false | |
752 | p12.Locked = true | |
753 | p12.Elasticity = 0 | |
754 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
755 | p12.TopSurface = Enum.SurfaceType.Smooth | |
756 | b12 = Instance.new("SpecialMesh", p12) | |
757 | b12.MeshType = Enum.MeshType.Wedge | |
758 | b12.Name = "Mesh" | |
759 | b12.Scale = Vector3.new(0.119999997, 0.239999995, 0.699999928) | |
760 | p13 = Instance.new("Part", m) | |
761 | p13.Material = "Metal" | |
762 | p13.BrickColor = BrickColor.new("Medium stone grey") | |
763 | p13.Transparency = 1 | |
764 | p13.Name = "HitBox" | |
765 | p13.FormFactor = Enum.FormFactor.Custom | |
766 | p13.Size = Vector3.new(6.0999999, 0.400000006, 1.5999999) | |
767 | p13.CFrame = CFrame.new(103.009995, 10.9988394, -9.2679081, 1.22519814e-005, -0.999994218, 1.36361559e-005, -5.27501106e-006, 9.45320426e-006, -0.999984264, 0.999962687, -1.65344682e-005, 9.20891762e-006) | |
768 | p13.CanCollide = false | |
769 | p13.Locked = true | |
770 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
771 | p13.TopSurface = Enum.SurfaceType.Smooth | |
772 | w1 = Instance.new("Weld", p1) | |
773 | w1.Name = "Part_Weld" | |
774 | w1.Part0 = p1 | |
775 | w1.C0 = CFrame.new(11.9124546, -5.63626003, -103.00383, 4.33940659e-005, -0.984795153, 0.173719674, 1.85460614e-009, -0.173719659, -0.984795094, 1, 4.27345876e-005, -7.53657105e-006) | |
776 | w1.Part1 = p2 | |
777 | w1.C1 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
778 | w2 = Instance.new("Weld", p2) | |
779 | w2.Name = "Part_Weld" | |
780 | w2.Part0 = p2 | |
781 | w2.C0 = CFrame.new(-8.80891991, -9.26009178, 102.975845, 0.00136663229, 0.965830803, 0.259170175, 0.00170310249, 0.25916782, -0.965830863, -0.999997616, 0.00176132878, -0.00129072159) | |
782 | w2.Part1 = p3 | |
783 | w2.C1 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
784 | w3 = Instance.new("Weld", p3) | |
785 | w3.Name = "BladePart_Weld" | |
786 | w3.Part0 = p3 | |
787 | w3.C0 = CFrame.new(13.0439634, -0.78926897, -103.003448, -4.37113883e-008, -0.88294369, 0.469478935, 0, -0.469478935, -0.88294369, 1, -3.85946954e-008, 2.05215755e-008) | |
788 | w3.Part1 = p4 | |
789 | w3.C1 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
790 | w4 = Instance.new("Weld", p4) | |
791 | w4.Name = "Hilt_Weld" | |
792 | w4.Part0 = p4 | |
793 | w4.C0 = CFrame.new(12.3193283, -3.60437131, -103.003067, 2.38418579e-006, -0.965907753, 0.258877277, 0, -0.258874893, -0.965907753, 0.999997616, 0, 2.38418579e-006) | |
794 | w4.Part1 = p5 | |
795 | w4.C1 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
796 | w5 = Instance.new("Weld", p5) | |
797 | w5.Name = "Handle_Weld" | |
798 | w5.Part0 = p5 | |
799 | w5.C0 = CFrame.new(103.010277, 6.16758585, -11.003541, -0.999999821, -0.00060418935, 4.31301851e-005, 4.32021443e-005, -0.000119086159, 1, -0.000604184228, 0.999999821, 0.000119112243) | |
800 | w5.Part1 = p6 | |
801 | w5.C1 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
802 | w6 = Instance.new("Weld", p6) | |
803 | w6.Name = "Part_Weld" | |
804 | w6.Part0 = p6 | |
805 | w6.C0 = CFrame.new(-5.54999733, -11.0699978, -103, -4.37113883e-008, 2.98366913e-008, -1, 0, 1, 2.98366913e-008, 1, 1.3042032e-015, -4.37113883e-008) | |
806 | w6.Part1 = p7 | |
807 | w6.C1 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
808 | w7 = Instance.new("Weld", p7) | |
809 | w7.Name = "BladePart_Weld" | |
810 | w7.Part0 = p7 | |
811 | w7.C0 = CFrame.new(4.83552647, -11.5140886, 102.949669, -0.000344927335, 7.4505806e-007, 0.99999994, 0.00431239465, 0.999990702, 7.4505806e-007, -0.999990642, 0.00431239465, -0.000344927335) | |
812 | w7.Part1 = p8 | |
813 | w7.C1 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
814 | w8 = Instance.new("Weld", p8) | |
815 | w8.Name = "BladePart_Weld" | |
816 | w8.Part0 = p8 | |
817 | w8.C0 = CFrame.new(11.3406382, -7.6414094, -103.0028, -4.38670977e-005, -0.996191144, 0.0871966407, 1.91451011e-009, -0.0871966407, -0.996191144, 1, -4.36998489e-005, 3.82696771e-006) | |
818 | w8.Part1 = p9 | |
819 | w8.C1 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
820 | w9 = Instance.new("Weld", p9) | |
821 | w9.Name = "BladeTip_Weld" | |
822 | w9.Part0 = p9 | |
823 | w9.C0 = CFrame.new(9.76131344, -10.4100504, -103.002922, -3.85031162e-005, -0.996201694, -0.0870751292, 1.47589729e-009, 0.0870751366, -0.996201754, 1, -3.83570004e-005, -3.35119148e-006) | |
824 | w9.Part1 = p10 | |
825 | w9.C1 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
826 | w10 = Instance.new("Weld", p10) | |
827 | w10.Name = "BladePart_Weld" | |
828 | w10.Part0 = p10 | |
829 | w10.C0 = CFrame.new(102.999939, 7.7735939, 14.0892649, -0.999999881, 0.000441889424, 0.000150508567, -0.000465785735, -0.965935588, -0.258782327, 3.10284122e-005, -0.258782327, 0.965935647) | |
830 | w10.Part1 = p11 | |
831 | w10.C1 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
832 | w11 = Instance.new("Weld", p11) | |
833 | w11.Name = "BladeTip2_Weld" | |
834 | w11.Part0 = p11 | |
835 | w11.C0 = CFrame.new(7.72030354, -12.8984127, -103.003448, 1.83585671e-005, -0.965941429, -0.258760989, 3.25545535e-010, 0.258760959, -0.96594137, 1, 1.77332167e-005, 4.7507956e-006) | |
836 | w11.Part1 = p12 | |
837 | w11.C1 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
838 | w12 = Instance.new("Weld", p12) | |
839 | w12.Name = "HitBox_Weld" | |
840 | w12.Part0 = p12 | |
841 | w12.C0 = CFrame.new(102.999031, -4.47981405, -14.2206001, -1, -4.84334305e-006, -9.63198472e-005, -4.95036402e-005, 0.882903397, 0.469554722, 8.27668991e-005, 0.469554722, -0.882903397) | |
842 | w12.Part1 = p13 | |
843 | w12.C1 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
844 | w13 = Instance.new("Weld", p13) | |
845 | w13.Name = "Weld" | |
846 | w13.Part0 = p13 | |
847 | w13.C0 = CFrame.new(9.27000427, 103.009995, 10.9999933, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008) | |
848 | m.Parent = char | |
849 | m:MakeJoints() | |
850 | ---------------------------------------------------- | |
851 | local cor = Instance.new("Part", char.Genkadda) | |
852 | cor.Name = "Thingy" | |
853 | cor.Locked = true | |
854 | cor.BottomSurface = 0 | |
855 | cor.CanCollide = false | |
856 | cor.Size = Vector3.new(1, 9, 1) | |
857 | cor.Transparency = 1 | |
858 | cor.TopSurface = 0 | |
859 | corw = Instance.new("Weld", cor) | |
860 | corw.Part0 = rarm | |
861 | corw.Part1 = cor | |
862 | corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90)) | |
863 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
864 | weld1 = Instance.new("Weld", char.Genkadda) | |
865 | weld1.Part0 = cor | |
866 | weld1.Part1 = p6 | |
867 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
868 | ---------------------------------------------------- Gauntlet | |
869 | ||
870 | m=Instance.new('Model',char) | |
871 | ||
872 | ||
873 | local function weldBetween(a, b) | |
874 | local weldd = Instance.new("ManualWeld") | |
875 | weldd.Part0 = a | |
876 | weldd.Part1 = b | |
877 | weldd.C0 = CFrame.new() | |
878 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
879 | weldd.Parent = a | |
880 | return weldd | |
881 | end | |
882 | ||
883 | it=Instance.new | |
884 | ||
885 | function nooutline(part) | |
886 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
887 | end | |
888 | ||
889 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
890 | local fp=it("Part") | |
891 | fp.formFactor=formfactor | |
892 | fp.Parent=parent | |
893 | fp.Reflectance=reflectance | |
894 | fp.Transparency=transparency | |
895 | fp.CanCollide=false | |
896 | fp.Locked=true | |
897 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
898 | fp.Name=name | |
899 | fp.Size=size | |
900 | fp.Position=char.Torso.Position | |
901 | nooutline(fp) | |
902 | fp.Material=material | |
903 | fp:BreakJoints() | |
904 | return fp | |
905 | end | |
906 | ||
907 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
908 | local mesh=it(Mesh) | |
909 | mesh.Parent=part | |
910 | if Mesh=="SpecialMesh" then | |
911 | mesh.MeshType=meshtype | |
912 | mesh.MeshId=meshid | |
913 | end | |
914 | mesh.Offset=offset | |
915 | mesh.Scale=scale | |
916 | return mesh | |
917 | end | |
918 | ||
919 | function weld(parent,part0,part1,c0,c1) | |
920 | local weld=it("Weld") | |
921 | weld.Parent=parent | |
922 | weld.Part0=part0 | |
923 | weld.Part1=part1 | |
924 | weld.C0=c0 | |
925 | weld.C1=c1 | |
926 | return weld | |
927 | end | |
928 | ||
929 | MN=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","Handle",Vector3.new(1.09732866, 2.19465828, 1.09732854)) | |
930 | MNweld=weld(m,char["Right Arm"],MN,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0323486328, -0.0509860516, -0.00120401382, -0.00500982394, 0.00520668458, 0.999973893, -0.00739898486, 0.999958873, -0.00524367485, -0.999960065, -0.00742506143, -0.0049710935)) | |
931 | TR7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
932 | TR7weld=weld(m,MN,TR7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
933 | mesh("SpecialMesh",TR7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
934 | MD9=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD9",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
935 | MD9weld=weld(m,MN,MD9,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.741846681, 0.199262142, 1.00000405, -6.92205504e-06, 0.000154254027, 4.65649646e-05, 0.965939224, -0.25876984, -0.000147186685, 0.258768767, 0.965943158)) | |
936 | mesh("SpecialMesh",MD9,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
937 | MD1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD1",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
938 | MD1weld=weld(m,MN,MD1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.402763367, -0.974855185, 0.682875633, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
939 | mesh("SpecialMesh",MD1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
940 | MD10=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD10",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
941 | MD10weld=weld(m,MN,MD10,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
942 | mesh("SpecialMesh",MD10,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
943 | MD11=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD11",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
944 | MD11weld=weld(m,MN,MD11,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.493839264, -0.274354219, 4.24385071e-05, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
945 | mesh("SpecialMesh",MD11,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
946 | MD12=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD12",Vector3.new(0.266768694, 1.09732914, 0.658397138)) | |
947 | MD12weld=weld(m,MN,MD12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.493812561, -0.274300575, -0.000376224518, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
948 | mesh("SpecialMesh",MD12,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 1, 1.00999999)) | |
949 | MD13=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD13",Vector3.new(1.09732866, 0.822996795, 1.09732854)) | |
950 | MD13weld=weld(m,MN,MD13,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.68582201, 0.000464439392, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
951 | mesh("SpecialMesh",MD13,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
952 | MD14=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD14",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
953 | MD14weld=weld(m,MN,MD14,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-05, 0.603547096, 0.000416755676, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
954 | mesh("SpecialMesh",MD14,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
955 | MD15=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD15",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
956 | MD15weld=weld(m,MN,MD15,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-7.62939453e-05, 0.137180567, -4.529953e-05, -1.0000037, -0.000862163957, 0.000179466791, -0.000862103421, 0.999999523, 0.000520790287, -0.000179945491, 0.000520619913, -1.00000381)) | |
957 | mesh("SpecialMesh",MD15,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
958 | MD16=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD16",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
959 | MD16weld=weld(m,MN,MD16,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.86645508e-05, 0.932742357, 0.000658988953, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
960 | mesh("SpecialMesh",MD16,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.04999995, 0.411340922, 1.04999995)) | |
961 | MD19=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD19",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
962 | MD19weld=weld(m,MN,MD19,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
963 | mesh("SpecialMesh",MD19,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
964 | MD18=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD18",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
965 | MD18weld=weld(m,MN,MD18,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
966 | mesh("SpecialMesh",MD18,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.411340922, 1.01999998)) | |
967 | MD2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD2",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
968 | MD2weld=weld(m,MN,MD2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.392555237, -0.573539257, 1.09872949, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
969 | mesh("SpecialMesh",MD2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
970 | MD3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD3",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
971 | MD3weld=weld(m,MN,MD3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.397964478, -0.817667723, 0.487944126, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
972 | mesh("SpecialMesh",MD3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
973 | MD4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD4",Vector3.new(0.247408509, 0.259352177, 0.518704116)) | |
974 | MD4weld=weld(m,MN,MD4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.422103882, -0.82026124, 0.507567406, 0.999890864, -0.0149886403, -0.00193861127, 0.0139457425, 0.964460015, -0.263861924, 0.00582473399, 0.26380372, 0.964563668)) | |
975 | mesh("SpecialMesh",MD4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
976 | MD5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD5",Vector3.new(0.2574085, 0.259352177, 0.518704116)) | |
977 | MD5weld=weld(m,MN,MD5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.427509308, -0.557831764, 1.11046171, 0.999886394, -0.0152528733, -0.00162532134, 0.0119883548, 0.710953057, 0.70314008, -0.00956933573, -0.703074038, 0.71105516)) | |
978 | mesh("SpecialMesh",MD5,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
979 | MD6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD6",Vector3.new(0.237408489, 0.259352177, 0.518704116)) | |
980 | MD6weld=weld(m,MN,MD6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.417263031, -0.972257376, 0.702233315, 0.99988991, -0.0150081124, -0.00168980728, 0.0149988253, 0.999872923, -0.00539785437, 0.00177063467, 0.00537188631, 0.999988079)) | |
981 | mesh("SpecialMesh",MD6,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 1.00999999)) | |
982 | MD7=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD7",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
983 | MD7weld=weld(m,MN,MD7,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 0.68581605, 0.000279426575, 1.00000381, 0.000690042973, -0.000169841573, 0.000690029934, -0.999999702, -0.000261242967, -0.000170052983, 0.000261111214, -1.00000393)) | |
984 | mesh("SpecialMesh",MD7,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.00999999, 1.00999999)) | |
985 | MD8=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","MD8",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
986 | MD8weld=weld(m,MN,MD8,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
987 | mesh("SpecialMesh",MD8,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.01999998, 1.01999998)) | |
988 | TR1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR1",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
989 | TR1weld=weld(m,MN,TR1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548826218, 0.30154109, 4.57763672e-05, -0.000205519143, -0.0001726388, -1, -4.31765802e-05, 1, -0.00017263052, 1, 4.314119e-05, -0.000205526594)) | |
990 | mesh("SpecialMesh",TR1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.700000048, 0.700000048)) | |
991 | TR2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR2",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
992 | TR2weld=weld(m,MN,TR2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, 0.741921067, 0.198978901, 1.00000405, -2.92747281e-05, -1.7457176e-05, 2.37242784e-05, 0.965939343, -0.258769363, 2.44602561e-05, 0.25876832, 0.965943277)) | |
993 | mesh("SpecialMesh",TR2,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
994 | TR3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR3",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
995 | TR3weld=weld(m,MN,TR3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-05, 0.603546381, 0.000186920166, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
996 | mesh("SpecialMesh",TR3,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
997 | TR4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR4",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
998 | TR4weld=weld(m,MN,TR4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000106811523, 0.93274045, 0.000304222107, 1.00000787, -8.63452442e-05, -2.6775524e-07, 8.62879679e-05, 1, -2.05411197e-07, 2.68686563e-07, 2.3024586e-07, 1.00000775)) | |
999 | mesh("SpecialMesh",TR4,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.05999994, 0.0822681859, 1.05999994)) | |
1000 | TR5=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR5",Vector3.new(1.09732866, 0.274332285, 1.09732854)) | |
1001 | TR5weld=weld(m,MN,TR5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28881836e-05, -0.960148811, -0.000584125519, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1002 | mesh("SpecialMesh",TR5,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1.02999997, 1.02999997)) | |
1003 | TR6=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Lime green","TR6",Vector3.new(1.09732866, 0.266768783, 1.09732854)) | |
1004 | TR6weld=weld(m,MN,TR6,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-05, -0.246893644, -0.00013256073, 1.00000811, -2.88709998e-08, 3.02679837e-08, -2.93366611e-08, 0.99999994, 1.36606104e-08, 3.0733645e-08, 1.3564204e-08, 1.00000799)) | |
1005 | mesh("SpecialMesh",TR6,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1.02999997, 0.0822681859, 1.02999997)) | |
1006 | MD21=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","MD21",Vector3.new(0.266768694, 0.54866457, 0.548664272)) | |
1007 | MD21weld=weld(m,MN,MD21,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.548921585, 0.301375628, 0.000118255615, -0.000262488145, -9.39509191e-05, -1.00000393, -0.000154611655, 1, -9.38984886e-05, 1.00000393, 0.000154557638, -0.000262471847)) | |
1008 | mesh("SpecialMesh",MD21,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.411340952, 0.900000036, 0.900000036)) | |
1009 | ||
1010 | --[[TG1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Lime green","Handle",Vector3.new(0.231713057, 0.953130603, 0.953130603)) | |
1011 | TG1weld=weld(m,char["HumanoidRootPart"],TG1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.042350769, 2.25753069, -2.74072218, -0.0144443018, -0.00148237997, 0.999894559, 0.138804898, -0.99031961, 0.000536966661, 0.990214407, 0.138798028, 0.0145102367)) | |
1012 | mesh("SpecialMesh",TG1,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.415454358, 0.5, 0.5))]] | |
1013 | ||
1014 | ||
1015 | local edit = function(name,mat,col) | |
1016 | name.Material = mat | |
1017 | name.BrickColor = BrickColor.new(col) | |
1018 | end | |
1019 | ||
1020 | local dark = function() | |
1021 | edit(TR1,"Neon","Lime green") | |
1022 | edit(TR2,"Neon","Lime green") | |
1023 | edit(TR3,"Neon","Lime green") | |
1024 | edit(TR4,"Neon","Lime green") | |
1025 | edit(TR5,"Neon","Lime green") | |
1026 | edit(TR6,"Neon","Lime green") | |
1027 | edit(TR7,"Neon","Lime green") | |
1028 | edit(MN,"Neon","Lime green") | |
1029 | -- | |
1030 | ||
1031 | ||
1032 | end | |
1033 | local light = function() | |
1034 | edit(TR1,"Neon","Lime green") | |
1035 | edit(TR2,"Neon","Lime green") | |
1036 | edit(TR3,"Neon","Lime green") | |
1037 | edit(TR4,"Neon","Lime green") | |
1038 | edit(TR5,"Neon","Lime green") | |
1039 | edit(TR6,"Neon","Lime green") | |
1040 | edit(TR7,"Neon","Lime green") | |
1041 | edit(MN,"Neon","Lime green") | |
1042 | -- | |
1043 | ||
1044 | end | |
1045 | ||
1046 | ||
1047 | dark() | |
1048 | ||
1049 | --Messy | |
1050 | ||
1051 | ---------------------------------------------------- | |
1052 | function Vanish() | |
1053 | for i = 1, 10 do wait() | |
1054 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1055 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1056 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1057 | v.Transparency = v.Transparency + 0.1 | |
1058 | end | |
1059 | end | |
1060 | end | |
1061 | end | |
1062 | end | |
1063 | ---------------------------------------------------- | |
1064 | function Appear() | |
1065 | for i = 1, 10 do wait() | |
1066 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1067 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1068 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1069 | v.Transparency = v.Transparency - 0.1 | |
1070 | end | |
1071 | end | |
1072 | end | |
1073 | end | |
1074 | end | |
1075 | ---------------------------------------------------- | |
1076 | local player = game.Players.LocalPlayer | |
1077 | local pchar = player.Character | |
1078 | local mouse = player:GetMouse() | |
1079 | local cam = workspace.CurrentCamera | |
1080 | ||
1081 | local rad = math.rad | |
1082 | ||
1083 | local keysDown = {} | |
1084 | local flySpeed = 0 | |
1085 | local MAX_FLY_SPEED = 150 | |
1086 | ||
1087 | local canFly = false | |
1088 | local flyToggled = false | |
1089 | ||
1090 | local forward, side = 0, 0 | |
1091 | local lastForward, lastSide = 0, 0 | |
1092 | ||
1093 | local floatBP = Instance.new("BodyPosition") | |
1094 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1095 | local flyBV = Instance.new("BodyVelocity") | |
1096 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1097 | local turnBG = Instance.new("BodyGyro") | |
1098 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1099 | ||
1100 | mouse.KeyDown:connect(function(key) | |
1101 | keysDown[key] = true | |
1102 | ||
1103 | if key == "f" then | |
1104 | flyToggled = not flyToggled | |
1105 | ||
1106 | if not flyToggled then | |
1107 | stanceToggle = "Normal" | |
1108 | floatBP.Parent = nil | |
1109 | flyBV.Parent = nil | |
1110 | turnBG.Parent = nil | |
1111 | root.Velocity = Vector3.new() | |
1112 | pchar.Humanoid.PlatformStand = false | |
1113 | end | |
1114 | end | |
1115 | ||
1116 | end) | |
1117 | mouse.KeyUp:connect(function(key) | |
1118 | keysDown[key] = nil | |
1119 | end) | |
1120 | ||
1121 | local function updateFly() | |
1122 | ||
1123 | if not flyToggled then return end | |
1124 | ||
1125 | lastForward = forward | |
1126 | lastSide = side | |
1127 | ||
1128 | forward = 0 | |
1129 | side = 0 | |
1130 | ||
1131 | if keysDown.w then | |
1132 | forward = forward + 1 | |
1133 | end | |
1134 | if keysDown.s then | |
1135 | forward = forward - 1 | |
1136 | end | |
1137 | if keysDown.a then | |
1138 | side = side - 1 | |
1139 | end | |
1140 | if keysDown.d then | |
1141 | side = side + 1 | |
1142 | end | |
1143 | ||
1144 | ||
1145 | canFly = (forward ~= 0 or side ~= 0) | |
1146 | ||
1147 | if canFly then | |
1148 | stanceToggle = "Floating" | |
1149 | turnBG.Parent = root | |
1150 | floatBP.Parent = nil | |
1151 | flyBV.Parent = root | |
1152 | ||
1153 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1154 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1155 | else | |
1156 | floatBP.position = root.Position | |
1157 | floatBP.Parent = root | |
1158 | ||
1159 | flySpeed = flySpeed - 1 | |
1160 | if flySpeed < 0 then flySpeed = 0 end | |
1161 | end | |
1162 | ||
1163 | local camCF = cam.CoordinateFrame | |
1164 | local in_forward = canFly and forward or lastForward | |
1165 | local in_side = canFly and side or lastSide | |
1166 | ||
1167 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1168 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1169 | ||
1170 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1171 | 0) | |
1172 | end | |
1173 | ||
1174 | game:service'RunService'.RenderStepped:connect(function() | |
1175 | if flyToggled then | |
1176 | pchar.Humanoid.PlatformStand = true | |
1177 | end | |
1178 | updateFly() | |
1179 | end) | |
1180 | ---------------------------------------------------- | |
1181 | p13.Touched:connect(function(ht) | |
1182 | hit = ht.Parent | |
1183 | if ht and hit:IsA("Model") then | |
1184 | if hit:FindFirstChild("Humanoid") then | |
1185 | if hit.Name ~= p.Name then | |
1186 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1187 | Debounces.Slashed = true | |
1188 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1189 | wait(.3) | |
1190 | Debounces.Slashed = false | |
1191 | end | |
1192 | end | |
1193 | end | |
1194 | elseif ht and hit:IsA("Hat") then | |
1195 | if hit.Parent.Name ~= p.Name then | |
1196 | if hit.Parent:FindFirstChild("Humanoid") then | |
1197 | if Debounces.Slashing == true and Debounces.Slashed == false then | |
1198 | Debounces.Slashed = true | |
1199 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(20,25)) | |
1200 | wait(.3) | |
1201 | Debounces.Slashed = false | |
1202 | end | |
1203 | end | |
1204 | end | |
1205 | end | |
1206 | end) | |
1207 | ---------------------------------------------------- | |
1208 | local ptz = {0.7, 0.8, 0.9, 1} | |
1209 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
1210 | idz = {"161006212", "161006195"} | |
1211 | mouse.KeyDown:connect(function(key) | |
1212 | if key == "q" then | |
1213 | if Debounces.CanAttack == true then | |
1214 | Debounces.CanAttack = false | |
1215 | Debounces.NoIdl = true | |
1216 | Debounces.on = true | |
1217 | ||
1218 | if holy == true then | |
1219 | for i = 1, 8 do | |
1220 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
1221 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
1222 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
1223 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
1224 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
1225 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
1226 | if Debounces.on == false then break end | |
1227 | rs:wait(2) | |
1228 | end | |
1229 | else | |
1230 | for i = 1, 20 do | |
1231 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (60),math.rad(70),math.rad(70)), 0.2) | |
1232 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0) *CFrame.Angles(math.rad(-20),math.rad(0),math.rad (-40)), 0.2) | |
1233 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50), math.rad(0)), 0.2) | |
1234 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(-.4, -1, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.2) | |
1235 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.2) | |
1236 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.2) | |
1237 | if Debounces.on == false then break end | |
1238 | rs:wait(2) | |
1239 | end | |
1240 | end | |
1241 | ||
1242 | z = Instance.new("Sound", hed) | |
1243 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1244 | z.Pitch = ptz[math.random(1,#ptz)] | |
1245 | z.Volume = 1 | |
1246 | wait(.01) | |
1247 | z:Play() | |
1248 | ||
1249 | if holy == true then | |
1250 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
1251 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1252 | else | |
1253 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1254 | end | |
1255 | ||
1256 | Debounces.Slashing = true | |
1257 | ||
1258 | if holy == true then | |
1259 | ||
1260 | for i = 1, 5 do | |
1261 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
1262 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
1263 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
1264 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
1265 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
1266 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
1267 | if Debounces.on == false then break end | |
1268 | rs:wait(2) | |
1269 | end | |
1270 | ||
1271 | else | |
1272 | ||
1273 | for i = 1, 20 do | |
1274 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.65, 0) * CFrame.Angles(math.rad(-40),math.rad(-20),math.rad(40)), 0.3) | |
1275 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.65, -.3) * CFrame.Angles(math.rad(65),math.rad(-20),math.rad(30)), 0.3) | |
1276 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-9),math.rad(35), math.rad(0)), 0.3) | |
1277 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 1) * CFrame.Angles(math.rad(0), math.rad(-65), math.rad(0)), 0.3) | |
1278 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-10)), 0.3) | |
1279 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.3) | |
1280 | if Debounces.on == false then break end | |
1281 | rs:wait(2) | |
1282 | end | |
1283 | ||
1284 | end | |
1285 | z1 = Instance.new("Sound", hed) | |
1286 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1287 | z1.Pitch = ptz[math.random(1,#ptz)] | |
1288 | z1.Volume = 1 | |
1289 | wait(.01) | |
1290 | z1:Play() | |
1291 | ||
1292 | if holy == true then | |
1293 | --so("http://roblox.com/asset/?id=231917788",hed,1,1.7) | |
1294 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1295 | else | |
1296 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1297 | end | |
1298 | ||
1299 | ||
1300 | ||
1301 | ||
1302 | Debounces.Slashing = true | |
1303 | for i = 1, 26 do | |
1304 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad (90),math.rad(-40),math.rad(80)), 0.35) | |
1305 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad (- 70)), 0.35) | |
1306 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-90), math.rad(0)), 0.35) | |
1307 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -1) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.35) | |
1308 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles (math.rad(-10), 0, math.rad(-10)), 0.35) | |
1309 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles (math.rad(10), 0, math.rad(10)), 0.35) | |
1310 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles (math.rad(0), math.rad(-30), math.rad(0)), 0.35) | |
1311 | if Debounces.on == false then break end | |
1312 | rs:wait(2) | |
1313 | end | |
1314 | ||
1315 | Debounces.Slashing = false | |
1316 | z:Destroy() | |
1317 | z1:Destroy() | |
1318 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1319 | if Debounces.CanAttack == false then | |
1320 | Debounces.CanAttack = true | |
1321 | Debounces.NoIdl = false | |
1322 | Debounces.on = false | |
1323 | end | |
1324 | end | |
1325 | end | |
1326 | end) | |
1327 | ------------------------------- | |
1328 | pts = {4, 4.2, 4.4, 4.6, 4.8, 5, 5.2, 5.4} | |
1329 | mouse.KeyDown:connect(function(key) | |
1330 | if key == "e" then | |
1331 | if Debounces.CanAttack == true then | |
1332 | Debounces.CanAttack = false | |
1333 | Debounces.NoIdl = true | |
1334 | Debounces.on = true | |
1335 | Debounces.ks = true | |
1336 | larm.Touched:connect(function(ht) | |
1337 | hit = ht.Parent | |
1338 | if ht and hit:IsA("Model") then | |
1339 | if hit:FindFirstChild("Humanoid") then | |
1340 | if hit.Name ~= p.Name then | |
1341 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
1342 | Debounces.Slapped = true | |
1343 | if Debounces.ks==true then | |
1344 | z = Instance.new("Sound",hed) | |
1345 | z.SoundId = "rbxassetid://169380525" | |
1346 | z.Volume = 1 | |
1347 | z:Play() | |
1348 | z1 = Instance.new("Sound",char) | |
1349 | z1.SoundId = "rbxassetid://261010715" | |
1350 | z1.Pitch = pts[math.random(1,#pts)] | |
1351 | z1.Volume = 1 | |
1352 | z2 = Instance.new("Sound",char) | |
1353 | z2.SoundId = "rbxassetid://261010715" | |
1354 | z2.Pitch = z1.Pitch | |
1355 | z2.Volume = 1 | |
1356 | z3 = Instance.new("Sound",char) | |
1357 | z3.SoundId = "rbxassetid://261010715" | |
1358 | z3.Pitch = z1.Pitch | |
1359 | z3.Volume = 1 | |
1360 | z1:Play() | |
1361 | z2:Play() | |
1362 | z3:Play() | |
1363 | Debounces.ks=false | |
1364 | end | |
1365 | hit:FindFirstChild("Humanoid"):TakeDamage(10) | |
1366 | hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 90 | |
1367 | wait(.5) | |
1368 | Debounces.Slapped = false | |
1369 | z:Destroy() | |
1370 | z1:Destroy() | |
1371 | z2:Destroy() | |
1372 | z3:Destroy() | |
1373 | end | |
1374 | end | |
1375 | end | |
1376 | elseif ht and hit:IsA("Hat") then | |
1377 | if hit.Parent.Name ~= p.Name then | |
1378 | if hit.Parent:FindFirstChild("Humanoid") then | |
1379 | if Debounces.Slapping == true and Debounces.Slapped == false then | |
1380 | Debounces.Slapped = true | |
1381 | if Debounces.ks==true then | |
1382 | z = Instance.new("Sound",hed) | |
1383 | z.SoundId = "rbxassetid://169380525" | |
1384 | z.Volume = 1 | |
1385 | z:Play() | |
1386 | z1 = Instance.new("Sound",char) | |
1387 | z1.SoundId = "rbxassetid://261010715" | |
1388 | z1.Pitch = pts[math.random(1,#pts)] | |
1389 | z1.Volume = 1 | |
1390 | z2 = Instance.new("Sound",char) | |
1391 | z2.SoundId = "rbxassetid://261010715" | |
1392 | z2.Pitch = z1.Pitch | |
1393 | z2.Volume = 1 | |
1394 | z3 = Instance.new("Sound",char) | |
1395 | z3.SoundId = "rbxassetid://261010715" | |
1396 | z3.Pitch = z1.Pitch | |
1397 | z3.Volume = 1 | |
1398 | z1:Play() | |
1399 | z2:Play() | |
1400 | z3:Play() | |
1401 | Debounces.ks=false | |
1402 | end | |
1403 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10) | |
1404 | wait(.5) | |
1405 | Debounces.Slapped = false | |
1406 | z:Destroy() | |
1407 | z1:Destroy() | |
1408 | z2:Destroy() | |
1409 | z3:Destroy() | |
1410 | end | |
1411 | end | |
1412 | end | |
1413 | end | |
1414 | end) | |
1415 | for i = 1, 14 do | |
1416 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.5, -.3) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.5) | |
1417 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.5) | |
1418 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5) | |
1419 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.5) | |
1420 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
1421 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.5) | |
1422 | if Debounces.on==false then break end | |
1423 | rs:wait(2) | |
1424 | end | |
1425 | Debounces.Slapping = true | |
1426 | for i = 1, 20 do | |
1427 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3, 0.7, .3) * CFrame.Angles(math.rad(50), 0, math.rad(-110)), 0.6) | |
1428 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(40)), 0.6) | |
1429 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.6) | |
1430 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.6) | |
1431 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1432 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.6) | |
1433 | if Debounces.on==false then break end | |
1434 | rs:wait(2) | |
1435 | end | |
1436 | Debounces.Slapping = false | |
1437 | if Debounces.CanAttack == false then | |
1438 | Debounces.CanAttack = true | |
1439 | Debounces.NoIdl = false | |
1440 | Debounces.on = false | |
1441 | end | |
1442 | end | |
1443 | end | |
1444 | end) | |
1445 | ------------------------------- | |
1446 | ptz2 = {1.5, 1.6, 1.7, 1.8, 1.9, 2} | |
1447 | mouse.KeyDown:connect(function(key) | |
1448 | if key == "r" then | |
1449 | if Debounces.CanAttack == true then | |
1450 | Debounces.CanAttack = false | |
1451 | Debounces.NoIdl = true | |
1452 | Debounces.on = true | |
1453 | if holy ~= true then | |
1454 | for i = 1, 20 do | |
1455 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
1456 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
1457 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
1458 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
1459 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1460 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
1461 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
1462 | if Debounces.on==false then break end | |
1463 | rs:wait(2) | |
1464 | end | |
1465 | else | |
1466 | for i = 1, 10 do | |
1467 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(40)), 0.3) | |
1468 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(130), 0, math.rad(-40)), 0.3) | |
1469 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), 0, 0), 0.3) | |
1470 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(50), 0, 0), 0.3) | |
1471 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1472 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.2, -.5) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
1473 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(0), math.rad(0)), 0.35) | |
1474 | if Debounces.on==false then break end | |
1475 | rs:wait(2) | |
1476 | end | |
1477 | end | |
1478 | Debounces.Slashing = true | |
1479 | ||
1480 | ||
1481 | ||
1482 | z = Instance.new("Sound",hed) | |
1483 | z.SoundId = "rbxassetid://206083107" | |
1484 | z.Pitch = .75 | |
1485 | z.Volume = .65 | |
1486 | wait(0.1) | |
1487 | z:Play() | |
1488 | z1 = Instance.new("Sound", hed) | |
1489 | z1.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1490 | z1.Pitch = ptz[math.random(1,#ptz)] | |
1491 | z1.Volume = 1 | |
1492 | wait(.01) | |
1493 | z1:Play() | |
1494 | ||
1495 | if holy == true then | |
1496 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz2[math.random(1,#ptz2)]) | |
1497 | else | |
1498 | so("http://roblox.com/asset/?id=200633029",hed,1,ptz2[math.random(1,#ptz2)]) | |
1499 | end | |
1500 | ||
1501 | if holy ~= true then | |
1502 | for i = 1, 20 do | |
1503 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
1504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
1505 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1507 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1508 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
1509 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
1510 | if Debounces.on==false then break end | |
1511 | rs:wait(2) | |
1512 | end | |
1513 | else | |
1514 | for i = 1, 10 do | |
1515 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(40)), 0.3) | |
1516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1, 0.6, -.4) * CFrame.Angles(math.rad(50), 0, math.rad(-40)), 0.3) | |
1517 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1518 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1519 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -.7) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1520 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-40), 0, 0), 0.3) | |
1521 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, -.2, 0) * CFrame.Angles (math.rad(40), math.rad(-20), math.rad(20)), 0.35) | |
1522 | if Debounces.on==false then break end | |
1523 | rs:wait(2) | |
1524 | end | |
1525 | end | |
1526 | Debounces.Slashing = false | |
1527 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1528 | if Debounces.CanAttack == false then | |
1529 | Debounces.CanAttack = true | |
1530 | Debounces.NoIdl = false | |
1531 | Debounces.on = false | |
1532 | end | |
1533 | end | |
1534 | end | |
1535 | end) | |
1536 | ------------------------------- | |
1537 | mouse.KeyDown:connect(function(key) | |
1538 | if key == "t" then | |
1539 | if Debounces.CanAttack == true then | |
1540 | Debounces.CanAttack = false | |
1541 | Debounces.on = true | |
1542 | Debounces.NoIdl = true | |
1543 | for i = 1,20 do | |
1544 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
1545 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(0)), 0.2) | |
1546 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(0),0), 0.2) | |
1547 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, .4) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.2) | |
1548 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-10)), 0.2) | |
1549 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.2) | |
1550 | if Debounces.on==false then break end | |
1551 | rs:wait(2) | |
1552 | end | |
1553 | for i = 1,20 do | |
1554 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
1555 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.2) | |
1556 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(0),0), 0.2) | |
1557 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.4) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.2) | |
1558 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.2) | |
1559 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.2) | |
1560 | if Debounces.on==false then break end | |
1561 | rs:wait(2) | |
1562 | end | |
1563 | if Debounces.CanAttack == false then | |
1564 | Debounces.CanAttack = true | |
1565 | Debounces.on = false | |
1566 | Debounces.NoIdl = false | |
1567 | end | |
1568 | end | |
1569 | end | |
1570 | end) | |
1571 | ------------------------------- | |
1572 | local ptz3 = {0.5, 0.6, 0.7} | |
1573 | mouse.KeyDown:connect(function(key) | |
1574 | if key == "g" then | |
1575 | if Debounces.CanAttack == true then | |
1576 | Debounces.CanAttack = false | |
1577 | Debounces.NoIdl = true | |
1578 | Debounces.on = true | |
1579 | Debounces.Slashing = true | |
1580 | ||
1581 | z = Instance.new("Sound", hed) | |
1582 | z.SoundId = "rbxassetid://"..idz[math.random(1,#idz)] | |
1583 | z.Pitch = ptz[math.random(1,#ptz)] | |
1584 | z.Volume = 1 | |
1585 | ||
1586 | ||
1587 | if holy == true then | |
1588 | eColors = {"Lime green"} | |
1589 | ||
1590 | ||
1591 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
1592 | if v:IsA("Part") or v:IsA("WedgePart") then | |
1593 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
1594 | v.BrickColor = BrickColor.new("Lime green") | |
1595 | v.Material = "Neon" | |
1596 | end | |
1597 | end | |
1598 | end | |
1599 | ||
1600 | ||
1601 | char.Humanoid.WalkSpeed = 50 | |
1602 | ||
1603 | GroundWave() | |
1604 | so("http://roblox.com/asset/?id=200633077",hed,1,ptz3[math.random(1,#ptz3)]) | |
1605 | so("http://www.roblox.com/asset/?id=241816017",hed,1,0.5) | |
1606 | so("http://www.roblox.com/asset/?id=241816017",hed,1,1) | |
1607 | ||
1608 | ||
1609 | else | |
1610 | so("http://roblox.com/asset/?id=200633029",hed,1,0.9) | |
1611 | end | |
1612 | ||
1613 | ||
1614 | for i = 1, 8 do | |
1615 | z:play() | |
1616 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-90)), 0.8) | |
1617 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), 0, math.rad(90)), 0.8) | |
1618 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1619 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(0, 0, 0), 0.8) | |
1620 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1621 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), 0, 0), 0.8) | |
1622 | if Debounces.on==false then break end | |
1623 | rs:wait(2) | |
1624 | end | |
1625 | for i = 1, 2880, 48 do | |
1626 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(i), math.rad(0)) | |
1627 | rs:wait(4) | |
1628 | end | |
1629 | ||
1630 | ||
1631 | ||
1632 | ||
1633 | ||
1634 | ||
1635 | ||
1636 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1637 | Debounces.Slashing = false | |
1638 | ||
1639 | if Debounces.CanAttack == false then | |
1640 | Debounces.CanAttack = true | |
1641 | Debounces.NoIdl = false | |
1642 | Debounces.on = false | |
1643 | ||
1644 | ||
1645 | ||
1646 | ||
1647 | char.Humanoid.WalkSpeed = 10 | |
1648 | ||
1649 | ||
1650 | end | |
1651 | ||
1652 | ||
1653 | ||
1654 | end | |
1655 | ||
1656 | ||
1657 | ||
1658 | end | |
1659 | ||
1660 | ||
1661 | end) | |
1662 | ---------------------------------------------------- | |
1663 | pt = {6.6, 6.8, 7, 7.2, 7.4} | |
1664 | mouse.KeyDown:connect(function(key) | |
1665 | if key == "l" then | |
1666 | if Debounces.CanJoke == true then | |
1667 | Debounces.CanJoke = false | |
1668 | u = Instance.new("Sound",char) | |
1669 | u.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1670 | u.Pitch = pt[math.random(1,#pt)] | |
1671 | u.Volume = 1 | |
1672 | u2 = Instance.new("Sound",char) | |
1673 | u2.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1674 | u2.Pitch = u.Pitch | |
1675 | u2.Volume = 1 | |
1676 | u3 = Instance.new("Sound",char) | |
1677 | u3.SoundId = "http://www.roblox.com/asset/?id=261303790" | |
1678 | u3.Pitch = u.Pitch | |
1679 | u3.Volume = 1 | |
1680 | wait(.01) | |
1681 | u:Play() | |
1682 | u2:Play() | |
1683 | u3:Play() | |
1684 | wait(1.5) | |
1685 | u:Destroy() | |
1686 | u2:Destroy() | |
1687 | u3:Destroy() | |
1688 | if Debounces.CanJoke == false then | |
1689 | Debounces.CanJoke = true | |
1690 | end | |
1691 | end | |
1692 | end | |
1693 | end) | |
1694 | ||
1695 | ------------------------------- BEGIN GRABPUNCH | |
1696 | mouse.KeyDown:connect(function(key) | |
1697 | if key == "x" then | |
1698 | Debounces.on = true | |
1699 | Debounces.NoIdl = true | |
1700 | Debounces.ks = true | |
1701 | if Grab == false then | |
1702 | gp = nil | |
1703 | ||
1704 | if Melee == false then | |
1705 | Melee = true | |
1706 | Vanish() | |
1707 | stanceToggle = "Melee" | |
1708 | elseif Melee == true then | |
1709 | Melee = false | |
1710 | Appear() | |
1711 | stanceToggle = "Normal" | |
1712 | end | |
1713 | ||
1714 | for i = 1, 20 do | |
1715 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2) | |
1716 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2) | |
1717 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
1718 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1719 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
1720 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
1721 | if Debounces.on == false then break end | |
1722 | rs:wait() | |
1723 | end | |
1724 | con1=larm.Touched:connect(function(hit) -- this is grab | |
1725 | ht = hit.Parent | |
1726 | hum1=ht:FindFirstChild('Humanoid') | |
1727 | if hum1 ~= nil then | |
1728 | if Debounces.ks==true then | |
1729 | z = Instance.new("Sound",hed) | |
1730 | z.SoundId = "rbxassetid://169380525" | |
1731 | z.Volume = 1 | |
1732 | z:Play() | |
1733 | Debounces.ks=false | |
1734 | end | |
1735 | hum1.PlatformStand=true | |
1736 | gp = ht | |
1737 | Grab = true | |
1738 | asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0)) | |
1739 | asd.Parent = larm | |
1740 | asd.Name = "asd" | |
1741 | asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0) | |
1742 | --[[elseif hum1 == nil then | |
1743 | con1:disconnect() | |
1744 | wait() return]]-- | |
1745 | end | |
1746 | end) | |
1747 | for i = 1, 20 do | |
1748 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2) | |
1749 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2) | |
1750 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
1751 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1752 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
1753 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
1754 | if Debounces.on == false then break end | |
1755 | rs:wait() | |
1756 | end | |
1757 | if hum1 == nil then | |
1758 | Debounces.on = false | |
1759 | Debounces.NoIdl = false | |
1760 | end | |
1761 | con1:disconnect() | |
1762 | elseif Grab == true then | |
1763 | Grab = false | |
1764 | Punch() | |
1765 | z = Instance.new("Sound",hed) | |
1766 | z.SoundId = "rbxassetid://169380525" | |
1767 | z.Pitch = ptz[math.random(1,#ptz)] | |
1768 | z.Volume = 1 | |
1769 | z:Play() | |
1770 | for i = 1, 10 do | |
1771 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1772 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1773 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1774 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1775 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1776 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1777 | if Debounces.on == false then break end | |
1778 | rs:wait() | |
1779 | end | |
1780 | Punch() | |
1781 | z = Instance.new("Sound",hed) | |
1782 | z.SoundId = "rbxassetid://169380525" | |
1783 | z.Pitch = ptz[math.random(1,#ptz)] | |
1784 | z.Volume = 1 | |
1785 | z:Play() | |
1786 | for i = 1, 10 do | |
1787 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1788 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1789 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1790 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1791 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1792 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1793 | if Debounces.on == false then break end | |
1794 | rs:wait() | |
1795 | end | |
1796 | Punch() | |
1797 | z = Instance.new("Sound",hed) | |
1798 | z.SoundId = "rbxassetid://169380525" | |
1799 | z.Pitch = ptz[math.random(1,#ptz)] | |
1800 | z.Volume = 1 | |
1801 | z:Play() | |
1802 | for i = 1, 10 do | |
1803 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1804 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1805 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1806 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1807 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1808 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1809 | if Debounces.on == false then break end | |
1810 | rs:wait() | |
1811 | end | |
1812 | Punch() | |
1813 | z = Instance.new("Sound",hed) | |
1814 | z.SoundId = "rbxassetid://169380525" | |
1815 | z.Pitch = ptz[math.random(1,#ptz)] | |
1816 | z.Volume = 1 | |
1817 | z:Play() | |
1818 | for i = 1, 10 do | |
1819 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1820 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1821 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1822 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1823 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1824 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1825 | if Debounces.on == false then break end | |
1826 | rs:wait() | |
1827 | end | |
1828 | Punch() | |
1829 | z = Instance.new("Sound",hed) | |
1830 | z.SoundId = "rbxassetid://169380525" | |
1831 | z.Pitch = ptz[math.random(1,#ptz)] | |
1832 | z.Volume = 1 | |
1833 | z:Play() | |
1834 | for i = 1, 10 do | |
1835 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1836 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1837 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1838 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1839 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1840 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1841 | if Debounces.on == false then break end | |
1842 | rs:wait() | |
1843 | end | |
1844 | Punch() | |
1845 | z = Instance.new("Sound",hed) | |
1846 | z.SoundId = "rbxassetid://169380525" | |
1847 | z.Pitch = ptz[math.random(1,#ptz)] | |
1848 | z.Volume = 1 | |
1849 | z:Play() | |
1850 | for i = 1, 10 do | |
1851 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1852 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1853 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1854 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1855 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1856 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1857 | if Debounces.on == false then break end | |
1858 | rs:wait() | |
1859 | end | |
1860 | Punch() | |
1861 | z = Instance.new("Sound",hed) | |
1862 | z.SoundId = "rbxassetid://169380525" | |
1863 | z.Pitch = ptz[math.random(1,#ptz)] | |
1864 | z.Volume = 1 | |
1865 | z:Play() | |
1866 | for i = 1, 10 do | |
1867 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1868 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1869 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1870 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1871 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1872 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1873 | if Debounces.on == false then break end | |
1874 | rs:wait() | |
1875 | end | |
1876 | Punch() | |
1877 | z = Instance.new("Sound",hed) | |
1878 | z.SoundId = "rbxassetid://169380525" | |
1879 | z.Pitch = ptz[math.random(1,#ptz)] | |
1880 | z.Volume = 1 | |
1881 | z:Play() | |
1882 | for i = 1, 10 do | |
1883 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1884 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1885 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1886 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1887 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1888 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1889 | if Debounces.on == false then break end | |
1890 | rs:wait() | |
1891 | end | |
1892 | Punch() | |
1893 | z = Instance.new("Sound",hed) | |
1894 | z.SoundId = "rbxassetid://169380525" | |
1895 | z.Pitch = ptz[math.random(1,#ptz)] | |
1896 | z.Volume = 1 | |
1897 | z:Play() | |
1898 | for i = 1, 10 do | |
1899 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1900 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1901 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1902 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1903 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1904 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1905 | if Debounces.on == false then break end | |
1906 | rs:wait() | |
1907 | end | |
1908 | Punch() | |
1909 | z = Instance.new("Sound",hed) | |
1910 | z.SoundId = "rbxassetid://169380525" | |
1911 | z.Pitch = ptz[math.random(1,#ptz)] | |
1912 | z.Volume = 1 | |
1913 | z:Play() | |
1914 | for i = 1, 10 do | |
1915 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1916 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1917 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1918 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1919 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1920 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1921 | if Debounces.on == false then break end | |
1922 | rs:wait() | |
1923 | end | |
1924 | Punch() | |
1925 | z = Instance.new("Sound",hed) | |
1926 | z.SoundId = "rbxassetid://169380525" | |
1927 | z.Pitch = ptz[math.random(1,#ptz)] | |
1928 | z.Volume = 1 | |
1929 | z:Play() | |
1930 | for i = 1, 10 do | |
1931 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7) | |
1932 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7) | |
1933 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4) | |
1934 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6) | |
1935 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1936 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1937 | if Debounces.on == false then break end | |
1938 | rs:wait() | |
1939 | end | |
1940 | Punch() | |
1941 | z = Instance.new("Sound",hed) | |
1942 | z.SoundId = "rbxassetid://169380525" | |
1943 | z.Pitch = ptz[math.random(1,#ptz)] | |
1944 | z.Volume = 1 | |
1945 | z:Play() | |
1946 | for i = 1, 10 do | |
1947 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6) | |
1948 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7) | |
1949 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4) | |
1950 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65) | |
1951 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
1952 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
1953 | if Debounces.on == false then break end | |
1954 | rs:wait() | |
1955 | end | |
1956 | con1:disconnect() | |
1957 | Debounces.on = false | |
1958 | Debounces.NoIdl = false | |
1959 | if gp ~= nil then | |
1960 | gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140 | |
1961 | for i,v in pairs(larm:GetChildren()) do | |
1962 | if v.Name == "asd" and v:IsA("Weld") then | |
1963 | v:Remove() | |
1964 | end | |
1965 | end | |
1966 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
1967 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
1968 | bv.P = 125000 | |
1969 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
1970 | hum1=nil | |
1971 | ht=nil | |
1972 | Debounces.on = false | |
1973 | Debounces.NoIdl = false | |
1974 | elseif ht == nil then wait() | |
1975 | Grab = false | |
1976 | Debounces.on = false | |
1977 | Debounces.NoIdl = false | |
1978 | end | |
1979 | end | |
1980 | end | |
1981 | end) | |
1982 | ||
1983 | ||
1984 | ------------------------------------------------- | |
1985 | ||
1986 | ||
1987 | ||
1988 | ||
1989 | ----------------------------------------------------Cero | |
1990 | mouse.KeyDown:connect(function(key) | |
1991 | if key == "c" then | |
1992 | if Debounces.CanAttack == true then | |
1993 | Debounces.CanAttack = false | |
1994 | Debounces.NoIdl = true | |
1995 | Debounces.on = true | |
1996 | char.Humanoid.WalkSpeed = .01 | |
1997 | Debounces.on = true | |
1998 | Vanish() | |
1999 | ||
2000 | xx = Instance.new("Sound") | |
2001 | xx.SoundId = "http://www.roblox.com/asset/?id=199145659" | |
2002 | xx.Parent = char.Head | |
2003 | xx.Looped = false | |
2004 | xx.Pitch = .88 | |
2005 | xx.Volume = 1 | |
2006 | wait(.1) | |
2007 | xx:Play() | |
2008 | ||
2009 | if holy == true then | |
2010 | so("http://roblox.com/asset/?id=231917788",hed,1,1) | |
2011 | else | |
2012 | end | |
2013 | ||
2014 | ||
2015 | if holy ~= true then | |
2016 | for i = 1, 20 do | |
2017 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
2018 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
2019 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2020 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2021 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2022 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2023 | if Debounces.on==false then break end | |
2024 | wait() | |
2025 | end | |
2026 | wait(1) | |
2027 | else | |
2028 | for i = 1, 5 do | |
2029 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-18), 0, math.rad(-20)), 0.3) | |
2030 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(65), 0, math.rad(-40)), 0.3) | |
2031 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.3) | |
2032 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(8), 0, math.rad(10)), 0.3) | |
2033 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-10), math.rad(-70), 0), 0.6) | |
2034 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(84), 0), 0.4) | |
2035 | if Debounces.on==false then break end | |
2036 | wait() | |
2037 | end | |
2038 | wait(1) | |
2039 | end | |
2040 | ||
2041 | x = Instance.new("Sound") | |
2042 | x.SoundId = "http://www.roblox.com/asset/?id=142070127" | |
2043 | x2 = Instance.new("Sound") | |
2044 | x2.SoundId = "http://www.roblox.com/asset/?id=183763506" | |
2045 | x.Parent = char.Head | |
2046 | x2.Parent = char.Head | |
2047 | x.Looped = false | |
2048 | x2.Looped = false | |
2049 | x.Pitch = .88 | |
2050 | x.Volume = 1 | |
2051 | x2.Pitch = .88 | |
2052 | x2.Volume = 1 | |
2053 | wait(.1) | |
2054 | x:Play() | |
2055 | x2:Play() | |
2056 | Debounces.on = false | |
2057 | Debounces.Here = false | |
2058 | ||
2059 | for i = 1, 6 do | |
2060 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.4) | |
2061 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(101)), 0.4) | |
2062 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
2063 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
2064 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
2065 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
2066 | wait() | |
2067 | end | |
2068 | local rng = Instance.new("Part", char) | |
2069 | rng.Anchored = true | |
2070 | ||
2071 | if holy ~= true then | |
2072 | rng.BrickColor = BrickColor.new("Really black") | |
2073 | else | |
2074 | rng.BrickColor = BrickColor.new("Lime green") | |
2075 | end | |
2076 | ||
2077 | rng.CanCollide = false | |
2078 | rng.FormFactor = 3 | |
2079 | rng.Name = "Ring" | |
2080 | rng.Size = Vector3.new(1, 1, 1) | |
2081 | rng.Transparency = 0.35 | |
2082 | rng.TopSurface = 0 | |
2083 | rng.BottomSurface = 0 | |
2084 | rng.Material = "Neon" | |
2085 | local rngm = Instance.new("SpecialMesh", rng) | |
2086 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2087 | rngm.Scale = Vector3.new(10, 10, 1) | |
2088 | local bem = Instance.new("Part", char) | |
2089 | bem.Anchored = true | |
2090 | ||
2091 | if holy ~= true then | |
2092 | bem.BrickColor = BrickColor.new("Really black") | |
2093 | else | |
2094 | bem.BrickColor = BrickColor.new("Lime green") | |
2095 | end | |
2096 | ||
2097 | bem.Material = "Neon" | |
2098 | bem.CanCollide = false | |
2099 | bem.FormFactor = 3 | |
2100 | bem.Name = "Beam" .. shot | |
2101 | bem.Size = Vector3.new(1, 1, 1) | |
2102 | bem.Transparency = 0.35 | |
2103 | bem.TopSurface = 0 | |
2104 | bem.BottomSurface = 0 | |
2105 | local bemm = Instance.new("SpecialMesh", bem) | |
2106 | bemm.MeshType = 4 | |
2107 | bemm.Scale = Vector3.new(1, 4, 4) | |
2108 | local out = Instance.new("Part", char) | |
2109 | out.Anchored = true | |
2110 | ||
2111 | if holy ~= true then | |
2112 | out.BrickColor = BrickColor.new("Really black") | |
2113 | else | |
2114 | out.BrickColor = BrickColor.new("Lime green") | |
2115 | end | |
2116 | ||
2117 | out.Material = "Neon" | |
2118 | out.CanCollide = false | |
2119 | out.FormFactor = 3 | |
2120 | out.Name = "Out" | |
2121 | out.Size = Vector3.new(1, 1, 1) | |
2122 | out.Transparency = 0.35 | |
2123 | out.TopSurface = 0 | |
2124 | out.BottomSurface = 0 | |
2125 | local outm = Instance.new("SpecialMesh", out) | |
2126 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2127 | outm.Scale = Vector3.new(2, 2, 2) | |
2128 | local bnd = Instance.new("Part", char) | |
2129 | bnd.Anchored = true | |
2130 | ||
2131 | if holy ~= true then | |
2132 | bnd.BrickColor = BrickColor.new("Really black") | |
2133 | else | |
2134 | bnd.BrickColor = BrickColor.new("Lime green") | |
2135 | end | |
2136 | ||
2137 | bnd.Material = "Neon" | |
2138 | bnd.CanCollide = false | |
2139 | bnd.FormFactor = 3 | |
2140 | bnd.Name = "BEnd" | |
2141 | bnd.Size = Vector3.new(1, 1, 1) | |
2142 | bnd.Transparency = 0.35 | |
2143 | bnd.TopSurface = 0 | |
2144 | bnd.BottomSurface = 0 | |
2145 | local bndm = Instance.new("SpecialMesh", bnd) | |
2146 | bndm.MeshType = 3 | |
2147 | bndm.Scale = Vector3.new(4, 4, 4) | |
2148 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
2149 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2150 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2151 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2152 | Debounces.Shewt = true | |
2153 | coroutine.wrap(function() | |
2154 | for i = 1, 20, 0.2 do | |
2155 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2156 | rng.Transparency = i/20 | |
2157 | wait() | |
2158 | end | |
2159 | wait() | |
2160 | rng:Destroy() | |
2161 | end)() | |
2162 | if Debounces.Shewt == true then | |
2163 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) --Here | |
2164 | print("Hit") | |
2165 | hit = ht.Parent | |
2166 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2167 | print("Yes") | |
2168 | if HasntTouched(hit.Name) == true and deb == false then | |
2169 | deb = true | |
2170 | coroutine.wrap(function() | |
2171 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2172 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2173 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(18,63)) | |
2174 | wait(1) | |
2175 | hit:FindFirstChild("Humanoid").PlatformStand = false | |
2176 | end)() | |
2177 | table.insert(Touche, hit.Name) | |
2178 | deb = false | |
2179 | end | |
2180 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2181 | print("Yes") | |
2182 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2183 | deb = true | |
2184 | coroutine.wrap(function() | |
2185 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2186 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 140 | |
2187 | wait(1) | |
2188 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2189 | end)() | |
2190 | table.insert(Touche, hit.Parent.Name) | |
2191 | deb = false | |
2192 | for i, v in pairs(Touche) do | |
2193 | print(v) | |
2194 | end | |
2195 | end | |
2196 | end | |
2197 | end) | |
2198 | end | |
2199 | for i = 0, 200, 7 do | |
2200 | bem.Size = Vector3.new(i, 1, 1) | |
2201 | bem.CFrame = rarm.CFrame * CFrame.new(0, -2.5 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2202 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 0) | |
2203 | wait() | |
2204 | end | |
2205 | wait() | |
2206 | Debounces.Shewt = false | |
2207 | bem:Destroy() | |
2208 | out:Destroy() | |
2209 | bnd:Destroy() | |
2210 | char.Humanoid.WalkSpeed = 10 | |
2211 | Debounces.Ready = false | |
2212 | for i, v in pairs(Touche) do | |
2213 | table.remove(Touche, i) | |
2214 | end | |
2215 | wait() | |
2216 | table.insert(Touche, char.Name) | |
2217 | Debounces.NoIdl = false | |
2218 | if Debounces.CanAttack == false then | |
2219 | Debounces.CanAttack = true | |
2220 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
2221 | ||
2222 | ||
2223 | Debounces.on = false | |
2224 | Appear() | |
2225 | end | |
2226 | end | |
2227 | end | |
2228 | end) | |
2229 | ------------------------------- | |
2230 | ||
2231 | ----------------------------------------------------EDIT END | |
2232 | Grab = false | |
2233 | mouse.KeyDown:connect(function(key) | |
2234 | if key == "z" then | |
2235 | Debounces.on = true | |
2236 | Debounces.NoIdl = true | |
2237 | Debounces.ks = true | |
2238 | if Grab == false then | |
2239 | gp = nil | |
2240 | for i = 1, 20 do | |
2241 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
2242 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2) | |
2243 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2) | |
2244 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2) | |
2245 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2) | |
2246 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2) | |
2247 | if Debounces.on == false then break end | |
2248 | rs:wait(2) | |
2249 | end | |
2250 | con1=larm.Touched:connect(function(hit) -- this is grab | |
2251 | ht = hit.Parent | |
2252 | hum1=ht:FindFirstChild('Humanoid') | |
2253 | if hum1 ~= nil then | |
2254 | if Debounces.ks==true then | |
2255 | z = Instance.new("Sound",hed) | |
2256 | z.SoundId = "rbxassetid://169380525" | |
2257 | z.Volume = 1 | |
2258 | z:Play() | |
2259 | Debounces.ks=false | |
2260 | end | |
2261 | hum1.PlatformStand=true | |
2262 | gp = ht | |
2263 | Grab = true | |
2264 | asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0)) | |
2265 | asd.Parent = larm | |
2266 | asd.Name = "asd" | |
2267 | asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0) | |
2268 | stanceToggle = "Grabbed" | |
2269 | --[[elseif hum1 == nil then | |
2270 | con1:disconnect() | |
2271 | wait() return]]-- | |
2272 | end | |
2273 | end) | |
2274 | for i = 1, 20 do | |
2275 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2) | |
2276 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2) | |
2277 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2) | |
2278 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2) | |
2279 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
2280 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2) | |
2281 | if Debounces.on == false then break end | |
2282 | rs:wait(2) | |
2283 | end | |
2284 | con1:disconnect() | |
2285 | Debounces.on = false | |
2286 | Debounces.NoIdl = false | |
2287 | elseif Grab == true then | |
2288 | Grab = false | |
2289 | --[[for i = 1, 16 do | |
2290 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3) | |
2291 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3) | |
2292 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3) | |
2293 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
2294 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
2295 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
2296 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3) | |
2297 | if Debounces.on == false then end | |
2298 | rs:wait() | |
2299 | end]]-- | |
2300 | for i = 1, 16 do | |
2301 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
2302 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-50)), 0.3) | |
2303 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3) | |
2304 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3) | |
2305 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) | |
2306 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
2307 | if Debounces.on == false then end | |
2308 | rs:wait() | |
2309 | end | |
2310 | Slam() | |
2311 | if gp ~= nil then | |
2312 | for i,v in pairs(larm:GetChildren()) do | |
2313 | if v.Name == "asd" and v:IsA("Weld") then | |
2314 | v:Remove() | |
2315 | end | |
2316 | end | |
2317 | for i = 1, 16 do | |
2318 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3) | |
2319 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.3) | |
2320 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3) | |
2321 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3) | |
2322 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3) | |
2323 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3) | |
2324 | if Debounces.on == false then end | |
2325 | rs:wait() | |
2326 | end | |
2327 | stanceToggle = "Normal" | |
2328 | --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso")) | |
2329 | bv.maxForce = Vector3.new(400000, 400000, 400000) | |
2330 | bv.P = 125000 | |
2331 | bv.velocity = char.Head.CFrame.lookVector * 200]]-- | |
2332 | ht=nil | |
2333 | Debounces.on = false | |
2334 | Debounces.NoIdl = false | |
2335 | elseif ht == nil then wait() | |
2336 | Grab = false | |
2337 | Debounces.on = false | |
2338 | Debounces.NoIdl = false | |
2339 | end | |
2340 | end | |
2341 | end | |
2342 | end) | |
2343 | ---------------------------------------------------- | |
2344 | Charging = false | |
2345 | chargewait = false | |
2346 | mouse.KeyDown:connect(function(key) | |
2347 | if key == "h" then | |
2348 | if Charging == false and chargewait == false then | |
2349 | Charging = true | |
2350 | chargewait = true | |
2351 | if Debounces.CanAttack == true then | |
2352 | Debounces.CanAttack = false | |
2353 | Debounces.NoIdl = true | |
2354 | Debounces.on = true | |
2355 | ||
2356 | ||
2357 | if holy ~= true then | |
2358 | holy = true | |
2359 | else holy = false | |
2360 | end | |
2361 | ||
2362 | ||
2363 | for i = 1,20 do | |
2364 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2) | |
2365 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2) | |
2366 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2) | |
2367 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2368 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2369 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2) | |
2370 | if Debounces.on == false then break end | |
2371 | rs:wait() | |
2372 | end | |
2373 | pt=Instance.new('Part',torso) | |
2374 | pt.Anchored=true | |
2375 | pt.CanCollide=false | |
2376 | pt.Locked = true | |
2377 | pt.Material = "Neon" | |
2378 | pt.FormFactor='Custom' | |
2379 | pt.Size=Vector3.new(1,1,1) | |
2380 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2381 | pt.Transparency=.6 | |
2382 | ||
2383 | if holy == true then | |
2384 | pt.BrickColor=BrickColor.new('Lime green') | |
2385 | else | |
2386 | pt.BrickColor = BrickColor.new("Really black") | |
2387 | end | |
2388 | ||
2389 | msh=Instance.new('SpecialMesh',pt) | |
2390 | msh.MeshId='http://www.roblox.com/asset/?id=20329976' | |
2391 | msh.Scale=Vector3.new(8,4,8) | |
2392 | pt2=pt:clone() | |
2393 | pt2.Parent = torso | |
2394 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
2395 | ||
2396 | if holy == true then | |
2397 | pt2.BrickColor=BrickColor.new('Lime green') | |
2398 | else | |
2399 | pt2.BrickColor = BrickColor.new("Lime green") | |
2400 | end | |
2401 | ||
2402 | ||
2403 | msh2=msh:clone() | |
2404 | msh2.Parent=pt2 | |
2405 | msh2.Scale=Vector3.new(10,5,10) | |
2406 | ||
2407 | custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100} | |
2408 | ||
2409 | bl = Instance.new("Part", char) | |
2410 | bl.Locked = true | |
2411 | bl.Name = "Shell" | |
2412 | ||
2413 | if holy == true then | |
2414 | bl.BrickColor = BrickColor.new("Lime green") | |
2415 | else | |
2416 | bl.BrickColor = BrickColor.new("Really black") | |
2417 | end | |
2418 | ||
2419 | bl.Anchored = true | |
2420 | bl.Material = "Neon" | |
2421 | bl.CanCollide = false | |
2422 | bl.Transparency = 0 | |
2423 | bl.Reflectance = 0 | |
2424 | bl.BottomSurface = 0 | |
2425 | bl.TopSurface = 0 | |
2426 | bl.Shape = 0 | |
2427 | blm = Instance.new("SpecialMesh",bl) | |
2428 | blm.MeshType = "Sphere" | |
2429 | blm.Scale = Vector3.new(1,1,1) | |
2430 | ||
2431 | so("http://www.roblox.com/asset/?id=340722848",hed,2,1.2) | |
2432 | so("http://www.roblox.com/asset/?id=340722848",torso,0.5,0.8) | |
2433 | so("http://roblox.com/asset/?id=168586621",torso,1,0.5) | |
2434 | ||
2435 | ||
2436 | ||
2437 | ||
2438 | if holy == true then | |
2439 | light() | |
2440 | ds:stop() | |
2441 | hs:play() | |
2442 | eColors = {"Lime green"} | |
2443 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
2444 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2445 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
2446 | v.BrickColor = BrickColor.new("Lime green") | |
2447 | v.Material = "Neon" | |
2448 | end | |
2449 | end | |
2450 | end | |
2451 | ||
2452 | ||
2453 | else | |
2454 | dark() | |
2455 | hs:stop() | |
2456 | ds:play() | |
2457 | eColors = {"Lime green", "Really black"} | |
2458 | for i,v in pairs(char.Genkadda:GetChildren()) do | |
2459 | if v:IsA("Part") or v:IsA("WedgePart") then | |
2460 | if v.Name ~= "HitBox" or v.Name ~= "Thingy" then | |
2461 | v.BrickColor = BrickColor.new("Really black") | |
2462 | v.Material = "Metal" | |
2463 | end | |
2464 | end | |
2465 | end | |
2466 | ||
2467 | end | |
2468 | ||
2469 | coroutine.resume(coroutine.create(function() | |
2470 | for i=1, math.huge, 4 do | |
2471 | if Charging == true then | |
2472 | rs:wait() | |
2473 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
2474 | blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5) | |
2475 | bl.Transparency = bl.Transparency + 0.05 | |
2476 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
2477 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
2478 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
2479 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
2480 | elseif Charging == false then break | |
2481 | end | |
2482 | end | |
2483 | end)) | |
2484 | ||
2485 | ||
2486 | repeat | |
2487 | local p = Instance.new('Part',torso) | |
2488 | p.formFactor = 'Custom' | |
2489 | p.Size = Vector3.new(1,1,1) | |
2490 | ||
2491 | if holy == true then | |
2492 | p.BrickColor = BrickColor.new("Lime green") | |
2493 | else | |
2494 | p.BrickColor = BrickColor.new("Really black") | |
2495 | end | |
2496 | ||
2497 | p.CanCollide = false | |
2498 | p.Transparency = 0 | |
2499 | p.Anchored = true | |
2500 | p.Locked=true | |
2501 | p.Material = "Neon" | |
2502 | s = math.random(1,40)/10 | |
2503 | local m = Instance.new("BlockMesh",p) | |
2504 | m.Scale = Vector3.new(s,s,s) | |
2505 | p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random()) | |
2506 | --[[coroutine.wrap(function() | |
2507 | wait(2) | |
2508 | while Charging == true do | |
2509 | wait(2) | |
2510 | GroundWave1() | |
2511 | wait(2) | |
2512 | end | |
2513 | end)()]]-- | |
2514 | Spawn(function() | |
2515 | while rs:wait() do | |
2516 | if Charging == true then | |
2517 | rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50))) | |
2518 | larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30))) | |
2519 | hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0)) | |
2520 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
2521 | lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10))) | |
2522 | rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20))) | |
2523 | elseif Charging == false then break | |
2524 | end | |
2525 | end | |
2526 | end) | |
2527 | Spawn(function() | |
2528 | while rs:wait() do | |
2529 | if p.Transparency >= 1 then p:Destroy() break end | |
2530 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
2531 | p.Transparency = p.Transparency+0.01 | |
2532 | end | |
2533 | end) | |
2534 | wait(.3) | |
2535 | ||
2536 | ||
2537 | until Charging == false | |
2538 | end | |
2539 | end | |
2540 | end | |
2541 | end) | |
2542 | ||
2543 | ---------------------------------------------------- | |
2544 | mouse.KeyUp:connect(function(key) | |
2545 | if key == "h" then | |
2546 | if Charging == true and chargewait == true then | |
2547 | chargewait = false | |
2548 | wait(1) | |
2549 | Charging = false | |
2550 | ||
2551 | --[[for i,v in pairs (torso:GetChildren()) do | |
2552 | if v:IsA("Sound") then | |
2553 | v:Destroy() | |
2554 | end | |
2555 | end]] | |
2556 | ||
2557 | ||
2558 | --so("http://roblox.com/asset/?id=160867463",torso,1,0.7) | |
2559 | ||
2560 | pt:Destroy() | |
2561 | pt2:Destroy() | |
2562 | bl:Destroy() | |
2563 | if Debounces.CanAttack == false then | |
2564 | Debounces.CanAttack = true | |
2565 | Debounces.NoIdl = false | |
2566 | Debounces.on = false | |
2567 | Debounces.grab = false | |
2568 | ||
2569 | end | |
2570 | end | |
2571 | end | |
2572 | end) | |
2573 | ---------------------------------------------------- | |
2574 | Sit = false | |
2575 | mouse.KeyDown:connect(function(key) | |
2576 | if key == "b" then | |
2577 | if Sit == false then | |
2578 | Sit = true | |
2579 | hum.WalkSpeed = 0.1 | |
2580 | stanceToggle = "Sitting" | |
2581 | elseif Sit == true then | |
2582 | Sit = false | |
2583 | hum.WalkSpeed = 7 | |
2584 | stanceToggle = "Normal" | |
2585 | end | |
2586 | end | |
2587 | end) | |
2588 | ------------------------------- | |
2589 | Melee = false | |
2590 | mouse.KeyDown:connect(function(key) | |
2591 | if key == "m" then | |
2592 | if Melee == false then | |
2593 | Melee = true | |
2594 | Vanish() | |
2595 | stanceToggle = "Melee" | |
2596 | elseif Melee == true then | |
2597 | Melee = false | |
2598 | Appear() | |
2599 | stanceToggle = "Normal" | |
2600 | end | |
2601 | end | |
2602 | end) | |
2603 | ------------------------------- | |
2604 | mouse.KeyDown:connect(function(key) | |
2605 | if string.byte(key) == 50 then | |
2606 | if Debounces.CanAttack == true then | |
2607 | if stanceToggle ~= "Floating" then | |
2608 | char.Humanoid.WalkSpeed = 60 | |
2609 | Burst() | |
2610 | elseif Debounces.CanAttack == false then | |
2611 | elseif stanceToggle == "Floating" then | |
2612 | wait() | |
2613 | end | |
2614 | end | |
2615 | end | |
2616 | end) | |
2617 | mouse.KeyUp:connect(function(key) | |
2618 | if string.byte(key) == 50 then | |
2619 | char.Humanoid.WalkSpeed = 9 | |
2620 | end | |
2621 | end) | |
2622 | ------------------------------- | |
2623 | mouse.KeyDown:connect(function(key) | |
2624 | if key == "p" then | |
2625 | if CanAttack == true then | |
2626 | CanAttack = false | |
2627 | Debounces.NoIdl = true | |
2628 | Debounces.on = true | |
2629 | for i = 1, 20 do | |
2630 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
2631 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.3) | |
2632 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, 1, -.5) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(-40)), 0.3) | |
2633 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.6) | |
2634 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(10)), 0.6) | |
2635 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.6) | |
2636 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2) | |
2637 | if Debounces.on == false then | |
2638 | break | |
2639 | end | |
2640 | wait() | |
2641 | end | |
2642 | wait() | |
2643 | z = Instance.new("Sound") | |
2644 | z.SoundId = "http://www.roblox.com/asset/?id=159218913" | |
2645 | z.Parent = char.Head | |
2646 | z.Looped = false | |
2647 | z.Pitch = 1 | |
2648 | z.Volume = 1 | |
2649 | wait(.01) | |
2650 | z:Play() | |
2651 | Debounces.Slashing = true | |
2652 | for i = 1, 20 do | |
2653 | cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.2, -2.75) * CFrame.Angles(math.rad(90), math.rad(40), math.rad(0)), 0.6) | |
2654 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6) | |
2655 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1, .5, -.5) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-40)), 0.6) | |
2656 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1.5, -.5) * CFrame.Angles(math.rad(-90), 0, math.rad(0)), 0.6) | |
2657 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.6) | |
2658 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.6) | |
2659 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.6) | |
2660 | wait() | |
2661 | if Debounces.on == false then | |
2662 | break | |
2663 | end | |
2664 | wait() | |
2665 | end | |
2666 | Debounces.Slashing = false | |
2667 | Debounces.NoIdl = false | |
2668 | wait() | |
2669 | if CanAttack == false then | |
2670 | CanAttack = true | |
2671 | end | |
2672 | end | |
2673 | end | |
2674 | end) | |
2675 | -------------------------------- | |
2676 | ---------------------------------------------------- | |
2677 | mouse.KeyDown:connect(function(key) | |
2678 | if key == "v" then | |
2679 | if Debounces.CanAttack == true then | |
2680 | Debounces.CanAttack = false | |
2681 | Debounces.on = true | |
2682 | Debounces.NoIdl = true | |
2683 | for i = 1, 15 do | |
2684 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2) | |
2685 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6) | |
2686 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2) | |
2687 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4) | |
2688 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
2689 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
2690 | if Debounces.on == false then break end | |
2691 | rs:wait(2.7) | |
2692 | end | |
2693 | so("http://roblox.com/asset/?id=231917788",hed,1,0.7) | |
2694 | x = Instance.new("Sound",char.Head) | |
2695 | x.SoundId = "rbxassetid://183763515" | |
2696 | x.Pitch = 0.7 | |
2697 | x.Volume = .8 | |
2698 | x3 = Instance.new("Sound",char.Head) | |
2699 | x3.SoundId = "rbxassetid://183763487" | |
2700 | x3.Pitch = 1 | |
2701 | x3.Volume = .8 | |
2702 | wait(.1) | |
2703 | x:Play() | |
2704 | x3:Play() | |
2705 | ||
2706 | if holy == true then | |
2707 | so("http://roblox.com/asset/?id=233091161",hed,1,0.6) | |
2708 | so("http://roblox.com/asset/?id=2233091183",hed,1,1) | |
2709 | else | |
2710 | end | |
2711 | ||
2712 | Debounces.on = false | |
2713 | Debounces.Here = false | |
2714 | shot = shot + 1 | |
2715 | local rng = Instance.new("Part", larm) | |
2716 | rng.Anchored = true | |
2717 | ||
2718 | if holy ~= true then | |
2719 | rng.BrickColor = BrickColor.new("Lime green") | |
2720 | else | |
2721 | rng.BrickColor = BrickColor.new("Lime green") | |
2722 | end | |
2723 | ||
2724 | rng.Material = "Neon" | |
2725 | rng.CanCollide = false | |
2726 | rng.FormFactor = 3 | |
2727 | rng.Name = "Ring" | |
2728 | rng.Size = Vector3.new(1, 1, 1) | |
2729 | rng.Transparency = 0.35 | |
2730 | rng.TopSurface = 0 | |
2731 | rng.BottomSurface = 0 | |
2732 | rng2 = rng:clone() | |
2733 | rng3 = rng2:clone() | |
2734 | rng4 = rng2:clone() | |
2735 | local rngm = Instance.new("SpecialMesh", rng) | |
2736 | rngm.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
2737 | rngm.Scale = Vector3.new(10, 10, 1) | |
2738 | rngm2 = rngm:clone() | |
2739 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2740 | rngm3=rngm2:clone() | |
2741 | rngm3.Parent = rng3 | |
2742 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2743 | rngm4 = rngm2:clone() | |
2744 | rngm4.Parent = rng4 | |
2745 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2746 | local bem = Instance.new("Part", larm) | |
2747 | bem.Anchored = true | |
2748 | ||
2749 | if holy == false then | |
2750 | bem.BrickColor = BrickColor.new("Really black") | |
2751 | else | |
2752 | bem.BrickColor = BrickColor.new("Lime green") | |
2753 | end | |
2754 | ||
2755 | bem.CanCollide = false | |
2756 | bem.Material = "Neon" | |
2757 | bem.FormFactor = 3 | |
2758 | bem.Name = "Beam" .. shot | |
2759 | bem.Size = Vector3.new(1, 1, 1) | |
2760 | bem.Transparency = 0.35 | |
2761 | bem.TopSurface = 0 | |
2762 | bem.BottomSurface = 0 | |
2763 | local bemm = Instance.new("SpecialMesh", bem) | |
2764 | bemm.MeshType = 4 | |
2765 | bemm.Scale = Vector3.new(1, 4, 4) | |
2766 | local out = Instance.new("Part", larm) | |
2767 | out.Anchored = true | |
2768 | out.Material = "Neon" | |
2769 | ||
2770 | if holy == false then | |
2771 | out.BrickColor = BrickColor.new("Really black") | |
2772 | else | |
2773 | out.BrickColor = BrickColor.new("Lime green") | |
2774 | end | |
2775 | ||
2776 | out.CanCollide = false | |
2777 | out.FormFactor = 3 | |
2778 | out.Name = "Out" | |
2779 | out.Size = Vector3.new(4, 4, 4) | |
2780 | out.Transparency = 0.35 | |
2781 | out.TopSurface = 0 | |
2782 | out.BottomSurface = 0 | |
2783 | local outm = Instance.new("SpecialMesh", out) | |
2784 | outm.MeshId = "http://www.roblox.com/asset/?id=1033714" | |
2785 | outm.Scale = Vector3.new(6, 4, 6) | |
2786 | local bnd = Instance.new("Part", larm) | |
2787 | bnd.Anchored = true | |
2788 | bnd.BrickColor = BrickColor.new("Really red") | |
2789 | bnd.CanCollide = false | |
2790 | bnd.FormFactor = 3 | |
2791 | bnd.Name = "Bend" | |
2792 | bnd.Size = Vector3.new(1, 1, 1) | |
2793 | bnd.Transparency = 1 | |
2794 | bnd.TopSurface = 0 | |
2795 | bnd.BottomSurface = 0 | |
2796 | local bndm = Instance.new("SpecialMesh", bnd) | |
2797 | bndm.MeshType = 3 | |
2798 | bndm.Scale = Vector3.new(8, 8, 8) | |
2799 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2800 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2801 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2802 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2803 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2804 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2805 | Debounces.Shewt = true | |
2806 | coroutine.wrap(function() | |
2807 | for i = 1, 20, 0.2 do | |
2808 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2809 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2810 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2811 | rng.Transparency = i/20 | |
2812 | rng3.Transparency = 1/24 | |
2813 | rng4.Transparency = i/26 | |
2814 | wait() | |
2815 | end | |
2816 | wait() | |
2817 | rng:Destroy() | |
2818 | end)() | |
2819 | if Debounces.Shewt == true then | |
2820 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2821 | hit = ht.Parent | |
2822 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2823 | if HasntTouched(hit.Name) == true and deb == false then | |
2824 | deb = true | |
2825 | coroutine.wrap(function() | |
2826 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2827 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2828 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2829 | end)() | |
2830 | table.insert(Touche, hit.Name) | |
2831 | deb = false | |
2832 | end | |
2833 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2834 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2835 | deb = true | |
2836 | coroutine.wrap(function() | |
2837 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2838 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2839 | wait(1) | |
2840 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2841 | end)() | |
2842 | table.insert(Touche, hit.Parent.Name) | |
2843 | deb = false | |
2844 | for i, v in pairs(Touche) do | |
2845 | print(v) | |
2846 | end | |
2847 | end | |
2848 | end | |
2849 | end) | |
2850 | end | |
2851 | for i = 0, 260, 8 do | |
2852 | bem.Size = Vector3.new(i, 3, 3) | |
2853 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2854 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2855 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2856 | bnd.Size = Vector3.new(1,1,1) | |
2857 | bndm.Scale = Vector3.new(8,8,8) | |
2858 | if i % 10 == 0 then | |
2859 | local newRng = rng2:Clone() | |
2860 | newRng.Parent = larm | |
2861 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2862 | local newRngm = rngm2:clone() | |
2863 | newRngm.Parent=newRng | |
2864 | coroutine.wrap(function() | |
2865 | for i = 1, 10, 0.2 do | |
2866 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2867 | newRng.Transparency = i/10 | |
2868 | wait() | |
2869 | end | |
2870 | wait() | |
2871 | newRng:Destroy() | |
2872 | end)() | |
2873 | end | |
2874 | wait() | |
2875 | end | |
2876 | wait() | |
2877 | Debounces.Shewt = false | |
2878 | bem:Destroy() | |
2879 | out:Destroy() | |
2880 | bnd:Destroy() | |
2881 | Debounces.Ready = false | |
2882 | for i, v in pairs(Touche) do | |
2883 | table.remove(Touche, i) | |
2884 | end | |
2885 | wait() | |
2886 | table.insert(Touche, char.Name) | |
2887 | Debounces.NoIdl = false | |
2888 | if Debounces.CanAttack == false then | |
2889 | Debounces.CanAttack = true | |
2890 | end | |
2891 | end | |
2892 | end | |
2893 | end) | |
2894 | ---------------------------------------------------- | |
2895 | ---------------------------------------------------- | |
2896 | mouse.KeyDown:connect(function(key) | |
2897 | if key == "y" then | |
2898 | if CanAttack == true then | |
2899 | CanAttack = false | |
2900 | Debounces.NoIdl = true | |
2901 | Debounces.on = true | |
2902 | for i = 1, 20 do | |
2903 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.2) | |
2904 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.2) | |
2905 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
2906 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, 0.5, -1) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.2) | |
2907 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-26), math.rad(0), 0), 0.2) | |
2908 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2) | |
2909 | if Debounces.on == false then | |
2910 | break | |
2911 | end | |
2912 | wait() | |
2913 | end | |
2914 | wait() | |
2915 | if Daytime == true then | |
2916 | Daytime = false | |
2917 | l.TimeOfDay = 24 | |
2918 | else | |
2919 | Daytime = true | |
2920 | l.TimeOfDay = 12 | |
2921 | l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039) | |
2922 | end | |
2923 | char.Humanoid.MaxHealth = math.huge | |
2924 | c = Instance.new("Sound") | |
2925 | c.SoundId = "http://www.roblox.com/asset/?id=152758283" | |
2926 | c.Parent = m | |
2927 | c.Looped = false | |
2928 | if Daytime == true then | |
2929 | c.Pitch = -1 | |
2930 | elseif Daytime == false then | |
2931 | c.Pitch = 1.12 | |
2932 | end | |
2933 | c.Volume = 1 | |
2934 | wait(.01) | |
2935 | c:Play() | |
2936 | local Shockwave = function() | |
2937 | local Wave = Instance.new("Part", game.Workspace--[[?]]) | |
2938 | Wave.Name = "Shockwave" | |
2939 | Wave.BrickColor = BrickColor.new("Really black") | |
2940 | Wave.Size = Vector3.new(1, 1, 1) | |
2941 | Wave.Shape = "Ball" | |
2942 | Wave.CanCollide = false | |
2943 | Wave.Anchored = true | |
2944 | Wave.TopSurface = 0 | |
2945 | Wave.BottomSurface = 0 | |
2946 | Wave.Touched:connect(function(hit) | |
2947 | print(hit.Name) | |
2948 | if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then | |
2949 | if hit.Parent.Name ~= char.Name then | |
2950 | print("Damaged " .. hit.Parent.Name) | |
2951 | hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1 | |
2952 | hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120 | |
2953 | end | |
2954 | end | |
2955 | end) | |
2956 | ||
2957 | Instance.new("SpecialMesh", Wave).MeshType = "Sphere" | |
2958 | ||
2959 | Delay(0, function() | |
2960 | -- | |
2961 | -- Okay. | |
2962 | if Daytime == false then | |
2963 | for i = 1, 38, 1 do | |
2964 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2965 | Wave.CFrame = char.Torso.CFrame | |
2966 | local t = i / 38 | |
2967 | Wave.Transparency = t | |
2968 | wait() | |
2969 | end | |
2970 | else | |
2971 | for i = 38, 1, -1 do | |
2972 | Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i) | |
2973 | Wave.CFrame = char.Torso.CFrame | |
2974 | local t = i / 38 | |
2975 | Wave.Transparency = t | |
2976 | wait() | |
2977 | end | |
2978 | end | |
2979 | Wave:Destroy() | |
2980 | end) | |
2981 | Delay(0, function() | |
2982 | while wait() do | |
2983 | if Wave ~= nil then | |
2984 | Wave.CFrame = char.Torso.CFrame | |
2985 | else | |
2986 | break | |
2987 | end | |
2988 | end | |
2989 | end) | |
2990 | end | |
2991 | ||
2992 | Shockwave() | |
2993 | ||
2994 | for i = 1, 20 do | |
2995 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(-100)), 0.6) | |
2996 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, .5, 0) * CFrame.Angles(math.rad(120), 0, math.rad(100)), 0.6) | |
2997 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-20)), 0.6) | |
2998 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(20)), 0.6) | |
2999 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(35), math.rad(0), 0), 0.6) | |
3000 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6) | |
3001 | wait() | |
3002 | if Debounces.on == false then | |
3003 | break | |
3004 | end | |
3005 | wait() | |
3006 | end | |
3007 | wait(2) | |
3008 | Debounces.NoIdl = false | |
3009 | if CanAttack == false then | |
3010 | CanAttack = true | |
3011 | wait() | |
3012 | end | |
3013 | end -- for the canattack thing | |
3014 | end | |
3015 | end) | |
3016 | ------------------------------- | |
3017 | local animpose = "Idle" | |
3018 | local lastanimpose = "Idle" | |
3019 | local grab = false | |
3020 | local sine = 0 | |
3021 | local change = 1 | |
3022 | local val = 0 | |
3023 | local ffing = false | |
3024 | local jump = false | |
3025 | ------------------------------- | |
3026 | --[[if stanceToggle == "Sitting" then | |
3027 | if wait(math.random(1,2)) == 1 then | |
3028 | stanceToggle = "Sitting2" | |
3029 | wait(8) | |
3030 | stanceToggle = "Sitting" | |
3031 | end | |
3032 | end]]-- | |
3033 | ------------------------------- | |
3034 | game:GetService("RunService").RenderStepped:connect(function() | |
3035 | if char.Humanoid.Jump == true then | |
3036 | jump = true | |
3037 | else | |
3038 | jump = false | |
3039 | end | |
3040 | char.Humanoid.FreeFalling:connect(function(f) | |
3041 | if f then | |
3042 | ffing = true | |
3043 | else | |
3044 | ffing = false | |
3045 | end | |
3046 | end) | |
3047 | sine = sine + change | |
3048 | if jump == true then | |
3049 | animpose = "Jumping" | |
3050 | elseif ffing == true then | |
3051 | animpose = "Freefalling" | |
3052 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3053 | animpose = "Idle" | |
3054 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3055 | animpose = "Walking" | |
3056 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3057 | animpose = "Running" | |
3058 | end | |
3059 | if animpose ~= lastanimpose then | |
3060 | sine = 0 | |
3061 | if Debounces.NoIdl == false then | |
3062 | if stanceToggle == "Normal" and holy ~= true then | |
3063 | for i = 1, 2 do | |
3064 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2) | |
3065 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2) | |
3066 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2) | |
3067 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3068 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3069 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
3070 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
3071 | end | |
3072 | elseif stanceToggle == "Sitting" then | |
3073 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/30),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20+2*math.cos(sine/30))), 0.2) | |
3074 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
3075 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3076 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-20), math.sin(sine/60)/3, 0), 0.3) | |
3077 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3078 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3079 | elseif stanceToggle == "Floating" then | |
3080 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3081 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3082 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3083 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3084 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3085 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3086 | wait() | |
3087 | end | |
3088 | else | |
3089 | end | |
3090 | end | |
3091 | lastanimpose = animpose | |
3092 | if Debounces.NoIdl == false then | |
3093 | if animpose == "Idle" then | |
3094 | if stanceToggle == "Normal" and holy ~= true then | |
3095 | change = 0.5 | |
3096 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3097 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
3098 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(50),0), 0.2) | |
3099 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2) | |
3100 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2) | |
3101 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2) | |
3102 | elseif stanceToggle == "Normal" and holy == true then | |
3103 | change = 0.8 | |
3104 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3105 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3106 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3107 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3108 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3109 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3110 | elseif stanceToggle == "Melee" and holy ~= true then | |
3111 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2) | |
3112 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2) | |
3113 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3114 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
3115 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2) | |
3116 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2) | |
3117 | elseif stanceToggle == "Melee" and holy == true then | |
3118 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3119 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3120 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3121 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3122 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3123 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3124 | elseif stanceToggle == "Sitting" then | |
3125 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20)), 0.2) | |
3126 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2, 0.5, -.54) * CFrame.Angles(math.rad(88), 0, math.rad(48)), 0.6) | |
3127 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.3) | |
3128 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5-0.06*math.cos(sine/25), -.2) * CFrame.Angles(math.rad(0-20*math.cos(sine/25)/2), math.sin(sine/50)/2.4, 0), 0.3) | |
3129 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1) * CFrame.Angles(math.rad(-6), 0, 0), 0.3) | |
3130 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56), 0, 0), 0.3) | |
3131 | elseif stanceToggle == "Floating" then | |
3132 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4) | |
3133 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4) | |
3134 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
3135 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05) | |
3136 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4) | |
3137 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4) | |
3138 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3139 | grab = true | |
3140 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3141 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
3142 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
3143 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3) | |
3144 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3) | |
3145 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3) | |
3146 | elseif stanceToggle == "Grabbed" and holy == true then | |
3147 | grab = true | |
3148 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2) | |
3149 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(130+4*math.cos(sine/14)),math.rad(0),math.rad(-60+4*math.cos(sine/14))), 0.3) | |
3150 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3) | |
3151 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3152 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3153 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3154 | end | |
3155 | elseif animpose == "Walking" then | |
3156 | if stanceToggle == "Normal" and holy ~= true then | |
3157 | change = 1 | |
3158 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3159 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2) | |
3160 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3161 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3162 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3163 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3164 | elseif stanceToggle == "Normal" and holy == true then | |
3165 | for i = 1, 2 do | |
3166 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3167 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3168 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3169 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3170 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3171 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3172 | end | |
3173 | elseif stanceToggle == "Melee" and holy ~= true then | |
3174 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
3175 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2) | |
3176 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3177 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3178 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3179 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3180 | elseif stanceToggle == "Melee" and holy == true then | |
3181 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3182 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3183 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3184 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3185 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3186 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3187 | elseif stanceToggle == "Floating" then | |
3188 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3189 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3190 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
3191 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
3192 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
3193 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3194 | elseif stanceToggle == "Grabbed" and holy ~= true then | |
3195 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3196 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
3197 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2) | |
3198 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
3199 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
3200 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
3201 | elseif stanceToggle == "Grabbed" and holy == true then | |
3202 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2) | |
3203 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-30)), 0.3) | |
3204 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4) | |
3205 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4) | |
3206 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4) | |
3207 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3208 | end | |
3209 | elseif animpose == "Running" then | |
3210 | if stanceToggle == "Normal" and holy ~= true then | |
3211 | change = 1 | |
3212 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15) | |
3213 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15) | |
3214 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15) | |
3215 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15) | |
3216 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15) | |
3217 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15) | |
3218 | elseif stanceToggle == "Normal" and holy == true then | |
3219 | change = 1 | |
3220 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(250),math.rad(350),math.rad(-30+2*math.cos(sine/14))), 0.2)--cfawm | |
3221 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.55,-.4)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(40-2*math.cos(sine/14))), 0.2) | |
3222 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3223 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2) | |
3224 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4) | |
3225 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4) | |
3226 | elseif stanceToggle == "Floating" then | |
3227 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2) | |
3228 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2) | |
3229 | hed.Weld.C0 = CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0) | |
3230 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4) | |
3231 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4) | |
3232 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05) | |
3233 | end | |
3234 | end | |
3235 | end | |
3236 | end) | |
3237 | ||
3238 | Spawn(function() | |
3239 | while wait() do | |
3240 | updateFly() | |
3241 | end | |
3242 | end) | |
3243 | ||
3244 | Spawn(function() | |
3245 | while wait(.1) do | |
3246 | Magik() | |
3247 | end | |
3248 | end) | |
3249 | ||
3250 | Spawn(function() | |
3251 | while wait(.1) do | |
3252 | Magik2() | |
3253 | end | |
3254 | end) | |
3255 | ||
3256 | Spawn(function() | |
3257 | while wait(4) do | |
3258 | GroundWave() | |
3259 | end | |
3260 | end) | |
3261 | ||
3262 | ||
3263 | ||
3264 | ||
3265 | ||
3266 | function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module | |
3267 | --[[Part0 = Vector3 (Start pos) | |
3268 | Part1 = Vector3 (End pos) | |
3269 | Times = number (Amount of lightning parts) | |
3270 | Offset = number (Offset) | |
3271 | Color = color (brickcolor value) | |
3272 | Thickness = number (thickness) | |
3273 | Trans = number (transparency) | |
3274 | ]]-- | |
3275 | local magz = (Part0 - Part1).magnitude | |
3276 | local curpos = Part0 | |
3277 | local trz = {-Offset,Offset} | |
3278 | for i=1,Times do | |
3279 | local li = Instance.new("Part", torso) | |
3280 | li.Name = "Lightning" | |
3281 | li.TopSurface =0 | |
3282 | li.Material = "Neon" | |
3283 | li.BottomSurface = 0 | |
3284 | li.Anchored = true | |
3285 | li.Locked = true | |
3286 | li.Transparency = Trans or 0.4 | |
3287 | li.BrickColor = BrickColor.new(Color) | |
3288 | li.formFactor = "Custom" | |
3289 | li.CanCollide = false | |
3290 | li.Size = Vector3.new(Thickness,Thickness,magz/Times) | |
3291 | local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) | |
3292 | local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet | |
3293 | if Times == i then | |
3294 | local magz2 = (curpos - Part1).magnitude | |
3295 | li.Size = Vector3.new(Thickness,Thickness,magz2) | |
3296 | li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2) | |
3297 | else | |
3298 | li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2) | |
3299 | end | |
3300 | curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p | |
3301 | game.Debris:AddItem(li,.1) | |
3302 | end | |
3303 | end | |
3304 | ||
3305 | BodyParts = {} -- Parts to emit lightning effects from | |
3306 | for _, v in pairs(char.Genkadda:GetChildren()) do | |
3307 | if v:IsA("Part") and v.Name ~= "HitBox" and v.Name ~= "Thingy" then | |
3308 | table.insert(BodyParts, v) | |
3309 | end | |
3310 | end | |
3311 | ||
3312 | Bounding = {} -- Calculate the bounding boxes | |
3313 | for _, v in pairs(BodyParts) do | |
3314 | local temp = {X=nil, Y=nil, Z=nil} | |
3315 | temp.X = v.Size.X/2 * 10 | |
3316 | temp.Y = v.Size.Y/2 * 10 | |
3317 | temp.Z = v.Size.Z/2 * 10 | |
3318 | Bounding[v.Name] = temp | |
3319 | --table.insert(Bounding, v.Name, temp) | |
3320 | end | |
3321 | ||
3322 | ||
3323 | ||
3324 | while wait(lightspeed) do -- Emit the Lightning effects randomly, original was (1,10)/10 | |
3325 | ||
3326 | if Melee ~= true then --[[Make sure we only see the lightning when holding our sword]] | |
3327 | ||
3328 | if holy == true then | |
3329 | lightspeed = math.random(0.1,0.2) | |
3330 | else | |
3331 | lightspeed = math.random(0.5,1) | |
3332 | end | |
3333 | ||
3334 | local Body1 = BodyParts[math.random(#BodyParts)] | |
3335 | local Body2 = BodyParts[math.random(#BodyParts)] | |
3336 | local Pos1 = Vector3.new( | |
3337 | math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10, | |
3338 | math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10, | |
3339 | math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10 | |
3340 | ) | |
3341 | local Pos2 = Vector3.new( | |
3342 | math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10, | |
3343 | math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10, | |
3344 | math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10 | |
3345 | ) | |
3346 | local SPos1 = Body1.Position + Pos1 | |
3347 | local SPos2 = Body2.Position + Pos2 | |
3348 | ||
3349 | ||
3350 | ||
3351 | Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56) | |
3352 | ||
3353 | ||
3354 | end | |
3355 | end |