View difference between Paste ID: FWSXQNrv and knsDW456
SHOW: | | - or go back to the newest paste.
1
---Presets------------------------
2
---Presets------------------------
3
iz = (game.Players.LocalPlayer.Name)
4
5
6
7
is = (game.Players.LocalPlayer.Character)
8
9
10
local Player = game.Players.LocalPlayer
11
local Character = Player.Character 
12
local PlayerGui = Player.PlayerGui
13
local Backpack = Player.Backpack 
14
local Torso = Character.HumanoidRootPart 
15
local Humanoid = Character.Humanoid
16
local hum = Character.Humanoid
17
local LeftArm = Character["Left Arm"] 
18
local LeftLeg = Character["Left Leg"] 
19
local RightArm = Character["Right Arm"] 
20
local RightLeg = Character["Right Leg"]
21
local Backpack = Player.Backpack 
22
local TorsA = Character.Torso 
23
local Head = Character.Head 
24
local LS = TorsA["Left Shoulder"] 
25
local LH = TorsA["Left Hip"] 
26
local RS = TorsA["Right Shoulder"] 
27
local RH = TorsA["Right Hip"] 
28
local Neck = TorsA.Neck
29
local rs = game:GetService("RunService").RenderStepped
30
local Mouse = Player:GetMouse()
31
attacktype = 1
32
vt = Vector3.new
33
ColorDebounce = false
34
cf = CFrame.new
35
euler = CFrame.fromEulerAnglesXYZ
36
angles = CFrame.Angles
37
necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
38
necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
39
LHC0 = cf(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
40
LHC1 = cf(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
41
RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
42
RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
43
RootPart = Character.HumanoidRootPart
44
RootJoint = RootPart.RootJoint
45
RootCF = euler(-1.57, 0, 3.14)
46
attack = false 
47
equipped = true
48
local RbxUtility = LoadLibrary("RbxUtility")
49
local Create = RbxUtility.Create
50
local Root = Character.HumanoidRootPart
51
math.randomseed(os.time())
52
53
fat = Instance.new("BindableEvent",script)
54
fat.Name = "Heartbeat"
55
56
script:WaitForChild("Heartbeat")
57
58
frame = 1/30
59
tf = 0
60
allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
61
tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
62
lastframe = tick()
63
script.Heartbeat:Fire() --ayy lmao
64
65
game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
66
	tf = tf + s
67
	if tf >= frame then
68
		if allowframeloss then
69
			script.Heartbeat:Fire()
70
			lastframe=tick()
71
		else
72
			--print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
73
			for i=1, math.floor(tf/frame) do
74
				script.Heartbeat:Fire()
75
			end
76
			lastframe=tick()
77
		end
78
		if tossremainder then
79
			tf = 0
80
		else
81
			tf = tf - frame * math.floor(tf/frame)
82
		end
83
	end
84
end)
85
86
Debounces = {
87
CanAttack = true;
88
NoIdl = false;
89
Slashing = false;
90
Slashed = false;
91
RPunch = false;
92
RPunched = false;
93
LPunch = false;
94
LPunched = false;
95
}
96
local Touche = {Character.Name, }
97
98
local acos = math.acos
99
local sqrt = math.sqrt
100
local Vec3 = Vector3.new
101
local fromAxisAngle = CFrame.fromAxisAngle
102
103
local function toAxisAngle(CFr)
104
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
105
        local Angle = math.acos((R00+R11+R22-1)/2)
106
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
107
        A = A == 0 and 0.00001 or A
108
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
109
        B = B == 0 and 0.00001 or B
110
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
111
        C = C == 0 and 0.00001 or C
112
        local x = (R21-R12)/sqrt(A)
113
        local y = (R02-R20)/sqrt(B)
114
        local z = (R10-R01)/sqrt(C)
115
        return Vec3(x,y,z),Angle
116
end
117
118
local acos = math.acos
119
local sqrt = math.sqrt
120
local Vec3 = Vector3.new
121
local fromAxisAngle = CFrame.fromAxisAngle
122
123
local function toAxisAngle(CFr)
124
        local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
125
        local Angle = math.acos((R00+R11+R22-1)/2)
126
        local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
127
        A = A == 0 and 0.00001 or A
128
        local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
129
        B = B == 0 and 0.00001 or B
130
        local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
131
        C = C == 0 and 0.00001 or C
132
        local x = (R21-R12)/sqrt(A)
133
        local y = (R02-R20)/sqrt(B)
134
        local z = (R10-R01)/sqrt(C)
135
        return Vec3(x,y,z),Angle
136
end
137
138
function ApplyTrig(Num,Func)
139
        local Min,Max = Func(0),Func(1)
140
        local i = Func(Num)
141
        return (i-Min)/(Max-Min)
142
        --[[if Func == "sin" then
143
                return (math.sin((1-Num)*math.pi)+1)/2
144
        elseif Func == "cos" then
145
                return (math.cos((1-Num)*math.pi)+1)/2
146
        end]]
147
end
148
149
function LerpCFrame(CFrame1,CFrame2,Num)
150
        local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
151
        return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
152
end
153
154
function Crater(Torso,Radius)
155
        Spawn(function()
156
        local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
157
        local Ignore = {}
158
        for i,v in pairs(game:GetService("Players"):GetPlayers()) do
159
                if v.Character ~= nil then
160
                        Ignore[#Ignore+1] = v.Character
161
                end
162
        end
163
        local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
164
        if Hit == nil then return end
165
        local Parts = {}
166
        for i = 1,360,10 do
167
                local P = Instance.new("Part",Torso.Parent)
168
                P.Anchored = true
169
                P.FormFactor = "Custom"
170
                P.BrickColor = BrickColor.new("Really red")
171
                P.Material = "Granite"
172
                P.TopSurface = "Smooth"
173
                P.BottomSurface = "Smooth"
174
                P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
175
                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)))
176
                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}
177
                if math.random(0,5) == 0 then -- rubble
178
                        local P = Instance.new("Part",Torso.Parent)
179
                        P.Anchored = true
180
                        P.FormFactor = "Custom"
181
                        P.BrickColor = BrickColor.new("Royal purple")
182
                        P.Material = Hit.Material
183
                        P.TopSurface = "Smooth"
184
                        P.BottomSurface = "Smooth"
185
                        P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
186
                        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)))
187
                        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}
188
                end
189
        end
190
        for i = 0,1,0.05 do
191
                for i2,v in pairs(Parts) do
192
                        v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
193
                end
194
                wait(0.02)
195
        end
196
        for i,v in pairs(Parts) do
197
                if v[1].Size.X > 2.1 then
198
                        v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
199
                end
200
                v[1].Anchored = false
201
        end
202
        for i = 0,1,0.05 do
203
                for i2,v in pairs(Parts) do
204
                        v[1].Transparency = i
205
                        if i == 1 then
206
                                v[1]:Destroy()
207
                        elseif i >= 0.25 then
208
                                v[1].CanCollide = false
209
                        end
210
                end
211
                wait(0.02)
212
        end
213
        Parts = nil
214
        end)
215
end
216
217
local sound = Instance.new("Sound")
218
sound.SoundId = "http://www.roblox.com/asset/?id=233774928"
219
sound.Parent = Character
220
sound.Volume = 8
221
sound:Play()
222
sound.Looped=false
223
wait(0.1)
224
225
local sound = Instance.new("Sound")
226
sound.SoundId = "http://www.roblox.com/asset/?id=503327967"
227
sound.Parent = Character
228
sound.Volume = 7
229
sound:Play()
230
sound.Looped=true
231
local runServ = game:GetService("RunService").RenderStepped
232
233
234
local TBlast, TBMesh = Instance.new("Part"), Instance.new("SpecialMesh")
235
	TBlast.BrickColor = BrickColor.new("Really black")
236
	TBlast.Transparency = 1
237
	TBlast.Anchored = true
238
	TBlast.CanCollide = false
239
	TBlast.CFrame = Root.CFrame
240
	TBlast.Size = Vector3.new(2,2,2)
241
	TBMesh.Parent = TBlast
242
	TBMesh.MeshType = "Sphere"
243
	
244
	local TB, TM = Instance.new("Part"), Instance.new("SpecialMesh")
245
	TB.BrickColor = BrickColor.new("Really red")
246
	TB.Transparency = 1
247
	TB.Anchored = true
248
	TB.CanCollide = false
