SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | Vegito - Blue | |
3 | Credits: | |
4 | KingAbsalom | |
5 | VoIquin | |
6 | RevenntOfDespair | |
7 | Edited by | |
8 | - | nobody1997 |
8 | + | jassm11 |
9 | ]] | |
10 | ||
11 | local p = game.Players.LocalPlayer | |
12 | local char = p.Character | |
13 | local mouse = p:GetMouse() | |
14 | local larm = char["Left Arm"] | |
15 | local rarm = char["Right Arm"] | |
16 | local lleg = char["Left Leg"] | |
17 | local rleg = char["Right Leg"] | |
18 | local hed = char.Head | |
19 | local torso = char.Torso | |
20 | local hum = char.Humanoid | |
21 | local cam = game.Workspace.CurrentCamera | |
22 | local root = char.HumanoidRootPart | |
23 | local deb = false | |
24 | local shot = 0 | |
25 | local potential = false | |
26 | local debris=game:service"Debris" | |
27 | local l = game:GetService("Lighting") | |
28 | local rs = game:GetService("RunService").RenderStepped | |
29 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
30 | math.randomseed(os.time()) | |
31 | for i,v in pairs(char:children()) do | |
32 | if v:IsA("Accessory") then | |
33 | v:Destroy() | |
34 | end | |
35 | end | |
36 | for i,v in pairs (hed:GetChildren()) do | |
37 | if v:IsA("Sound") then | |
38 | v:Destroy() | |
39 | end | |
40 | end | |
41 | ---------------------------------------------------- | |
42 | Debounces = { | |
43 | CanAttack = true; | |
44 | NoIdl = false; | |
45 | Slashing = false; | |
46 | Slashed = false; | |
47 | RPunch = false; | |
48 | Invisible = false; | |
49 | RPunched = false; | |
50 | LPunch = false; | |
51 | LPunched = false; | |
52 | } | |
53 | local Touche = {char.Name, } | |
54 | ---------------------------------------------------- | |
55 | hed.face.Texture = "rbxassetid://265790768" | |
56 | char["Body Colors"].HeadColor = BrickColor.new("Really black") | |
57 | char["Body Colors"].TorsoColor = BrickColor.new("Really black") | |
58 | char["Body Colors"].LeftArmColor = BrickColor.new("Really black") | |
59 | char["Body Colors"].RightArmColor = BrickColor.new("Really black") | |
60 | char["Body Colors"].LeftLegColor = BrickColor.new("Really black") | |
61 | char["Body Colors"].RightLegColor = BrickColor.new("Really black") | |
62 | ---------------------------------------------------- | |
63 | ypcall(function() | |
64 | shirt = Instance.new("Shirt", char) | |
65 | shirt.Name = "Shirt" | |
66 | pants = Instance.new("Pants", char) | |
67 | pants.Name = "Pants" | |
68 | char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=755189468" | |
69 | char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=234399134" | |
70 | end) | |
71 | ---------------------------------------------------- | |
72 | ---------------------------------------------------- | |
73 | --[[Additional Functions]] | |
74 | ||
75 | cf=CFrame.new | |
76 | vt=Vector3.new | |
77 | ||
78 | function swait(num) | |
79 | if num==0 or num==nil then | |
80 | game:service'RunService'.Stepped:wait(0) | |
81 | else | |
82 | for i=0,num do | |
83 | game:service'RunService'.Stepped:wait(0) | |
84 | end | |
85 | end | |
86 | end | |
87 | ||
88 | so = function(id,par,vol,pit) | |
89 | coroutine.resume(coroutine.create(function() | |
90 | local sou = Instance.new("Sound",par or workspace) | |
91 | sou.Volume=vol | |
92 | sou.Pitch=pit or 1 | |
93 | sou.SoundId=id | |
94 | swait() | |
95 | sou:play() | |
96 | game:GetService("Debris"):AddItem(sou,6) | |
97 | end)) | |
98 | end | |
99 | ||
100 | ---------------------------------------------------- | |
101 | ||
102 | function lerp(a, b, t) -- Linear interpolation | |
103 | return a + (b - a)*t | |
104 | end | |
105 | ||
106 | function slerp(a, b, t) --Spherical interpolation | |
107 | dot = a:Dot(b) | |
108 | if dot > 0.99999 or dot < -0.99999 then | |
109 | return t <= 0.5 and a or b | |
110 | else | |
111 | r = math.acos(dot) | |
112 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
113 | end | |
114 | end | |
115 | ||
116 | function matrixInterpolate(a, b, t) | |
117 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
118 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
119 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
120 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
121 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
122 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
123 | local t = v1:Dot(v2) | |
124 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
125 | return CFrame.new() | |
126 | end | |
127 | return CFrame.new( | |
128 | v0.x, v0.y, v0.z, | |
129 | v1.x, v1.y, v1.z, | |
130 | v2.x, v2.y, v2.z, | |
131 | v3.x, v3.y, v3.z) | |
132 | end | |
133 | lmod = Instance.new("Model",char) | |
134 | ---------------------------------------------------- | |
135 | function Landing() | |
136 | part=Instance.new('Part',lmod) | |
137 | part.Anchored=true | |
138 | part.CanCollide=false | |
139 | part.FormFactor='Custom' | |
140 | part.Size=Vector3.new(.2,.2,.2) | |
141 | part.CFrame=root.CFrame*CFrame.new(0,-2,0) | |
142 | part.Transparency=.7 | |
143 | part.BrickColor=BrickColor.new('Bright red') | |
144 | mesh=Instance.new('SpecialMesh',part) | |
145 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
146 | mesh.Scale=Vector3.new(8,3,8) | |
147 | ||
148 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,20))do | |
149 | if v:FindFirstChild('Humanoid') then | |
150 | v.Humanoid:TakeDamage(math.random(20,30)) | |
151 | v.Humanoid.PlatformStand = true | |
152 | coroutine.resume(coroutine.create(function() | |
153 | wait(2) | |
154 | v.Humanoid.PlatformStand = false | |
155 | end)) | |
156 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
157 | end | |
158 | end | |
159 | ||
160 | coroutine.resume(coroutine.create(function() | |
161 | for i=0,3.8,0.05 do | |
162 | wait() | |
163 | part.CFrame=part.CFrame | |
164 | part.Transparency=i + 0.5 | |
165 | mesh.Scale=mesh.Scale+Vector3.new(1, -0.1 ,1) | |
166 | end | |
167 | part.Parent = nil | |
168 | end)) | |
169 | end | |
170 | function newRay(start,face,range,wat) | |
171 | local rey=Ray.new(start.p,(face.p-start.p).Unit*range) | |
172 | hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat) | |
173 | return rey,hit,pos | |
174 | end | |
175 | ---------------------------------------------------- | |
176 | partic2 = Instance.new("ParticleEmitter",torso) | |
177 | partic2.Color = ColorSequence.new(Color3.new(100/225,100/255,100/255),Color3.new(100/255,100/255,100/255)) | |
178 | partic2.LightEmission = .95 | |
179 | partic2.VelocityInheritance = 0.2 | |
180 | partic2.Rate = 300 | |
181 | partic2.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds" | |
182 | partic2.Lifetime = NumberRange.new(0.1,0.2) | |
183 | partic2.RotSpeed = NumberRange.new(100,100) | |
184 | partic2.Speed = NumberRange.new(2,6) | |
185 | partic2.Enabled = false | |
186 | partic2.LockedToPart = false | |
187 | -------------------- | |
188 | function Charge() | |
189 | pt=Instance.new('Part',torso) | |
190 | pt.Anchored=true | |
191 | pt.CanCollide=false | |
192 | pt.Locked = true | |
193 | pt.FormFactor='Custom' | |
194 | pt.Size=Vector3.new(1,1,1) | |
195 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
196 | pt.Transparency=0.2 | |
197 | pt.BrickColor=BrickColor.new("Bright red") | |
198 | msh=Instance.new('SpecialMesh',pt) | |
199 | msh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
200 | msh.Scale=Vector3.new(6,3,6) | |
201 | pt2=pt:clone() | |
202 | pt2.Parent = torso | |
203 | pt2.Transparency=0.4 | |
204 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
205 | pt2.BrickColor=BrickColor.new("Bright red") | |
206 | msh2=msh:clone() | |
207 | msh2.Parent=pt2 | |
208 | msh2.Scale=Vector3.new(8,4,8) | |
209 | pt3=Instance.new('Part',torso) | |
210 | pt3.Anchored=true | |
211 | pt3.CanCollide=false | |
212 | pt3.Locked = true | |
213 | pt3.FormFactor='Custom' | |
214 | pt3.Size=Vector3.new(1,1,1) | |
215 | pt3.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
216 | pt3.Transparency=0.6 | |
217 | pt3.BrickColor=BrickColor.new("Bright red") | |
218 | msh3=Instance.new('SpecialMesh',pt3) | |
219 | msh3.MeshId='http://www.roblox.com/asset/?id=24388358' | |
220 | msh3.Scale=Vector3.new(12,6,12) | |
221 | pt4=pt:clone() | |
222 | pt4.Parent = torso | |
223 | pt4.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
224 | pt4.Transparency=0.8 | |
225 | pt4.BrickColor=BrickColor.new("Bright red") | |
226 | msh4=msh:clone() | |
227 | msh4.Parent=pt4 | |
228 | msh4.Scale=Vector3.new(16,8,16) | |
229 | coroutine.resume(coroutine.create(function() | |
230 | for i=1, math.huge, 4 do | |
231 | if Charging == true then | |
232 | wait() | |
233 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.11*math.cos(sine/10)),0) | |
234 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.12*math.cos(sine/12)),0) | |
235 | pt3.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2+0.13*math.cos(sine/14)),0) | |
236 | pt4.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2+0.14*math.cos(sine/16)),0) | |
237 | pt.CFrame = pt.CFrame+Vector3.new(0,0.01,0) | |
238 | pt2.CFrame = pt2.CFrame+Vector3.new(0,0.01,0) | |
239 | pt3.CFrame = pt3.CFrame+Vector3.new(0,0.01,0) | |
240 | pt4.CFrame = pt4.CFrame+Vector3.new(0,0.01,0) | |
241 | msh.Scale = msh.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/9),0.05) | |
242 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/7),0.05) | |
243 | msh3.Scale = msh3.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/5),0.05) | |
244 | msh4.Scale = msh4.Scale + Vector3.new(0.05,0.04+0.8*math.cos(sine/3),0.05) | |
245 | elseif Charging == false then | |
246 | pt:Remove() | |
247 | pt2:Remove() | |
248 | pt3:Remove() | |
249 | pt4:Remove() | |
250 | break | |
251 | end | |
252 | end | |
253 | end)) | |
254 | end | |
255 | --------------- | |
256 | Magik = function() | |
257 | Spawn(function() | |
258 | if Debounces.Invisible == false then | |
259 | local function lerp(a,b,c) | |
260 | return a+(b-a)*c | |
261 | end | |
262 | local function rndRange(rng) | |
263 | return math.random(-rng*1000,rng*1000)/1000 | |
264 | end | |
265 | local magik = Instance.new("Part", larm) | |
266 | local Colors = {"Bright red", "Black"} | |
267 | magik.Anchored = true | |
268 | magik.Locked = true | |
269 | magik.FormFactor = "Custom" | |
270 | magik.Size = Vector3.new(1.2, 1.2, 1.2) | |
271 | magik.TopSurface = "Smooth" | |
272 | magik.Transparency = 0 | |
273 | magik.Material = "Neon" | |
274 | ||
275 | magik.BottomSurface = "Smooth" | |
276 | magik.CanCollide = false | |
277 | magik.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
278 | local mr = math.rad | |
279 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
280 | local cf = lleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' | |
281 | magik.CFrame = cf | |
282 | for i = 0, 1, .05 do | |
283 | local newTrans = lerp(0.5, 1, i) | |
284 | local ns = lerp(1,1.2,i) | |
285 | magik.Transparency = newTrans | |
286 | magik.Size = Vector3.new(ns,ns,ns) | |
287 | magik.CFrame = cf | |
288 | rs:wait() | |
289 | end | |
290 | magik:Destroy() | |
291 | elseif Debounces.Invisible == true then | |
292 | wait() | |
293 | end | |
294 | end) | |
295 | end | |
296 | ---------------------------------------------------- | |
297 | Magik2 = function() | |
298 | Spawn(function() | |
299 | if Debounces.Invisible == false then | |
300 | local function lerp(a,b,c) | |
301 | return a+(b-a)*c | |
302 | end | |
303 | local function rndRange(rng) | |
304 | return math.random(-rng*1000,rng*1000)/1000 | |
305 | end | |
306 | local magik2 = Instance.new("Part", larm) | |
307 | local Colors = {"Bright red", "Black"} | |
308 | magik2.Anchored = true | |
309 | magik2.Locked = true | |
310 | magik2.FormFactor = "Custom" | |
311 | magik2.Size = Vector3.new(1.2, 1.2, 1.2) | |
312 | magik2.TopSurface = "Smooth" | |
313 | magik2.Transparency = 0 | |
314 | magik2.Material = "Neon" | |
315 | ||
316 | magik2.BottomSurface = "Smooth" | |
317 | magik2.CanCollide = false | |
318 | magik2.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
319 | local mr = math.rad | |
320 | local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) | |
321 | local cf = rleg.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz)--bad argument #1 to '?' | |
322 | magik2.CFrame = cf | |
323 | for i = 0, 1, .05 do | |
324 | local newTrans = lerp(0.5, 1, i) | |
325 | local ns = lerp(1,1.2,i) | |
326 | magik2.Transparency = newTrans | |
327 | magik2.Size = Vector3.new(ns,ns,ns) | |
328 | magik2.CFrame = cf | |
329 | rs:wait() | |
330 | end | |
331 | magik2:Destroy() | |
332 | elseif Debounces.Invisible == true then | |
333 | wait() | |
334 | end | |
335 | end) | |
336 | end | |
337 | ---------------------------------------------------- | |
338 | function NewPart(prnt,siz,cf,col,mat) | |
339 | local prt=Instance.new("Part") | |
340 | prt.Parent=prnt | |
341 | prt.FormFactor=3 | |
342 | prt.Name="Part" | |
343 | prt.Size=siz | |
344 | prt.CanCollide=false | |
345 | prt.Anchored=true | |
346 | prt.Locked=true | |
347 | prt.TopSurface=10 | |
348 | prt.BottomSurface=10 | |
349 | prt.FrontSurface=10 | |
350 | prt.BackSurface=10 | |
351 | prt.LeftSurface=10 | |
352 | prt.RightSurface=10 | |
353 | prt:BreakJoints() | |
354 | prt.CFrame=cf or CFrame.new(30,10,30) | |
355 | prt.Material=mat | |
356 | prt.BrickColor=BrickColor.new(col) | |
357 | m=Instance.new("SpecialMesh",prt) | |
358 | m.MeshType=6 | |
359 | return prt | |
360 | end | |
361 | ----------------------------------------- | |
362 | ||
363 | function genWeld(a,b) | |
364 | local w = Instance.new("Weld",a) | |
365 | w.Part0 = a | |
366 | w.Part1 = b | |
367 | return w | |
368 | end | |
369 | function weld(a, b) | |
370 | local weld = Instance.new("Weld") | |
371 | weld.Name = "W" | |
372 | weld.Part0 = a | |
373 | weld.Part1 = b | |
374 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
375 | weld.Parent = a | |
376 | return weld; | |
377 | end | |
378 | ---------------------------------------------------- | |
379 | function Lerp(c1,c2,al) | |
380 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
381 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
382 | for i,v in pairs(com1) do | |
383 | com1[i] = v+(com2[i]-v)*al | |
384 | end | |
385 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
386 | end | |
387 | ---------------------------------------------------- | |
388 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
389 | local wld = Instance.new("Weld", wp1) | |
390 | wld.Part0 = wp0 | |
391 | wld.Part1 = wp1 | |
392 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
393 | end | |
394 | ---------------------------------------------------- | |
395 | function weld5(part0, part1, c0, c1) | |
396 | weeld=Instance.new("Weld", part0) | |
397 | weeld.Part0=part0 | |
398 | weeld.Part1=part1 | |
399 | weeld.C0=c0 | |
400 | weeld.C1=c1 | |
401 | return weeld | |
402 | end | |
403 | ---------------------------------------------------- | |
404 | function HasntTouched(plrname) | |
405 | local ret = true | |
406 | for _, v in pairs(Touche) do | |
407 | if v == plrname then | |
408 | ret = false | |
409 | end | |
410 | end | |
411 | return ret | |
412 | end | |
413 | ---------------------------------------------------- | |
414 | newWeld(torso, larm, -1.5, 0.5, 0) | |
415 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
416 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
417 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
418 | newWeld(torso, hed, 0, 1.5, 0) | |
419 | newWeld(torso, lleg, -0.5, -1, 0) | |
420 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
421 | newWeld(torso, rleg, 0.5, -1, 0) | |
422 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
423 | newWeld(root, torso, 0, -1, 0) | |
424 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
425 | ------------------------------------------------------music | |
426 | z = Instance.new("Sound", char) | |
427 | z.SoundId = "rbxassetid://159372086"--552945114 | |
428 | z.Looped = true | |
429 | z.Pitch = 1 | |
430 | z.Volume = 1 | |
431 | wait(.1) | |
432 | z:Play() | |
433 | ---------------------------------------------------- | |
434 | local Transforming = false | |
435 | hum.WalkSpeed = 0 | |
436 | local fx = Instance.new("Part",torso) | |
437 | fx.Anchored = true | |
438 | fx.Material = "Neon" | |
439 | fx.CanCollide = false | |
440 | fx.Locked = true | |
441 | fx.Transparency = 1 | |
442 | fx.Material = "Neon" | |
443 | fx.Size = Vector3.new(1,1,1) | |
444 | fx.TopSurface = "SmoothNoOutlines" | |
445 | fx.BottomSurface = "SmoothNoOutlines" | |
446 | fx.BrickColor = BrickColor.new("Bright red") | |
447 | fxm = Instance.new("SpecialMesh",fx) | |
448 | fxm.MeshType = "Sphere" | |
449 | fxm.Scale = Vector3.new(1,1,1) | |
450 | for i = 1, 20 do rs:wait() | |
451 | fx.Transparency = fx.Transparency - (1/20) | |
452 | fx.CFrame = torso.CFrame | |
453 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
454 | ||
455 | end | |
456 | ------------------------------------------------ | |
457 | ||
458 | local m = Instance.new("Model") | |
459 | m.Name = "Hair" | |
460 | p1 = Instance.new("Part", m) | |
461 | p1.BrickColor = BrickColor.new("Bright red") | |
462 | p1.Transparency = 1 | |
463 | p1.FormFactor = Enum.FormFactor.Symmetric | |
464 | p1.Size = Vector3.new(1, 1, 1) | |
465 | p1.CFrame = CFrame.new(-2.49043155, 8.24595642, -3.40113306, -5.48362732e-006, -0.978699088, 0.205299795, 3.27825546e-007, -0.205299854, -0.978699148, 1, -5.28991222e-006, 1.48639083e-006) | |
466 | p1.CanCollide = false | |
467 | p1.Locked = true | |
468 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
469 | p1.TopSurface = Enum.SurfaceType.Smooth | |
470 | b1 = Instance.new("SpecialMesh", p1) | |
471 | b1.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
472 | b1.TextureId = "" | |
473 | b1.MeshType = Enum.MeshType.FileMesh | |
474 | b1.Name = "Mesh" | |
475 | b1.VertexColor = Vector3.new(0, 0, 0) | |
476 | b1.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
477 | p2 = Instance.new("Part", m) | |
478 | p2.BrickColor = BrickColor.new("Pastel brown") | |
479 | p2.Transparency = 1 | |
480 | p2.Name = "Head" | |
481 | p2.FormFactor = Enum.FormFactor.Symmetric | |
482 | p2.Size = Vector3.new(2, 1, 1) | |
483 | p2.CFrame = CFrame.new(-1.70008016, 8.14794922, -3.40013027, 4.24603923e-006, 7.4505806e-008, -1, -1.50268988e-007, 1, 1.49011612e-008, 1.00000012, 6.79109462e-008, 4.23316806e-006) | |
484 | p2.CanCollide = false | |
485 | p2.Locked = true | |
486 | p2.TopSurface = Enum.SurfaceType.Smooth | |
487 | b2 = Instance.new("SpecialMesh", p2) | |
488 | b2.MeshType = Enum.MeshType.Head | |
489 | b2.Name = "Mesh" | |
490 | b2.Scale = Vector3.new(1.25, 1.25, 1.25) | |
491 | p3 = Instance.new("Part", m) | |
492 | p3.BrickColor = BrickColor.new("Bright red") | |
493 | p3.Transparency = 1 | |
494 | p3.FormFactor = Enum.FormFactor.Symmetric | |
495 | p3.Size = Vector3.new(2, 2, 2) | |
496 | p3.CFrame = CFrame.new(-1.70003617, 8.71796131, -3.4000442, 2.57710985e-006, 6.95607483e-008, -1.00000012, -1.20466638e-007, 1, 9.95640903e-009, 1.00000024, 3.81086345e-008, 2.56423846e-006) | |
497 | p3.CanCollide = false | |
498 | p3.Locked = true | |
499 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
500 | p3.TopSurface = Enum.SurfaceType.Smooth | |
501 | b3 = Instance.new("SpecialMesh", p3) | |
502 | b3.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
503 | b3.TextureId = "" | |
504 | b3.MeshType = Enum.MeshType.FileMesh | |
505 | b3.Name = "Mesh" | |
506 | b3.VertexColor = Vector3.new(0, 0, 0) | |
507 | b3.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
508 | p4 = Instance.new("Part", m) | |
509 | p4.BrickColor = BrickColor.new("Bright red") | |
510 | p4.FormFactor = Enum.FormFactor.Symmetric | |
511 | p4.Size = Vector3.new(1, 1, 1) | |
512 | p4.Transparency = 1 | |
513 | p4.CFrame = CFrame.new(-1.77981007, 8.84795475, -3.40016508, 5.79576135e-006, 7.9450956e-008, -1.00000012, -1.80071311e-007, 1, 1.98458743e-008, 1.00000024, 9.77132402e-008, 5.78289018e-006) | |
514 | p4.CanCollide = false | |
515 | p4.Locked = true | |
516 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
517 | p4.TopSurface = Enum.SurfaceType.Smooth | |
518 | b4 = Instance.new("SpecialMesh", p4) | |
519 | b4.MeshId = "http://www.roblox.com/asset/?id=19326912" | |
520 | b4.TextureId = "" | |
521 | b4.MeshType = Enum.MeshType.FileMesh | |
522 | b4.Name = "Mesh" | |
523 | b4.VertexColor = Vector3.new(0, 0, 0) | |
524 | p5 = Instance.new("Part", m) | |
525 | p5.BrickColor = BrickColor.new("Bright red") | |
526 | p5.FormFactor = Enum.FormFactor.Symmetric | |
527 | p5.Size = Vector3.new(1, 1, 1) | |
528 | p5.CFrame = CFrame.new(-1.70003772, 8.46796131, -3.40004301, -3.43517968e-007, 2.98088111e-007, -1, -1.00421907e-007, 1, 2.38484063e-007, 1.00000012, 1.80640072e-008, -3.56389592e-007) | |
529 | p5.CanCollide = false | |
530 | p5.Transparency = 1 | |
531 | p5.Locked = true | |
532 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
533 | p5.TopSurface = Enum.SurfaceType.Smooth | |
534 | b5 = Instance.new("SpecialMesh", p5) | |
535 | b5.MeshId = "http://www.roblox.com/asset/?id=45916884" | |
536 | b5.TextureId = "" | |
537 | b5.MeshType = Enum.MeshType.FileMesh | |
538 | b5.Name = "Mesh" | |
539 | b5.VertexColor = Vector3.new(0, 0, 0) | |
540 | b5.Scale = Vector3.new(1, 0.899999976, 1) | |
541 | p6 = Instance.new("Part", m) | |
542 | p6.BrickColor = BrickColor.new("Bright red") | |
543 | p6.FormFactor = Enum.FormFactor.Symmetric | |
544 | p6.Transparency = 1 | |
545 | p6.Size = Vector3.new(1, 1, 1) | |
546 | p6.CFrame = CFrame.new(-1.89967656, 8.58795834, -3.44990659, -5.81936433e-007, 5.36502284e-007, -0.99999994, -1.3998249e-007, 1, 4.76898265e-007, 1, 5.76247672e-008, -5.94808171e-007) | |
547 | p6.CanCollide = false | |
548 | p6.Locked = true | |
549 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
550 | p6.TopSurface = Enum.SurfaceType.Smooth | |
551 | b6 = Instance.new("SpecialMesh", p6) | |
552 | b6.MeshId = "http://www.roblox.com/asset/?id=62246019" | |
553 | b6.TextureId = "" | |
554 | b6.MeshType = Enum.MeshType.FileMesh | |
555 | b6.Name = "Mesh" | |
556 | b6.VertexColor = Vector3.new(0, 0, 0) | |
557 | p7 = Instance.new("Part", m) | |
558 | p7.BrickColor = BrickColor.new("Bright red") | |
559 | p7.FormFactor = Enum.FormFactor.Symmetric | |
560 | p7.Transparency = 1 | |
561 | p7.Size = Vector3.new(1, 1, 1) | |
562 | p7.CFrame = CFrame.new(-1.89918542, 8.31796837, -3.50097537, -4.62727087e-007, 5.36502228e-007, -0.999999881, -1.39982518e-007, 1, 4.76898208e-007, 0.99999994, 5.76247459e-008, -4.75598938e-007) | |
563 | p7.CanCollide = false | |
564 | p7.Locked = true | |
565 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
566 | p7.TopSurface = Enum.SurfaceType.Smooth | |
567 | b7 = Instance.new("SpecialMesh", p7) | |
568 | b7.MeshId = "http://www.roblox.com/asset/?id=76056263" | |
569 | b7.TextureId = "" | |
570 | b7.MeshType = Enum.MeshType.FileMesh | |
571 | b7.Name = "Mesh" | |
572 | b7.VertexColor = Vector3.new(0, 0, 0) | |
573 | p8 = Instance.new("Part", m) | |
574 | p8.BrickColor = BrickColor.new("Bright red") | |
575 | p8.FormFactor = Enum.FormFactor.Symmetric | |
576 | p8.Size = Vector3.new(1, 1, 1) | |
577 | p8.CFrame = CFrame.new(-2.62433338, 7.66397905, -3.4010179, -1.17798254e-006, -0.805111349, 0.593123376, -2.5008859e-007, -0.593123615, -0.805111527, 0.999999881, -9.58229293e-007, 4.4941558e-007) | |
578 | p8.CanCollide = false | |
579 | p8.Transparency = 1 | |
580 | p8.Locked = true | |
581 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
582 | p8.TopSurface = Enum.SurfaceType.Smooth | |
583 | b8 = Instance.new("SpecialMesh", p8) | |
584 | b8.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
585 | b8.TextureId = "" | |
586 | b8.MeshType = Enum.MeshType.FileMesh | |
587 | b8.Name = "Mesh" | |
588 | b8.VertexColor = Vector3.new(0, 0, 0) | |
589 | b8.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
590 | p9 = Instance.new("Part", m) | |
591 | p9.BrickColor = BrickColor.new("Bright red") | |
592 | p9.FormFactor = Enum.FormFactor.Symmetric | |
593 | p9.Size = Vector3.new(2, 1, 2) | |
594 | p9.Transparency = 1 | |
595 | p9.CFrame = CFrame.new(-1.76505995, 8.56096649, -3.40065479, -9.73168881e-007, -0.0995008349, -0.995037436, -1.70322267e-007, 0.995037675, -0.0995009243, 1, 1.13823972e-007, -6.80968242e-007) | |
596 | p9.CanCollide = false | |
597 | p9.Locked = true | |
598 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
599 | p9.TopSurface = Enum.SurfaceType.Smooth | |
600 | b9 = Instance.new("SpecialMesh", p9) | |
601 | b9.MeshId = "http://www.roblox.com/asset/?id=12259089" | |
602 | b9.TextureId = "" | |
603 | b9.MeshType = Enum.MeshType.FileMesh | |
604 | b9.Name = "Mesh" | |
605 | b9.VertexColor = Vector3.new(0, 0, 0) | |
606 | b9.Scale = Vector3.new(1.01999998, 1.04999995, 1.04999995) | |
607 | p10 = Instance.new("Part", m) | |
608 | p10.BrickColor = BrickColor.new("Bright red") | |
609 | p10.Transparency = 1 | |
610 | p10.FormFactor = Enum.FormFactor.Symmetric | |
611 | p10.Size = Vector3.new(1, 1, 1) | |
612 | p10.CFrame = CFrame.new(-2.0207715, 9.06097031, -3.39961624, -1.10652763e-006, -0.683569431, -0.729885519, -2.85231891e-007, 0.729885638, -0.68356967, 1.00000012, -3.22293062e-007, -8.40051371e-007) | |
613 | p10.CanCollide = false | |
614 | p10.Locked = true | |
615 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
616 | p10.TopSurface = Enum.SurfaceType.Smooth | |
617 | b10 = Instance.new("SpecialMesh", p10) | |
618 | b10.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
619 | b10.TextureId = "" | |
620 | b10.MeshType = Enum.MeshType.FileMesh | |
621 | b10.Name = "Mesh" | |
622 | b10.VertexColor = Vector3.new(0, 0, 0) | |
623 | b10.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
624 | p11 = Instance.new("Part", m) | |
625 | p11.BrickColor = BrickColor.new("Bright red") | |
626 | p11.Transparency = 1 | |
627 | p11.FormFactor = Enum.FormFactor.Symmetric | |
628 | p11.Size = Vector3.new(1, 1, 1) | |
629 | p11.CFrame = CFrame.new(-2.16468835, 8.78595829, -3.40089417, -1.41617738e-006, -0.989475727, -0.144699216, -4.36450762e-007, 0.144699067, -0.989476085, 1.00000024, -9.47996682e-007, -7.38401468e-007) | |
630 | p11.CanCollide = false | |
631 | p11.Locked = true | |
632 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
633 | p11.TopSurface = Enum.SurfaceType.Smooth | |
634 | b11 = Instance.new("SpecialMesh", p11) | |
635 | b11.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
636 | b11.TextureId = "" | |
637 | b11.MeshType = Enum.MeshType.FileMesh | |
638 | b11.Name = "Mesh" | |
639 | b11.VertexColor = Vector3.new(0, 0, 0) | |
640 | b11.Scale = Vector3.new(1, 1.60000002, 1.29999995) | |
641 | p12 = Instance.new("Part", m) | |
642 | p12.BrickColor = BrickColor.new("Bright red") | |
643 | p12.FormFactor = Enum.FormFactor.Custom | |
644 | p12.Size = Vector3.new(1, 3.5, 1) | |
645 | p12.CFrame = CFrame.new(-3.74216318, 6.74288082, -3.40101933, -1.20476273e-006, -0.553697288, 0.832718134, -3.31002866e-007, -0.832718611, -0.553697169, 1.00000036, -8.7345768e-007, 3.69213154e-007) | |
646 | p12.CanCollide = false | |
647 | p12.Transparency = 1 | |
648 | p12.Locked = true | |
649 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
650 | p12.TopSurface = Enum.SurfaceType.Smooth | |
651 | b12 = Instance.new("SpecialMesh", p12) | |
652 | b12.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
653 | b12.TextureId = "" | |
654 | b12.MeshType = Enum.MeshType.FileMesh | |
655 | b12.Name = "Mesh" | |
656 | b12.VertexColor = Vector3.new(0, 0, 0) | |
657 | b12.Scale = Vector3.new(1, 3, 1.29999995) | |
658 | p13 = Instance.new("Part", m) | |
659 | p13.Transparency = 1 | |
660 | p13.BrickColor = BrickColor.new("Bright red") | |
661 | p13.FormFactor = Enum.FormFactor.Custom | |
662 | p13.Size = Vector3.new(1, 2, 1) | |
663 | p13.CFrame = CFrame.new(-3.32689047, 6.86741829, -3.40101862, -9.81709945e-007, -0.319307148, 0.947651446, -5.6545997e-007, -0.947651923, -0.31930691, 1.00000048, -8.39551717e-007, 1.79318391e-007) | |
664 | p13.CanCollide = false | |
665 | p13.Locked = true | |
666 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
667 | p13.TopSurface = Enum.SurfaceType.Smooth | |
668 | b13 = Instance.new("SpecialMesh", p13) | |
669 | b13.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
670 | b13.TextureId = "" | |
671 | b13.MeshType = Enum.MeshType.FileMesh | |
672 | b13.Name = "Mesh" | |
673 | b13.VertexColor = Vector3.new(0, 0, 0) | |
674 | b13.Scale = Vector3.new(1, 3, 1.29999995) | |
675 | p14 = Instance.new("Part", m) | |
676 | p14.Transparency = 1 | |
677 | p14.BrickColor = BrickColor.new("Bright red") | |
678 | p14.FormFactor = Enum.FormFactor.Custom | |
679 | p14.Size = Vector3.new(1, 2, 1) | |
680 | p14.CFrame = CFrame.new(-3.02689028, 7.96740961, -3.40101862, -1.33478545e-006, -0.750354111, 0.661036491, -5.20037702e-008, -0.661037207, -0.750354171, 1.0000006, -6.31296757e-007, 2.01137496e-007) | |
681 | p14.CanCollide = false | |
682 | p14.Locked = true | |
683 | p14.BottomSurface = Enum.SurfaceType.Smooth | |
684 | p14.TopSurface = Enum.SurfaceType.Smooth | |
685 | b14 = Instance.new("SpecialMesh", p14) | |
686 | b14.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
687 | b14.TextureId = "" | |
688 | b14.MeshType = Enum.MeshType.FileMesh | |
689 | b14.Name = "Mesh" | |
690 | b14.VertexColor = Vector3.new(0, 0, 0) | |
691 | b14.Scale = Vector3.new(1, 3, 1.29999995) | |
692 | p15 = Instance.new("Part", m) | |
693 | p15.BrickColor = BrickColor.new("Bright red") | |
694 | p15.FormFactor = Enum.FormFactor.Custom | |
695 | p15.Size = Vector3.new(1, 2.5, 1) | |
696 | p15.CFrame = CFrame.new(-2.96531463, 7.75924349, -2.90101862, 0.342019022, -0.520305753, 0.782499552, -1.1920929e-007, -0.832718909, -0.553697407, 0.939693451, 0.189374983, -0.284806281) | |
697 | p15.CanCollide = false | |
698 | p15.Transparency = 1 | |
699 | p15.Locked = true | |
700 | p15.BottomSurface = Enum.SurfaceType.Smooth | |
701 | p15.TopSurface = Enum.SurfaceType.Smooth | |
702 | b15 = Instance.new("SpecialMesh", p15) | |
703 | b15.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
704 | b15.TextureId = "" | |
705 | b15.MeshType = Enum.MeshType.FileMesh | |
706 | b15.Name = "Mesh" | |
707 | b15.VertexColor = Vector3.new(0, 0, 0) | |
708 | b15.Scale = Vector3.new(1, 3, 1.29999995) | |
709 | p16 = Instance.new("Part", m) | |
710 | p16.BrickColor = BrickColor.new("Bright red") | |
711 | p16.FormFactor = Enum.FormFactor.Custom | |
712 | p16.Size = Vector3.new(1, 2.5, 1) | |
713 | p16.Transparency = 1 | |
714 | p16.CFrame = CFrame.new(-2.96531439, 7.75924349, -3.80101967, -0.258820295, -0.534830391, 0.804343879, -1.78813934e-007, -0.832718968, -0.553697228, 0.96592629, -0.143308073, 0.215523779) | |
715 | p16.CanCollide = false | |
716 | p16.Locked = true | |
717 | p16.BottomSurface = Enum.SurfaceType.Smooth | |
718 | p16.TopSurface = Enum.SurfaceType.Smooth | |
719 | b16 = Instance.new("SpecialMesh", p16) | |
720 | b16.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
721 | b16.TextureId = "" | |
722 | b16.MeshType = Enum.MeshType.FileMesh | |
723 | b16.Name = "Mesh" | |
724 | b16.VertexColor = Vector3.new(0, 0, 0) | |
725 | b16.Scale = Vector3.new(1, 3, 1.29999995) | |
726 | p17 = Instance.new("Part", m) | |
727 | p17.BrickColor = BrickColor.new("Bright red") | |
728 | p17.Transparency = 1 | |
729 | p17.FormFactor = Enum.FormFactor.Custom | |
730 | p17.Size = Vector3.new(1, 2.4000001, 1) | |
731 | p17.CFrame = CFrame.new(-2.69075108, 7.07788849, -3.40101933, -1.13248825e-006, -0.319307148, 0.947651625, -1.1920929e-006, -0.947652161, -0.319306791, 1.0000006, -1.54972076e-006, 1.04308128e-007) | |
732 | p17.CanCollide = false | |
733 | p17.Locked = true | |
734 | p17.BottomSurface = Enum.SurfaceType.Smooth | |
735 | p17.TopSurface = Enum.SurfaceType.Smooth | |
736 | b17 = Instance.new("SpecialMesh", p17) | |
737 | b17.MeshId = "http://www.roblox.com/asset/?id=12212520" | |
738 | b17.TextureId = "" | |
739 | b17.MeshType = Enum.MeshType.FileMesh | |
740 | b17.Name = "Mesh" | |
741 | b17.VertexColor = Vector3.new(0, 0, 0) | |
742 | b17.Scale = Vector3.new(1, 3, 1.29999995) | |
743 | p18 = Instance.new("Part", m) | |
744 | p18.BrickColor = BrickColor.new("Bright red") | |
745 | p18.FormFactor = Enum.FormFactor.Custom | |
746 | p18.Size = Vector3.new(2, 2, 2) | |
747 | p18.Transparency = 1 | |
748 | p18.CFrame = CFrame.new(-1.70003319, 8.71796608, -3.40004444, -2.37434961e-006, 1.78813934e-007, 1.00000036, -2.35242567e-007, 1.00000072, 3.27825546e-007, -1.0000006, 7.95440158e-009, -2.91315405e-006) | |
749 | p18.CanCollide = false | |
750 | p18.Locked = true | |
751 | p18.BottomSurface = Enum.SurfaceType.Smooth | |
752 | p18.TopSurface = Enum.SurfaceType.Smooth | |
753 | b18 = Instance.new("SpecialMesh", p18) | |
754 | b18.MeshId = "http://www.roblox.com/asset/?id=16627529" | |
755 | b18.TextureId = "" | |
756 | b18.MeshType = Enum.MeshType.FileMesh | |
757 | b18.Name = "Mesh" | |
758 | b18.VertexColor = Vector3.new(0, 0, 0) | |
759 | b18.Scale = Vector3.new(1.04999995, 1.04999995, 1.04999995) | |
760 | w1 = Instance.new("Weld", p1) | |
761 | w1.Name = "Head_Weld" | |
762 | w1.Part0 = p1 | |
763 | w1.C0 = CFrame.new(3.40111661, -0.744508088, 8.58160019, -5.48362732e-006, 3.27825546e-007, 1, -0.978699088, -0.205299854, -5.30481339e-006, 0.205299824, -0.978699148, 1.49011612e-006) | |
764 | w1.Part1 = p2 | |
765 | w1.C1 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
766 | w2 = Instance.new("Weld", p2) | |
767 | w2.Name = "Part_Weld" | |
768 | w2.Part0 = p2 | |
769 | w2.C0 = CFrame.new(3.40013766, -8.14794827, -1.70006609, 4.23192978e-006, -1.08796726e-007, 1.00000012, 2.9664772e-008, 1, 1.08796598e-007, -1.00000012, 2.96642924e-008, 4.23192978e-006) | |
770 | w2.Part1 = p3 | |
771 | w2.C1 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
772 | w3 = Instance.new("Weld", p3) | |
773 | w3.Name = "Part_Weld" | |
774 | w3.Part0 = p3 | |
775 | w3.C0 = CFrame.new(3.40004802, -8.71796036, -1.70002759, 2.56299973e-006, -7.89943471e-008, 1, 2.47196947e-008, 1, 7.89942831e-008, -1, 2.47194887e-008, 2.56299973e-006) | |
776 | w3.Part1 = p4 | |
777 | w3.C1 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
778 | w4 = Instance.new("Weld", p4) | |
779 | w4.Name = "Part_Weld" | |
780 | w4.Part0 = p4 | |
781 | w4.C0 = CFrame.new(3.40017533, -8.8479538, -1.77979064, 5.78165054e-006, -1.38599077e-007, 1, 3.46098972e-008, 1, 1.38598878e-007, -1, 3.46090907e-008, 5.78165054e-006) | |
782 | w4.Part1 = p5 | |
783 | w4.C1 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
784 | w5 = Instance.new("Weld", p5) | |
785 | w5.Name = "Part_Weld" | |
786 | w5.Part0 = p5 | |
787 | w5.C0 = CFrame.new(3.40004182, -8.46796036, -1.70004117, -3.57627869e-007, -5.89495883e-008, 0.99999994, 2.53247009e-007, 1, 5.89496665e-008, -0.99999994, 2.53247009e-007, -3.57627869e-007) | |
788 | w5.Part1 = p6 | |
789 | w5.C1 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
790 | w6 = Instance.new("Weld", p6) | |
791 | w6.Name = "Part_Weld" | |
792 | w6.Part0 = p6 | |
793 | w6.C0 = CFrame.new(3.44990563, -8.58795738, -1.89968324, -5.96046448e-007, -9.85101565e-008, 1, 4.91661183e-007, 1, 9.85104407e-008, -1, 4.9166124e-007, -5.96046448e-007) | |
794 | w6.Part1 = p7 | |
795 | w6.C1 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
796 | w7 = Instance.new("Weld", p7) | |
797 | w7.Name = "Part_Weld" | |
798 | w7.Part0 = p7 | |
799 | w7.C0 = CFrame.new(3.50097466, -8.31796741, -1.89919162, -4.76837158e-007, -9.85101849e-008, 0.99999994, 4.91661126e-007, 1, 9.85104265e-008, -0.99999994, 4.91661183e-007, -4.76837158e-007) | |
800 | w7.Part1 = p8 | |
801 | w7.C1 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
802 | w8 = Instance.new("Weld", p8) | |
803 | w8.Name = "Part_Weld" | |
804 | w8.Part0 = p8 | |
805 | w8.C0 = CFrame.new(3.40101647, 2.43280101, 7.72691393, -1.1920929e-006, -2.08616257e-007, 1, -0.805111527, -0.593123555, -9.83476639e-007, 0.593123496, -0.805111527, 4.17232513e-007) | |
806 | w8.Part1 = p9 | |
807 | w8.C1 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
808 | w9 = Instance.new("Weld", p9) | |
809 | w9.Name = "Part_Weld" | |
810 | w9.Part0 = p9 | |
811 | w9.C0 = CFrame.new(3.40065455, -8.6941061, -0.904481649, -8.34465027e-007, -1.67638063e-007, 1.00000012, -0.0995008498, 0.995037496, 1.00582838e-007, -0.995037615, -0.0995008498, -8.34465027e-007) | |
812 | w9.Part1 = p10 | |
813 | w9.C1 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
814 | w10 = Instance.new("Weld", p10) | |
815 | w10.Name = "Part_Weld" | |
816 | w10.Part0 = p10 | |
817 | w10.C0 = CFrame.new(3.39961672, -7.99480963, 4.71886492, -9.53674316e-007, -2.98023224e-007, 1, -0.683569372, 0.729885519, -4.47034836e-007, -0.729885459, -0.683569431, -9.53674316e-007) | |
818 | w10.Part1 = p11 | |
819 | w10.C1 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
820 | w11 = Instance.new("Weld", p11) | |
821 | w11.Name = "Part_Weld" | |
822 | w11.Part0 = p11 | |
823 | w11.C0 = CFrame.new(3.40089583, -3.41323304, 8.38025856, -1.31130219e-006, -4.76837158e-007, 1.00000012, -0.989475787, 0.144699097, -1.07288361e-006, -0.144699246, -0.989475787, -7.15255737e-007) | |
824 | w11.Part1 = p12 | |
825 | w11.C1 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
826 | w12 = Instance.new("Weld", p12) | |
827 | w12.Name = "Part_Weld" | |
828 | w12.Part0 = p12 | |
829 | w12.C0 = CFrame.new(3.40101814, 3.54288888, 6.84968376, -9.53674316e-007, -4.47034836e-007, 1, -0.553697109, -0.832718134, -9.23871994e-007, 0.832718134, -0.553697109, 6.55651093e-007) | |
830 | w12.Part1 = p13 | |
831 | w12.C1 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
832 | w13 = Instance.new("Weld", p13) | |
833 | w13.Name = "Part_Weld" | |
834 | w13.Part0 = p13 | |
835 | w13.C0 = CFrame.new(3.40102005, 5.44561195, 5.34554911, -8.34465027e-007, -6.40749931e-007, 1.00000012, -0.319307029, -0.947651505, -8.19563866e-007, 0.947651386, -0.319307029, 3.57627869e-007) | |
836 | w13.Part1 = p14 | |
837 | w13.C1 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
838 | w14 = Instance.new("Weld", p14) | |
839 | w14.Name = "Part_Weld" | |
840 | w14.Part0 = p14 | |
841 | w14.C0 = CFrame.new(3.40101624, 2.99550176, 7.97925997, -9.53674316e-007, -1.49011612e-007, 1, -0.750353813, -0.661036491, -8.64267349e-007, 0.661036491, -0.750353813, 5.36441803e-007) | |
842 | w14.Part1 = p15 | |
843 | w14.C1 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
844 | w15 = Instance.new("Weld", p15) | |
845 | w15.Name = "Part_Weld" | |
846 | w15.Part0 = p15 | |
847 | w15.C0 = CFrame.new(3.74026394, 5.46776819, 5.79039907, 0.34201923, -3.27825546e-007, 0.939692974, -0.520305395, -0.832718134, 0.189374775, 0.782499313, -0.553697109, -0.284805775) | |
848 | w15.Part1 = p16 | |
849 | w15.C1 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
850 | w16 = Instance.new("Weld", p16) | |
851 | w16.Name = "Part_Weld" | |
852 | w16.Part0 = p16 | |
853 | w16.C0 = CFrame.new(2.90401983, 4.33060169, 7.50061178, -0.258819938, -2.68220901e-007, 0.965925574, -0.534830093, -0.832718134, -0.143308043, 0.80434382, -0.55369705, 0.215523928) | |
854 | w16.Part1 = p17 | |
855 | w16.C1 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
856 | w17 = Instance.new("Weld", p17) | |
857 | w17.Name = "Part_Weld" | |
858 | w17.Part0 = p17 | |
859 | w17.C0 = CFrame.new(3.4010253, 5.84818506, 4.80991411, -8.56413749e-007, -1.3483392e-006, 1, -0.31930685, -0.947651386, -1.55121427e-006, 0.947651386, -0.31930685, 3.81047698e-007) | |
860 | w17.Part1 = p18 | |
861 | w17.C1 = CFrame.new(-3.40004683, -8.71796036, 1.70002675, -2.6504224e-006, -7.89943471e-008, -1, -2.47197018e-008, 1, -7.89942831e-008, 1, 2.47194887e-008, -2.6504224e-006) | |
862 | m.Parent = char | |
863 | m:MakeJoints() | |
864 | ||
865 | ||
866 | ---------------------------------------------------- | |
867 | amusicOn = true | |
868 | ||
869 | Me = game.Players.LocalPlayer | |
870 | player = Me | |
871 | char = Me.Character | |
872 | chara = char | |
873 | larm = char["Left Arm"] | |
874 | rarm = char["Right Arm"] | |
875 | lleg = char["Left Leg"] | |
876 | rleg = char["Right Leg"] | |
877 | torso = char.Torso | |
878 | hed = char.Head | |
879 | mouse = player:GetMouse() | |
880 | lght = game.Lighting | |
881 | lichtact = false | |
882 | moosicact = false | |
883 | gotsagofest = true | |
884 | chara.Humanoid.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
885 | chara.Humanoid.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
886 | ||
887 | ||
888 | ||
889 | local naeeym = Instance.new("BillboardGui",chara) | |
890 | naeeym.Size = UDim2.new(0,100,0,40) | |
891 | naeeym.StudsOffset = Vector3.new(0,2,0) | |
892 | naeeym.Adornee = chara.Head | |
893 | local tecks = Instance.new("TextLabel",naeeym) | |
894 | tecks.BackgroundTransparency = 1 | |
895 | tecks.BorderSizePixel = 0 | |
896 | - | tecks.Text = "Nobody1997" |
896 | + | tecks.Text = "jassm22" |
897 | tecks.Font = "Bodoni" | |
898 | tecks.FontSize = "Size36" | |
899 | tecks.TextStrokeTransparency = 0.5 | |
900 | tecks.TextColor3 = Color3.new(0,0,0) | |
901 | rrer = BrickColor.new("Really red") | |
902 | tecks.TextStrokeColor3 = rrer.Color | |
903 | tecks.Size = UDim2.new(1,0,0.5,0) | |
904 | local licht = Instance.new("PointLight",chara.Torso) | |
905 | licht.Color = tecks.TextStrokeColor3 | |
906 | licht.Range = 60 | |
907 | licht.Brightness = 1 | |
908 | licht.Enabled = false | |
909 | ---------------------------------------------------- | |
910 | local cor = Instance.new("Part", char.Hair) | |
911 | cor.Name = "Link" | |
912 | cor.Locked = true | |
913 | cor.BottomSurface = 0 | |
914 | cor.CanCollide = false | |
915 | cor.Size = Vector3.new(1, 9, 1) | |
916 | cor.Transparency = 1 | |
917 | cor.TopSurface = 0 | |
918 | corw = Instance.new("Weld", cor) | |
919 | corw.Part0 = hed | |
920 | corw.Part1 = cor | |
921 | corw.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
922 | corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
923 | weld1 = Instance.new("Weld", char.Hair) | |
924 | weld1.Part0 = cor | |
925 | weld1.Part1 = char.Hair.Head | |
926 | weld1.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
927 | ----------------------------------------------------betterhair | |
928 | pr = Instance.new("Part",hed) | |
929 | pr.BrickColor = BrickColor.new("Bright red") | |
930 | pr.Material = "Metal" | |
931 | pr.Reflectance = 0.04 | |
932 | pr.Anchored = false | |
933 | pr.CanCollide = false | |
934 | pr.Archivable = false | |
935 | pr.Locked = true | |
936 | pr.Size = Vector3.new(1,1,1) | |
937 | prm = Instance.new("SpecialMesh",pr) | |
938 | prm.MeshType = "FileMesh" | |
939 | prm.MeshId = "rbxassetid://437432504" | |
940 | prm.Scale = Vector3.new(.05,.05,.05) | |
941 | newWeld(hed, pr, 0, 0, 0) | |
942 | pr.Weld.C1 = CFrame.new(0,.5,-2.1) * CFrame.Angles(0,0,0) | |
943 | ---------------------------------------------------- | |
944 | ||
945 | GroundWave1 = function() | |
946 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
947 | local Colors = {"Bright red"} | |
948 | local wave = Instance.new("Part", torso) | |
949 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
950 | wave.Anchored = true | |
951 | wave.CanCollide = false | |
952 | wave.Locked = true | |
953 | wave.Size = Vector3.new(1, 1, 1) | |
954 | wave.TopSurface = "Smooth" | |
955 | wave.BottomSurface = "Smooth" | |
956 | wave.Transparency = 0.35 | |
957 | wave.CFrame = HandCF | |
958 | wm = Instance.new("SpecialMesh", wave) | |
959 | wm.MeshId = "rbxassetid://24388358" | |
960 | coroutine.wrap(function() | |
961 | for i = 1, 30, 1 do | |
962 | wm.Scale = Vector3.new(1 + i*1.2, 1 + i*1.2, 1) | |
963 | wave.Size = wm.Scale | |
964 | wave.CFrame = HandCF | |
965 | wave.Transparency = i/30 | |
966 | wait() | |
967 | end | |
968 | wait() | |
969 | wave:Destroy() | |
970 | end)() | |
971 | end | |
972 | ---------------------------------------------------- | |
973 | GroundWave = function() | |
974 | if Transforming == true then | |
975 | local wave = Instance.new("Part", torso) | |
976 | wave.BrickColor = BrickColor.new("Bright red") | |
977 | wave.Anchored = true | |
978 | wave.CanCollide = false | |
979 | wave.Locked = true | |
980 | wave.Size = Vector3.new(1, 1, 1) | |
981 | wave.TopSurface = "Smooth" | |
982 | wave.BottomSurface = "Smooth" | |
983 | wave.Transparency = 0.35 | |
984 | wave.CFrame = fx.CFrame | |
985 | wm = Instance.new("SpecialMesh", wave) | |
986 | wm.MeshType = "Sphere" | |
987 | wm.Scale = Vector3.new(1,1,1) | |
988 | coroutine.wrap(function() | |
989 | for i = 1, 18, 1 do | |
990 | wm.Scale = Vector3.new(2 + i*2, 2 + i*2, 2 + i*2) | |
991 | --wave.Size = wm.Scale | |
992 | wave.CFrame = fx.CFrame | |
993 | wave.Transparency = i/14 | |
994 | wait() | |
995 | end | |
996 | wait() | |
997 | wave:Destroy() | |
998 | end)() | |
999 | elseif Transforming == false then | |
1000 | wait() | |
1001 | end | |
1002 | end | |
1003 | ||
1004 | for i = 1, 100 do rs:wait() | |
1005 | fx.CFrame = torso.CFrame | |
1006 | end | |
1007 | ||
1008 | Spawn(function() | |
1009 | while wait(1) do | |
1010 | GroundWave() | |
1011 | end | |
1012 | end) | |
1013 | ||
1014 | wait(4) | |
1015 | ||
1016 | Transforming = false | |
1017 | ||
1018 | for i = 1, 20 do rs:wait() | |
1019 | fx.Transparency = fx.Transparency + (1/20) | |
1020 | fx.CFrame = torso.CFrame | |
1021 | fxm.Scale = fxm.Scale + Vector3.new(0.5,0.5,0.5) | |
1022 | rs:wait() | |
1023 | end | |
1024 | ||
1025 | local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1026 | local wave = Instance.new("Part", torso) | |
1027 | wave.BrickColor = BrickColor.new("Really black") | |
1028 | wave.Anchored = true | |
1029 | wave.CanCollide = false | |
1030 | wave.Locked = true | |
1031 | wave.Size = Vector3.new(1, 1, 1) | |
1032 | wave.TopSurface = "Smooth" | |
1033 | wave.BottomSurface = "Smooth" | |
1034 | wave.Transparency = 0.35 | |
1035 | wave.CFrame = HandCF | |
1036 | wm = Instance.new("SpecialMesh", wave) | |
1037 | wm.MeshId = "rbxassetid://24388358" | |
1038 | coroutine.wrap(function() | |
1039 | for i = 1, 14, 1 do | |
1040 | wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1) | |
1041 | wave.Size = wm.Scale | |
1042 | wave.CFrame = HandCF | |
1043 | wave.Transparency = i/14 | |
1044 | wait() | |
1045 | end | |
1046 | wait() | |
1047 | wave:Destroy() | |
1048 | end)() | |
1049 | hum.WalkSpeed = 16 | |
1050 | ---------------------------------------------------- | |
1051 | Blast = function() | |
1052 | local Colors = {"Bright red"} | |
1053 | local wave = Instance.new("Part", torso) | |
1054 | wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)]) | |
1055 | wave.Anchored = true | |
1056 | wave.CanCollide = false | |
1057 | wave.Locked = true | |
1058 | wave.Size = Vector3.new(1, 1, 1) | |
1059 | wave.TopSurface = "Smooth" | |
1060 | wave.BottomSurface = "Smooth" | |
1061 | wave.Transparency = 0.35 | |
1062 | wave.CFrame = rarm.CFrame | |
1063 | wm = Instance.new("SpecialMesh", wave) | |
1064 | wm.MeshType = "Sphere" | |
1065 | wm.Scale = Vector3.new(1,1,1) | |
1066 | z = Instance.new("Sound",wave) | |
1067 | z.SoundId = "rbxassetid://237035051" | |
1068 | z.Volume = 1 | |
1069 | z.Pitch = .9 | |
1070 | z:Play() | |
1071 | coroutine.wrap(function() | |
1072 | for i = 1, 30, 1 do | |
1073 | wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4) | |
1074 | --wave.Size = wm.Scale | |
1075 | wave.CFrame = rarm.CFrame | |
1076 | wave.Transparency = (1/14) | |
1077 | rs:wait() | |
1078 | end | |
1079 | rs:wait() | |
1080 | wave:Destroy() | |
1081 | z:Destroy() | |
1082 | end)() | |
1083 | end | |
1084 | ||
1085 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
1086 | local a= Part(1,1,1,col1,.5,false,true,game:GetService("Workspace")) | |
1087 | local a2= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace")) | |
1088 | local a3= Part(1,1,1,col2,.5,false,true,game:GetService("Workspace")) | |
1089 | v1,v2,v3=sz.x,sz.y,sz.z | |
1090 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
1091 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
1092 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
1093 | a.CFrame=cfr | |
1094 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1095 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
1096 | for i,v in pairs(game:GetService("Workspace"):children()) do | |
1097 | if v:IsA("Model") and v:findFirstChild("Humanoid") then | |
1098 | if v:findFirstChild("Head") and v:findFirstChild("Torso") then | |
1099 | if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= char.Name then | |
1100 | local hit=v | |
1101 | hit.Humanoid.Health=v.Humanoid.Health-dmg | |
1102 | hit.Humanoid.PlatformStand=true | |
1103 | hit.Torso.Velocity=Vector3.new(math.random(-100,100),100,math.random(- 100,-100)) | |
1104 | wait(.1) | |
1105 | Spawn(function()wait(2)hit.Humanoid.PlatformStand=false end) | |
1106 | end | |
1107 | end | |
1108 | end | |
1109 | end | |
1110 | Spawn(function() | |
1111 | while wait() do | |
1112 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
1113 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
1114 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
1115 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
1116 | a.Transparency=a.Transparency+0.05 | |
1117 | a2.Transparency=a2.Transparency+0.05 | |
1118 | a3.Transparency=a3.Transparency+0.05 | |
1119 | end | |
1120 | end) | |
1121 | end | |
1122 | ||
1123 | ---------------------------------------------------- | |
1124 | rarm.Touched:connect(function(ht) | |
1125 | hit = ht.Parent | |
1126 | if ht and hit:IsA("Model") then | |
1127 | if hit:FindFirstChild("Humanoid") then | |
1128 | if hit.Name ~= p.Name then | |
1129 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1130 | Debounces.RPunched = true | |
1131 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(35,38)) | |
1132 | if Debounces.ks==true then | |
1133 | z = Instance.new("Sound",hed) | |
1134 | z.SoundId = "rbxassetid://169380525" | |
1135 | z.Pitch = ptz[math.random(1,#ptz)] | |
1136 | z.Volume = 1 | |
1137 | z:Play() | |
1138 | end | |
1139 | wait(.2) | |
1140 | Debounces.RPunched = false | |
1141 | end | |
1142 | end | |
1143 | end | |
1144 | elseif ht and hit:IsA("Hat") then | |
1145 | if hit.Parent.Name ~= p.Name then | |
1146 | if hit.Parent:FindFirstChild("Humanoid") then | |
1147 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1148 | Debounces.RPunched = true | |
1149 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(35,38)) | |
1150 | if Debounces.ks==true then | |
1151 | z = Instance.new("Sound",hed) | |
1152 | z.SoundId = "rbxassetid://169380525" | |
1153 | z.Pitch = ptz[math.random(1,#ptz)] | |
1154 | z.Volume = 1 | |
1155 | z:Play() | |
1156 | end | |
1157 | wait(.2) | |
1158 | Debounces.RPunched = false | |
1159 | end | |
1160 | end | |
1161 | end | |
1162 | end | |
1163 | end) | |
1164 | larm.Touched:connect(function(ht) | |
1165 | hit = ht.Parent | |
1166 | if ht and hit:IsA("Model") then | |
1167 | if hit:FindFirstChild("Humanoid") then | |
1168 | if hit.Name ~= p.Name then | |
1169 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1170 | Debounces.LPunched = true | |
1171 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(34,38)) | |
1172 | if Debounces.ks2==true then | |
1173 | z = Instance.new("Sound",hed) | |
1174 | z.SoundId = "rbxassetid://169380525" | |
1175 | z.Pitch = ptz[math.random(1,#ptz)] | |
1176 | z.Volume = 1 | |
1177 | z:Play() | |
1178 | end | |
1179 | wait(.2) | |
1180 | Debounces.LPunched = false | |
1181 | end | |
1182 | end | |
1183 | end | |
1184 | elseif ht and hit:IsA("Hat") then | |
1185 | if hit.Parent.Name ~= p.Name then | |
1186 | if hit.Parent:FindFirstChild("Humanoid") then | |
1187 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1188 | Debounces.LPunched = true | |
1189 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(34,38)) | |
1190 | if Debounces.ks2==true then | |
1191 | z = Instance.new("Sound",hed) | |
1192 | z.SoundId = "rbxassetid://169380525" | |
1193 | z.Pitch = ptz[math.random(1,#ptz)] | |
1194 | z.Volume = 1 | |
1195 | z:Play() | |
1196 | end | |
1197 | wait(.2) | |
1198 | Debounces.LPunched = false | |
1199 | end | |
1200 | end | |
1201 | end | |
1202 | end | |
1203 | end) | |
1204 | ---------------------------------------------------- | |
1205 | ||
1206 | mod4 = Instance.new("Model",char) | |
1207 | ||
1208 | ptez = {0.7, 0.8, 0.9, 1} | |
1209 | ||
1210 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1211 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1212 | local List = {} | |
1213 | for i,v in pairs(workspace:GetChildren())do | |
1214 | if v:IsA("Model")then | |
1215 | if v:findFirstChild("Torso")then | |
1216 | if v ~= char then | |
1217 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1218 | table.insert(List,v) | |
1219 | end | |
1220 | end | |
1221 | end | |
1222 | end | |
1223 | end | |
1224 | return List | |
1225 | end | |
1226 | ||
1227 | function Punch() | |
1228 | part=Instance.new('Part',mod4) | |
1229 | part.Anchored=true | |
1230 | part.CanCollide=false | |
1231 | part.FormFactor='Custom' | |
1232 | part.Size=Vector3.new(.2,.2,.2) | |
1233 | part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0) | |
1234 | part.Transparency=.7 | |
1235 | part.BrickColor=BrickColor.new('Bright red') | |
1236 | mesh=Instance.new('SpecialMesh',part) | |
1237 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
1238 | mesh.Scale=Vector3.new(3,3,3) | |
1239 | part2=Instance.new('Part',mod4) | |
1240 | part2.Anchored=true | |
1241 | part2.CanCollide=false | |
1242 | part2.FormFactor='Custom' | |
1243 | part2.Size=Vector3.new(.2,.2,.2) | |
1244 | part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0) | |
1245 | part2.Transparency=.7 | |
1246 | part2.BrickColor=BrickColor.new('Bright red') | |
1247 | mesh2=Instance.new('SpecialMesh',part2) | |
1248 | mesh2.MeshId='http://www.roblox.com/asset/?id=24388358' | |
1249 | mesh2.Scale=Vector3.new(3,1.5,3) | |
1250 | for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do | |
1251 | if v:FindFirstChild('Humanoid') then | |
1252 | v.Humanoid:TakeDamage(math.random(2,6)) | |
1253 | end | |
1254 | end | |
1255 | coroutine.resume(coroutine.create(function() | |
1256 | for i=0,0.62,0.4 do | |
1257 | wait() | |
1258 | part.CFrame=part.CFrame | |
1259 | part.Transparency=i | |
1260 | mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4) | |
1261 | part2.CFrame=part2.CFrame | |
1262 | part2.Transparency=i | |
1263 | mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4) | |
1264 | end | |
1265 | part.Parent=nil | |
1266 | part2.Parent=nil | |
1267 | end)) | |
1268 | end | |
1269 | ---------------------------------------------------- | |
1270 | rarm.Touched:connect(function(ht) | |
1271 | hit = ht.Parent | |
1272 | if ht and hit:IsA("Model") then | |
1273 | if hit:FindFirstChild("Humanoid") then | |
1274 | if hit.Name ~= p.Name then | |
1275 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1276 | Debounces.RPunched = true | |
1277 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(35,38)) | |
1278 | if Debounces.ks==true then | |
1279 | z = Instance.new("Sound",hed) | |
1280 | z.SoundId = "rbxassetid://169380525" | |
1281 | z.Pitch = ptz[math.random(1,#ptz)] | |
1282 | z.Volume = 1 | |
1283 | z:Play() | |
1284 | end | |
1285 | wait(.2) | |
1286 | Debounces.RPunched = false | |
1287 | end | |
1288 | end | |
1289 | end | |
1290 | elseif ht and hit:IsA("Hat") then | |
1291 | if hit.Parent.Name ~= p.Name then | |
1292 | if hit.Parent:FindFirstChild("Humanoid") then | |
1293 | if Debounces.RPunch == true and Debounces.RPunched == false then | |
1294 | Debounces.RPunched = true | |
1295 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(35,38)) | |
1296 | if Debounces.ks==true then | |
1297 | z = Instance.new("Sound",hed) | |
1298 | z.SoundId = "rbxassetid://169380525" | |
1299 | z.Pitch = ptz[math.random(1,#ptz)] | |
1300 | z.Volume = 1 | |
1301 | z:Play() | |
1302 | end | |
1303 | wait(.2) | |
1304 | Debounces.RPunched = false | |
1305 | end | |
1306 | end | |
1307 | end | |
1308 | end | |
1309 | end) | |
1310 | larm.Touched:connect(function(ht) | |
1311 | hit = ht.Parent | |
1312 | if ht and hit:IsA("Model") then | |
1313 | if hit:FindFirstChild("Humanoid") then | |
1314 | if hit.Name ~= p.Name then | |
1315 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1316 | Debounces.LPunched = true | |
1317 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(34,38)) | |
1318 | if Debounces.ks2==true then | |
1319 | z = Instance.new("Sound",hed) | |
1320 | z.SoundId = "rbxassetid://169380525" | |
1321 | z.Pitch = ptz[math.random(1,#ptz)] | |
1322 | z.Volume = 1 | |
1323 | z:Play() | |
1324 | end | |
1325 | wait(.2) | |
1326 | Debounces.LPunched = false | |
1327 | end | |
1328 | end | |
1329 | end | |
1330 | elseif ht and hit:IsA("Hat") then | |
1331 | if hit.Parent.Name ~= p.Name then | |
1332 | if hit.Parent:FindFirstChild("Humanoid") then | |
1333 | if Debounces.LPunch == true and Debounces.LPunched == false then | |
1334 | Debounces.LPunched = true | |
1335 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(34,38)) | |
1336 | if Debounces.ks2==true then | |
1337 | z = Instance.new("Sound",hed) | |
1338 | z.SoundId = "rbxassetid://169380525" | |
1339 | z.Pitch = ptz[math.random(1,#ptz)] | |
1340 | z.Volume = 1 | |
1341 | z:Play() | |
1342 | end | |
1343 | wait(.2) | |
1344 | Debounces.LPunched = false | |
1345 | end | |
1346 | end | |
1347 | end | |
1348 | end | |
1349 | end) | |
1350 | ---------------------------------------------------- | |
1351 | local player = game.Players.LocalPlayer | |
1352 | local pchar = player.Character | |
1353 | local mouse = player:GetMouse() | |
1354 | local cam = workspace.CurrentCamera | |
1355 | ||
1356 | local rad = math.rad | |
1357 | ||
1358 | local keysDown = {} | |
1359 | local flySpeed = 0 | |
1360 | local MAX_FLY_SPEED = 150 | |
1361 | ||
1362 | local canFly = false | |
1363 | local flyToggled = false | |
1364 | ||
1365 | local forward, side = 0, 0 | |
1366 | local lastForward, lastSide = 0, 0 | |
1367 | ||
1368 | local floatBP = Instance.new("BodyPosition") | |
1369 | floatBP.maxForce = Vector3.new(0, math.huge, 0) | |
1370 | local flyBV = Instance.new("BodyVelocity") | |
1371 | flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9) | |
1372 | local turnBG = Instance.new("BodyGyro") | |
1373 | turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) | |
1374 | ||
1375 | mouse.KeyDown:connect(function(key) | |
1376 | keysDown[key] = true | |
1377 | ||
1378 | if key == "f" then | |
1379 | flyToggled = not flyToggled | |
1380 | ||
1381 | if not flyToggled then | |
1382 | stanceToggle = "Normal" | |
1383 | floatBP.Parent = nil | |
1384 | flyBV.Parent = nil | |
1385 | turnBG.Parent = nil | |
1386 | root.Velocity = Vector3.new() | |
1387 | pchar.Humanoid.PlatformStand = false | |
1388 | end | |
1389 | end | |
1390 | ||
1391 | end) | |
1392 | mouse.KeyUp:connect(function(key) | |
1393 | keysDown[key] = nil | |
1394 | end) | |
1395 | ||
1396 | local function updateFly() | |
1397 | ||
1398 | if not flyToggled then return end | |
1399 | ||
1400 | lastForward = forward | |
1401 | lastSide = side | |
1402 | ||
1403 | forward = 0 | |
1404 | side = 0 | |
1405 | ||
1406 | if keysDown.w then | |
1407 | forward = forward + 1 | |
1408 | end | |
1409 | if keysDown.s then | |
1410 | forward = forward - 1 | |
1411 | end | |
1412 | if keysDown.a then | |
1413 | side = side - 1 | |
1414 | end | |
1415 | if keysDown.d then | |
1416 | side = side + 1 | |
1417 | end | |
1418 | ||
1419 | canFly = (forward ~= 0 or side ~= 0) | |
1420 | ||
1421 | if canFly then | |
1422 | stanceToggle = "Floating" | |
1423 | turnBG.Parent = root | |
1424 | floatBP.Parent = nil | |
1425 | flyBV.Parent = root | |
1426 | ||
1427 | flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED) | |
1428 | if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end | |
1429 | else | |
1430 | floatBP.position = root.Position | |
1431 | floatBP.Parent = root | |
1432 | ||
1433 | flySpeed = flySpeed - 1 | |
1434 | if flySpeed < 0 then flySpeed = 0 end | |
1435 | end | |
1436 | ||
1437 | local camCF = cam.CoordinateFrame | |
1438 | local in_forward = canFly and forward or lastForward | |
1439 | local in_side = canFly and side or lastSide | |
1440 | ||
1441 | flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side, | |
1442 | in_forward * 0.2, 0).p) - camCF.p) * flySpeed | |
1443 | ||
1444 | turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0, | |
1445 | 0) | |
1446 | end | |
1447 | ||
1448 | game:service'RunService'.RenderStepped:connect(function() | |
1449 | if flyToggled then | |
1450 | pchar.Humanoid.PlatformStand = true | |
1451 | end | |
1452 | updateFly() | |
1453 | end) | |
1454 | ------------------------------- | |
1455 | ---------------------------------------------------- | |
1456 | pt = {0.7, 0.8, 0.9} | |
1457 | mouse.KeyDown:connect(function(key) | |
1458 | if key == "h" then | |
1459 | if Debounces.CanJoke == true then | |
1460 | Debounces.CanJoke = false | |
1461 | u = Instance.new("Sound") | |
1462 | u.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
1463 | u.Parent = char | |
1464 | u.Looped = false | |
1465 | u.Pitch = 1 | |
1466 | u.Volume = 1 | |
1467 | u2 = Instance.new("Sound") | |
1468 | u2.SoundId = "http://www.roblox.com/asset/?id=430315987" | |
1469 | u2.Parent = char | |
1470 | u2.Looped = false | |
1471 | u2.Pitch = 1 | |
1472 | u2.Volume = 1 | |
1473 | wait(.01) | |
1474 | u:Play() | |
1475 | u2:Play() | |
1476 | wait(6) | |
1477 | u:Destroy() | |
1478 | u2:Destroy() | |
1479 | if Debounces.CanJoke == false then | |
1480 | Debounces.CanJoke = true | |
1481 | end | |
1482 | end | |
1483 | end | |
1484 | end) | |
1485 | ---------------------------------------------------- | |
1486 | ---------------------------------------------------- | |
1487 | mouse.KeyDown:connect(function(key) | |
1488 | if key == "j" then | |
1489 | if Debounces.CanJoke == true then | |
1490 | Debounces.CanJoke = false | |
1491 | u = Instance.new("Sound") | |
1492 | u.SoundId = "http://www.roblox.com/asset/?id=154733167" | |
1493 | u.Parent = hed | |
1494 | u.Looped = false | |
1495 | u.Pitch = 1 | |
1496 | u.Volume = 1 | |
1497 | wait(.01) | |
1498 | u:Play() | |
1499 | wait(10) | |
1500 | u:Destroy() | |
1501 | if Debounces.CanJoke == false then | |
1502 | Debounces.CanJoke = true | |
1503 | end | |
1504 | end | |
1505 | end | |
1506 | end) | |
1507 | ---------------------------------------------------- | |
1508 | ||
1509 | ---------------------------------------------------- | |
1510 | mouse.KeyDown:connect(function(key) | |
1511 | if key == "g" then | |
1512 | hum.WalkSpeed = 0 | |
1513 | if Debounces.CanAttack == true then | |
1514 | Debounces.CanAttack = false | |
1515 | Debounces.on = true | |
1516 | Debounces.NoIdl = true | |
1517 | wait(.1) | |
1518 | so("http://www.roblox.com/asset/?id=169445572",hed,1.5,1.5) | |
1519 | so("http://www.roblox.com/asset/?id=169380495",hed,1.5,1.5) | |
1520 | for i = 1, 20 do | |
1521 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2) | |
1522 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2) | |
1523 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2) | |
1524 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2) | |
1525 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2) | |
1526 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2) | |
1527 | if Debounces.on == false then break end | |
1528 | wait() | |
1529 | end | |
1530 | wait(0.5) | |
1531 | local rng = Instance.new("Part", char) | |
1532 | rng.Anchored = true | |
1533 | rng.BrickColor = BrickColor.new("Bright red") | |
1534 | rng.CanCollide = false | |
1535 | rng.FormFactor = 3 | |
1536 | rng.Name = "Ring" | |
1537 | rng.Size = Vector3.new(1, 1, 1) | |
1538 | rng.Transparency = 0.5 | |
1539 | rng.TopSurface = 0 | |
1540 | rng.BottomSurface = 0 | |
1541 | rng.Position = torso.Position - Vector3.new(0,2,0) | |
1542 | rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
1543 | local rngm = Instance.new("SpecialMesh", rng) | |
1544 | rngm.MeshId = "http://www.roblox.com/asset/?id=156292355" | |
1545 | rngm.Scale = Vector3.new(1, 1, 2) | |
1546 | x = Instance.new("Sound",torso) | |
1547 | x.SoundId = "http://www.roblox.com/asset/?id=169445602" | |
1548 | x.Looped = false | |
1549 | x.Pitch = .7 | |
1550 | x.Volume = 2 | |
1551 | x:Play() | |
1552 | partic2.Enabled = true | |
1553 | coroutine.wrap(function() | |
1554 | for i = 1, 60, 8 do | |
1555 | rngm.Scale = Vector3.new(1.2 + i*1.1, 1.2 + i*1.1, 1) | |
1556 | rng.Transparency = i/60 | |
1557 | wait() | |
1558 | end | |
1559 | wait() | |
1560 | rng:Destroy() | |
1561 | end)() | |
1562 | hum.WalkSpeed = 50 | |
1563 | BV = Instance.new("BodyVelocity", torso) | |
1564 | BV.maxForce = Vector3.new(0,200000,0) | |
1565 | BV.P = 100000 | |
1566 | BV.velocity = Vector3.new(0,150,0) | |
1567 | for i = 1, 20 do | |
1568 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7) | |
1569 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7) | |
1570 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7) | |
1571 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7) | |
1572 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7) | |
1573 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7) | |
1574 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, 200, 0), 0.3) | |
1575 | if Debounces.on == false then break end | |
1576 | wait() | |
1577 | end | |
1578 | x:Destroy() | |
1579 | BV:Destroy() | |
1580 | ||
1581 | coroutine.resume(coroutine.create(function() | |
1582 | for i = 1, 2880, 48 do | |
1583 | torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0)) | |
1584 | rs:wait(4) | |
1585 | end | |
1586 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
1587 | end)) | |
1588 | ||
1589 | for i = 1, 30 do | |
1590 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3) | |
1591 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3) | |
1592 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3) | |
1593 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3) | |
1594 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3) | |
1595 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3) | |
1596 | if Debounces.on == false then break end | |
1597 | wait() | |
1598 | end | |
1599 | ||
1600 | if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then | |
1601 | for i = 1, 30 do | |
1602 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3) | |
1603 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3) | |
1604 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3) | |
1605 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3) | |
1606 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3) | |
1607 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3) | |
1608 | if Debounces.on == false then break end | |
1609 | wait() | |
1610 | end | |
1611 | end | |
1612 | local ry,ht,ps=nil,nil,nil | |
1613 | while ht==nil do | |
1614 | ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char}) | |
1615 | wait() | |
1616 | end | |
1617 | Landing() | |
1618 | z = Instance.new("Sound",torso) | |
1619 | z.SoundId = "rbxassetid://142070127" | |
1620 | z.Volume = 2 | |
1621 | wait(.1) | |
1622 | z:Play() | |
1623 | partic2.Enabled = false | |
1624 | hum.WalkSpeed = 0 | |
1625 | for i = 1, 25 do | |
1626 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2) | |
1627 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2) | |
1628 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2) | |
1629 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2) | |
1630 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2) | |
1631 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2) | |
1632 | cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 229.5, 0), 0.3) | |
1633 | if Debounces.on == false then break end | |
1634 | wait() | |
1635 | end | |
1636 | wait(0.2) | |
1637 | Debounces.on = false | |
1638 | Debounces.NoIdl = false | |
1639 | cor.Weld.C1 = CFrame.Angles(0,0,0) | |
1640 | ||
1641 | if Debounces.CanAttack == false then | |
1642 | Debounces.CanAttack = true | |
1643 | hum.WalkSpeed = 14 | |
1644 | end | |
1645 | end | |
1646 | end | |
1647 | end) | |
1648 | ---------------------------------------------------- | |
1649 | ---------------------------------------------------- | |
1650 | ------------------------------- | |
1651 | mouse.KeyDown:connect(function(key) | |
1652 | if key == "q" then | |
1653 | if Debounces.CanAttack == true then | |
1654 | Debounces.CanAttack = false | |
1655 | Debounces.NoIdl = true | |
1656 | Debounces.on = true | |
1657 | function FindNearestTorso(Position,Distance,SinglePlayer) | |
1658 | if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end | |
1659 | local List = {} | |
1660 | for i,v in pairs(workspace:GetChildren())do | |
1661 | if v:IsA("Model")then | |
1662 | if v:findFirstChild("Torso")then | |
1663 | if v ~= char then | |
1664 | if(v.Torso.Position -Position).magnitude <= Distance then | |
1665 | table.insert(List,v) | |
1666 | end | |
1667 | end | |
1668 | end | |
1669 | end | |
1670 | end | |
1671 | return List | |
1672 | end | |
1673 | z = Instance.new("Sound",hed) | |
1674 | z.SoundId = "rbxassetid://232213955" | |
1675 | z.Pitch = 1 | |
1676 | z.Volume = 1 | |
1677 | wait(0.2) | |
1678 | z:Play() | |
1679 | sp = Instance.new("Part",rarm) | |
1680 | sp.Anchored = true | |
1681 | sp.CanCollide = false | |
1682 | sp.Locked = true | |
1683 | sp.Transparency = 0 | |
1684 | sp.Material = "Neon" | |
1685 | sp.Size = Vector3.new(1,1,1) | |
1686 | sp.TopSurface = "SmoothNoOutlines" | |
1687 | sp.BottomSurface = "SmoothNoOutlines" | |
1688 | sp.BrickColor = BrickColor.new("Teal") | |
1689 | spm = Instance.new("SpecialMesh",sp) | |
1690 | spm.MeshType = "Sphere" | |
1691 | spm.Scale = Vector3.new(21,21,21) | |
1692 | sp2 = Instance.new("Part", rarm) | |
1693 | sp2.Name = "Energy" | |
1694 | sp2.BrickColor = BrickColor.new("Bright red") | |
1695 | sp2.Size = Vector3.new(1, 1, 1) | |
1696 | sp2.Shape = "Ball" | |
1697 | sp2.CanCollide = false | |
1698 | sp2.Anchored = true | |
1699 | sp2.Locked = true | |
1700 | sp2.TopSurface = 0 | |
1701 | sp2.BottomSurface = 0 | |
1702 | sp2.Transparency = 1 | |
1703 | spm2 = Instance.new("SpecialMesh",sp2) | |
1704 | spm2.MeshId = "rbxassetid://9982590" | |
1705 | spm2.Scale = Vector3.new(2,2,2) | |
1706 | for i = 1, 20 do | |
1707 | spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1708 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1709 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
1710 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
1711 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
1712 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
1713 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1714 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1715 | if Debounces.on == false then break end | |
1716 | rs:wait() | |
1717 | end | |
1718 | for i = 1, 100, 20 do rs:wait() | |
1719 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1720 | end | |
1721 | for i = 1, 20 do | |
1722 | sp.CFrame = root.CFrame*CFrame.new(0,1,-2) | |
1723 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1724 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4) | |
1725 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4) | |
1726 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4) | |
1727 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1728 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1729 | if Debounces.on == false then break end | |
1730 | rs:wait() | |
1731 | end | |
1732 | sp.Transparency = 1 | |
1733 | for i = 1, 20 do | |
1734 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
1735 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4) | |
1736 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4) | |
1737 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4) | |
1738 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
1739 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
1740 | if Debounces.on == false then break end | |
1741 | rs:wait() | |
1742 | end | |
1743 | wait(1) | |
1744 | sp.Transparency = 0 | |
1745 | sp2.Transparency = 0.84 | |
1746 | for i = 1, 20 do | |
1747 | --spm.Scale = spm.Scale - Vector3.new(1,1,1) | |
1748 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1749 | sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i)) | |
1750 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4) | |
1751 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2) | |
1752 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2) | |
1753 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3) | |
1754 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2) | |
1755 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2) | |
1756 | if Debounces.on == false then break end | |
1757 | rs:wait() | |
1758 | end | |
1759 | for i = 1, 2880, 50 do | |
1760 | rs:wait() | |
1761 | sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0) | |
1762 | sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
1763 | rs:wait() | |
1764 | end | |
1765 | sp:Destroy() | |
1766 | sp2:Destroy() | |
1767 | local X = Instance.new("Part",char) | |
1768 | local O = Instance.new("ObjectValue",X) | |
1769 | O.Name = "creator" | |
1770 | X.Locked = true | |
1771 | X.Name = "Shell" | |
1772 | X.Anchored = false | |
1773 | X.CanCollide = false | |
1774 | X.Transparency = 0 | |
1775 | X.Reflectance = 0 | |
1776 | X.BottomSurface = 0 | |
1777 | X.TopSurface = 0 | |
1778 | X.Shape = 0 | |
1779 | local V = Instance.new("ObjectValue",X) | |
1780 | V.Value = char | |
1781 | V.Name = "creator" | |
1782 | X.BrickColor = BrickColor.new("Bright red") | |
1783 | X.Size = Vector3.new(2,2,2) | |
1784 | X.Material = "Neon" | |
1785 | local Z = Instance.new("SpecialMesh",X) | |
1786 | Z.MeshType = "Sphere" | |
1787 | Z.Scale = Vector3.new(0.5,0.5,1) | |
1788 | X.CFrame = rarm.CFrame*CFrame.new(-3,0,0) | |
1789 | local bv = Instance.new("BodyVelocity",X) | |
1790 | bv.maxForce = Vector3.new(99999,99999,99999) | |
1791 | X.CFrame = CFrame.new(X.Position,mouse.Hit.p) | |
1792 | bv.velocity = X.CFrame.lookVector*65 | |
1793 | ||
1794 | Explode = X.Touched:connect(function(hit) | |
1795 | if hit ~= char and hit.Name ~= "Shell" then | |
1796 | local cf = X.CFrame | |
1797 | bv:Destroy() | |
1798 | X.Anchored = true | |
1799 | Z:Remove() | |
1800 | Explode:disconnect() | |
1801 | X.Size = Vector3.new(3,3,3) | |
1802 | X.Touched:connect(function(hit) end) | |
1803 | X.CanCollide = false | |
1804 | local part3 = Instance.new("Part", rarm) | |
1805 | part3.Anchored=true | |
1806 | part3.CanCollide=false | |
1807 | part3.Locked = true | |
1808 | part3.TopSurface = "SmoothNoOutlines" | |
1809 | part3.BottomSurface = "SmoothNoOutlines" | |
1810 | part3.FormFactor='Custom' | |
1811 | part3.Size=Vector3.new(1,1, 1) | |
1812 | part3.CFrame=X.CFrame | |
1813 | part3.Transparency=0 | |
1814 | part3.BrickColor=BrickColor.new("Bright red") | |
1815 | local mesh3 = Instance.new("SpecialMesh",part3) | |
1816 | mesh3.MeshType = "Sphere" | |
1817 | mesh3.Scale = Vector3.new(1,1,1) | |
1818 | --debris:AddItem(X,8) | |
1819 | local part4 = Instance.new("Part", rarm) | |
1820 | part4.Material = "Neon" | |
1821 | part4.Anchored=true | |
1822 | part4.CanCollide=false | |
1823 | part4.Locked = true | |
1824 | part4.TopSurface = "SmoothNoOutlines" | |
1825 | part4.BottomSurface = "SmoothNoOutlines" | |
1826 | part4.FormFactor='Custom' | |
1827 | part4.Size=Vector3.new(1,1, 1) | |
1828 | part4.CFrame=X.CFrame | |
1829 | part4.Transparency=0 | |
1830 | part4.BrickColor=BrickColor.new("Bright red") | |
1831 | local mesh4 = Instance.new("SpecialMesh",part4) | |
1832 | mesh4.MeshType = "Sphere" | |
1833 | mesh4.Scale = Vector3.new(.5,.5,.5) | |
1834 | local part7 = Instance.new("Part", rarm) | |
1835 | part7.Material = "Neon" | |
1836 | part7.Anchored=true | |
1837 | part7.CanCollide=false | |
1838 | part7.Locked = true | |
1839 | part7.TopSurface = "SmoothNoOutlines" | |
1840 | part7.BottomSurface = "SmoothNoOutlines" | |
1841 | part7.FormFactor='Custom' | |
1842 | part7.Size=Vector3.new(1,1, 1) | |
1843 | part7.CFrame=X.CFrame | |
1844 | part7.Transparency=0 | |
1845 | part7.BrickColor=BrickColor.new("Bright red") | |
1846 | local mesh7 = Instance.new("SpecialMesh",part7) | |
1847 | mesh7.MeshType = "Sphere" | |
1848 | mesh7.Scale = Vector3.new(0.1, 0.1, 0.1) | |
1849 | --[[X.Touched:connect(function(ht) | |
1850 | hit = ht.Parent | |
1851 | if ht and hit:IsA("Model") then | |
1852 | if hit:FindFirstChild("Humanoid") then | |
1853 | if hit.Name ~= p.Name then | |
1854 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1855 | wait(.3) | |
1856 | end | |
1857 | end | |
1858 | elseif ht and hit:IsA("Hat") then | |
1859 | if hit.Parent.Name ~= p.Name then | |
1860 | if hit.Parent:FindFirstChild("Humanoid") then | |
1861 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1862 | wait(.3) | |
1863 | end | |
1864 | end | |
1865 | end | |
1866 | end) | |
1867 | part3.Touched:connect(function(ht) | |
1868 | hit = ht.Parent | |
1869 | if ht and hit:IsA("Model") then | |
1870 | if hit:FindFirstChild("Humanoid") then | |
1871 | if hit.Name ~= p.Name then | |
1872 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1873 | wait(.3) | |
1874 | end | |
1875 | end | |
1876 | elseif ht and hit:IsA("Hat") then | |
1877 | if hit.Parent.Name ~= p.Name then | |
1878 | if hit.Parent:FindFirstChild("Humanoid") then | |
1879 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6)) | |
1880 | wait(.3) | |
1881 | end | |
1882 | end | |
1883 | end | |
1884 | end)]]-- | |
1885 | for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do | |
1886 | if v:FindFirstChild('Humanoid') then | |
1887 | v.Humanoid:TakeDamage(math.random(60,90)) | |
1888 | v.Humanoid.PlatformStand = true | |
1889 | v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100 | |
1890 | end | |
1891 | end | |
1892 | ||
1893 | local acos = math.acos | |
1894 | local sqrt = math.sqrt | |
1895 | local Vec3 = Vector3.new | |
1896 | local fromAxisAngle = CFrame.fromAxisAngle | |
1897 | ||
1898 | local function toAxisAngle(CFr) | |
1899 | local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components() | |
1900 | local Angle = math.acos((R00+R11+R22-1)/2) | |
1901 | local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1902 | A = A == 0 and 0.00001 or A | |
1903 | local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1904 | B = B == 0 and 0.00001 or B | |
1905 | local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2 | |
1906 | C = C == 0 and 0.00001 or C | |
1907 | local x = (R21-R12)/sqrt(A) | |
1908 | local y = (R02-R20)/sqrt(B) | |
1909 | local z = (R10-R01)/sqrt(C) | |
1910 | return Vec3(x,y,z),Angle | |
1911 | end | |
1912 | ||
1913 | function ApplyTrig(Num,Func) | |
1914 | local Min,Max = Func(0),Func(1) | |
1915 | local i = Func(Num) | |
1916 | return (i-Min)/(Max-Min) | |
1917 | end | |
1918 | ||
1919 | function LerpCFrame(CFrame1,CFrame2,Num) | |
1920 | local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2) | |
1921 | return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num | |
1922 | end | |
1923 | ||
1924 | function Crater(Torso,Radius) | |
1925 | Spawn(function() | |
1926 | local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10) | |
1927 | local Ignore = {} | |
1928 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
1929 | if v.Character ~= nil then | |
1930 | Ignore[#Ignore+1] = v.Character | |
1931 | end | |
1932 | end | |
1933 | local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore) | |
1934 | if Hit == nil then return end | |
1935 | local Parts = {} | |
1936 | for i = 1,360,10 do | |
1937 | local P = Instance.new("Part",Torso.Parent) | |
1938 | P.Anchored = true | |
1939 | P.FormFactor = "Custom" | |
1940 | P.BrickColor = Hit.BrickColor | |
1941 | P.Material = Hit.Material | |
1942 | P.TopSurface = "Smooth" | |
1943 | P.BottomSurface = "Smooth" | |
1944 | P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100) | |
1945 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1946 | Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size} | |
1947 | if math.random(0,5) == 0 then -- rubble | |
1948 | local P = Instance.new("Part",Torso.Parent) | |
1949 | P.Anchored = true | |
1950 | P.FormFactor = "Custom" | |
1951 | P.BrickColor = Hit.BrickColor | |
1952 | P.Material = Hit.Material | |
1953 | P.TopSurface = "Smooth" | |
1954 | P.BottomSurface = "Smooth" | |
1955 | P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100) | |
1956 | P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))) | |
1957 | Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size} | |
1958 | end | |
1959 | end | |
1960 | for i = 0,1,0.05 do | |
1961 | for i2,v in pairs(Parts) do | |
1962 | v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos)) | |
1963 | end | |
1964 | wait(0.02) | |
1965 | end | |
1966 | for i,v in pairs(Parts) do | |
1967 | if v[1].Size.X > 2.1 then | |
1968 | v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0) | |
1969 | end | |
1970 | v[1].Anchored = false | |
1971 | end | |
1972 | for i = 0,1,0.05 do | |
1973 | for i2,v in pairs(Parts) do | |
1974 | v[1].Transparency = i | |
1975 | if i == 1 then | |
1976 | v[1]:Destroy() | |
1977 | elseif i >= 0.25 then | |
1978 | v[1].CanCollide = false | |
1979 | end | |
1980 | end | |
1981 | wait(0.02) | |
1982 | end | |
1983 | Parts = nil | |
1984 | end) | |
1985 | end | |
1986 | ||
1987 | ROW = function(out, trans, s, wt, t, ang, plus) | |
1988 | for i = 1, 360, 360/t do | |
1989 | local c = Instance.new("Part", game.Workspace) | |
1990 | c.FormFactor = 3 | |
1991 | c.TopSurface = 0 | |
1992 | c.BottomSurface = 0 | |
1993 | c.Size = s | |
1994 | c.Anchored = true | |
1995 | c.CanCollide = wt | |
1996 | c.Material=workspace.Base.Material | |
1997 | c.Transparency = trans | |
1998 | c.BrickColor = workspace.Base.BrickColor | |
1999 | c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang | |
2000 | c.Locked=true | |
2001 | game.Debris:AddItem(c,15) | |
2002 | end | |
2003 | end | |
2004 | ||
2005 | Part = function(x,y,z,color,tr,cc,an,parent) | |
2006 | local p = Instance.new('Part',parent or Weapon) | |
2007 | p.formFactor = 'Custom' | |
2008 | p.Size = Vector3.new(x,y,z) | |
2009 | p.BrickColor = BrickColor.new(color) | |
2010 | p.CanCollide = cc | |
2011 | p.Transparency = tr | |
2012 | p.Anchored = an | |
2013 | p.TopSurface,p.BottomSurface = 0,0 | |
2014 | p.Locked=true | |
2015 | p:BreakJoints() | |
2016 | return p end | |
2017 | ||
2018 | Mesh = function(par,num,x,y,z) | |
2019 | local msh = _ | |
2020 | if num == 1 then msh = Instance.new("CylinderMesh",par) | |
2021 | elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3 | |
2022 | elseif num == 3 then msh = Instance.new("BlockMesh",par) | |
2023 | elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso" | |
2024 | elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num | |
2025 | end msh.Scale = Vector3.new(x,y,z) | |
2026 | return msh end | |
2027 | ||
2028 | function explosion(col1,col2,cfr,sz,rng,dmg) | |
2029 | local a= Part(1,1,1,col1,.5,false,true,workspace) | |
2030 | local a2= Part(1,1,1,col2,.5,false,true,workspace) | |
2031 | local a3= Part(1,1,1,col2,.5,false,true,workspace) | |
2032 | v1,v2,v3=sz.x,sz.y,sz.z | |
2033 | local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3) | |
2034 | local m2= Mesh(a2,3,v1/3,v2/3,v3/3) | |
2035 | local m3= Mesh(a3,3,v1/3,v2/3,v3/3) | |
2036 | a.CFrame=cfr | |
2037 | a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2038 | a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random()) | |
2039 | ||
2040 | Spawn(function() | |
2041 | while wait() do | |
2042 | if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end | |
2043 | m.Scale=m.Scale+Vector3.new(.1,0.1,0.1) | |
2044 | m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1) | |
2045 | m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1) | |
2046 | a.Transparency=a.Transparency+0.05 | |
2047 | a2.Transparency=a2.Transparency+0.05 | |
2048 | a3.Transparency=a3.Transparency+0.05 | |
2049 | end | |
2050 | end) | |
2051 | end | |
2052 | ||
2053 | Crater(X,20) | |
2054 | ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0) | |
2055 | z = Instance.new("Sound",X) | |
2056 | z.SoundId = "rbxassetid://231917744" | |
2057 | z.Pitch = .5 | |
2058 | z.Volume = 10 | |
2059 | z1 = Instance.new("Sound",X) | |
2060 | z1.SoundId = "rbxassetid://231917744" | |
2061 | z1.Pitch = .5 | |
2062 | z1.Volume = 10 | |
2063 | z2 = Instance.new("Sound",X) | |
2064 | z2.SoundId = "rbxassetid://231917744" | |
2065 | z2.Pitch = .5 | |
2066 | z2.Volume = 10 | |
2067 | z3 = Instance.new("Sound",X) | |
2068 | z3.SoundId = "rbxassetid://245537790" | |
2069 | z3.Pitch = .7 | |
2070 | z3.Volume = 1 | |
2071 | z4 = Instance.new("Sound",X) | |
2072 | z4.SoundId = "rbxassetid://245537790" | |
2073 | z4.Pitch = .7 | |
2074 | z4.Volume = 1 | |
2075 | wait(0.1) | |
2076 | z:Play() | |
2077 | z1:Play() | |
2078 | z2:Play() | |
2079 | z3:Play() | |
2080 | z4:Play() | |
2081 | ||
2082 | local part=Instance.new('Part',rarm) | |
2083 | part.Anchored=true | |
2084 | part.CanCollide=false | |
2085 | part.Locked = true | |
2086 | part.FormFactor='Custom' | |
2087 | part.Size=Vector3.new(1,1,1) | |
2088 | part.CFrame=X.CFrame*CFrame.new(0,0,0) | |
2089 | part.Transparency=0 | |
2090 | part.BrickColor=BrickColor.new('Bright red') | |
2091 | local mesh=Instance.new('SpecialMesh',part) | |
2092 | mesh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
2093 | mesh.Scale=Vector3.new(2,2,2) | |
2094 | local part2=part:clone() | |
2095 | part2.Parent = rarm | |
2096 | part2.BrickColor=BrickColor.new("Bright red") | |
2097 | local part5=part:clone() | |
2098 | part5.Parent = rarm | |
2099 | part5.BrickColor=BrickColor.new("Bright red") | |
2100 | local part6=part:clone() | |
2101 | part6.Parent = rarm | |
2102 | part6.BrickColor=BrickColor.new("Black") | |
2103 | local mesh2=mesh:clone() | |
2104 | mesh2.Parent=part2 | |
2105 | mesh2.Scale=Vector3.new(3, 3, 3) | |
2106 | local mesh5=mesh:clone() | |
2107 | mesh5.Parent=part5 | |
2108 | mesh5.Scale=Vector3.new(3, 3, 3) | |
2109 | local mesh6=mesh:clone() | |
2110 | mesh6.Parent=part6 | |
2111 | mesh6.Scale=Vector3.new(3, 3, 3) | |
2112 | local blast = Instance.new("Part", rarm) | |
2113 | blast.BrickColor = BrickColor.new("Bright red") | |
2114 | blast.Anchored = true | |
2115 | blast.CanCollide = false | |
2116 | blast.Locked = true | |
2117 | blast.Size = Vector3.new(1, 1, 1) | |
2118 | blast.TopSurface = "Smooth" | |
2119 | blast.BottomSurface = "Smooth" | |
2120 | blast.Transparency = 0 | |
2121 | blast.CFrame = HandCF | |
2122 | local bm = Instance.new("SpecialMesh", blast) | |
2123 | bm.Scale = Vector3.new(5,1,5) | |
2124 | bm.MeshId = "rbxassetid://24388358" | |
2125 | local blast2 = Instance.new("Part", rarm) | |
2126 | blast2.BrickColor = BrickColor.new("Bright red") | |
2127 | blast2.Anchored = true | |
2128 | blast2.CanCollide = false | |
2129 | blast2.Locked = true | |
2130 | blast2.Size = Vector3.new(1, 1, 1) | |
2131 | blast2.TopSurface = "Smooth" | |
2132 | blast2.BottomSurface = "Smooth" | |
2133 | blast2.Transparency = 0 | |
2134 | blast2.CFrame = HandCF | |
2135 | local bm2 = Instance.new("SpecialMesh", blast2) | |
2136 | bm2.Scale = Vector3.new(3,1,3) | |
2137 | bm2.MeshId = "rbxassetid://24388358" | |
2138 | local blast3 = Instance.new("Part", rarm) | |
2139 | blast3.BrickColor = BrickColor.new("Bright red") | |
2140 | blast3.Anchored = true | |
2141 | blast3.CanCollide = false | |
2142 | blast3.Locked = true | |
2143 | blast3.Size = Vector3.new(1, 1, 1) | |
2144 | blast3.TopSurface = "Smooth" | |
2145 | blast3.BottomSurface = "Smooth" | |
2146 | blast3.Transparency = 0 | |
2147 | blast3.CFrame = HandCF | |
2148 | local bm3 = Instance.new("SpecialMesh", blast3) | |
2149 | bm3.Scale = Vector3.new(3,1,3) | |
2150 | bm3.MeshId = "rbxassetid://24388358" | |
2151 | for i = 1,120 do rs:wait() | |
2152 | X.Transparency = X.Transparency + (1/120) | |
2153 | part.Transparency = part.Transparency + (1/120) | |
2154 | part2.Transparency = part2.Transparency + (1/120) | |
2155 | part3.Transparency = part3.Transparency + (1/120) | |
2156 | part4.Transparency = part4.Transparency + (1/120) | |
2157 | part5.Transparency = part5.Transparency + (1/120) | |
2158 | part6.Transparency = part6.Transparency + (1/120) | |
2159 | part7.Transparency = part7.Transparency + (1/120) | |
2160 | blast.Transparency = blast.Transparency + (1/120) | |
2161 | blast2.Transparency = blast2.Transparency + (1/120) | |
2162 | blast3.Transparency = blast3.Transparency + (1/120) | |
2163 | X.Size = X.Size + Vector3.new(.8,.8,.8) | |
2164 | --part3.Size = part3.Size + Vector3.new(3,3,3) | |
2165 | mesh.Scale = mesh.Scale + Vector3.new(1,.2,1) | |
2166 | mesh2.Scale = mesh2.Scale + Vector3.new(1.1,.2,1.1) | |
2167 | mesh3.Scale = mesh3.Scale + Vector3.new(3,3,3) | |
2168 | mesh4.Scale = mesh4.Scale + Vector3.new(1.7,1.7,1.7) | |
2169 | mesh5.Scale = mesh5.Scale + Vector3.new(1.6,.2,1.6) | |
2170 | mesh6.Scale = mesh6.Scale + Vector3.new(2,.2,2) | |
2171 | mesh7.Scale = mesh7.Scale + Vector3.new(4,4,4) | |
2172 | bm.Scale = bm.Scale + Vector3.new(6,6,.2) | |
2173 | bm2.Scale = bm2.Scale + Vector3.new(4,4,.2) | |
2174 | bm3.Scale = bm3.Scale + Vector3.new(4,4,.2) | |
2175 | X.CFrame = cf | |
2176 | part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0) | |
2177 | part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0) | |
2178 | part3.CFrame=X.CFrame | |
2179 | part4.CFrame=X.CFrame | |
2180 | part7.CFrame=X.CFrame | |
2181 | part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0) | |
2182 | part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0) | |
2183 | blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) | |
2184 | blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0)) | |
2185 | blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0)) | |
2186 | rs:wait() | |
2187 | end | |
2188 | X:Destroy() | |
2189 | part:Destroy() | |
2190 | part2:Destroy() | |
2191 | part3:Destroy() | |
2192 | part4:Destroy() | |
2193 | part5:Destroy() | |
2194 | part6:Destroy() | |
2195 | blast:Destroy() | |
2196 | blast2:Destroy() | |
2197 | blast3:Destroy() | |
2198 | z:Destroy() | |
2199 | z1:Destroy() | |
2200 | z2:Destroy() | |
2201 | z3:Destroy() | |
2202 | z4:Destroy() | |
2203 | end | |
2204 | end) | |
2205 | for i = 1, 20 do | |
2206 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2) | |
2207 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2) | |
2208 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
2209 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4) | |
2210 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2) | |
2211 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2) | |
2212 | if Debounces.on == false then break end | |
2213 | rs:wait() | |
2214 | end | |
2215 | if Debounces.CanAttack == false then | |
2216 | Debounces.CanAttack = true | |
2217 | Debounces.NoIdl = false | |
2218 | Debounces.on = false | |
2219 | end | |
2220 | end | |
2221 | end | |
2222 | end) | |
2223 | ---------------------------------------------------- | |
2224 | mouse.KeyDown:connect(function(key) | |
2225 | if key == "e" then | |
2226 | if Debounces.CanAttack == true then | |
2227 | Debounces.CanAttack = false | |
2228 | Debounces.on = true | |
2229 | Debounces.NoIdl = true | |
2230 | pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5} | |
2231 | z = Instance.new("Sound", rarm) | |
2232 | z.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2233 | z.Volume = .6 | |
2234 | z.Pitch = pt[math.random(1,#pt)] | |
2235 | z.Looped = false | |
2236 | z:Play() | |
2237 | Debounces.RPunch = true | |
2238 | Debounces.LPunch = true | |
2239 | Debounces.ks = true | |
2240 | Debounces.ks2 = true | |
2241 | for i = 1, 3 do | |
2242 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2243 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2244 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2245 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2246 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2247 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2248 | if Debounces.on == false then break end | |
2249 | wait() | |
2250 | end | |
2251 | z2 = Instance.new("Sound", larm) | |
2252 | z2.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2253 | z2.Volume = .6 | |
2254 | z2.Pitch = pt[math.random(1,#pt)] | |
2255 | z2.Looped = false | |
2256 | z2:Play() | |
2257 | for i = 1, 3 do | |
2258 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2259 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2260 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2261 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2262 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2263 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2264 | if Debounces.on == false then break end | |
2265 | wait() | |
2266 | end | |
2267 | z3 = Instance.new("Sound", rarm) | |
2268 | z3.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2269 | z3.Volume = 0.6 | |
2270 | z3.Pitch = pt[math.random(1,#pt)] | |
2271 | z3.Looped = false | |
2272 | z3:Play() | |
2273 | for i = 1, 3 do | |
2274 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2275 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2276 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2277 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2278 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2279 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2280 | if Debounces.on == false then break end | |
2281 | wait() | |
2282 | end | |
2283 | z4 = Instance.new("Sound", larm) | |
2284 | z4.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2285 | z4.Volume = .6 | |
2286 | z4.Pitch = pt[math.random(1,#pt)] | |
2287 | z4.Looped = false | |
2288 | z4:Play() | |
2289 | for i = 1, 3 do | |
2290 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2291 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2292 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2293 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2294 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2295 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2296 | if Debounces.on == false then break end | |
2297 | wait() | |
2298 | end | |
2299 | z5 = Instance.new("Sound", rarm) | |
2300 | z5.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2301 | z5.Volume = .6 | |
2302 | z5.Pitch = pt[math.random(1,#pt)] | |
2303 | z5.Looped = false | |
2304 | z5:Play() | |
2305 | for i = 1, 3 do | |
2306 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2307 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2308 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2309 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2310 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2311 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2312 | if Debounces.on == false then break end | |
2313 | wait() | |
2314 | end | |
2315 | z6 = Instance.new("Sound", larm) | |
2316 | z6.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2317 | z6.Volume = .6 | |
2318 | z6.Pitch = pt[math.random(1,#pt)] | |
2319 | z6.Looped = false | |
2320 | z6:Play() | |
2321 | for i = 1, 3 do | |
2322 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2323 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2324 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2325 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2326 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2327 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2328 | if Debounces.on == false then break end | |
2329 | wait() | |
2330 | end | |
2331 | z7 = Instance.new("Sound", rarm) | |
2332 | z7.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2333 | z7.Volume = .6 | |
2334 | z7.Pitch = pt[math.random(1,#pt)] | |
2335 | z7.Looped = false | |
2336 | z7:Play() | |
2337 | for i = 1, 3 do | |
2338 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2339 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2340 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2341 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2342 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2343 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2344 | if Debounces.on == false then break end | |
2345 | wait() | |
2346 | end | |
2347 | z8 = Instance.new("Sound", larm) | |
2348 | z8.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2349 | z8.Volume = .6 | |
2350 | z8.Pitch = pt[math.random(1,#pt)] | |
2351 | z8.Looped = false | |
2352 | z8:Play() | |
2353 | for i = 1, 3 do | |
2354 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2355 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2356 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2357 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2358 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2359 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2360 | if Debounces.on == false then break end | |
2361 | wait() | |
2362 | end | |
2363 | z9 = Instance.new("Sound", rarm) | |
2364 | z9.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2365 | z9.Volume = 0.6 | |
2366 | z9.Pitch = pt[math.random(1,#pt)] | |
2367 | z9.Looped = false | |
2368 | z9:Play() | |
2369 | for i = 1, 3 do | |
2370 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2371 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2372 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2373 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2374 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2375 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2376 | if Debounces.on == false then break end | |
2377 | wait() | |
2378 | end | |
2379 | z10 = Instance.new("Sound", larm) | |
2380 | z10.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2381 | z10.Volume = .6 | |
2382 | z10.Pitch = pt[math.random(1,#pt)] | |
2383 | z10.Looped = false | |
2384 | z10:Play() | |
2385 | for i = 1, 3 do | |
2386 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2387 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2388 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2389 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2390 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2391 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2392 | if Debounces.on == false then break end | |
2393 | wait() | |
2394 | end | |
2395 | z11 = Instance.new("Sound", rarm) | |
2396 | z11.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2397 | z11.Volume = .6 | |
2398 | z11.Pitch = pt[math.random(1,#pt)] | |
2399 | z11.Looped = false | |
2400 | z11:Play() | |
2401 | for i = 1, 3 do | |
2402 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2403 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2404 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2405 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2406 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2407 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2408 | if Debounces.on == false then break end | |
2409 | wait() | |
2410 | end | |
2411 | z12 = Instance.new("Sound", larm) | |
2412 | z12.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2413 | z12.Volume = .6 | |
2414 | z12.Pitch = pt[math.random(1,#pt)] | |
2415 | z12.Looped = false | |
2416 | z12:Play() | |
2417 | for i = 1, 3 do | |
2418 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2419 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2420 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2421 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2422 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2423 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2424 | if Debounces.on == false then break end | |
2425 | wait() | |
2426 | end | |
2427 | z13 = Instance.new("Sound", rarm) | |
2428 | z13.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2429 | z13.Volume = 0.6 | |
2430 | z13.Pitch = pt[math.random(1,#pt)] | |
2431 | z13.Looped = false | |
2432 | z13:Play() | |
2433 | for i = 1, 3 do | |
2434 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2435 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2436 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2437 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2438 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2439 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2440 | if Debounces.on == false then break end | |
2441 | wait() | |
2442 | end | |
2443 | z14 = Instance.new("Sound", larm) | |
2444 | z14.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2445 | z14.Volume = .6 | |
2446 | z14.Pitch = pt[math.random(1,#pt)] | |
2447 | z14.Looped = false | |
2448 | z14:Play() | |
2449 | for i = 1, 3 do | |
2450 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2451 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2452 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2453 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2454 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2455 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2456 | if Debounces.on == false then break end | |
2457 | wait() | |
2458 | end | |
2459 | z15 = Instance.new("Sound", rarm) | |
2460 | z15.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2461 | z15.Volume = .6 | |
2462 | z15.Pitch = pt[math.random(1,#pt)] | |
2463 | z15.Looped = false | |
2464 | z15:Play() | |
2465 | for i = 1, 3 do | |
2466 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9) | |
2467 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9) | |
2468 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9) | |
2469 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9) | |
2470 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9) | |
2471 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9) | |
2472 | if Debounces.on == false then break end | |
2473 | wait() | |
2474 | end | |
2475 | z16 = Instance.new("Sound", larm) | |
2476 | z16.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2477 | z16.Volume = .6 | |
2478 | z16.Pitch = pt[math.random(1,#pt)] | |
2479 | z16.Looped = false | |
2480 | z16:Play() | |
2481 | for i = 1, 3 do | |
2482 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2483 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2484 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2485 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2486 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2487 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2488 | if Debounces.on == false then break end | |
2489 | wait() | |
2490 | end | |
2491 | z17 = Instance.new("Sound", rarm) | |
2492 | z17.SoundId = "http://www.roblox.com/asset/?id=206083107"--160867463, 161006212 | |
2493 | z17.Volume = .6 | |
2494 | z17.Pitch = pt[math.random(1,#pt)] | |
2495 | z17.Looped = false | |
2496 | z17:Play() | |
2497 | for i = 1, 3 do | |
2498 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92) | |
2499 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92) | |
2500 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2501 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2502 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2503 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2504 | if Debounces.on == false then break end | |
2505 | wait() | |
2506 | end | |
2507 | z18 = Instance.new("Sound", larm) | |
2508 | z18.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2509 | z18.Volume = .6 | |
2510 | z18.Pitch = pt[math.random(1,#pt)] | |
2511 | z18.Looped = false | |
2512 | z18:Play() | |
2513 | for i = 1, 3 do | |
2514 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2515 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92) | |
2516 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2517 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2518 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2519 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2520 | if Debounces.on == false then break end | |
2521 | wait() | |
2522 | end | |
2523 | z19 = Instance.new("Sound", rarm) | |
2524 | z19.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2525 | z19.Volume = 0.6 | |
2526 | z19.Pitch = pt[math.random(1,#pt)] | |
2527 | z19.Looped = false | |
2528 | z19:Play() | |
2529 | for i = 1, 3 do | |
2530 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92) | |
2531 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92) | |
2532 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92) | |
2533 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92) | |
2534 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92) | |
2535 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92) | |
2536 | if Debounces.on == false then break end | |
2537 | wait() | |
2538 | end | |
2539 | z20 = Instance.new("Sound", larm) | |
2540 | z20.SoundId = "http://www.roblox.com/asset/?id=206083107" | |
2541 | z20.Volume = .6 | |
2542 | z20.Pitch = pt[math.random(1,#pt)] | |
2543 | z20.Looped = false | |
2544 | z20:Play() | |
2545 | for i = 1, 3 do | |
2546 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92) | |
2547 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92) | |
2548 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92) | |
2549 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92) | |
2550 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92) | |
2551 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92) | |
2552 | if Debounces.on == false then break end | |
2553 | wait() | |
2554 | end | |
2555 | z:Destroy() | |
2556 | z2:Destroy() | |
2557 | z3:Destroy() | |
2558 | z4:Destroy() | |
2559 | z5:Destroy() | |
2560 | z6:Destroy() | |
2561 | z7:Destroy() | |
2562 | z8:Destroy() | |
2563 | z9:Destroy() | |
2564 | z10:Destroy() | |
2565 | z11:Destroy() | |
2566 | z12:Destroy() | |
2567 | z13:Destroy() | |
2568 | z14:Destroy() | |
2569 | z15:Destroy() | |
2570 | z16:Destroy() | |
2571 | z17:Destroy() | |
2572 | z18:Destroy() | |
2573 | z19:Destroy() | |
2574 | z20:Destroy() | |
2575 | Debounces.LPunch = false | |
2576 | Debounces.RPunch = false | |
2577 | Debounces.ks = false | |
2578 | Debounces.ks2 = false | |
2579 | if Debounces.CanAttack == false then | |
2580 | Debounces.CanAttack = true | |
2581 | Debounces.on = false | |
2582 | Debounces.NoIdl = false | |
2583 | end | |
2584 | end | |
2585 | end | |
2586 | end) | |
2587 | ------------------------------- | |
2588 | mouse.KeyDown:connect(function(key) | |
2589 | if key == "t" then | |
2590 | if Debounces.CanAttack == true then | |
2591 | Debounces.CanAttack = false | |
2592 | Debounces.NoIdl = true | |
2593 | Debounces.on = true | |
2594 | Debounces.ks = true | |
2595 | kik = rleg.Touched:connect(function(ht) | |
2596 | hit = ht.Parent | |
2597 | if ht and hit:IsA("Model") then | |
2598 | if hit:FindFirstChild("Humanoid") then | |
2599 | if hit.Name ~= p.Name then | |
2600 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2601 | Debounces.Slashed = true]]-- | |
2602 | if Debounces.ks==true then | |
2603 | z = Instance.new("Sound",hed) | |
2604 | z.SoundId = "rbxassetid://169380525" | |
2605 | z.Volume = 1 | |
2606 | z:Play() | |
2607 | Debounces.ks=false | |
2608 | end | |
2609 | hit:FindFirstChild("Humanoid"):TakeDamage(32) | |
2610 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2611 | --Debounces.Slashed = false | |
2612 | --end | |
2613 | end | |
2614 | end | |
2615 | elseif ht and hit:IsA("Hat") then | |
2616 | if hit.Parent.Name ~= p.Name then | |
2617 | if hit.Parent:FindFirstChild("Humanoid") then | |
2618 | --[[if Debounces.Slashing == true and Debounces.Slashed == false then | |
2619 | Debounces.Slashed = true]]-- | |
2620 | hit.Parent:FindFirstChild("Humanoid"):TakeDamage(32) | |
2621 | hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300 | |
2622 | --Debounces.Slashed = false | |
2623 | --end | |
2624 | end | |
2625 | end | |
2626 | end | |
2627 | end) | |
2628 | for i = 1,20 do | |
2629 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4) | |
2630 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4) | |
2631 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2632 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4) | |
2633 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4) | |
2634 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4) | |
2635 | if Debounces.on == false then break end | |
2636 | rs:wait() | |
2637 | end | |
2638 | kik:disconnect() | |
2639 | if Debounces.CanAttack == false then | |
2640 | Debounces.CanAttack = true | |
2641 | Debounces.NoIdl = false | |
2642 | Debounces.on = false | |
2643 | end | |
2644 | end | |
2645 | end | |
2646 | end) | |
2647 | ---------------------------------------------------- | |
2648 | mouse.KeyDown:connect(function(key) | |
2649 | if key == "y" then | |
2650 | if Debounces.CanAttack == true then | |
2651 | Debounces.CanAttack = false | |
2652 | Debounces.on = true | |
2653 | Debounces.NoIdl = true | |
2654 | for i = 1, 15 do | |
2655 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(90+1), math.rad(0), math.rad(-60)), 0.2) | |
2656 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(93),math.rad(0),math.rad(10)), 0.2) | |
2657 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-20),math.rad(-10),0), 0.2) | |
2658 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(10), 0), 0.2) | |
2659 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
2660 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.2) | |
2661 | if Debounces.on == false then break end if Debounces.on == false then break end | |
2662 | rs:wait(2.7) | |
2663 | end | |
2664 | x = Instance.new("Sound",char) | |
2665 | x.SoundId = "rbxassetid://228343271" | |
2666 | x.Pitch = 1 | |
2667 | x.Volume = .8 | |
2668 | wait(.1) | |
2669 | x:Play() | |
2670 | Debounces.on = false | |
2671 | Debounces.Here = false | |
2672 | shot = shot + 1 | |
2673 | local rng = Instance.new("Part", larm) | |
2674 | rng.Anchored = true | |
2675 | rng.BrickColor = BrickColor.new("Bright red") | |
2676 | rng.CanCollide = false | |
2677 | rng.FormFactor = 3 | |
2678 | rng.Name = "Ring" | |
2679 | rng.Size = Vector3.new(1, 1, 1) | |
2680 | rng.Transparency = 0.35 | |
2681 | rng.TopSurface = 0 | |
2682 | rng.BottomSurface = 0 | |
2683 | rng2 = rng:clone() | |
2684 | rng3 = rng2:clone() | |
2685 | rng4 = rng2:clone() | |
2686 | local rngm = Instance.new("SpecialMesh", rng) | |
2687 | rngm.MeshId = "http://www.roblox.com/asset/?id=1125473" -- 1125473 | |
2688 | rngm.Scale = Vector3.new(10, 10, 1) | |
2689 | rngm2 = rngm:clone() | |
2690 | rngm2.Scale = Vector3.new(5, 5, 3) | |
2691 | rngm3=rngm2:clone() | |
2692 | rngm3.Parent = rng3 | |
2693 | rngm3.Scale = Vector3.new(8, 8, 1) | |
2694 | rngm4 = rngm2:clone() | |
2695 | rngm4.Parent = rng4 | |
2696 | rngm4.Scale = Vector3.new(6, 6, 1) | |
2697 | local bem = Instance.new("Part", larm) | |
2698 | bem.Anchored = true | |
2699 | bem.BrickColor = BrickColor.new("Bright red") | |
2700 | bem.CanCollide = false | |
2701 | bem.FormFactor = 3 | |
2702 | bem.Name = "Beam" .. shot | |
2703 | bem.Size = Vector3.new(1, 1, 1) | |
2704 | bem.Transparency = 0.35 | |
2705 | bem.TopSurface = 0 | |
2706 | bem.BottomSurface = 0 | |
2707 | local bemm = Instance.new("SpecialMesh", bem) | |
2708 | bemm.MeshType = 4 | |
2709 | bemm.Scale = Vector3.new(1, 4, 4) | |
2710 | local out = Instance.new("Part", larm) | |
2711 | out.Anchored = true | |
2712 | out.BrickColor = BrickColor.new("Bright red") | |
2713 | out.CanCollide = false | |
2714 | out.FormFactor = 3 | |
2715 | out.Name = "Out" | |
2716 | out.Size = Vector3.new(4, 4, 4) | |
2717 | out.Transparency = 0.35 | |
2718 | out.TopSurface = 0 | |
2719 | out.BottomSurface = 0 | |
2720 | local outm = Instance.new("SpecialMesh", out) | |
2721 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
2722 | outm.Scale = Vector3.new(6, 4, 6) | |
2723 | local bnd = Instance.new("Part", larm) | |
2724 | bnd.Anchored = true | |
2725 | bnd.BrickColor = BrickColor.new("Bright red") | |
2726 | bnd.CanCollide = false | |
2727 | bnd.FormFactor = 3 | |
2728 | bnd.Name = "Bend" | |
2729 | bnd.Size = Vector3.new(1, 1, 1) | |
2730 | bnd.Transparency = 1 | |
2731 | bnd.TopSurface = 0 | |
2732 | bnd.BottomSurface = 0 | |
2733 | local bndm = Instance.new("SpecialMesh", bnd) | |
2734 | bndm.MeshType = 3 | |
2735 | bndm.Scale = Vector3.new(8, 8, 8) | |
2736 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2737 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2738 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
2739 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
2740 | rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0) | |
2741 | rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0) | |
2742 | Debounces.Shewt = true | |
2743 | coroutine.wrap(function() | |
2744 | for i = 1, 20, 0.2 do | |
2745 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
2746 | rngm3.Scale = Vector3.new(8 + i*3, 8 + i*3, 1) | |
2747 | rngm4.Scale = Vector3.new(6 + i*4, 6 + i*4, 1) | |
2748 | rng.Transparency = i/20 | |
2749 | rng3.Transparency = 1/24 | |
2750 | rng4.Transparency = i/26 | |
2751 | wait() | |
2752 | end | |
2753 | wait() | |
2754 | rng:Destroy() | |
2755 | end)() | |
2756 | if Debounces.Shewt == true then | |
2757 | larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
2758 | hit = ht.Parent | |
2759 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
2760 | if HasntTouched(hit.Name) == true and deb == false then | |
2761 | deb = true | |
2762 | coroutine.wrap(function() | |
2763 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
2764 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2765 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
2766 | end)() | |
2767 | table.insert(Touche, hit.Name) | |
2768 | deb = false | |
2769 | end | |
2770 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
2771 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
2772 | deb = true | |
2773 | coroutine.wrap(function() | |
2774 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
2775 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
2776 | wait(1) | |
2777 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
2778 | end)() | |
2779 | table.insert(Touche, hit.Parent.Name) | |
2780 | deb = false | |
2781 | for i, v in pairs(Touche) do | |
2782 | print(v) | |
2783 | end | |
2784 | end | |
2785 | end | |
2786 | end) | |
2787 | end | |
2788 | for i = 0, 260, 8 do | |
2789 | bem.Size = Vector3.new(i, 3, 3) | |
2790 | out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0) | |
2791 | bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
2792 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
2793 | bnd.Size = Vector3.new(1,1,1) | |
2794 | bndm.Scale = Vector3.new(8,8,8) | |
2795 | if i % 10 == 0 then | |
2796 | local newRng = rng2:Clone() | |
2797 | newRng.Parent = larm | |
2798 | newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0) | |
2799 | local newRngm = rngm2:clone() | |
2800 | newRngm.Parent=newRng | |
2801 | coroutine.wrap(function() | |
2802 | for i = 1, 10, 0.2 do | |
2803 | newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 3) | |
2804 | newRng.Transparency = i/10 | |
2805 | wait() | |
2806 | end | |
2807 | wait() | |
2808 | newRng:Destroy() | |
2809 | end)() | |
2810 | end | |
2811 | wait() | |
2812 | end | |
2813 | wait() | |
2814 | Debounces.Shewt = false | |
2815 | bem:Destroy() | |
2816 | out:Destroy() | |
2817 | bnd:Destroy() | |
2818 | Debounces.Ready = false | |
2819 | for i, v in pairs(Touche) do | |
2820 | table.remove(Touche, i) | |
2821 | end | |
2822 | wait() | |
2823 | table.insert(Touche, char.Name) | |
2824 | Debounces.NoIdl = false | |
2825 | if Debounces.CanAttack == false then | |
2826 | Debounces.CanAttack = true | |
2827 | end | |
2828 | end | |
2829 | end | |
2830 | end) | |
2831 | ---------------------------------------------------- | |
2832 | mouse.KeyDown:connect(function(key) | |
2833 | if key == "x" then | |
2834 | if Debounces.CanAttack == true then | |
2835 | Debounces.CanAttack = false | |
2836 | Debounces.NoIdl = true | |
2837 | Debounces.on = true | |
2838 | hed.Anchored=true | |
2839 | local shell = Instance.new("Part",torso) | |
2840 | shell.BrickColor = BrickColor.new("Bright red") | |
2841 | shell.Anchored = false | |
2842 | shell.CanCollide = false | |
2843 | shell.Locked = true | |
2844 | shell.Material = "Neon" | |
2845 | shell.TopSurface = "SmoothNoOutlines" | |
2846 | shell.BottomSurface = "SmoothNoOutlines" | |
2847 | shell.Size = Vector3.new(1.2,1.2,1.2) | |
2848 | shell.FormFactor = 3 | |
2849 | local shellm = Instance.new("SpecialMesh",shell) | |
2850 | shellm.MeshType = "Sphere" | |
2851 | shellm.Scale = Vector3.new(1.2,1.2,1.2) | |
2852 | local Omega = function() | |
2853 | local X = Instance.new("Part",char) | |
2854 | local O = Instance.new("ObjectValue",X) | |
2855 | O.Name = "creator" | |
2856 | X.Locked = true | |
2857 | X.Name = "Shell" | |
2858 | X.Anchored = false | |
2859 | X.CanCollide = false | |
2860 | X.Transparency = 0.5 | |
2861 | X.Reflectance = 0 | |
2862 | X.BottomSurface = 0 | |
2863 | X.TopSurface = 0 | |
2864 | X.Shape = 0 | |
2865 | local V = Instance.new("ObjectValue",X) | |
2866 | V.Value = char | |
2867 | V.Name = "creator" | |
2868 | X.BrickColor = BrickColor.new("Bright red") | |
2869 | X.Size = Vector3.new(100,40,100) | |
2870 | X.CFrame=torso.CFrame*CFrame.new(0,0,-40) | |
2871 | X.Material = "Neon" | |
2872 | b = Instance.new("Sound") | |
2873 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
2874 | b.Parent = char.Head | |
2875 | b.Looped = false | |
2876 | b.Pitch = 1 | |
2877 | b.Volume = 1 | |
2878 | wait(.1) | |
2879 | b:Play() | |
2880 | local Z = Instance.new("SpecialMesh",X) | |
2881 | Z.MeshType = "Sphere" | |
2882 | Z.Scale = Vector3.new(0.2,0.2,0.2) | |
2883 | X.CFrame = rarm.CFrame*CFrame.new(0,-6,0) | |
2884 | local bv = Instance.new("BodyVelocity",X) | |
2885 | bv.maxForce = Vector3.new(99999,99999,99999) | |
2886 | X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10) | |
2887 | bv.velocity = root.CFrame.lookVector*10 | |
2888 | Explode = X.Touched:connect(function(hit) | |
2889 | if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart") then | |
2890 | local cf = X.CFrame | |
2891 | bv:Destroy() | |
2892 | X.Anchored = true | |
2893 | Z:Remove() | |
2894 | Explode:disconnect() | |
2895 | X.Size = Vector3.new(3,3,3) | |
2896 | X.Touched:connect(function(hit) end) | |
2897 | X.CanCollide = false | |
2898 | for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do | |
2899 | if v:FindFirstChild('Humanoid') then | |
2900 | v.Humanoid:TakeDamage(math.random(80,120)) | |
2901 | end | |
2902 | end | |
2903 | for i = 1, (40) do rs:wait() | |
2904 | X.Transparency = X.Transparency + (1/40) | |
2905 | X.Size = X.Size + Vector3.new(1,1,1) | |
2906 | X.CFrame = root.CFrame * CFrame.new(0,0,-10) | |
2907 | end | |
2908 | X:Destroy() | |
2909 | end | |
2910 | end) | |
2911 | end | |
2912 | --Omega() | |
2913 | local function wat() | |
2914 | local sweld=Instance.new('ManualWeld',shell) | |
2915 | sweld.Part0=shell | |
2916 | sweld.Part1=rarm | |
2917 | sweld.C0=CFrame.new(0,1,0) | |
2918 | return sweld | |
2919 | end | |
2920 | local watweld=wat() | |
2921 | for i = 1,200 do | |
2922 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03) | |
2923 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4) | |
2924 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2925 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2926 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2927 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2928 | if Debounces.on == false then break end | |
2929 | rs:wait() | |
2930 | end | |
2931 | b = Instance.new("Sound") | |
2932 | b.SoundId = "http://www.roblox.com/asset/?id=245537790" | |
2933 | b.Parent = char.Head | |
2934 | b.Looped = false | |
2935 | b.Pitch = 1 | |
2936 | b.Volume = 1 | |
2937 | wait(.1) | |
2938 | b:Play() | |
2939 | watweld.Part1=torso | |
2940 | watweld.C0=CFrame.new(0,-4,0) | |
2941 | for i = 1,30 do | |
2942 | watweld.C0=watweld.C0*CFrame.new(0,-1,0) | |
2943 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4) | |
2944 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4) | |
2945 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2946 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2947 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2948 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2949 | if Debounces.on == false then break end | |
2950 | rs:wait() | |
2951 | end | |
2952 | local shelbx=true | |
2953 | --Experimental Damagefunction | |
2954 | coroutine.resume(coroutine.create(function() while shelbx do wait() | |
2955 | for _,v in pairs(game.workspace:GetChildren()) do | |
2956 | if v:IsA'Model' and v:FindFirstChild'Humanoid' and v:FindFirstChild'Torso' and v~=pchar then | |
2957 | local mag=(v.Torso.CFrame.p-shell.CFrame.p).magnitude | |
2958 | if mag <= shell.Size.x then | |
2959 | v.Humanoid.Health=v.Humanoid.Health-(v.Humanoid.MaxHealth/7) | |
2960 | end | |
2961 | end | |
2962 | end | |
2963 | end end)) | |
2964 | for i = 1,40 do | |
2965 | --shell.CFrame = torso.CFrame * CFrame.new(0,20,0) | |
2966 | shell.Size = shell.Size + Vector3.new(1,1,1) | |
2967 | local watweld=wat() | |
2968 | watweld.C0=CFrame.new(0,-14-i,0) | |
2969 | watweld.Part1=torso | |
2970 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4) | |
2971 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4) | |
2972 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2973 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2974 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2975 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2976 | if Debounces.on == false then break end | |
2977 | rs:wait() | |
2978 | end | |
2979 | for i = 1,40 do | |
2980 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-30) | |
2981 | local watweld=wat() | |
2982 | watweld.Part1=torso | |
2983 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,40),1) | |
2984 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4) | |
2985 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4) | |
2986 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
2987 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
2988 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2989 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
2990 | if Debounces.on == false then break end | |
2991 | rs:wait() | |
2992 | end | |
2993 | for i = 1,60 do | |
2994 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
2995 | local watweld=wat() | |
2996 | watweld.Part1=torso | |
2997 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,60),1) | |
2998 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4) | |
2999 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4) | |
3000 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3001 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3002 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3003 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3004 | if Debounces.on == false then break end | |
3005 | rs:wait() | |
3006 | end | |
3007 | for i = 1,60 do | |
3008 | --shell.CFrame = torso.CFrame * CFrame.new(0,0,-60) | |
3009 | --shell.Size = shell.Size + Vector3.new(1,1,1) | |
3010 | shell.Size=shell.Size+Vector3.new(1,1,1) | |
3011 | local watweld=wat() | |
3012 | watweld.Part1=torso | |
3013 | watweld.C0=watweld.C0:lerp(CFrame.new(0,0,62),1) | |
3014 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4) | |
3015 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4) | |
3016 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4) | |
3017 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3018 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3019 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4) | |
3020 | if Debounces.on == false then break end | |
3021 | rs:wait() | |
3022 | end | |
3023 | coroutine.resume(coroutine.create(function() | |
3024 | for i=0,1,.1 do wait() shell.Transparency=i end | |
3025 | shell:Destroy() | |
3026 | shelbx=false | |
3027 | end)) | |
3028 | hed.Anchored=false | |
3029 | if Debounces.CanAttack == false then | |
3030 | Debounces.CanAttack = true | |
3031 | Debounces.NoIdl = false | |
3032 | Debounces.on = false | |
3033 | b:Destroy() | |
3034 | ||
3035 | end | |
3036 | end | |
3037 | end | |
3038 | end) | |
3039 | ---------------------------------------------------- | |
3040 | mouse.KeyDown:connect(function(key) | |
3041 | if key == "z" then | |
3042 | if Debounces.CanAttack == true then | |
3043 | Debounces.CanAttack = false | |
3044 | Debounces.NoIdl = true | |
3045 | char.Humanoid.WalkSpeed = .01 | |
3046 | Debounces.on = true | |
3047 | for i = 1, 20 do | |
3048 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-12)), 0.3) | |
3049 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.3) | |
3050 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.3) | |
3051 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.3) | |
3052 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.3) | |
3053 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.3) | |
3054 | if Debounces.on == false then | |
3055 | break | |
3056 | end | |
3057 | wait() | |
3058 | end | |
3059 | for i = 1, 20 do | |
3060 | wait() | |
3061 | end | |
3062 | x = Instance.new("Sound") | |
3063 | x.SoundId = "http://www.roblox.com/asset/?id=235097614" | |
3064 | x.Parent = char | |
3065 | x.Looped = false | |
3066 | x.Pitch = .7 | |
3067 | x.Volume = .6 | |
3068 | wait(.1) | |
3069 | x:Play() | |
3070 | Debounces.on = false | |
3071 | Debounces.Here = false | |
3072 | shot = shot + 1 | |
3073 | for i = 1, 6 do | |
3074 | 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) | |
3075 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90)), 0.4) | |
3076 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(-6)), 0.4) | |
3077 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.5, -1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(6)), 0.4) | |
3078 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8), math.rad(-84), 0), 0.4) | |
3079 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 3) * CFrame.Angles(0, math.rad(90), 0), 0.4) | |
3080 | wait() | |
3081 | end | |
3082 | local rng = Instance.new("Part", char) | |
3083 | rng.Anchored = true | |
3084 | rng.BrickColor = BrickColor.new("Bright red") | |
3085 | rng.CanCollide = false | |
3086 | rng.FormFactor = 3 | |
3087 | rng.Name = "Ring" | |
3088 | rng.Size = Vector3.new(1, 1, 1) | |
3089 | rng.Transparency = 0.35 | |
3090 | rng.TopSurface = 0 | |
3091 | rng.BottomSurface = 0 | |
3092 | local rngm = Instance.new("SpecialMesh", rng) | |
3093 | rngm.MeshId = "http://www.roblox.com/asset/?id=24388358" | |
3094 | rngm.Scale = Vector3.new(10, 10, 1) | |
3095 | local bem = Instance.new("Part", char) | |
3096 | bem.Anchored = true | |
3097 | bem.BrickColor = BrickColor.new("Bright red") | |
3098 | bem.CanCollide = false | |
3099 | bem.FormFactor = 3 | |
3100 | bem.Name = "Beam" .. shot | |
3101 | bem.Size = Vector3.new(1, 1, 1) | |
3102 | bem.Transparency = 0.35 | |
3103 | bem.TopSurface = 0 | |
3104 | bem.BottomSurface = 0 | |
3105 | local bemm = Instance.new("SpecialMesh", bem) | |
3106 | bemm.MeshType = 4 | |
3107 | bemm.Scale = Vector3.new(1, 4, 4) | |
3108 | local out = Instance.new("Part", char) | |
3109 | out.Anchored = true | |
3110 | out.BrickColor = BrickColor.new("Bright red") | |
3111 | out.CanCollide = false | |
3112 | out.FormFactor = 3 | |
3113 | out.Name = "Out" | |
3114 | out.Size = Vector3.new(4, 4, 4) | |
3115 | out.Transparency = 0.35 | |
3116 | out.TopSurface = 0 | |
3117 | out.BottomSurface = 0 | |
3118 | local outm = Instance.new("SpecialMesh", out) | |
3119 | outm.MeshId = "http://www.roblox.com/asset/?id=24388358" --24388358 | |
3120 | outm.Scale = Vector3.new(4, 4, 4) | |
3121 | local bnd = Instance.new("Part", char) | |
3122 | bnd.Anchored = true | |
3123 | bnd.BrickColor = BrickColor.new("Bright red") | |
3124 | bnd.CanCollide = false | |
3125 | bnd.FormFactor = 3 | |
3126 | bnd.Name = "Bend" | |
3127 | bnd.Size = Vector3.new(1, 1, 1) | |
3128 | bnd.Transparency = 1 | |
3129 | bnd.TopSurface = 0 | |
3130 | bnd.BottomSurface = 0 | |
3131 | local bndm = Instance.new("SpecialMesh", bnd) | |
3132 | bndm.MeshType = 3 | |
3133 | bndm.Scale = Vector3.new(8, 8, 8) | |
3134 | out.CFrame = rarm.CFrame * CFrame.new(0, -1.75, 0) | |
3135 | bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3136 | bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0) | |
3137 | rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0) | |
3138 | Debounces.Shewt = true | |
3139 | coroutine.wrap(function() | |
3140 | for i = 1, 20, 0.2 do | |
3141 | rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1) | |
3142 | rng.Transparency = i/20 | |
3143 | wait() | |
3144 | end | |
3145 | wait() | |
3146 | rng:Destroy() | |
3147 | end)() | |
3148 | if Debounces.Shewt == true then | |
3149 | char:WaitForChild("Beam" .. shot).Touched:connect(function(ht) | |
3150 | hit = ht.Parent | |
3151 | if hit:IsA("Model") and hit:findFirstChild("Humanoid") then | |
3152 | if HasntTouched(hit.Name) == true and deb == false then | |
3153 | deb = true | |
3154 | coroutine.wrap(function() | |
3155 | hit:FindFirstChild("Humanoid").PlatformStand = true | |
3156 | hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3157 | hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73)) | |
3158 | end)() | |
3159 | table.insert(Touche, hit.Name) | |
3160 | deb = false | |
3161 | end | |
3162 | elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then | |
3163 | if HasntTouched(hit.Parent.Name) == true and deb == false then | |
3164 | deb = true | |
3165 | coroutine.wrap(function() | |
3166 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = true | |
3167 | hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180 | |
3168 | wait(1) | |
3169 | hit.Parent:FindFirstChild("Humanoid").PlatformStand = false | |
3170 | end)() | |
3171 | table.insert(Touche, hit.Parent.Name) | |
3172 | deb = false | |
3173 | for i, v in pairs(Touche) do | |
3174 | print(v) | |
3175 | end | |
3176 | end | |
3177 | end | |
3178 | end) | |
3179 | end | |
3180 | for i = 0, 260, 8 do | |
3181 | bem.Size = Vector3.new(i, 2, 2) | |
3182 | bem.CFrame = rarm.CFrame * CFrame.new(0, -3.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90)) | |
3183 | bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2) | |
3184 | bnd.Size = Vector3.new(1,1,1) | |
3185 | bndm.Scale = Vector3.new(8,8,8) | |
3186 | wait() | |
3187 | end | |
3188 | wait() | |
3189 | Debounces.Shewt = false | |
3190 | bem:Destroy() | |
3191 | out:Destroy() | |
3192 | bnd:Destroy() | |
3193 | char.Humanoid.WalkSpeed = 10 | |
3194 | Debounces.Ready = false | |
3195 | for i, v in pairs(Touche) do | |
3196 | table.remove(Touche, i) | |
3197 | end | |
3198 | wait() | |
3199 | table.insert(Touche, char.Name) | |
3200 | Debounces.NoIdl = false | |
3201 | if Debounces.CanAttack == false then | |
3202 | Debounces.CanAttack = true | |
3203 | for i = 1, 20 do | |
3204 | wait() | |
3205 | hum.WalkSpeed = 5 | |
3206 | end | |
3207 | end | |
3208 | end | |
3209 | end | |
3210 | end) | |
3211 | ||
3212 | ---------------------------------------------------- | |
3213 | Charging = false | |
3214 | mouse.KeyDown:connect(function(key) | |
3215 | if key == "r" then | |
3216 | if Charging == false then | |
3217 | Charging = true | |
3218 | if Debounces.CanAttack == true then | |
3219 | Debounces.CanAttack = false | |
3220 | Debounces.NoIdl = true | |
3221 | Debounces.on = true | |
3222 | ||
3223 | for i = 1,20 do | |
3224 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4) | |
3225 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4) | |
3226 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4) | |
3227 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4) | |
3228 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4) | |
3229 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4) | |
3230 | if Debounces.on == false then break end | |
3231 | rs:wait() | |
3232 | end | |
3233 | ||
3234 | ||
3235 | pt=Instance.new('Part',torso) | |
3236 | pt.Anchored=true | |
3237 | pt.CanCollide=false | |
3238 | pt.Locked = true | |
3239 | pt.FormFactor='Custom' | |
3240 | pt.Size=Vector3.new(1,1,1) | |
3241 | pt.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3242 | pt.Transparency=.6 | |
3243 | pt.BrickColor=BrickColor.new('Bright red') | |
3244 | msh=Instance.new('SpecialMesh',pt) | |
3245 | msh.MeshId='http://www.roblox.com/asset/?id=24388358' | |
3246 | msh.Scale=Vector3.new(8,4,8) | |
3247 | pt2=pt:clone() | |
3248 | pt2.Parent = torso | |
3249 | pt2.CFrame=root.CFrame*CFrame.new(0,-1,0) | |
3250 | pt2.BrickColor=BrickColor.new("Bright red") | |
3251 | msh2=msh:clone() | |
3252 | msh2.Parent=pt2 | |
3253 | msh2.Scale=Vector3.new(10,5,10) | |
3254 | particle = Instance.new("ParticleEmitter", pt) | |
3255 | particle.Size = NumberSequence.new(1.2) | |
3256 | particle.LightEmission = 0.2 | |
3257 | particle.EmissionDirection = "Top" | |
3258 | particle.Lifetime = NumberRange.new(5,10) | |
3259 | particle.Rotation = NumberRange.new(5,10) | |
3260 | particle.RotSpeed = NumberRange.new(5) | |
3261 | particle.Speed = NumberRange.new(15) | |
3262 | particle.VelocitySpread = 500 | |
3263 | particle.Rate = 150 | |
3264 | if potential then | |
3265 | particle.Color = ColorSequence.new(Color3.new(.5,0,.5)) | |
3266 | else | |
3267 | particle.Color = ColorSequence.new(Color3.new(0,0,0)) | |
3268 | end | |
3269 | ------------------ | |
3270 | ||
3271 | 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} | |
3272 | ||
3273 | bl = Instance.new("Part", char) | |
3274 | bl.Locked = true | |
3275 | bl.Name = "Shell" | |
3276 | bl.BrickColor = BrickColor.new("Bright red") | |
3277 | bl.Anchored = true | |
3278 | bl.CanCollide = false | |
3279 | bl.Transparency = 0 | |
3280 | bl.Reflectance = 0 | |
3281 | bl.BottomSurface = 0 | |
3282 | bl.TopSurface = 0 | |
3283 | bl.Shape = 0 | |
3284 | blm = Instance.new("SpecialMesh",bl) | |
3285 | blm.MeshType = "Sphere" | |
3286 | blm.Scale = Vector3.new(1,1,1) | |
3287 | blm.MeshId = "rbxassetid://9982590" | |
3288 | -- | |
3289 | b = Instance.new("Sound") | |
3290 | b.SoundId = "http://www.roblox.com/asset/?id=262498472" | |
3291 | b.Parent = char.Head | |
3292 | b.Looped = true | |
3293 | b.Pitch = 1 | |
3294 | b.Volume = 1 | |
3295 | wait(.1) | |
3296 | b:Play() | |
3297 | -- | |
3298 | coroutine.resume(coroutine.create(function() | |
3299 | for i=1, math.huge, 4 do | |
3300 | if Charging == true then | |
3301 | rs:wait() | |
3302 | bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10)) | |
3303 | blm.Scale = blm.Scale + Vector3.new(0.1, 0.1, 0.1) | |
3304 | bl.Transparency = bl.Transparency + 0.005 | |
3305 | pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0) | |
3306 | pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0) | |
3307 | msh.Scale = msh.Scale + Vector3.new(0.05,0,0.05) | |
3308 | msh2.Scale = msh2.Scale + Vector3.new(0.05,0,0.05) | |
3309 | elseif Charging == false then break | |
3310 | end | |
3311 | end | |
3312 | end)) | |
3313 | ||
3314 | repeat | |
3315 | local p = Instance.new('Part',torso) | |
3316 | p.formFactor = 'Custom' | |
3317 | p.Size = Vector3.new(1,1,1) | |
3318 | p.BrickColor = workspace.Base.BrickColor | |
3319 | p.CanCollide = false | |
3320 | p.Transparency = 0 | |
3321 | p.Anchored = true | |
3322 | p.Locked=true | |
3323 | p.Material = workspace.Base.Material | |
3324 | s = math.random(1,40)/10 | |
3325 | local m = Instance.new("BlockMesh",p) | |
3326 | m.Scale = Vector3.new(s,s,s) | |
3327 | 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()) | |
3328 | --[[coroutine.wrap(function() | |
3329 | wait(2) | |
3330 | while Charging == true do | |
3331 | wait(2) | |
3332 | GroundWave1() | |
3333 | wait(2) | |
3334 | end | |
3335 | end)()]]-- | |
3336 | Spawn(function() | |
3337 | while rs:wait() do | |
3338 | if Charging == true then | |
3339 | 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))) | |
3340 | 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))) | |
3341 | 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)) | |
3342 | torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0)) | |
3343 | 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))) | |
3344 | 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))) | |
3345 | elseif Charging == false then break | |
3346 | end | |
3347 | end | |
3348 | end) | |
3349 | Spawn(function() | |
3350 | while rs:wait() do | |
3351 | if p.Transparency >= 1 then p:Destroy() break end | |
3352 | p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0) | |
3353 | p.Transparency = p.Transparency+0.01 | |
3354 | end | |
3355 | end) | |
3356 | wait(.3) | |
3357 | until Charging == false | |
3358 | end | |
3359 | end | |
3360 | end | |
3361 | end) | |
3362 | ---------------------------------------------------- | |
3363 | mouse.KeyUp:connect(function(key) | |
3364 | if key == "r" then | |
3365 | if Charging == true then | |
3366 | Charging = false | |
3367 | pt:Destroy() | |
3368 | pt2:Destroy() | |
3369 | bl:Destroy() | |
3370 | particle:Destroy() | |
3371 | if Debounces.CanAttack == false then | |
3372 | Debounces.CanAttack = true | |
3373 | Debounces.NoIdl = false | |
3374 | Debounces.on = false | |
3375 | end | |
3376 | end | |
3377 | b:Stop() | |
3378 | end | |
3379 | end) | |
3380 | ---------------------------------------------------- | |
3381 | ||
3382 | ---------------------------------------------------- | |
3383 | Search = false | |
3384 | mouse.KeyDown:connect(function(key) | |
3385 | if key == "n" then | |
3386 | if Search == false then | |
3387 | Search = true | |
3388 | for i,v in pairs(game.Players:getPlayers()) do | |
3389 | if v.Name~=char.Name then | |
3390 | for j,k in pairs(v.Character:GetChildren()) do | |
3391 | if k:IsA("BasePart") and k.Transparency >= 1 then | |
3392 | bawx=Instance.new("SelectionBox",cam) | |
3393 | bawx.Color = BrickColor.new("Bright red") | |
3394 | bawx.Transparency = .5 | |
3395 | bawx.Adornee = k | |
3396 | end | |
3397 | end | |
3398 | end | |
3399 | end | |
3400 | elseif Search == true then | |
3401 | Search = false | |
3402 | for i, v in pairs(cam:GetChildren()) do | |
3403 | if v:IsA("SelectionBox") then | |
3404 | v:Destroy() | |
3405 | end | |
3406 | end | |
3407 | end | |
3408 | end | |
3409 | end) | |
3410 | ---------------------------------------------------- | |
3411 | ||
3412 | ---------------------------------------------------- | |
3413 | mouse.KeyDown:connect(function(key) | |
3414 | if string.byte(key) == 52 then | |
3415 | char.Humanoid.WalkSpeed = 60 | |
3416 | end | |
3417 | end) | |
3418 | mouse.KeyUp:connect(function(key) | |
3419 | if string.byte(key) == 52 then | |
3420 | char.Humanoid.WalkSpeed = 8 | |
3421 | end | |
3422 | end) | |
3423 | ------------------------------- | |
3424 | local animpose = "Idle" | |
3425 | local lastanimpose = "Idle" | |
3426 | local sine = 0 | |
3427 | local change = 1 | |
3428 | local val = 0 | |
3429 | local ffing = false | |
3430 | ------------------------------- | |
3431 | game:GetService("RunService").RenderStepped:connect(function() | |
3432 | --[[if char.Humanoid.Jump == true then | |
3433 | jump = true | |
3434 | else | |
3435 | jump = false | |
3436 | end]] | |
3437 | char.Humanoid.FreeFalling:connect(function(f) | |
3438 | if f then | |
3439 | ffing = true | |
3440 | else | |
3441 | ffing = false | |
3442 | end | |
3443 | end) | |
3444 | sine = sine + change | |
3445 | if jumpn == true then | |
3446 | animpose = "Jumping" | |
3447 | elseif ffing == true then | |
3448 | animpose = "Freefalling" | |
3449 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
3450 | animpose = "Idle" | |
3451 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
3452 | animpose = "Walking" | |
3453 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
3454 | animpose = "Running" | |
3455 | end | |
3456 | if animpose ~= lastanimpose then | |
3457 | sine = 0 | |
3458 | if Debounces.NoIdl == false then | |
3459 | if animpose == "Idle" then | |
3460 | for i = 1, 2 do | |
3461 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4) | |
3462 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4) | |
3463 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4) | |
3464 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4) | |
3465 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4) | |
3466 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4) | |
3467 | end | |
3468 | elseif animpose == "Walking" then | |
3469 | for i = 1, 2 do | |
3470 | 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) | |
3471 | 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) | |
3472 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3473 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05) | |
3474 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3475 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3476 | end | |
3477 | elseif animpose == "Running" then | |
3478 | for i = 1, 2 do | |
3479 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(-14),math.rad(8+2*math.cos(sine/14))), 0.2) | |
3480 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-20),math.rad(14),math.rad(-8-2*math.cos(sine/14))), 0.2) | |
3481 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10),0,0), 0.4) | |
3482 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20),0, math.rad(0)), 0.4) | |
3483 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(-7)), 0.4) | |
3484 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-12), 0, math.rad(7)), 0.4) | |
3485 | wait() | |
3486 | end | |
3487 | end | |
3488 | else | |
3489 | end | |
3490 | end | |
3491 | lastanimpose = animpose | |
3492 | if Debounces.NoIdl == false then | |
3493 | if animpose == "Idle" then | |
3494 | change = 0.5 | |
3495 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-10),math.rad(-10),math.rad(14+2*math.cos(sine/10))), 0.4) | |
3496 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+0.1*math.cos(sine/10),0)*CFrame.Angles(math.rad(-20),math.rad(6),math.rad(-10-2*math.cos(sine/10))), 0.4) | |
3497 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/10)),math.rad(20),0), 0.2) | |
3498 | hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2) | |
3499 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.16*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.05) | |
3500 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0-0.1*math.cos(sine/10), -0.55) * CFrame.Angles(math.rad(-10+1*math.cos(sine/10)), math.rad(10), math.rad(-0-2*math.cos(sine/10))), 0.4) | |
3501 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1-0.1*math.cos(sine/10), 0) * CFrame.Angles(0, math.rad(-10), math.rad(0+2*math.cos(sine/10))), 0.4) | |
3502 | elseif animpose == "Walking" then | |
3503 | change = 1 | |
3504 | 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) | |
3505 | 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) | |
3506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4) | |
3507 | 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) | |
3508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4) | |
3509 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4) | |
3510 | elseif animpose == "Running" then | |
3511 | change = 1 | |
3512 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.35,.4)*CFrame.Angles(math.rad(-30),math.rad(14),math.rad(-30+2*math.cos(sine/14))), 0.2) | |
3513 | 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) | |
3514 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4) | |
3515 | 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) | |
3516 | 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) | |
3517 | 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) | |
3518 | end | |
3519 | end | |
3520 | end) | |
3521 | ||
3522 | hum.MaxHealth = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
3523 | wait(3) | |
3524 | hum.Health = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
3525 | Spawn(function() | |
3526 | while wait(.1) do | |
3527 | Magik() | |
3528 | end | |
3529 | end) | |
3530 | ||
3531 | Spawn(function() | |
3532 | while wait(.1) do | |
3533 | Magik2() | |
3534 | end | |
3535 | end) | |
3536 | ----------------------------------------------- | |
3537 | ||
3538 | LocalPlayer = game:GetService("Players").LocalPlayer | |
3539 | local lastCF=char.Torso.Position | |
3540 | local x1=Instance.new("Part",game.Workspace) | |
3541 | x1.Name="Lightning" | |
3542 | x1.Size=Vector3.new(1,1,1) | |
3543 | x1.CanCollide=false | |
3544 | x1.Anchored=true | |
3545 | x1.Transparency=1 | |
3546 | Spawn(function() | |
3547 | while true do | |
3548 | wait(-1) | |
3549 | x1.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(50,360)))*CFrame.new(0,0,2.6) | |
3550 | end | |
3551 | end) | |
3552 | for i = 1,math.huge do | |
3553 | local dist2 = (lastCF-x1.Position).magnitude | |
3554 | local x2=Instance.new("Part",game.Workspace) | |
3555 | x2.Name="Lightning2" | |
3556 | x2.Size=Vector3.new(1,1,1) | |
3557 | x2.Material="Neon" | |
3558 | x2.BrickColor=BrickColor.new("Bright red") | |
3559 | x2.CFrame=CFrame.new(lastCF,x1.Position)*CFrame.new(0,0,-dist2/2) | |
3560 | x2.CanCollide=false | |
3561 | x2.Anchored=true | |
3562 | local m = Instance.new("BlockMesh",x2) | |
3563 | m.Scale = Vector3.new(0.5,0.5,dist2) | |
3564 | lastCF=x1.Position | |
3565 | spawn(function() | |
3566 | for i = 1,20 do | |
3567 | xx=m.Scale.x/2 | |
3568 | y=m.Scale.x/2 | |
3569 | m.Scale=m.Scale-Vector3.new(xx,y,0) | |
3570 | wait() | |
3571 | end | |
3572 | end) | |
3573 | game.Debris:AddItem(x2,1.5) | |
3574 | wait() | |
3575 | end |