View difference between Paste ID: iQiW8iRF and cZUBKgzV
SHOW: | | - or go back to the newest paste.
1
--https://github.com/Mokiros/roblox-FE-compatibility
2
if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
3
local Player,game,owner = owner,game
4
local RealPlayer = Player
5
do
6
	print("FE Compatibility code V2 by Mokiros")
7
	local RealPlayer = RealPlayer
8
	script.Parent = RealPlayer.Character
9
10
	--Fake event to make stuff like Mouse.KeyDown work
11
	local Disconnect_Function = function(this)
12
		this[1].Functions[this[2]] = nil
13
	end
14
	local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
15
	local FakeEvent_Metatable = {__index={
16
		Connect = function(this,f)
17
			local i = tostring(math.random(0,10000))
18
			while this.Functions[i] do
19
				i = tostring(math.random(0,10000))
20
			end
21
			this.Functions[i] = f
22
			return setmetatable({this,i},Disconnect_Metatable)
23
		end
24
	}}
25
	FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
26
	local function fakeEvent()
27
		return setmetatable({Functions={}},FakeEvent_Metatable)
28
	end
29
30
	--Creating fake input objects with fake variables
31
    local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
32
    FakeMouse.keyUp = FakeMouse.KeyUp
33
    FakeMouse.keyDown = FakeMouse.KeyDown
34
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
35
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
36
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
37
	end}
38
	--Merged 2 functions into one by checking amount of arguments
39
	CAS.UnbindAction = CAS.BindAction
40
41
	--This function will trigger the events that have been :Connect()'ed
42
	local function TriggerEvent(self,ev,...)
43
		for _,f in pairs(self[ev].Functions) do
44
			f(...)
45
		end
46
	end
47
	FakeMouse.TriggerEvent = TriggerEvent
48
	UIS.TriggerEvent = TriggerEvent
49
50
	--Client communication
51
	local Event = Instance.new("RemoteEvent")
52
	Event.Name = "UserInput_Event"
53
	Event.OnServerEvent:Connect(function(plr,io)
54
	    if plr~=RealPlayer then return end
55
		FakeMouse.Target = io.Target
56
		FakeMouse.Hit = io.Hit
57
		if not io.isMouse then
58
			local b = io.UserInputState == Enum.UserInputState.Begin
59
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
60
				return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
61
			end
62
			if io.UserInputType == Enum.UserInputType.MouseButton2 then
63
				return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
64
			end
65
			for _,t in pairs(CAS.Actions) do
66
				for _,k in pairs(t.Keys) do
67
					if k==io.KeyCode then
68
						t.Function(t.Name,io.UserInputState,io)
69
					end
70
				end
71
			end
72
			FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
73
			UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
74
	    end
75
	end)
76
	Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
77
	local Mouse = owner:GetMouse()
78
	local UIS = game:GetService("UserInputService")
79
	local input = function(io,RobloxHandled)
80
		if RobloxHandled then return end
81
		--Since InputObject is a client-side instance, we create and pass table instead
82
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
83
	end
84
	UIS.InputBegan:Connect(input)
85
	UIS.InputEnded:Connect(input)
86
87
	local h,t
88
	--Give the server mouse data every second frame, but only if the values changed
89
	--If player is not moving their mouse, client won't fire events
90
	local HB = game:GetService("RunService").Heartbeat
91
	while true do
92
		if h~=Mouse.Hit or t~=Mouse.Target then
93
			h,t=Mouse.Hit,Mouse.Target
94
			Event:FireServer({isMouse=true,Target=t,Hit=h})
95
		end
96
		--Wait 2 frames
97
		for i=1,2 do
98
			HB:Wait()
99
		end
100
	end]==],script)
101
102
	----Sandboxed game object that allows the usage of client-side methods and services
103
	--Real game object
104
	local RealGame = game
105
106
	--Metatable for fake service
107
	local FakeService_Metatable = {
108
		__index = function(self,k)
109
			local s = rawget(self,"_RealService")
110
			if s then
111
				return typeof(s[k])=="function"
112
				and function(_,...)return s[k](s,...)end or s[k]
113
			end
114
		end,
115
		__newindex = function(self,k,v)
116
			local s = rawget(self,"_RealService")
117
			if s then s[k]=v end
118
		end
119
	}
120
	local function FakeService(t,RealService)
121
		t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
122
		return setmetatable(t,FakeService_Metatable)
123
	end
124
125
	--Fake game object
126
	local FakeGame = {
127
		GetService = function(self,s)
128
			return rawget(self,s) or RealGame:GetService(s)
129
		end,
130
		Players = FakeService({
131
			LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
132
		},"Players"),
133
		UserInputService = FakeService(UIS,"UserInputService"),
134
		ContextActionService = FakeService(CAS,"ContextActionService"),
135
		RunService = FakeService({
136
			_btrs = {},
137
			RenderStepped = RealGame:GetService("RunService").Heartbeat,
138
			BindToRenderStep = function(self,name,_,fun)
139
				self._btrs[name] = self.Heartbeat:Connect(fun)
140
			end,
141
			UnbindFromRenderStep = function(self,name)
142
				self._btrs[name]:Disconnect()
143
			end,
144
		},"RunService")
145
	}
146
	rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
147
	FakeGame.service = FakeGame.GetService
148
	FakeService(FakeGame,game)
149
	--Changing owner to fake player object to support owner:GetMouse()
150
	game,owner = FakeGame,FakeGame.Players.LocalPlayer
151
end
152
153
wait(0.2)
154
--[[ Grandgel Script ]]--
155
--[[ Declarations ]]--
156
wait(.0000000000000000000001)
157
local Player = game:GetService("Players").LocalPlayer
158
local Character = Player.Character
159
local Head = Character.Head
160
local Torso = Character.Torso
161
local Right_Arm = Character["Right Arm"]
162
local Right_Leg = Character["Right Leg"]
163
local Left_Arm = Character["Left Arm"]
164
local Left_Leg = Character["Left Leg"]
165
local Humanoid = Character.Humanoid
166
local Animation = "Idle"
167
local Mouse = Player:GetMouse()
168
local LeftShoulder = Torso["Left Shoulder"] 
169
local Left_Hip = Torso["Left Hip"] 
170
local RightShoulder = Torso["Right Shoulder"] 
171
local Right_Hip = Torso["Right Hip"] 
172
local Root = Character.HumanoidRootPart
173
local RootJoint = Root.RootJoint
174
local Attacking = false
175
local CanAttack = true
176
local Anim = "Idle"
177
local Combo = 1 
178
local Blocking = false
179
local MaxMana = 100
180
local Mana = 100
181
local MaxBlock = 100
182
local Effects = {}
183
local Color = "White"
184
local Blocks = false
185
local Absorbed = false
186
local BlocksN = 0
187
local AbsorbedBlocks = 0
188
Humanoid.WalkSpeed = 10
189
Humanoid.JumpPower = 45
190
191
local cf = CFrame.new
192
local WalkForward = false
193
	
