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