View difference between Paste ID: cFa8tDeP and neCAa9AB
SHOW: | | - or go back to the newest paste.
1
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2
local Player,Mouse,mouse,UserInputService,ContextActionService = owner
3
local RealPlayer = Player
4
do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
5
6
--[[PointCoded's Edit Of The Titan Script]]--
7
--[[Old]]--
8
9
local p = game.Players.LocalPlayer
10
local char = p.Character
11
local mouse = p:GetMouse()
12
local larm = char["Left Arm"]
13
local rarm = char["Right Arm"]
14
local TitanBet = ";"
15
local lleg = char["Left Leg"]
16
local rleg = char["Right Leg"]
17
local hed = char.Head
18
local torso = char.Torso
19
local hum = char.Humanoid
20
local cam = game.Workspace.CurrentCamera
21
local root = char.HumanoidRootPart
22
local deb = false
23
local shot = 0
24
local l = game:GetService("Lighting")
25
local rs = game:GetService("RunService").RenderStepped
26
local stanceToggle = "Normal"
27
local Mana = Instance.new("IntValue", char)
28
Mana.Value = 5000
29
Mana.Name = "Mana"
30
math.randomseed(os.time())
31
hum.WalkSpeed = 50
32
char.Health:Destroy()
33
hum.MaxHealth = math.huge
34
wait(0.1)
35
hum.Health = math.huge
36
----------------------------------------------------
37
local G = Instance.new("ScreenGui")
38
G.Parent = p.PlayerGui
39
G.Name = "Mana"
40
local T = Instance.new("TextLabel")
41
T.Name = "Mana"
42
T.Parent = G
43
T.Text = "Mana: "..char.Mana.Value
44
T.FontSize = "Size24"
45
T.BackgroundTransparency = 1
46-
for i = 1,30 do
46+
47-
Instance.new('Fire',larm); Instance.new('Fire',rarm)
47+
48
T.Position = UDim2.new(0,250,0,400)
49
T.BorderSizePixel = 0
50
--//
51
end
52
--//
53
Debounces = {
54
on = false;
55
ks = false;
56
CanAttack = true;
57
CanJoke = true;
58
NoIdl = false;
59
Slashing = false;
60
Slashed = false;
61
Grabbing = false;
62
Grabbed = false;
63
}
64
local Touche = {char.Name, }
65
----------------------------------------------------
66
function lerp(a, b, t) -- Linear interpolation
67
    return a + (b - a)*t
68
end
69
 
70
function slerp(a, b, t) --Spherical interpolation
71
    dot = a:Dot(b)
72
    if dot > 0.99999 or dot < -0.99999 then
73
        return t <= 0.5 and a or b
74
    else
75
        r = math.acos(dot)
76
        return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
77
    end
78
end
79
 
80
function matrixInterpolate(a, b, t)
81
    local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
82
    local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
83
    local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
84
    local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
85
    local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
86
    local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
87
    local t = v1:Dot(v2)
88
    if not (t < 0 or t == 0 or t > 0) then     -- Failsafe
89
        return CFrame.new()
90
    end
91
    return CFrame.new(
92
    v0.x, v0.y, v0.z,
93
    v1.x, v1.y, v1.z,
94
    v2.x, v2.y, v2.z,
95
    v3.x, v3.y, v3.z)
96
end
97
----------------------------------------------------//Mesh setting
98
local cmeshes = {}
99
local ll,rl,la,ra,t = Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char),Instance.new('CharacterMesh',char)
100
ll.BodyPart = 'LeftLeg'
101
rl.BodyPart = 'RightLeg'
102
la.BodyPart = 'LeftArm'
103
ra.BodyPart = 'RightArm'
104
t.BodyPart = 'Torso'
105
ll.MeshId,ll.OverlayTextureId,rl.MeshId,rl.OverlayTextureId = 68241558,18051314,68241677,18051314
106
ra.MeshId,ra.OverlayTextureId,la.MeshId,la.OverlayTextureId = 68241658,18051314,68241543,18051314
107
t.MeshId,t.OverlayTextureId=68241695,18051314
108
109
----------------------------------------------------
110
function genWeld(a,b)
111
    local w = Instance.new("Weld",a)
112
    w.Part0 = a
113
    w.Part1 = b
114
    return w
115
end
116
function weld(a, b)
117
    local weld = Instance.new("Weld")
118
    weld.Name = "W"
119
    weld.Part0 = a
120
    weld.Part1 = b
121
    weld.C0 = a.CFrame:inverse() * b.CFrame
122
    weld.Parent = a
123
    return weld;
124
end
125
----------------------------------------------------
126
function Lerp(c1,c2,al)
127
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
128
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
129
for i,v in pairs(com1) do 
130
com1[i] = v+(com2[i]-v)*al
131
end
132
return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
133
end
134
----------------------------------------------------
135
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
136
local wld = Instance.new("Weld", wp1)
137
wld.Part0 = wp0
138
wld.Part1 = wp1
139
wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
140
end
141
----------------------------------------------------
142
for i,v in pairs(char:children()) do
143
    if v:IsA("Hat") then
144
        v:Destroy()
145
    end
146
end
147
for i,v in pairs(hed:children()) do
148
    if v:IsA("Sound") then
149
        v:Destroy()
150
    end
151
end
152
----------------------------------------------------
153
function HasntTouched(plrname)
154
local ret = true
155
for _, v in pairs(Touche) do
156
if v == plrname then
157
ret = false
158
end
159
end
160
return ret
161
end
162
----------------------------------------------------
163
larm.Size = larm.Size * 2
164
rarm.Size = rarm.Size * 2
165
lleg.Size = lleg.Size * 2
166
rleg.Size = rleg.Size * 2
167
torso.Size = torso.Size * 2
168
hed.Size = hed.Size * 2
169
root.Size = root.Size * 2
170
----------------------------------------------------
171
newWeld(torso, larm, -1.5, 1, 0)
172
larm.Weld.C1 = CFrame.new(0, 1, 0)
173
newWeld(torso, rarm, 1.5, 1, 0)
174
rarm.Weld.C1 = CFrame.new(0, 1, 0)
175
newWeld(torso, hed, 0, 3, 0)
176
newWeld(torso, lleg, -1, -2, 0)
177
lleg.Weld.C1 = CFrame.new(0, 1.5, 0)
178
newWeld(torso, rleg, 1, -2, 0)
179
rleg.Weld.C1 = CFrame.new(0, 1.5, 0)
180
newWeld(root, torso, 0, -2, 0)
181
torso.Weld.C1 = CFrame.new(0, -2, 0)
182
----------------------------------------------------
183
184
hed.face:Remove''
185
hed.Transparency = 0
186
local meshx9 = Instance.new('SpecialMesh',hed)
187
meshx9.MeshType = 'FileMesh'
188
meshx9.MeshId,meshx9.TextureId = 'rbxassetid://21057410','rbxassetid://122569107'
189
meshx9.Scale = Vector3.new(2,2,2)
190
191
192
193
lite = Instance.new("PointLight", torso)
194
lite.Brightness = 14
195
lite.Range = 10
196
lite.Color = Color3.new(1, 0, 0)
197
local hed2 = hed:Clone()
198
hed2.CanCollide = false
199
hed2.Parent = char
200
hed2:ClearAllChildren()
201
hed2.Transparency = 1
202
hed2.Name = "DARP"
203
local w = Instance.new("Weld",hed2)
204
w.Part0 = hed
205
w.Part1 = hed2
206
w.C0 = CFrame.new(0,0,-0.175)
207
z=Instance.new("SurfaceGui",hed2)
208
z.Enabled = true
209
z.Face = "Front"
210
z.Adornee = hed2
211
z.CanvasSize = Vector2.new(100,100)
212
local face = Instance.new("ImageLabel",z)
213
face.Size = UDim2.new(1,-30,1,0)
214
face.Position = UDim2.new(0,15,0,0)
215
face.BackgroundTransparency = 1
216
face.Image='rbxassetid://46282671'
217
----------------------------------------------------
218
local m = Instance.new("Model")
219
m.Name = "Absolution"
220
p1 = Instance.new("Part", m)
221
p1.BrickColor = BrickColor.new("Really black")
222
p1.FormFactor = Enum.FormFactor.Custom
223
p1.Size = Vector3.new(1, 0.600000024, 1.5)
224
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)
225
p1.CanCollide = false
226
p1.Locked = true
227
p1.Elasticity = 0
228
p1.BottomSurface = Enum.SurfaceType.Smooth
229
p1.TopSurface = Enum.SurfaceType.Smooth
230
b1 = Instance.new("SpecialMesh", p1)
231
b1.MeshType = Enum.MeshType.Wedge
232
b1.Name = "Mesh"
233
b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
234
p2 = Instance.new("Part", m)
235
p2.BrickColor = BrickColor.new("Really black")
236
p2.FormFactor = Enum.FormFactor.Custom
237
p2.Size = Vector3.new(1, 2.9000001, 1)
238
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)
239
p2.CanCollide = false
240
p2.Locked = true
241
p2.Elasticity = 0
242
p2.BottomSurface = Enum.SurfaceType.Smooth
243
p2.TopSurface = Enum.SurfaceType.Smooth
244
b2 = Instance.new("BlockMesh", p2)
245
b2.Name = "Mesh"
246
b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
247
p3 = Instance.new("Part", m)
248
p3.BrickColor = BrickColor.new("Really black")
249
p3.FormFactor = Enum.FormFactor.Custom
250
p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
251
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)
252
p3.CanCollide = false
253
p3.Locked = true
254
p3.Elasticity = 0
255
p3.BottomSurface = Enum.SurfaceType.Smooth
256
p3.TopSurface = Enum.SurfaceType.Smooth
257
b3 = Instance.new("SpecialMesh", p3)
258
b3.MeshType = Enum.MeshType.Wedge
259
b3.Name = "Mesh"
260
b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
261
p4 = Instance.new("Part", m)
262
p4.BrickColor = BrickColor.new("Really black")
263
p4.FormFactor = Enum.FormFactor.Custom
264
p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
265
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)
266
p4.CanCollide = false
267
p4.Locked = true
268
p4.Elasticity = 0
269
p4.BottomSurface = Enum.SurfaceType.Smooth
270
p4.TopSurface = Enum.SurfaceType.Smooth
271
b4 = Instance.new("SpecialMesh", p4)
272
b4.MeshType = Enum.MeshType.Wedge
273
b4.Name = "Mesh"
274
b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
275
p5 = Instance.new("Part", m)
276
p5.BrickColor = BrickColor.new("Really black")
277
p5.FormFactor = Enum.FormFactor.Custom
278
p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
279
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)
280
p5.CanCollide = false
281
p5.Locked = true
282
p5.Elasticity = 0
283
p5.BottomSurface = Enum.SurfaceType.Smooth
284
p5.TopSurface = Enum.SurfaceType.Smooth
285
b5 = Instance.new("SpecialMesh", p5)
286
b5.MeshType = Enum.MeshType.Wedge
287
b5.Name = "Mesh"
288
b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
289
p6 = Instance.new("Part", m)
290
p6.Name = "Handle"
291
p6.BrickColor = BrickColor.new(192)
292
p6.FormFactor = Enum.FormFactor.Custom
293
p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
294
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)
295
p6.CanCollide = false
296
p6.Locked = true
297
p6.Elasticity = 0
298
p6.BottomSurface = Enum.SurfaceType.Smooth
299
p6.TopSurface = Enum.SurfaceType.Smooth
300
b6 = Instance.new("BlockMesh", p6)
301
b6.Name = "Mesh"
302
b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
303
p7 = Instance.new("Part", m)
304
p7.BrickColor = BrickColor.new("Really black")
305
p7.FormFactor = Enum.FormFactor.Custom
306
p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
307
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)
308
p7.CanCollide = false
309
p7.Locked = true
310
p7.Elasticity = 0
311
p7.BottomSurface = Enum.SurfaceType.Smooth
312
p7.TopSurface = Enum.SurfaceType.Smooth
313
b7 = Instance.new("SpecialMesh", p7)
314
b7.MeshType = Enum.MeshType.Wedge
315
b7.Name = "Mesh"
316
b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
317
p8 = Instance.new("Part", m)
318
p8.BrickColor = BrickColor.new("Really black")
319
p8.FormFactor = Enum.FormFactor.Custom
320
p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
321
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)
322
p8.CanCollide = false
323
p8.Locked = true
324
p8.Elasticity = 0
325
p8.BottomSurface = Enum.SurfaceType.Smooth
326
p8.TopSurface = Enum.SurfaceType.Smooth
327
b8 = Instance.new("SpecialMesh", p8)
328
b8.MeshType = Enum.MeshType.Wedge
329
b8.Name = "Mesh"
330
b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
331
p9 = Instance.new("Part", m)
332
p9.BrickColor = BrickColor.new("Really black")
333
p9.FormFactor = Enum.FormFactor.Custom
334
p9.Size = Vector3.new(1, 1.07999957, 1)
335
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)
336
p9.CanCollide = false
337
p9.Locked = true
338
p9.Elasticity = 0
339
p9.BottomSurface = Enum.SurfaceType.Smooth
340
p9.TopSurface = Enum.SurfaceType.Smooth
341
b9 = Instance.new("BlockMesh", p9)
342
b9.Name = "Mesh"
343
b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
344
p10 = Instance.new("Part", m)
345
p10.BrickColor = BrickColor.new("Really black")
346
p10.FormFactor = Enum.FormFactor.Custom
347
p10.Size = Vector3.new(1, 1.41999948, 1)
348
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)
349
p10.CanCollide = false
350
p10.Locked = true
351
p10.Elasticity = 0
352
p10.BottomSurface = Enum.SurfaceType.Smooth
353
p10.TopSurface = Enum.SurfaceType.Smooth
354
b10 = Instance.new("BlockMesh", p10)
355
b10.Name = "Mesh"
356
b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
357
p11 = Instance.new("Part", m)
358
p11.BrickColor = BrickColor.new("Really black")
359
p11.FormFactor = Enum.FormFactor.Custom
360
p11.Size = Vector3.new(1, 1.50999951, 1)
361
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)
362
p11.CanCollide = false
363
p11.Locked = true
364
p11.Elasticity = 0
365
p11.BottomSurface = Enum.SurfaceType.Smooth
366
p11.TopSurface = Enum.SurfaceType.Smooth
367
b11 = Instance.new("BlockMesh", p11)
368
b11.Name = "Mesh"
369
b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
370
p12 = Instance.new("Part", m)
371
p12.Name = "BladeCenter"
372
p12.BrickColor = BrickColor.new("")
373
p12.Material = Enum.Material.Concrete
374
p12.FormFactor = Enum.FormFactor.Symmetric
375
p12.Size = Vector3.new(1, 2, 2)
376
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)
377
p12.CanCollide = false
378
p12.Locked = true
379
p12.BottomSurface = Enum.SurfaceType.Smooth
380
p12.TopSurface = Enum.SurfaceType.Smooth
381
b12 = Instance.new("SpecialMesh", p12)
382
b12.MeshType = Enum.MeshType.Brick
383
b12.Name = "Mesh"
384
b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
385
p13 = Instance.new("Part", m)
386
p13.BrickColor = BrickColor.new("Really black")
387
p13.FormFactor = Enum.FormFactor.Custom
388
p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
389
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)
390
p13.CanCollide = false
391
p13.Locked = true
392
p13.Elasticity = 0
393
p13.BottomSurface = Enum.SurfaceType.Smooth
394
p13.TopSurface = Enum.SurfaceType.Smooth
395
b13 = Instance.new("BlockMesh", p13)
396
b13.Name = "Mesh"
397
b13.Scale = Vector3.new(1, 1, 0.400000006)
398
p14 = Instance.new("Part", m)
399
p14.BrickColor = BrickColor.new("Really black")
400
p14.FormFactor = Enum.FormFactor.Custom
401
p14.Size = Vector3.new(2.5, 2.17999935, 1)
402
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)
403
p14.CanCollide = false
404
p14.Locked = true
405
p14.Elasticity = 0
406
p14.BottomSurface = Enum.SurfaceType.Smooth
407
p14.TopSurface = Enum.SurfaceType.Smooth
408
b14 = Instance.new("BlockMesh", p14)
409
b14.Name = "Mesh"
410
b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
411
p15 = Instance.new("Part", m)
412
p15.BrickColor = BrickColor.new("Really black")
413
p15.FormFactor = Enum.FormFactor.Custom
414
p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
415
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)
416
p15.CanCollide = false
417
p15.Locked = true
418
p15.Material = "Neon"
419
p15.Elasticity = 0
420
p15.BottomSurface = Enum.SurfaceType.Smooth
421
p15.TopSurface = Enum.SurfaceType.Smooth
422
b15 = Instance.new("BlockMesh", p15)
423
b15.Name = "Mesh"
424
b15.Scale = Vector3.new(1, 1, 0.400000006)
425
p16 = Instance.new("Part", m)
426
p16.BrickColor = BrickColor.new("Really black")
427
p16.FormFactor = Enum.FormFactor.Custom
428
p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
429
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)
430
p16.CanCollide = false
431
p16.Locked = true
432
p16.Material = "Neon"
433
p16.Elasticity = 0
434
p16.BottomSurface = Enum.SurfaceType.Smooth
435
p16.TopSurface = Enum.SurfaceType.Smooth
436
b16 = Instance.new("BlockMesh", p16)
437
b16.Name = "Mesh"
438
b16.Scale = Vector3.new(1, 1, 0.400000006)
439
p17 = Instance.new("Part", m)
440
p17.BrickColor = BrickColor.new("Really black")
441
p17.FormFactor = Enum.FormFactor.Custom
442
p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
443
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)
444
p17.CanCollide = false
445
p17.Material = "Neon"
446
p17.Locked = true
447
p17.Elasticity = 0
448
p17.BottomSurface = Enum.SurfaceType.Smooth
449
p17.TopSurface = Enum.SurfaceType.Smooth
450
b17 = Instance.new("BlockMesh", p17)
451
b17.Name = "Mesh"
452
b17.Scale = Vector3.new(1, 1, 0.400000006)
453
p18 = Instance.new("WedgePart", m)
454
p18.BrickColor = BrickColor.new("Black")
455
p18.Material = "Neon"
456
p18.Name = "BladePart1"
457
p18.Material = Enum.Material.Concrete
458
p18.Name = "Wedge"
459
p18.FormFactor = Enum.FormFactor.Symmetric
460
p18.Size = Vector3.new(1, 4, 2)
461
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)
462
p18.CanCollide = false
463
p18.Locked = true
464
p18.BottomSurface = Enum.SurfaceType.Smooth
465
p18.TopSurface = Enum.SurfaceType.Smooth
466
b18 = Instance.new("SpecialMesh", p18)
467
b18.MeshType = Enum.MeshType.Wedge
468
b18.Name = "Mesh"
469
b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
470
p19 = Instance.new("WedgePart", m)
471
p19.BrickColor = BrickColor.new("Institutional white")
472
p19.Name = "BladePart2"
473
p19.Material = "Neon"
474
p19.Material = Enum.Material.Concrete
475
p19.Name = "Wedge"
476
p19.FormFactor = Enum.FormFactor.Symmetric
477
p19.Size = Vector3.new(1, 4, 2)
478
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)
479
p19.CanCollide = false
480
p19.Locked = true
481
p19.BottomSurface = Enum.SurfaceType.Smooth
482
p19.TopSurface = Enum.SurfaceType.Smooth
483
b19 = Instance.new("SpecialMesh", p19)
484
b19.MeshType = Enum.MeshType.Wedge
485
b19.Name = "Mesh"
486
b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
487
p20 = Instance.new("Part", m)
488
p20.BrickColor = BrickColor.new("Really black")
489
p20.FormFactor = Enum.FormFactor.Custom
490
p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
491
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)
492
p20.CanCollide = false
493
p20.Material = "Neon"
494
p20.Locked = true
495
p20.Elasticity = 0
496
p20.BottomSurface = Enum.SurfaceType.Smooth
497
p20.TopSurface = Enum.SurfaceType.Smooth
498
b20 = Instance.new("BlockMesh", p20)
499
b20.Name = "Mesh"
500
b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
501
p21 = Instance.new("Part", m)
502
p21.BrickColor = BrickColor.new("Really black")
503
p21.FormFactor = Enum.FormFactor.Custom
504
p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
505
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)
506
p21.CanCollide = false
507
p21.Locked = true
508
p21.Elasticity = 0
509
p21.BottomSurface = Enum.SurfaceType.Smooth
510
p21.TopSurface = Enum.SurfaceType.Smooth
511
b21 = Instance.new("SpecialMesh", p21)
512
b21.MeshType = Enum.MeshType.Wedge
513
b21.Name = "Mesh"
514
b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
515
w1 = Instance.new("Weld", p1)
516
w1.Name = "Part_Weld"
517
w1.Part0 = p1
518
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)
519
w1.Part1 = p2
520
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)
521
w2 = Instance.new("Weld", p2)
522
w2.Name = "Part_Weld"
523
w2.Part0 = p2
524
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)
525
w2.Part1 = p3
526
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)
527
w3 = Instance.new("Weld", p3)
528
w3.Name = "Part_Weld"
529
w3.Part0 = p3
530
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)
531
w3.Part1 = p4
532
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)
533
w4 = Instance.new("Weld", p4)
534
w4.Name = "Part_Weld"
535
w4.Part0 = p4
536
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)
537
w4.Part1 = p5
538
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)
539
w5 = Instance.new("Weld", p5)
540
w5.Name = "Part_Weld"
541
w5.Part0 = p5
542
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)
543
w5.Part1 = p6
544
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)
545
w6 = Instance.new("Weld", p6)
546
w6.Name = "Part_Weld"
547
w6.Part0 = p6
548
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)
549
w6.Part1 = p7
550
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)
551
w7 = Instance.new("Weld", p7)
552
w7.Name = "Part_Weld"
553
w7.Part0 = p7
554
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)
555
w7.Part1 = p8
556
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)
557
w8 = Instance.new("Weld", p8)
558
w8.Name = "Part_Weld"
559
w8.Part0 = p8
560
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)
561
w8.Part1 = p9
562
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)
563
w9 = Instance.new("Weld", p9)
564
w9.Name = "Part_Weld"
565
w9.Part0 = p9
566
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)
567
w9.Part1 = p10
568
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)
569
w10 = Instance.new("Weld", p10)
570
w10.Name = "Part_Weld"
571
w10.Part0 = p10
572
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)
573
w10.Part1 = p11
574
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)
575
w11 = Instance.new("Weld", p11)
576
w11.Name = "Part_Weld"
577
w11.Part0 = p11
578
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)
579
w11.Part1 = p12
580
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)
581
w12 = Instance.new("Weld", p12)
582
w12.Name = "Part_Weld"
583
w12.Part0 = p12
584
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)
585
w12.Part1 = p13
586
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)
587
w13 = Instance.new("Weld", p13)
588
w13.Name = "Part_Weld"
589
w13.Part0 = p13
590
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)
591
w13.Part1 = p14
592
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)
593
w14 = Instance.new("Weld", p14)
594
w14.Name = "Part_Weld"
595
w14.Part0 = p14
596
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)
597
w14.Part1 = p15
598
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)
599
w15 = Instance.new("Weld", p15)
600
w15.Name = "Part_Weld"
601
w15.Part0 = p15
602
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)
603
w15.Part1 = p16
604
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)
605
w16 = Instance.new("Weld", p16)
606
w16.Name = "Part_Weld"
607
w16.Part0 = p16
608
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)
609
w16.Part1 = p17
610
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)
611
w17 = Instance.new("Weld", p17)
612
w17.Name = "Wedge_Weld"
613
w17.Part0 = p17
614
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)
615
w17.Part1 = p18
616
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)
617
w18 = Instance.new("Weld", p18)
618
w18.Name = "Wedge_Weld"
619
w18.Part0 = p18
620
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)
621
w18.Part1 = p19
622
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)
623
w19 = Instance.new("Weld", p19)
624
w19.Name = "Part_Weld"
625
w19.Part0 = p19
626
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)
627
w19.Part1 = p20
628
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)
629
w20 = Instance.new("Weld", p20)
630
w20.Name = "Part_Weld"
631
w20.Part0 = p20
632
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)
633
w20.Part1 = p21
634
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)
635
m.Parent = char
636
m:MakeJoints()
637
----------------------------------------------------
638
local cor = Instance.new("Part", char.Absolution)
639
cor.Name = "Thingy"
640
cor.Locked = true
641
cor.BottomSurface = 0
642
cor.CanCollide = false
643
cor.Size = Vector3.new(1, 13, 1)
644
cor.Transparency = 1
645
cor.TopSurface = 0
646
corw = Instance.new("Weld", cor)
647
corw.Part0 = rarm
648
corw.Part1 = cor
649
corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
650
corw.C1 = CFrame.new(0, 0, 0)
651
weld1 = Instance.new("Weld", char.Absolution)
652
weld1.Part0 = cor
653
weld1.Part1 = p6
654
weld1.C0 = CFrame.new(0, 0, 0)
655
----------------------------------------------------
656
hitb = Instance.new("Part", char.Absolution)
657
hitb.Name = "Thingy2"
658
hitb.Locked = true
659
hitb.BottomSurface = 0
660
hitb.CanCollide = false
661
hitb.Size = Vector3.new(0, 8, 6)
662
hitb.Transparency = 1
663
hitb.TopSurface = 0
664
weld2 = Instance.new("Weld", char.Absolution)
665
weld2.Part0 = hitb
666
weld2.Part1 = p12
667
weld2.C0 = CFrame.new(0, .6, 1)
668
669
670
----------------------------------------------------
671
function weld5(part0, part1, c0, c1)
672
    weeld=Instance.new("Weld", part0)
