View difference between Paste ID: rcyNyUv2 and 9z9RNvsN
SHOW: | | - or go back to the newest paste.
1-
--leaked by LeakingProScripts
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,Mouse,mouse,UserInputService,ContextActionService = owner
4
local RealPlayer = Player
5
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --leaked by LeakingProScripts
6
local p = game.Players.LocalPlayer
7
local char = p.Character
8
local mouse = p:GetMouse()
9
local larm = char["Left Arm"]
10
local rarm = char["Right Arm"]
11
local lleg = char["Left Leg"]
12
local rleg = char["Right Leg"]
13
local hed = char.Head
14
local torso = char.Torso
15
local hum = char.Humanoid
16
local cam = game.Workspace.CurrentCamera
17
local root = char.HumanoidRootPart
18
local deb = false
19
local shot = 0
20
local l = game:GetService("Lighting")
21
local rs = game:GetService("RunService").RenderStepped
22
local stanceToggle = "Normal"
23
math.randomseed(os.time())
24
hum.WalkSpeed = 7
25
char.Health:Destroy()
26
hum.MaxHealth = 50000
27
wait(0.1)
28
hum.Health = 50000
29
----------------------------------------------------
30
pcall(function()char.Shirt:Destroy()
31
char.Pants:Destroy()
32
end)
33
shirt = Instance.new("Shirt", char)
34
shirt.Name = "Shirt"
35
pants = Instance.new("Pants", char)
36
pants.Name = "Pants"
37
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268303759"
38
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268303786"
39
----------------------------------------------------
40
Debounces = {
41
on = false;
42
ks = false;
43
CanAttack = true;
44
CanJoke = true;
45
NoIdl = false;
46
Slashing = false;
47
Slashed = false;
48
Grabbing = false;
49
Grabbed = false;
50
}
51
local Touche = {char.Name, }
52
----------------------------------------------------
53
function lerp(a, b, t) -- Linear interpolation
54
    return a + (b - a)*t
55
end
56
 
57
function slerp(a, b, t) --Spherical interpolation
58
    dot = a:Dot(b)
59
    if dot > 0.99999 or dot < -0.99999 then
60
        return t <= 0.5 and a or b
61
    else
62
        r = math.acos(dot)
63
        return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
64
    end
65
end
66
 
67
function matrixInterpolate(a, b, t)
68
    local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
69
    local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
70
    local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
71
    local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
72
    local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
73
    local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
74
    local t = v1:Dot(v2)
75
    if not (t < 0 or t == 0 or t > 0) then     -- Failsafe
76
        return CFrame.new()
77
    end
78
    return CFrame.new(
79
    v0.x, v0.y, v0.z,
80
    v1.x, v1.y, v1.z,
81
    v2.x, v2.y, v2.z,
82
    v3.x, v3.y, v3.z)
83
end
84
----------------------------------------------------
85
function genWeld(a,b)
86
    local w = Instance.new("Weld",a)
87
    w.Part0 = a
88
    w.Part1 = b
89
    return w
90
end
91
function weld(a, b)
92
    local weld = Instance.new("Weld")
93
    weld.Name = "W"
94
    weld.Part0 = a
95
    weld.Part1 = b
96
    weld.C0 = a.CFrame:inverse() * b.CFrame
97
    weld.Parent = a
98
    return weld;
99
end
100
----------------------------------------------------
101
function Lerp(c1,c2,al)
102
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
103
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
104
for i,v in pairs(com1) do 
105
com1[i] = v+(com2[i]-v)*al
106
end
107
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
108
end
109
----------------------------------------------------
110
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
111
local wld = Instance.new("Weld", wp1)
112
wld.Part0 = wp0
113
wld.Part1 = wp1
114
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
115
end
116
----------------------------------------------------
117
for i,v in pairs(char:children()) do
118
    if v:IsA("Hat") then
119
        v:Destroy()
120
    end
121
end
122
for i,v in pairs(hed:children()) do
123
    if v:IsA("Sound") then
124
        v:Destroy()
125
    end