194
local Block = Instance.new("BoolValue",Character)
195
Block.Value = false
196
Block.Name = "Block"
197
198
local BlockD = Instance.new("IntValue", Block)
199
BlockD.Name = "BlockDurability"
200
BlockD.Value = 100
201
202
Animator = Humanoid.Animator
203
Animate = Character.Animate
204
Animate.idle.Animation2:Remove()
205
206
local RootCFrame = CFrame.fromEulerAnglesXYZ(-1.57,0,3.14)
207
Necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
208
Necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
209
Right_Hip_C1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
210
Left_Hip_C1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
211
212
Movemment = 1
213
Walk = 0
214
215
Left_Shoulder = Instance.new("Weld", Torso)
216
Left_Shoulder.Part0 = Torso
217
Left_Shoulder.Part1 = Left_Arm
218
Left_Shoulder.Name = "Left Shoulder"
219
Left_Shoulder.C0 = CFrame.new(-1.5,0,0)
220
221
Right_Shoulder = Instance.new("Weld", Torso)
222
Right_Shoulder.Part0 = Torso
223
Right_Shoulder.Part1 = Right_Arm
224
Right_Shoulder.Name = "Right Shoulder"
225
Right_Shoulder.C0 = CFrame.new(1.5,0,0)
226
227
local Services = {
228
229
SoundService = game:GetService("SoundService");
230
Players = game:GetService("Players");
231
Debris = game:GetService("Debris");
232
Workspace = game:GetService("Workspace");
233
Lighting = game:GetService("Lighting");
234
HttpService = game:GetService("HttpService");
235
InsertService = game:GetService("InsertService");
236
	
237
}
238
239
MaxCooldown1 = 180
240
MaxCooldown2 = 200
241
MaxCooldown3 = 210
242
MaxCooldown4 = 230
243
MaxCooldownE = 10
244
245
Cooldown1 = MaxCooldown1
246
Cooldown2 = MaxCooldown2
247
Cooldown3 = MaxCooldown3
248
Cooldown4 = MaxCooldown4
249
CooldownE = MaxCooldownE
250
251
LeftShoulder.Parent = nil
252
RightShoulder.Parent = nil
253
254
Animator = Humanoid.Animator
255
Animate = Character.Animate
256
257
258
wait(0.1)
259
local HealthBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
260
HealthBarGUI.Name = "HealthBarGUI"
261
262
local HealthBarP1 = Instance.new("Frame", HealthBarGUI)
263
HealthBarP1.Name = "HealthBarPart1"
264
HealthBarP1.Size = UDim2.new(0,300,0,40)
265
HealthBarP1.Position = UDim2.new(0,350,0,550)
266
HealthBarP1.Style = "RobloxRound"
267
268
local HealthBarP2 = Instance.new("Frame", HealthBarP1)
269
HealthBarP2.Name = "HealthBarPart2"
270
HealthBarP2.Size = UDim2.new(0,285,0,20)
271
HealthBarP2.Position = UDim2.new(0,0,0,0)
272
273
local HealthBarText = Instance.new("TextLabel", HealthBarP1)
274
HealthBarText.Name = "HealthBarText"
275
HealthBarText.Size = UDim2.new(0,285,0,20)
276
HealthBarText.Position = UDim2.new(0,0,0,0)
277
HealthBarText.BackgroundColor3 = Color3.new(0,1,0)	
278
HealthBarText.TextScaled = true
279
HealthBarText.Text = "Health"
280
HealthBarText.TextStrokeTransparency = 0
281
HealthBarText.BackgroundTransparency = 1
282
HealthBarText.TextStrokeColor3 = Color3.new(1,1,1)
283
HealthBarText.TextColor3 = Color3.new(0,0,0)
284
HealthBarText.Font = "SciFi"
285
286
local ManaBarGUI = Instance.new("ScreenGui", Player.PlayerGui)
287
ManaBarGUI.Name = "ManaBarGUI"
288
289
local ManaBarP1 = Instance.new("Frame", ManaBarGUI)
290
ManaBarP1.Name = "ManaBarPart1"
291
ManaBarP1.Size = UDim2.new(0,300,0,40)
292
ManaBarP1.Position = UDim2.new(0,350,0,500)
293
ManaBarP1.Style = "RobloxRound"
294
295
local ManaBarP2 = Instance.new("Frame", ManaBarP1)
296
ManaBarP2.Name = "ManaBarPart2"
297
ManaBarP2.Size = UDim2.new(0,285,0,20)
298
ManaBarP2.Position = UDim2.new(0,0,0,0)
299
ManaBarP2.BackgroundColor3 = BrickColor.new("Bright yellow").Color
300
301
local ManaBarText = Instance.new("TextLabel", ManaBarP1)
302
ManaBarText.Name = "ManaBarText"
303
ManaBarText.Size = UDim2.new(0,285,0,20)
304
ManaBarText.Position = UDim2.new(0,0,0,0)	
305
ManaBarText.TextScaled = true
306
ManaBarText.Text = "Holyness"
307
ManaBarText.BackgroundTransparency = 1
308
ManaBarText.TextStrokeTransparency = 0
309
ManaBarText.TextStrokeColor3 = Color3.new(1,1,1)
310
ManaBarText.TextColor3 = Color3.new(0,0,0)
311
ManaBarText.Font = "SciFi"
312
313
local BlockGUI = Instance.new("ScreenGui", Player.PlayerGui)
314
BlockGUI.Name = "BlockGUI"
315
316
local BlockBarP1 = Instance.new("Frame", BlockGUI)
317
BlockBarP1.Name = "BlockBarP1"
318
BlockBarP1.Size = UDim2.new(0,300,0,40)
319
BlockBarP1.Position = UDim2.new(0,350,0,450)
320
BlockBarP1.Style = "RobloxRound"
321
322
local BlockBarP2 = Instance.new("Frame", BlockBarP1)
323
BlockBarP2.Name = "BlockBarP2"
324
BlockBarP2.Size = UDim2.new(0,285,0,20)
325
BlockBarP2.Position = UDim2.new(0,0,0,0)
326
BlockBarP2.BackgroundColor3 = BrickColor.new("White").Color
327
328
local BlockBarText = Instance.new("TextLabel", BlockBarP1)
329
BlockBarText.Name = "BlockBarText"
330
BlockBarText.Size = UDim2.new(0,285,0,20)
331
BlockBarText.Position = UDim2.new(0,0,0,0)	
332
BlockBarText.TextScaled = true
333
BlockBarText.Text = "Guard"
334
BlockBarText.BackgroundTransparency = 1
335
BlockBarText.TextStrokeTransparency = 0
336
BlockBarText.TextStrokeColor3 = Color3.new(1,1,1)
337
BlockBarText.TextColor3 = Color3.new(0,0,0)
338
BlockBarText.Font = "SciFi"
339
340
local CoolDownGUI = Instance.new("ScreenGui", Player.PlayerGui)
341
CoolDownGUI.Name = "CoolDownGUI"
342
343
local CoolDowns = Instance.new("Frame", CoolDownGUI)
344
CoolDowns.Name = "CoolDowns"
345
CoolDowns.Size = UDim2.new(0,200,0,200)
346
CoolDowns.Position = UDim2.new(0.81,0,0.68,0)
347
CoolDowns.Style = "RobloxRound"
348
349
local CoolDown1Frame = Instance.new("Frame", CoolDowns)
350
CoolDown1Frame.Name = "CoolDown1Frame"
351
CoolDown1Frame.Size = UDim2.new(0,80,0,50)
352
CoolDown1Frame.Position = UDim2.new(0,0,0,0)
353
CoolDown1Frame.BackgroundTransparency = 0.5
354
CoolDown1Frame.BackgroundColor3 = BrickColor.White().Color
355
356
local CoolDown1Bar = Instance.new("Frame", CoolDown1Frame)
357
CoolDown1Bar.Name = "CoolDown1Bar"
358
CoolDown1Bar.Size = UDim2.new(0,80,0,50)
359
CoolDown1Bar.Position = UDim2.new(0,0,0,0)	
360
CoolDown1Bar.BackgroundColor3 = BrickColor.White().Color
361
362
local CoolDown1Text = Instance.new("TextLabel", CoolDown1Frame)
363
CoolDown1Text.Name = "CoolDown1Text"
364
CoolDown1Text.Size = UDim2.new(0,80,0,50)
365
CoolDown1Text.Position = UDim2.new(0,0,0,0)	
366
CoolDown1Text.BackgroundTransparency = 1
367
CoolDown1Text.TextScaled = true
368
CoolDown1Text.Text = "Z - Angel's Lunge"
369
CoolDown1Text.TextStrokeTransparency = 0
370
CoolDown1Text.TextStrokeColor3 = Color3.new(1,1,1)
371
CoolDown1Text.TextColor3 = Color3.new(0,0,0)
372
CoolDown1Text.Font = "SciFi"
373
374
local CoolDown2Frame = Instance.new("Frame", CoolDowns)
375
CoolDown2Frame.Name = "CoolDown2Frame"
376
CoolDown2Frame.Size = UDim2.new(0,80,0,50)
377
CoolDown2Frame.Position = UDim2.new(0.55,0,0,0)
378
CoolDown2Frame.BackgroundTransparency = 0.5
379
CoolDown2Frame.BackgroundColor3 = BrickColor.White().Color
380
381
local CoolDown2Bar = Instance.new("Frame", CoolDown2Frame)
382
CoolDown2Bar.Name = "CoolDown2Bar"
383
CoolDown2Bar.Size = UDim2.new(0,80,0,50)
384
CoolDown2Bar.Position = UDim2.new(0,0,0,0)	
385
CoolDown2Bar.BackgroundColor3 = BrickColor.White().Color
386
387
local CoolDown2Text = Instance.new("TextLabel", CoolDown2Frame)
388
CoolDown2Text.Name = "CoolDown2Text"
389
CoolDown2Text.Size = UDim2.new(0,80,0,50)
390
CoolDown2Text.Position = UDim2.new(0,0,0,0)	
391
CoolDown2Text.BackgroundTransparency = 1
392
CoolDown2Text.TextScaled = true
393
CoolDown2Text.Text = "X - Angelical Blocks"
394
CoolDown2Text.TextStrokeTransparency = 0
395
CoolDown2Text.TextStrokeColor3 = Color3.new(1,1,1)
396
CoolDown2Text.TextColor3 = Color3.new(0,0,0)
397
CoolDown2Text.Font = "SciFi"
398
399
local CoolDown3Frame = Instance.new("Frame", CoolDowns)
400
CoolDown3Frame.Name = "CoolDown3Frame"
401
CoolDown3Frame.Size = UDim2.new(0,80,0,50)
402
CoolDown3Frame.Position = UDim2.new(0,0,0.4,0)
403
CoolDown3Frame.BackgroundTransparency = 0.5
404
CoolDown3Frame.BackgroundColor3 = BrickColor.White().Color
405
406
local CoolDown3Bar = Instance.new("Frame", CoolDown3Frame)
407
CoolDown3Bar.Name = "CoolDown3Bar"
408
CoolDown3Bar.Size = UDim2.new(0,80,0,50)
409
CoolDown3Bar.Position = UDim2.new(0,0,0,0)	
410
CoolDown3Bar.BackgroundColor3 = BrickColor.White().Color
411
412
local CoolDown3Text = Instance.new("TextLabel", CoolDown3Frame)
413
CoolDown3Text.Name = "CoolDown3Text"
414
CoolDown3Text.Size = UDim2.new(0,80,0,50)
415
CoolDown3Text.Position = UDim2.new(0,0,0,0)	
416
CoolDown3Text.BackgroundTransparency = 1
417
CoolDown3Text.TextScaled = true
418
CoolDown3Text.Text = "C - Ground  Smash"
419
CoolDown3Text.TextStrokeTransparency = 0
420
CoolDown3Text.TextStrokeColor3 = Color3.new(1,1,1)
421
CoolDown3Text.TextColor3 = Color3.new(0,0,0)
422
CoolDown3Text.Font = "SciFi"
423
424
425
local CoolDown4Frame = Instance.new("Frame", CoolDowns)
426
CoolDown4Frame.Name = "CoolDown4Frame"
427
CoolDown4Frame.Size = UDim2.new(0,80,0,50)
428
CoolDown4Frame.Position = UDim2.new(0.55,0,0.4,0)
429
CoolDown4Frame.BackgroundTransparency = 0.5
430
CoolDown4Frame.BackgroundColor3 = BrickColor.White().Color
431
432
local CoolDown4Bar = Instance.new("Frame", CoolDown4Frame)
433
CoolDown4Bar.Name = "CoolDown4Bar"
434
CoolDown4Bar.Size = UDim2.new(0,80,0,50)
435
CoolDown4Bar.Position = UDim2.new(0,0,0,0)	
436
CoolDown4Bar.BackgroundColor3 = BrickColor.White().Color
437
438
local CoolDown4Text = Instance.new("TextLabel", CoolDown4Frame)
439
CoolDown4Text.Name = "CoolDown4Text"
440
CoolDown4Text.Size = UDim2.new(0,80,0,50)
441
CoolDown4Text.Position = UDim2.new(0,0,0,0)	
442
CoolDown4Text.BackgroundTransparency = 1
443
CoolDown4Text.TextScaled = true
444
CoolDown4Text.Text = "V - Angel's Fury"
445
CoolDown4Text.TextStrokeTransparency = 0
446
CoolDown4Text.TextStrokeColor3 = Color3.new(1,1,1)
447
CoolDown4Text.TextColor3 = Color3.new(0,0,0)
448
CoolDown4Text.Font = "SciFi"
449
450
local CoolDownEFrame = Instance.new("Frame", CoolDowns)
451
CoolDownEFrame.Name = "CoolDownEFrame"
452
CoolDownEFrame.Size = UDim2.new(0,180,0,50)
453
CoolDownEFrame.Position = UDim2.new(0,0,0.74,0)
454
CoolDownEFrame.BackgroundTransparency = 0.5
455
CoolDownEFrame.BackgroundColor3 = BrickColor.White().Color
456
457
local CoolDownEBar = Instance.new("Frame", CoolDownEFrame)
458
CoolDownEBar.Name = "CoolDownEBar"
459
CoolDownEBar.Size = UDim2.new(0,180,0,50)
460
CoolDownEBar.Position = UDim2.new(0,0,0,0)	
461
CoolDownEBar.BackgroundColor3 = BrickColor.White().Color
462
463
local CoolDownEText = Instance.new("TextLabel", CoolDownEFrame)
464
CoolDownEText.Name = "CoolDownEText"
465
CoolDownEText.Size = UDim2.new(0,180,0,50)
466
CoolDownEText.Position = UDim2.new(0,0,0,0)	
467
CoolDownEText.BackgroundTransparency = 1
468
CoolDownEText.TextScaled = true
469
CoolDownEText.Text = "E - Angel's Guard"
470
CoolDownEText.TextStrokeTransparency = 0
471
CoolDownEText.TextStrokeColor3 = Color3.new(1,1,1)
472
CoolDownEText.TextColor3 = Color3.new(0,0,0)
473
CoolDownEText.Font = "SciFi"
474
--------[[ Mesh Ids ]]--------
475
476
SpikeMeshId = 160003363
477
SpikeBallId = 9982590
478
StarMeshId = 45428961
479
CrystalMeshId = 9756362
480
481
--[[ Functions ]]--
482
483
function NoOutlines(Part)
484
		Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
485
end
486
	
487
488
local CreatePart = function(Parent, Name, Color, Size, Material, Transparency, Shape)
489
490
local Part = Instance.new("Part", Parent)
491
Part.Name = Name
492
Part.BrickColor = BrickColor.new(Color)
493
Part.Size = Size
494
Part.Material = Material
495
Part.Transparency = Transparency
496
Part.Shape = Shape
497
Part.CanCollide = false
498
NoOutlines(Part)
499
500
return Part
501
502
end
503
504
local CreateBlockMesh = function(Parent, Scale)
505
506
507
local Mesh = Instance.new("BlockMesh", Parent)
508
Mesh.Scale = Scale
509
510
return Mesh
511
512
end
513
514
local CreateCylinderMesh = function(Parent, Scale)
515
516
517
local Mesh = Instance.new("CylinderMesh", Parent)
518
Mesh.Scale = Scale
519
520
return Mesh
521
522
end
523
524
local CreateWedgeMesh = function(Parent, Scale)
525
526
527
local Mesh = Instance.new("SpecialMesh", Parent)
528
Mesh.MeshType = "Wedge"
529
Mesh.Scale = Scale
530
531
return Mesh
532
533
end
534
535
local CreateWeld = function(Parent, Cframe, Cframe2, P1 , P0, Name)
536
	
537
local Weld = Instance.new("Weld", Parent)
538
Weld.Part0 = P0
539
Weld.Part1 = P1
540
Weld.Name = Name
541
Weld.C0 = Cframe
542
Weld.C1 = Cframe2
543
544
return Weld	
545
	
546
end
547
548
local CreateCrystal = function(Parent, Name, Color, Size, Material, Transparency, Scale)
549
550
551
local Part = Instance.new("Part", Parent)
552
Part.Name = Name
553
Part.BrickColor = BrickColor.new(Color)
554
Part.Size = Size
555
Part.Material = Material
556
Part.Transparency = Transparency
557
Part.CanCollide = false
558
NoOutlines(Part)
559
560
local Mesh = Instance.new("SpecialMesh", Part)
561
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. CrystalMeshId
562
Mesh.Scale = Scale
563
564
return Mesh and Part
565
566
end
567
568
local CreateSpike = function(Parent, Name, Color, Size, Material, Transparency, Scale)
569
570
571
local Part = Instance.new("Part", Parent)
572
Part.Name = Name
573
Part.BrickColor = BrickColor.new(Color)
574
Part.Size = Size
575
Part.Material = Material
576
Part.Transparency = Transparency
577
Part.CanCollide = false
578
NoOutlines(Part)
579
580
local Mesh = Instance.new("SpecialMesh", Part)
581
Mesh.MeshId = "http://www.roblox.com/asset?id=" .. SpikeMeshId
582
Mesh.Scale = Scale
583
584
return Mesh and Part
585
586
end
587
588
local CreateBlockMeshedPart = function(Parent, Name, Color, Size, Material, Transparency, Scale)
589
590
591
local Part = Instance.new("Part", Parent)
592
Part.Name = Name
593
Part.BrickColor = BrickColor.new(Color)
594
Part.Size = Size
595
Part.Material = Material
596
Part.Transparency = Transparency
597
Part.CanCollide = false
598
NoOutlines(Part)
599
600
601
local Mesh = Instance.new("BlockMesh", Part)
602
Mesh.Scale = Scale
603
604
return Mesh and Part
605
606
end
607
608
609
local CreateVelocity = function(Parent,Velocity,Force)
610
local BodyVelocity = Instance.new("BodyVelocity", Parent)
611
BodyVelocity.Velocity = Velocity
612
BodyVelocity.MaxForce = Force	
613
614
	
615
	
616
return BodyVelocity	
617
	
618
end
619
620
local MakeSFX = function(Parent, Id, Volume, Pitch)
621
	
622
local SFX = Instance.new("Sound", Parent)
623
SFX.SoundId = "http://www.roblox.com/asset?id=" .. Id
624
SFX.Name = "SFX"
625
SFX:Play()
626
SFX.Volume = Volume
627
SFX.Pitch = Pitch
628
SFX.PlayOnRemove = true
629
SFX:Remove()
630
	