673
    weeld.Part0=part0
674
    weeld.Part1=part1
675
    weeld.C0=c0
676
    weeld.C1=c1
677
    return weeld
678
end
679
----------------------------------------------------
680
function newRay(start,face,range,wat)
681
	local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
682
	hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
683
	return rey,hit,pos
684
end
685
----------------------------------------------------
686
mod5 = Instance.new("Model",char)
687
688
function FindNearestTorso(Position,Distance,SinglePlayer)
689
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
690
        local List = {}
691
        for i,v in pairs(workspace:GetChildren())do
692
            if v:IsA("Model")then
693
                if v:findFirstChild("Torso")then
694
                    if v ~= char then
695
                        if(v.Torso.Position -Position).magnitude <= Distance then
696
                            table.insert(List,v)
697
                        end 
698
                    end 
699
                end 
700
            end 
701
        end
702
    return List
703
end
704
705
function Landing()
706
    part=Instance.new('Part',mod5)
707
    part.Anchored=true
708
    part.CanCollide=false
709
    part.FormFactor='Custom'
710
    part.Size=Vector3.new(.2,.2,.2)
711
    part.CFrame=root.CFrame*CFrame.new(0,-2,0)
712
    part.Transparency=.7
713
    part.BrickColor=BrickColor.new('Really black')