249
	TB.CFrame = Root.CFrame
250
	TB.Size = Vector3.new(2,2,2)
251
	TB.Parent = TBlast
252
	TM.MeshType = "Sphere"
253
	
254
	game.Lighting.Brightness = 0
255
		game.Lighting.OutdoorAmbient = TBlast.BrickColor.Color
256
		game.Lighting.TimeOfDay = 0.1
257
		game.Lighting.FogEnd = 1000
258
		game.Lighting.FogColor = TBlast.BrickColor.Color
259
		game.Lighting.TimeOfDay = "00:00:00"
260
		game.Lighting.Ambient = Color3.new(0,0,0)
261
		game.Lighting.FogColor = Color3.new(0,0,0)
262
		game.Lighting.FogEnd = 500
263
		game.Lighting.FogStart = 0
264
		game.Lighting.GlobalShadows = true
265
		
266
		wait(16)
267
		
268
		
269
		
270
		local p = game.Players.localPlayer
271
local char = p.Character
272
local mouse=p:GetMouse()
273
local larm = char["Left Arm"]
274
local rarm = char["Right Arm"]
275
local lleg = char["Left Leg"]
276
local rleg = char["Right Leg"]
277
local torso = char.Torso
278
local root = char.HumanoidRootPart
279
local hed = char.Head
280
281
----------------------------------------------------
282
local PE1 = Instance.new("ParticleEmitter",rarm)
283
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
284
PE1.LightEmission = NumberSequence.new(0.2)
285
PE1.Size = NumberSequence.new(1.2)
286
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
287
PE1.Lifetime = NumberRange.new(.5)
288
PE1.Rate = 10
289
PE1.Transparency = NumberSequence.new(0.2)
290
PE1.LightEmission = NumberSequence.new(0.2)
291
PE1.Rotation = NumberRange.new(260)
292
PE1.Speed = NumberRange.new(0)
293
PE1.RotSpeed = NumberRange.new(100)
294
bc=char['Body Colors']
295
coloras=BrickColor.new('Really black')
296
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
297
-----------------------------------------------------------------------------
298
local PE1 = Instance.new("ParticleEmitter",larm)
299
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
300
PE1.LightEmission = NumberSequence.new(0.2)
301
PE1.Size = NumberSequence.new(1.2)
302
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
303
PE1.Lifetime = NumberRange.new(.5)
304
PE1.Rate = 10
305
PE1.Transparency = NumberSequence.new(0.2)
306
PE1.LightEmission = NumberSequence.new(0.2)
307
PE1.Rotation = NumberRange.new(360)
308
PE1.Speed = NumberRange.new(0)
309
PE1.RotSpeed = NumberRange.new(100)
310
bc=char['Body Colors']
311
coloras=BrickColor.new('Really black')
312
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
313
----------------------------------------------------------
314
local PE1 = Instance.new("ParticleEmitter",rleg)
315
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
316
PE1.LightEmission = NumberSequence.new(0.2)
317
PE1.Size = NumberSequence.new(1.2)
318
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
319
PE1.Lifetime = NumberRange.new(.5)
320
PE1.Rate = 10
321
PE1.Transparency = NumberSequence.new(0.2)
322
PE1.LightEmission = NumberSequence.new(0.2)
323
PE1.Rotation = NumberRange.new(260)
324
PE1.Speed = NumberRange.new(0)
325
PE1.RotSpeed = NumberRange.new(100)
326
bc=char['Body Colors']
327
coloras=BrickColor.new('Really black')
328
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
329
----------------------------------------------------
330
local PE1 = Instance.new("ParticleEmitter",larm)
331
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
332
PE1.LightEmission = NumberSequence.new(0.2)
333
PE1.Size = NumberSequence.new(1.2)
334
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
335
PE1.Lifetime = NumberRange.new(.5)
336
PE1.Rate = 10
337
PE1.Transparency = NumberSequence.new(0.2)
338
PE1.LightEmission = NumberSequence.new(0.2)
339
PE1.Rotation = NumberRange.new(260)
340
PE1.Speed = NumberRange.new(0)
341
PE1.RotSpeed = NumberRange.new(100)
342
bc=char['Body Colors']
343
coloras=BrickColor.new('Really black')
344
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
345
----------------------------------------------------------
346
local fart = Instance.new("Animation", char)
347
fart.AnimationId = "rbxassetid://456316205"
348
fart.Name = "fart"
349
----------------------------------------------------
350
local PE1 = Instance.new("ParticleEmitter",lleg)
351
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
352
PE1.LightEmission = NumberSequence.new(0.2)
353
PE1.Size = NumberSequence.new(1.2)
354
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
355
PE1.Lifetime = NumberRange.new(.5)
356
PE1.Rate = 10
357
PE1.Transparency = NumberSequence.new(0.2)
358
PE1.LightEmission = NumberSequence.new(0.2)
359
PE1.Rotation = NumberRange.new(260)
360
PE1.Speed = NumberRange.new(0)
361
PE1.RotSpeed = NumberRange.new(100)
362
bc=char['Body Colors']
363
coloras=BrickColor.new('Really black')
364
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
365
----------------------------------------------------------
366
local PE1 = Instance.new("ParticleEmitter",hed)
367
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
368
PE1.LightEmission = NumberSequence.new(0.2)
369
PE1.Size = NumberSequence.new(1.2)
370
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
371
PE1.Lifetime = NumberRange.new(.5)
372
PE1.Rate = 10
373
PE1.Transparency = NumberSequence.new(0.2)
374
PE1.LightEmission = NumberSequence.new(0.2)
375
PE1.Rotation = NumberRange.new(260)
376
PE1.Speed = NumberRange.new(0)
377
PE1.RotSpeed = NumberRange.new(100)
378
bc=char['Body Colors']
379
coloras=BrickColor.new('Really black')
380
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
381
----------------------------------------------------
382
local PE1 = Instance.new("ParticleEmitter",torso)
383
PE1.Color = ColorSequence.new(Color3.new (255, 0, 0), Color3.new (255, 0, 0))
384
PE1.LightEmission = NumberSequence.new(0.2)
385
PE1.Size = NumberSequence.new(1.2)
386
PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
387
PE1.Lifetime = NumberRange.new(.5)
388
PE1.Rate = 10
389
PE1.Transparency = NumberSequence.new(0.2)
390
PE1.LightEmission = NumberSequence.new(0.2)
391
PE1.Rotation = NumberRange.new(260)
392
PE1.Speed = NumberRange.new(0)
393
PE1.RotSpeed = NumberRange.new(100)
394
bc=char['Body Colors']
395
coloras=BrickColor.new('Really black')
396
bc.LeftLegColor,bc.LeftArmColor,bc.TorsoColor,bc.HeadColor,bc.RightArmColor,bc.RightLegColor=coloras,coloras,coloras,coloras,coloras,coloras
397
----------------------------------------------------------
398
SIDZ = {"231917744", "231917742"}
399
            PTZ = {0.7, 0.8, 0.9, 1}
