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