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