400
401
x = Instance.new("Sound",char)
402
x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
403
x.Pitch = PTZ[math.random(1,#PTZ)]
404
x.Volume = 10
405
wait(0.1)
406
x:Play()
407
Crater(Torso,95)
408
	Crater(Torso,20)
409
	
410
	
411
	x = Instance.new("Sound",char)
412
x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
413
x.Pitch = PTZ[math.random(1,#PTZ)]
414
x.Volume = 10
415
wait(0.1)
416
x:Play()
417
Crater(Torso,95)
418
	Crater(Torso,20)
419
420
		game.Lighting.Brightness = 0
421
		game.Lighting.OutdoorAmbient = TB.BrickColor.Color
422
		game.Lighting.TimeOfDay = 0.1
423
		game.Lighting.FogEnd = 1000
424
		game.Lighting.FogColor = TB.BrickColor.Color
425
		game.Lighting.TimeOfDay = "00:00:00"
426
		game.Lighting.Ambient = Color3.new(0,0,0)
427
		game.Lighting.FogColor = Color3.new(0,0,0)
428
		game.Lighting.FogEnd = 500
429
		game.Lighting.FogStart = 0
430
		game.Lighting.GlobalShadows = true
431
local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
432
local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
433
local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
434
HBill.Size = UDim2.new(15,0,2.2,0)
435
HBill.Name = "Health Display"
436
HBill.StudsOffset = Vector3.new(0,4,0)
437
HBill.AlwaysOnTop = true
438
HBill.Enabled = true
439
HMain.BackgroundColor3 = Color3.new(0, 0, 0)
440
HMain.BackgroundTransparency = 1
441
HMain.Size = UDim2.new(1,0,1,0)
442
HBarBack.Parent = HMain
443
HBarBack.BackgroundColor3 = Color3.new(0,0,0)
444
HBarBack.BorderColor3 = Color3.new(0,0,0)
445
HBarBack.BorderSizePixel = 2
446
HBarBack.Position = UDim2.new(.025, 0, .55, 0)
447
HBarBack.Size = UDim2.new(.95, 0, .3, 0)
448
HBar.Parent = HBarBack
449
HBar.BackgroundColor3 = Color3.new(225, 0, 0)
450
HBar.BorderColor3 = Color3.new(0,0,0)
451
HBar.Size = UDim2.new(.5,0,1,0)
452
HHealth.BackgroundTransparency = 1
453
HHealth.Size = UDim2.new(1,1,1,1)
454
HHealth.Font = "SourceSans"
455
HHealth.Text = " "
456
HHealth.TextScaled = true
457
HHealth.TextColor3 = Color3.new(255,0,0)
458
HHealth.TextStrokeColor3 = BrickColor.new("Really red").Color
459
HHealth.TextStrokeTransparency = 1
460
HName.Parent = HMain
461
HName.BackgroundTransparency = 1
462
HName.Size = UDim2.new(1,0,.5,0)
463
HName.Font = "Antique"
464
HName.Text = "Rob, The Conqueror"
465
HName.TextScaled = true
466
HName.TextColor3 = BrickColor.new("Really red").Color
467
HName.TextStrokeColor3 = Color3.new(0,0,0)
468
HName.FontSize = "Size48"
469
HName.TextStrokeTransparency = 0
470
HName.TextYAlignment = "Top"
471
472
473
474
475
476
477
Player:ClearCharacterAppearance()
478
wait(0.1)
479
Player.Character.Head.BrickColor = BrickColor.new("Really black")
480
Player.Character.Torso.BrickColor = BrickColor.new("Really black")
481
Player.Character["Right Arm"].BrickColor = BrickColor.new("Really black")
482
Player.Character["Right Leg"].BrickColor = BrickColor.new("Really black")
483
Player.Character["Left Leg"].BrickColor = BrickColor.new("Really black")
484
Player.Character["Left Arm"].BrickColor = BrickColor.new("Really black")
485
Player.Character.Head.face:Destroy()
486
487
488
489
local selectionBoxOfTorso = Instance.new("SelectionBox",TorsA)
490
selectionBoxOfTorso.Adornee = TorsA
491
selectionBoxOfTorso.Color = BrickColor.new("Really red")
492
selectionBoxOfTorso.LineThickness = 0.01
493
selectionBoxOfTorso.Transparency = 0
494
	
495
local selectionBoxOfRightArm = Instance.new("SelectionBox",Character["Right Arm"])
496
selectionBoxOfRightArm.Adornee = Character["Right Arm"]
497
selectionBoxOfRightArm.Color = BrickColor.new("Really red")
498
selectionBoxOfRightArm.LineThickness = 0.01
499
selectionBoxOfRightArm.Transparency = 0
500
	
501
local selectionBoxOfRightLeg = Instance.new("SelectionBox",Character["Right Leg"])
502
selectionBoxOfRightLeg.Adornee = Character["Right Leg"]
503
selectionBoxOfRightLeg.Color = BrickColor.new("Really red")
504
selectionBoxOfRightLeg.LineThickness = 0.01
505
selectionBoxOfRightLeg.Transparency = 0
506
507
local selectionBoxOfLeftArm = Instance.new("SelectionBox",Character["Left Arm"])
508
selectionBoxOfLeftArm.Adornee = Character["Left Arm"]
509
selectionBoxOfLeftArm.Color = BrickColor.new("Really red")
510
selectionBoxOfLeftArm.LineThickness = 0.01
511
selectionBoxOfLeftArm.Transparency = 0
512
513
local selectionBoxOfLeftLeg = Instance.new("SelectionBox",Character["Left Leg"])
514
selectionBoxOfLeftLeg.Adornee = Character["Left Leg"]
515
selectionBoxOfLeftLeg.Color = BrickColor.new("Really red")
516
selectionBoxOfLeftLeg.LineThickness = 0.01
517
selectionBoxOfLeftLeg.Transparency = 0
518
519
520
LightOnBody = Instance.new("PointLight", Head)
521
LightOnBody.Brightness = 3000
522
LightOnBody.Range = 20
523
LightOnBody.Color = Color3.new(225, 0, 0)
524
525
NsKeypoint = function(a, b, c)
526
	
527
	return NumberSequenceKeypoint.new(a, b, c)
528
end
529
530
ColorsNew = function(a, b, c)
531
	
532
	return Color3.new(a / 255, b / 255, c / 255)
533
end
534
535
local Plasma = Instance.new("ParticleEmitter", torso)
536
Plasma.Enabled = true
537
local color1 = ColorsNew(0, 0, 0)
538
local color2 = ColorsNew(0, 0, 0)
539
local COLOR = ColorSequence.new(color1, color2)
540
Plasma.Size = NumberSequence.new({NsKeypoint(0, 2, 0), NsKeypoint(0.23067332804203, 6.875, 0), NsKeypoint(0.29800498485565, 0.9375, 0), NsKeypoint(0.58478802442551, 6.9375, 0), NsKeypoint(1, 2, 0)})
541
Plasma.Transparency = NumberSequence.new({NsKeypoint(0, 0, 0), NsKeypoint(0.70947635173798, 0, 0), NsKeypoint(0.74438905715942, 0.51249998807907, 0), NsKeypoint(0.78179556131363, 0, 0), NsKeypoint(0.82169580459595, 0.018750011920929, 0), NsKeypoint(1, 0.48750001192093, 0)})
542
Plasma.Lifetime = NumberRange.new(0.1, 1)
543
Plasma.RotSpeed = NumberRange.new(1000)
544
Plasma.Color = COLOR
545
Plasma.LightEmission = 1000
546
Plasma.Texture = "rbxassetid://335222248"
547
Plasma.Name = "Plasma"
548
Plasma.Speed = NumberRange.new(20)
549
Plasma.Rate = 1000
550
Plasma.VelocitySpread = 360
551
Plasma.Acceleration = Vector3.new(0, 0, 0)
552
553
554
555
	Charging = true
556
custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
557
function FDebris()
558
	repeat
559
    local p = Instance.new('Part',Torso)
560
    p.formFactor = 'Custom'
561
    p.Size = Vector3.new(1,1,1)
562
    p.BrickColor = workspace.Base.BrickColor
563
    p.CanCollide = false
564
    p.Transparency = 0
565
    p.Anchored = true
566
    p.Locked=true
567
    p.Material = workspace.Base.Material
568
    s = math.random(1,40)/10
569
    local m = Instance.new("BlockMesh",p)
570
    m.Scale = Vector3.new(s,s,s)
571
    p.CFrame = Torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
572
	--[[coroutine.wrap(function()
573
		wait(2)
574
		while Charging == true do
575
		wait(2)
576
		GroundWave1()
577
		wait(2)
578
		end
579
	end)()]]--
580
	
581
	spawn(function()
582
        while rs:wait() do
583
            if p.Transparency >= 1 then p:Destroy() break end
584
            p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
585
            p.Transparency = p.Transparency+0.01
586
        end
587
    end)
588
    wait(.3)
589
until Charging == false
590
end
591
				
592
593
spawn(function()
594
	while wait(.01)
595
		 do
596
		FDebris()	
597
		end
598
end)	
599
600
601
602
FloatPart = function()
603
	local Part = Instance.new('Part',Torso)
604
	Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
605
	Part.Anchored = true
606
	Part.Material = 'Neon'
607
	Part.CanCollide = false
608
	Part.BrickColor = BrickColor.new(PrimaryColor)
609
	local Mesh = Instance.new('SpecialMesh',Part)
610
	Mesh.Scale = Vector3.new(4,4,.2)
611
	Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
612
	Mesh.VertexColor = Vector3.new(0,170,255)
613
	spawn(function()
614
		for i = 1,30 do
615
			Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
616
			Part.Transparency = Part.Transparency + .035
617
			game["Run Service"].RenderStepped:wait()
618
		end
619
		Part:Destroy()
620
	end)
621
end;
622
623
DubPart = function()
624
	local Part = Instance.new('Part',Torso)
625
	Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87)
626
	Part.Anchored = true
627
	Part.CanCollide = false
628
	Part.Material = 'Neon'
629
	Part.BrickColor = BrickColor.new(SecondaryColor)
630
	local Mesh = Instance.new('SpecialMesh',Part)
631
	Mesh.Scale = Vector3.new(7,7,.2)
632
	Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017'
633
	Mesh.VertexColor = Vector3.new(0,170,255)
634
	spawn(function()
635
		for i = 1,30 do
636
			Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0)
637
			Part.Transparency = Part.Transparency + .035
638
			game["Run Service"].RenderStepped:wait()
639
		end
640
		Part:Destroy()
641
	end)
642
end;
643
644
Fade = function(Item,t)
645
	spawn(function()
646
		for i = 1,20 do
647
			Item.Transparency = Item.Transparency + .05
648
			if t then
649
				wait(t)
650
			else 
651
				wait()
652
			end
653
		end
654
		Item:Destroy()
655
	end)
656
end
657
658
Particle = function(PrimaryColor)
659
	local Part = Instance.new('Part',Torso)
660
	Part.BrickColor = BrickColor.new(PrimaryColor)
661
	Part.Anchored = true
662
	Part.Transparency = .3
663
	Part.CanCollide = false
664
	Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random())
665
	local Mesh = Instance.new('BlockMesh',Part)
666
	Mesh.Scale = Vector3.new(.05,.1,.1)
667
	spawn(function()
668
		for i = 1,40 do
669
			Part.Transparency = Part.Transparency + .0125
670
			Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0)
671
			game["Run Service"].RenderStepped:wait()
672
		end
673
		Part:Destroy()
674
	end)
