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