631
end
632
633
634
635
636
CircleEffect = function(Position, Parent, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
637
	
638
local Part = Instance.new("Part", Parent)
639
Part.Transparency = Transparency
640
Part.Name = "CircleEffect"
641
Part.Size = Vector3.new()
642
Part.Anchored = true
643
Part.CanCollide = false
644
Part.Position = Position
645
Part.BrickColor = BrickColor.new(Brickcolor)
646
Part.Material = Material
647
NoOutlines(Part)
648
649
local Mesh = Instance.new("SpecialMesh", Part)
650
Mesh.MeshType = "Sphere"
651
Mesh.Scale = Vector3.new(0,0,0)
652
653
Services.Debris:AddItem(Part, Time)
654
655
656
table.insert(Effects, {Part, "Circle", Time, SX, SY, SZ})
657
658
659
end
660
661
BlockEffect = function(Position, Parent, DSX, DSY, DSZ, SX, SY, SZ, Time, Brickcolor, Material, Transparency)
662
	
663
local Part = Instance.new("Part", Parent)
664
Part.Transparency = Transparency
665
Part.Name = "BlockEffect"
666
Part.Size = Vector3.new()
667
Part.Anchored = true
668
Part.Position = Position
669
Part.CanCollide = false
670
Part.BrickColor = BrickColor.new(Brickcolor)
671
Part.Material = Material
672
NoOutlines(Part)
673
674
local Mesh = Instance.new("BlockMesh", Part)
675
Mesh.Scale = Vector3.new(DSX, DSY, DSZ)
676
677
Services.Debris:AddItem(Part, Time)
678
679
table.insert(Effects, {Part, "Block", Time, SX, SY, SZ})
680
681
682
end
683
684
--[[ Weapon ]]--
685
Raptorive = Instance.new("Model", Character)
686
Raptorive.Name = "Raptorive"
687
688
Handle = CreatePart(Raptorive, "Handle", "Medium stone grey", Vector3.new(0.273, 3.335, 0.273), "Neon", 0, "Block")
689
HandleMesh = CreateCylinderMesh(Handle, Vector3.new(0.955, 1, 0.995))
690
Part1 = CreatePart(Raptorive, "Part1", "Medium stone grey", Vector3.new(0.273, 0.326, 2.001), "SmoothPlastic", 0, "Block")
691
Part1Mesh = CreateBlockMesh(Part1, Vector3.new(0.991, 1, 1))
692
693
Detail1 = CreatePart(Raptorive, "Detail1", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
694
Detail1Mesh = CreateBlockMesh(Detail1, Vector3.new(0.994, 0.28, 1))
695
Detail2 = CreatePart(Raptorive, "Detail2", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
696
Detail2Mesh = CreateBlockMesh(Detail2, Vector3.new(0.994, 0.28, 1))
697
Detail3 = CreatePart(Raptorive, "Detail3", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
698
Detail3Mesh = CreateBlockMesh(Detail3, Vector3.new(0.994, 0.28, 1))
699
Detail4 = CreatePart(Raptorive, "Detail4", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
700
Detail4Mesh = CreateBlockMesh(Detail4, Vector3.new(0.994, 0.28, 1))
701
Detail5 = CreatePart(Raptorive, "Detail5", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
702
Detail5Mesh = CreateBlockMesh(Detail5, Vector3.new(0.994, 0.28, 1))
703
Detail6 = CreatePart(Raptorive, "Detail6", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
704
Detail6Mesh = CreateBlockMesh(Detail6, Vector3.new(0.994, 0.28, 1))
705
Detail7 = CreatePart(Raptorive, "Detail7", "Medium stone grey", Vector3.new(0.273, 0.273, 0.331), "SmoothPlastic", 0, "Block")
706
Detail7Mesh = CreateBlockMesh(Detail7, Vector3.new(0.994, 0.28, 1))
707
Detail8 = CreatePart(Raptorive, "Detail8", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
708
Detail8Mesh = CreateBlockMesh(Detail8, Vector3.new(0.991, 1, 0.974))
709
Detail9 = CreatePart(Raptorive, "Detail9", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
710
Detail9Mesh = CreateWedgeMesh(Detail9, Vector3.new(0.986, 1, 0.75))
711
Detail10 = CreatePart(Raptorive, "Detail10", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
712
Detail10Mesh = CreateWedgeMesh(Detail10, Vector3.new(0.986, 1, 0.974))
713
Detail11 = CreatePart(Raptorive, "Detail11", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
714
Detail11Mesh = CreateWedgeMesh(Detail11, Vector3.new(0.986, 1, 0.974))
715
Detail12 = CreatePart(Raptorive, "Detail12", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
716
Detail12Mesh = CreateWedgeMesh(Detail12, Vector3.new(0.986, 1, 0.974))
717
Detail13 = CreatePart(Raptorive, "Detail13", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
718
Detail13Mesh = CreateBlockMesh(Detail13, Vector3.new(0.991, 1, 0.974))
719
Detail14 = CreatePart(Raptorive, "Detail14", "Medium stone grey", Vector3.new(0.273, 0.884, 0.902), "Neon", 0, "Block")
720
Detail14Mesh = CreateBlockMesh(Detail14, Vector3.new(0.845, 1, 1))
721
Detail15 = CreatePart(Raptorive, "Detail15", "Medium stone grey", Vector3.new(0.273, 6.296, 1.256), "Neon", 0, "Block")
722
Detail15Mesh = CreateBlockMesh(Detail15, Vector3.new(0.845, 1, 1))
723
Detail16 = CreatePart(Raptorive, "Detail16", "Medium stone grey", Vector3.new(0.273, 0.993, 0.273), "SmoothPlastic", 0, "Block")
724
Detail16Mesh = CreateWedgeMesh(Detail16, Vector3.new(0.986, 1, 0.974))
725
Detail17 = CreatePart(Raptorive, "Detail17", "Medium stone grey", Vector3.new(0.273, 0.634, 0.595), "SmoothPlastic", 0, "Block")
726
Detail17Mesh = CreateWedgeMesh(Detail17, Vector3.new(0.986, 1, 1))
727
Detail18 = CreatePart(Raptorive, "Detail18", "Medium stone grey", Vector3.new(0.273, 0.633, 0.645), "SmoothPlastic", 0, "Block")
728
Detail18Mesh = CreateWedgeMesh(Detail18, Vector3.new(0.986, 1, 1))
729
Detail19 = CreatePart(Raptorive, "Detail19", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
730
Detail19Mesh = CreateBlockMesh(Detail19, Vector3.new(0.991, 1, 0.974))
731
Detail20 = CreatePart(Raptorive, "Detail20", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
732
Detail20Mesh = CreateWedgeMesh(Detail20, Vector3.new(0.986, 1, 0.974))
733
Detail21 = CreatePart(Raptorive, "Detail21", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "SmoothPlastic", 0, "Block")
734
Detail21Mesh = CreateWedgeMesh(Detail21, Vector3.new(0.986, 0.828, 0.974))
735
Detail22 = CreatePart(Raptorive, "Detail22", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
736
Detail22Mesh = CreateWedgeMesh(Detail22, Vector3.new(0.986, 1, 0.974))
737
Detail23 = CreatePart(Raptorive, "Detail23", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
738
Detail23Mesh = CreateWedgeMesh(Detail23, Vector3.new(0.986, 1, 0.974))
739
Detail24 = CreatePart(Raptorive, "Detail24", "Medium stone grey", Vector3.new(0.273, 0.546, 0.273), "SmoothPlastic", 0, "Block")
740
Detail24Mesh = CreateWedgeMesh(Detail24, Vector3.new(0.986, 1, 0.715))
741
Detail25 = CreatePart(Raptorive, "Detail25", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
742
Detail25Mesh = CreateWedgeMesh(Detail25, Vector3.new(0.986, 1, 0.974))
743
Detail26 = CreatePart(Raptorive, "Detail26", "Medium stone grey", Vector3.new(0.273, 0.35, 0.273), "SmoothPlastic", 0, "Block")
744
Detail26Mesh = CreateWedgeMesh(Detail26, Vector3.new(0.986, 1, 0.974))
745
Detail27 = CreatePart(Raptorive, "Detail27", "Medium stone grey", Vector3.new(0.273, 0.409, 0.273), "SmoothPlastic", 0, "Block")
746
Detail27Mesh = CreateWedgeMesh(Detail27, Vector3.new(0.986, 1, 0.974))
747
Detail28 = CreatePart(Raptorive, "Detail28", "Medium stone grey", Vector3.new(0.273, 0.409, 0.273), "SmoothPlastic", 0, "Block")
748
Detail28Mesh = CreateWedgeMesh(Detail28, Vector3.new(0.986, 1, 0.974))
749
Detail29 = CreatePart(Raptorive, "Detail29", "Medium stone grey", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
750
Detail29Mesh = CreateWedgeMesh(Detail29, Vector3.new(1, 0.934, 0.047))
751
Detail29 = CreatePart(Raptorive, "Detail29", "Medium stone grey", Vector3.new(0.273, 0.35, 0.273), "SmoothPlastic", 0, "Block")
752
Detail29Mesh = CreateWedgeMesh(Detail29, Vector3.new(0.986, 1, 0.974))
753
Detail30 = CreatePart(Raptorive, "Detail30", "Medium stone grey", Vector3.new(0.273, 0.35, 0.273), "SmoothPlastic", 0, "Block")
754
Detail30Mesh = CreateWedgeMesh(Detail30, Vector3.new(0.986, 1, 0.974))
755
Detail31 = CreatePart(Raptorive, "Detail31", "Medium stone grey", Vector3.new(0.273, 0.278, 0.273), "SmoothPlastic", 0, "Block")
756
Detail31Mesh = CreateCylinderMesh(Detail31, Vector3.new(0.845, 1, 0.995))
757
Detail32 = CreatePart(Raptorive, "Detail32", "Medium stone grey", Vector3.new(0.986, 1, 0.974), "SmoothPlastic", 0, "Block")
758
Detail32Mesh = CreateWedgeMesh(Detail32, Vector3.new(0.273, 0.643, 0.273))
759
Detail33 = CreatePart(Raptorive, "Detail33", "Institutional white", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
760
Detail33Mesh = CreateBlockMesh(Detail33, Vector3.new(1, 0.934, 0.047))
761
Detail34 = CreatePart(Raptorive, "Detail34", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
762
Detail34Mesh = CreateBlockMesh(Detail34, Vector3.new(0.991, 1.1, 1.1))
763
Detail35 = CreatePart(Raptorive, "Detail35", "Medium stone grey", Vector3.new(0.273, 0.278, 0.273), "SmoothPlastic", 0, "Block")
764
Detail35Mesh = CreateCylinderMesh(Detail35, Vector3.new(0.845, 1, 0.995))
765
Detail36 = CreatePart(Raptorive, "Detail36", "Medium stone grey", Vector3.new(0.986, 1, 0.974), "SmoothPlastic", 0, "Block")
766
Detail36Mesh = CreateWedgeMesh(Detail36, Vector3.new(0.273, 0.643, 0.273))
767
Detail37 = CreatePart(Raptorive, "Detail37", "Medium stone grey", Vector3.new(0.273, 0.643, 0.273), "SmoothPlastic", 0, "Block")
768
Detail37Mesh = CreateWedgeMesh(Detail37, Vector3.new(0.986, 1, 0.974))
769
Detail38 = CreatePart(Raptorive, "Detail38", "Institutional white", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
770
Detail38Mesh = CreateBlockMesh(Detail38, Vector3.new(1, 0.934, 0.047))
771
Detail39 = CreatePart(Raptorive, "Detail39", "Medium stone grey", Vector3.new(0.273, 0.993, 0.273), "SmoothPlastic", 0, "Block")
772
Detail39Mesh = CreateWedgeMesh(Detail39, Vector3.new(0.986, 1, 0.974))
773
Detail40 = CreatePart(Raptorive, "Detail40", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
774
Detail40Mesh = CreateWedgeMesh(Detail40, Vector3.new(0.991, 1, 0.974))
775
Detail41 = CreatePart(Raptorive, "Detail41", "Medium stone grey", Vector3.new(0.273, 0.322, 0.273), "SmoothPlastic", 0, "Block")
776
Detail41Mesh = CreateBlockMesh(Detail41, Vector3.new(0.991, 1, 0.974))
777
Detail42 = CreatePart(Raptorive, "Detail42", "Institutional white", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
778
Detail42Mesh = CreateBlockMesh(Detail42, Vector3.new(1, 0.934, 0.047))
779
Detail43 = CreatePart(Raptorive, "Detail43", "Institutional white", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
780
Detail43Mesh = CreateWedgeMesh(Detail43, Vector3.new(1, 0.934, 0.047))
781
Detail44 = CreatePart(Raptorive, "Detail44", "Institutional white", Vector3.new(0.28, 0.273, 0.273), "SmoothPlastic", 0, "Block")
782
Detail44Mesh = CreateBlockMesh(Detail44, Vector3.new(1, 0.934, 0.047))
783
784
785
786
Neon1 = CreatePart(Raptorive, "Neon1", "Medium stone grey", Vector3.new(0.273, 0.273, 1.878), "Neon", 0, "Block")
787
Neon1Mesh = CreateBlockMesh(Neon1, Vector3.new(0.993, 0.854, 1))
788
Neon2 = CreatePart(Raptorive, "Neon2", "Medium stone grey", Vector3.new(0.273, 0.275, 0.273), "Neon", 0, "Block")
789
Neon2Mesh = CreateCylinderMesh(Neon2, Vector3.new(0.955, 1, 0.995))
790
Neon3 = CreatePart(Raptorive, "Neon3", "Medium stone grey", Vector3.new(0.273, 0.275, 0.273), "Neon", 0, "Block")
791
Neon3Mesh = CreateCylinderMesh(Neon3, Vector3.new(0.955, 1, 0.995))
792
Neon4 = CreatePart(Raptorive, "Neon4", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
793
Neon4Mesh = CreateBlockMesh(Neon4, Vector3.new(0.316, 0.308, 0.301))
794
Neon5 = CreatePart(Raptorive, "Neon5", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
795
Neon5Mesh = CreateBlockMesh(Neon5, Vector3.new(0.316, 0.308, 0.301))
796
Neon6 = CreatePart(Raptorive, "Neon6", "Medium stone grey", Vector3.new(0.273, 0.273, 0.406), "Neon", 0, "Block")
797
Neon6Mesh = CreateBlockMesh(Neon6, Vector3.new(0.427, 0.308, 1))
798
Neon7 = CreatePart(Raptorive, "Neon7", "Medium stone grey", Vector3.new(0.273, 0.273, 0.406), "Neon", 0, "Block")
799
Neon7Mesh = CreateBlockMesh(Neon7, Vector3.new(0.427, 0.308, 1))
800
Neon8 = CreatePart(Raptorive, "Neon8", "Medium stone grey", Vector3.new(0.273, 0.273, 0.301), "Neon", 0, "Block")
801
Neon8Mesh = CreateBlockMesh(Neon8, Vector3.new(0.427, 0.308, 1))
802
Neon9 = CreatePart(Raptorive, "Neon9", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
803
Neon9Mesh = CreateBlockMesh(Neon9, Vector3.new(0.316, 0.308, 0.301))
804
Neon10 = CreatePart(Raptorive, "Neon10", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
805
Neon10Mesh = CreateBlockMesh(Neon10, Vector3.new(0.316, 0.308, 0.301))
806
Neon11 = CreatePart(Raptorive, "Neon11", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
807
Neon11Mesh = CreateBlockMesh(Neon11, Vector3.new(0.316, 0.308, 0.301))
808
Neon12 = CreatePart(Raptorive, "Neon12", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
809
Neon12Mesh = CreateBlockMesh(Neon12, Vector3.new(0.993, 0.798, 0.367))
810
Neon13 = CreatePart(Raptorive, "Neon13", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
811
Neon13Mesh = CreateBlockMesh(Neon13, Vector3.new(0.316, 0.308, 0.301))
812
Neon14 = CreatePart(Raptorive, "Neon14", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
813
Neon14Mesh = CreateBlockMesh(Neon14, Vector3.new(0.316, 0.308, 0.301))
814
Neon15 = CreatePart(Raptorive, "Neon15", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
815
Neon15Mesh = CreateBlockMesh(Neon15, Vector3.new(0.993, 0.308, 0.367))
816
Neon16 = CreatePart(Raptorive, "Neon16", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
817
Neon16Mesh = CreateBlockMesh(Neon16, Vector3.new(0.993, 0.268, 0.367))
818
Neon17 = CreatePart(Raptorive, "Neon17", "Medium stone grey", Vector3.new(0.273, 0.273, 0.443), "Neon", 0, "Block")
819
Neon17Mesh = CreateBlockMesh(Neon17, Vector3.new(0.427, 0.308, 1))
820
Neon18 = CreatePart(Raptorive, "Neon18", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
821
Neon18Mesh = CreateBlockMesh(Neon18, Vector3.new(0.993, 0.268, 0.367))
822
Neon19 = CreatePart(Raptorive, "Neon19", "Medium stone grey", Vector3.new(0.273, 0.273, 0.273), "Neon", 0, "Block")
823
Neon19Mesh = CreateBlockMesh(Neon19, Vector3.new(0.993, 0.268, 0.367))
824
825
826
HandleWeld = CreateWeld(Handle,   CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0), CFrame.new(0,0,0), Handle, Right_Arm, "HandleToRightArm")
827
Part1Weld = CreateWeld(Part1,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.88389206, -0.0218544006, 1, 0, 0, 0, 1, 0, 0, 0, 1), Part1, Handle, "Part1ToHandle")
828
829
830
831
Detail1Weld = CreateWeld(Detail1,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.960935593, -1.62220383, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail1, Handle, "Detail1ToHandle")
832
Detail2Weld = CreateWeld(Detail2,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new( 0.00417786837, -1.17822075, -1.49600983, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail2, Handle, "Detail2ToHandle")
833
Detail3Weld = CreateWeld(Detail3,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.61048889, -1.24348831, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail3, Handle, "Detail3ToHandle")
834
Detail4Weld = CreateWeld(Detail4,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.296977997, -2.00553894, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail4, Handle, "Detail4ToHandle")
835
Detail5Weld = CreateWeld(Detail5,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.538106918, -1.8640976, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail5, Handle, "Detail5ToHandle")
836
Detail6Weld = CreateWeld(Detail6,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.751184464, -1.73957443, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail6, Handle, "Detail6ToHandle")
837
Detail7Weld = CreateWeld(Detail7,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.38223267, -1.37896729, 1, 0, 0, 0, 0.499999017, -0.866026103, 0, 0.866026103, 0.499999017), Detail7, Handle, "Detail7ToHandle")
838
839
Detail8Weld = CreateWeld(Detail8,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.414188385, 0.00159835815, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail8, Handle, "Detail8ToHandle")
840
Detail9Weld = CreateWeld(Detail9,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.89867783, 0.01222229, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail9, Handle, "Detail9ToHandle")
841
Detail10Weld = CreateWeld(Detail10,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.887386322, 2.06279182, 1, 0, 0, 0, 0.642787099, 0.766045034, 0, -0.766045034, 0.642787099), Detail10, Handle, "Detail10ToHandle")
842
Detail11Weld = CreateWeld(Detail11,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.892616272, 0.00225448608, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail11, Handle, "Detail11ToHandle")
843
Detail12Weld = CreateWeld(Detail12,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.07769394, -0.00225448608, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail12, Handle, "Detail12ToHandle")
844
Detail13Weld = CreateWeld(Detail13,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.55998993, 0.00159835815, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail13, Handle, "Detail13ToHandle")
845
Detail14Weld = CreateWeld(Detail14,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00354233384, -5.91411972, 5.85757446, 1, 0, 0, 0, 0.709413111, 0.704792976, 0, -0.704792976, 0.709413111), Detail14, Handle, "Detail14ToHandle")
846
Detail15Weld = CreateWeld(Detail15,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00354233384, -5.17701721, -0.00965118408, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail15, Handle, "Detail15ToHandle")
847
Detail16Weld = CreateWeld(Detail16,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.123825073, -2.10261536, 1, 0, 0, 0, -0.642787099, -0.766045034, 0, 0.766045034, -0.642787099), Detail16, Handle, "Detail16ToHandle")
848
Detail17Weld = CreateWeld(Detail17,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00418826938, -2.35297775, 0.300479889, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail17, Handle, "Detail17ToHandle")
849
Detail18Weld = CreateWeld(Detail18,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00418826938, -2.35554886, 0.315811157, -1, 0, 0, 0, 1, 0, 0, 0, -1), Detail18, Handle, "Detail18ToHandle")
850
Detail19Weld = CreateWeld(Detail19,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0067512095, 1.16830444, 1.88051987, -1, 0, 0, 0, 0, -1, 0, -1, 0), Detail19, Handle, "Detail19ToHandle")
851
Detail20Weld = CreateWeld(Detail20,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.06936646, 0.00225448608, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail20, Handle, "Detail20ToHandle")
852
Detail21Weld = CreateWeld(Detail21,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.82059479, -0.00225448608, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail21, Handle, "Detail21ToHandle")
853
Detail22Weld = CreateWeld(Detail22,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.0636177063, 0.00225448608, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail22, Handle, "Detail22ToHandle")
854
Detail23Weld = CreateWeld(Detail23,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -0.884284973, -0.00225448608, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail23, Handle, "Detail23ToHandle")
855
Detail24Weld = CreateWeld(Detail24,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.97835541, 0.0330886841, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail24, Handle, "Detail24ToHandle")
856
Detail25Weld = CreateWeld(Detail25,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.248687744, -0.00225448608, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail25, Handle, "Detail25ToHandle")
857
Detail26Weld = CreateWeld(Detail26,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00417786837, -1.47661591, 1.8833847, -1, 0, 0, 0, 0, -1, 0, -1, 0), Detail26, Handle, "Detail26ToHandle")
858
Detail27Weld = CreateWeld(Detail27,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00417786837, -2.25164413, 0.781738281, -1, 0, 0, 0, 0.642788053, -0.76604414, 0, -0.76604414, -0.642788053), Detail27, Handle, "Detail27ToHandle")
859
Detail28Weld = CreateWeld(Detail28,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0067512095, -2.27151489, 0.76216507, 1, 0, 0, 0, 0.642788112, 0.766044259, 0, -0.766044259, 0.642788112), Detail28, Handle, "Detail28ToHandle")
860
Detail29Weld = CreateWeld(Detail29,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0067512095, 1.18003082, 1.87266541, -1, 0, 0, 0, 0, -1, 0, -1, 0), Detail29, Handle, "Detail29ToHandle")
861
Detail30Weld = CreateWeld(Detail30,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0067512095, -1.50440216, 1.88116074, 1, 0, 0, 0, 0, 1, 0, -1, 0), Detail30, Handle, "Detail30ToHandle")
862
Detail31Weld = CreateWeld(Detail31,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.87462616, -0.0038549006, -1.14951324, 0, -1, 0, -1, 0, 0, 0, 0, -1), Detail31, Handle, "Detail31ToHandle")
863
Detail32Weld = CreateWeld(Detail32,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00417786837, 0.5037117, 1.82992935, -1, 0, 0, 0, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414), Detail32, Handle, "Detail32ToHandle")
864
Detail33Weld = CreateWeld(Detail33,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0067512095, 1.87068939, -1.17424393, -1, 0, 0, 0, -1, 0, -0, -0, 1), Detail33, Handle, "Detail33ToHandle")
865
Detail34Weld = CreateWeld(Detail34,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.1522522, 1.87488556, 1, 0, 0, 0, 0, 1, 0, -1, 0), Detail34, Handle, "Detail34ToHandle")
866
Detail35Weld = CreateWeld(Detail35,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.87240219, 0.00707417727, -1.17729187, 0, -1, 0, 1, 0, 0, 0, 0, 1), Detail35, Handle, "Detail35ToHandle")
867
Detail36Weld = CreateWeld(Detail36,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00418826938, 0.459667206, 1.86756516, 1, 0, 0, 0, -0.766044259, 0.642788112, 0, -0.642788112, -0.766044259), Detail36, Handle, "Detail36ToHandle")
868
Detail37Weld = CreateWeld(Detail37,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00418826938, -0.854734421, 2.09282303, -1, 0, 0, 0, 0.64278692, -0.766044974, 0, -0.766044974, -0.64278692), Detail37, Handle, "Detail37ToHandle")
869
Detail38Weld = CreateWeld(Detail38,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.87292099, -1.14647293, 1, 0, 0, 0, -1, 0, 0, 0, -1), Detail38, Handle, "Detail38ToHandle")
870
Detail39Weld = CreateWeld(Detail39,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0067512095, -0.146541595, -2.11876678, -1, 0, 0, 0, -0.64278692, 0.766044974, 0, 0.766044974, 0.64278692), Detail39, Handle, "Detail39ToHandle")
871
Detail40Weld = CreateWeld(Detail40,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.14051819, 1.88274765, 1, 0, 0, 0, 0, 1, 0, -1, 0), Detail40, Handle, "Detail40ToHandle")
872
Detail41Weld = CreateWeld(Detail41,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.54716492, 0.00159835815, 1, 0, 0, 0, 1, 0, 0, 0, 1), Detail41, Handle, "Detail41ToHandle")
873
Detail42Weld = CreateWeld(Detail42,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.1522522, 1.87488556, 1, 0, 0, 0, 0, 1, 0, -1, 0), Detail42, Handle, "Detail42ToHandle")
874
Detail43Weld = CreateWeld(Detail43,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 1.1522522, 1.87488556, 1, 0, 0, 0, 0, 1, 0, -1, 0), Detail43, Handle, "Detail43ToHandle")
875
Detail44Weld = CreateWeld(Detail44,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0067512095, 1.18003082, 1.87266541, -1, 0, 0, 0, 0, -1, 0, -1, 0), Detail44, Handle, "Detail44ToHandle")
876
877
878
879
Neon1Weld = CreateWeld(Neon1,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.88774109, -0.0173492432, 1, 0, 0, 0, 1, 0, 0, 0, 1), Neon1, Handle, "Neon1ToHandle")
880
Neon2Weld = CreateWeld(Neon2,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.87281418, 0.00770971179, -1.1772995, 0, -1, 0, 1, 0, 0, 0, 0, 1), Neon2, Handle, "Neon2ToHandle")
881
Neon3Weld = CreateWeld(Neon3,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.87504196, -0.00321412086, -1.14951324, 0, -1, 0, -1, 0, 0, 0, 0, -1), Neon3, Handle, "Neon3ToHandle")
882
Neon4Weld = CreateWeld(Neon4,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.08185005, 0.0941467285, -1.05866241, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon4, Handle, "Neon4ToHandle")
883
Neon5Weld = CreateWeld(Neon5,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.29707146, 0.0935020447, -1.2705555, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon5, Handle, "Neon5ToHandle")
884
Neon6Weld = CreateWeld(Neon6,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.0948104858, -0.738594055, 1, 0, 0, 0, 0, 1, 0, -1, 0), Neon6, Handle, "Neon6ToHandle")
885
Neon7Weld = CreateWeld(Neon7,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.0935020447, 0.243991852, 1, 0, 0, 0, 0, 1, 0, -1, 0), Neon7, Handle, "Neon7ToHandle")
886
Neon8Weld = CreateWeld(Neon8,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.0935020447, -1.6633606, 1, 0, 0, 0, 0, 1, 0, -1, 0), Neon8, Handle, "Neon8ToHandle")
887
Neon9Weld = CreateWeld(Neon9,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.385313034, 0.0954627991, -0.372894287, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon9, Handle, "Neon9ToHandle")
888
Neon10Weld = CreateWeld(Neon10,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.676118851, 0.0948104858, -0.659202576, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon10, Handle, "Neon10ToHandle")
889
Neon11Weld = CreateWeld(Neon11,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0240783691, 0.0935020447, 0.0301685333, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon11, Handle, "Neon11ToHandle")
890
Neon12Weld = CreateWeld(Neon12,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.66571045, -0.00481796265, 1, 0, 0, 0, 1, 0, 0, 0, 1), Neon12, Handle, "Neon12ToHandle")
891
Neon13Weld = CreateWeld(Neon13,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.314868927, 0.094165802, 0.31646347, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon13, Handle, "Neon13ToHandle")
892
Neon14Weld = CreateWeld(Neon14,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.660757065, 0.094165802, 0.657003403, 0.70157665, 0.712594032, -8.56536531e-009, 6.66747013e-009, 0, 1, 0.712593973, -0.70157671, 8.8937071e-009), Neon14, Handle, "Neon14ToHandle")
893
Neon15Weld = CreateWeld(Neon15,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.0954475403, 1.42395401, 1, 0, 0, 0, 0, 1, 0, -1, 0), Neon15, Handle, "Neon15ToHandle")
894
Neon16Weld = CreateWeld(Neon16,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.05566406, 0.974744797, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414), Neon16, Handle, "Neon16ToHandle")
895
Neon17Weld = CreateWeld(Neon17,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, 0.094165802, 1.15481186, 1, 0, 0, 0, 0, 1, 0, -1, 0), Neon17, Handle, "Neon17ToHandle")
896
Neon18Weld = CreateWeld(Neon18,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.27021408, 0.77048111, 1, 0, 0, 0, 0.866025507, 0.500000119, 0, -0.500000119, 0.866025507), Neon18, Handle, "Neon18ToHandle")
897
Neon19Weld = CreateWeld(Neon19,  CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00417786837, -1.44578171, 0.531032562, 1, 0, 0, 0, 0.939692795, 0.342019945, 0, -0.342019945, 0.939692795), Neon19, Handle, "Neon19ToHandle")
898
899
Blade = Detail15
900
901
local BlockReference1 = CreatePart(Character, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
902
local BlockReference1Weld = CreateWeld(BlockReference1,  CFrame.new(0,8,0), CFrame.new(0,0,0), BlockReference1, Root, "BlockReference1Weld")
903
904
local BlockReference2 = CreatePart(Character, "Reference2", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
905
local BlockReference2Weld = CreateWeld(BlockReference2,  CFrame.new(3,5,0), CFrame.new(0,0,0), BlockReference2, Root, "BlockReference2Weld")
906
907
local BlockReference3 = CreatePart(Character, "Reference3", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
908
local BlockReference3Weld = CreateWeld(BlockReference3,  CFrame.new(-3,5,0), CFrame.new(0,0,0), BlockReference3, Root, "BlockReference3Weld")
909
910
local Block1 = CreatePart(Character, "Block1", "Medium stone grey", Vector3.new(1,1,1), "Neon", 1, "Block")
911
local Block2 = CreatePart(Character, "Block2", "Medium stone grey", Vector3.new(1,1,1), "Neon", 1, "Block")
912
local Block3 = CreatePart(Character, "Block3", "Medium stone grey", Vector3.new(1,1,1), "Neon", 1, "Block")
913
local Block1Weld = CreateWeld(Block1,  CFrame.new(0,0,0), CFrame.new(0,0,0),  Block1, BlockReference1, "Block1Weld")
914
local Block2Weld = CreateWeld(Block2,  CFrame.new(0,0,0), CFrame.new(0,0,0),  Block2, BlockReference2, "Block2Weld")
915
local Block3Weld = CreateWeld(Block3,  CFrame.new(0,0,0), CFrame.new(0,0,0),  Block3, BlockReference3, "Block3Weld")
916
917
--[[ Damage Function ]]--
918
919
920
function DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
921
	
922
local HitHumanoid = Hit.Parent.Humanoid
923
924
925
local Damage = math.random(Min, Max)
926
local BuffDamage = 2 * BlocksN
927
928
coroutine.resume(coroutine.create(function()
929
HitHumanoid:TakeDamage(Damage)
930
931
if Absorbed then
932
wait(0.5)
933
HitHumanoid:TakeDamage(BuffDamage)
934
local HitCharacter = Hit.Parent
935
936
if HitCharacter:FindFirstChild("Head") then
937
	
938
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
939
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
940
941
942
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
943
DisplayGui.Name = "Damage"
944
DisplayGui.AlwaysOnTop = true
945
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
946
947
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
948
DisplayNumber.Size = UDim2.new(1,0,1,0)
949
DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color
950
DisplayNumber.TextColor3 = BrickColor.White().Color
951
DisplayNumber.TextStrokeTransparency = 0
952
DisplayNumber.BackgroundTransparency = 1
953
DisplayNumber.Font = "SciFi"
954
DisplayNumber.TextScaled = true
955
DisplayNumber.Text = BuffDamage
956
957
	
958
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
959
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
960
BodyVelocity.Velocity = Vector3.new(0,2,0)	
961
	
962
Services.Debris:AddItem(DamageShowingPart, 3)
963
964
MakeSFX(Hit, 183763487, 1 , 1)
965
966
end
967
end
968
end))
969
	
970
if Type == "Normal" then
971
	
972
local Push = CreateVelocity(Hit.Parent.Torso, Torso.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
973
Services.Debris:AddItem(Push, 0)	
974
Display(Hit.Parent, Damage)
975
976
elseif Type == "Ranged" then
977
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
978
Services.Debris:AddItem(Push, 0)	
979
Display(Hit.Parent, Damage)
980
981
elseif Type == "Knockdown" then
982
	
983
		
984
local Push = CreateVelocity(Hit.Parent.Torso, Part.CFrame.lookVector * Knockback, Vector3.new(math.huge,math.huge,math.huge))
985
Display(Hit.Parent, Damage)
986
Services.Debris:AddItem(Push, 0.3)
987
988
coroutine.resume(coroutine.create(function()
989
	
990
HitHumanoid.PlatformStand = true
991
wait(1)
992
HitHumanoid.PlatformStand = false	
993
	
994
	
995
end))	
996
end
997
998
if HitSFX == "Penetration" then
999
	
1000
MakeSFX(Hit, 199149269, 1 , 1)
1001
1002
elseif HitSFX == "Punch" then
1003
	
1004
MakeSFX(Hit, 278062209, 1 , 1)
1005
	
1006
	
1007
	
1008
	
1009
end
1010
end
1011
1012
function Display(HitCharacter, DisplayTxt)
1013
if HitCharacter:FindFirstChild("Head") then
1014
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
1015
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
1016
1017
1018
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
1019
DisplayGui.Name = "Damage"
1020
DisplayGui.AlwaysOnTop = true
1021
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
1022
1023
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
1024
DisplayNumber.Size = UDim2.new(1,0,1,0)
1025
DisplayNumber.TextStrokeColor3 = BrickColor.White().Color
1026
DisplayNumber.TextColor3 = BrickColor.Black().Color
1027
DisplayNumber.TextStrokeTransparency = 0
1028
DisplayNumber.BackgroundTransparency = 1
1029
DisplayNumber.Font = "SciFi"
1030
DisplayNumber.TextScaled = true
1031
DisplayNumber.Text = DisplayTxt
1032
1033
if string.sub((DisplayTxt),1,1) ~= "+" then
1034
1035
if DisplayTxt > 19 then
1036
	
1037
DisplayNumber.TextColor3 = BrickColor.Red().Color
1038
	
1039
1040
1041
elseif DisplayTxt > 9 then
1042
	
1043
DisplayNumber.TextColor3 = BrickColor.Yellow().Color
1044
	
1045
end
1046
end
1047
1048
1049
if string.sub((DisplayTxt),1,1) == "+" then
1050
DisplayNumber.TextColor3 = BrickColor.Green().Color
1051
end
1052
	
1053
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
1054
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1055
BodyVelocity.Velocity = Vector3.new(0,2,0)	
1056
	
1057
Services.Debris:AddItem(DamageShowingPart, 3)
1058
	
1059
end	
1060
end 
1061
function ValidateDamage(Part, Distance ,Min , Max, Type, HitSFX, Knockback)
1062
for _,WorkspaceChildren in pairs(workspace:children()) do
1063
	
1064
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
1065
1066
if HitHumanoid ~= nil then
1067
local Hit = WorkspaceChildren:findFirstChild("Torso")
1068
1069
if Hit ~= nil then
1070
	
1071
local Target = Hit.Position - Part.Position
1072
1073
local Magnitude = Target.magnitude
1074
1075
if Magnitude <= Distance and WorkspaceChildren.Name ~= Player.Name then
1076
	
1077
local HitBlock = Hit.Parent:FindFirstChild("Block")	
1078
	
1079
if HitBlock ~= nil and HitBlock:FindFirstChild("BlockDurability") and HitBlock.Value == true then
1080
1081
local HitBlock2 = Hit.Parent.Block.BlockDurability	
1082
	
1083
if HitBlock2.Value > 15 then
1084
	
1085
local HitN = math.random(1,5)
1086
	
1087
HitBlock2.Value = HitBlock2.Value - 15	
1088
1089
if HitN == 1 then
1090
MakeSFX(Hit ,199148971, 0.5, 1)	
1091
end
1092
1093
if HitN == 2 then
1094
MakeSFX(Hit ,199149025, 0.5, 1)	
1095
end
1096
1097
if HitN == 3 then
1098
MakeSFX(Hit ,199149072, 0.5, 1)	
1099
end
1100
1101
if HitN == 4 then
1102
MakeSFX(Hit ,199149109, 0.5, 1)	
1103
end
1104
1105
if HitN == 5 then
1106
MakeSFX(Hit ,199149119, 0.5, 1)	
1107
end
1108
return
1109
end	
1110
end
1111
1112
DamageFunction(Hit, Part, Type, HitSFX, Knockback, Min, Max)
1113
1114
	
1115
1116
end
1117
end
1118
end
1119
end
1120
end
1121
 
1122
function ValidateHeal(Part, Distance)
1123
for _,WorkspaceChildren in pairs(workspace:children()) do
1124
	
1125
local HitHumanoid = WorkspaceChildren:findFirstChild("Humanoid")
1126
1127
if HitHumanoid ~= nil then
1128
local Hit = WorkspaceChildren:findFirstChild("Torso")
1129
1130
if Hit ~= nil then
1131
	
1132
local Target = Hit.Position - Part.Position
1133
1134
local Magnitude = Target.magnitude
1135
1136
if Magnitude <= Distance then
1137
local Heal = math.random(5,10) 	
1138
	
1139
Hit.Parent.Humanoid.Health = Hit.Parent.Humanoid.Health + Heal
1140
Display(Hit.Parent, "+" .. Heal)
1141
	
1142
end
1143
end
1144
end
1145
end
1146
end
1147
1148
function Attack1()
1149
1150
Attacking = true
1151
Humanoid.WalkSpeed = 0
1152
Humanoid.JumpPower = 0
1153
1154
for i = 1,15 do
1155
wait()
1156
1157
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-0.6),0.2)
1158
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1159
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(0,0,2.8), 0.3)
1160
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1161
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1162
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1163
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1164
1165
	
1166
end	
1167
	
1168
MakeSFX(Blade, 231917871,1, 0.8)
1169
1170
coroutine.resume(coroutine.create(function()
1171
wait(0.3)
1172
ValidateDamage(Blade, 8 ,8, 11, "Normal", "Penetration", 15)
1173
end))
1174
1175
for i = 1,25 do
1176
wait()
1177
1178
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-0.5)* CFrame.Angles(0,0,0.6),0.2)
1179
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.3),0.3)
1180
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(0.3, 0, -1) * CFrame.Angles(0,0,-0.6), 0.3)
1181
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
1182
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1183
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1184
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1185
1186
	