126
end
127
----------------------------------------------------
128
function HasntTouched(plrname)
129
local ret = true
130
for _, v in pairs(Touche) do
131
if v == plrname then
132
ret = false
133
end
134
end
135
return ret
136
end
137
----------------------------------------------------
138
larm.Size = larm.Size * 2
139
rarm.Size = rarm.Size * 2
140
lleg.Size = lleg.Size * 2
141
rleg.Size = rleg.Size * 2
142
torso.Size = torso.Size * 2
143
hed.Size = hed.Size * 2
144
root.Size = root.Size * 2
145
----------------------------------------------------
146
newWeld(torso, larm, -1.5, 0.5, 0)
147
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
148
newWeld(torso, rarm, 1.5, 0.5, 0)
149
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
150
newWeld(torso, hed, 0, 1.5, 0)
151
newWeld(torso, lleg, -0.5, -1, 0)
152
lleg.Weld.C1 = CFrame.new(0, 1, 0)
153
newWeld(torso, rleg, 0.5, -1, 0)
154
rleg.Weld.C1 = CFrame.new(0, 1, 0)
155
newWeld(root, torso, 0, -1, 0)
156
torso.Weld.C1 = CFrame.new(0, -1, 0)
157
----------------------------------------------------
158
game:service'InsertService':LoadAsset(250405532):children()[1].Parent=char
159
char.GildedWings.Handle.Mesh.Scale = char.GildedWings.Handle.Mesh.Scale * 1.8
160
char.GildedWings.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
161
hed.face.Texture = "rbxassetid://127498555"
162
z=Instance.new('Decal',hed)
163
z.Face = 'Front'
164
z.Texture='rbxassetid://36527091'
165
hed.BrickColor = BrickColor.new("Institutional white")
166
lite = Instance.new("PointLight", torso)
167
lite.Brightness = 14
168
lite.Range = 10
169
lite.Color = Color3.new(1, 0, 0)
170
--[[local hed2 = hed:Clone()
171
hed2.CanCollide = false
172
hed2.Parent = char
173
hed2:ClearAllChildren()
174
hed2.Transparency = 1
175
hed2.Name = "DARP"
176
local w = Instance.new("Weld",hed2)
177
w.Part0 = hed
178
w.Part1 = hed2
179
w.C0 = CFrame.new(0,0,-0.175)
180
z=Instance.new("SurfaceGui",hed2)
181
z.Enabled = true
182
z.Face = "Front"
183
z.Adornee = hed2
184
z.CanvasSize = Vector2.new(100,100)
185
local face = Instance.new("ImageLabel",z)
186
face.Size = UDim2.new(1,-30,1,0)
187
face.Position = UDim2.new(0,15,0,0)
188
face.BackgroundTransparency = 1
189
face.Image='rbxassetid://46282671']]--
190
----------------------------------------------------
191
game:service'InsertService':LoadAsset(134822899):children()[1].Parent=char
192
char.LightStudent.Handle.Mesh.Scale = char.LightStudent.Handle.Mesh.Scale * 1.8
193
char.LightStudent.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
194
----------------------------------------------------
195
196
z = Instance.new("Sound", char)
197
z.SoundId = "rbxassetid://190470714 "--242463565
198
z.Looped = true
199
z.Pitch = 1
200
z.Volume = 1
201
wait(.01)
202
z:Play()
203
----------------------------------------------------
204
local m = Instance.new("Model")
205
m.Name = "Absolution"
206
p1 = Instance.new("Part", m)
207
p1.BrickColor = BrickColor.new("New Yeller")
208
p1.FormFactor = Enum.FormFactor.Custom
209
p1.Size = Vector3.new(1, 0.600000024, 1.5)
210
p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
211
p1.CanCollide = false
212
p1.Locked = true
213
p1.Elasticity = 0
214
p1.BottomSurface = Enum.SurfaceType.Smooth
215
p1.TopSurface = Enum.SurfaceType.Smooth
216
b1 = Instance.new("SpecialMesh", p1)
217
b1.MeshType = Enum.MeshType.Wedge
218
b1.Name = "Mesh"
219
b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
220
p2 = Instance.new("Part", m)
221
p2.BrickColor = BrickColor.new("Institutional white")
222
p2.FormFactor = Enum.FormFactor.Custom
223
p2.Size = Vector3.new(1, 2.9000001, 1)
224
p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
225
p2.CanCollide = false
226
p2.Locked = true
227
p2.Elasticity = 0
228
p2.BottomSurface = Enum.SurfaceType.Smooth
229
p2.TopSurface = Enum.SurfaceType.Smooth
230
b2 = Instance.new("BlockMesh", p2)
231
b2.Name = "Mesh"
232
b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
233
p3 = Instance.new("Part", m)
234
p3.BrickColor = BrickColor.new("New Yeller")
235
p3.FormFactor = Enum.FormFactor.Custom
236
p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
237
p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
238
p3.CanCollide = false
239
p3.Locked = true
240
p3.Elasticity = 0
241
p3.BottomSurface = Enum.SurfaceType.Smooth
242
p3.TopSurface = Enum.SurfaceType.Smooth
243
b3 = Instance.new("SpecialMesh", p3)
244
b3.MeshType = Enum.MeshType.Wedge
245
b3.Name = "Mesh"
246
b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
247
p4 = Instance.new("Part", m)
248
p4.BrickColor = BrickColor.new("New Yeller")
249
p4.FormFactor = Enum.FormFactor.Custom
250
p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
251
p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
252
p4.CanCollide = false
253
p4.Locked = true
254
p4.Elasticity = 0
255
p4.BottomSurface = Enum.SurfaceType.Smooth
256
p4.TopSurface = Enum.SurfaceType.Smooth
257
b4 = Instance.new("SpecialMesh", p4)
258
b4.MeshType = Enum.MeshType.Wedge
259
b4.Name = "Mesh"
260
b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
261
p5 = Instance.new("Part", m)
262
p5.BrickColor = BrickColor.new("New Yeller")
263
p5.FormFactor = Enum.FormFactor.Custom
264
p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
265
p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
266
p5.CanCollide = false
267
p5.Locked = true
268
p5.Elasticity = 0
269
p5.BottomSurface = Enum.SurfaceType.Smooth
270
p5.TopSurface = Enum.SurfaceType.Smooth
271
b5 = Instance.new("SpecialMesh", p5)
272
b5.MeshType = Enum.MeshType.Wedge
273
b5.Name = "Mesh"
274
b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
275
p6 = Instance.new("Part", m)
276
p6.Name = "Handle"
277
p6.BrickColor = BrickColor.new("Institutional white")
278
p6.FormFactor = Enum.FormFactor.Custom
279
p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
280
p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
281
p6.CanCollide = false
282
p6.Locked = true
283
p6.Elasticity = 0
284
p6.BottomSurface = Enum.SurfaceType.Smooth
285
p6.TopSurface = Enum.SurfaceType.Smooth
286
b6 = Instance.new("BlockMesh", p6)
287
b6.Name = "Mesh"
288
b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
289
p7 = Instance.new("Part", m)
290
p7.BrickColor = BrickColor.new("New Yeller")
291
p7.FormFactor = Enum.FormFactor.Custom
292
p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
293
p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
294
p7.CanCollide = false
295
p7.Locked = true
296
p7.Elasticity = 0
297
p7.BottomSurface = Enum.SurfaceType.Smooth
298
p7.TopSurface = Enum.SurfaceType.Smooth
299
b7 = Instance.new("SpecialMesh", p7)
300
b7.MeshType = Enum.MeshType.Wedge
301
b7.Name = "Mesh"
302
b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
303
p8 = Instance.new("Part", m)
304
p8.BrickColor = BrickColor.new("New Yeller")
305
p8.FormFactor = Enum.FormFactor.Custom
306
p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
307
p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
308
p8.CanCollide = false
309
p8.Locked = true
310
p8.Elasticity = 0
311
p8.BottomSurface = Enum.SurfaceType.Smooth
312
p8.TopSurface = Enum.SurfaceType.Smooth
313
b8 = Instance.new("SpecialMesh", p8)
314
b8.MeshType = Enum.MeshType.Wedge
315
b8.Name = "Mesh"
316
b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
317
p9 = Instance.new("Part", m)
318
p9.BrickColor = BrickColor.new("Institutional white")
319
p9.FormFactor = Enum.FormFactor.Custom
320
p9.Size = Vector3.new(1, 1.07999957, 1)
321
p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
322
p9.CanCollide = false
323
p9.Locked = true
324
p9.Elasticity = 0
325
p9.BottomSurface = Enum.SurfaceType.Smooth
326
p9.TopSurface = Enum.SurfaceType.Smooth
327
b9 = Instance.new("BlockMesh", p9)
328
b9.Name = "Mesh"
329
b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
330
p10 = Instance.new("Part", m)
331
p10.BrickColor = BrickColor.new("Institutional white")
332
p10.FormFactor = Enum.FormFactor.Custom
333
p10.Size = Vector3.new(1, 1.41999948, 1)
334
p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
335
p10.CanCollide = false
336
p10.Locked = true
337
p10.Elasticity = 0
338
p10.BottomSurface = Enum.SurfaceType.Smooth
339
p10.TopSurface = Enum.SurfaceType.Smooth
340
b10 = Instance.new("BlockMesh", p10)
341
b10.Name = "Mesh"
342
b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
343
p11 = Instance.new("Part", m)
344
p11.BrickColor = BrickColor.new("Institutional white")
345
p11.FormFactor = Enum.FormFactor.Custom
346
p11.Size = Vector3.new(1, 1.50999951, 1)
347
p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
348
p11.CanCollide = false
349
p11.Locked = true
350
p11.Elasticity = 0
351
p11.BottomSurface = Enum.SurfaceType.Smooth
352
p11.TopSurface = Enum.SurfaceType.Smooth
353
b11 = Instance.new("BlockMesh", p11)
354
b11.Name = "Mesh"
355
b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
356
p12 = Instance.new("Part", m)
357
p12.Name = "BladeCenter"
358
p12.BrickColor = BrickColor.new("Dark stone grey")
359
p12.Material = Enum.Material.Concrete
360
p12.FormFactor = Enum.FormFactor.Symmetric
361
p12.Size = Vector3.new(1, 2, 2)
362
p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
363
p12.CanCollide = false
364
p12.Locked = true
365
p12.BottomSurface = Enum.SurfaceType.Smooth
366
p12.TopSurface = Enum.SurfaceType.Smooth
367
b12 = Instance.new("SpecialMesh", p12)
368
b12.MeshType = Enum.MeshType.Brick
369
b12.Name = "Mesh"
370
b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
371
p13 = Instance.new("Part", m)
372
p13.BrickColor = BrickColor.new("Institutional white")
373
p13.FormFactor = Enum.FormFactor.Custom
374
p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
375
p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
376
p13.CanCollide = false
377
p13.Locked = true
378
p13.Elasticity = 0
379
p13.BottomSurface = Enum.SurfaceType.Smooth
380
p13.TopSurface = Enum.SurfaceType.Smooth
381
b13 = Instance.new("BlockMesh", p13)
382
b13.Name = "Mesh"
383
b13.Scale = Vector3.new(1, 1, 0.400000006)
384
p14 = Instance.new("Part", m)
385
p14.BrickColor = BrickColor.new("Institutional white")
386
p14.FormFactor = Enum.FormFactor.Custom
387
p14.Size = Vector3.new(2.5, 2.17999935, 1)
388
p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
389
p14.CanCollide = false
390
p14.Locked = true
391
p14.Elasticity = 0
392
p14.BottomSurface = Enum.SurfaceType.Smooth
393
p14.TopSurface = Enum.SurfaceType.Smooth
394
b14 = Instance.new("BlockMesh", p14)
395
b14.Name = "Mesh"
396
b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
397
p15 = Instance.new("Part", m)
398
p15.BrickColor = BrickColor.new("Institutional white")
399
p15.FormFactor = Enum.FormFactor.Custom
400
p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
401
p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
402
p15.CanCollide = false
403
p15.Locked = true
404
p15.Elasticity = 0
405
p15.BottomSurface = Enum.SurfaceType.Smooth
406
p15.TopSurface = Enum.SurfaceType.Smooth
407
b15 = Instance.new("BlockMesh", p15)
408
b15.Name = "Mesh"
409
b15.Scale = Vector3.new(1, 1, 0.400000006)
410
p16 = Instance.new("Part", m)
411
p16.BrickColor = BrickColor.new("Institutional white")
412
p16.FormFactor = Enum.FormFactor.Custom
413
p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
414
p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
415
p16.CanCollide = false
416
p16.Locked = true
417
p16.Elasticity = 0
418
p16.BottomSurface = Enum.SurfaceType.Smooth
419
p16.TopSurface = Enum.SurfaceType.Smooth
420
b16 = Instance.new("BlockMesh", p16)
421
b16.Name = "Mesh"
422
b16.Scale = Vector3.new(1, 1, 0.400000006)
423
p17 = Instance.new("Part", m)
424
p17.BrickColor = BrickColor.new("Institutional white")
425
p17.FormFactor = Enum.FormFactor.Custom
426
p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
427
p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
428
p17.CanCollide = false
429
p17.Locked = true
430
p17.Elasticity = 0
431
p17.BottomSurface = Enum.SurfaceType.Smooth
432
p17.TopSurface = Enum.SurfaceType.Smooth
433
b17 = Instance.new("BlockMesh", p17)
434
b17.Name = "Mesh"
435
b17.Scale = Vector3.new(1, 1, 0.400000006)
436
p18 = Instance.new("WedgePart", m)
437
p18.BrickColor = BrickColor.new("Dark stone grey")
438
p18.Name = "BladePart1"
439
p18.Material = Enum.Material.Concrete
440
p18.Name = "Wedge"
441
p18.FormFactor = Enum.FormFactor.Symmetric
442
p18.Size = Vector3.new(1, 4, 2)
443
p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
444
p18.CanCollide = false
445
p18.Locked = true
446
p18.BottomSurface = Enum.SurfaceType.Smooth
447
p18.TopSurface = Enum.SurfaceType.Smooth
448
b18 = Instance.new("SpecialMesh", p18)
449
b18.MeshType = Enum.MeshType.Wedge
450
b18.Name = "Mesh"
451
b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
452
p19 = Instance.new("WedgePart", m)
453
p19.BrickColor = BrickColor.new("Dark stone grey")
454
p19.Name = "BladePart2"
455
p19.Material = Enum.Material.Concrete
456
p19.Name = "Wedge"
457
p19.FormFactor = Enum.FormFactor.Symmetric
458
p19.Size = Vector3.new(1, 4, 2)
459
p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
460
p19.CanCollide = false
461
p19.Locked = true
462
p19.BottomSurface = Enum.SurfaceType.Smooth
463
p19.TopSurface = Enum.SurfaceType.Smooth
464
b19 = Instance.new("SpecialMesh", p19)
465
b19.MeshType = Enum.MeshType.Wedge
466
b19.Name = "Mesh"
467
b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
468
p20 = Instance.new("Part", m)
469
p20.BrickColor = BrickColor.new("Institutional white")
470
p20.FormFactor = Enum.FormFactor.Custom
471
p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
472
p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
473
p20.CanCollide = false
474
p20.Locked = true
475
p20.Elasticity = 0
476
p20.BottomSurface = Enum.SurfaceType.Smooth
477
p20.TopSurface = Enum.SurfaceType.Smooth
478
b20 = Instance.new("BlockMesh", p20)
479
b20.Name = "Mesh"
480
b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
481
p21 = Instance.new("Part", m)
482
p21.BrickColor = BrickColor.new("New Yeller")
483
p21.FormFactor = Enum.FormFactor.Custom
484
p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
485
p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
486
p21.CanCollide = false
487
p21.Locked = true
488
p21.Elasticity = 0
489
p21.BottomSurface = Enum.SurfaceType.Smooth
490
p21.TopSurface = Enum.SurfaceType.Smooth
491
b21 = Instance.new("SpecialMesh", p21)
492
b21.MeshType = Enum.MeshType.Wedge
493
b21.Name = "Mesh"
494
b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
495
w1 = Instance.new("Weld", p1)
496
w1.Name = "Part_Weld"
497
w1.Part0 = p1
498
w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
499
w1.Part1 = p2
500
w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
501
w2 = Instance.new("Weld", p2)
502
w2.Name = "Part_Weld"
503
w2.Part0 = p2
504
w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
505
w2.Part1 = p3
506
w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
507
w3 = Instance.new("Weld", p3)
508
w3.Name = "Part_Weld"
509
w3.Part0 = p3
510
w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
511
w3.Part1 = p4
512
w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
513
w4 = Instance.new("Weld", p4)
514
w4.Name = "Part_Weld"
515
w4.Part0 = p4
516
w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
517
w4.Part1 = p5
518
w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
519
w5 = Instance.new("Weld", p5)
520
w5.Name = "Part_Weld"
521
w5.Part0 = p5
522
w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
523
w5.Part1 = p6
524
w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
525
w6 = Instance.new("Weld", p6)
526
w6.Name = "Part_Weld"
527
w6.Part0 = p6
528
w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
529
w6.Part1 = p7
530
w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
531
w7 = Instance.new("Weld", p7)
532
w7.Name = "Part_Weld"
533
w7.Part0 = p7
534
w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
535
w7.Part1 = p8
536
w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
537
w8 = Instance.new("Weld", p8)
538
w8.Name = "Part_Weld"
539
w8.Part0 = p8
540
w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
541
w8.Part1 = p9
542
w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
543
w9 = Instance.new("Weld", p9)
544
w9.Name = "Part_Weld"
545
w9.Part0 = p9
546
w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
547
w9.Part1 = p10
548
w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
549
w10 = Instance.new("Weld", p10)
550
w10.Name = "Part_Weld"
551
w10.Part0 = p10
552
w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
553
w10.Part1 = p11
554
w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
555
w11 = Instance.new("Weld", p11)
556
w11.Name = "Part_Weld"
557
w11.Part0 = p11
558
w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
559
w11.Part1 = p12
560
w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
561
w12 = Instance.new("Weld", p12)
562
w12.Name = "Part_Weld"
563
w12.Part0 = p12
564
w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
565
w12.Part1 = p13
566
w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
567
w13 = Instance.new("Weld", p13)
568
w13.Name = "Part_Weld"
569
w13.Part0 = p13
570
w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
571
w13.Part1 = p14
572
w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
573
w14 = Instance.new("Weld", p14)
574
w14.Name = "Part_Weld"
575
w14.Part0 = p14
576
w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
577
w14.Part1 = p15
578
w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
579
w15 = Instance.new("Weld", p15)
580
w15.Name = "Part_Weld"
581
w15.Part0 = p15
582
w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
583
w15.Part1 = p16
584
w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
585
w16 = Instance.new("Weld", p16)
586
w16.Name = "Part_Weld"
587
w16.Part0 = p16
588
w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
589
w16.Part1 = p17
590
w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
591
w17 = Instance.new("Weld", p17)
592
w17.Name = "Wedge_Weld"
593
w17.Part0 = p17
594
w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
595
w17.Part1 = p18
596
w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
597
w18 = Instance.new("Weld", p18)
598
w18.Name = "Wedge_Weld"
599
w18.Part0 = p18
600
w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
601
w18.Part1 = p19
602
w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
603
w19 = Instance.new("Weld", p19)
604
w19.Name = "Part_Weld"
605
w19.Part0 = p19
606
w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
607
w19.Part1 = p20
608
w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
609
w20 = Instance.new("Weld", p20)
610
w20.Name = "Part_Weld"
611
w20.Part0 = p20
612
w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
613
w20.Part1 = p21
614
w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
615
m.Parent = char
616
m:MakeJoints()
617
----------------------------------------------------
618
local cor = Instance.new("Part", char.Absolution)
619
cor.Name = "Thingy"
620
cor.Locked = true
621
cor.BottomSurface = 0
622
cor.CanCollide = false
623
cor.Size = Vector3.new(1, 13, 1)
624
cor.Transparency = 1
625
cor.TopSurface = 0
626
corw = Instance.new("Weld", cor)
627
corw.Part0 = rarm
628
corw.Part1 = cor
629
corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
630
corw.C1 = CFrame.new(0, 0, 0)
631
weld1 = Instance.new("Weld", char.Absolution)
632
weld1.Part0 = cor
633
weld1.Part1 = p6
634
weld1.C0 = CFrame.new(0, 0, 0)
635
----------------------------------------------------
636
hitb = Instance.new("Part", char.Absolution)
637
hitb.Name = "Thingy2"
638
hitb.Locked = true
639
hitb.BottomSurface = 0
640
hitb.CanCollide = false
641
hitb.Size = Vector3.new(0, 8, 6)
642
hitb.Transparency = 1
643
hitb.TopSurface = 0
644
weld2 = Instance.new("Weld", char.Absolution)
645
weld2.Part0 = hitb
646
weld2.Part1 = p12
647
weld2.C0 = CFrame.new(0, .6, 1)
648
----------------------------------------------------
649
local m = Instance.new("Model")
650
m.Name = "Claw"
651
p1 = Instance.new("Part", m)
652
p1.BrickColor = BrickColor.new("Institutional white")
653
p1.FormFactor = Enum.FormFactor.Custom
654
p1.Size = Vector3.new(1.5, 0.5, 0.5)
655
p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691)
656
p1.CanCollide = false
657
p1.Locked = true
658
p1.BottomSurface = Enum.SurfaceType.Smooth
659
p1.TopSurface = Enum.SurfaceType.Smooth
660
b1 = Instance.new("BlockMesh", p1)
661
b1.Name = "Mesh"
662
p2 = Instance.new("WedgePart", m)
663
p2.BrickColor = BrickColor.new("Institutional white")
664
p2.Name = "Wedge"
665
p2.FormFactor = Enum.FormFactor.Custom
666
p2.Size = Vector3.new(3, 1, 0.5)
667
p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0)
668
p2.CanCollide = false
669
p2.Locked = true
670
p2.BottomSurface = Enum.SurfaceType.Smooth
671
p2.TopSurface = Enum.SurfaceType.Smooth
672
p3 = Instance.new("Part", m)
673
p3.BrickColor = BrickColor.new("Institutional white")
674
p3.FormFactor = Enum.FormFactor.Custom
675
p3.Size = Vector3.new(1.5, 0.5, 0.5)
676
p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008)
677
p3.CanCollide = false
678
p3.Locked = true
679
p3.BottomSurface = Enum.SurfaceType.Smooth
680
p3.TopSurface = Enum.SurfaceType.Smooth
681
b2 = Instance.new("BlockMesh", p3)
682
b2.Name = "Mesh"
683
p4 = Instance.new("WedgePart", m)
684
p4.BrickColor = BrickColor.new("Institutional white")
685
p4.Name = "Wedge"
686
p4.FormFactor = Enum.FormFactor.Custom
687
p4.Size = Vector3.new(3, 1, 0.5)
688
p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008)
689
p4.CanCollide = false
690
p4.Locked = true
691
p4.BottomSurface = Enum.SurfaceType.Smooth
692
p4.TopSurface = Enum.SurfaceType.Smooth
693
p5 = Instance.new("Part", m)
694
p5.BrickColor = BrickColor.new("Institutional white")
695
p5.FormFactor = Enum.FormFactor.Custom
696
p5.Size = Vector3.new(1.5, 0.5, 0.5)
697
p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008)
698
p5.CanCollide = false
699
p5.Locked = true
700
p5.BottomSurface = Enum.SurfaceType.Smooth
701
p5.TopSurface = Enum.SurfaceType.Smooth
702
b3 = Instance.new("BlockMesh", p5)
703
b3.Name = "Mesh"
704
p6 = Instance.new("Part", m)
705
p6.BrickColor = BrickColor.new("Institutional white")
706
p6.FormFactor = Enum.FormFactor.Custom
707
p6.Size = Vector3.new(1.5, 0.5, 0.5)
708
p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051)
709
p6.CanCollide = false
710
p6.Locked = true
711
p6.BottomSurface = Enum.SurfaceType.Smooth
712
p6.TopSurface = Enum.SurfaceType.Smooth
713
b4 = Instance.new("BlockMesh", p6)
714
b4.Name = "Mesh"
715
p7 = Instance.new("Part", m)
716
p7.BrickColor = BrickColor.new("Institutional white")
717
p7.FormFactor = Enum.FormFactor.Custom
718
p7.Size = Vector3.new(3, 1, 1.20000005)
719
p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008)
720
p7.CanCollide = false
721
p7.Locked = true
722
p7.BottomSurface = Enum.SurfaceType.Smooth
723
p7.TopSurface = Enum.SurfaceType.Smooth
724
b5 = Instance.new("BlockMesh", p7)
725
b5.Name = "Mesh"
726
p8 = Instance.new("Part", m)
727
p8.BrickColor = BrickColor.new("New Yeller")
728
p8.FormFactor = Enum.FormFactor.Symmetric
729
p8.Size = Vector3.new(1, 1, 1)
730
p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159)
731
p8.CanCollide = false
732
p8.Locked = true
733
b6 = Instance.new("SpecialMesh", p8)
734
b6.MeshId = "http://www.roblox.com/Asset/?id=9756362"
735
b6.TextureId = ""
736
b6.MeshType = Enum.MeshType.FileMesh
737
b6.Name = "Mesh"
738
b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
739
p9 = Instance.new("Part", m)
740
p9.BrickColor = BrickColor.new("Institutional white")
741
p9.FormFactor = Enum.FormFactor.Custom
742
p9.Size = Vector3.new(1.5, 0.5, 0.5)
743
p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264)
744
p9.CanCollide = false
745
p9.Locked = true
746
p9.BottomSurface = Enum.SurfaceType.Smooth
747
p9.TopSurface = Enum.SurfaceType.Smooth
748
b7 = Instance.new("BlockMesh", p9)
749
b7.Name = "Mesh"
750
p10 = Instance.new("Part", m)
751
p10.BrickColor = BrickColor.new("New Yeller")
752
p10.FormFactor = Enum.FormFactor.Symmetric
753
p10.Size = Vector3.new(1, 1, 1)
754
p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702)
755
p10.CanCollide = false
756
p10.Locked = true
757
b8 = Instance.new("SpecialMesh", p10)
758
b8.MeshId = "http://www.roblox.com/Asset/?id=9756362"
759
b8.TextureId = ""
760
b8.MeshType = Enum.MeshType.FileMesh
761
b8.Name = "Mesh"
762
b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
763
p11 = Instance.new("Part", m)
764
p11.BrickColor = BrickColor.new("Institutional white")
765
p11.FormFactor = Enum.FormFactor.Custom
766
p11.Size = Vector3.new(1.5, 0.5, 0.5)
767
p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868)
768
p11.CanCollide = false
769
p11.Locked = true
770
p11.BottomSurface = Enum.SurfaceType.Smooth
771
p11.TopSurface = Enum.SurfaceType.Smooth
772
b9 = Instance.new("BlockMesh", p11)
773
b9.Name = "Mesh"
774
p12 = Instance.new("Part", m)
775
p12.BrickColor = BrickColor.new("Institutional white")
776
p12.FormFactor = Enum.FormFactor.Custom
777
p12.Size = Vector3.new(1.5, 0.5, 0.5)
778
p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008)
779
p12.CanCollide = false
780
p12.Locked = true
781
p12.BottomSurface = Enum.SurfaceType.Smooth
782
p12.TopSurface = Enum.SurfaceType.Smooth
783
b10 = Instance.new("BlockMesh", p12)
784
b10.Name = "Mesh"
785
p13 = Instance.new("Part", m)
786
p13.BrickColor = BrickColor.new("Institutional white")
787
p13.FormFactor = Enum.FormFactor.Custom
788
p13.Size = Vector3.new(1.5, 0.5, 0.5)
789
p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008)
790
p13.CanCollide = false
791
p13.Locked = true
792
p13.BottomSurface = Enum.SurfaceType.Smooth
793
p13.TopSurface = Enum.SurfaceType.Smooth
794
b11 = Instance.new("BlockMesh", p13)
795
b11.Name = "Mesh"
796
p14 = Instance.new("Part", m)
797
p14.BrickColor = BrickColor.new("New Yeller")
798
p14.FormFactor = Enum.FormFactor.Symmetric
799
p14.Size = Vector3.new(1, 1, 1)
800
p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777)
801
p14.CanCollide = false
802
p14.Locked = true
803
b12 = Instance.new("SpecialMesh", p14)
804
b12.MeshId = "http://www.roblox.com/Asset/?id=9756362"
805
b12.TextureId = ""
806
b12.MeshType = Enum.MeshType.FileMesh
807
b12.Name = "Mesh"
808
b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
809
p15 = Instance.new("Part", m)
810
p15.BrickColor = BrickColor.new("Medium stone grey")
811
p15.Transparency = 1
812
p15.Name = "ArmPart"
813
p15.FormFactor = Enum.FormFactor.Custom
814
p15.Size = Vector3.new(2, 1, 1)
815
p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008)
816
p15.CanCollide = false
817
p15.Locked = true
818
p15.BottomSurface = Enum.SurfaceType.Smooth
819
p15.TopSurface = Enum.SurfaceType.Smooth
820
b13 = Instance.new("BlockMesh", p15)
821
b13.Name = "Mesh"
822
p16 = Instance.new("Part", m)
823
p16.BrickColor = BrickColor.new("Institutional white")
824
p16.FormFactor = Enum.FormFactor.Custom
825
p16.Size = Vector3.new(3, 1, 2.4000001)
826
p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008)
827
p16.CanCollide = false
828
p16.Locked = true
829
p16.BottomSurface = Enum.SurfaceType.Smooth
830
p16.TopSurface = Enum.SurfaceType.Smooth
831
b14 = Instance.new("BlockMesh", p16)
832
b14.Name = "Mesh"
833
p17 = Instance.new("Part", m)
834
p17.BrickColor = BrickColor.new("Institutional white")
835
p17.FormFactor = Enum.FormFactor.Custom
836
p17.Size = Vector3.new(1.5, 0.5, 0.5)
837
p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783)
838
p17.CanCollide = false
839
p17.Locked = true
840
p17.BottomSurface = Enum.SurfaceType.Smooth
841
p17.TopSurface = Enum.SurfaceType.Smooth
842
b15 = Instance.new("BlockMesh", p17)
843
b15.Name = "Mesh"
844
p18 = Instance.new("Part", m)
845
p18.BrickColor = BrickColor.new("New Yeller")
846
p18.FormFactor = Enum.FormFactor.Symmetric
847
p18.Size = Vector3.new(1, 1, 1)
848
p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101)
849
p18.CanCollide = false
850
p18.Locked = true
851
b16 = Instance.new("SpecialMesh", p18)
852
b16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
853
b16.TextureId = ""
854
b16.MeshType = Enum.MeshType.FileMesh
855
b16.Name = "Mesh"
856
b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
857
p19 = Instance.new("Part", m)
858
p19.BrickColor = BrickColor.new("New Yeller")
859
p19.FormFactor = Enum.FormFactor.Symmetric
860
p19.Size = Vector3.new(1, 1, 1)
861
p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855)
862
p19.CanCollide = false
863
p19.Locked = true
864
b17 = Instance.new("SpecialMesh", p19)
865
b17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
866
b17.TextureId = ""
867
b17.MeshType = Enum.MeshType.FileMesh
868
b17.Name = "Mesh"
869
b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
870
p20 = Instance.new("Part", m)
871
p20.BrickColor = BrickColor.new("Institutional white")
872
p20.FormFactor = Enum.FormFactor.Custom
873
p20.Size = Vector3.new(3, 1, 2.4000001)
874
p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008)
875
p20.CanCollide = false
876
p20.Locked = true
877
p20.BottomSurface = Enum.SurfaceType.Smooth
878
p20.TopSurface = Enum.SurfaceType.Smooth
879
b18 = Instance.new("BlockMesh", p20)
880
b18.Name = "Mesh"
881
p21 = Instance.new("Part", m)
882
p21.BrickColor = BrickColor.new("Institutional white")
883
p21.FormFactor = Enum.FormFactor.Custom
884
p21.Size = Vector3.new(3, 1, 1.19999993)
885
p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008)
886
p21.CanCollide = false
887
p21.Locked = true
888
p21.BottomSurface = Enum.SurfaceType.Smooth
889
p21.TopSurface = Enum.SurfaceType.Smooth
890
b19 = Instance.new("BlockMesh", p21)
891
b19.Name = "Mesh"
892
p22 = Instance.new("WedgePart", m)
893
p22.BrickColor = BrickColor.new("Institutional white")
894
p22.Name = "Wedge"
895
p22.FormFactor = Enum.FormFactor.Custom
896
p22.Size = Vector3.new(3, 1, 0.5)
897
p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008)
898
p22.CanCollide = false
899
p22.Locked = true
900
p22.BottomSurface = Enum.SurfaceType.Smooth
901
p22.TopSurface = Enum.SurfaceType.Smooth
902
p23 = Instance.new("Part", m)
903
p23.BrickColor = BrickColor.new("Institutional white")
904
p23.FormFactor = Enum.FormFactor.Custom
905
p23.Size = Vector3.new(1.5, 0.5, 0.5)
906
p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682)
907
p23.CanCollide = false
908
p23.Locked = true
909
p23.BottomSurface = Enum.SurfaceType.Smooth
910
p23.TopSurface = Enum.SurfaceType.Smooth
911
b20 = Instance.new("BlockMesh", p23)
912
b20.Name = "Mesh"
913
p24 = Instance.new("WedgePart", m)
914
p24.BrickColor = BrickColor.new("Institutional white")
915
p24.Name = "Wedge"
916
p24.FormFactor = Enum.FormFactor.Custom
917
p24.Size = Vector3.new(3, 1, 0.5)
918
p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215)
919
p24.CanCollide = false
920
p24.Locked = true
921
p24.BottomSurface = Enum.SurfaceType.Smooth
922
p24.TopSurface = Enum.SurfaceType.Smooth
923
p25 = Instance.new("Part", m)
924
p25.BrickColor = BrickColor.new("New Yeller")
925
p25.FormFactor = Enum.FormFactor.Symmetric
926
p25.Size = Vector3.new(1, 1, 1)
927
p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466)
928
p25.CanCollide = false
929
p25.Locked = true
930
p25.BottomSurface = Enum.SurfaceType.Smooth
931
p25.TopSurface = Enum.SurfaceType.Smooth
932
b21 = Instance.new("SpecialMesh", p25)
933
b21.MeshId = "http://www.roblox.com/asset/?id=3270017"
934
b21.TextureId = ""
935
b21.MeshType = Enum.MeshType.FileMesh
936
b21.Name = "Mesh"
937
b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024)
938
p26 = Instance.new("Part", m)
939
p26.BrickColor = BrickColor.new("Institutional white")
940
p26.FormFactor = Enum.FormFactor.Symmetric
941
p26.Size = Vector3.new(1, 1, 1)
942
p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902)
943
p26.CanCollide = false
944
p26.Locked = true
945
p26.BottomSurface = Enum.SurfaceType.Smooth
946
p26.TopSurface = Enum.SurfaceType.Smooth
947
b22 = Instance.new("SpecialMesh", p26)
948
b22.MeshType = Enum.MeshType.Brick
949
b22.Name = "Mesh"
950
w1 = Instance.new("Weld", p1)
951
w1.Name = "Wedge_Weld"
952
w1.Part0 = p1
953
w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691)
954
w1.Part1 = p2
955
w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008)
956
w2 = Instance.new("Weld", p2)
957
w2.Name = "Part_Weld"
958
w2.Part0 = p2
959
w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0)
960
w2.Part1 = p3
961
w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008)
962
w3 = Instance.new("Weld", p3)
963
w3.Name = "Wedge_Weld"
964
w3.Part0 = p3
965
w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008)
966
w3.Part1 = p4
967
w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008)
968
w4 = Instance.new("Weld", p4)
969
w4.Name = "Part_Weld"
970
w4.Part0 = p4
971
w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008)
972
w4.Part1 = p5
973
w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008)
974
w5 = Instance.new("Weld", p5)
975
w5.Name = "Part_Weld"
976
w5.Part0 = p5
977
w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008)
978
w5.Part1 = p6
979
w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252)
980
w6 = Instance.new("Weld", p6)
981
w6.Name = "Part_Weld"
982
w6.Part0 = p6
983
w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051)
984
w6.Part1 = p7
985
w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008)
986
w7 = Instance.new("Weld", p7)
987
w7.Name = "Part_Weld"
988
w7.Part0 = p7
989
w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008)
990
w7.Part1 = p8
991
w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292)
992
w8 = Instance.new("Weld", p8)
993
w8.Name = "Part_Weld"
994
w8.Part0 = p8
995
w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159)
996
w8.Part1 = p9
997
w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342)
998
w9 = Instance.new("Weld", p9)
999
w9.Name = "Part_Weld"
1000
w9.Part0 = p9
1001
w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264)
1002
w9.Part1 = p10
1003
w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036)
1004
w10 = Instance.new("Weld", p10)
1005
w10.Name = "Part_Weld"
1006
w10.Part0 = p10
1007
w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702)
1008
w10.Part1 = p11
1009
w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292)
1010
w11 = Instance.new("Weld", p11)
1011
w11.Name = "Part_Weld"
1012
w11.Part0 = p11
1013
w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46200418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868)
1014
w11.Part1 = p12
1015
w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008)
1016
w12 = Instance.new("Weld", p12)
1017
w12.Name = "Part_Weld"
1018
w12.Part0 = p12
1019
w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008)
1020
w12.Part1 = p13
1021
w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008)
1022
w13 = Instance.new("Weld", p13)
1023
w13.Name = "Part_Weld"
1024
w13.Part0 = p13
1025
w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008)
1026
w13.Part1 = p14
1027
w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817)
1028
w14 = Instance.new("Weld", p14)
1029
w14.Name = "ArmPart_Weld"
1030
w14.Part0 = p14
1031
w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777)
1032
w14.Part1 = p15
1033
w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
1034
w15 = Instance.new("Weld", p15)
1035
w15.Name = "Part_Weld"
1036
w15.Part0 = p15
1037
w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008)
1038
w15.Part1 = p16
1039
w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
1040
w16 = Instance.new("Weld", p16)
1041
w16.Name = "Part_Weld"
1042
w16.Part0 = p16
1043
w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008)
1044
w16.Part1 = p17
1045
w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025)
1046
w17 = Instance.new("Weld", p17)
1047
w17.Name = "Part_Weld"
1048
w17.Part0 = p17
1049
w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783)
1050
w17.Part1 = p18
1051
w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435)
1052
w18 = Instance.new("Weld", p18)
1053
w18.Name = "Part_Weld"
1054
w18.Part0 = p18
1055
w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101)
1056
w18.Part1 = p19
1057
w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918)
1058
w19 = Instance.new("Weld", p19)
1059
w19.Name = "Part_Weld"
1060
w19.Part0 = p19
1061
w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855)
1062
w19.Part1 = p20
1063
w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
1064
w20 = Instance.new("Weld", p20)
1065
w20.Name = "Part_Weld"
1066
w20.Part0 = p20
1067
w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008)
1068
w20.Part1 = p21
1069
w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
1070
w21 = Instance.new("Weld", p21)
1071
w21.Name = "Wedge_Weld"
1072
w21.Part0 = p21
1073
w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008)
1074
w21.Part1 = p22
1075
w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008)
1076
w22 = Instance.new("Weld", p22)
1077
w22.Name = "Part_Weld"
1078
w22.Part0 = p22
1079
w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008)
1080
w22.Part1 = p23
1081
w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808)
1082
w23 = Instance.new("Weld", p23)
1083
w23.Name = "Wedge_Weld"
1084
w23.Part0 = p23
1085
w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682)
1086
w23.Part1 = p24
1087
w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801)
1088
w24 = Instance.new("Weld", p24)
1089
w24.Name = "Part_Weld"
1090
w24.Part0 = p24
1091
w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215)
1092
w24.Part1 = p25
1093
w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881)
1094
w25 = Instance.new("Weld", p25)
1095
w25.Name = "Part_Weld"
1096
w25.Part0 = p25
1097
w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466)
1098
w25.Part1 = p26
1099
w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501)
1100
m.Parent = char
1101
m:MakeJoints()
1102
----------------------------------------------------
1103
local cor2 = Instance.new("Part", char.Claw)
1104
cor2.Name = "Thingy"
1105
cor2.Locked = true
1106
cor2.BottomSurface = 0
1107
cor2.CanCollide = false
1108
cor2.Size = Vector3.new(2, 1, 1)
1109
cor2.Transparency = 1
1110
cor2.TopSurface = 0
1111
corw2 = Instance.new("Weld", cor2)
1112
corw2.Part0 = larm
1113
corw2.Part1 = cor2
1114
corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90))
1115
corw2.C1 = CFrame.new(0, 0, 0)
1116
weld2 = Instance.new("Weld", char.Claw)
1117
weld2.Part0 = cor2
1118
weld2.Part1 = char.Claw.ArmPart
1119
weld2.C0 = CFrame.new(0, 0, 0)
1120
----------------------------------------------------
1121
function weld5(part0, part1, c0, c1)
1122
    weeld=Instance.new("Weld", part0)