675
end;
676
677
--[[spawn(function()
678
	while wait() do
679
		wait(.05)
680
		FloatPart()
681
		wait(.08)
682
		FloatPart()
683
		wait(.05)
684
		DubPart()
685
		wait(.08)
686
	end
687
end)]]
688
689
game["Run Service"].RenderStepped:connect(function(_)
690
	Particle("Royale purple")
691
	Particle("Really black")
692
        Particle("Really red")
693
	--Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0)
694
end)
695
696
697
698
function createblack(part)
699
local pt1 = NumberSequenceKeypoint.new(0,1,0)
700
local pt2 = NumberSequenceKeypoint.new(1,0,0)
701
local effecto = Instance.new("ParticleEmitter",part)
702
effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
703
effecto.Color = ColorSequence.new(Color3.new(0,0,0))
704
effecto.Rate = 10000
705
effecto.Lifetime = NumberRange.new(1,1)
706
effecto.Size = NumberSequence.new({pt1,pt2})
707
effecto.Speed = NumberRange.new(0,0)
708
effecto.RotSpeed = NumberRange.new(100,100)
709
end
710
711
local orbuu = Instance.new("Part", chara)
712
orbuu.Size = Vector3.new(1,1,1)
713
orbuu.Name = "Diamond"
714
orbuu.Anchored = true
715
orbuu.CanCollide = false
716
orbuu.BrickColor = BrickColor.new("Really black")
717
local meshooo = Instance.new("SpecialMesh", orbuu)
718
meshooo.MeshType = "FileMesh"
719
meshooo.MeshId = "http://www.roblox.com/asset/?id=9756362"
720
local RotationSpeed = 6
721
local BobSpeed = 1
722
local RotationDist = Vector3.new(5, 0, 0)
723
local dt = 0
724
local currentTime = 0
725
726
chara =  Player.Character
727
hitdude = nil
728
debby = game:GetService("Debris")
729
chara.Humanoid.MaxHealth = math.huge
730
chara.Humanoid.Health = math.huge
731
chara.Humanoid.JumpPower = 100
732
local moosek = 0
733
local prevthing = 0
734
local timeofday = "Day"
735
taip = 1
736
createblack(orbuu)
737
orbuu.ParticleEmitter.Color = ColorSequence.new(Color3.new(1,0,1))
738
orbuu.ParticleEmitter.LightEmission = 1
739
--Spell Circle--
740
741
Void = nil
742
VoidParts = {}
743
Equipped = false
744
745
function RayCast(Position, Direction, MaxDistance, IgnoreList)
746
	return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList) 
747
end
748
749
	Player = Player
750
	Character = chara
751
752
	Humanoid = Character:FindFirstChild("Humanoid")
753
	Torso = Character:FindFirstChild("Torso")
754
	if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
755
		return
756
	end
757
	Equipped = true
758
	Void = Instance.new("Model")
759
	Void.Name = "Void"
760
	Angle = 0
761
	for i = 1, 1 do
762
		local VoidPart = Instance.new("Part")
763
		VoidPart.Name = "VoidPart"
764
		VoidPart.Transparency = 1
765
		VoidPart.BrickColor = BrickColor.new("Really black")
766
		VoidPart.Material = Enum.Material.Plastic
767
		VoidPart.Shape = Enum.PartType.Block
768
		VoidPart.FormFactor = Enum.FormFactor.Custom
769
		VoidPart.TopSurface = Enum.SurfaceType.Smooth
770
		VoidPart.BottomSurface = Enum.SurfaceType.Smooth
771
		VoidPart.Anchored = true
772
		VoidPart.CanCollide = false
773
		VoidPart.Locked = true
774
		VoidPart.Size = Vector3.new(10, 0.2, 10)
775
		local BlockMesh = Instance.new("BlockMesh")
776
		BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
777
		BlockMesh.Parent = VoidPart
778
		VoidPart.Parent = Void
779
		local Star = Instance.new("Decal", VoidPart)
780
		Star.Texture = "rbxassetid://359972668"
781
		Star.Face = "Top"
782
		local Light = Instance.new("PointLight", VoidPart)
783
		Light.Color = Color3.new(0,225,225)
784
		Light.Brightness = 100
785
		Light.Range = 10
786
		table.insert(VoidParts, VoidPart)
787
	end
788
	Spawn(function()
789
		while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
790
			if Angle == 360 then
791
				Angle = 0
792
			end
793
			Angle = Angle + 0.05
794
			chara.Humanoid.MaxHealth = math.huge
795
			chara.Humanoid.Health = math.huge
796
			local parentPos = chara.Torso.CFrame
797
			--Rotate Fluffy around the player's head
798
			local rotation = CFrame.Angles(0 , RotationSpeed * currentTime, 0)
799
			local bob = Vector3.new(0, BobSpeed * math.sin(currentTime), 0)
800
			orbuu.CFrame =  ((parentPos + bob)  + (rotation * RotationDist))
801
			--Wait some time so we aren't going plaid
802
			dt, currentTime = wait(1/40)
803
			local cheeed = chara:GetChildren()
804
			for i = 1, #cheeed do
805
			if cheeed[i].ClassName == "Part" then
806
			if cheeed[i].Name ~= "Right Arm" and cheeed[i].Name ~= "Left Arm" and cheeed[i].Name ~= "Right Leg" and cheeed[i].Name ~= "Left Leg" and cheeed[i].Name ~= "Torso" and cheeed[i].Name ~= "HumanoidRootPart" and cheeed[i].Name ~= "Head" and cheeed[i].Name ~= "FakeHandle" and cheeed[i].Name ~= "FakeHandle2" and cheeed[i].Name ~= "FakeHandle3" and cheeed[i].Name ~= "Diamond" then
807
			cheeed[i]:Destroy()
808
			else end
809
			end
810
			end
811
			local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
812
			if Hit then
813
				if not Void.Parent then
814
					Void.Parent = Character
815
				end
816
				for i, v in pairs(VoidParts) do
817
					v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
818
				end
819
			else
820
				Void.Parent = nil
821
			end
822
			wait()
823
		end
824
	end)
825
	
826
827
828
829
----------------------------------------------------
830
function genWeld(a,b)
831
    local w = Instance.new("Weld",a)
832
    w.Part0 = a
833
    w.Part1 = b
834
    return w
835
end
836
function weld(a, b)
837
    local weld = Instance.new("Weld")
838
    weld.Name = "W"
839
    weld.Part0 = a
840
    weld.Part1 = b
841
    weld.C0 = a.CFrame:inverse() * b.CFrame
842
    weld.Parent = a
843
    return weld;
