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