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