844
end
845
----------------------------------------------------
846
function Lerp(c1,c2,al)
847
	local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
848
	local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
849
	for i,v in pairs(com1) do 
850
		com1[i] = v+(com2[i]-v)*al
851
	end
852
	return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
853
end
854
----------------------------------------------------
855
newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
856
	local wld = Instance.new("Weld", wp1)
857
	wld.Part0 = wp0
858
	wld.Part1 = wp1
859
	wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
860
end
861
----------------------------------------------------
862
newWeld(torso, larm, -1.5, 0.5, 0)
863
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
864
newWeld(torso, rarm, 1.5, 0.5, 0)
865
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
866
newWeld(torso, hed, 0, 1.5, 0)
867
newWeld(torso, lleg, -0.5, -1, 0)
868
lleg.Weld.C1 = CFrame.new(0, 1, 0)
869
newWeld(torso, rleg, 0.5, -1, 0)
870
rleg.Weld.C1 = CFrame.new(0, 1, 0)
871
newWeld(root, torso, 0, -1, 0)
872
torso.Weld.C1 = CFrame.new(0, -1, 0)
873
----------------------------------------------------
874
875
876
m8 = Instance.new("Model")
877
m8.Name = "Zyrodoxa"
878
879
880
p16 = Instance.new("Part", m8)
881
p16.BrickColor = BrickColor.new("Instutional white")
882
p16.Material = Enum.Material.Metal
883
p16.Name = "Handle"
884
p16.CFrame = CFrame.new(2.7e-005, -11.8500671, -1.1215378, 1, -4.08902174e-008, -5.95266769e-008, -5.95264673e-008, 4.47054163e-008, -1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007)
885
p16.CanCollide = false
886
p16.Locked = true
887
p16.FormFactor = Enum.FormFactor.Custom
888
p16.Size = Vector3.new(0, 0, 0)
889
p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
890
p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
891
p16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
892
p16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
893
p16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
894
p16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
895
b16 = Instance.new("BlockMesh", p16)
896
b16.Name = "Mesh"
897
b16.Scale = Vector3.new(0, 0, 0)
898
899
w16 = Instance.new("Weld", p16)
900
w16.Name = "Block_Weld"
901
w16.Part0 = p16
902
w16.C0 = CFrame.new(-2.69356715e-005, 1.12153399, 0.310250998, 1, -5.9526446e-008, 4.08900576e-008, -4.08900576e-008, 0, 1, -5.95264495e-008, -1, -2.43403981e-015)
903
w16.Part1 = p17
904
w16.C1 = CFrame.new(-2.69897973e-005, 0.238820702, 1.16951191, 1, -3.32849588e-008, -1.92696081e-009, -3.32849588e-008, -1, -5.96046448e-007, -1.92694105e-009, 5.96046448e-007, -1)
905
906
907
908
m8.Parent = rarm
909
m8:MakeJoints()
910
911
local cor8 = Instance.new("Part", rarm.Zyrodoxa)
912
cor8.Name = "Thingy"
913
cor8.Locked = true
914
cor8.BottomSurface = 0
915
cor8.CanCollide = false
916
cor8.Size = Vector3.new(1, 1, 1)
917
cor8.Transparency = 1
918
cor8.TopSurface = 0
919
corw8 = Instance.new("Weld", cor8)
920
corw8.Part0 = rarm
921
corw8.Part1 = cor8
922
corw8.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180))
923
corw8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
924
weld8 = Instance.new("Weld", rarm.Zyrodoxa)
925
weld8.Part0 = cor8
926
weld8.Part1 = rarm.Zyrodoxa.Handle
927
weld8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
928
929
930
931
932
933
Debounces = {CanAttack = true, NoIdl = false, Slashing = false, Slashed = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Reaping = false, Reaped = false}
934
local Touche = {Character.Name}
935
936
937
938
939
Reap = function()
940
	
941
	rarm.Touched:connect(function(ht1)
942
		
943
		hit1 = ht1.Parent
944
		if ht1 and hit1:IsA("Model") and hit1:FindFirstChild("Humanoid") and hit1.Name ~= p.Name and Debounces.Reaping == true and Debounces.Reaped == false then
945
			Debounces.Reaped = true
946
			h = hit1:FindFirstChild("Humanoid")
947
			if h ~= nil then
948
				hum.MaxHealth = hum.MaxHealth + h.MaxHealth
949
				hum.Health = hum.MaxHealth
950
				e = Instance.new("Part")
951
				e.TopSurface = 0
952
				e.BottomSurface = 0
953
				e.Reflectance = 0.05
954
				e.formFactor = "Symmetric"
955
				e.Size = Vector3.new(1, 1, 1)
956
				e.Anchored = true
957
				e.CanCollide = false
958
				e.BrickColor = BrickColor.new("Really blue")
959
				e.CFrame = CFrame.new(ht1.Position)
960
				e.Parent = hit1
961
				Instance.new("BlockMesh", e)
962
				coroutine.resume(coroutine.create(function(par)
963
			
964
			for i = 1, 13 do
965
				par.CFrame = par.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-20, 20) / 50, math.random(-20, 20) / 50, math.random(-20, 20) / 50)
966
				par.Transparency = i / 13
967
				par.Mesh.Scale = par.Mesh.Scale + Vector3.new(0.4, 0.4, 0.4)
968
				wait()
969
			end
970
			par.Parent = nil
971
		end
972
), e)
973
				for _,v in pairs(hit1:children()) do
974
					if v.className == "Part" then
975
						v.BrickColor = BrickColor.new("Really black")
976
						v.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
977
						v:BreakJoints()
978
						f = Instance.new("BodyVelocity")
979
						f.P = 3000
980
						f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
981
						f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
982
						f.Parent = v
983
						v.CanCollide = false
984
						coroutine.resume(coroutine.create(function(par)
985
			
986
			for i = 1, 30 do
987
				par.Transparency = i / 30
988
				wait()
989
			end
990
			par.Parent = nil
991
		end
992
), v)
993
					else
994
						if v.className == "Hat" then
995
							v.Handle.BrickColor = BrickColor.new("Really black")
996
							v.Handle.RotVelocity = Vector3.new(math.random(-2, 2), math.random(-2, 2), math.random(-2, 2)) * 3
997
							v.Handle:BreakJoints()
998
							f = Instance.new("BodyVelocity")
999
							f.P = 3000
1000
							f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
1001
							f.velocity = Vector3.new(math.random(-30, 30) / 10, math.random(-30, 30) / 10, math.random(-30, 30) / 10)
1002
							f.Parent = v.Handle
1003
							v.Handle.CanCollide = false
1004
							coroutine.resume(coroutine.create(function(par)
1005
			
1006
			for i = 1, 30 do
1007
				par.Transparency = i / 30
1008
				wait()
1009
			end
1010
			par.Parent = nil
1011
		end
1012
), v.Handle)
1013
							if h == nil then
1014
								wait()
1015
							end
1016
						end
1017
					end
1018
				end
1019
			end
1020
		end
1021
	end
1022
)
1023
	Debounces.Reaped = false
1024
end
1025
1026
1027
1028
1029
1030
1031
1032
mouse.KeyDown:connect(function(key)------------------------------------------------------------------------Darkness Punch
1033
	
1034
	if key == "q" and Debounces.CanAttack == true then
1035
		Debounces.CanAttack = false
1036
		Debounces.NoIdl = true
1037
		Debounces.on = true
1038
		Debounces.Reaping = true
1039
		for i = 1, 10 do
1040
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.4) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
1041
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-30)), 0.4)
1042
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(70), 0), 0.4)
1043
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.4)
1044
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-10)), 0.4)
1045
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(7), math.rad(-20), math.rad(10)), 0.4)
1046
			if Debounces.on == false then
1047
				break
1048
			end
1049
			fat.Event:wait()
1050
		end
1051
		do
1052
			wait(1)
1053
			Reap()
1054
			for i = 1, 10 do
1055
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, -0.2) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(70)), 0.7)
1056
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0.2) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
1057
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-70), 0), 0.7)
1058
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.7)
1059
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-20), math.rad(-10)), 0.7)
1060
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.7)
1061
				if Debounces.on == false then
1062
					break
1063
				end
1064
				fat.Event:wait()
1065
			end
1066
			do
1067
				if Debounces.CanAttack == false then
1068
					Debounces.CanAttack = true
1069
					Debounces.NoIdl = false