1187
end	
1188
1189
Humanoid.WalkSpeed = 10
1190
Humanoid.JumpPower = 45
1191
Attacking = false
1192
end
1193
1194
function Attack2()
1195
	Attacking = true
1196
Humanoid.WalkSpeed = 6
1197
Humanoid.JumpPower = 25
1198
1199
for i = 1,15 do
1200
wait()
1201
1202
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1203
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1204
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1205
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1206
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1207
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1208
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1209
1210
	
1211
end	
1212
1213
MakeSFX(Blade, 231917871,1, 0.8)
1214
coroutine.resume(coroutine.create(function()
1215
wait(0.3)
1216
ValidateDamage(Blade, 8 ,8, 11, "Normal", "Penetration", 15)
1217
end))
1218
for i = 1,25 do
1219
wait()
1220
1221
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1222
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1223
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1224
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1225
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1226
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1227
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1228
1229
	
1230
end	
1231
1232
Humanoid.WalkSpeed = 10
1233
Humanoid.JumpPower = 45
1234
	Attacking = false
1235
end
1236
1237
function Attack3()
1238
Attacking = true
1239
Humanoid.WalkSpeed = 6
1240
Humanoid.JumpPower = 25
1241
1242
1243
for i = 1,25 do
1244
wait()
1245
1246
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1247
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1248
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(-0, 0.5, -1) * CFrame.Angles(1.6,0,-1.3), 0.3)
1249
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1250
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1251
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1252
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1253
1254
	