1123
    weeld.Part0=part0
1124
    weeld.Part1=part1
1125
    weeld.C0=c0
1126
    weeld.C1=c1
1127
    return weeld
1128
end
1129
----------------------------------------------------
1130
function newRay(start,face,range,wat)
1131
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
1132
	hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
1133
	return rey,hit,pos
1134
end
1135
----------------------------------------------------
1136
mod5 = Instance.new("Model",char)
1137
1138
function FindNearestTorso(Position,Distance,SinglePlayer)
1139
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1140
        local List = {}
1141
        for i,v in pairs(workspace:GetChildren())do
1142
            if v:IsA("Model")then
1143
                if v:findFirstChild("Torso")then
1144
                    if v ~= char then
1145
                        if(v.Torso.Position -Position).magnitude <= Distance then
1146
                            table.insert(List,v)
1147
                        end 
1148
                    end 
1149
                end 
1150
            end 
1151
        end
1152
    return List
1153
end
1154
1155
function Landing()
1156
    part=Instance.new('Part',mod5)
1157
    part.Anchored=true
1158
    part.CanCollide=false
1159
    part.FormFactor='Custom'
1160
    part.Size=Vector3.new(.2,.2,.2)
1161
    part.CFrame=root.CFrame*CFrame.new(0,-2,0)
