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