714
    mesh=Instance.new('SpecialMesh',part)
715
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
716
	mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
717
    mesh.Scale=Vector3.new(10,5,10)
718
719
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
720
        if v:FindFirstChild('Humanoid') then
721
            v.Humanoid:TakeDamage(math.random(20,30))
722
            v.Humanoid.PlatformStand = true
723
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
724
        end
725
    end
726
727
    coroutine.resume(coroutine.create(function() 
728
        for i=0,3.8,0.05 do
729
            wait()
730
            part.CFrame=part.CFrame
731
            part.Transparency=i
732
            mesh.Scale=mesh.Scale+Vector3.new(3,3,3)
733
            end
734
        part.Parent = nil
735
    end))
736
end
737
----------------------------------------------------
738
mod4 = Instance.new("Model",char)
739
740
ptez = {0.7, 0.8, 0.9, 1}
741
742
function FindNearestTorso(Position,Distance,SinglePlayer)
743
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
744
        local List = {}
745
        for i,v in pairs(workspace:GetChildren())do
746
            if v:IsA("Model")then
747
                if v:findFirstChild("Torso")then
748
                    if v ~= char then
749
                        if(v.Torso.Position -Position).magnitude <= Distance then
750
                            table.insert(List,v)
751
                        end 
752
                    end 
753
                end 
754
            end 
755
        end
756
    return List
757
end
758
759
function GroundPound()
760
    part=Instance.new('Part',mod4)
761
    part.Anchored=true
762
    part.CanCollide=false
763
    part.FormFactor='Custom'
764
    part.Size=Vector3.new(.2,.2,.2)
765
    part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
766
    part.Transparency=.7
767
    part.BrickColor=BrickColor.new('Institutional white')
768
    mesh=Instance.new('SpecialMesh',part)
769
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
770
	mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
771
    mesh.Scale=Vector3.new(3,3,3)
772
    part2=Instance.new('Part',mod4)
773
    part2.Anchored=true
774
    part2.CanCollide=false
775
    part2.FormFactor='Custom'
776
    part2.Size=Vector3.new(.2,.2,.2)
777
    part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
778
    part2.Transparency=.7
779
    part2.BrickColor=BrickColor.new('Institutional white')
780
    mesh2=Instance.new('SpecialMesh',part2)
781
    mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
782
    mesh2.Scale=Vector3.new(3,1.5,3)
783
    x = Instance.new("Sound",char)
784
    x.SoundId = "http://www.roblox.com/asset/?id=142070127"
785
    x.Pitch = ptez[math.random(1,#ptez)]
786
    x.Volume = 1
787
    wait(.1)
788
    x:Play()
789
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
790
        if v:FindFirstChild('Humanoid') then
791
            v.Humanoid:TakeDamage(math.random(8,15))
792
        end
793
    end
794
    coroutine.resume(coroutine.create(function() 
795
        for i=0,0.62,0.13 do
796
            wait()
797
            part.CFrame=part.CFrame
798
            part.Transparency=i
799
            mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
800
            part2.CFrame=part2.CFrame
801
            part2.Transparency=i
802
            mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
803
            end
804
        part.Parent=nil
805
        part2.Parent=nil
806
        x:Destroy()
807
    end))
808
end
809
----------------------------------------------------
810
mod=Instance.new('Model',char)
811
812
function charge()
813
    hed.Velocity=hed.CFrame.lookVector*200
814
    part=Instance.new('Part',mod)
815
    part.Anchored=true
816
    part.CanCollide=false
817
    part.FormFactor='Custom'
818
    part.Size=Vector3.new(.2,.2,.2)
819
    part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
820
    part.Transparency=.7
821
    part.Name = "Wow"
822
    part.BrickColor=BrickColor.new('Black')
823
    mesh=Instance.new('SpecialMesh',part)
824
    mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
825
	mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
826
    mesh.Scale=Vector3.new(10,5,10)
827
    part2=part:clone()
828
    part2.Parent=mod
829
    part2.BrickColor=BrickColor.new('Institutional white')
830
    mesh2=mesh:clone()
831
    mesh2.Parent=part2
832
    mesh2.Scale=Vector3.new(20,10,20)
833
    part3=part2:clone()
834
    part3.Parent = mod
835
    part3.BrickColor=BrickColor.new('Cyan')
836
    mesh3=mesh2:clone()
837
    mesh2.Parent=part3
838
    mesh3.Scale=Vector3.new(30,15,30)
839
    coroutine.resume(coroutine.create(function() 
840
        for i=0,1,0.1 do
841
            wait()
842
            part.CFrame=part.CFrame
843
            part.Transparency=i
844
            mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
845
            part2.CFrame=part2.CFrame
846
            part2.Transparency=i
847
            mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
848
            part3.CFrame=part3.CFrame
849
            part3.Transparency=i
850
            mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
851
            end
852
        part.Parent=nil
853
        part2.Parent=nil
854
        part3.Parent = nil
855
        part1:remove()
856
        part:remove()
857
        part2:remove()
858
        part3:remove()
859
    end))
860
end
861
----------------------------------------------------
862
function FindNearestTorso(Position,Distance,SinglePlayer)
863
    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
864
        local List = {}
865
        for i,v in pairs(workspace:GetChildren())do
866
            if v:IsA("Model")then
867
                if v:findFirstChild("Torso")then
868
                    if v ~= char then
869
                        if(v.Torso.Position -Position).magnitude <= Distance then
870
                            table.insert(List,v)
871
                        end 
872
                    end 
873
                end 
874
            end 
875
        end
876
    return List
877
end
878
879
mod3 = Instance.new("Model",rleg)
880
881
function Stomp()
882
    part=Instance.new('Part',mod3)
883
    part.Anchored=true
884
    part.CanCollide=false
885
    part.FormFactor='Custom'
886
    part.Size=Vector3.new(.2,.2,.2)
887
    part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
888
    part.Transparency=0.7
889
    part.BrickColor=BrickColor.new('')
890
    mesh=Instance.new('SpecialMesh',part)
891
    mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
892
	mesh.TextureId = "http://www.roblox.com/asset/?id=122569107"
893
    mesh.Scale=Vector3.new(25,25,25)
894
    part2=part:clone()
895
    part2.Parent=mod3
896
    part2.BrickColor=BrickColor.new('Deep orange')
897
    mesh2=mesh:clone()
898
    mesh2.Parent=part2
899
    mesh2.Scale=Vector3.new(15,15,15)
900
    part3=part:clone()
901
    part3.Parent=mod3
902
    part3.TopSurface=0
903
    part3.BottomSurface=0
904
    part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
905
    mesh3=Instance.new('SpecialMesh',part3)
906
    mesh3.MeshType = 3
907
    mesh3.Scale=Vector3.new(12,12,12)
908
    for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
909
        if v:FindFirstChild('Humanoid') then
910
            v.Humanoid:TakeDamage(math.random(20,60))
911
            v.Humanoid.PlatformStand = true
912
            v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
913
        end
914
    end 
915
    coroutine.resume(coroutine.create(function() 
916
        for i=0,3.8,0.05 do
917
            wait()
918
            part.CFrame=part.CFrame
919
            part.Transparency=i
920
            mesh.Scale=mesh.Scale+Vector3.new(5,5,5)
921
            part2.CFrame=part2.CFrame
922
            part2.Transparency=i
923
            mesh2.Scale=mesh2.Scale+Vector3.new(5,5,5)
924
            part3.CFrame=part3.CFrame
925
            part3.Transparency=i
926
            mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
927
        end
928
    end))
929
end
930
----------------------------------------------------
931
932
local acos = math.acos
933
local sqrt = math.sqrt
934
local Vec3 = Vector3.new
935
local fromAxisAngle = CFrame.fromAxisAngle
936
937
local function toAxisAngle(CFr)
938
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
939
        local Angle = math.acos((R00+R11+R22-1)/2)
940
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
941
        A = A == 0 and 0.00001 or A
942
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
943
        B = B == 0 and 0.00001 or B
944
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
945
        C = C == 0 and 0.00001 or C
946
        local x = (R21-R12)/sqrt(A)
947
        local y = (R02-R20)/sqrt(B)
948
        local z = (R10-R01)/sqrt(C)
949
        return Vec3(x,y,z),Angle
950
end
951
952
function ApplyTrig(Num,Func)
953
        local Min,Max = Func(0),Func(1)
954
        local i = Func(Num)
955
        return (i-Min)/(Max-Min)
956
end
957
958
function LerpCFrame(CFrame1,CFrame2,Num)
959
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
960
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
961
end
962
963
function Crater(Torso,Radius)
964
        Spawn(function()
965
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
966
        local Ignore = {}
967
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
968
                if v.Character ~= nil then
969
                        Ignore[#Ignore+1] = v.Character
970
                end
971
        end
972
        local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
973
        if Hit == nil then return end
974
        local Parts = {}
975
        for i = 1,360,10 do
976
                local P = Instance.new("Part",Torso.Parent)
977
                P.Anchored = true
978
                P.FormFactor = "Custom"
979
                P.BrickColor = Hit.BrickColor
980
                P.Material = Hit.Material
981
                P.TopSurface = "Smooth"
982
                P.BottomSurface = "Smooth"
983
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
984
                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)))
985
                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}