1070
					Debounces.on = false
1071
					Debounces.Reaping = false
1072
				end
1073
			end
1074
		end
1075
	end
1076
end
1077
)
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
local Player = game:GetService("Players").LocalPlayer
1090
local Character = Player.Character
1091
local Head = Character.Head
1092
local Torso = Character.Torso
1093
local Right_Arm = Character["Right Arm"]
1094
local Right_Leg = Character["Right Leg"]
1095
local Left_Arm = Character["Left Arm"]
1096
local Left_Leg = Character["Left Leg"]
1097
local Humanoid = Character.Humanoid
1098
local Animation = "Idle"
1099
local Mouse = Player:GetMouse()
1100
local LeftShoulder = Torso["Left Shoulder"] 
1101
local Left_Hip = Torso["Left Hip"] 
1102
local RightShoulder = Torso["Right Shoulder"] 
1103
local Right_Hip = Torso["Right Hip"] 
1104
local Root = Character.HumanoidRootPart
1105
local RootJoint = Root.RootJoint
1106
local Attacking = false
1107
local CanAttack = true
1108
local Anim = "Idle"
1109
local Combo = 1 
1110
local Blocking = false
1111
local MaxDestruction = 1000
1112
local Destruction = 0
1113
local MaxBlock = 100
1114
local Effects = {}
1115
local Color = "Bright yellow"
1116
local Invert = false
1117
local Idle = 0
1118
local Equipped = false
1119
local Running = false
1120
local Unseathed = false
1121
local Shard = "None"
1122
1123
1124
1125
1126
1127
1128
function clerp(a,b,t)
1129
	local qa = {QuaternionFromCFrame(a)}
1130
	local qb = {QuaternionFromCFrame(b)} 
1131
	local ax, ay, az = a.x, a.y, a.z 
1132
	local bx, by, bz = b.x, b.y, b.z
1133
	local _t = 1-t
1134
	return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
1135
end 
1136
 
1137
function QuaternionFromCFrame(cf) -- dis one
1138
	local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
1139
	local trace = m00 + m11 + m22 
1140
	if trace > 0 then 
1141
		local s = math.sqrt(1 + trace) 
1142
		local recip = 0.5/s 
1143
		return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
1144
	else 
1145
		local i = 0 
1146
		if m11 > m00 then
1147
			i = 1
1148
		end
1149
		if m22 > (i == 0 and m00 or m11) then 
1150
			i = 2 
1151
		end 
1152
		if i == 0 then 
1153
			local s = math.sqrt(m00-m11-m22+1) 
1154
			local recip = 0.5/s 
1155
			return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
1156
		elseif i == 1 then 
1157
			local s = math.sqrt(m11-m22-m00+1) 
1158
			local recip = 0.5/s 
1159
			return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
1160
		elseif i == 2 then 
1161
			local s = math.sqrt(m22-m00-m11+1) 
1162
			local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
1163
		end 
1164
	end 
1165
end
1166
 
1167
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
1168
	local xs, ys, zs = x + x, y + y, z + z 
1169
	local wx, wy, wz = w*xs, w*ys, w*zs 
1170
	local xx = x*xs 
1171
	local xy = x*ys 
1172
	local xz = x*zs 
1173
	local yy = y*ys 
1174
	local yz = y*zs 
1175
	local zz = z*zs 
1176
	return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) 
1177
end
1178
 
1179
function QuaternionSlerp(a, b, t) 
1180
	local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
1181
	local startInterp, finishInterp; 
1182
	if cosTheta >= 0.0001 then 
1183
		if (1 - cosTheta) > 0.0001 then 
1184
			local theta = math.acos(cosTheta) 
1185
			local invSinTheta = 1/math.sin(theta) 
1186
			startInterp = math.sin((1-t)*theta)*invSinTheta 
1187
			finishInterp = math.sin(t*theta)*invSinTheta  
1188
		else 
1189
			startInterp = 1-t 
1190
			finishInterp = t 
1191
		end 
1192
	else 
1193
		if (1+cosTheta) > 0.0001 then 
1194
			local theta = math.acos(-cosTheta) 
1195
			local invSinTheta = 1/math.sin(theta) 
1196
			startInterp = math.sin((t-1)*theta)*invSinTheta 
1197
			finishInterp = math.sin(t*theta)*invSinTheta 
1198
		else 
1199
			startInterp = t-1 
1200
			finishInterp = t 
1201
		end 
1202
	end 
1203
	return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp 
1204
end
1205
1206
Movemment = 1
1207
Walk = 0
1208
1209
Animator = Humanoid.Animator
1210
--Animate = Character.Animate
1211
1212
Animator.Parent = nil
1213
--Animate.Parent = nil
1214
1215
local Services = {
1216
1217
SoundService = game:GetService("SoundService");
1218
Players = game:GetService("Players");
1219
Debris = game:GetService("Debris");
1220
Workspace = game:GetService("Workspace");
1221
Lighting = game:GetService("Lighting");
1222
HttpService = game:GetService("HttpService");
1223
InsertService = game:GetService("InsertService");
1224
	
1225
}
1226
1227
SpikeMeshId = 1033714
1228
SpikeBallId = 9982590
1229
StarMeshId = 45428961
1230
CrystalMeshId = 9756362
1231
1232
--[[ Essential Functions ]]--
1233
function NoOutlines(Part)
1234
		Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
1235
end
1236
	
1237
1238
local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
1239
1240
local Part = Instance.new("Part", Parent)
1241
Part.Name = Name
1242
Part.BrickColor = BrickColor.new(Color)
1243
Part.Size = Size
1244
Part.Material = Material
1245
Part.Transparency = Transparency
1246
Part.Shape = Shape
1247
Part.CanCollide = false
1248
NoOutlines(Part)
1249
1250
return Part
1251
1252
end
1253
1254
local CreateMesh = function(Parent, Scale, Shape)
1255
1256
1257
local Mesh = Instance.new("BlockMesh", Parent)
1258
Mesh.Scale = Scale
1259
1260
return Mesh
1261
1262
end
1263
1264
local CreateWedge = function(Parent, Name, Color, Size, Material, Transparency)
1265
1266
local WedgePart = Instance.new("WedgePart", Parent)
1267
WedgePart.Name = Name
1268
WedgePart.BrickColor = BrickColor.new(Color)
1269
WedgePart.Size = Size
1270
WedgePart.Material = Material
1271
WedgePart.Transparency = Transparency
1272
WedgePart.CanCollide = false
1273
NoOutlines(WedgePart)
1274
1275
return WedgePart
1276
1277
end
1278
1279
local CreateWeld = function(Parent, Cframe, P1 , P0)
1280
	
1281
local Weld = Instance.new("Weld", Parent)
1282
Weld.Part0 = P0
1283
Weld.Part1 = P1
1284
Weld.Name = P0.Name .. "To" .. P1.Name
1285
Weld.C0 = Cframe
1286
1287
return Weld	
1288
	
1289
end
1290
1291
local CreateVelocity = function(Parent,Velocity,Force)
1292
	
1293
local BodyVelocity = Instance.new("BodyVelocity", Parent)
1294
BodyVelocity.Velocity = Velocity
1295
BodyVelocity.MaxForce = Force	
1296
1297
	
1298
	
1299
return BodyVelocity	
1300
	
1301
end
1302
1303
1304
local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
1305
1306
1307
local Part = Instance.new("Part", Parent)
1308
Part.Name = Name
1309
Part.BrickColor = BrickColor.new(Color)
1310
Part.Size = Size
1311
Part.Material = Material
1312
Part.Transparency = Transparency
1313
Part.CanCollide = false
1314
NoOutlines(Part)
1315
1316
local Mesh = Instance.new("SpecialMesh", Part)
1317
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
1318
Mesh.Scale = Scale
1319
1320
return Mesh and Part
1321
1322
end
1323
1324
local MakeSFX = function(Parent, Id, Volume, Pitch, Type)
1325
	
1326
local SFX = Instance.new("Sound", Parent)
1327
SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
1328
SFX.Name = "SFX"
1329
SFX:Play()
1330
SFX.Volume = Volume
1331
SFX.Pitch = Pitch
1332
SFX.PlayOnRemove = true
1333
SFX:Remove()
1334
	
1335
if Type == "Echo" then
1336
	
1337
Instance.new("EchoSoundEffect", SFX)	
1338
	
1339
end	
1340
	
