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