986
                if math.random(0,5) == 0 then -- rubble
987
                        local P = Instance.new("Part",Torso.Parent)
988
                        P.Anchored = true
989
                        P.FormFactor = "Custom"
990
                        P.BrickColor = Hit.BrickColor
991
                        P.Material = Hit.Material
992
                        P.TopSurface = "Smooth"
993
                        P.BottomSurface = "Smooth"
994
                        P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
995
                        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)))
996
                        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}
997
                end
998
        end
999
        for i = 0,1,0.05 do
1000
                for i2,v in pairs(Parts) do
1001
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
1002
                end
1003
                wait(0.02)
1004
        end
1005
        for i,v in pairs(Parts) do
1006
                if v[1].Size.X > 2.1 then
1007
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
1008
                end
1009
                v[1].Anchored = false
1010
        end
1011
        for i = 0,1,0.05 do
1012
                for i2,v in pairs(Parts) do
1013
                        v[1].Transparency = i
1014
                        if i == 1 then
1015
                                v[1]:Destroy()
1016
                        elseif i >= 0.25 then
1017
                                v[1].CanCollide = false
1018
                        end
1019
                end
1020
                wait(0.02)
1021
        end
1022
        Parts = nil
1023
        end)
1024
end
1025
1026
----------------------------------------------------
1027
mouse.KeyDown:connect(function(key)
1028
    if key == "r" and char.Mana.Value>=50 then
1029
	char.Mana.Value = char.Mana.Value - 50
1030
        larm.BrickColor = BrickColor.new("Bright red")
1031
        rarm.BrickColor = BrickColor.new("Bright red")
1032
        if Debounces.CanAttack == true then
1033
        Debounces.CanAttack = false
1034
        Debounces.on = true
1035
        Debounces.NoIdl = true
1036
to = char.Absolution.Thingy2.Touched:connect(function(ht)
1037
        hit = ht.Parent
1038
        if ht and hit:IsA("Model") then
1039
                if hit:FindFirstChild("Humanoid") then
1040
                    if hit.Name ~= p.Name then
1041
                                    hit:FindFirstChild("Humanoid"):TakeDamage(10)
1042
                                wait(1)
1043
                    end
1044
                end
1045
        elseif ht and hit:IsA("Hat") then
1046
            if hit.Parent.Name ~= p.Name then
1047
                if hit.Parent:FindFirstChild("Humanoid") then
1048
                     
1049
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
1050
                                wait(1)
1051
                    --Debounces.Slashed = false
1052
                end
1053
            end
1054
        end    
1055
    end)
1056
q = Instance.new("Sound",hed)
1057
q.SoundId = "http://www.roblox.com/asset/?id=134012322"
1058
q.Pitch = 0.85
1059
q.Looped = false
1060
q1 = Instance.new("Sound",hed)
1061
q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
1062
q1.Pitch = 0.85
1063
q1.Looped = false
1064
q:Play()
1065
q1:Play()
1066
    for i = 1,20 do
1067
        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)
1068
        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)
1069
        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)
1070
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
1071
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
1072
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
1073
        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)
1074
        if Debounces.on == false then break end
1075
    wait()
1076
end
1077
n = Instance.new("Sound",hed)
1078
n.SoundId = "http://www.roblox.com/asset/?id=168514932"
1079
n.Pitch = 0.94
1080
n.Looped = false
1081
n1 = Instance.new("Sound",hed)
1082
n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
1083
n1.Pitch = 0.94
1084
n1.Looped = false
1085
n:Play()
1086
n1:Play()
1087
b = Instance.new("Sound",hed)
1088
b.SoundId = "http://www.roblox.com/asset/?id=168586586"
1089
b.Pitch = 0.94
1090
b.Looped = false
1091
b1 = Instance.new("Sound",hed)
1092
b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
1093
b1.Pitch = 0.94
1094
b1.Looped = false
1095
b:Play()
1096
b1:Play()
1097
    for i = 1,26 do
1098
        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)
1099
        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)
1100
        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)
1101
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
1102
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
1103
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
1104
        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)
1105
        if Debounces.on == false then break end
1106
    wait()
1107
end
1108
wait(.5)
1109
to:disconnect()
1110
q:Destroy()
1111
q1:Destroy()
1112
n:Destroy()
1113
n1:Destroy()
1114
larm.BrickColor = BrickColor.new("Really black")
1115
rarm.BrickColor = BrickColor.new("Really black")
1116
    if Debounces.CanAttack == false then
1117
        Debounces.CanAttack = true
1118
        Debounces.on = false
1119
        Debounces.NoIdl = false
1120
            end
1121
        end
1122
    end
1123
end)
1124
----------------------------------------------------
1125
mouse.KeyDown:connect(function(key)
1126
    if key == "q" and char.Mana.Value>=50  then
1127
		char.Mana.Value = char.Mana.Value - 50
1128
        larm.BrickColor = BrickColor.new("Bright red")
1129
        rarm.BrickColor = BrickColor.new("Bright red")
1130
        if Debounces.CanAttack == true then
1131
        Debounces.CanAttack = false
1132
        Debounces.on = true
1133
        Debounces.NoIdl = true
1134
to = char.Absolution.Thingy2.Touched:connect(function(ht)
1135
        hit = ht.Parent
1136
        if ht and hit:IsA("Model") then
1137
                if hit:FindFirstChild("Humanoid") then
1138
                    if hit.Name ~= p.Name then
1139
                                    hit:FindFirstChild("Humanoid"):TakeDamage(4)
1140
                                wait(1)
1141
                                --Debounces.Slashed = false
1142
                        --end
1143
                    end
1144
                end
1145
        elseif ht and hit:IsA("Hat") then
1146
            if hit.Parent.Name ~= p.Name then
1147
                if hit.Parent:FindFirstChild("Humanoid") then
1148
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
1149
                                wait(1)
1150
                    --Debounces.Slashed = false
1151
                end
1152
            end
1153
        end    
1154
    end)
1155
        for i = 1, 20 do
1156
            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)
1157
            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)
1158
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
1159
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
1160
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
1161
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
1162
            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)
1163
        if Debounces.on == false then break end
1164
        wait()
1165
    end
1166
    z = Instance.new("Sound",hed)
1167
    z.SoundId = "rbxassetid://160069154"
1168
    z.Looped = false
1169
    z.Pitch = .9
1170
    z1 = Instance.new("Sound",hed)
1171
    z1.SoundId = "rbxassetid://160069154"
1172
    z1.Looped = false
1173
    z1.Pitch = .9
1174
    wait(0.01)
1175
    z:Play()
1176
    z1:Play()
1177
        for i = 1, 12 do
1178
            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)
1179
            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)
1180
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
1181
            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)
1182
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
1183
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
1184
            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)
1185
        if Debounces.on == false then break end
1186
        wait()
1187
    end
1188
        for i = 1, 12 do
1189
            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)
1190
            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)
1191
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
1192
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
1193
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
1194
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
1195
            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)
1196
        if Debounces.on == false then break end
1197
        wait()
1198
    end
1199
    z = Instance.new("Sound",hed)
1200
    z.SoundId = "rbxassetid://168586621"
1201
    z.Looped = false
1202
    z.Pitch = 1
1203
    z1 = Instance.new("Sound",hed)
1204
    z1.SoundId = "rbxassetid://168586621"
1205
    z1.Looped = false
1206
    z1.Pitch = 1
1207
    wait(0.01)
1208
    z:Play()
1209
    z1:Play()
1210
        for i = 1, 12 do
1211
            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)
1212
            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)
1213
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
1214
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
1215
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
1216
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
1217
            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)
1218
        if Debounces.on == false then break end
1219
        wait()
1220
    end
1221
to:disconnect()
1222
larm.BrickColor = BrickColor.new("Really black")
1223
rarm.BrickColor = BrickColor.new("Really black")
1224
    if Debounces.CanAttack == false then
1225
        Debounces.CanAttack = true
1226
        Debounces.on = false
1227
        Debounces.NoIdl = false
1228
            end
1229
        end
1230
    end
1231
end)
1232
----------------------------------------------------
1233
Sit = false
1234
mouse.KeyDown:connect(function(key)
1235
    if key == "v" then
1236
        if Sit == false then
1237
            Sit = true
1238
            hum.WalkSpeed = 20
1239
        stanceToggle = "Sitting"
1240
    elseif Sit == true then
1241
        Sit = false
1242
            hum.WalkSpeed = 50
1243
        stanceToggle = "Normal"
1244
        end
1245
    end
1246
end)
1247
----------------------------------------------------
1248
mouse.KeyDown:connect(function(key)
1249
    if key == "t" and char.Mana.Value>=50  then
1250
		char.Mana.Value = char.Mana.Value - 50
1251
        if Debounces.CanAttack == true then
1252
        Debounces.CanAttack = false
1253
        Debounces.on = true
1254
        Debounces.NoIdl = true
1255
        for i = 1, 25 do
1256
        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)
1257
        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)
1258
        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)
1259
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
1260
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
1261
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
1262
        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)
1263
            if Debounces.on == false then break end
1264
            wait()
1265
        end
1266
        Spawn(function()
1267
            local Parts = {}
1268
            for Y = -5,5 do
1269
                local P = Instance.new("Part",char)
1270
                P.Anchored = true
1271
                P.FormFactor = "Custom"
1272
                P.CanCollide = false
1273
                P.Size = Vector3.new(1,1,1)
1274
                P.TopSurface = "SmoothNoOutlines"
1275
                P.BottomSurface = "SmoothNoOutlines"
1276
                P.BrickColor = BrickColor.new("Really black")
1277
				P.Material = "Neon"
1278
                P.Name = tostring(Y)
1279
                local i = (Y+5)/(10)
1280
                i = 1-math.cos(math.pi*i-(math.pi/2))
1281
                P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*6),0,0)
1282
                P.Touched:connect(function(ht)
1283
                    local hit = ht.Parent
1284
                    if hit:FindFirstChild("Humanoid") then
1285
                        hit.Humanoid:TakeDamage(math.random(100,math.huge))
1286
                    end
1287
                end)
1288
        s = Instance.new("Sound",P)
1289
        s.SoundId = "rbxassetid://228343271"
1290
        s.Volume = .7
1291
        s.Pitch = 0.9
1292
        s:Play()