1162
    part.Transparency=.7
1163
    part.BrickColor=BrickColor.new('Institutional white')
1164
    mesh=Instance.new('SpecialMesh',part)
1165
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
1166
    mesh.Scale=Vector3.new(10,5,10)
1167
1168
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
1169
        if v:FindFirstChild('Humanoid') then
1170
            v.Humanoid:TakeDamage(math.random(20,30))
1171
            v.Humanoid.PlatformStand = true
1172
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
1173
        end
1174
    end
1175
1176
    coroutine.resume(coroutine.create(function() 
1177
        for i=0,3.8,0.05 do
1178
            wait()
1179
            part.CFrame=part.CFrame
1180
            part.Transparency=i
1181
            mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
1182
            end
1183
        part.Parent = nil
1184
    end))
1185
end
1186
----------------------------------------------------
1187
mod4 = Instance.new("Model",char)
1188
1189
ptez = {0.7, 0.8, 0.9, 1}
1190
1191
function FindNearestTorso(Position,Distance,SinglePlayer)
1192
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1193
        local List = {}
1194
        for i,v in pairs(workspace:GetChildren())do
1195
            if v:IsA("Model")then
1196
                if v:findFirstChild("Torso")then
1197
                    if v ~= char then
1198
                        if(v.Torso.Position -Position).magnitude <= Distance then
1199
                            table.insert(List,v)
1200
                        end 
1201
                    end 
1202
                end 
1203
            end 
1204
        end
1205
    return List
1206
end
1207
1208
function GroundPound()
1209
    part=Instance.new('Part',mod4)
1210
    part.Anchored=true
1211
    part.CanCollide=false
1212
    part.FormFactor='Custom'
1213
    part.Size=Vector3.new(.2,.2,.2)
1214
    part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
1215
    part.Transparency=.7
1216
    part.BrickColor=BrickColor.new('Institutional white')
1217
    mesh=Instance.new('SpecialMesh',part)
1218
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
1219
    mesh.Scale=Vector3.new(3,3,3)
1220
    part2=Instance.new('Part',mod4)
1221
    part2.Anchored=true
1222
    part2.CanCollide=false
1223
    part2.FormFactor='Custom'
1224
    part2.Size=Vector3.new(.2,.2,.2)
1225
    part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
1226
    part2.Transparency=.7
1227
    part2.BrickColor=BrickColor.new('Really red')
1228
    mesh2=Instance.new('SpecialMesh',part2)
1229
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
1230
    mesh2.Scale=Vector3.new(3,1.5,3)
1231
    x = Instance.new("Sound",char)
1232
    x.SoundId = "http://www.roblox.com/asset/?id=142070127"
1233
    x.Pitch = ptez[math.random(1,#ptez)]
1234
    x.Volume = 1
1235
    wait(.1)
1236
    x:Play()
1237
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
1238
        if v:FindFirstChild('Humanoid') then
1239
            v.Humanoid:TakeDamage(math.random(8,15))
1240
        end
1241
    end
1242
    coroutine.resume(coroutine.create(function() 
1243
        for i=0,0.62,0.13 do
1244
            wait()
1245
            part.CFrame=part.CFrame
1246
            part.Transparency=i
1247
            mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
1248
            part2.CFrame=part2.CFrame
1249
            part2.Transparency=i
1250
            mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
1251
            end
1252
        part.Parent=nil
1253
        part2.Parent=nil
1254
        x:Destroy()
1255
    end))
1256
end
1257
----------------------------------------------------
1258
mod=Instance.new('Model',char)
1259
1260
function charge()
1261
    hed.Velocity=hed.CFrame.lookVector*200
1262
    part=Instance.new('Part',mod)
1263
    part.Anchored=true
1264
    part.CanCollide=false
1265
    part.FormFactor='Custom'
1266
    part.Size=Vector3.new(.2,.2,.2)
1267
    part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
1268
    part.Transparency=.7
1269
    part.BrickColor=BrickColor.new('New Yeller')
1270
    mesh=Instance.new('SpecialMesh',part)
1271
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
1272
    mesh.Scale=Vector3.new(10,5,10)
1273
    part2=part:clone()
1274
    part2.Parent=mod
1275
    part2.BrickColor=BrickColor.new('Bright red')
1276
    mesh2=mesh:clone()
1277
    mesh2.Parent=part2
1278
    mesh2.Scale=Vector3.new(20,10,20)
1279
    part3=part2:clone()
1280
    part3.Parent = mod
1281
    part3.BrickColor=BrickColor.new('Institutional white')
1282
    mesh3=mesh2:clone()
1283
    mesh2.Parent=part3
1284
    mesh3.Scale=Vector3.new(30,15,30)
1285
    coroutine.resume(coroutine.create(function() 
1286
        for i=0,1,0.1 do
1287
            wait()
1288
            part.CFrame=part.CFrame
1289
            part.Transparency=i
1290
            mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
1291
            part2.CFrame=part2.CFrame
1292
            part2.Transparency=i
1293
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
1294
            part3.CFrame=part3.CFrame
1295
            part3.Transparency=i
1296
            mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
1297
            end
1298
        part.Parent=nil
1299
        part2.Parent=nil
1300
        part3.Parent = nil
1301
    end))
1302
end
1303
----------------------------------------------------
1304
function FindNearestTorso(Position,Distance,SinglePlayer)
1305
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
1306
        local List = {}
1307
        for i,v in pairs(workspace:GetChildren())do
1308
            if v:IsA("Model")then
1309
                if v:findFirstChild("Torso")then
1310
                    if v ~= char then
1311
                        if(v.Torso.Position -Position).magnitude <= Distance then
1312
                            table.insert(List,v)
1313
                        end 
1314
                    end 
1315
                end 
1316
            end 
1317
        end
1318
    return List
1319
end
1320
1321
mod3 = Instance.new("Model",rleg)
1322
1323
function Stomp()
1324
    part=Instance.new('Part',mod3)
1325
    part.Anchored=true
1326
    part.CanCollide=false
1327
    part.FormFactor='Custom'
1328
    part.Size=Vector3.new(.2,.2,.2)
1329
    part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
1330
    part.Transparency=.7
1331
    part.BrickColor=BrickColor.new('Bright green')
1332
    mesh=Instance.new('SpecialMesh',part)
1333
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
1334
    mesh.Scale=Vector3.new(25,25,25)
1335
    part2=part:clone()
1336
    part2.Parent=mod3
1337
    part2.BrickColor=BrickColor.new('Bright green')
1338
    mesh2=mesh:clone()
1339
    mesh2.Parent=part2
1340
    mesh2.Scale=Vector3.new(15,15,15)
1341
    part3=part:clone()
1342
    part3.Parent=mod3
1343
    part3.TopSurface=0
1344
    part3.BottomSurface=0
1345
    part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
1346
    mesh3=Instance.new('SpecialMesh',part3)
1347
    mesh3.MeshType = 3
1348
    mesh3.Scale=Vector3.new(12,12,12)
1349
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
1350
        if v:FindFirstChild('Humanoid') then
1351
            v.Humanoid:TakeDamage(math.random(20,60))
1352
            v.Humanoid.PlatformStand = true
1353
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
1354
        end
1355
    end 
1356
    coroutine.resume(coroutine.create(function() 
1357
        for i=0,3.8,0.05 do
1358
            wait()
1359
            part.CFrame=part.CFrame
1360
            part.Transparency=i
1361
            mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
1362
            part2.CFrame=part2.CFrame
1363
            part2.Transparency=i
1364
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
1365
            part3.CFrame=part3.CFrame
1366
            part3.Transparency=i
1367
            mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
1368
        end
1369
    end))
1370
end
1371
----------------------------------------------------
1372
1373
local acos = math.acos
1374
local sqrt = math.sqrt
1375
local Vec3 = Vector3.new
1376
local fromAxisAngle = CFrame.fromAxisAngle
1377
1378
local function toAxisAngle(CFr)
1379
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
1380
        local Angle = math.acos((R00+R11+R22-1)/2)
1381
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
1382
        A = A == 0 and 0.00001 or A
1383
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
1384
        B = B == 0 and 0.00001 or B
1385
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
1386
        C = C == 0 and 0.00001 or C
1387
        local x = (R21-R12)/sqrt(A)
1388
        local y = (R02-R20)/sqrt(B)
1389
        local z = (R10-R01)/sqrt(C)
1390
        return Vec3(x,y,z),Angle
1391
end
1392
1393
function ApplyTrig(Num,Func)
1394
        local Min,Max = Func(0),Func(1)
1395
        local i = Func(Num)
1396
        return (i-Min)/(Max-Min)
1397
        --[[if Func == "sin" then
1398
                return (math.sin((1-Num)*math.pi)+1)/2
1399
        elseif Func == "cos" then
1400
                return (math.cos((1-Num)*math.pi)+1)/2
1401
        end]]
1402
end
1403
1404
function LerpCFrame(CFrame1,CFrame2,Num)
1405
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
1406
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
1407
end
1408
1409
function Crater(Torso,Radius)
1410
        Spawn(function()
1411
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
1412
        local Ignore = {}
1413
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1414
                if v.Character ~= nil then
1415
                        Ignore[#Ignore+1] = v.Character
1416
                end
1417
        end
1418
        local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
1419
        if Hit == nil then return end
1420
        local Parts = {}
1421
        for i = 1,360,10 do
1422
                local P = Instance.new("Part",Torso.Parent)
1423
                P.Anchored = true
1424
                P.FormFactor = "Custom"
1425
                P.BrickColor = Hit.BrickColor
1426
                P.Material = Hit.Material
1427
                P.TopSurface = "Smooth"
1428
                P.BottomSurface = "Smooth"
1429
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
1430
                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)))
1431
                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}