1255
end	
1256
1257
MakeSFX(Blade, 231917871,1, 0.8)
1258
coroutine.resume(coroutine.create(function()
1259
wait(0.3)
1260
ValidateDamage(Blade, 8 ,8, 11, "Normal", "Penetration", 15)
1261
end))
1262
1263
for i = 1,15 do
1264
wait()
1265
1266
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1267
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1268
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1269
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1270
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1271
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1272
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1273
1274
	
1275
end	
1276
1277
Humanoid.WalkSpeed = 10
1278
Humanoid.JumpPower = 45
1279
Attacking = false
1280
1281
end
1282
1283
function Guard()	
1284
	
1285
Attacking = true
1286
Humanoid.WalkSpeed = 0
1287
Humanoid.JumpPower = 0
1288
Blocking = true
1289
1290
1291
	
1292
while Blocking and BlockD.Value > 0 do
1293
wait()
1294
Block.Value = true
1295
1296
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1297
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
1298
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(1.6,0,0), 0.3)
1299
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.5, -0.5) * CFrame.Angles(1.6,0,0), 0.3)
1300
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1301
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1302
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(0,0,1.57),0.2)	
1303
1304
end
1305
1306
Attacking = false
1307
Block.Value = false
1308
Blocking = false
1309
Humanoid.WalkSpeed = 10
1310
Humanoid.JumpPower = 45
1311
end
1312
1313
function GroundSmash()
1314
Attacking = true
1315
Humanoid.WalkSpeed = 0
1316
Humanoid.JumpPower = 0
1317
1318
1319
for i = 1,25 do
1320
wait()
1321
1322
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
1323
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1324
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
1325
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1326
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1327
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1328
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1329
1330
	
1331
end
1332
1333
MakeSFX(Torso, 142070127, 1, 1)
1334
ValidateDamage(Torso, 60 ,23, 26, "Knockdown", "Penetration", 15)
1335
local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
1336
if Hit ~= nil then
1337
local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
1338
Reference.Anchored = true
1339
Reference.CFrame = CFrame.new(Position)
1340
game:GetService("Debris"):AddItem(Reference,0.1)
1341
for i=1 , 50 do
1342
	