1293
P.Touched:connect(function(ht)
1294
        hit = ht.Parent
1295
        if ht and hit:IsA("Model") then
1296
                if hit:FindFirstChild("Humanoid") then
1297
                    if hit.Name ~= p.Name then
1298
                       
1299
                                    hit:FindFirstChild("Humanoid"):TakeDamage(math.huge)
1300
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1301
                                wait(1)
1302
                                --Debounces.Slashed = false
1303
                        --end
1304
                end
1305
                end
1306
        elseif ht and hit:IsA("Hat") then
1307
            if hit.Parent.Name ~= p.Name then
1308
                if hit.Parent:FindFirstChild("Humanoid") then
1309
                       
1310
                                hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
1311
                                hit:FindFirstChild("Humanoid").PlatformStand = true
1312
                                wait(1)
1313
                    --Debounces.Slashed = false
1314
                --end
1315
            end
1316
        end
1317
    end
1318
end)
1319
                Parts[#Parts+1] = P
1320
            end
1321
            local BREAKIT = false
1322
            local CParts = {}
1323
            local Rocks = {}
1324
            local LastPos = nil
1325
            for i = 1,70 do
1326
                for i2,v in pairs(Parts) do
1327
                    v.CFrame = v.CFrame*CFrame.new(0,0,-4)
1328
                    local cf = v.CFrame
1329
                    v.Size = v.Size+Vector3.new(1,1,1)
1330
                    v.CFrame = cf
1331
                    v.Transparency = v.Transparency+0.02
1332
                    if v.Transparency >= 0.975 then BREAKIT = true end
1333
                    if v.Name == "0" then
1334
                        local Ignore = {}
1335
                        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
1336
                            if v.Character ~= nil then
1337
                                Ignore[#Ignore+1] = v.Character
1338
                            end
1339
                        end
1340
                        local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
1341
                        local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
1342
                        if Hit ~= nil then
1343
                            if #Rocks == 0 then
1344
                                for i = 1,5 do
1345
                                    local P = Instance.new("Part",char)
1346
                                    Rocks[#Rocks+1] = P
1347
                                    P.Anchored = true
1348
                                    P.FormFactor = "Custom"
1349
                                    P.BrickColor = Hit.BrickColor
1350
                                    P.Material = Hit.Material
1351
                                    P.TopSurface = "Smooth"
1352
                                    P.BottomSurface = "Smooth"
1353
                                    P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
1354
                                end
1355
                            end
1356
                            for i,P in pairs(Rocks) do
1357
                                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)))
1358
                            end
1359
                            local P = Instance.new("Part",char)
1360
                            CParts[#CParts+1] = {P,tick()}
1361
                            P.Anchored = true
1362
                            P.FormFactor = "Custom"
1363
                            P.BrickColor = Hit.BrickColor
1364
                            P.Material = Hit.Material
1365
                            P.TopSurface = "Smooth"
1366
                            P.BottomSurface = "Smooth"
1367
                            P.Size = Vector3.new(5,5,5)*(math.random(100,300)/100)
1368
                            Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
1369
                            Pos = Pos.p
1370
                            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)))
1371
                            local P = P:Clone()
1372
                            CParts[#CParts+1] = {P,tick()}
1373
                            P.Parent = char
1374
                            Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
1375
                            Pos = Pos.p
1376
                            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)))
1377
                            if LastPos ~= nil then
1378
                                local P = P:Clone()
1379
                                CParts[#CParts+1] = {P,tick()}
1380
                                P.Parent = char
1381
                                P.BrickColor = BrickColor.new("Really black")
1382
                                Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
1383
                                Pos = Pos.p
1384
                                local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
1385
                                P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.30)
1386
                                --P.Velocity = Vector3.new(0,-1000,0)
1387
                                P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
1388
                            end
1389
                            LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
1390
                        end
1391
                    end
1392
                end
1393
                if BREAKIT then break end
1394
                wait(0.002)
1395
            end
1396
            for i,v in pairs(Rocks) do
1397
                CParts[#CParts+1] = {v,tick()}
1398
            end
1399
            for i,v in pairs(Parts) do
1400
                v:Destroy()
1401
            end
1402
            Parts = nil
1403
            while true do
1404
                local t = tick()
1405
                local p = nil
1406
                for i,v in pairs(CParts) do
1407
                    if t-v[2] > 4 then
1408
                        v[1].Transparency = v[1].Transparency+0.05
1409
                        if v[1].Transparency >= 1 then
1410
                            v[1]:Destroy()
1411
                            CParts[i] = nil
1412
                        end
1413
                    end
1414
                    p = v
1415
                end
1416
                if p == nil then break end
1417
                wait(0.002)
1418
            end
1419
            for i,v in pairs(CParts) do
1420
                v:Destroy()
1421
            end
1422
            CParts = {}
1423
        end)
1424
        for i = 1, 20 do
1425
        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)
1426
        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)
1427
        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)
1428
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
1429
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
1430
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
1431
        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)
1432
            if Debounces.on == false then break end
1433
            wait()
1434
        end
1435
    if Debounces.CanAttack == false then
1436
        Debounces.CanAttack = true
1437
        Debounces.on = false
1438
        Debounces.NoIdl = false
1439
            end
1440
        end
1441
    end
1442
end)
1443
----------------------------------------------------
1444
mouse.KeyDown:connect(function(key)
1445
    if key == "e" and char.Mana.Value>=50  then
1446
	 char.Mana.Value =  char.Mana.Value - 50
1447
    larm.BrickColor = BrickColor.new("Bright red")
1448
    rarm.BrickColor = BrickColor.new("Bright red")
1449
        if Debounces.CanAttack == true then
1450
        Debounces.CanAttack = false
1451
        Debounces.on = true
1452
        Debounces.NoIdl = true
1453
        for i = 1, 18 do
1454
            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)
1455
            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)
1456
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
1457
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
1458
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
1459
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
1460
            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)
1461
        if Debounces.on == false then break end
1462
            wait()
1463
        end
1464
        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))
1465
        local rng = Instance.new("Part", char.Absolution.Handle)
1466
        rng.Anchored = true
1467
        rng.BrickColor = BrickColor.new("Really black")
1468
        rng.CanCollide = true
1469
        rng.FormFactor = 3
1470
        rng.Name = "Ring"
1471
        rng.Size = Vector3.new(1, 1, 1)
1472
        rng.CanCollide = false
1473
        rng.Transparency = 0.35
1474
        rng.TopSurface = 0
1475
        rng.BottomSurface = 0
1476
        rng.CFrame = HandCF
1477
        local rngm = Instance.new("SpecialMesh", rng)
1478
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1479
        rngm.Scale = Vector3.new(1, 1, 2)
1480
            x = Instance.new("Sound", hed)
1481
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
1482
            x.Looped = false
1483
            x.Pitch = .7
1484
            x.Volume = 1
1485
            x1 = Instance.new("Sound", hed)
1486
            x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
1487
            x1.Looped = false
1488
            x1.Pitch = .7
1489
            x1.Volume = 1
1490
            x:Play()
1491
            x1:Play()
1492
            rngto = rng.Touched:connect(function(ht)
1493
            hit = ht.Parent
1494
            if ht and hit:IsA("Model") then
1495
                    if hit:FindFirstChild("Humanoid") then
1496
                        if hit.Name ~= p.Name then
1497
                            
1498
                                    hit:FindFirstChild("Humanoid"):TakeDamage(4)
1499
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1500
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
1501
                                    --Debounces.Slashed = false
1502
                            --end
1503
                        end
1504
                    end
1505
            elseif ht and hit:IsA("Hat") then
1506
                if hit.Parent.Name ~= p.Name then
1507
                    if hit.Parent:FindFirstChild("Humanoid") then
1508
                          
1509
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
1510
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1511
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
1512
                        --Debounces.Slashed = false
1513
                    end
1514
                end
1515
            end    
1516
        end)
1517
                coroutine.wrap(function()
1518
                for i = 1, 60, 2 do
1519
                rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 10)
1520
                rng.Size = rngm.Scale
1521
                rng.CFrame = HandCF
1522
                rng.Transparency = i/60
1523
                wait()
1524
                end
1525
                wait()
1526
                rng:Destroy()
1527
                end)()
1528
        for i = 1, 18 do
1529
            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)
1530
            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)
1531
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
1532
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
1533
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
1534
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
1535
            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)
1536
        if Debounces.on == false then break end
1537
            wait()
1538
        end
1539
        larm.BrickColor = BrickColor.new("Really black")
1540
        rarm.BrickColor = BrickColor.new("Really black")
1541
        x:Destroy()
1542
        x1:Destroy()
1543
    if Debounces.CanAttack == false then
1544
        Debounces.CanAttack = true
1545
        Debounces.on = false
1546
        Debounces.NoIdl = false
1547
            end
1548
        end
1549
    end
1550
end)
1551
----------------------------------------------------
1552
mouse.KeyDown:connect(function(key)
1553
	if key == "y" then
1554
		if Debounces.CanAttack == true then
1555
            Debounces.CanAttack = false
1556
            Debounces.on = true
1557
            Debounces.NoIdl = true
1558
				for i = 1, 15 do
1559
					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)
1560
					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)
1561
					hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
1562
					torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
1563
					lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
1564
					rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
1565
					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)
1566
                    if Debounces.on == false then break end
1567
                    wait()
1568
                end
1569
				x = Instance.new("Sound",char)
1570
				x.SoundId = "rbxassetid://228343271"
1571
				x.Pitch = 1
1572
				x.Volume = .8
1573
				wait(.1)
1574
				x:Play()
1575
				Debounces.on = false
1576
				Debounces.Here = false
1577
				shot = shot + 1
1578
local rng = Instance.new("Part", char)
1579
rng.Anchored = true
1580
rng.BrickColor = BrickColor.new("Really black")
1581
rng.CanCollide = false
1582
rng.FormFactor = 3
1583
rng.Name = "Ring"
1584
rng.Size = Vector3.new(1, 1, 1)
1585
rng.Transparency = 0.35
1586
rng.TopSurface = 0
1587
rng.BottomSurface = 0
1588
rng2 = rng:clone()
1589
rng3 = rng2:clone()
1590
rng4 = rng2:clone()
1591
local rngm = Instance.new("SpecialMesh", rng)
1592
rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
1593
rngm.TextureId = "http://www.roblox.com/asset/?id=122569107"
1594
rngm.Scale = Vector3.new(10, 10, 1)
1595
rngm2 = rngm:clone()
1596
rngm2.Scale = Vector3.new(5, 5, 1)
1597
rngm3=rngm2:clone()
1598
rngm3.Parent = rng3
1599
rngm3.Scale = Vector3.new(8, 8, 1)
1600
rngm4 = rngm2:clone()
1601
rngm4.Parent = rng4
1602
rngm4.Scale = Vector3.new(6, 6, 1)
1603
local bem = Instance.new("Part", char)
1604
bem.Anchored = true
1605
bem.BrickColor = BrickColor.new("Really black")
1606
bem.CanCollide = false
1607
bem.FormFactor = 3
1608
bem.Name = "Beam" .. shot
1609
bem.Size = Vector3.new(1, 1, 1)
1610
bem.Transparency = 0.35
1611
bem.TopSurface = 0
1612
bem.BottomSurface = 0
1613
local bemm = Instance.new("SpecialMesh", bem)
1614
bemm.MeshType = 4
1615
bemm.Scale = Vector3.new(1, 4, 4)
1616
local out = Instance.new("Part", char)
1617
out.Anchored = true
1618
out.BrickColor = BrickColor.new("Really black")
1619
out.CanCollide = false
1620
out.FormFactor = 3
1621
out.Name = "Out"
1622
out.Size = Vector3.new(4, 4, 4)
1623
out.Transparency = 0.35
1624
out.TopSurface = 0
1625
out.BottomSurface = 0
1626
local outm = Instance.new("SpecialMesh", out)
1627
outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
1628
outm.TextureId = "http://www.roblox.com/asset/?id=122569107"
1629
outm.Scale = Vector3.new(4, 4, 4)
1630
local bnd = Instance.new("Part", char)
1631
bnd.Anchored = true
1632
bnd.BrickColor = BrickColor.new("Really black")
1633
bnd.CanCollide = false
1634
bnd.FormFactor = 3
1635
bnd.Material = "Neon"
1636
bnd.Name = "Bend"
1637
bnd.Size = Vector3.new(1, 1, 1)
1638
bnd.Transparency = 1
1639
bnd.TopSurface = 0
1640
bnd.BottomSurface = 0
1641
local bndm = Instance.new("SpecialMesh", bnd)
1642
bndm.MeshType = 3
1643
bndm.Scale = Vector3.new(8, 8, 8)
1644
out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
1645
bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
1646
bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
1647
rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
1648
rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
1649
rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
1650
Debounces.Shewt = true
1651
coroutine.wrap(function()
1652
for i = 1, 50, 0.2 do
1653
rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
1654
rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
1655
rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
1656
rng.Transparency = i/20
1657
rng3.Transparency = 1/16
1658
rng4.Transparency = i/12
1659
wait()
1660
end
1661
wait()
1662
rng:Destroy()
1663
end)()
1664
if Debounces.Shewt == true then
1665
char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
1666
hit = ht.Parent
1667
if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
1668
if HasntTouched(hit.Name) == true and deb == false then
1669
deb = true
1670
coroutine.wrap(function()
1671
hit:FindFirstChild("Humanoid").PlatformStand = true
1672
hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
1673
hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
1674
end)()
1675
table.insert(Touche, hit.Name)
1676
deb = false
1677
end
1678
elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
1679
if HasntTouched(hit.Parent.Name) == true and deb == false then
1680
deb = true
1681
coroutine.wrap(function()
1682
hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
1683
hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
1684
wait(1)
1685
hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
1686
end)()
1687
table.insert(Touche, hit.Parent.Name)
1688
deb = false
1689
for i, v in pairs(Touche) do
1690
print(v)
1691
end
1692
end
1693
end
1694
end)
1695
end
1696
for i = 0, 260, 8 do
1697
bem.Size = Vector3.new(i, 2, 2)
1698
bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
1699
bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
1700
bnd.Size = Vector3.new(1,1,1)
1701
bndm.Scale = Vector3.new(8,8,8)
1702
if i % 10 == 0 then
1703
local newRng = rng2:Clone()
1704
newRng.Parent = char
1705
newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
1706
local newRngm = rngm2:clone()
1707
newRngm.Parent=newRng
1708
coroutine.wrap(function()
1709
for i = 1, 10, 0.2 do
1710
newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
1711
newRng.Transparency = i/10
1712
wait()
1713
end
1714
wait()
1715
newRng:Destroy()
1716
end)()
1717
end
1718
wait()
1719
end
1720
wait()
1721
Debounces.Shewt = false
1722
bem:Destroy()
1723
out:Destroy()
1724
bnd:Destroy()
1725
Debounces.Ready = false
1726
for i, v in pairs(Touche) do
1727
table.remove(Touche, i)
1728
end
1729
wait()
1730
table.insert(Touche, char.Name)
1731
Debounces.NoIdl = false
1732
if Debounces.CanAttack == false then
1733
Debounces.CanAttack = true
1734
end
1735
end
1736
end
1737
end)
1738
----------------------------------------------------
1739
sidz = {"231917888", "231917845", "231917806"}
1740
ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
1741
mouse.KeyDown:connect(function(key)
1742
    if key == "f" and char.Mana.Value>=50 then
1743
	char.Mana.Value = char.Mana.Value - 50
1744
    larm.BrickColor = BrickColor.new("Really black")
1745
    rarm.BrickColor = BrickColor.new("Camo")
1746
        if Debounces.CanAttack == true then
1747
            Debounces.CanAttack = false
1748
            Debounces.on = true
1749
            Debounces.NoIdl = true
1750
                for i = 1, 10 do
1751
                    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)
