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