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