1432
                if math.random(0,5) == 0 then -- rubble
1433
                        local P = Instance.new("Part",Torso.Parent)
1434
                        P.Anchored = true
1435
                        P.FormFactor = "Custom"
1436
                        P.BrickColor = Hit.BrickColor
1437
                        P.Material = Hit.Material
1438
                        P.TopSurface = "Smooth"
1439
                        P.BottomSurface = "Smooth"
1440
                        P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
1441
                        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)))
1442
                        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}
1443
                end
1444
        end
1445
        for i = 0,1,0.05 do
1446
                for i2,v in pairs(Parts) do
1447
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
1448
                end
1449
                wait(0.02)
1450
        end
1451
        for i,v in pairs(Parts) do
1452
                if v[1].Size.X > 2.1 then
1453
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
1454
                end
1455
                v[1].Anchored = false
1456
        end
1457
        for i = 0,1,0.05 do
1458
                for i2,v in pairs(Parts) do
1459
                        v[1].Transparency = i
1460
                        if i == 1 then
1461
                                v[1]:Destroy()
1462
                        elseif i >= 0.25 then
1463
                                v[1].CanCollide = false
1464
                        end
1465
                end
1466
                wait(0.02)
1467
        end
1468
        Parts = nil
1469
        end)
1470
end
1471
1472
----------------------------------------------------
1473
mouse.KeyDown:connect(function(key)
1474
    if key == "r" then
1475
        larm.BrickColor = BrickColor.new("Bright red")
1476
        rarm.BrickColor = BrickColor.new("Bright red")
1477
        if Debounces.CanAttack == true then
1478
        Debounces.CanAttack = false
1479
        Debounces.on = true
1480
        Debounces.NoIdl = true
1481
to = char.Absolution.Thingy2.Touched:connect(function(ht)
1482
        hit = ht.Parent
1483
        if ht and hit:IsA("Model") then
1484
                if hit:FindFirstChild("Humanoid") then
1485
                    if hit.Name ~= p.Name then
1486
                        --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1487
                                Debounces.Slashed = true]]--
1488
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
1489
                                wait(1)
1490
                                --Debounces.Slashed = false
1491
                        --end
1492
                    end
1493
                end
1494
        elseif ht and hit:IsA("Hat") then
1495
            if hit.Parent.Name ~= p.Name then
1496
                if hit.Parent:FindFirstChild("Humanoid") then
1497
                       --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
1498
                                Debounces.Slashed = true]]--
1499
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
1500
                                wait(1)
1501
                    --Debounces.Slashed = false
1502
                end
1503
            end
1504
        end    
1505
    end)
1506
q = Instance.new("Sound",hed)
1507
q.SoundId = "http://www.roblox.com/asset/?id=134012322"
1508
q.Pitch = 0.85
1509
q.Looped = false
1510
q1 = Instance.new("Sound",hed)
1511
q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
1512
q1.Pitch = 0.85
1513
q1.Looped = false
1514
q:Play()
1515
q1:Play()
1516
    for i = 1,20 do
1517
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
1518
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
1519
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
1520
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
1521
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
1522
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
1523
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
1524
        if Debounces.on == false then break end
1525
    wait()
1526
end
1527
n = Instance.new("Sound",hed)
1528
n.SoundId = "http://www.roblox.com/asset/?id=168514932"
1529
n.Pitch = 0.94
1530
n.Looped = false
1531
n1 = Instance.new("Sound",hed)
1532
n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
1533
n1.Pitch = 0.94
1534
n1.Looped = false
1535
n:Play()
1536
n1:Play()
1537
b = Instance.new("Sound",hed)
1538
b.SoundId = "http://www.roblox.com/asset/?id=168586586"
1539
b.Pitch = 0.94
1540
b.Looped = false
1541
b1 = Instance.new("Sound",hed)
1542
b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
1543
b1.Pitch = 0.94
1544
b1.Looped = false
1545
b:Play()
1546
b1:Play()
1547
    for i = 1,26 do
1548
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
1549
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
1550
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
1551
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
1552
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
1553
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
1554
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
1555
        if Debounces.on == false then break end
1556
    wait()
1557
end
1558
wait(.5)
1559
to:disconnect()
1560
q:Destroy()
1561
q1:Destroy()
1562
n:Destroy()
1563
n1:Destroy()
1564
larm.BrickColor = BrickColor.new("Institutional white")
1565
rarm.BrickColor = BrickColor.new("Institutional white")
1566
    if Debounces.CanAttack == false then
1567
        Debounces.CanAttack = true
1568
        Debounces.on = false
1569
        Debounces.NoIdl = false
1570
            end
1571
        end
1572
    end
1573
end)
1574
----------------------------------------------------
1575
mouse.KeyDown:connect(function(key)
1576
    if key == "q" then
1577
        larm.BrickColor = BrickColor.new("Bright red")
1578
        rarm.BrickColor = BrickColor.new("Bright red")
1579
        if Debounces.CanAttack == true then
1580
        Debounces.CanAttack = false
1581
        Debounces.on = true
1582
        Debounces.NoIdl = true
1583
to = char.Absolution.Thingy2.Touched:connect(function(ht)
1584
        hit = ht.Parent
1585
        if ht and hit:IsA("Model") then
1586
                if hit:FindFirstChild("Humanoid") then
1587
                    if hit.Name ~= p.Name then
1588
                        --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1589
                                Debounces.Slashed = true]]--
1590
                                    hit:FindFirstChild("Humanoid"):TakeDamage(4)
1591
                                wait(1)
1592
                                --Debounces.Slashed = false
1593
                        --end
1594
                    end
1595
                end
1596
        elseif ht and hit:IsA("Hat") then
1597
            if hit.Parent.Name ~= p.Name then
1598
                if hit.Parent:FindFirstChild("Humanoid") then
1599
                       --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
1600
                                Debounces.Slashed = true]]--
1601
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
1602
                                wait(1)
1603
                    --Debounces.Slashed = false
1604
                end
1605
            end
1606
        end    
1607
    end)
1608
        for i = 1, 20 do
1609
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
1610
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
1611
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
1612
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
1613
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
1614
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
1615
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
1616
        if Debounces.on == false then break end
1617
        wait()
1618
    end
1619
    z = Instance.new("Sound",hed)
1620
    z.SoundId = "rbxassetid://160069154"
1621
    z.Looped = false
1622
    z.Pitch = .9
1623
    z1 = Instance.new("Sound",hed)
1624
    z1.SoundId = "rbxassetid://160069154"
1625
    z1.Looped = false
1626
    z1.Pitch = .9
1627
    wait(0.01)
1628
    z:Play()
1629
    z1:Play()
1630
        for i = 1, 12 do
1631
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
1632
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
1633
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
1634
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
1635
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
1636
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
1637
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
1638
        if Debounces.on == false then break end
1639
        wait()
1640
    end
1641
        for i = 1, 12 do
1642
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
1643
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
1644
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
1645
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
1646
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
1647
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
1648
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
1649
        if Debounces.on == false then break end
1650
        wait()
1651
    end
1652
    z = Instance.new("Sound",hed)
1653
    z.SoundId = "rbxassetid://168586621"
1654
    z.Looped = false
1655
    z.Pitch = 1
1656
    z1 = Instance.new("Sound",hed)
1657
    z1.SoundId = "rbxassetid://168586621"
1658
    z1.Looped = false
1659
    z1.Pitch = 1
1660
    wait(0.01)
1661
    z:Play()
1662
    z1:Play()
1663
        for i = 1, 12 do
1664
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
1665
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
1666
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
1667
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
1668
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
1669
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
1670
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
1671
        if Debounces.on == false then break end
1672
        wait()
1673
    end
1674
to:disconnect()
1675
larm.BrickColor = BrickColor.new("Institutional white")
1676
rarm.BrickColor = BrickColor.new("Institutional white")
1677
    if Debounces.CanAttack == false then
1678
        Debounces.CanAttack = true
1679
        Debounces.on = false
1680
        Debounces.NoIdl = false
1681
            end
1682
        end
1683
    end
1684
end)
1685
----------------------------------------------------
1686
Sit = false
1687
mouse.KeyDown:connect(function(key)
1688
    if key == "v" then
1689
        if Sit == false then
1690
            Sit = true
1691
            hum.WalkSpeed = 0.001
1692
        stanceToggle = "Sitting"
1693
    elseif Sit == true then
1694
        Sit = false
1695
            hum.WalkSpeed = 7
1696
        stanceToggle = "Normal"
1697
        end
1698
    end
1699
end)
1700
----------------------------------------------------
1701
mouse.KeyDown:connect(function(key)
1702
    if key == "t" then
1703
        if Debounces.CanAttack == true then
1704
        Debounces.CanAttack = false
1705
        Debounces.on = true
1706
        Debounces.NoIdl = true
1707
        for i = 1, 20 do
1708
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) *  CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
1709
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) *  CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
1710
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
1711
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
1712
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
1713
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
1714
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
1715
            if Debounces.on == false then break end
1716
            wait()
1717
        end
1718
        Spawn(function()
1719
            local Parts = {}
1720
            for Y = -5,5 do
1721
                local P = Instance.new("Part",char)
1722
                P.Anchored = true
1723
                P.FormFactor = "Custom"
1724
                P.CanCollide = false
1725
                P.Size = Vector3.new(1,2,1)
1726
                P.TopSurface = "SmoothNoOutlines"
1727
                P.BottomSurface = "SmoothNoOutlines"
1728
                P.BrickColor = BrickColor.new("Institutional white")
1729
                P.Name = tostring(Y)
1730
                local i = (Y+5)/(10)
1731
                i = 1-math.cos(math.pi*i-(math.pi/2))
1732
                P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
1733
                --[[P.Touched:connect(function(ht)
1734
                    local hit = ht.Parent
1735
                    if hit:FindFirstChild("Humanoid") then
1736
                        hit.Humanoid:TakeDamage(math.random(20,50))
1737
                    end
1738
                end)]]--
1739
        s = Instance.new("Sound",P)
1740
        s.SoundId = "rbxassetid://228343271"
1741
        s.Volume = .7
1742
        s.Pitch = 0.9
1743
        s:Play()
1744
P.Touched:connect(function(ht)
1745
        hit = ht.Parent
1746
        if ht and hit:IsA("Model") then
1747
                if hit:FindFirstChild("Humanoid") then
1748
                    if hit.Name ~= p.Name then
1749
                        --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1750
                                Debounces.Slashed = true]]--
1751
                                    hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
1752
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1753
                                wait(1)
1754
                                --Debounces.Slashed = false
1755
                        --end
1756
                end
1757
                end
1758
        elseif ht and hit:IsA("Hat") then
1759
            if hit.Parent.Name ~= p.Name then
1760
                if hit.Parent:FindFirstChild("Humanoid") then
1761
                        --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1762
                                Debounces.Slashed = true]]--
1763
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
1764
                                hit:FindFirstChild("Humanoid").PlatformStand = true
1765
                                wait(1)
1766
                    --Debounces.Slashed = false
1767
                --end
1768
            end
1769
        end
1770
    end