1341
end
1342
1343
local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
1344
1345
1346
local Part = Instance.new("Part", Parent)
1347
Part.Name = Name
1348
Part.BrickColor = BrickColor.new(Color)
1349
Part.Size = Size
1350
Part.Material = Material
1351
Part.Transparency = Transparency
1352
Part.CanCollide = false
1353
NoOutlines(Part)
1354
1355
local Mesh = Instance.new("SpecialMesh", Part)
1356
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
1357
Mesh.Scale = Scale
1358
1359
return Mesh and Part
1360
1361
end
1362
1363
CircleEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
1364
	
1365
local Part = Instance.new("Part", Parent)
1366
Part.Transparency = Transparency
1367
Part.Name = "CircleEffect"
1368
Part.Size = Vector3.new()
1369
Part.Anchored = true
1370
Part.CanCollide = false
1371
Part.Position = Position
1372
Part.BrickColor = BrickColor.new(Brickcolor)
1373
Part.Material = Material
1374
NoOutlines(Part)
1375
1376
local Mesh = Instance.new("SpecialMesh", Part)
1377
Mesh.MeshType = "Sphere"
1378
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
1379
1380
Services.Debris:AddItem(Part, Time)
1381
1382
1383
table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
1384
1385
1386
end
1387
1388
BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
1389
	
1390
local Part = Instance.new("Part", Parent)
1391
Part.Transparency = Transparency
1392
Part.Name = "BlockEffect"
1393
Part.Size = Vector3.new()
1394
Part.Anchored = true
1395
Part.Position = Position
1396
Part.CanCollide = false
1397
Part.BrickColor = BrickColor.new(Brickcolor)
1398
Part.Material = Material
1399
NoOutlines(Part)
1400
1401
local Mesh = Instance.new("BlockMesh", Part)
1402
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
1403
1404
Services.Debris:AddItem(Part, Time)
1405
1406
table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
1407
1408
1409
end
1410
1411
1412
1413
1414
function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
1415
	
1416
local HitHumanoid = Hit.Parent.Humanoid
1417
1418
1419
local Damage = math.random(Min, Max)
1420
1421
1422
coroutine.resume(coroutine.create(function()
1423
HitHumanoid:TakeDamage(Damage)
1424
end))
1425
	
1426
if Type == "Shrink" then
1427
MakeSFX(Hit.Parent.Torso, 209527235, 1, 1)	
1428
for i,v in pairs(Hit.Parent:children()) do
1429
if v:IsA("Part") then
1430
coroutine.resume(coroutine.create(function()		
1431
for i = 1,100 do
1432
wait()	
1433
v.Size = v.Size - Vector3.new(0.05,0.05,0.05)
1434
v.Transparency = v.Transparency + 0.05
1435
	
1436
end		
1437
end))
1438
end	
1439
end
1440
	
1441
end	
1442
	
1443
	
1444
	
1445
if Type == "Normal" then
1446
	
1447
local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
1448
Services.Debris:AddItem(Push, 0)	
1449
DamageLabel(Hit.Parent, Damage, Hit)
1450
1451
elseif Type == "Ranged" then
1452
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
1453
Services.Debris:AddItem(Push, 0)	
1454
DamageLabel(Hit.Parent, Damage, Hit)
1455
1456
elseif Type == "Impale" then
1457
1458
local Spike = CreateSpike(Services.Workspace, "D e a t h", "Black", Vector3.new(), "SmoothPlastic", 0, Vector3.new(1,20,1))	
1459
Spike.Anchored = true
1460
Spike.Rotation = Vector3.new(math.random(-50,50), 0 , math.random(-50,50))
1461
Spike.Position = Hit.Parent.Torso.Position
1462
1463
1464
Services.Debris:AddItem(Spike, 30)
1465
1466
Hit.Parent:BreakJoints()
1467
Hit.Parent.Torso.Position = Spike.Position + Vector3.new(0,5,0)
1468
Hit.Parent.Torso.Anchored = true
1469
	
1470
MakeSFX(Spike, 306247724, 1,1)	
1471
MakeSFX(Hit.Parent.Torso, 209527175, 10,1)
1472
elseif Type == "Knockdown" then
1473
	
1474
		
1475
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
1476
DamageLabel(Hit.Parent, Damage, Hit)
1477
Services.Debris:AddItem(Push, 0.3)
1478
1479
coroutine.resume(coroutine.create(function()
1480
	
1481
HitHumanoid.PlatformStand = true
1482
wait(1)
1483
HitHumanoid.PlatformStand = false	
1484
	
1485
	
1486
end))	
1487
end
1488
1489
if HitSFX == "Penetration" then
1490
	
1491
MakeSFX(Hit, 199149269, 1 , 1)
1492
1493
elseif HitSFX == "Punch" then
1494
	
1495
MakeSFX(Hit, 278062209, 1 , 1)
1496
	
1497
	
1498
	
1499
	
1500
end
1501
end
1502
1503
1504
1505
function DamageLabel(HitCharacter, DamageDealt, Hit)
1506
	
1507
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Bright yellow", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
1508
DamageShowingPart.Position = HitCharacter.Head.Position
1509
1510
local DamageGui = Instance.new("BillboardGui", DamageShowingPart)
1511
DamageGui.Name = "Damage"
1512
DamageGui.AlwaysOnTop = true
1513
DamageGui.Size = UDim2.new(5, 0, 5, 0)
1514
1515
local DamageNumber = Instance.new("TextLabel", DamageGui)
1516
DamageNumber.Size = UDim2.new(1,0,1,0)
1517
if Hit.Parent:FindFirstChild("Head") then
1518
DamageNumber.TextStrokeColor3 = Hit.Parent.Head.BrickColor.Color
1519
DamageNumber.TextColor3 = Hit.BrickColor.Color
1520
end
1521
DamageNumber.TextStrokeTransparency = 0
1522
DamageNumber.BackgroundTransparency = 1
1523
DamageNumber.Font = "SourceSansBold"
1524
DamageNumber.TextScaled = true
1525
DamageNumber.Text = DamageDealt
1526
	
1527
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
1528
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1529
BodyVelocity.Velocity = Vector3.new(0,2,0)	
1530
	
1531
Services.Debris:AddItem(DamageShowingPart, 3)
1532
	
1533
	
1534
end 
1535
1536
1537
1538
1539
function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
1540
for _,WorkspaceChildren in pairs(workspace:children()) do
1541
	
1542
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
1543
1544
if HitHumanoid ~= nil then
1545
local Hit = WorkspaceChildren:findFirstChild("Torso")
1546
1547
if Hit ~= nil then
1548
	
1549
local Target = Hit.Position - Part.Position
1550
1551
local Magnitude = Target.magnitude
1552
1553
if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
1554
	
1555
local HitBlock = Hit.Parent:FindFirstChild("Block")	
1556
	
1557
if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
1558
1559
local HitBlock2 = Hit.Parent.Block.BlockDurability	
1560
	
1561
if HitBlock2.Value > 15 then
1562
	
1563
local HitN = math.random(1,5)
1564
	
1565
HitBlock2.Value = HitBlock2.Value - 15	
1566
	
1567
	
1568
if HitN == 1 then
1569
MakeSFX(Hit ,199148971, 0.5, 1)	
1570
end
1571
1572
if HitN == 2 then
1573
MakeSFX(Hit ,199149025, 0.5, 1)	
1574
end
1575
1576
if HitN == 3 then
1577
MakeSFX(Hit ,199149072, 0.5, 1)	
1578
end
1579
1580
if HitN == 4 then
1581
MakeSFX(Hit ,199149109, 0.5, 1)	
1582
end
1583
1584
if HitN == 5 then
1585
MakeSFX(Hit ,199149119, 0.5, 1)	
1586
end
1587
return
1588
end	
1589
end
1590
1591
DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
1592
1593
	
1594
1595
end
1596
end
1597
end
1598
end
1599
end
1600
 