1752
                    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)
1753
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
1754
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
1755
                    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)
1756
                    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)
1757
                    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)
1758
                    if Debounces.on == false then break end
1759
                    wait()
1760
                end
1761
                z = Instance.new("Sound",char)
1762
                z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
1763
                z.Pitch = ptz[math.random(1,#ptz)]
1764
                z.Volume = 1
1765
                z1 = Instance.new("Sound",char)
1766
                z1.SoundId = z.SoundId
1767
                z1.Pitch = z.Pitch
1768
                z1.Volume = 1
1769
                wait(1)
1770
                z:Play()
1771
                z1:Play()
1772
                Stomp()
1773
                for i = 1, 20 do
1774
                    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)
1775
                    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)
1776
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
1777
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
1778
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
1779
                    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)
1780
                    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)
1781
                    if Debounces.on == false then break end
1782
                    wait()
1783
                end
1784
        if Debounces.CanAttack == false then
1785
            Debounces.CanAttack = true
1786
            Debounces.on = false
1787
            Debounces.NoIdl = false
1788
            larm.BrickColor = BrickColor.new("Really black")
1789
            rarm.BrickColor = BrickColor.new("Really black")
1790
            end
1791
        end
1792
    end
1793
end)    
1794
----------------------------------------------------
1795
mouse.KeyDown:connect(function(key)
1796
    if key == "g" and char.Mana.Value>5 then
1797
	char.Mana.Value = char.Mana.Value - 5
1798
    larm.BrickColor = BrickColor.new("Camo")
1799
    rarm.BrickColor = BrickColor.new("Really black")
1800
        if Debounces.CanAttack == true then
1801
        Debounces.CanAttack = false
1802
        Debounces.on = true
1803
        Debounces.NoIdl = true
1804
        chrg = lleg.Touched:connect(function(ht)
1805
        hit = ht.Parent
1806
            if ht and hit:IsA("Model") then
1807
                    if hit:FindFirstChild("Humanoid") then
1808
                        if hit.Name ~= p.Name then
1809
                          
1810
                                    hit:FindFirstChild("Humanoid"):TakeDamage(2)
1811
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1812
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
1813
                                    --Debounces.Slashed = false
1814
                            --end
1815
                        end
1816
                    end
1817
            elseif ht and hit:IsA("Hat") then
1818
                if hit.Parent.Name ~= p.Name then
1819
                    if hit.Parent:FindFirstChild("Humanoid") then
1820
                           
1821
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
1822
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1823
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
1824
                        --Debounces.Slashed = false
1825
                    end
1826
                end
1827
            end    
1828
        end)
1829
        for i = 1, 14 do
1830
            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)
1831
            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)
1832
            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)
1833
            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)
1834
            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)
1835
            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)
1836
            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)
1837
            if Debounces.on == false then break end
1838
            wait()
1839
        end
1840
        charge()
1841
        z = Instance.new("Sound",char)
1842
        z.SoundId = "rbxassetid://200632875"
1843
        z.Volume = 1
1844
        z.Pitch = .8
1845
        z1 = Instance.new("Sound",char)
1846
        z1.SoundId = "rbxassetid://200632875"
1847
        z1.Volume = 1
1848
        z1.Pitch = .9
1849
        z:Play()
1850
        z1:Play()
1851
        wait(1)
1852
        z:Destroy()
1853
        z1:Destroy()
1854
        chrg:disconnect()
1855
        if Debounces.CanAttack == false then
1856
            Debounces.CanAttack = true
1857
            Debounces.on = false
1858
            Debounces.NoIdl = false
1859
            larm.BrickColor = BrickColor.new("Really black")
1860
            rarm.BrickColor = BrickColor.new("Really black")
1861
            end
1862
        end
1863
    end
1864
end)
1865
----------------------------------------------------
1866
pt = {0.7, 0.8, 0.9}
1867
mouse.KeyDown:connect(function(key)
1868
    if key == "h" and char.Mana.Value>50 then
1869
		char.Mana.Value = char.Mana.Value - 50
1870
        if Debounces.CanJoke == true then
1871
            Debounces.CanJoke = false
1872
            u = Instance.new("Sound")
1873
            u.SoundId = "http://www.roblox.com/asset/?id=138199573"
1874
            u.Parent = char
1875
            u.Looped = false
1876
            u.Pitch = pt[math.random(1,#pt)]
1877
            u.Volume = 1
1878
            u2 = Instance.new("Sound")
1879
            u2.SoundId = "http://www.roblox.com/asset/?id=138199573"
1880
            u2.Parent = char
1881
            u2.Looped = false
1882
            u2.Pitch = u.Pitch
1883
            u2.Volume = 1
1884
            wait(.01)
1885
            u:Play()
1886
            u2:Play()
1887
            wait(6)
1888
            u:Destroy()
1889
            u2:Destroy()
1890
            if Debounces.CanJoke == false then
1891
                Debounces.CanJoke = true
1892
            end
1893
        end
1894
    end
1895
end)
1896
----------------------------------------------------
1897
mouse.KeyDown:connect(function(key)
1898
    if key == "j" and char.Mana.Value> 30 then
1899
	char.Mana.Value = char.Mana.Value-30
1900
			if Debounces.CanJoke == true then
1901
				Debounces.CanJoke = false
1902
                z = Instance.new("Sound",char)
1903
                z.SoundId = "rbxassetid://135017755"
1904
                z.Pitch = .76
1905
                z.Volume = 1
1906
				wait()
1907
				z:Play()
1908
				wait(6)
1909
				z:Destroy()
1910
			if Debounces.CanJoke == false then
1911
				Debounces.CanJoke = true
1912
			end
1913
		end
1914
	end
1915
end)
1916
----------------------------------------------------
1917
mouse.KeyDown:connect(function(key)
1918
    if key == "k" and char.Mana.Value> 10 then
1919
	char.Mana.Value = char.Mana.Value -10
1920
			if Debounces.CanJoke == true then
1921
				Debounces.CanJoke = false
1922
                z = Instance.new("Sound",char)
1923
                z.SoundId = "rbxassetid://135017578"
1924
                z.Pitch = .76
1925
                z.Volume = 1
1926
				wait()
1927
				z:Play()
1928
				wait(4)
1929
				z:Destroy()
1930
			if Debounces.CanJoke == false then
1931
				Debounces.CanJoke = true
1932
			end
1933
		end
1934
	end
1935
end)
1936
----------------------------------------------------
1937
mouse.KeyDown:connect(function(key)
1938
    if key == "u" and char.Mana.Value>200 then
1939
    wait(1)
1940
	char.Mana.Value = char.Mana.Value-200
1941
    charge()
1942
    wait(0.6)
1943
    charge()
1944
    wait(0.6)
1945
    charge()
1946
    wait(2)
1947
    end
1948
    end)
1949
----------------------------------------------------
1950
mouse.KeyDown:connect(function(key)
1951
    if key == "x" and char.Mana.Value>50 then
1952
	char.Mana.Value = char.Mana.Value-50
1953
        if Debounces.CanAttack == true then
1954
            Debounces.CanAttack = false
1955
            Debounces.NoIdl = true
1956
            Debounces.on = true
1957
            Debounces.ks = true
1958
        for i = 1, 10 do
1959
            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)
1960
            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)
1961
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
1962
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
1963
            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)
1964
            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)
1965
            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)
1966
            if Debounces.on == false then break end
1967
            wait()
1968
        end
1969
        z = Instance.new("Sound",hed)
1970
        z.SoundId = "rbxassetid://169445092"
1971
        z.Volume = 1
1972
        wait(0.1)
1973
        z:Play()
1974
        kik = rleg.Touched:connect(function(ht)
1975
        hit = ht.Parent
1976
            if ht and hit:IsA("Model") then
1977
                    if hit:FindFirstChild("Humanoid") then
1978
                        if hit.Name ~= p.Name then
1979
                          
1980
                                    if Debounces.ks==true then
1981
                                    z = Instance.new("Sound",hed)
1982
                                    z.SoundId = "rbxassetid://169380525"
1983
                                    z.Volume = 1
1984
                                    z:Play()
1985
                                    Debounces.ks=false
1986
                                    end
1987
                                    hit:FindFirstChild("Humanoid"):TakeDamage(2)
1988
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
1989
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
1990
                            --Debounces.Slashed = false
1991
                        --end
1992
                    end
1993
                end
1994
            elseif ht and hit:IsA("Hat") then
1995
                if hit.Parent.Name ~= p.Name then
1996
                    if hit.Parent:FindFirstChild("Humanoid") then
1997
                          
1998
                                    hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
1999
                                    hit:FindFirstChild("Humanoid").PlatformStand = true
2000
                                    hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
2001
                            --Debounces.Slashed = false
2002
                        --end
2003
                    end
2004
                end
2005
            end    
2006
        end)
2007
        for i = 1, 8 do
2008
            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)
2009
            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)
2010
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
2011
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
2012
            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)
2013
            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)
2014
            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)
2015
            if Debounces.on == false then break end
2016
            wait()
2017
        end
2018
        kik:disconnect()
2019
        if Debounces.CanAttack == false then
2020
            Debounces.CanAttack = true
2021
            Debounces.on = false