1771
end)
1772
                Parts[#Parts+1] = P
1773
            end
1774
            local BREAKIT = false
1775
            local CParts = {}
1776
            local Rocks = {}
1777
            local LastPos = nil
1778
            for i = 1,70 do
1779
                for i2,v in pairs(Parts) do
1780
                    v.CFrame = v.CFrame*CFrame.new(0,0,-4)
1781
                    local cf = v.CFrame
1782
                    v.Size = v.Size+Vector3.new(0.4,0.35,0)
1783
                    v.CFrame = cf
1784
                    v.Transparency = v.Transparency+0.02
1785
                    if v.Transparency >= 0.975 then BREAKIT = true end
1786
                    if v.Name == "0" then
1787
                        local Ignore = {}
1788
                        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1789
                            if v.Character ~= nil then
1790
                                Ignore[#Ignore+1] = v.Character
1791
                            end
1792
                        end
1793
                        local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
1794
                        local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
1795
                        if Hit ~= nil then
1796
                            if #Rocks == 0 then
1797
                                for i = 1,5 do
1798
                                    local P = Instance.new("Part",char)
1799
                                    Rocks[#Rocks+1] = P
1800
                                    P.Anchored = true
1801
                                    P.FormFactor = "Custom"
1802
                                    P.BrickColor = Hit.BrickColor
1803
                                    P.Material = Hit.Material
1804
                                    P.TopSurface = "Smooth"
1805
                                    P.BottomSurface = "Smooth"
1806
                                    P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
1807
                                end
1808
                            end
1809
                            for i,P in pairs(Rocks) do
1810
                                P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
1811
                            end
1812
                            local P = Instance.new("Part",char)
1813
                            CParts[#CParts+1] = {P,tick()}
1814
                            P.Anchored = true
1815
                            P.FormFactor = "Custom"
1816
                            P.BrickColor = Hit.BrickColor
1817
                            P.Material = Hit.Material
1818
                            P.TopSurface = "Smooth"
1819
                            P.BottomSurface = "Smooth"
1820
                            P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
1821
                            Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
1822
                            Pos = Pos.p
1823
                            P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
1824
                            local P = P:Clone()
1825
                            CParts[#CParts+1] = {P,tick()}
1826
                            P.Parent = char
1827
                            Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
1828
                            Pos = Pos.p
1829
                            P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
1830
                            if LastPos ~= nil then
1831
                                local P = P:Clone()
1832
                                CParts[#CParts+1] = {P,tick()}
1833
                                P.Parent = char
1834
                                P.BrickColor = BrickColor.new("Institutional white")
1835
                                Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
1836
                                Pos = Pos.p
1837
                                local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
1838
                                P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
1839
                                --P.Velocity = Vector3.new(0,-1000,0)
1840
                                P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
1841
                            end
1842
                            LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
1843
                        end
1844
                    end
1845
                end
1846
                if BREAKIT then break end
1847
                wait(0.002)
1848
            end
1849
            for i,v in pairs(Rocks) do
1850
                CParts[#CParts+1] = {v,tick()}
1851
            end
1852
            for i,v in pairs(Parts) do
1853
                v:Destroy()
1854
            end
1855
            Parts = nil
1856
            while true do
1857
                local t = tick()
1858
                local p = nil
1859
                for i,v in pairs(CParts) do
1860
                    if t-v[2] > 4 then
1861
                        v[1].Transparency = v[1].Transparency+0.05
1862
                        if v[1].Transparency >= 1 then
1863
                            v[1]:Destroy()
1864
                            CParts[i] = nil
1865
                        end
1866
                    end
1867
                    p = v
1868
                end
1869
                if p == nil then break end
1870
                wait(0.002)
1871
            end
1872
            for i,v in pairs(CParts) do
1873
                v:Destroy()
1874
            end
1875
            CParts = {}
1876
        end)
1877
        for i = 1, 20 do
1878
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) *   CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
1879
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) *   CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
1880
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
1881
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
1882
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
1883
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
1884
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
1885
            if Debounces.on == false then break end
1886
            wait()
1887
        end
1888
    if Debounces.CanAttack == false then
1889
        Debounces.CanAttack = true
1890
        Debounces.on = false
1891
        Debounces.NoIdl = false
1892
            end
1893
        end
1894
    end
1895
end)
1896
----------------------------------------------------
1897
mouse.KeyDown:connect(function(key)
1898
    if key == "e" then
1899
    larm.BrickColor = BrickColor.new("Bright red")
1900
    rarm.BrickColor = BrickColor.new("Bright red")
1901
        if Debounces.CanAttack == true then
1902
        Debounces.CanAttack = false
1903
        Debounces.on = true
1904
        Debounces.NoIdl = true
1905
        for i = 1, 18 do
1906
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
1907
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
1908
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
1909
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
1910
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
1911
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
1912
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
1913
        if Debounces.on == false then break end
1914
            wait()
1915
        end
1916
        local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
1917
        local rng = Instance.new("Part", char.Absolution.Handle)
1918
        rng.Anchored = true
1919
        rng.BrickColor = BrickColor.new("Institutional white")
1920
        rng.CanCollide = true
1921
        rng.FormFactor = 3
1922
        rng.Name = "Ring"
1923
        rng.Size = Vector3.new(1, 1, 1)
1924
        rng.CanCollide = false
1925
        rng.Transparency = 0.35
1926
        rng.TopSurface = 0
1927
        rng.BottomSurface = 0
1928
        rng.CFrame = HandCF
1929
        local rngm = Instance.new("SpecialMesh", rng)
1930
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1931
        rngm.Scale = Vector3.new(1, 1, 2)
1932
            x = Instance.new("Sound", hed)
1933
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
1934
            x.Looped = false
1935
            x.Pitch = .7
1936
            x.Volume = 1
1937
            x1 = Instance.new("Sound", hed)
1938
            x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
1939
            x1.Looped = false
1940
            x1.Pitch = .7
1941
            x1.Volume = 1
1942
            x:Play()
1943
            x1:Play()
1944
            rngto = rng.Touched:connect(function(ht)
1945
            hit = ht.Parent
1946
            if ht and hit:IsA("Model") then
1947
                    if hit:FindFirstChild("Humanoid") then
1948
                        if hit.Name ~= p.Name then
1949
                            --[[if Debounces.Slashing == true and Debounces.Slashed == false then
1950
                                    Debounces.Slashed = true]]--
1951
                                    hit:FindFirstChild("Humanoid"):TakeDamage(4)
1952
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1953
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
1954
                                    --Debounces.Slashed = false
1955
                            --end
1956
                        end
1957
                    end
1958
            elseif ht and hit:IsA("Hat") then
1959
                if hit.Parent.Name ~= p.Name then
1960
                    if hit.Parent:FindFirstChild("Humanoid") then
1961
                           --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
1962
                                    Debounces.Slashed = true]]--
1963
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
1964
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1965
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
1966
                        --Debounces.Slashed = false
1967
                    end
1968
                end
1969
            end    
1970
        end)
1971
                coroutine.wrap(function()
1972
                for i = 1, 60, 2 do
1973
                rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
1974
                rng.Size = rngm.Scale
1975
                rng.CFrame = HandCF
1976
                rng.Transparency = i/60
1977
                wait()
1978
                end
1979
                wait()
1980
                rng:Destroy()
1981
                end)()
1982
        for i = 1, 18 do
1983
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
1984
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
1985
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
1986
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
1987
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
1988
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
1989
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
1990
        if Debounces.on == false then break end
1991
            wait()
1992
        end
1993
        larm.BrickColor = BrickColor.new("Institutional white")
1994
        rarm.BrickColor = BrickColor.new("Institutional white")
1995
        x:Destroy()
1996
        x1:Destroy()
1997
    if Debounces.CanAttack == false then
1998
        Debounces.CanAttack = true
1999
        Debounces.on = false
2000
        Debounces.NoIdl = false
2001
            end
2002
        end
2003
    end
2004
end)
2005
----------------------------------------------------
2006
mouse.KeyDown:connect(function(key)
2007
	if key == "y" then
2008
		if Debounces.CanAttack == true then
2009
            Debounces.CanAttack = false
2010
            Debounces.on = true
2011
            Debounces.NoIdl = true
2012
				for i = 1, 15 do
2013
					rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
2014
					larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
2015
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
2016
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
2017
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
2018
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
2019
					cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2020
                    if Debounces.on == false then break end
2021
                    wait()
2022
                end
2023
				x = Instance.new("Sound",char)
2024
				x.SoundId = "rbxassetid://228343271"
2025
				x.Pitch = 1
2026
				x.Volume = .8
2027
				wait(.1)
2028
				x:Play()
2029
				Debounces.on = false
2030
				Debounces.Here = false
2031
				shot = shot + 1
2032
local rng = Instance.new("Part", char)
2033
rng.Anchored = true
2034
rng.BrickColor = BrickColor.new("Institutional white")
2035
rng.CanCollide = false
2036
rng.FormFactor = 3
2037
rng.Name = "Ring"
2038
rng.Size = Vector3.new(1, 1, 1)
2039
rng.Transparency = 0.35
2040
rng.TopSurface = 0
2041
rng.BottomSurface = 0
2042
rng2 = rng:clone()
2043
rng3 = rng2:clone()
2044
rng4 = rng2:clone()
2045
local rngm = Instance.new("SpecialMesh", rng)
2046
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2047
rngm.Scale = Vector3.new(10, 10, 1)
2048
rngm2 = rngm:clone()
2049
rngm2.Scale = Vector3.new(5, 5, 1)
2050
rngm3=rngm2:clone()
2051
rngm3.Parent = rng3
2052
rngm3.Scale = Vector3.new(8, 8, 1)
2053
rngm4 = rngm2:clone()
2054
rngm4.Parent = rng4
2055
rngm4.Scale = Vector3.new(6, 6, 1)
2056
local bem = Instance.new("Part", char)
2057
bem.Anchored = true
2058
bem.BrickColor = BrickColor.new("Institutional white")
2059
bem.CanCollide = false
2060
bem.FormFactor = 3
2061
bem.Name = "Beam" .. shot
2062
bem.Size = Vector3.new(1, 1, 1)
2063
bem.Transparency = 0.35
2064
bem.TopSurface = 0
2065
bem.BottomSurface = 0
2066
local bemm = Instance.new("SpecialMesh", bem)
2067
bemm.MeshType = 4
2068
bemm.Scale = Vector3.new(1, 4, 4)
2069
local out = Instance.new("Part", char)
2070
out.Anchored = true
2071
out.BrickColor = BrickColor.new("Institutional white")
2072
out.CanCollide = false
2073
out.FormFactor = 3
2074
out.Name = "Out"
2075
out.Size = Vector3.new(4, 4, 4)
2076
out.Transparency = 0.35
2077
out.TopSurface = 0
2078
out.BottomSurface = 0
2079
local outm = Instance.new("SpecialMesh", out)
2080
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
2081
outm.Scale = Vector3.new(4, 4, 4)
2082
local bnd = Instance.new("Part", char)
2083
bnd.Anchored = true
2084
bnd.BrickColor = BrickColor.new("Institutional white")
2085
bnd.CanCollide = false
2086
bnd.FormFactor = 3
2087
bnd.Name = "Bend"
2088
bnd.Size = Vector3.new(1, 1, 1)
2089
bnd.Transparency = 1
2090
bnd.TopSurface = 0
2091
bnd.BottomSurface = 0
2092
local bndm = Instance.new("SpecialMesh", bnd)
2093
bndm.MeshType = 3
2094
bndm.Scale = Vector3.new(8, 8, 8)
2095
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
2096
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
2097
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
2098
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
2099
rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
2100
rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
2101
Debounces.Shewt = true
2102
coroutine.wrap(function()
2103
for i = 1, 20, 0.2 do
2104
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
2105
rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
2106
rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
2107
rng.Transparency = i/20
2108
rng3.Transparency = 1/16
2109
rng4.Transparency = i/12
2110
wait()
2111
end
2112
wait()
2113
rng:Destroy()
2114
end)()
2115
if Debounces.Shewt == true then
2116
char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
2117
hit = ht.Parent
2118
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
2119
if HasntTouched(hit.Name) == true and deb == false then
2120
deb = true
2121
coroutine.wrap(function()
2122
hit:FindFirstChild("Humanoid").PlatformStand = true
2123
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
2124
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
2125
end)()
2126
table.insert(Touche, hit.Name)
2127
deb = false
2128
end
2129
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
2130
if HasntTouched(hit.Parent.Name) == true and deb == false then
2131
deb = true
2132
coroutine.wrap(function()
2133
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
2134
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
2135
wait(1)
2136
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
2137
end)()
2138
table.insert(Touche, hit.Parent.Name)
2139
deb = false
2140
for i, v in pairs(Touche) do
2141
print(v)
2142
end
2143
end
2144
end
2145
end)
2146
end
2147
for i = 0, 260, 8 do
2148
bem.Size = Vector3.new(i, 2, 2)
2149
bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
2150
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
2151
bnd.Size = Vector3.new(1,1,1)
2152
bndm.Scale = Vector3.new(8,8,8)
2153
if i % 10 == 0 then
2154
local newRng = rng2:Clone()
2155
newRng.Parent = char
2156
newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
2157
local newRngm = rngm2:clone()
2158
newRngm.Parent=newRng
2159
coroutine.wrap(function()
2160
for i = 1, 10, 0.2 do
2161
newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
2162
newRng.Transparency = i/10
2163
wait()
2164
end
2165
wait()
2166
newRng:Destroy()
2167
end)()
2168
end
2169
wait()
2170
end
2171
wait()
2172
Debounces.Shewt = false
2173
bem:Destroy()
2174
out:Destroy()
2175
bnd:Destroy()
2176
Debounces.Ready = false
2177
for i, v in pairs(Touche) do
2178
table.remove(Touche, i)
2179
end
2180
wait()
2181
table.insert(Touche, char.Name)
2182
Debounces.NoIdl = false
2183
if Debounces.CanAttack == false then
2184
Debounces.CanAttack = true
2185
end
2186
end
2187
end
2188
end)
2189
----------------------------------------------------
2190
sidz = {"231917888", "231917845", "231917806"}
2191
ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
2192
mouse.KeyDown:connect(function(key)
2193
    if key == "f" then
2194
    larm.BrickColor = BrickColor.new("Bright red")
2195
    rarm.BrickColor = BrickColor.new("Bright red")
2196
        if Debounces.CanAttack == true then
2197
            Debounces.CanAttack = false
2198
            Debounces.on = true
2199
            Debounces.NoIdl = true
2200
                for i = 1, 10 do
2201
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
2202
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
2203
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
2204
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
2205
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
2206
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
2207
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2208
                    if Debounces.on == false then break end
2209
                    wait()
2210
                end
2211
                z = Instance.new("Sound",char)
2212
                z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
2213
                z.Pitch = ptz[math.random(1,#ptz)]
2214
                z.Volume = 1
2215
                z1 = Instance.new("Sound",char)
2216
                z1.SoundId = z.SoundId
2217
                z1.Pitch = z.Pitch
2218
                z1.Volume = 1
2219
                wait(1)
2220
                z:Play()
2221
                z1:Play()
2222
                Stomp()
2223
                for i = 1, 20 do
2224
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
2225
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
2226
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
2227
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
2228
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
2229
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
2230
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2231
                    if Debounces.on == false then break end
2232
                    wait()
2233
                end
2234
        if Debounces.CanAttack == false then
2235
            Debounces.CanAttack = true
2236
            Debounces.on = false
2237
            Debounces.NoIdl = false
2238
            larm.BrickColor = BrickColor.new("Institutional white")
2239
            rarm.BrickColor = BrickColor.new("Institutional white")
2240
            end
2241
        end
2242
    end
2243
end)    
2244
----------------------------------------------------
2245
mouse.KeyDown:connect(function(key)
2246
    if key == "g" then
2247
    larm.BrickColor = BrickColor.new("Bright red")
2248
    rarm.BrickColor = BrickColor.new("Bright red")
2249
        if Debounces.CanAttack == true then
2250
        Debounces.CanAttack = false
2251
        Debounces.on = true
2252
        Debounces.NoIdl = true
2253
        chrg = lleg.Touched:connect(function(ht)
2254
        hit = ht.Parent
2255
            if ht and hit:IsA("Model") then
2256
                    if hit:FindFirstChild("Humanoid") then
2257
                        if hit.Name ~= p.Name then
2258
                            --[[if Debounces.Slashing == true and Debounces.Slashed == false then
2259
                                    Debounces.Slashed = true]]--
2260
                                    hit:FindFirstChild("Humanoid"):TakeDamage(2)
2261
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
2262
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
2263
                                    --Debounces.Slashed = false
2264
                            --end
2265
                        end
2266
                    end
2267
            elseif ht and hit:IsA("Hat") then
2268
                if hit.Parent.Name ~= p.Name then
2269
                    if hit.Parent:FindFirstChild("Humanoid") then
2270
                           --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
2271
                                    Debounces.Slashed = true]]--
2272
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
2273
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
2274
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
2275
                        --Debounces.Slashed = false
2276
                    end
2277
                end
2278
            end    
2279
        end)
2280
        for i = 1, 14 do
2281
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
2282
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
2283
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
2284
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
2285
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
2286
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
2287
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
2288
            if Debounces.on == false then break end
2289
            wait()
2290
        end
2291
        charge()
2292
        z = Instance.new("Sound",char)
2293
        z.SoundId = "rbxassetid://200632875"
2294
        z.Volume = 1
2295
        z.Pitch = .8
2296
        z1 = Instance.new("Sound",char)
2297
        z1.SoundId = "rbxassetid://200632875"
2298
        z1.Volume = 1
2299
        z1.Pitch = .9
2300
        z:Play()
2301
        z1:Play()
2302
        wait(1)
2303
        z:Destroy()
2304
        z1:Destroy()
2305
        chrg:disconnect()
2306
        if Debounces.CanAttack == false then
2307
            Debounces.CanAttack = true
2308
            Debounces.on = false
2309
            Debounces.NoIdl = false
2310
            larm.BrickColor = BrickColor.new("Institutional white")
2311
            rarm.BrickColor = BrickColor.new("Institutional white")
2312
            end
2313
        end
2314
    end
2315
end)
2316
----------------------------------------------------
2317
pt = {0.7, 0.8, 0.9}
2318
mouse.KeyDown:connect(function(key)
2319
    if key == "h" then
2320
        if Debounces.CanJoke == true then
2321
            Debounces.CanJoke = false
2322
            u = Instance.new("Sound")
2323
            u.SoundId = "http://www.roblox.com/asset/?id=333446256"
2324
            u.Parent = char
2325
            u.Looped = false
2326
            u.Pitch = pt[math.random(1,#pt)]
2327
            u.Volume = 1
2328
            u2 = Instance.new("Sound")
2329
            u2.SoundId = "http://www.roblox.com/asset/?id=333446256"
2330
            u2.Parent = char
2331
            u2.Looped = false
2332
            u2.Pitch = u.Pitch
2333
            u2.Volume = 1
2334
            wait(.01)
2335
            u:Play()
2336
            u2:Play()
2337
            wait(6)
2338
            u:Destroy()
2339
            u2:Destroy()
2340
            if Debounces.CanJoke == false then
2341
                Debounces.CanJoke = true
2342
            end
2343
        end
2344
    end
2345
end)
2346
----------------------------------------------------
2347
mouse.KeyDown:connect(function(key)
2348
    if key == "l" then
2349
			if Debounces.CanJoke == true then
2350
				Debounces.CanJoke = false
2351
                z = Instance.new("Sound",char)
2352
                z.SoundId = "rbxassetid://233774928"
2353
                z.Pitch = .76
2354
                z.Volume = 1
2355
				wait()
2356
				z:Play()
2357
				wait(6)
2358
				z:Destroy()
2359
			if Debounces.CanJoke == false then
2360
				Debounces.CanJoke = true
2361
			end
2362
		end
2363
	end
2364
end)
2365
----------------------------------------------------
2366
mouse.KeyDown:connect(function(key)
2367
    if key == "j" then
2368
			if Debounces.CanJoke == true then
2369
				Debounces.CanJoke = false
2370
                z = Instance.new("Sound",char)
2371
                z.SoundId = "rbxassetid://135017456"
2372
                z.Pitch = .76
2373
                z.Volume = 1
2374
				wait()
2375
				z:Play()
2376
				wait(6)
2377
				z:Destroy()
2378
			if Debounces.CanJoke == false then
2379
				Debounces.CanJoke = true
2380
			end
2381
		end
2382
	end
2383
end)
2384
----------------------------------------------------
2385
mouse.KeyDown:connect(function(key)
2386
    if key == "n" then
2387
			if Debounces.CanJoke == true then
2388
				Debounces.CanJoke = false
2389
                z = Instance.new("Sound",char)
2390
                z.SoundId = "rbxassetid://130792236"
2391
                z.Pitch = .76
2392
                z.Volume = 1
2393
				wait()
2394
				z:Play()
2395
				wait(6)
2396
				z:Destroy()
2397
			if Debounces.CanJoke == false then
2398
				Debounces.CanJoke = true
2399
			end
2400
		end
2401
	end
2402
end)
2403
----------------------------------------------------
2404
mouse.KeyDown:connect(function(key)
2405
    if key == "k" then
2406
			if Debounces.CanJoke == true then
2407
				Debounces.CanJoke = false
2408
                z = Instance.new("Sound",char)
2409
                z.SoundId = "rbxassetid://135014184"
2410
                z.Pitch = .76
2411
                z.Volume = 1
2412
				wait()
2413
				z:Play()
2414
				wait(4)
2415
				z:Destroy()
2416
			if Debounces.CanJoke == false then
2417
				Debounces.CanJoke = true
2418
			end
2419
		end
2420
	end
2421
end)
2422
----------------------------------------------------
2423
mouse.KeyDown:connect(function(key)
2424
    if key == "x" then
2425
        if Debounces.CanAttack == true then
2426
            Debounces.CanAttack = false
2427
            Debounces.NoIdl = true
2428
            Debounces.on = true
2429
            Debounces.ks = true
2430
        for i = 1, 10 do
2431
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
2432
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.7,.9,-.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
2433
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
2434
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
2435
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
2436
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
2437
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2438
            if Debounces.on == false then break end
2439
            wait()
2440
        end
2441
        z = Instance.new("Sound",hed)
2442
        z.SoundId = "rbxassetid://169445092"
2443
        z.Volume = 1
2444
        wait(0.1)
2445
        z:Play()
2446
        kik = rleg.Touched:connect(function(ht)
2447
        hit = ht.Parent
2448
            if ht and hit:IsA("Model") then
2449
                    if hit:FindFirstChild("Humanoid") then
2450
                        if hit.Name ~= p.Name then
2451
                            --[[if Debounces.Slashing == true and Debounces.Slashed == false then
2452
                                    Debounces.Slashed = true]]--
2453
                                    if Debounces.ks==true then
2454
                                    z = Instance.new("Sound",hed)
2455
                                    z.SoundId = "rbxassetid://169380525"
2456
                                    z.Volume = 1
2457
                                    z:Play()
2458
                                    Debounces.ks=false
2459
                                    end
2460
                                    hit:FindFirstChild("Humanoid"):TakeDamage(2)
2461
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
2462
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
2463
                            --Debounces.Slashed = false
2464
                        --end
2465
                    end
2466
                end
2467
            elseif ht and hit:IsA("Hat") then
2468
                if hit.Parent.Name ~= p.Name then
2469
                    if hit.Parent:FindFirstChild("Humanoid") then
2470
                           --[[if Debounces.Slashing == true and Debounces.Slashed == false then
2471
                                    Debounces.Slashed = true]]--
2472
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
2473
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
2474
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
2475
                            --Debounces.Slashed = false
2476
                        --end
2477
                    end
2478
                end
2479
            end    
2480
        end)
2481
        for i = 1, 8 do
2482
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
2483
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
2484
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
2485
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
2486
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
2487
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
2488
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2489
            if Debounces.on == false then break end
2490
            wait()
2491
        end
2492
        kik:disconnect()
2493
        if Debounces.CanAttack == false then
2494
            Debounces.CanAttack = true
2495
            Debounces.on = false
2496
            Debounces.NoIdl = false
2497
            end
2498
        end
2499
    end
2500
end)
2501
----------------------------------------------------
2502
mouse.KeyDown:connect(function(key)
2503
    if key == "c" then
2504
        if Debounces.CanAttack == true then
2505
            Debounces.CanAttack = false
2506
            Debounces.NoIdl = true
2507
            Debounces.on = true
2508
            SIDZ = {"231917744", "231917742"}
2509
            PTZ = {0.7, 0.8, 0.9, 1}
2510
                for i = 1, 20 do
2511
                    wait()
2512
                        for i,v in pairs(char.Absolution:children()) do
2513
                    if v:IsA("Part") or v:IsA("WedgePart") then
2514
                        v.Transparency = v.Transparency + 0.05
2515
                        end
2516
                    end
2517
                end
2518
                function FindNearestTorso(Position,Distance,SinglePlayer)
2519
                    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
2520
                        local List = {}
2521
                        for i,v in pairs(workspace:GetChildren())do
2522
                            if v:IsA("Model")then
2523
                                if v:findFirstChild("Torso")then
2524
                                    if v ~= char then
2525
                                        if(v.Torso.Position -Position).magnitude <= Distance then
2526
                                            table.insert(List,v)
2527
                                        end 
2528
                                    end 
2529
                                end 
2530
                            end 
2531
                        end
2532
                    return List
2533
                end
2534
                GroundPound()
2535
                for i = 1, 5 do
2536
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
2537
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
2538
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2539
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2540
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2541
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2542
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2543
                    if Debounces.on == false then break end
2544
                    wait()
2545
                end
2546
                GroundPound()
2547
                for i = 1, 5 do
2548
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
2549
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
2550
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2551
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2552
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2553
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2554
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2555
                    if Debounces.on == false then break end
2556
                    wait()
2557
                end
2558
                GroundPound()
2559
                for i = 1, 5 do
2560
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
2561
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
2562
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2563
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2564
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2565
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2566
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2567
                    if Debounces.on == false then break end
2568
                    wait()
2569
                end
2570
                GroundPound()
2571
                for i = 1, 5 do
2572
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
2573
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
2574
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2575
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2576
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2577
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2578
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2579
                    if Debounces.on == false then break end
2580
                    wait()
2581
                end
2582
                GroundPound()
2583
                for i = 1, 5 do
2584
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
2585
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
2586
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2587
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2588
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2589
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2590
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2591
                    if Debounces.on == false then break end
2592
                    wait()
2593
                end
2594
                GroundPound()
2595
                for i = 1, 5 do
2596
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
2597
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
2598
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2599
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2600
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2601
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2602
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
2603
                    if Debounces.on == false then break end
2604
                    wait()
2605
                end
2606
                for i = 1, 18 do
2607
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
2608
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
2609
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
2610
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
2611
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
2612
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
2613
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2614
                    if Debounces.on == false then break end
2615
                    wait()
2616
                end
2617
                for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
2618
                    if v:FindFirstChild('Humanoid') then
2619
                        v.Humanoid:TakeDamage(math.random(20,60))
2620
                        v.Humanoid.PlatformStand = true
2621
                        v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
2622
                    end
2623
                end
2624
                x = Instance.new("Sound",char)
2625
                x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
2626
                x.Pitch = PTZ[math.random(1,#PTZ)]
2627
                x.Volume = 1
2628
                wait(0.1)
2629
                x:Play()
2630
                Crater(hed,20)
2631
                for i = 1, 14 do
2632
                    rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
2633
                    larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
2634
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
2635
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
2636
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
2637
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
2638
                    cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2639
                    if Debounces.on == false then break end
2640
                    wait()
2641
                end
2642
            if Debounces.CanAttack == false then
2643
                Debounces.CanAttack = true
2644
                Debounces.on = false
2645
                Debounces.NoIdl = false
2646
                for i = 1, 20 do
2647
                    wait()
2648
                        for i,v in pairs(char.Absolution:children()) do
2649
                    if v:IsA("Part") or v:IsA("WedgePart") then
2650
                        v.Transparency = v.Transparency - 0.05
2651
                        end
2652
                    end
2653
                end
2654
            end
2655
        end
2656
    end
2657
end)
2658
----------------------------------------------------176349813
2659
mouse.KeyDown:connect(function(key)
2660
    if key == "b" then
2661
        hum.WalkSpeed = 0.01
2662
        if Debounces.CanAttack == true then
2663
            Debounces.CanAttack = false
2664
            Debounces.NoIdl = true
2665
            Debounces.on = true
2666
            for i = 1,20 do
2667
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
2668
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
2669
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
2670
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
2671
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
2672
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
2673
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2674
            if Debounces.on == false then break end
2675
            wait()
2676
            end
2677
        wait(1)
2678
        v = Instance.new("Sound")
2679
        v.SoundId = "rbxassetid://181384451"
2680
        v.Parent = char
2681
        v.Looped = false
2682
        v.Pitch = 1.04
2683
        v.Volume = 1
2684
        wait(.01)
2685
        v:Play()
2686
        
2687
        if Daytime == true then
2688
            Daytime = false
2689
            l.TimeOfDay = 24
2690
        else
2691
            Daytime = true
2692
            l.TimeOfDay = 12
2693
            l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
2694
        end
2695
        
2696
            local Shockwave = function()
2697
                local rng1 = Instance.new("Part", char)
2698
                rng1.Anchored = true
2699
                rng1.BrickColor = BrickColor.new("Institutional white")
2700
                rng1.CanCollide = false
2701
                rng1.FormFactor = 3
2702
                rng1.Name = "Ring"
2703
                rng1.Size = Vector3.new(1, 1, 1)
2704
                rng1.Transparency = 0.35
2705
                rng1.TopSurface = 0
2706
                rng1.BottomSurface = 0
2707
                local rngm1 = Instance.new("SpecialMesh", rng)
2708
                rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
2709
                rngm1.Scale = Vector3.new(10, 10, 1)
2710
                rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
2711
                local Wave = Instance.new("Part", game.Workspace--[[?]])
2712
                Wave.Name = "Shockwave"
2713
                Wave.BrickColor = BrickColor.new("Institutional white")
2714
                Wave.Size = Vector3.new(1, 1, 1)
2715
                Wave.Shape = "Ball"
2716
                Wave.CanCollide = false
2717
                Wave.Anchored = true
2718
                Wave.TopSurface = 0
2719
                Wave.BottomSurface = 0
2720
                Wave.Touched:connect(function(hit)
2721
                    if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
2722
                        local Occlude = true
2723
                        local NotOccludes = {
2724
                            char.Name;
2725
                            "Wings";
2726
                            "Scythe";
2727
                            "Thingy";
2728
                            "Thingy2"; -- put all of the names in a table pls
2729
                        }
2730
                        for i,v in pairs(NotOccludes) do
2731
                            if hit.Parent.Name == v then
2732
                                Occlude = false
2733
                            end
2734
                        end
2735
                        --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name     ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and     hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
2736
                        if Occlude then
2737
                            hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
2738
                            hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
2739
                        end
2740
                    end
2741
                end)
2742
                
2743
                Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
2744
                
2745
                coroutine.wrap(function()
2746
                    for i = 1, 20, 0.2 do
2747
                        rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
2748
                        rng1.Transparency = i/20
2749
                    wait()
2750
                    end
2751
                    wait()
2752
                    rng1:Destroy()
2753
                end)()
2754
                
2755
                Delay(0, function()
2756
2757
                    if Daytime == false then
2758
                       for i = 1, 50, 1 do
2759
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
2760
                            Wave.CFrame = char.Torso.CFrame
2761
                            local t = i / 50
2762
                            Wave.Transparency = t
2763
                            wait()
2764
                        end
2765
                    else
2766
                        for i = 1, 50, 1 do
2767
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
2768
                            Wave.CFrame = char.Torso.CFrame
2769
                            local t = i / 50
2770
                            Wave.Transparency = t
2771
                            wait()
2772
                        end
2773
                    end
2774
                    Wave:Destroy()
2775
                end)
2776
                Delay(0, function()
2777
                    while wait() do
2778
                        if Wave ~= nil then
2779
                            Wave.CFrame = char.Torso.CFrame
2780
                        else
2781
                            break
2782
                        end
2783
                    end
2784
                end)
2785
            end
2786
        Shockwave() 
2787
        for i = 1, 15 do
2788
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-130)), 0.2)
2789
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(70)), 0.2)
2790
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2791
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20),     math.rad(0)), 0.2)
2792
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2793
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2794
            if Debounces.on == false then break end
