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