1601
1602
1603
function Attack1()
1604
Attacking = true
1605
MakeSFX(EyeReference, 341336274, 1,1)
1606
wait(0.3)
1607
local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
1608
local ReferenceWeld = CreateWeld(Reference,  CFrame.new(0,0.5,-5), Reference, Root)
1609
1610
local Reference2 = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
1611
local Reference2Weld = CreateWeld(Reference2,  CFrame.new(0,0.5,-2), Reference2, Root)
1612
1613
1614
for i = 1,10 do
1615
1616
wait()
1617
1618
end
1619
1620
CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
1621
wait(0.5)
1622
CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
1623
wait(0.5)
1624
CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
1625
wait(0.5)
1626
CircleEffect(Reference2.Position, Services.Workspace,  50, 50, 50, -5, -5, -5, 5, "Bright red", "Neon", 0.5)
1627
wait(0.5)
1628
MakeSFX(Reference, 306247724, 1,1)	
1629
CircleEffect(Reference.Position, Services.Workspace,  1, 1, 1, 5, 5, 5, 5, "Bright red", "Neon", 0.5)
1630
ValidateDamage(Reference, 10 ,10 , 14, "Shrink", "Penetration", 5)
1631
Attacking = false
1632
end
1633
1634
1635
1636
function Attack3()
1637
Humanoid.WalkSpeed = 0
1638
Humanoid.JumpPower = 0
1639
Attacking = true
1640
wait(1)
1641
MakeSFX(Torso, 341336274, 1, 1.2)
1642
CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
1643
wait(1)
1644
MakeSFX(Torso, 341336274, 1, 1.2)
1645
CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
1646
wait(1)
1647
MakeSFX(Torso, 341336274, 1, 1.2)
1648
CircleEffect(Torso.Position, Services.Workspace,  1, 1, 1, 20, 20, 20, 5, "Black", "Neon", 0.5)
1649
ValidateDamage(Torso, 60 ,0, 0, "Impale", "Penetration", 15)
1650
Humanoid.WalkSpeed = 16
1651
Humanoid.JumpPower = 50
1652
Attacking = false
1653
end
1654
1655
1656
1657
mouse.KeyDown:connect(function(key)---------------------------------------------------------------------------------------------------Erasing Hand
1658
	
1659
	if key == "e" and Debounces.CanAttack == true then
1660
		
1661
		Attack1()
1662
		
1663
		end
1664
end)
1665
1666
1667
1668
1669
1670
1671
1672
mouse.KeyDown:connect(function(key)-----------------------------------------------------------------------------------------------Underworld Spikes
1673
	
1674
	if key == "r" and Debounces.CanAttack == true then
1675
		
1676
		Attack3()
1677
		
1678
		end
1679
	end)
1680
1681
1682
1683
1684
x = Instance.new("Sound", char)
1685
x.SoundId = "http://www.roblox.com/asset/?id=198360408"
1686
x.Looped = true
1687
x.Volume = 9
1688
local footsteps = false
1689
1690
local animpose = "Idle1"
1691
local lastanimpose = "Idle1"
1692
local grab = false
1693
local Smooth = 1
1694
local sine = 0
1695
local change = 1
1696
local val = 0
1697
local ffing = false
1698
1699
jump = false
1700
rs:connect(function()
1701
	if char.Humanoid.Jump == true then
1702
		jump = true
1703
	else
1704
		jump = false
1705
	end
1706
	char.Humanoid.FreeFalling:connect(function(f)
1707
		if f then
1708
			ffing = true
1709
		else
1710
			ffing = false
1711
		end
1712
	end)
1713
	sine = sine + change
1714
	if jump == true then
1715
		animpose = "Jumping"
1716
	elseif ffing == true then
1717
		animpose = "Freefalling"
1718
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
1719
		animpose = "Idle"
1720
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
1721
		animpose = "Walking"
1722
	elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
1723
		animpose = "Running"
1724
	end
1725
	RightLeg = CFrame.new(0.5,-1,0)
1726
	LeftLeg = CFrame.new(-0.5,-1,0)
1727
1728
	lefth = (torso.CFrame*LeftLeg)
1729
	righth = (torso.CFrame*RightLeg)
1730
1731
	speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
1732
1733
	TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
1734
1735
	local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
1736
	local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
1737
	if animpose ~= lastanimpose then
1738
		sine = 0
1739
		if Debounces.NoIdl == false then
1740
			if stanceToggle == "Idle1" then
1741
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
1742
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
1743
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
1744
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
1745
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
1746
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
1747
			elseif stanceToggle == "Idle2" then
1748
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
1749
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
1750
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
1751
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
1752
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
1753
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
1754
			end
1755
			fat.Event:wait()
1756
		end
1757
		else
1758
	end
1759
	lastanimpose = animpose
1760
	if Debounces.NoIdl == false then
1761
		if animpose == "Idle" then
1762
			change = 0.5
1763
			if stanceToggle == "Idle1" then
1764
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1.05+0.03*math.cos(sine/5), 0-0.1*math.cos(sine/10)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1765
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0+8*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.3)
1766
1767
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
1768
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1769
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
1770
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1771
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
1772
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.5)
1773
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
1774
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
1775
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
1776
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
1777
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
1778
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
1779
			elseif stanceToggle == "Idle2" then
1780
1781
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1782
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
1783
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
1784
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
1785
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
1786
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
1787
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
1788
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
1789
				--hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
1790
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1791
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
1792
				lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
1793
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
1794
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
1795
			elseif stanceToggle == "Grabbed" then
1796
				grab = true
1797
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1798
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1799
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40+2*math.cos(sine/14))), 0.2)
1800
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1801
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65+0.1*math.cos(sine/14),-.5)*CFrame.Angles(math.rad(90+4*math.cos(sine/14)),math.rad(0),math.rad(-80+4*math.cos(sine/14))), 0.3)
1802
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1803
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14+2*math.cos(sine/14)),math.rad(70-4*math.cos(sine/14)),0), 0.3)
1804
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1805
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
1806
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
1807
				lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
1808
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1809
				rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
1810
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1811
			end
1812
		elseif animpose == "Walking" then
1813
			if stanceToggle == "Grabbed" then
1814
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1815
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1816
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1817
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1818
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
1819
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
1820
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
1821
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
1822
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
1823
				--rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
1824
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
1825
				lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
1826
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1827
				rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
1828
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1829
			elseif stanceToggle ~= "Grabbed" then
1830
				change = 0.4
1831
				corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1832
				corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1833
		
1834
				rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1835
				rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1836
				larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
1837
				larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
1838
				hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
1839
				hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
1840
				torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
1841
				--rj.C0 = rj.C0:lerp(CFrame.Angles(math.rad(-90)+TiltOnAxis.Z,TiltOnAxis.X,math.rad(180)+-TiltOnAxis.X),.1)
1842
				torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
1843
				--lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.9-0.24*math.cos(sine/4)/2.8, -0.05 + math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)-math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
1844
				lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
1845
				lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1846
				--rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.9+0.24*math.cos(sine/4)/2.8, -0.05 + -math.sin(sine/4)/3.4) * CFrame.Angles(math.rad(-5)+math.sin(sine/4)/2.1, math.rad(0-10*math.cos(sine/4)/2.3), 0-root.RotVelocity.Y/20), .4)
1847
				rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
1848
				rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
1849
			end
1850
		elseif animpose == "Running" then
1851
			change = 0.4
1852
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1853
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1854
1855
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
1856
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1857
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
1858
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1859
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
1860
			hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
1861
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
1862
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1863
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
1864
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1865
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
1866
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1867
		elseif animpose == "Jumping" then
1868
1869
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1870
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1871
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
1872
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1873
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
1874
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1875
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
1876
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
1877
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1878
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1879
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1880
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
1881
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1882
		elseif animpose == "Freefalling" then
1883
1884
			corw8.C0 = Lerp(corw8.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(180)), 0.3)
1885
			corw8.C1 = Lerp(corw8.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
1886
			rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-40),math.rad(20),math.rad(50)), 0.2)
1887
			rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
1888
			larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(110),math.rad(-20),math.rad(-30)), 0.2)
1889
			larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
1890
			hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),math.rad(0),0), 0.2)
1891
			torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
1892
			torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
1893
			lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, 0.2) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.2)
1894
			lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1895
			rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.6) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.2)
1896
			rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
1897
		end
1898
	end
1899
	if animpose == "Walking" then
1900
    if footsteps == false then
1901
        x:Play()
1902
        footsteps = true
1903
    end
1904
    x.Pitch = 1.1
1905
elseif animpose == "Idle" then
1906
    x:Stop()
1907
    footsteps = false
1908
elseif animpose == "Running" then
1909
    x.Pitch = 1.2
1910
    if footsteps == false then
1911
       x:Play()
1912
        footsteps = true
1913
end	
1914
	end
1915
	end)