2795
            wait()
2796
        end
2797
        for i = 1, 15 do
2798
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-70)), 0.2)
2799
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(130)), 0.2)
2800
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2801
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20),     math.rad(0)), 0.2)
2802
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2803
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2804
            if Debounces.on == false then break end
2805
            wait()
2806
        end
2807
        for i = 1, 15 do
2808
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-130)), 0.2)
2809
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(70)), 0.2)
2810
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2811
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20),     math.rad(0)), 0.2)
2812
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2813
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2814
            if Debounces.on == false then break end
2815
            wait()
2816
        end
2817
        for i = 1, 15 do
2818
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-70)), 0.2)
2819
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(130)), 0.2)
2820
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2821
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20),     math.rad(0)), 0.2)
2822
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2823
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2824
            if Debounces.on == false then break end
2825
            wait()
2826
        end
2827
        for i = 1, 15 do
2828
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-130)), 0.2)
2829
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(70)), 0.2)
2830
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2831
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20),     math.rad(0)), 0.2)
2832
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2833
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2834
            if Debounces.on == false then break end
2835
            wait()
2836
        end
2837
        for i = 1, 15 do
2838
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(-70)), 0.2)
2839
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0),     math.rad(130)), 0.2)
2840
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2841
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20),     math.rad(0)), 0.2)
2842
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2843
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2844
            if Debounces.on == false then break end