1343
local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
1344
Ground.Anchored = true
1345
Ground.CanCollide = true
1346
Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-30,30), 0, math.random(-30,30)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
1347
1348
game:GetService("Debris"):AddItem(Ground,10)
1349
1350
end
1351
end
1352
	
1353
for i = 1,25 do
1354
wait()
1355
1356
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.5)
1357
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
1358
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
1359
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0.1) * CFrame.Angles(-0.2,0,0), 0.3)
1360
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1361
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1362
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1363
1364
	
1365
end
1366
1367
Attacking = false
1368
Humanoid.WalkSpeed = 10
1369
Humanoid.JumpPower = 45
1370
1371
end
1372
1373
function AngelicalBlocks()
1374
Attacking = true
1375
MakeSFX(Blade, 137463716, 1, 1)
1376
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1377
1378
for i = 1,10 do
1379
wait()
1380
1381
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1382
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1383
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1384
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
1385
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1386
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1387
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
1388
	
1389
end
1390
CoolDown1Text.Text = "Z - Block throw"
1391
CoolDown2Text.Text = "X - Absorb"
1392
CoolDown3Text.Text = "C - Angelical Possesion"
1393
CoolDown4Text.Text = "V - Ground  Destruction"
1394
1395
1396
1397
Block1.Transparency = 0
1398
Block2.Transparency = 0
1399
Block3.Transparency = 0
1400
BlocksN = 3
1401
Attacking = false
1402
Blocks = true
1403
end
1404
1405
function AngelsLunge()
1406
Attacking = true
1407
1408
for i = 1,25 do
1409
wait()		
1410
	
1411
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.5)
1412
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.5)
1413
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, -1) * CFrame.Angles(1.6,0,0.6), 0.5)
1414
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.1) * CFrame.Angles(0.2,0,-0.3), 0.3)
1415
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1416
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1417
HandleWeld.C0=clerp(HandleWeld.C0,  CFrame.new(0,-1,0) * CFrame.Angles(3.2,0,1.57),0.2)
1418
		
1419
end
1420
MakeSFX(Blade, 231917871, 1, 0.8)
1421
coroutine.resume(coroutine.create(function()
1422
wait(0.3)
1423
ValidateDamage(Blade, 8 ,8, 13, "Knockdown", "Penetration", 15)
1424
end))
1425
1426
for i = 1,15 do
1427
wait()		
1428
	
1429
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,-10,0)* CFrame.Angles(0,0,1.6),0.5)
1430
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1.6),0.5)
1431
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1.6,0,1.6), 0.5)
1432
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.1) * CFrame.Angles(0.2,0,-0.3), 0.3)
1433
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1434
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1435
HandleWeld.C0=clerp(HandleWeld.C0,  CFrame.new(0,-1,0) * CFrame.Angles(3.2,0,0),0.2)
1436
		
1437
end
1438
1439
Attacking = false
1440
	
1441
end
1442
1443
function AngelsFury()
1444
1445
Attacking = true
1446
1447
1448
Humanoid.WalkSpeed = 25
1449
Humanoid.JumpPower = 0
1450
1451
MakeSFX(Blade, 137463716, 1, 1)
1452
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1453
1454
for i = 1,10 do
1455
wait()
1456
1457
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1458
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1459
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1460
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
1461
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1462
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1463
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
1464
1465
	
1466
end
1467
1468
for i = 1,10 do
1469
wait()
1470
1471
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
1472
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1473
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1, 1, 0) * CFrame.Angles(3.2,0,-0.6), 0.3)
1474
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1475
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1476
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1477
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1478
1479
	
1480
end
1481
1482
MakeSFX(Torso, 142070127, 1, 1)
1483
ValidateDamage(Torso, 60 ,23, 26, "Knockdown", "Penetration", 15)
1484
local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
1485
if Hit ~= nil then
1486
local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
1487
Reference.Anchored = true
1488
Reference.CFrame = CFrame.new(Position)
1489
game:GetService("Debris"):AddItem(Reference,0.1)
1490
for i=1 , 50 do
1491
	
1492
local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
1493
Ground.Anchored = true
1494
Ground.CanCollide = true
1495
Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-30,30), 0, math.random(-30,30)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
1496
1497
game:GetService("Debris"):AddItem(Ground,10)
1498
1499
end
1500
end
1501
1502
for i = 1,5 do
1503
wait()
1504
1505
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1506
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1507
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1508
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1509
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1510
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1511
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1512
1513
end
1514
1515
for i = 1,5 do
1516
wait()
1517
1518
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1519
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1520
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(-0, 0.5, -1) * CFrame.Angles(1.6,0,-1.3), 0.3)
1521
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1522
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1523
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1524
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1525
1526
	
1527
end	
1528
1529
MakeSFX(Blade, 231917871,1, 0.8)
1530
coroutine.resume(coroutine.create(function()
1531
wait(0.3)
1532
ValidateDamage(Blade, 20 ,8, 11, "Normal", "Penetration", 15)
1533
end))
1534
1535
for i = 1,5 do
1536
wait()
1537
1538
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1539
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1540
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1541
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1542
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1543
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1544
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1545
1546
end
1547
1548
for i = 1,5 do
1549
wait()
1550
1551
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1552
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1553
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1554
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1555
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1556
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1557
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1558
1559
	
1560
end	
1561
1562
MakeSFX(Blade, 231917871,1, 0.8)
1563
coroutine.resume(coroutine.create(function()
1564
wait(0.3)
1565
ValidateDamage(Blade, 8 ,8, 11, "Normal", "Penetration", 15)
1566
end))
1567
for i = 1,5 do
1568
wait()
1569
1570
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1571
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1572
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1573
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1574
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1575
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1576
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1577
1578
	
1579
end	
1580
1581
for i = 1,5 do
1582
wait()
1583
1584
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1585
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1586
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(-0, 0.5, -1) * CFrame.Angles(1.6,0,-1.3), 0.3)
1587
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1588
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1589
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1590
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1591
1592
	
1593
end	
1594
1595
MakeSFX(Blade, 231917871,1, 0.8)
1596
coroutine.resume(coroutine.create(function()
1597
wait(0.3)
1598
ValidateDamage(Blade, 20 ,8, 11, "Normal", "Penetration", 15)
1599
end))
1600
1601
for i = 1,5 do
1602
wait()
1603
1604
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1605
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1606
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1607
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1608
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1609
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1610
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
1611
1612
end
1613
1614
for i = 1,5 do
1615
wait()
1616
1617
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.2)
1618
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0.6),0.3)
1619
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1620
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1621
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1622
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1623
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1624
1625
	
1626
end	
1627
1628
MakeSFX(Blade, 231917871,1, 0.8)
1629
coroutine.resume(coroutine.create(function()
1630
wait(0.3)
1631
ValidateDamage(Blade, 8 ,8, 11, "Normal", "Penetration", 15)
1632
end))
1633
for i = 1,5 do
1634
wait()
1635
1636
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,2),0.2)
1637
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.6),0.3)
1638
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(0,0,1.6), 0.3)
1639
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
1640
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1641
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1642
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
1643
1644
	
1645
end	
1646
1647
MakeSFX(Blade, 137463716, 1, 1)
1648
CircleEffect(Blade.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1649
1650
for i = 1,50 do
1651
wait()		
1652
	
1653
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-1),0.5)
1654
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,1),0.5)
1655
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, -1) * CFrame.Angles(1.6,0,0.6), 0.5)
1656
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.1) * CFrame.Angles(0.2,0,-0.3), 0.3)
1657
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1658
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1659
HandleWeld.C0=clerp(HandleWeld.C0,  CFrame.new(0,-1,0) * CFrame.Angles(3.2,0,1.57),0.2)
1660
		
1661
end
1662
1663
MakeSFX(Blade, 231917871,1, 0.8)
1664
coroutine.resume(coroutine.create(function()
1665
wait(0.3)
1666
ValidateDamage(Blade, 8 ,23, 26, "Knockdown", "Penetration", 15)
1667
end))
1668
for i = 1,15 do
1669
wait()		
1670
	
1671
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,-10,0)* CFrame.Angles(0,0,1.6),0.5)
1672
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-1.6),0.5)
1673
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(1.6,0,1.6), 0.5)
1674
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, -0.1) * CFrame.Angles(0.2,0,-0.3), 0.3)
1675
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
1676
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
1677
HandleWeld.C0=clerp(HandleWeld.C0,  CFrame.new(0,-1,0) * CFrame.Angles(3.2,0,0),0.2)
1678
		
1679
end
1680
1681
Attacking = false
1682
Humanoid.WalkSpeed = 10
1683
Humanoid.JumpPower = 45
1684
end
1685
1686
function BlockThrow()
1687
Attacking = true
1688
MakeSFX(Blade, 137463716, 1, 1)
1689
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1690
1691
for i = 1,10 do
1692
wait()
1693
1694
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1695
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1696
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1697
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
1698
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1699
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1700
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
1701
	