2022
            Debounces.NoIdl = false
2023
            end
2024
        end
2025
    end
2026
end)
2027
----------------------------------------------------
2028
mouse.KeyDown:connect(function(key)
2029
    if key == "c" and char.Mana.Value>80 then
2030
	char.Mana.Value = char.Mana.Value -80
2031
        if Debounces.CanAttack == true then
2032
            Debounces.CanAttack = false
2033
            Debounces.NoIdl = true
2034
            Debounces.on = true
2035
            SIDZ = {"231917744", "231917742"}
2036
            PTZ = {0.7, 0.8, 0.9, 1}
2037
                for i = 1, 20 do
2038
                    wait()
2039
                        for i,v in pairs(char.Absolution:children()) do
2040
                    if v:IsA("Part") or v:IsA("WedgePart") then
2041
                        v.Transparency = v.Transparency + 0.05
2042
                        end
2043
                    end
2044
                end
2045
                function FindNearestTorso(Position,Distance,SinglePlayer)
2046
                    if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
2047
                        local List = {}
2048
                        for i,v in pairs(workspace:GetChildren())do
2049
                            if v:IsA("Model")then
2050
                                if v:findFirstChild("Torso")then
2051
                                    if v ~= char then
2052
                                        if(v.Torso.Position -Position).magnitude <= Distance then
2053
                                            table.insert(List,v)
2054
                                        end 
2055
                                    end 
2056
                                end 
2057
                            end 
2058
                        end
2059
                    return List
2060
                end
2061
                GroundPound()
2062
                for i = 1, 5 do
2063
                    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)
2064
                    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)
2065
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2066
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2067
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2068
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2069
                    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)
2070
                    if Debounces.on == false then break end
2071
                    wait()
2072
                end
2073
                GroundPound()
2074
                for i = 1, 5 do
2075
                    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)
2076
                    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)
2077
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2078
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2079
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2080
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2081
                    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)
2082
                    if Debounces.on == false then break end
2083
                    wait()
2084
                end
2085
                GroundPound()
2086
                for i = 1, 5 do
2087
                    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)
2088
                    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)
2089
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2090
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2091
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2092
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2093
                    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)
2094
                    if Debounces.on == false then break end
2095
                    wait()
2096
                end
2097
                GroundPound()
2098
                for i = 1, 5 do
2099
                    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)
2100
                    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)
2101
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2102
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2103
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2104
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2105
                    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)
2106
                    if Debounces.on == false then break end
2107
                    wait()
2108
                end
2109
                GroundPound()
2110
                for i = 1, 5 do
2111
                    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)
2112
                    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)
2113
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
2114
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
2115
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
2116
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2117
                    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)
2118
                    if Debounces.on == false then break end
2119
                    wait()
2120
                end
2121
                GroundPound()
2122
                for i = 1, 5 do
2123
                    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)
2124
                    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)
2125
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
2126
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
2127
                    lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
2128
                    rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
2129
                    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)
2130
                    if Debounces.on == false then break end
2131
                    wait()
2132
                end
2133
                for i = 1, 18 do
2134
                    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)
2135
                    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)
2136
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
2137
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
2138
                    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)
2139
                    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)
2140
                    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)
2141
                    if Debounces.on == false then break end
2142
                    wait()
2143
                end
2144
                for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
2145
                    if v:FindFirstChild('Humanoid') then
2146
                        v.Humanoid:TakeDamage(math.random(20,60))
2147
                        v.Humanoid.PlatformStand = true
2148
                        v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
2149
                    end
2150
                end
2151
                x = Instance.new("Sound",char)
2152
                x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
2153
                x.Pitch = PTZ[math.random(1,#PTZ)]
2154
                x.Volume = 1
2155
                wait(0.1)
2156
                x:Play()
2157
                Crater(hed,20)
2158
                for i = 1, 14 do
2159
                    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)
2160
                    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)
2161
                    hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
2162
                    torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
2163
                    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)
2164
                    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)
2165
                    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)
2166
                    if Debounces.on == false then break end
2167
                    wait()
2168
                end
2169
            if Debounces.CanAttack == false then
2170
                Debounces.CanAttack = true
2171
                Debounces.on = false
2172
                Debounces.NoIdl = false
2173
                for i = 1, 20 do
2174
                    wait()
2175
                        for i,v in pairs(char.Absolution:children()) do
2176
                    if v:IsA("Part") or v:IsA("WedgePart") then
2177
                        v.Transparency = v.Transparency - 0.05
2178
                        end
2179
                    end
2180
                end
2181
            end
2182
        end
2183
    end
2184
end)
2185
----------------------------------------------------176349813
2186
mouse.KeyDown:connect(function(key)
2187
    if key == "b" and char.Mana.Value>80 then
2188
	char.Mana.Value = char.Mana.Value -80
2189
        hum.WalkSpeed = 20
2190
        if Debounces.CanAttack == true then
2191
            Debounces.CanAttack = false
2192
            Debounces.NoIdl = true
2193
            Debounces.on = true
2194
            for i = 1,20 do
2195
            rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
2196
            larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
2197
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
2198
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
2199
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
2200
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
2201
            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)
2202
            if Debounces.on == false then break end
2203
            wait()
2204
            end
2205
        wait(1)
2206
        v = Instance.new("Sound")
2207
        v.SoundId = "rbxassetid://181384451"
2208
        v.Parent = char
2209
        v.Looped = false
2210
        v.Pitch = 1.04
2211
        v.Volume = 1.5
2212
        wait(.01)
2213
        v:Play()
2214
        
2215
				v = Instance.new("Sound")
2216
        v.SoundId = "rbxassetid://138252341"
2217
        v.Parent = char
2218
        v.Looped = false
2219
        v.Pitch = 1.04
2220
        v.Volume = 1.2
2221
        wait(.01)
2222
        v:Play()
2223
        if Daytime == true then
2224
            Daytime = false
2225
            l.TimeOfDay = 24
2226
        else
2227
            Daytime = true
2228
            l.TimeOfDay = 12
2229
            l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
2230
        end
2231
        
2232
            local Shockwave = function()
2233
                local rng1 = Instance.new("Part", char)
2234
                rng1.Anchored = true
2235
                rng1.BrickColor = BrickColor.new("Institutional white")
2236
                rng1.CanCollide = false
2237
                rng1.FormFactor = 3
2238
                rng1.Name = "Ring"
2239
				rng1.Material = "Neon"
2240
                rng1.Size = Vector3.new(1, 1, 1)
2241
                rng1.Transparency = 0.35
2242
                rng1.TopSurface = 0
2243
                rng1.BottomSurface = 0
2244
                local rngm1 = Instance.new("SpecialMesh", rng)
2245
                rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
2246
                rngm1.Scale = Vector3.new(10, 10, 1)
2247
                rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
2248
                local Wave = Instance.new("Part", game.Workspace)
2249
                Wave.Name = "Shockwave"
2250
                Wave.BrickColor = BrickColor.new("Really black")
2251
                Wave.Size = Vector3.new(1, 1, 1)
2252
                Wave.Shape = "Ball"
2253
				Wave.Name = "Wave"
2254
				Wave.Material = "Neon"
2255
                Wave.CanCollide = false
2256
                Wave.Anchored = true
2257
                Wave.TopSurface = 0
2258
                Wave.BottomSurface = 0
2259
                Wave.Touched:connect(function(hit)
2260
                    if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
2261
                        local Occlude = true
2262
                        local NotOccludes = {
2263
                            char.Name;
2264
                            "Wings";
2265
                            "Scythe";
2266
                            "Thingy";
2267
                            "Thingy2"; -- put all of the names in a table pls
2268
                        }
2269
                        for i,v in pairs(NotOccludes) do
2270
                            if hit.Parent.Name == v then
2271
                                Occlude = false
2272
                            end
2273
                        end
2274
                        --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
2275
                        if Occlude then
2276
                            hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - math.huge
2277
                            hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
2278
                        end
2279
                    end
2280
                end)
2281
                
2282
                Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
2283
                
2284
                coroutine.wrap(function()
2285
                    for i = 1, 20, 0.2 do
2286
                        rngm1.Scale = Vector3.new(30 + i*2, 30 + i*2, 1)
2287
                        rng1.Transparency = i/20
2288
						local Wav2 = game.Workspace.Wave:Clone()
2289
						Wav2.Position = Vector3.new(math.random(0,200),2,math.random(0,200))
2290
                    wait()
2291
                    end
2292
                    wait()
2293
                    rng1:Destroy()
2294
                end)()
2295
                
2296
                Delay(0, function()
2297
2298
                    if Daytime == false then
2299
                       for i = 1, 50, 1 do
2300
                            Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
2301
                            Wave.CFrame = char.Torso.CFrame
2302
                            local t = i / 50
2303
                            Wave.Transparency = t
2304
                            wait()
2305
                        end
2306
                    else
2307
                        for i = 1, 50, 1 do
2308
                            Wave.Size = Vector3.new(20 + i, 20 + i, 20 + i)
2309
                            Wave.CFrame = char.Torso.CFrame
2310
                            local t = i / 50
2311
                            Wave.Transparency = t
2312
                            wait()
2313
                        end
2314
                    end
2315
                    Wave:Destroy()
2316
                end)
2317
                Delay(0, function()
2318
                    while wait() do
2319
                        if Wave ~= nil then
2320
                            Wave.CFrame = char.Torso.CFrame
2321
                        else
2322
                            break
2323
                        end
2324
                    end
2325
                end)
2326
            end
2327
        Shockwave() 
2328
        for i = 1, 15 do
2329
            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)
2330
            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)
2331
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2332
            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)
2333
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2334
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2335
            if Debounces.on == false then break end
2336
            wait()
2337
        end
2338
        for i = 1, 15 do
2339
            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)
2340
            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)
2341
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2342
            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)
2343
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2344
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2345
            if Debounces.on == false then break end
2346
            wait()
2347
        end
2348
        for i = 1, 15 do
2349
            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)
2350
            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)
2351
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2352
            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)
2353
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2354
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2355
            if Debounces.on == false then break end
2356
            wait()
2357
        end
2358
        for i = 1, 15 do
2359
            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)
2360
            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)
2361
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2362
            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)
2363
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2364
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2365
            if Debounces.on == false then break end
2366
            wait()
2367
        end
2368
        for i = 1, 15 do
2369
            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)
2370
            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)
2371
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
2372
            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)
2373
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
2374
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2375
            if Debounces.on == false then break end
2376
            wait()
2377
        end
2378
        for i = 1, 15 do
2379
            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)
2380
            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)
2381
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
2382
            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)
2383
            lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
2384
            rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
2385
            if Debounces.on == false then break end
2386
            wait()
2387
        end
2388
        wait(1.4)
2389
        Debounces.NoIdl = false
2390
        hum.WalkSpeed = 50
2391
        Debounces.on = false
2392
        wait()
2393
        if Debounces.CanAttack == false then
2394
            Debounces.CanAttack = true
2395
            v:Destroy()
2396
            end
2397
            char.Mana.Value = char.Mana.Value + 1000
2398
            wait(4)
2399
        end
2400
    end
2401
end)
2402
----------------------------------------------------
2403
mouse.KeyDown:connect(function(key)
2404
    if key == "m"  and char.Mana.Value> 60 then
2405
	char.Mana.Value = char.Mana.Value-60
2406
hum.WalkSpeed = 0
2407
        if Debounces.CanAttack == true then
2408
        Debounces.CanAttack = false
2409
        Debounces.on = true
2410
        Debounces.NoIdl = true
2411
            x = Instance.new("Sound",char)
2412
            x.SoundId = "http://www.roblox.com/asset/?id=169445572"
2413
            x.Looped = false
2414
            x.Pitch = 1.1
2415
            x.Volume = 1
2416
            x:Play()
2417
            x2 = Instance.new("Sound",char)
2418
            x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
2419
            x2.Looped = false
2420
            x2.Pitch = .7
2421
            x2.Volume = 1
2422
            wait(.1)
2423
            x:Play()
2424
            x2:Play()
2425
        for i = 1, 20 do
2426
            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)