2845
            wait()
2846
        end
2847
        wait(1.4)
2848
        Debounces.NoIdl = false
2849
        hum.WalkSpeed = 5
2850
        Debounces.on = false
2851
        wait()
2852
        if Debounces.CanAttack == false then
2853
            Debounces.CanAttack = true
2854
            v:Destroy()
2855
            end
2856
        end
2857
    end
2858
end)
2859
----------------------------------------------------
2860
mouse.KeyDown:connect(function(key)
2861
    if key == "m" then
2862
hum.WalkSpeed = 0
2863
        if Debounces.CanAttack == true then
2864
        Debounces.CanAttack = false
2865
        Debounces.on = true
2866
        Debounces.NoIdl = true
2867
            --[[x = Instance.new("Sound",char)
2868
            x.SoundId = "http://www.roblox.com/asset/?id=169445572"
2869
            x.Looped = false
2870
            x.Pitch = 1.1
2871
            x.Volume = 1
2872
            x:Play()
2873
            x2 = Instance.new("Sound",char)
2874
            x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
2875
            x2.Looped = false
2876
            x2.Pitch = .7
2877
            x2.Volume = 1
2878
            wait(.1)
2879
            x:Play()
2880
            x2:Play()
2881
        for i = 1, 20 do
2882
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad    (45),math.rad(0),math.rad(32)), 0.2)
2883
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad     (0),math.rad(0),math.rad(-20)), 0.2)
2884
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad (-    8),math.rad(-40), math.rad(-8)),0.2)
2885
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles  (math.rad    (-50), math.rad(40), math.rad(0)), 0.2)
2886
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles  (math.rad    (30), 0, math.rad(20)), 0.2)
2887
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, -2, 0) * CFrame.Angles  (math.rad(-    10), math.rad(-40), math.rad(0)), 0.2)
2888
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
2889
            if Debounces.on == false then break end
2890
                wait()
2891
            x:Destroy()
2892
            x2:Destroy()
2893
            end
2894
            wait(1)]]--
2895
        local rng = Instance.new("Part", char)
2896
        rng.Anchored = true
2897
        rng.BrickColor = BrickColor.new("Institutional white")
2898
        rng.CanCollide = false
2899
        rng.FormFactor = 3
2900
        rng.Name = "Ring"
2901
        rng.Size = Vector3.new(1, 1, 1)
2902
        rng.Transparency = 0.35
2903
        rng.TopSurface = 0
2904
        rng.BottomSurface = 0
2905
        rng.Position = torso.Position - Vector3.new(0,2,0)
2906
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2907
        local rngm = Instance.new("SpecialMesh", rng)
2908
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2909
        rngm.Scale = Vector3.new(1, 1, 2)
2910
            x = Instance.new("Sound",char)
2911
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
2912
            x.Looped = false
2913
            x.Pitch = .7
2914
            x.Volume = 1
2915
            x:Play()
2916
                coroutine.wrap(function()
2917
                for i = 1, 60, 2 do
2918
                rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
2919
                rng.Transparency = i/60
2920
                wait()
2921
                end
2922
                wait()
2923
                rng:Destroy()
2924
                end)()
2925
            hum.WalkSpeed = 50
2926
        BV = Instance.new("BodyVelocity", torso)
2927
        BV.maxForce = Vector3.new(0,200000,0)
2928
        BV.P = 100000
2929
        BV.velocity = Vector3.new(0,800,0)
2930
    for i = 1, 20 do
2931
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0),     math.rad(0)),0.7)
2932
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16),     math.rad(0), math.rad(0)), 0.7)
2933
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
2934
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40),     math.rad(0), math.rad(20)), 0.7)
2935
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
2936
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
2937
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2938
        if Debounces.on == false then break end
2939
        wait()
2940
    end
2941
x:Destroy()
2942
BV:Destroy()
2943
    --[[for i = 1, 30 do
2944
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0),     math.rad(0)),0.3)
2945
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad    (0), math.rad(0)), 0.3)
2946
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(-10)), 0.3)
2947
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0),     math.rad(0), math.rad(10)), 0.3)
2948
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2949
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
2950
        if Debounces.on == false then break end
2951
        wait()
2952
    end]]--
2953
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
2954
    for i = 1, 30 do
2955
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
2956
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
2957
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
2958
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
2959
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2960
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
2961
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
2962
        if Debounces.on == false then break end
2963
        wait()
2964
    end
2965
end
2966
Debounces.on = false
2967
Debounces.NoIdl = false
2968
local ry,ht,ps=nil,nil,nil
2969
while ht==nil do
2970
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
2971
	wait()
2972
end
2973
z = Instance.new("Sound",char)
2974
z.SoundId = "rbxassetid://142070127"
2975
z.Volume = 1
2976
wait(.1)
2977
z:Play()
2978
Landing()
2979
hum.WalkSpeed = 8
2980
if Debounces.CanAttack == false then
2981
Debounces.CanAttack = true
2982
end
2983
end
2984
end
2985
end)
2986
----------------------------------------------------
2987
Grab = false
2988
mouse.KeyDown:connect(function(key)
2989
    if key == "z" then
2990
    larm.BrickColor = BrickColor.new("Bright red")
2991
    rarm.BrickColor = BrickColor.new("Bright red")
2992
        Debounces.on = true
2993
        Debounces.NoIdl = true
2994
        if Grab == false then
2995
        gp = nil
2996
        con1=larm.Touched:connect(function(hit) -- this is grab
2997
            ht = hit.Parent
2998
            hum1=ht:FindFirstChild('Humanoid')
2999
            if hum1 ~= nil then
3000
                hum1.PlatformStand=true
3001
                gp = ht
3002
                Grab = true
3003
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
3004
                asd.Parent = larm
3005
                asd.Name = "asd"
3006
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
3007
            elseif hum1 == nil then
3008
                con1:disconnect()
3009
                wait() return
3010
            end
3011
        end)
3012
        for i = 1, 18 do
3013
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
3014
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.65,.9,-.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
3015
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
3016
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
3017
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
3018
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
3019
            cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
3020
            if Debounces.on == false then break end
3021
            wait()
3022
        end
3023
    con1:disconnect()
3024
    Debounces.on = false
3025
    Debounces.NoIdl = false
3026
    elseif Grab == true then
3027
        Grab = false
3028
    for i = 1, 20 do
3029
        rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
3030
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
3031
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
3032
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
3033
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
3034
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
3035
        cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
3036
        if Debounces.on == false then end
3037
        wait()
3038
    end
3039
        if gp ~= nil then
3040
        for i,v in pairs(larm:GetChildren()) do
3041
            if v.Name == "asd" and v:IsA("Weld") then
3042
                v:Remove()
3043
            end
3044
        end
3045
        bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
3046
        bv.maxForce = Vector3.new(400000, 400000, 400000)
3047
        bv.P = 125000
3048
        bv.velocity = char.Head.CFrame.lookVector * 200
3049
        for i = 1, 12 do
3050
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
3051
            if Debounces.on == false then end
3052
            wait()
3053
        end
3054
        ht=nil
3055
        Spawn(function()
3056
            wait(0.5)
3057
            bv:Destroy()
3058
        end)
3059
        Debounces.on = false
3060
        Debounces.NoIdl = false
3061
        elseif ht == nil then wait()
3062
        Grab = false
3063
        Debounces.on = false
3064
        Debounces.NoIdl = false
3065
            end
3066
        end
3067
    end
3068
end)
3069
----------------------------------------------------
3070
mouse.KeyDown:connect(function(key)
3071
    if string.byte(key) == 52 then
3072
        char.Humanoid.WalkSpeed = 21
3073
    end
3074
end)
3075
mouse.KeyUp:connect(function(key)
3076
    if string.byte(key) == 52 then
3077
        char.Humanoid.WalkSpeed = 5
3078
    end
3079
end)
3080
----------------------------------------------------
3081
local animpose = "Idle"
3082
local lastanimpose = "Idle"
3083
local sine = 0
3084
local change = 1
3085
local val = 0
3086
local ffing = false
3087
----------------------------------------------------
3088
--[[x = Instance.new("Sound", char)
3089
x.SoundId = "http://www.roblox.com/asset/?id=187922823"
3090
x.Looped = true
3091
x.Volume = 1
3092
x.Pitch = 1
3093
local footsteps = false]]--
3094
-------------------------------
3095
game:GetService("RunService").RenderStepped:connect(function()
3096
--[[if char.Humanoid.Jump == true then
3097
jump = true
3098
else
3099
jump = false
3100
end]]
3101
char.Humanoid.FreeFalling:connect(function(f)
3102
if f then
3103
ffing = true
3104
else
3105
ffing = false
3106
end
3107
end)
3108
sine = sine + change
3109
if jumpn == true then
3110
animpose = "Jumping"
3111
elseif ffing == true then
3112
animpose = "Freefalling"
3113
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
3114
animpose = "Idle"
3115
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
3116
animpose = "Walking"
3117
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
3118
animpose = "Running"
3119
end
3120
if animpose ~= lastanimpose then
3121
sine = 0
3122
if Debounces.NoIdl == false then
3123
if animpose == "Idle" then
3124
for i = 1, 2 do
3125
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
3126
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
3127
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
3128
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
3129
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
3130
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
3131
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
3132
end
3133
elseif animpose == "Walking" then
3134
for i = 1, 2 do
3135
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
3136
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
3137
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
3138
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
3139
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
3140
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
3141
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
3142
end
3143
elseif animpose == "Running" then
3144
for i = 1, 2 do
3145
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
3146
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
3147
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
3148
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
3149
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
3150
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
3151
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
3152
end
3153
wait()
3154
end
3155
else
3156
end
3157
end
3158
lastanimpose = animpose
3159
if Debounces.NoIdl == false then
3160
if animpose == "Idle" then
3161
if stanceToggle == "Normal" then
3162
change = 0.5
3163
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
3164
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
3165
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
3166
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
3167
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
3168
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
3169
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
3170
elseif stanceToggle == "Sitting" then
3171
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
3172
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
3173
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
3174
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
3175
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
3176
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
3177
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
3178
end
3179
elseif animpose == "Walking" then
3180
if stanceToggle == "Normal" then
3181
change = 1
3182
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2)
3183
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2)
3184
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2)
3185
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2)
3186
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
3187
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
3188
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
3189
end
3190
elseif animpose == "Running" then
3191
change = 1
3192
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
3193
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
3194
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
3195
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
3196
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
3197
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
3198
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
3199
end
3200
end
3201
--[[if animpose == "Walking" then
3202
    if footsteps == false then
3203
        x:Play()
3204
        footsteps = true
3205
    end
3206
    x.Pitch = 1.1
3207
elseif animpose == "Idle" then
3208
    x:Stop()
3209
    footsteps = false
3210
elseif animpose == "Running" then
3211
    x.Pitch = 1.2
3212
    if footsteps == false then
3213
        x:Play()
3214
        footsteps = true
3215
    end
3216
end]]--
3217
end)
3218
game.Players.LocalPlayer.Humanoid.MaxHealth = 10000000
3219
wait()
3220
game.Players.LocalPlayer.Humanoid.Health = 10000000