1702
end
1703
1704
if Block1.Transparency == 0 then
1705
1706
1707
local BlockLaunch1 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1708
BlockLaunch1.Position = Block1.Position
1709
BlockLaunch1.CFrame = CFrame.new(BlockLaunch1.Position, Mouse.Hit.p)
1710
CreateVelocity(BlockLaunch1,BlockLaunch1.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1711
Services.Debris:AddItem(BlockLaunch1, 10)
1712
1713
coroutine.resume(coroutine.create(function()
1714
while BlockLaunch1 do
1715
wait()	
1716
1717
BlockLaunch1.Rotation = BlockLaunch1.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1718
	
1719
end	
1720
end))
1721
1722
Connection = BlockLaunch1.Touched:connect(function(Hit)
1723
if Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
1724
1725
CircleEffect(BlockLaunch1.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
1726
ValidateDamage(BlockLaunch1, 8 ,10, 14, "Normal", "Penetration", 15)
1727
BlockLaunch1:Remove()
1728
Connection:disconnect()
1729
1730
end
1731
wait()
1732
Block1.Transparency = 1
1733
end)
1734
1735
elseif Block2.Transparency == 0 then
1736
1737
local BlockLaunch2 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1738
BlockLaunch2.Position = Block2.Position
1739
BlockLaunch2.CFrame = CFrame.new(BlockLaunch2.Position, Mouse.Hit.p)
1740
CreateVelocity(BlockLaunch2,BlockLaunch2.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1741
Services.Debris:AddItem(BlockLaunch2, 10)
1742
1743
coroutine.resume(coroutine.create(function()
1744
while BlockLaunch2 ~= nil do
1745
wait()	
1746
1747
BlockLaunch2.Rotation = BlockLaunch2.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1748
	
1749
end	
1750
end))
1751
1752
Connection = BlockLaunch2.Touched:connect(function(Hit)
1753
if Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
1754
1755
CircleEffect(BlockLaunch2.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
1756
ValidateDamage(BlockLaunch2, 8 ,10, 14, "Normal", "Penetration", 15)
1757
BlockLaunch2:Remove()
1758
Connection:disconnect()
1759
1760
1761
end
1762
wait()
1763
Block2.Transparency = 1
1764
end)
1765
1766
elseif Block3.Transparency == 0 then
1767
1768
local BlockLaunch3 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1769
BlockLaunch3.Position = Block3.Position
1770
BlockLaunch3.CFrame = CFrame.new(BlockLaunch3.Position, Mouse.Hit.p)
1771
CreateVelocity(BlockLaunch3,BlockLaunch3.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1772
Services.Debris:AddItem(BlockLaunch3, 10)
1773
1774
coroutine.resume(coroutine.create(function()
1775
while BlockLaunch3 ~= nil do
1776
wait()	
1777
1778
BlockLaunch3.Rotation = BlockLaunch3.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1779
	
1780
	
1781
end	
1782
end))
1783
1784
Connection = BlockLaunch3.Touched:connect(function(Hit)
1785
if Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
1786
1787
CircleEffect(BlockLaunch3.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
1788
ValidateDamage(BlockLaunch3, 8 ,10, 14, "Normal", "Penetration", 15)
1789
BlockLaunch3:Remove()
1790
Connection:disconnect()
1791
1792
end
1793
end)
1794
wait()
1795
Block3.Transparency = 1
1796
end
1797
BlocksN = BlocksN - 1
1798
Attacking = false
1799
1800
end
1801
1802
function Absorb()
1803
Attacking = true
1804
Humanoid.WalkSpeed = 0
1805
Humanoid.JumpPower = 0
1806
1807
MakeSFX(Blade, 137463716, 1, 1)
1808
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1809
1810
for i = 1,10 do
1811
wait()
1812
1813
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1814
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1815
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1816
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
1817
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1818
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1819
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
1820
	
1821
end
1822
for i = 1, 20 do
1823
wait()
1824
Block1.Transparency = Block1.Transparency + 0.05	
1825
end
1826
1827
for i = 1, 20 do
1828
wait()
1829
Block2.Transparency = Block2.Transparency + 0.05	
1830
end
1831
1832
for i = 1, 20 do
1833
wait()
1834
Block3.Transparency = Block3.Transparency + 0.05	
1835
end
1836
1837
Humanoid.WalkSpeed = 16
1838
Humanoid.JumpPower = 45
1839
Attacking = false	
1840
Absorbed = true
1841
AbsorbedBlocks = BlocksN 
1842
1843
coroutine.resume(coroutine.create(function()
1844
	
1845
wait(25)
1846
1847
Absorbed = false	
1848
AbsorbedBlocks = 0	
1849
	
1850
	
1851
end))
1852
1853
end
1854
1855
function AngelicalPossesion()
1856
	
1857
Attacking = true
1858
MakeSFX(Blade, 137463716, 1, 1)
1859
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
1860
1861
for i = 1,10 do
1862
wait()
1863
1864
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
1865
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
1866
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
1867
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
1868
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1869
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
1870
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
1871
	
1872
end
1873
1874
local BlockLaunch1 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1875
BlockLaunch1.Position = Block1.Position
1876
BlockLaunch1.CFrame = CFrame.new(BlockLaunch1.Position, Mouse.Hit.p)
1877
CreateVelocity(BlockLaunch1,BlockLaunch1.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1878
Services.Debris:AddItem(BlockLaunch1, 10)
1879
1880
coroutine.resume(coroutine.create(function()
1881
while BlockLaunch1 do
1882
wait()	
1883
1884
BlockLaunch1.Rotation = BlockLaunch1.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1885
	
1886
end	
1887
end))
1888
1889
local BlockLaunch2 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1890
BlockLaunch2.Position = Block2.Position
1891
BlockLaunch2.CFrame = CFrame.new(BlockLaunch2.Position, Mouse.Hit.p)
1892
CreateVelocity(BlockLaunch2,BlockLaunch2.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1893
Services.Debris:AddItem(BlockLaunch2, 10)
1894
1895
coroutine.resume(coroutine.create(function()
1896
while BlockLaunch2 ~= nil do
1897
wait()	
1898
1899
BlockLaunch2.Rotation = BlockLaunch2.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1900
	
1901
end	
1902
end))
1903
1904
local BlockLaunch3 = CreatePart(workspace, "Reference", "Medium stone grey", Vector3.new(1,1,1), "Neon", 0, "Block")
1905
BlockLaunch3.Position = Block3.Position
1906
BlockLaunch3.CFrame = CFrame.new(BlockLaunch3.Position, Mouse.Hit.p)
1907
CreateVelocity(BlockLaunch3,BlockLaunch3.CFrame.lookVector * 100,Vector3.new(10000,10000,10000))
1908
Services.Debris:AddItem(BlockLaunch3, 10)
1909
1910
coroutine.resume(coroutine.create(function()
1911
while BlockLaunch3 ~= nil do
1912
wait()	
1913
1914
BlockLaunch3.Rotation = BlockLaunch3.Rotation + Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
1915
	
1916
	
1917
end	
1918
end))
1919
1920
Connection = BlockLaunch1.Touched:connect(function(Hit)
1921
if Hit.Parent:FindFirstChild("Humanoid") and Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
1922
1923
CircleEffect(BlockLaunch1.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
1924
BlockLaunch1:Remove()
1925
Connection:disconnect()
1926
HitHumanoid = Hit.Parent.Humanoid
1927
1928
1929
coroutine.resume(coroutine.create(function()
1930
1931
for i = 1,3 do
1932
wait(1)
1933
local Damage =  math.random(6,8)
1934
HitHumanoid:TakeDamage(Damage)
1935
local HitCharacter = Hit.Parent
1936
1937
BlockEffect(HitCharacter.Torso.Position, Services.Workspace, 1,1,1, 3,3,3, 0.3, Color, "Neon", 0.5)			
1938
CircleEffect(HitCharacter.Torso.Position, Services.Workspace, 7,7,7, 0.3,  Color, "Neon", 0.5)	
1939
1940
1941
if HitCharacter:FindFirstChild("Head") then
1942
	
1943
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
1944
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
1945
1946
1947
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
1948
DisplayGui.Name = "Damage"
1949
DisplayGui.AlwaysOnTop = true
1950
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
1951
1952
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
1953
DisplayNumber.Size = UDim2.new(1,0,1,0)
1954
DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color
1955
DisplayNumber.TextColor3 = BrickColor.White().Color
1956
DisplayNumber.TextStrokeTransparency = 0
1957
DisplayNumber.BackgroundTransparency = 1
1958
DisplayNumber.Font = "SciFi"
1959
DisplayNumber.TextScaled = true
1960
DisplayNumber.Text = Damage
1961
1962
	
1963
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
1964
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
1965
BodyVelocity.Velocity = Vector3.new(0,2,0)	
1966
	
1967
Services.Debris:AddItem(DamageShowingPart, 3)
1968
1969
MakeSFX(Hit, 183763487, 1 , 1)
1970
1971
1972
end
1973
end
1974
end))
1975
1976
end
1977
end)
1978
1979
Connection = BlockLaunch2.Touched:connect(function(Hit)
1980
if Hit.Parent:FindFirstChild("Humanoid") and Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
1981
1982
CircleEffect(BlockLaunch2.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
1983
BlockLaunch2:Remove()
1984
Connection:disconnect()
1985
1986
coroutine.resume(coroutine.create(function()
1987
1988
for i = 1,3 do
1989
wait(1)
1990
local Damage =  math.random(6,8)
1991
HitHumanoid:TakeDamage(Damage)
1992
local HitCharacter = Hit.Parent
1993
1994
BlockEffect(HitCharacter.Torso.Position, Services.Workspace, 1,1,1, 3,3,3, 0.3, Color, "Neon", 0.5)			
1995
CircleEffect(HitCharacter.Torso.Position, Services.Workspace, 7,7,7, 0.3,  Color, "Neon", 0.5)	
1996
1997
1998
if HitCharacter:FindFirstChild("Head") then
1999
	
2000
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
2001
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
2002
2003
2004
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
2005
DisplayGui.Name = "Damage"
2006
DisplayGui.AlwaysOnTop = true
2007
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
2008
2009
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
2010
DisplayNumber.Size = UDim2.new(1,0,1,0)
2011
DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color
2012
DisplayNumber.TextColor3 = BrickColor.White().Color
2013
DisplayNumber.TextStrokeTransparency = 0
2014
DisplayNumber.BackgroundTransparency = 1
2015
DisplayNumber.Font = "SciFi"
2016
DisplayNumber.TextScaled = true
2017
DisplayNumber.Text = Damage
2018
2019
	
2020
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
2021
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
2022
BodyVelocity.Velocity = Vector3.new(0,2,0)	
2023
	
2024
Services.Debris:AddItem(DamageShowingPart, 3)
2025
2026
MakeSFX(Hit, 183763487, 1 , 1)
2027
2028
2029
end
2030
end
2031
end))
2032
end
2033
end)
2034
2035
Connection = BlockLaunch3.Touched:connect(function(Hit)
2036
if Hit.Parent:FindFirstChild("Humanoid") and Hit ~= Raptorive and Hit.Parent ~= Character and Hit.className ~= "Accessory" then
2037
2038
CircleEffect(BlockLaunch3.Position, Services.Workspace, 10,10,10, 0.1, Color, "Neon", 0.5)
2039
BlockLaunch3:Remove()
2040
Connection:disconnect()
2041
2042
coroutine.resume(coroutine.create(function()
2043
2044
for i = 1,3 do
2045
wait(1)
2046
local Damage =  math.random(6,8)
2047
HitHumanoid:TakeDamage(Damage)
2048
local HitCharacter = Hit.Parent
2049
2050
BlockEffect(HitCharacter.Torso.Position, Services.Workspace, 1,1,1, 3,3,3, 0.3, Color, "Neon", 0.5)			
2051
CircleEffect(HitCharacter.Torso.Position, Services.Workspace, 7,7,7, 0.3,  Color, "Neon", 0.5)	
2052
2053
2054
if HitCharacter:FindFirstChild("Head") then
2055
	
2056
local DamageShowingPart = CreatePart(Services.Workspace, "ShowDamage", "Crimson", Vector3.new(0.8,0.8,0.8), "Neon", 1, "Block")
2057
DamageShowingPart.Position = HitCharacter.Head.Position + Vector3.new(math.random(-5,5),2,math.random(-5,5))
2058
2059
2060
local DisplayGui = Instance.new("BillboardGui", DamageShowingPart)
2061
DisplayGui.Name = "Damage"
2062
DisplayGui.AlwaysOnTop = true
2063
DisplayGui.Size = UDim2.new(5, 0, 5, 0)
2064
2065
local DisplayNumber = Instance.new("TextLabel", DisplayGui)
2066
DisplayNumber.Size = UDim2.new(1,0,1,0)
2067
DisplayNumber.TextStrokeColor3 = BrickColor.Black().Color
2068
DisplayNumber.TextColor3 = BrickColor.White().Color
2069
DisplayNumber.TextStrokeTransparency = 0
2070
DisplayNumber.BackgroundTransparency = 1
2071
DisplayNumber.Font = "SciFi"
2072
DisplayNumber.TextScaled = true
2073
DisplayNumber.Text = Damage
2074
2075
	
2076
local BodyVelocity = Instance.new("BodyVelocity", DamageShowingPart)
2077
BodyVelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
2078
BodyVelocity.Velocity = Vector3.new(0,2,0)	
2079
	
2080
Services.Debris:AddItem(DamageShowingPart, 3)
2081
2082
MakeSFX(Hit, 183763487, 1 , 1)
2083
2084
2085
end
2086
end
2087
end))
2088
end
2089
end)
2090
2091
2092
2093
wait()
2094
Block1.Transparency = 1
2095
Block2.Transparency = 1
2096
Block3.Transparency = 1
2097
2098
2099
BlocksN = BlocksN - 1
2100
Attacking = false
2101
2102
end
2103
2104
function GroundDestruction()	
2105
Attacking = true
2106
Humanoid.WalkSpeed = 0
2107
Humanoid.JumpPower = 0
2108
2109
MakeSFX(Blade, 137463716, 1, 1)
2110
CircleEffect(Torso.Position, Services.Workspace, 10,10,10, 1, Color, "Neon", 0.5)
2111
2112
for i = 1,10 do
2113
wait()
2114
2115
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
2116
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
2117
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(3.2,0,0.6), 0.3)
2118
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0 ,0,-0.2), 0.3)
2119
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2120
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2121
HandleWeld.C0=clerp(HandleWeld.C0, CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,1.57),0.2)
2122
	
2123
end
2124
for i = 1, 20 do
2125
wait()
2126
Block1.Transparency = Block1.Transparency + 0.05	
2127
end
2128
2129
for i = 1, 20 do
2130
wait()
2131
Block2.Transparency = Block2.Transparency + 0.05	
2132
end
2133
2134
for i = 1, 20 do
2135
wait()
2136
Block3.Transparency = Block3.Transparency + 0.05	
2137
end
2138
2139
2140
for i = 1,15 do
2141
wait()
2142
2143
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,-0.6),0.2)
2144
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
2145
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 1, 0) * CFrame.Angles(0,0,2.8), 0.3)
2146
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
2147
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2148
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2149
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(1.57,0,0),0.2)
2150
2151
	
2152
end	
2153
2154
2155
for i = 1,15 do
2156
wait()
2157
2158
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,-0.5)* CFrame.Angles(0,0,0.6),0.2)
2159
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,-0.3),0.3)
2160
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(0.3, 0, -1) * CFrame.Angles(0,0,-0.6), 0.3)
2161
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(0,0,0), 0.3)
2162
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,-0.3),0.2)
2163
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,-0.5)*CFrame.Angles(0,-1.6,0),0.2)
2164
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
2165
2166
	
2167
end	
2168
2169
MakeSFX(Torso, 258057783, 1, 1)
2170
ValidateDamage(Torso, 180 ,10, 15 * BlocksN, "Knockdown", "Penetration", 15)
2171
local Hit, Position = RayCast(Torso.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,100,Character)
2172
if Hit ~= nil then
2173
local Reference = CreatePart(Services.Workspace, "Reference", "Dark stone grey", Vector3.new(), "SmoothPlastic", 1, "Block")
2174
Reference.Anchored = true
2175
Reference.CFrame = CFrame.new(Position)
2176
game:GetService("Debris"):AddItem(Reference,0.1)
2177
for i= 1,150 do
2178
	
2179
local Ground = CreatePart(Services.Workspace, "Ground", Hit.BrickColor.Color, Vector3.new(math.random(1,3), math.random(1,3), math.random(1,3)), Hit.Material, 0, "Block")
2180
Ground.Anchored = true
2181
Ground.CanCollide = true
2182
Ground.CFrame = CFrame.new(Position) * CFrame.new(math.random(-90,90), 0, math.random(-90,90)) * CFrame.Angles(math.random(-50,50),math.random(-50,50), math.random(-50,50))
2183
2184
game:GetService("Debris"):AddItem(Ground,30)
2185
2186
end
2187
end
2188
2189
wait(1)
2190
2191
Attacking = false
2192
Humanoid.WalkSpeed = 10
2193
Humanoid.JumpPower = 45
2194
end
2195
2196
--[[ Attack functions ]]--
2197
2198
function OnClicked()
2199
2200
2201
if Combo == 1 and not Attacking and CanAttack then
2202
Combo = 2
2203
Attack1()	
2204
2205
elseif Combo == 2 and not Attacking and CanAttack  then
2206
Combo = 3
2207
Attack2()
2208
	
2209
2210
elseif Combo == 3 and not Attacking and CanAttack  then
2211
Combo = 1
2212
Attack3()
2213
2214
end
2215
end
2216
2217
2218
function OnKeyDown(Key)
2219
	
2220
if Key == "e" and not Attacking and BlockD.Value == 100 then
2221
	
2222
Guard()
2223
2224
end		
2225
2226
if Key == "z" and not Attacking and Mana > 15 and Cooldown1 == MaxCooldown1 and not Blocks then
2227
2228
Mana = Mana - 15
2229
Cooldown1 = 0
2230
AngelsLunge()
2231
2232
end	
2233
2234
if Key == "z" and not Attacking and Mana > 5 and Cooldown1 == MaxCooldown1 and Blocks then
2235
2236
Mana = Mana - 15
2237
Cooldown1 = 0
2238
BlockThrow()
2239
2240
end	
2241
2242
2243
if Key == "x" and not Attacking and Mana > 35 and Cooldown2 == MaxCooldown2 and not Blocks then
2244
2245
Mana = Mana - 35
2246
Cooldown2 = 0
2247
AngelicalBlocks()
2248
2249
	
2250
end
2251
2252
if Key == "x" and not Attacking and Mana > 35 and Cooldown2 == MaxCooldown2 and Blocks then
2253
2254
Mana = Mana - 35
2255
Cooldown2 = 0
2256
Absorb()
2257
2258
	
