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