2427
            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)
2428
            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)
2429
            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)
2430
            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)
2431
            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)
2432
            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)
2433
            if Debounces.on == false then break end
2434
                wait()
2435
            x:Destroy()
2436
            x2:Destroy()
2437
            end
2438
            wait(1)
2439
        local rng = Instance.new("Part", char)
2440
        rng.Anchored = true
2441
        rng.BrickColor = BrickColor.new("Really black")
2442
        rng.CanCollide = false
2443
        rng.FormFactor = 3
2444
        rng.Name = "Ring"
2445
        rng.Size = Vector3.new(1, 1, 1)
2446
        rng.Transparency = 0.35
2447
        rng.TopSurface = 0
2448
        rng.BottomSurface = 0
2449
        rng.Position = torso.Position - Vector3.new(0,2,0)
2450
        rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
2451
        local rngm = Instance.new("SpecialMesh", rng)
2452
        rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
2453
        rngm.Scale = Vector3.new(1, 1, 2)
2454
            x = Instance.new("Sound",char)
2455
            x.SoundId = "http://www.roblox.com/asset/?id=169445602"
2456
            x.Looped = false
2457
            x.Pitch = .7
2458
            x.Volume = 1
2459
            x:Play()
2460
                coroutine.wrap(function()
2461
                for i = 1, 60, 2 do
2462
                rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
2463
                rng.Transparency = i/60
2464
                wait()
2465
                end
2466
                wait()
2467
                rng:Destroy()
2468
                end)()
2469
            hum.WalkSpeed = 50
2470
        BV = Instance.new("BodyVelocity", torso)
2471
        BV.maxForce = Vector3.new(0,200000,0)
2472
        BV.P = 100000
2473
        BV.velocity = Vector3.new(0,800,0)
2474
    for i = 1, 20 do
2475
        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)
2476
        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)
2477
        larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0,     math.rad(-20)), 0.7)
2478
        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)
2479
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
2480
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
2481
        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)
2482
        if Debounces.on == false then break end
2483
        wait()
2484
    end
2485
x:Destroy()
2486
BV:Destroy()
2487
    for i = 1, 30 do
2488
        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)
2489
        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)
2490
        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)
2491
        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)
2492
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
2493
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0),     0.3)
2494
        if Debounces.on == false then break end
2495
        wait()
2496
    end
2497
if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
2498
    for i = 1, 30 do
2499
        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)
2500
        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)
2501
        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)
2502
        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)
2503
        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)
2504
        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)
2505
        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)
2506
        if Debounces.on == false then break end
2507
        wait()
2508
    end
2509
end
2510
Debounces.on = false
2511
Debounces.NoIdl = false
2512
local ry,ht,ps=nil,nil,nil
2513
while ht==nil do
2514
	ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
2515
	wait()
2516
end
2517
z = Instance.new("Sound",char)
2518
z.SoundId = "rbxassetid://142070127"
2519
z.Volume = 1
2520
wait(.1)
2521
z:Play()
2522
Landing()
2523
hum.WalkSpeed = 50
2524
if Debounces.CanAttack == false then
2525
Debounces.CanAttack = true
2526
end
2527
end
2528
end
2529
end)
2530
----------------------------------------------------
2531
Grab = false
2532
mouse.KeyDown:connect(function(key)
2533
    if key == "z" then
2534
    larm.BrickColor = BrickColor.new("Bright red")
2535
    rarm.BrickColor = BrickColor.new("Bright red")
2536
        Debounces.on = true
2537
        Debounces.NoIdl = true
2538
        if Grab == false then
2539
        gp = nil
2540
        con1=larm.Touched:connect(function(hit) -- this is grab
2541
            ht = hit.Parent
2542
            hum1=ht:FindFirstChild('Humanoid')
2543
            if hum1 ~= nil then
2544
                hum1.PlatformStand=true
2545
                gp = ht
2546
                Grab = true
2547
                asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
2548
                asd.Parent = larm
2549
                asd.Name = "asd"
2550
                asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
2551
            elseif hum1 == nil then
2552
                con1:disconnect()
2553
                wait() return
2554
            end
2555
        end)
2556
        for i = 1, 18 do
2557
            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)
2558
            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)
2559
            hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
2560
            torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
2561
            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)
2562
            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)
2563
            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)
2564
            if Debounces.on == false then break end
2565
            wait()
2566
        end
2567
    con1:disconnect()
2568
    Debounces.on = false
2569
    Debounces.NoIdl = false
2570
    elseif Grab == true then
2571
        Grab = false
2572
    for i = 1, 20 do
2573
        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)
2574
        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)
2575
        hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
2576
        torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
2577
        lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
2578
        rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
2579
        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)
2580
        if Debounces.on == false then end
2581
        wait()
2582
    end
2583
        if gp ~= nil then
2584
        for i,v in pairs(larm:GetChildren()) do
2585
            if v.Name == "asd" and v:IsA("Weld") then
2586
                v:Remove()
2587
            end
2588
        end
2589
        bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
2590
        bv.maxForce = Vector3.new(400000, 400000, 400000)
2591
        bv.P = 125000
2592
        bv.velocity = char.Head.CFrame.lookVector * 200
2593
        for i = 1, 12 do
2594
            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)
2595
            if Debounces.on == false then end
2596
            wait()
2597
        end
2598
        ht=nil
2599
        Spawn(function()
2600
            wait(0.5)
2601
            bv:Destroy()
2602
        end)
2603
        Debounces.on = false
2604
        Debounces.NoIdl = false
2605
        elseif ht == nil then wait()
2606
        Grab = false
2607
        Debounces.on = false
2608
        Debounces.NoIdl = false
2609
            end
2610
        end
2611
    end
2612
end)
2613
----------------------------------------------------
2614
mouse.KeyDown:connect(function(key)
2615
    if string.byte(key) == 52 then
2616
        char.Humanoid.WalkSpeed = 21
2617
    end
2618
end)
2619
mouse.KeyUp:connect(function(key)
2620
    if string.byte(key) == 52 then
2621
        char.Humanoid.WalkSpeed = 50
2622
    end
2623
end)
2624
----------------------------------------------------
2625
local animpose = "Idle"
2626
local lastanimpose = "Idle"
2627
local sine = 0
2628
local change = 1
2629
local val = 0
2630
local ffing = false
2631
----------------------------------------------------
2632
x = Instance.new("Sound", char)
2633
x.SoundId = "http://www.roblox.com/asset/?id=187922823"
2634
x.Looped = true
2635
x.Volume = 1
2636
x.Pitch = 1
2637
local footsteps = false
2638
-------------------------------
2639
game:GetService("RunService").RenderStepped:connect(function()
2640
if char.Humanoid.Jump == true then
2641
jump = true
2642
else
2643
jump = false
2644
end
2645
char.Humanoid.FreeFalling:connect(function(f)
2646
if f then
2647
ffing = true
2648
else
2649
ffing = false
2650
end
2651
end)
2652
sine = sine + change
2653
if jumpn == true then
2654
animpose = "Jumping"
2655
elseif ffing == true then
2656
animpose = "Freefalling"
2657
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
2658
animpose = "Idle"
2659
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
2660
animpose = "Walking"
2661
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
2662
animpose = "Running"
2663
end
2664
if animpose ~= lastanimpose then
2665
sine = 0
2666
if Debounces.NoIdl == false then
2667
if animpose == "Idle" then
2668
for i = 1, 2 do
2669
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)
2670
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)
2671
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
2672
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
2673
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
2674
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
2675
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)
2676
end
2677
elseif animpose == "Walking" then
2678
for i = 1, 2 do
2679
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)
2680
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
2681
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)
2682
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
2683
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
2684
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
2685
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)
2686
end
2687
elseif animpose == "Running" then
2688
for i = 1, 2 do
2689
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)
2690
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)
2691
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)
2692
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)
2693
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)
2694
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)
2695
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)
2696
end
2697
wait()
2698
end
2699
else
2700
end
2701
end
2702
lastanimpose = animpose
2703
if Debounces.NoIdl == false then
2704
if animpose == "Idle" then
2705
if stanceToggle == "Normal" then
2706
change = 0.5
2707
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)
2708
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)
2709
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)
2710
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
2711
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)
2712
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)
2713
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)
2714
elseif stanceToggle == "Sitting" then
2715
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)
2716
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)
2717
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)
2718
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)
2719
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)
2720
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)
2721
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)
2722
end
2723
elseif animpose == "Walking" then
2724
if stanceToggle == "Normal" then
2725
change = 1
2726
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.04)
2727
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.04)
2728
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.03)
2729
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.04)
2730
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), 0.04)
2731
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), .04)
2732
cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 0.04)
2733
end
2734
elseif animpose == "Running" then
2735
change = 1
2736
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)
2737
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)
2738
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)
2739
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)
2740
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)
2741
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)
2742
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)
2743
end
2744
end
2745
if animpose == "Walking" then
2746
    if footsteps == false then
2747
        x:Play()
2748
        footsteps = true
2749
    end
2750
    x.Pitch = 1.1
2751
elseif animpose == "Idle" then
2752
    x:Stop()
2753
    footsteps = false
2754
elseif animpose == "Running" then
2755
    x.Pitch = 1.2
2756
    if footsteps == false then
2757
        x:Play()
2758
        footsteps = true
2759
    end
2760
end
2761
end)
2762
p.Chatted:connect(function(msg)
2763
    if msg == TitanBet.."loadsong" then
2764
                z = Instance.new("Sound", char)
2765
z.SoundId = "rbxassetid://306826153"--242463565
2766
z.Name = "Music"
2767
z.Looped = true
2768
z.Volume = 1
2769
z.Pitch = 1
2770
wait()
2771
if p.Name == "PointCoded" or "nguyenjimbo" then
2772
z:Play()
2773
else
2774
	print("Not Point Coded = no music")
2775
end
2776
    end
2777
   
2778
end)
2779
2780
p.Chatted:connect(function(msg)
2781
    if msg == TitanBet.."stopsong" then
2782
               char.Music:remove()
2783
    end
2784
mx = game.Debris
2785
mx2 = game.Debris.MaxItems
2786
 
2787
if (mx.MaxItems > 20000) then
2788
        mx.MaxItems = mx2*.75
2789
end
2790
 
2791
--made by bigbadke12
2792
--dont change my name!
2793
--if the script stops working lower the number from 40,000 to a lower number. (changeing it to a crazy number like 1,000,000
2794
--will only make it worse)
2795
--this works so dont copy it.
2796
--this is Version V4.1.1
2797
--ONLY TRUST ANTI-LAG SCRIPTS MADE BY bigbadke12 or they may be infected or leeched.
2798
--Enjoy! :)
2799
--Dont forget to tell your friends!
2800
--Read the "READ ME!" Script!
2801
--If you like this script join: http://www.roblox.com/groups/group.aspx?gid=537037
2802
--Check out the "how it works" guide to read how this script works
2803
 
2804
 
2805
--Credits--
2806
--Anaminus -Updater Script
2807
--Zaqw78 -Helped find a couple bugs
2808
 
2809
--Extra Stuff--
2810
--Want to help me out a little?
2811
--Come play http://www.roblox.com/GameStop-Tycoon-V5-6-Favorite-Updates-Coming-place?id=44412559
2812
--Who knows you might just have a little fun there to.
2813
   
2814
end)
2815
2816
while true do
2817
local pe = char:GetChildren()
2818
pe.Locked = true
2819
p.PlayerGui.Mana.Mana.Text = "Mana: "..char.Mana.Value
2820
if char.Mana.Value>4999 then
2821
		char.Mana.Value = 4999
2822
	end
2823
	char.Mana.Value = char.Mana.Value + 1
2824
	local pe = char:GetChildren()
2825
	hum.MaxHealth = 50000
2826
	hum.Health = 50000
2827
pe.Locked = true
2828
	wait(0.000000000000000000000000001)
2829
end