2259
end
2260
2261
if Key == "c" and not Attacking and Mana > 40 and Cooldown3 == MaxCooldown3 and not Blocks then
2262
2263
Mana = Mana - 40
2264
Cooldown3 = 0
2265
GroundSmash()
2266
2267
end	
2268
2269
if Key == "c" and not Attacking and Mana > 40 and Cooldown3 == MaxCooldown3 and Blocks then
2270
2271
Mana = Mana - 40
2272
Cooldown3 = 0
2273
AngelicalPossesion()
2274
2275
end	
2276
2277
if Key == "v" and not Attacking and Mana > 75 and Cooldown4 == MaxCooldown4 and not Blocks then
2278
2279
Mana = Mana - 75
2280
Cooldown4 = 0
2281
AngelsFury()
2282
2283
end	
2284
2285
if Key == "v" and not Attacking and Mana > 75 and Cooldown4 == MaxCooldown4 and Blocks then
2286
2287
Mana = Mana - 75
2288
Cooldown4 = 0
2289
GroundDestruction()
2290
2291
end	
2292
end
2293
2294
function OnKeyUp(Key)
2295
	
2296
if Key == "e" then
2297
Blocking = false
2298
2299
end	
2300
	
2301
2302
end
2303
2304
Mouse.KeyUp:connect(OnKeyUp)
2305
Mouse.KeyDown:connect(OnKeyDown)
2306
Mouse.Button1Down:connect(OnClicked)
2307
2308
--[[ Bars Function ]]--
2309
2310
function Bars()
2311
	
2312
--[[ Mana Bar ]]--	
2313
2314
if Mana ~= MaxMana then
2315
	
2316
Mana = Mana + 0.1
2317
2318
end
2319
2320
if Mana >= MaxMana then
2321
	
2322
Mana = MaxMana	
2323
	
2324
end
2325
2326
--[[ Cooldowns Bars ]]--	
2327
2328
if Cooldown1 ~= MaxCooldown1 then
2329
	
2330
Cooldown1 = Cooldown1 + 1
2331
2332
end
2333
2334
if Cooldown1 >= MaxCooldown1 then
2335
	
2336
Cooldown1 = MaxCooldown1	
2337
	
2338
end
2339
2340
2341
2342
if Cooldown2 ~= MaxCooldown2 then
2343
	
2344
Cooldown2 = Cooldown2 + 0.5
2345
end
2346
2347
2348
if Cooldown2 >= MaxCooldown2 then
2349
	
2350
Cooldown2 = MaxCooldown2	
2351
	
2352
end
2353
2354
2355
2356
if Cooldown3 ~= MaxCooldown3 then
2357
Cooldown3 = Cooldown3 + 0.5
2358
end
2359
2360
if Cooldown3 >= MaxCooldown3 then
2361
	
2362
Cooldown3 = MaxCooldown3	
2363
	
2364
end
2365
2366
2367
2368
if Cooldown4 ~= MaxCooldown4 then
2369
Cooldown4 = Cooldown4 + 0.1
2370
end
2371
2372
if Cooldown4 >= MaxCooldown4 then
2373
	
2374
Cooldown4 = MaxCooldown4
2375
	
2376
end
2377
2378
2379
2380
if CooldownE ~= MaxCooldownE and not Blocking then
2381
CooldownE = CooldownE + 0.1
2382
end
2383
2384
if CooldownE >= MaxCooldownE then
2385
	
2386
CooldownE = MaxCooldownE
2387
	
2388
end
2389
2390
--[[ Health Bar ]]--	
2391
2392
local YellowZone = Humanoid.MaxHealth / 2	
2393
local RedZone = Humanoid.MaxHealth / 4
2394
2395
if Humanoid.Health <= YellowZone then
2396
	
2397
HealthBarP2.BackgroundColor3 = BrickColor.new("Gold").Color
2398
	
2399
end		
2400
2401
if Humanoid.Health <= RedZone then
2402
	
2403
HealthBarP2.BackgroundColor3 = BrickColor.new("Bright red").Color
2404
	
2405
end
2406
2407
if Humanoid.Health >= YellowZone then
2408
2409
HealthBarP2.BackgroundColor3 = BrickColor.new("Lime green").Color
2410
	
2411
end
2412
2413
coroutine.resume(coroutine.create(function()
2414
if not Blocking and BlockD.Value ~= MaxBlock then
2415
wait(1)
2416
BlockD.Value = BlockD.Value + 1
2417
	
2418
end
2419
2420
if BlockD.Value >= MaxBlock then
2421
	
2422
BlockD.Value = MaxBlock	
2423
2424
end
2425
end))
2426
2427
--[[ Resize All Bars ]]--	
2428
2429
2430
CoolDown1Bar.Size = UDim2.new(Cooldown1 / MaxCooldown1,0,0,50)
2431
CoolDown2Bar.Size = UDim2.new(Cooldown2 / MaxCooldown2,0,0,50)
2432
CoolDown3Bar.Size = UDim2.new(Cooldown3 / MaxCooldown3,0,0,50)
2433
CoolDown4Bar.Size = UDim2.new(Cooldown4 / MaxCooldown4,0,0,50)
2434
CoolDownEBar.Size = UDim2.new(CooldownE / MaxCooldownE,0,0,50)
2435
2436
HealthBarP2.Size = UDim2.new(Humanoid.Health / Humanoid.MaxHealth,0,0,25)
2437
BlockBarP2.Size = UDim2.new(BlockD.Value / MaxBlock,0,0,25)
2438
ManaBarP2.Size = UDim2.new(Mana / MaxMana,0,0,25)
2439
2440
	
2441
	
2442
end
2443
2444
2445
--[[ CLerp Declarations ]]--
2446
2447
function clerp(a,b,t) 
2448
local qa = {QuaternionFromCFrame(a)}
2449
local qb = {QuaternionFromCFrame(b)} 
2450
local ax, ay, az = a.x, a.y, a.z 
2451
local bx, by, bz = b.x, b.y, b.z
2452
local _t = 1-t
2453
return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) 
2454
end 
2455
 
2456
function QuaternionFromCFrame(cf) 
2457
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() 
2458
local trace = m00 + m11 + m22 
2459
if trace > 0 then 
2460
local s = math.sqrt(1 + trace) 
2461
local recip = 0.5/s 
2462
return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 
2463
else 
2464
local i = 0 
2465
if m11 > m00 then
2466
i = 1
2467
end
2468
if m22 > (i == 0 and m00 or m11) then 
2469
i = 2 
2470
end 
2471
if i == 0 then 
2472
local s = math.sqrt(m00-m11-m22+1) 
2473
local recip = 0.5/s 
2474
return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip 
2475
elseif i == 1 then 
2476
local s = math.sqrt(m11-m22-m00+1) 
2477
local recip = 0.5/s 
2478
return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip 
2479
elseif i == 2 then 
2480
local s = math.sqrt(m22-m00-m11+1) 
2481
local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip 
2482
end 
2483
end 
2484
end
2485
 
2486
function QuaternionToCFrame(px, py, pz, x, y, z, w) 
2487
local xs, ys, zs = x + x, y + y, z + z 
2488
local wx, wy, wz = w*xs, w*ys, w*zs 
2489
local xx = x*xs 
2490
local xy = x*ys 
2491
local xz = x*zs 
2492
local yy = y*ys 
2493
local yz = y*zs 
2494
local zz = z*zs 
2495
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)) 
2496
end
2497
 
2498
function QuaternionSlerp(a, b, t) 
2499
local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] 
2500
local startInterp, finishInterp; 
2501
if cosTheta >= 0.0001 then 
2502
if (1 - cosTheta) > 0.0001 then 
2503
local theta = math.acos(cosTheta) 
2504
local invSinTheta = 1/math.sin(theta) 
2505
startInterp = math.sin((1-t)*theta)*invSinTheta 
2506
finishInterp = math.sin(t*theta)*invSinTheta  
2507
else 
2508
startInterp = 1-t 
2509
finishInterp = t 
2510
end 
2511
else 
2512
if (1+cosTheta) > 0.0001 then 
2513
local theta = math.acos(-cosTheta) 
2514
local invSinTheta = 1/math.sin(theta) 
2515
startInterp = math.sin((t-1)*theta)*invSinTheta 
2516
finishInterp = math.sin(t*theta)*invSinTheta 
2517
else 
2518
startInterp = t-1 
2519
finishInterp = t 
2520
end 
2521
end 
2522
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 
2523
end
2524
2525
function RayCast(Pos, Dir, Max, Ignore)
2526
return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) 
2527
end 
2528
2529
--[[ CLerp Anims ]]--
2530
2531
while true do
2532
wait()
2533
2534
Humanoid.PlatformStand = false
2535
2536
local Torvel = (Root.Velocity*Vector3.new(1,0,1)).magnitude 
2537
local Velderp = Root.Velocity.y
2538
HitFloor,PosFloor = RayCast(Root.Position,(CFrame.new(Root.Position,Root.Position - Vector3.new(0,1,0))).lookVector,4,Character)	
2539
2540
Bars()
2541
Block1Weld.C0 = clerp(Block1Weld.C0,CFrame.new(0,0,0) * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0.2)
2542
Block2Weld.C0 = clerp(Block2Weld.C0,CFrame.new(0,0,0) * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0.2)
2543
Block3Weld.C0 = clerp(Block3Weld.C0,CFrame.new(0,0,0) * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0.2)
2544
2545
2546
if Torvel < 1 and HitFloor ~= nil and Attacking == false then
2547
Anim = "Idle"
2548
	
2549
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0,0,0),0.2)
2550
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0,0,0),0.3)
2551
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0) * CFrame.Angles(0,0,0.2), 0.3)
2552
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(-1.5, 0.1, 0) * CFrame.Angles(0,0,-0.2), 0.3)
2553
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2554
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(-0.1,0,0),0.2)
2555
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
2556
2557
end
2558
2559
2560
if 2 < Torvel and Torvel < 22 and HitFloor ~= nil and Attacking == false then
2561
Anim = "Walking"
2562
	
2563
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0.5,0,0),0.2)
2564
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.3,0,0),0.3)
2565
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0.1) * CFrame.Angles(-0.2,0,0.2), 0.3)
2566
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(0, 0.5,-1) * CFrame.Angles(1.6,0,1.3), 0.3)
2567
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(0,0,0),0.2)
2568
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(0,0,0),0.2)
2569
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
2570
2571
end
2572
2573
if Root.Velocity.y > 1 and HitFloor == nil and Attacking == false then 
2574
Anim = "Jump"
2575
	
2576
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(-0.5,0,0),0.2)
2577
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(-0.5,0,0),0.3)
2578
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0.1) * CFrame.Angles(-0.2,0,0.2), 0.3)
2579
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(0, 0.5,-1) * CFrame.Angles(1.6,0,1.3), 0.3)
2580
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(0,0,0),0.2)
2581
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(0,0,0),0.2)
2582
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
2583
2584
end
2585
2586
if Root.Velocity.y < -1 and HitFloor == nil and Attacking == false then 
2587
Anim = "Fall"
2588
	
2589
RootJoint.C0 = clerp(RootJoint.C0,RootCFrame*CFrame.new(0,0,0)* CFrame.Angles(0.5,0,0),0.2)
2590
Torso.Neck.C0 = clerp(Torso.Neck.C0,Necko * CFrame.Angles(0.5,0,0),0.3)
2591
Right_Shoulder.C0 = clerp(Right_Shoulder.C0, CFrame.new(1.5, 0.1, 0.1) * CFrame.Angles(-0.2,0,0.2), 0.3)
2592
Left_Shoulder.C0 = clerp(Left_Shoulder.C0, CFrame.new(0, 0.5,-1) * CFrame.Angles(1.6,0,1.3), 0.3)
2593
Right_Hip.C0=clerp(Right_Hip.C0,CFrame.new(1,-1,0)*CFrame.Angles(0,1.6,0) * CFrame.Angles(0,0,0),0.2)
2594
Left_Hip.C0=clerp(Left_Hip.C0,CFrame.new(-1,-1,0)*CFrame.Angles(0,-1.6,0) * CFrame.Angles(0,0,0),0.2)
2595
HandleWeld.C0=clerp(HandleWeld.C0,CFrame.new(0,-1,0) * CFrame.Angles(-1.57,0,0),0.2)
2596
2597
end
2598
2599
if Block1.Transparency > 0.9 and Block2.Transparency > 0.9 and Block3.Transparency > 0.9 then
2600
	
2601
CoolDown1Text.Text = "Z - Angel's Lunge"
2602
CoolDown2Text.Text = "X - Angelical Blocks"
2603
CoolDown3Text.Text = "C - Ground Smash"
2604
CoolDown4Text.Text = "V - Angel's Fury"
2605
Blocks = false
2606
2607
end
2608
2609
if #Effects > 0 then
2610
for E = 1, #Effects do
2611
if Effects[E]~=nil then
2612
local Effect = Effects[E]
2613
2614
if Effect ~= nil then
2615
	
2616
local Part = Effect[1]
2617
local Mode = Effect[2]
2618
local Time = Effect[3]
2619
local SizeX = Effect[4]
2620
local SizeY = Effect[5]
2621
local SizeZ = Effect[6]
2622
2623
if Effect[1].Transparency <= 1 then
2624
if Effect[2] == "Block" then
2625
Effect[1].CFrame = Effect[1].CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
2626
2627
Mesh = Effect[1]:FindFirstChild("Mesh")
2628
if Mesh ~= nil then
2629
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
2630
end
2631
2632
elseif Effect[2] == "Circle" then
2633
	
2634
if Effect[1]:FindFirstChild("Mesh") ~= nil then
2635
Mesh=Effect[1].Mesh
2636
Mesh.Scale = Mesh.Scale + Vector3.new(Effect[4],Effect[5],Effect[6])
2637
end
2638
2639
else
2640
	
2641
Part.Parent=nil
2642
2643
table.remove(Effects, E)
2644
2645
end
2646
end
2647
end
2648
end
2649
end
2650
end
2651
end