View difference between Paste ID: k5YGpTbD and XkxaaBM4
SHOW: | | - or go back to the newest paste.
1
do
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,Mouse,mouse,UserInputService,ContextActionService = owner
4
do
5
	print("FE Compatibility code by Mokiros")
6
	script.Parent = Player.Character
7
8
	--RemoteEvent for communicating
9
	local Event = Instance.new("RemoteEvent")
10
	Event.Name = "UserInput_Event"
11
12
	--Fake event to make stuff like Mouse.KeyDown work
13
	local function fakeEvent()
14
		local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
15
		t.connect = t.Connect
16
		return t
17
	end
18
19
	--Creating fake input objects with fake variables
20
    local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
21
	local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
22
	local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
23
		CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
24
	end}
25
	--Merged 2 functions into one by checking amount of arguments
26
	CAS.UnbindAction = CAS.BindAction
27
28
	--This function will trigger the events that have been :Connect()'ed
29
	local function te(self,ev,...)
30
		local t = m[ev]
31
		if t and t._fakeEvent and t.Function then
32
			t.Function(...)
33
		end
34
	end
35
	m.TrigEvent = te
36
	UIS.TrigEvent = te
37
38
	Event.OnServerEvent:Connect(function(plr,io)
39
	    if plr~=Player then return end
40
		if io.isMouse then
41
			m.Target = io.Target
42
			m.Hit = io.Hit
43
		else
44
			local b = io.UserInputState == Enum.UserInputState.Begin
45
			if io.UserInputType == Enum.UserInputType.MouseButton1 then
46
				return m:TrigEvent(b and "Button1Down" or "Button1Up")
47
			end
48
			for _,t in pairs(CAS.Actions) do
49
				for _,k in pairs(t.Keys) do
50
					if k==io.KeyCode then
51
						t.Function(t.Name,io.UserInputState,io)
52
					end
53
				end
54
			end
55
			m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
56
			UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
57
	    end
58
	end)
59
	Event.Parent = NLS([==[
60
	local Player = game:GetService("Players").LocalPlayer
61
	local Event = script:WaitForChild("UserInput_Event")
62
63
	local UIS = game:GetService("UserInputService")
64
	local input = function(io,a)
65
		if a then return end
66
		--Since InputObject is a client-side instance, we create and pass table instead
67
		Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
68
	end
69
	UIS.InputBegan:Connect(input)
70
	UIS.InputEnded:Connect(input)
71
72
	local Mouse = Player:GetMouse()
73
	local h,t
74
	--Give the server mouse data 30 times every second, but only if the values changed
75
	--If player is not moving their mouse, client won't fire events
76-
 plr = game.Players.LocalPlayer
76+
	while wait(1/30) do
77
		if h~=Mouse.Hit or t~=Mouse.Target then
78
			h,t=Mouse.Hit,Mouse.Target
79
			Event:FireServer({isMouse=true,Target=t,Hit=h})
80-
mse = plr:GetMouse()
80+
		end
81
	end]==],Player.Character)
82
	Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
83
end
84
    local filteredMessages = { ['___'] = '___' };
85
    local onPropertyChanged = function (obj)  
86
        if (obj:isDescendantOf (workspace)) then  
87
            local objText = obj.Text;
88
           
89
            if (objText ~= '___' and objText:find '(%S)') then
90
                if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
91
                    obj.Text = filteredMessages [objText];
92
                elseif (not filteredMessages [objText]) then
93
                    obj.Text = '___';
94
                   
95
                    local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
96
                   
97
                    filteredMessages [objText] = filtered;
98
                    filteredMessages [filtered] = filtered;
99
                   
100
                    obj.Text = filtered;
101
                end;
102
            end;
103
        end;
104
    end;
105
   
106
    local newInstance = Instance.new;
107
    Instance = {
108
        new = function (class, parent)
109
            local obj = newInstance (class, parent);
110
           
111
            if (pcall (function()return obj.Text;end)) then
112
                obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
113
                obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
114
            end;
115
           
116
            return obj;
117
        end;
118
    };
119
 
120
    local filteredMessages = { ['___'] = '___' };
121
    local onPropertyChanged = function (obj)  
122
        if (obj:isDescendantOf (workspace)) then  
123
            local objText = obj.Text;
124
           
125
            if (objText ~= '___' and objText:find '(%S)') then
126
                if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
127
                    obj.Text = filteredMessages [objText];
128
                elseif (not filteredMessages [objText]) then
129
                    obj.Text = '___';
130
                   
131
                    local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
132
                   
133
                    filteredMessages [objText] = filtered;
134
                    filteredMessages [filtered] = filtered;
135
                   
136
                    obj.Text = filtered;
137
                end;
138
            end;
139
        end;
140
    end;
141
   
142
    local newInstance = Instance.new;
143
    Instance = {
144
        new = function (class, parent)
145
            local obj = newInstance (class, parent);
146
           
147
            if (pcall (function()return obj.Text;end)) then
148
                obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
149
                obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
150
            end;
151
           
152
            return obj;
153
        end;
154
    };
155
end;
156
 
157
 
158
 plr = owner
159
char = game.Players.LocalPlayer.Character
160
wait(0.016666666666666666)
161
 
162
local Head = char.Head
163
local Players=game:service'Players'
164
local Player=Players.LocalPlayer
165
local Mouse=Player:GetMouse''
166
 
167
 char.Humanoid.MaxHealth = math.huge
168
      char.Humanoid.Health = math.huge
169
 
170
 
171
172
   Par1=Instance.new('ParticleEmitter',char['Torso'])
173
Par1.LightEmission=100
174
Par1.LightInfluence=5
175
Par1.LockedToPart=true
176
Par1.Texture='rbxassetid://74675986'
177
178
Par1.Transparency=NumberSequence.new(0.9)
179
Par1.Lifetime=NumberRange.new(0.3)
180
Par1.Rate=500
181
 
182
Par1.Enabled = false
183
 
184
 
185
 
186
 
187
 
188
 
189
 
190
base = Instance.new("ScreenGui",plr.PlayerGui)
191
bbg = Instance.new("BillboardGui",plr.Character.Head)
192
bbg.Size = UDim2.new(0,200,0,50)
193
bbg.StudsOffset = Vector3.new(0,3,0)
194
bbgTl = Instance.new("TextLabel",bbg)
195
bbgTl.BackgroundTransparency = 1
196
bbgTl.Size = UDim2.new(10,0,1,0)
197
bbgTl.Position = UDim2.new(-4.5,0,0,0)
198
bbgTl.Font = "Fantasy"
199
bbgTl.Text = " "
200
bbgTl.TextSize = 25
201
bbgTl.TextStrokeColor3 = Color3.new(100,0,100)
202
bbgTl.TextColor3 = Color3.new(0,0,100)
203
bbgTl.TextStrokeTransparency = 0
204
bbgTl.TextWrapped = true
205
plr.Chatted:connect(function(msg)
206
    bbgTl.Text = msg
207
wait(1)
208
      TextFade()
209
    end
210
)
211
 
212
function TextFade()
213
214
    bbgTl.TextTransparency = 0.1
215
    bbgTl.TextStrokeTransparency = 0.1
216
    wait(0.1)
217
    bbgTl.TextTransparency = 0.2
218
    bbgTl.TextStrokeTransparency = 0.2
219
    wait(0.1)
220
    bbgTl.TextTransparency = 0.3
221
    bbgTl.TextStrokeTransparency = 0.3
222
    wait(0.1)
223
    bbgTl.TextTransparency = 0.4
224
    bbgTl.TextStrokeTransparency = 0.4
225
    wait(0.1)
226
    bbgTl.TextTransparency = 0.5
227
    bbgTl.TextStrokeTransparency = 0.5
228
    wait(0.1)
229
    bbgTl.TextTransparency = 0.6
230
    bbgTl.TextStrokeTransparency = 0.6
231
    wait(0.1)
232
    bbgTl.TextTransparency = 0.7
233
    bbgTl.TextStrokeTransparency = 0.7
234
    wait(0.1)
235
    bbgTl.TextTransparency = 0.8
236
    bbgTl.TextStrokeTransparency = 0.8
237
    wait(0.1)
238
    bbgTl.TextTransparency = 0.9
239
    bbgTl.TextStrokeTransparency = 0.9
240
    wait(0.1)
241
        bbgTl.Text = " "
242
    wait(0.00000000000000001)
243
bbgTl.TextTransparency = 0
244
    bbgTl.TextStrokeTransparency = 0
245
end
246
247
local Orin = "rbxassetid://1156642909"
248
Head.face.Texture = Orin
249
spawn(function()
250
    while wait() do
251
char["Body Colors"].HeadColor = BrickColor.new("Light brick yellow")
252
char["Body Colors"].TorsoColor = BrickColor.new("Light brick yellow")
253
char["Body Colors"].LeftArmColor = BrickColor.new("Light brick yellow")
254
char["Body Colors"].RightArmColor = BrickColor.new("Light brick yellow")
255
char["Body Colors"].LeftLegColor = BrickColor.new("Light brick yellow")
256
char["Body Colors"].RightLegColor = BrickColor.new("Light brick yellow")
257
end
258
end)
259
 
260
char.Shirt:Remove()
261
char.Pants:Remove()
262
 
263
shirt = Instance.new("Shirt", char)
264
shirt.Name = "Shirt"
265
pants = Instance.new("Pants", char)
266
pants.Name = "Pants"
267
char.Shirt.ShirtTemplate = "rbxassetid://1091712911"
268
char.Pants.PantsTemplate = "rbxassetid://1448269749"
269
for i, v in pairs(char:GetChildren()) do
270
    if v.ClassName == "Accessory" then
271
        v:Remove()
272
    end
273
end
274
 
275
Hat3 = Instance.new("Model")
276
Hat3.Parent = char
277
Hat3.Name = "Hat3"
278
rh = Instance.new("Part")
279
rh.Parent = Hat3
280
rh.BrickColor = BrickColor.new("Really black")
281
rh.Locked = true
282
rh.CanCollide = false
283
mesh = Instance.new("SpecialMesh")
284
rh.formFactor =  "Symmetric"
285
mesh.MeshType = "FileMesh"
286
mesh.MeshId = "rbxassetid://1476257758"
287
mesh.TextureId = "rbxassetid://871411385"
288
mesh.Parent = rh
289
local weld = Instance.new("Weld")
290
weld.Parent = rh
291
weld.Part0 = rh
292
weld.Part1 = char.Head
293
weld.C0 = CFrame.new(-0.05, -0.2, 0.1)*CFrame.Angles(0, 0, 0)
294
mesh.Scale = Vector3.new(1.05,1, 0.8)
295
Hat3.Part.Transparency = 0
296
 
297
Hat = Instance.new("Model")
298
Hat.Parent = char
299
Hat.Name = "Hat"
300
rh = Instance.new("Part")
301
rh.Parent = Hat
302
rh.BrickColor = BrickColor.new("Really black")
303
rh.Locked = true
304
rh.CanCollide = false
305
mesh = Instance.new("SpecialMesh")
306
rh.formFactor =  "Symmetric"
307
mesh.MeshType = "FileMesh"
308
mesh.MeshId = "rbxassetid://874044556"
309
mesh.TextureId = "rbxassetid://875114591"
310
mesh.Parent = rh
311
local weld = Instance.new("Weld")
312
weld.Parent = rh
313
weld.Part0 = rh
314
weld.Part1 =char.Head
315
weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
316
mesh.Scale = Vector3.new(0.04,0.038, 0.04)
317
 
318
 muscle = Instance.new("Model")
319
muscle.Parent = char
320
muscle.Name = "muscle"
321
rh = Instance.new("Part")
322
rh.Parent = muscle
323
rh.BrickColor = BrickColor.new("Alder")
324
rh.Locked = true
325
rh.CanCollide = false
326
mesh = Instance.new("SpecialMesh")
327
rh.formFactor =  "Symmetric"
328
mesh.MeshType = "FileMesh"
329
mesh.MeshId = "rbxassetid://958074736"
330
mesh.Parent = rh
331
local weld = Instance.new("Weld")
332
weld.Parent = rh
333
weld.Part0 = rh
334
weld.Part1 =char.Torso
335
weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
336
mesh.Scale = Vector3.new(0.009,0.01,0.01)
337
 
338
 
339
 
340
 
341
scarf = Instance.new("Model")
342
scarf.Parent = char
343
scarf.Name = "scarf"
344
rh = Instance.new("Part")
345
rh.Parent = scarf
346
rh.BrickColor = BrickColor.new("White")
347
rh.Locked = true
348
rh.CanCollide = false
349
mesh = Instance.new("SpecialMesh")
350
rh.formFactor =  "Symmetric"
351
mesh.MeshType = "FileMesh"
352
mesh.MeshId = "rbxassetid://873798502"
353
354
mesh.Parent = rh
355
local weld = Instance.new("Weld")
356
weld.Parent = rh
357
weld.Part0 = rh
358
weld.Part1 =char.Torso
359
weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0)
360
mesh.Scale = Vector3.new(0.0155,0.0155,0.0155)
361
 
362
rs = Instance.new("Model")
363
rs.Parent = char
364
rs.Name = "rs"
365
rh = Instance.new("Part")
366
rh.Parent = rs
367
rh.BrickColor = BrickColor.new("Bright yellow")
368
rh.Locked = true
369
rh.CanCollide = false
370
mesh = Instance.new("SpecialMesh")
371
rh.formFactor =  "Symmetric"
372
mesh.MeshType = "FileMesh"
373
mesh.MeshId = "rbxassetid://874040321"
374
mesh.TextureId = "rbxassetid://875114591"
375
mesh.Parent = rh
376
local weld = Instance.new("Weld")
377
weld.Parent = rh
378
weld.Part0 = rh
379
weld.Part1 =char["Right Arm"]
380
weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
381
mesh.Scale = Vector3.new(0.012,0.012,0.012)
382
 
383
ls = Instance.new("Model")
384
ls.Parent = char
385
ls.Name = "ls"
386
rh = Instance.new("Part")
387
rh.Parent = ls
388
rh.BrickColor = BrickColor.new("Bright yellow")
389
rh.Locked = true
390
rh.CanCollide = false
391
mesh = Instance.new("SpecialMesh")
392
rh.formFactor =  "Symmetric"
393
mesh.MeshType = "FileMesh"
394
mesh.MeshId = "rbxassetid://874041559"
395
mesh.TextureId = "rbxassetid://875114591"
396
mesh.Parent = rh
397
local weld = Instance.new("Weld")
398
weld.Parent = rh
399
weld.Part0 = rh
400
weld.Part1 =char["Left Arm"]
401
weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
402
mesh.Scale = Vector3.new(0.012,0.012,0.012)
403
 
404
cloth = Instance.new("Model")
405
cloth.Parent = char
406
cloth.Name = "cloth"
407
rh = Instance.new("Part")
408
rh.Parent = cloth
409
rh.BrickColor = BrickColor.new("Quill grey")
410
rh.Locked = true
411
rh.CanCollide = false
412
mesh = Instance.new("SpecialMesh")
413
rh.formFactor =  "Symmetric"
414
mesh.MeshType = "FileMesh"
415
mesh.MeshId = "rbxassetid://874045262"
416
417
mesh.Parent = rh
418
local weld = Instance.new("Weld")
419
weld.Parent = rh
420
weld.Part0 = rh
421
weld.Part1 =char.Torso
422
weld.C0 = CFrame.new(0, 1.6, 0.2)*CFrame.Angles(-0.5, 0, 0)
423
mesh.Scale = Vector3.new(0.0065,0.008,0.008)
424
 
425
ear1 = Instance.new("Model")
426
ear1.Parent = char
427
ear1.Name = "ear1"
428
rh = Instance.new("Part")
429
rh.Parent = ear1
430
rh.BrickColor = BrickColor.new("Pastel Blue")
431
rh.Locked = true
432
rh.CanCollide = false
433
mesh = Instance.new("SpecialMesh")
434
rh.formFactor =  "Symmetric"
435
mesh.MeshType = "FileMesh"
436
mesh.MeshId = "rbxassetid://431119824"
437
mesh.Parent = rh
438
local weld = Instance.new("Weld")
439
weld.Parent = rh
440
weld.Part0 = rh
441
weld.Part1 =char.Head
442
weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0)
443
mesh.Scale = Vector3.new(0.025,0.025, 0.025)
444
 
445
ear2 = Instance.new("Model")
446
ear2.Parent = char
447
ear2.Name = "ear2"
448
rh = Instance.new("Part")
449
rh.Parent = ear2
450
rh.BrickColor = BrickColor.new("Pastel Blue")
451
rh.Locked = true
452
rh.CanCollide = false
453
mesh = Instance.new("SpecialMesh")
454
rh.formFactor =  "Symmetric"
455
mesh.MeshType = "FileMesh"
456
mesh.MeshId = "rbxassetid://431119824"
457
mesh.Parent = rh
458
local weld = Instance.new("Weld")
459
weld.Parent = rh
460
weld.Part0 = rh
461
weld.Part1 =char.Head
462
weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0)
463
mesh.Scale = Vector3.new(0.025,0.025, 0.025)
464
 
465
belt = Instance.new("Model")
466
belt.Parent = char
467
belt.Name = "belt"
468
rh = Instance.new("Part")
469
rh.Parent = belt
470
rh.BrickColor = BrickColor.new("Tr. Yellow")
471
rh.Locked = true
472
rh.CanCollide = false
473
mesh = Instance.new("SpecialMesh")
474
rh.formFactor =  "Symmetric"
475
mesh.MeshType = "FileMesh"
476
mesh.MeshId = "rbxassetid://965627950"
477
mesh.Parent = rh
478
local weld = Instance.new("Weld")
479
weld.Parent = rh
480
weld.Part0 = rh
481
weld.Part1 =char.Torso
482
weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0)
483
mesh.Scale = Vector3.new(0.65, 0.1, 0.65)
484
 
485
belt2 = Instance.new("Model")
486
belt2.Parent = char
487
belt2.Name = "belt2"
488
rh = Instance.new("Part")
489
rh.Parent = belt2
490
rh.BrickColor = BrickColor.new("Tr. Yellow")
491
rh.Locked = true
492
rh.CanCollide = false
493
mesh = Instance.new("SpecialMesh")
494
rh.formFactor =  "Symmetric"
495
mesh.MeshType = "FileMesh"
496
mesh.MeshId = "rbxassetid://475668276"
497
mesh.Parent = rh
498
local weld = Instance.new("Weld")
499
weld.Parent = rh
500
weld.Part0 = rh
501
weld.Part1 =char.Torso
502
weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5)
503
mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
504
 
505
belt3 = Instance.new("Model")
506
belt3.Parent = char
507
belt3.Name = "belt3"
508
rh = Instance.new("Part")
509
rh.Parent = belt3
510
rh.BrickColor = BrickColor.new("Tr. Yellow")
511
rh.Locked = true
512
rh.CanCollide = false
513
mesh = Instance.new("SpecialMesh")
514
rh.formFactor =  "Symmetric"
515
mesh.MeshType = "FileMesh"
516
mesh.MeshId = "rbxassetid://475668276"
517
mesh.Parent = rh
518
local weld = Instance.new("Weld")
519
weld.Parent = rh
520
weld.Part0 = rh
521
weld.Part1 =char.Torso
522
weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5)
523
mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
524
 
525
cloth2 = Instance.new("Model")
526
cloth2.Parent = char
527
cloth2.Name = "cloth2"
528
rh = Instance.new("Part")
529
rh.Parent = cloth2
530
rh.BrickColor = BrickColor.new("Quill grey")
531
rh.Locked = true
532
rh.CanCollide = false
533
mesh = Instance.new("SpecialMesh")
534
rh.formFactor =  "Symmetric"
535
mesh.MeshType = "FileMesh"
536
mesh.MeshId = "rbxassetid://874045262"
537
538
mesh.Parent = rh
539
local weld = Instance.new("Weld")
540
weld.Parent = rh
541
weld.Part0 = rh
542
weld.Part1 =char.Torso
543
weld.C0 = CFrame.new(0, 1.6, -0.2)*CFrame.Angles(0.2, 0, 0)
544
mesh.Scale = Vector3.new(0.0065,0.008,0.008)
545
 
546
gr = Instance.new("Model")
547
gr.Parent = char
548
gr.Name = "gr"
549
rh = Instance.new("Part")
550
rh.Parent = gr
551
rh.BrickColor = BrickColor.new("Daisy orange")
552
rh.Locked = true
553
rh.CanCollide = false
554
mesh = Instance.new("SpecialMesh")
555
rh.formFactor =  "Symmetric"
556
mesh.MeshType = "FileMesh"
557
mesh.MeshId = "rbxassetid://1476756293"
558
mesh.Parent = rh
559
local weld = Instance.new("Weld")
560
weld.Parent = rh
561
weld.Part0 = rh
562
weld.Part1 =char["Right Arm"]
563
weld.C0 = CFrame.new(-0.6, 0.8, 0)*CFrame.Angles(0, 0, 0)
564
mesh.Scale = Vector3.new(0.03,0.03,0.03)
565
 
566
gl = Instance.new("Model")
567
gl.Parent = char
568
gl.Name = "gl"
569
rh = Instance.new("Part")
570
rh.Parent = gl
571
rh.BrickColor = BrickColor.new("Daisy orange")
572
rh.Locked = true
573
rh.CanCollide = false
574
mesh = Instance.new("SpecialMesh")
575
rh.formFactor =  "Symmetric"
576
mesh.MeshType = "FileMesh"
577
mesh.MeshId = "rbxassetid://1476756293"
578
mesh.Parent = rh
579
local weld = Instance.new("Weld")
580
weld.Parent = rh
581
weld.Part0 = rh
582
weld.Part1 =char["Left Arm"]
583
weld.C0 = CFrame.new(0.6, 0.8, 0)*CFrame.Angles(0, 0, 0)
584
mesh.Scale = Vector3.new(0.03,0.03,0.03)
585
 
586
ap1 = Instance.new("Model")
587
ap1.Parent = char
588
ap1.Name = "ap1"
589
rh = Instance.new("Part")
590
rh.Parent = ap1
591
rh.BrickColor = BrickColor.new("White")
592
rh.Locked = true
593
rh.CanCollide = false
594
mesh = Instance.new("SpecialMesh")
595
rh.formFactor =  "Symmetric"
596
mesh.MeshType = "FileMesh"
597
mesh.MeshId = "rbxassetid://965627950"
598
mesh.Parent = rh
599
local weld = Instance.new("Weld")
600
weld.Parent = rh
601
weld.Part0 = rh
602
weld.Part1 =char["Right Arm"]
603
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0)
604
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
605
 
606
ap2 = Instance.new("Model")
607
ap2.Parent = char
608
ap2.Name = "ap2"
609
rh = Instance.new("Part")
610
rh.Parent = ap2
611
rh.BrickColor = BrickColor.new("White")
612
rh.Locked = true
613
rh.CanCollide = false
614
mesh = Instance.new("SpecialMesh")
615
rh.formFactor =  "Symmetric"
616
mesh.MeshType = "FileMesh"
617
mesh.MeshId = "rbxassetid://965627950"
618
mesh.Parent = rh
619
local weld = Instance.new("Weld")
620
weld.Parent = rh
621
weld.Part0 = rh
622
weld.Part1 =char["Left Arm"]
623
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
624
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
625
 
626
circ1 = Instance.new("Model")
627
circ1.Parent = char
628
circ1.Name = "circ1"
629
rh = Instance.new("Part")
630
rh.Parent = circ1
631
rh.BrickColor = BrickColor.new("Tr. Yellow")
632
rh.Locked = true
633
rh.CanCollide = false
634
mesh = Instance.new("SpecialMesh")
635
rh.formFactor =  "Symmetric"
636
mesh.MeshType = "FileMesh"
637
mesh.MeshId = "rbxassetid://475668276"
638
mesh.Parent = rh
639
local weld = Instance.new("Weld")
640
weld.Parent = rh
641
weld.Part0 = rh
642
weld.Part1 =char["Right Arm"]
643
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5)
644
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
645
 
646
circ2 = Instance.new("Model")
647
circ2.Parent = char
648
circ2.Name = "circ2"
649
rh = Instance.new("Part")
650
rh.Parent = circ2
651
rh.BrickColor = BrickColor.new("Tr. Yellow")
652
rh.Locked = true
653
rh.CanCollide = false
654
mesh = Instance.new("SpecialMesh")
655
rh.formFactor =  "Symmetric"
656
mesh.MeshType = "FileMesh"
657
mesh.MeshId = "rbxassetid://475668276"
658
mesh.Parent = rh
659
local weld = Instance.new("Weld")
660
weld.Parent = rh
661
weld.Part0 = rh
662
weld.Part1 =char["Left Arm"]
663
weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5)
664
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
665
 
666
 
667
 
668
ap3 = Instance.new("Model")
669
ap3.Parent = char
670
ap3.Name = "ap3"
671
rh = Instance.new("Part")
672
rh.Parent = ap3
673
rh.BrickColor = BrickColor.new("White")
674
rh.Locked = true
675
rh.CanCollide = false
676
mesh = Instance.new("SpecialMesh")
677
rh.formFactor =  "Symmetric"
678
mesh.MeshType = "FileMesh"
679
mesh.MeshId = "rbxassetid://965627950"
680
mesh.Parent = rh
681
local weld = Instance.new("Weld")
682
weld.Parent = rh
683
weld.Part0 = rh
684
weld.Part1 =char["Right Leg"]
685
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
686
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
687
 
688
ap4 = Instance.new("Model")
689
ap4.Parent = char
690
ap4.Name = "ap4"
691
rh = Instance.new("Part")
692
rh.Parent = ap4
693
rh.BrickColor = BrickColor.new("White")
694
rh.Locked = true
695
rh.CanCollide = false
696
mesh = Instance.new("SpecialMesh")
697
rh.formFactor =  "Symmetric"
698
mesh.MeshType = "FileMesh"
699
mesh.MeshId = "rbxassetid://965627950"
700
mesh.Parent = rh
701
local weld = Instance.new("Weld")
702
weld.Parent = rh
703
weld.Part0 = rh
704
weld.Part1 =char["Left Leg"]
705
weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
706
mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
707
 
708
circ3 = Instance.new("Model")
709
circ3.Parent = char
710
circ3.Name = "circ3"
711
rh = Instance.new("Part")
712
rh.Parent = circ3
713
rh.BrickColor = BrickColor.new("Tr. Yellow")
714
rh.Locked = true
715
rh.CanCollide = false
716
mesh = Instance.new("SpecialMesh")
717
rh.formFactor =  "Symmetric"
718
mesh.MeshType = "FileMesh"
719
mesh.MeshId = "rbxassetid://475668276"
720
mesh.Parent = rh
721
local weld = Instance.new("Weld")
722
weld.Parent = rh
723
weld.Part0 = rh
724
weld.Part1 =char["Right Leg"]
725
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
726
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
727
 
728
circ4 = Instance.new("Model")
729
circ4.Parent = char
730
circ4.Name = "circ4"
731
rh = Instance.new("Part")
732
rh.Parent = circ4
733
rh.BrickColor = BrickColor.new("Tr. Yellow")
734
rh.Locked = true
735
rh.CanCollide = false
736
mesh = Instance.new("SpecialMesh")
737
rh.formFactor =  "Symmetric"
738
mesh.MeshType = "FileMesh"
739
mesh.MeshId = "rbxassetid://475668276"
740
mesh.Parent = rh
741
local weld = Instance.new("Weld")
742
weld.Parent = rh
743
weld.Part0 = rh
744
weld.Part1 =char["Left Leg"]
745
weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
746
mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
747
 
748
boot1 = Instance.new("Model")
749
boot1.Parent = char
750
boot1.Name = "boot1"
751
rh = Instance.new("Part")
752
rh.Parent = boot1
753
rh.BrickColor = BrickColor.new("White")
754
rh.Locked = true
755
rh.CanCollide = false
756
mesh = Instance.new("SpecialMesh")
757
rh.formFactor =  "Symmetric"
758
mesh.MeshType = "FileMesh"
759
mesh.MeshId = "rbxassetid://1154325543"
760
mesh.Parent = rh
761
local weld = Instance.new("Weld")
762
weld.Parent = rh
763
weld.Part0 = rh
764
weld.Part1 =char["Right Leg"]
765
weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
766
mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
767
 
768
boot2 = Instance.new("Model")
769
boot2.Parent = char
770
boot2.Name = "boot2"
771
rh = Instance.new("Part")
772
rh.Parent = boot2
773
rh.BrickColor = BrickColor.new("White")
774
rh.Locked = true
775
rh.CanCollide = false
776
mesh = Instance.new("SpecialMesh")
777
rh.formFactor =  "Symmetric"
778
mesh.MeshType = "FileMesh"
779
mesh.MeshId = "rbxassetid://1154325543"
780
mesh.Parent = rh
781
local weld = Instance.new("Weld")
782
weld.Parent = rh
783
weld.Part0 = rh
784
weld.Part1 =char["Left Leg"]
785
weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
786
mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
787
 
788
glo1 = Instance.new("Model")
789
glo1.Parent = char
790
glo1.Name = "glo1"
791
rh = Instance.new("Part")
792
rh.Parent = glo1
793
rh.BrickColor = BrickColor.new("White")
794
rh.Locked = true
795
rh.CanCollide = false
796
mesh = Instance.new("SpecialMesh")
797
rh.formFactor =  "Symmetric"
798
mesh.MeshType = "FileMesh"
799
mesh.MeshId = "rbxassetid://688763512"
800
mesh.Parent = rh
801
local weld = Instance.new("Weld")
802
weld.Parent = rh
803
weld.Part0 = rh
804
weld.Part1 =char["Right Arm"]
805
weld.C0 = CFrame.new(-0.3, 0.6, 0)*CFrame.Angles(0, 0, 0)
806
mesh.Scale = Vector3.new(0.3, 0.55, 0.55)
807
 
808
glo1B = Instance.new("Model")
809
glo1B.Parent = char
810
glo1B.Name = "glo1B"
811
rh = Instance.new("Part")
812
rh.Parent = glo1B
813
rh.BrickColor = BrickColor.new("White")
814
rh.Locked = true
815
rh.CanCollide = false
816
mesh = Instance.new("SpecialMesh")
817
rh.formFactor =  "Symmetric"
818
mesh.MeshType = "FileMesh"
819
mesh.MeshId = "rbxassetid://688763512"
820
mesh.Parent = rh
821
local weld = Instance.new("Weld")
822
weld.Parent = rh
823
weld.Part0 = rh
824
weld.Part1 =char["Right Arm"]
825
weld.C0 = CFrame.new(0.25, 0.38, 0)*CFrame.Angles(0, 0, 0)
826
mesh.Scale = Vector3.new(0.3, 0.325, 0.55)
827
828
glo2 = Instance.new("Model")
829
glo2.Parent = char
830
glo2.Name = "glo2"
831
rh = Instance.new("Part")
832
rh.Parent = glo2
833
rh.BrickColor = BrickColor.new("White")
834
rh.Locked = true
835
rh.CanCollide = false
836
mesh = Instance.new("SpecialMesh")
837
rh.formFactor =  "Symmetric"
838
mesh.MeshType = "FileMesh"
839
mesh.MeshId = "rbxassetid://688763512"
840
mesh.Parent = rh
841
local weld = Instance.new("Weld")
842
weld.Parent = rh
843
weld.Part0 = rh
844
weld.Part1 =char["Left Arm"]
845
weld.C0 = CFrame.new(0.3, 0.6, 0)*CFrame.Angles(0, 0, 0)
846
mesh.Scale = Vector3.new(0.3, 0.55, 0.55)
847
848
glo2B = Instance.new("Model")
849
glo2B.Parent = char
850
glo2B.Name = "glo2B"
851
rh = Instance.new("Part")
852
rh.Parent = glo2B
853
rh.BrickColor = BrickColor.new("White")
854
rh.Locked = true
855
rh.CanCollide = false
856
mesh = Instance.new("SpecialMesh")
857
rh.formFactor =  "Symmetric"
858
mesh.MeshType = "FileMesh"
859
mesh.MeshId = "rbxassetid://688763512"
860
mesh.Parent = rh
861
local weld = Instance.new("Weld")
862
weld.Parent = rh
863
weld.Part0 = rh
864
weld.Part1 =char["Left Arm"]
865
weld.C0 = CFrame.new(-0.25, 0.38, 0)*CFrame.Angles(0, 0, 0)
866
mesh.Scale = Vector3.new(0.3, 0.325, 0.55)
867
868
ap5 = Instance.new("Model")
869
ap5.Parent = char
870
ap5.Name = "ap5"
871
rh = Instance.new("Part")
872
rh.Parent = ap5
873
rh.BrickColor = BrickColor.new("Fire Yellow")
874
rh.Locked = true
875
rh.CanCollide = false
876
mesh = Instance.new("SpecialMesh")
877
rh.formFactor =  "Symmetric"
878
mesh.MeshType = "FileMesh"
879
mesh.MeshId = "rbxassetid://619487063"
880
mesh.Parent = rh
881
local weld = Instance.new("Weld")
882
weld.Parent = rh
883
weld.Part0 = rh
884
weld.Part1 =char["Right Arm"]
885
weld.C0 = CFrame.new(-0.05, 0.3, 0)*CFrame.Angles(0, 0, 0)
886
mesh.Scale = Vector3.new(0.006, 0.002, 0.01)
887
888
ap6 = Instance.new("Model")
889
ap6.Parent = char
890
ap6.Name = "ap6"
891
rh = Instance.new("Part")
892
rh.Parent = ap6
893
rh.BrickColor = BrickColor.new("Fire Yellow")
894
rh.Locked = true
895
rh.CanCollide = false
896
mesh = Instance.new("SpecialMesh")
897
rh.formFactor =  "Symmetric"
898
mesh.MeshType = "FileMesh"
899
mesh.MeshId = "rbxassetid://619487063"
900
mesh.Parent = rh
901
local weld = Instance.new("Weld")
902
weld.Parent = rh
903
weld.Part0 = rh
904
weld.Part1 =char["Left Arm"]
905
weld.C0 = CFrame.new(0.05, 0.3, 0)*CFrame.Angles(0, 0, 0)
906
mesh.Scale = Vector3.new(0.006, 0.002, 0.01)
907
908
909
mse.KeyDown:connect(function(key)
910
    key = key:lower()
911
    if key == "k" then
912
yyd = CFuncs.Sound.Create("921051148")
913
yyd.TimePosition = 0.5
914
yyd.Volume = 7
915
 
916
 
917
bbgTl.Text = "Gimme a break."
918
wait(1)
919
TextFade()
920
end
921
    end
922
)
923
 
924
 
925
mse.KeyDown:connect(function(key)
926
    key = key:lower()
927
    if key == "n" then
928
929
 teme = CFuncs.Sound.Create("499396245")
930
teme.Volume = 7
931
bbgTl.Text = "You..!"
932
wait(1)
933
TextFade()
934
end
935
    end
936
)
937
 
938
 
939
mse.KeyDown:connect(function(key)
940
    key = key:lower()
941
    if key == "l" then
942
943
    kono = CFuncs.Sound.Create("645811027")
944
kono.Volume = 7
945
bbgTl.Text = "T-This power..!"
946
wait(1.5)
947
TextFade()
948
end
949
    end
950
)
951
 
952
 
953
mse.KeyDown:connect(function(key)
954
    key = key:lower()
955
    if key == "j" then
956
957
    kk = CFuncs.Sound.Create("1212328051")
958
kk.Volume = 7
959
bbgTl.Text = "You really p#ssed me off."
960
wait(2)
961
TextFade()
962
 
963
end
964
    end
965
)
966
mse.KeyDown:connect(function(key)
967
    key = key:lower()
968
    if key == "," and canworld == true then
969
970
 HOLYFUCKTHATSSOMEGOODMUSICDAMN:Pause()
971
  st1 = CFuncs.Sound.Create("873240542")
972
st1.Volume = 7
973
bbgTl.Text = "You truly are the lowest scum in history.."
974
wait(2.5)
975
TextFade()
976
wait(0.75)
977
st2 = CFuncs.Sound.Create("873240410")
978
st2.Volume = 7
979
bbgTl.Text = "The debt you owe.."
980
wait(0.5)
981
TextFade()
982
wait(0.5)
983
st3 = CFuncs.Sound.Create("1207959412")
984
st3.Volume = 7
985
bbgTl.Text = "can't be paid with money!"
986
--OBLIGITORY ORA
987
wait(2.4)
988
   
989
    TextFade()
990
HOLYFUCKTHATSSOMEGOODMUSICDAMN:Resume()
991
end
992
    end
993
)
994
 
995
mse.KeyDown:connect(function(key)
996
    key = key:lower()
997
    if key == "p" then
998
999
   jk = CFuncs.Sound.Create("1212328340")
1000
bbgTl.Text = "I will personally kick your [OOPS KID FRIENDLY SORRY]!"
1001
wait(4)
1002
TextFade()
1003
   
1004
end
1005
    end
1006
)
1007
1008
mse.KeyDown:connect(function(key)
1009
    key = key:lower()
1010
    if key == "h" and cooldown == false then
1011
1012
cooldown = true
1013
   judge = CFuncs.Sound.Create("1300588094")
1014
judge.Volume = 10
1015
bbgTl.Text = "I shall be the judge!"
1016
wait(0.5)
1017
1018
TextFade()
1019
judge:Destroy()
1020
   cooldown = false
1021
end
1022
    end
1023
)
1024
 
1025
mse.KeyDown:connect(function(key)
1026
    key = key:lower()
1027
    if key == "r" and cooldown == false then
1028
1029
cooldown = true
1030
   standjudge = CFuncs.Sound.Create("1300588094")
1031
standjudge.Volume = 10
1032
standjudge.TimePosition = 8.9
1033
bbgTl.Text = "Your judge.. will be my Stand!"
1034
wait(3)
1035
1036
TextFade()
1037
1038
   cooldown = false
1039
end
1040
    end
1041
)
1042
1043
mse.KeyDown:connect(function(key)
1044
    key = key:lower()
1045
    if key == ";" then
1046
1047
   wagh = CFuncs.Sound.Create("998999809")
1048
wagh.Volume = 10
1049
1050
bbgTl.Text = "*inaudible*"
1051
wait(2)
1052
TextFade()
1053
end
1054
    end
1055
)
1056
 
1057
mse.KeyDown:connect(function(key)
1058
    key = key:lower()
1059
    if key == "." then
1060
yaro = CFuncs.Sound.Create("869850439")
1061
yaro.Volume = 5
1062
bbgTl.Text = "You b#$+@rd!"
1063
wait(1.4)
1064
TextFade()
1065
    end
1066
    end)
1067
 
1068
 
1069
canworld = true
1070
mse.KeyDown:connect(function(key)
1071
    key = key:lower()
1072
    if key == "g" then
1073
        if canworld == false then return end
1074
        if canworld then
1075
        canworld = false
1076
 local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui)
1077
local ImageLabel = Instance.new("ImageLabel")
1078
 ImageLabel.Parent = ScreenGui
1079
                    ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
1080
                    ImageLabel.BackgroundTransparency = 1
1081
                    ImageLabel.Position = UDim2.new(0, 0, 0, 0)
1082
                    ImageLabel.Size = UDim2.new(0, 300, 0, 200)
1083
                    ImageLabel.Image = "rbxassetid://1562289224"
1084
for i = 1,10 do
1085
                        ImageLabel.Position = ImageLabel.Position - UDim2.new(0,25,0,15) + UDim2.new(0,math.random(-20,20),0,math.random(-20,20))
1086
                        ImageLabel.Size = ImageLabel.Size + UDim2.new(0,100,0,100)
1087
                        wait()
1088
                    end
1089
                    ScreenGui:remove()
1090
        sptw = CFuncs.Sound.Create("1515909034")
1091
        sptw.Volume = 8
1092
sptw.TimePosition = 0.05
1093
        bbgTl.Text = "Star Platinum: The World!"
1094
        wait(1.5)
1095
        lasers = CFuncs.Sound.Create("926382097")
1096
        lasers.Volume = 5
1097
       
1098
       HOLYFUCKTHATSSOMEGOODMUSICDAMN:Pause()
1099
       
1100
        wait(1.5)
1101
 
1102
       
1103
        local function weld(lol)
1104
            local weld = Instance.new("Weld", plr.Character.Torso)
1105
            weld.Part0 = plr.Character.Torso
1106
            weld.Part1 = lol
1107
            weld.C0 = plr.Character.Torso.CFrame:inverse()
1108
            weld.C1 = lol.CFrame:inverse()
1109
        end
1110
        wait()
1111
       
1112
            for i, v in pairs(game.Players:GetChildren()) do
1113
     h = v.Character:FindFirstChild("Head")
1114
            if h then
1115
                h.Anchored = true
1116
                plr.Character:FindFirstChild("Head").Anchored = false
1117
            end
1118
            t = v.Character:FindFirstChild("Torso")
1119
            if t then
1120
                t.Anchored = true
1121
                plr.Character:FindFirstChild("Torso").Anchored = false
1122
            end
1123
            RA = v.Character:FindFirstChild("Right Arm")
1124
            if RA then
1125
                RA.Anchored = true
1126
                plr.Character:FindFirstChild("Right Arm").Anchored = false
1127
            end
1128
            LA = v.Character:FindFirstChild("Left Arm")
1129
            if LA then
1130
                LA.Anchored = true
1131
                plr.Character:FindFirstChild("Left Arm").Anchored = false
1132
            end
1133
            RL = v.Character:FindFirstChild("Right Leg")
1134
            if RL then
1135
                RL.Anchored = true
1136
                plr.Character:FindFirstChild("Right Leg").Anchored = false
1137
            end
1138
            LL = v.Character:FindFirstChild("Left Leg")
1139
            if LL then
1140
                LL.Anchored = true
1141
                plr.Character:FindFirstChild("Left Leg").Anchored = false
1142
            end
1143
        end
1144
 
1145
     
1146
       
1147
       
1148
        game.Lighting.TimeOfDay="00:00:00"
1149
game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
1150
wait(0.1)
1151
game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
1152
wait(0.1)
1153
game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
1154
wait(0.1)
1155
game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
1156
wait(0.1)
1157
game.Lighting.OutdoorAmbient=Color3.new(255, 255, 355)
1158
        tiock = CFuncs.Sound.Create("627730102")
1159
        tiock.Looped = true
1160
 
1161
        --game.Debris:AddItem(cce, 5)
1162
 
1163
            wait()
1164
 
1165
            end
1166
        --wait(5)
1167
        bbgTl.Text = " "
1168
        wait(5)
1169
       
1170
1171
 
1172
tiock:Stop()
1173
    tokiu = CFuncs.Sound.Create("923033530")
1174
tokiu.Volume = 5
1175
    bbgTl.Text = "..Time resumes once again."
1176
    wait(1.5)
1177
    brmpbrmp = CFuncs.Sound.Create("757514877")
1178
brmpbrmp.Volume = 5
1179
        for i, v in pairs(game.Players:GetChildren()) do
1180
    h = v.Character:FindFirstChild("Head")
1181
            if h then
1182
                h.Anchored = false
1183
            end
1184
        t = v.Character:FindFirstChild("Torso")
1185
            if t then
1186
                t.Anchored = false
1187
            end
1188
            RA = v.Character:FindFirstChild("Right Arm")
1189
            if RA then
1190
                RA.Anchored = false
1191
            end
1192
            LA = v.Character:FindFirstChild("Left Arm")
1193
            if LA then
1194
                LA.Anchored = false
1195
            end
1196
            RL = v.Character:FindFirstChild("Right Leg")
1197
            if RL then
1198
                RL.Anchored = false
1199
            end
1200
            LL = v.Character:FindFirstChild("Left Leg")
1201
            if LL then
1202
                LL.Anchored = false
1203
            end
1204
        end
1205
 
1206
game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
1207
wait(0.1)
1208
game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
1209
wait(0.1)
1210
game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
1211
wait(0.1)
1212
game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
1213
 
1214
        game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
1215
        game.Lighting.TimeOfDay="15:00:00"
1216
       
1217
       canworld = true
1218
 HOLYFUCKTHATSSOMEGOODMUSICDAMN:Resume()
1219
 
1220
bbgTl.Text = " "
1221
end
1222
    end
1223
)
1224
 
1225
       function clerp(a,b,c,d)
1226
    for i = 0,d,.01 do
1227
        a.CFrame = CFrame.new(b:lerp(c,i))
1228
        wait()
1229
    end
1230
end
1231
function slerp(a2,b2,c2,d2)
1232
    for i2 = 0,d2,.01 do
1233
        a2.CFrame = CFrame.new(b2:lerp(c2,i2))
1234
        wait()
1235
    end
1236
end
1237
 part = nil
1238
cooldown = false
1239
Mouse.KeyDown:connect(function(key)
1240
    if key == "e" and part == nil and cooldown == false and canworld == true then
1241
    
1242
   game.Lighting.OutdoorAmbient=Color3.new(0,14,135)
1243
        game.Lighting.TimeOfDay="00:00:00"
1244
wait(0.000004)
1245
game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
1246
        game.Lighting.TimeOfDay="15:00:00"
1247
        plr.Character.Torso.CFrame = CFrame.new(Vector3.new(Mouse.hit.p.X,Mouse.hit.p.Y+1.5,Mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
1248
   bam = CFuncs.Sound.Create("872436640")
1249
bam.Volume = 10
1250
cooldown = true
1251
wait(1.1)
1252
bam:Destroy()
1253
cooldown = false
1254
 
1255
end
1256
end
1257
)  
1258
 
1259
  Effects = {}
1260
  local Player = game.Players.localPlayer
1261
  local Character = Player.Character
1262
  Character.Archivable = true
1263
  AdvancingFortress = Character:Clone()
1264
  AdvancingFortress.Parent = char
1265
  torso = AdvancingFortress.Torso
1266
  hum = AdvancingFortress.Humanoid
1267
  AdvancingFortress.Name = "Advancing Fortress"
1268
  pl = AdvancingFortress
1269
local FOrin = "rbxassetid://1561375999"
1270
AdvancingFortress.Head.face.Texture = FOrin
1271
 
1272
HOLYFUCKTHATSSOMEGOODMUSICDAMN = Instance.new("Sound", hum)
1273
HOLYFUCKTHATSSOMEGOODMUSICDAMN.SoundId = "rbxassetid://907949539"
1274
HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 7
1275
HOLYFUCKTHATSSOMEGOODMUSICDAMN.Looped = true
1276
 HOLYFUCKTHATSSOMEGOODMUSICDAMN:Play()
1277
muted = false
1278
1279
mse.KeyDown:connect(function(key)
1280
    key = key:lower()
1281
    if key == "t" and muted == false then
1282
1283
HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0
1284
muted = true
1285
end
1286
end)
1287
1288
1289
pl.Shirt:Remove()
1290
pl.Pants:Remove()
1291
 
1292
FShirt = Instance.new("Shirt", pl)
1293
FShirt.Name = "FShirt"
1294
FPants = Instance.new("Pants", pl)
1295
FPants.Name = "FPants"
1296
 pl.FShirt.ShirtTemplate = "rbxassetid://572240895"
1297
 pl.FPants.PantsTemplate = "rbxassetid://572240895"
1298
 
1299
 
1300
 
1301
Character["Advancing Fortress"].Hat3:Destroy()
1302
 
1303
 Character["Advancing Fortress"].Hat.Part.Transparency = 1
1304
Character["Advancing Fortress"].scarf.Part.Transparency = 1
1305
1306
  Character["Advancing Fortress"].boot1.Part.Transparency = 1
1307
Character["Advancing Fortress"].boot2.Part.Transparency = 1
1308
Character["Advancing Fortress"].glo1.Part.Transparency = 1
1309
Character["Advancing Fortress"].glo2.Part.Transparency = 1
1310
Character["Advancing Fortress"].rs.Part.Transparency = 1
1311
Character["Advancing Fortress"].ls.Part.Transparency = 1
1312
Character["Advancing Fortress"].cloth.Part.Transparency = 1
1313
Character["Advancing Fortress"].ear1.Part.Transparency = 1
1314
Character["Advancing Fortress"].ear2.Part.Transparency = 1
1315
Character["Advancing Fortress"].belt.Part.Transparency = 1
1316
Character["Advancing Fortress"].belt2.Part.Transparency = 1
1317
Character["Advancing Fortress"].belt3.Part.Transparency = 1
1318
Character["Advancing Fortress"].cloth2.Part.Transparency = 1
1319
Character["Advancing Fortress"].gr.Part.Transparency = 1
1320
Character["Advancing Fortress"].gl.Part.Transparency = 1
1321
Character["Advancing Fortress"].ap1.Part.Transparency = 1
1322
Character["Advancing Fortress"].ap2.Part.Transparency = 1
1323
Character["Advancing Fortress"].ap3.Part.Transparency = 1
1324
Character["Advancing Fortress"].ap4.Part.Transparency = 1
1325
Character["Advancing Fortress"].glo1B.Part.Transparency = 1
1326
Character["Advancing Fortress"].glo2B.Part.Transparency = 1
1327
Character["Advancing Fortress"].ap5.Part.Transparency = 1
1328
Character["Advancing Fortress"].ap6.Part.Transparency = 1
1329
Character["Advancing Fortress"].circ1.Part.Transparency = 1
1330
Character["Advancing Fortress"].circ2.Part.Transparency = 1
1331
Character["Advancing Fortress"].circ3.Part.Transparency = 1
1332
Character["Advancing Fortress"].circ4.Part.Transparency = 1
1333
Character["Advancing Fortress"].muscle.Part.Transparency = 1
1334
AdvancingFortress.Head.face.Transparency = 1
1335
 
1336
 
1337
Character.Hat:Destroy()
1338
 Character.boot1:Destroy()
1339
Character.boot2:Destroy()
1340
Character.glo1:Destroy()
1341
Character.glo2:Destroy()
1342
Character.scarf:Destroy()
1343
Character.cloth:Destroy()
1344
Character.rs:Destroy()
1345
Character.ls:Destroy()
1346
Character.ear1:Destroy()
1347
Character.ear2:Destroy()
1348
Character.belt:Destroy()
1349
Character.belt2:Destroy()
1350
Character.belt3:Destroy()
1351
Character.cloth2:Destroy()
1352
Character.ap1:Destroy()
1353
Character.ap2:Destroy()
1354
Character.ap3:Destroy()
1355
Character.ap4:Destroy()
1356
Character.muscle:Destroy()
1357
Character.circ1:Destroy()
1358
Character.circ2:Destroy()
1359
Character.circ3:Destroy()
1360
Character.circ4:Destroy()
1361
Character.gr:Destroy()
1362
Character.gl:Destroy()
1363
Character.ap5:Destroy()
1364
 Character.ap6:Destroy()
1365
Character.glo1B:Destroy()
1366
Character.glo2B:Destroy()
1367
  for i, v in pairs(AdvancingFortress:GetChildren()) do
1368
    if v:IsA("BasePart") then
1369
      v.Transparency = 1
1370
      end
1371
    end
1372
 
1373
 
1374
 
1375
 
1376
  local Humanoid = AdvancingFortress.Humanoid
1377
  local Mouse = Player:GetMouse()
1378
  local LeftArm = AdvancingFortress["Left Arm"]
1379
  local RightArm = AdvancingFortress["Right Arm"]
1380
  local LeftLeg = AdvancingFortress["Left Leg"]
1381
  local RightLeg = AdvancingFortress["Right Leg"]
1382
  local Head = AdvancingFortress.Head
1383
  local Torso = AdvancingFortress.Torso
1384
  local Camera = game.Workspace.CurrentCamera
1385
  local RootPart = AdvancingFortress.HumanoidRootPart
1386
  local RootJoint = RootPart.RootJoint
1387
  local attack = false
1388
  local Anim = "Idle"
1389
  local attacktype = 1
1390
  local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
1391
  local velocity = RootPart.Velocity.y
1392
  local sine = 0
1393
  local change = 1
1394
  local Create = LoadLibrary("RbxUtility").Create
1395
  local TimeStop = false
1396
  local m = Create("Model")({
1397
    Parent = AdvancingFortress,
1398
    Name = "WeaponModel"
1399
  })
1400
 
1401
  AdvancingFortress.Head.Name = "FHead"
1402
  AdvancingFortress.Torso.Name = "FTorso"
1403
  AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
1404
  Humanoid.Animator.Parent = nil
1405
  AdvancingFortress.Animate.Parent = nil
1406
  local function newMotor(part0, part1, c0, c1)
1407
    local w = Create("Weld")({
1408
      Parent = part0,
1409
      Part0 = part0,
1410
      Part1 = part1,
1411
      C0 = c0,
1412
      C1 = c1
1413
    })
1414
    return w
1415
  end
1416
  function clerp(a, b, t)
1417
    return a:lerp(b, t)
1418
  end
1419
 
1420
  RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
1421
  NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
1422
  local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
1423
  local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
1424
  local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
1425
  local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
1426
  RootJoint.C1 = CFrame.new(0, 0, 0)
1427
  RootJoint.C0 = CFrame.new(0, 0, 0)
1428
  Torso.Neck.C1 = CFrame.new(0, 0, 0)
1429
  Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
1430
  local rarmc1 = RW.C1
1431
  local larmc1 = LW.C1
1432
  local rlegc1 = RH.C1
1433
  local llegc1 = LH.C1
1434
  local resetc1 = false
1435
  function PlayAnimationFromTable(table, speed, bool)
1436
    RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
1437
    Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
1438
    RW.C0 = clerp(RW.C0, table[3], speed)
1439
    LW.C0 = clerp(LW.C0, table[4], speed)
1440
    RH.C0 = clerp(RH.C0, table[5], speed)
1441
    LH.C0 = clerp(LH.C0, table[6], speed)
1442
    if bool == true and resetc1 == false then
1443
      resetc1 = true
1444
      RootJoint.C1 = RootJoint.C1
1445
      Torso.Neck.C1 = Torso.Neck.C1
1446
      RW.C1 = rarmc1
1447
      LW.C1 = larmc1
1448
      RH.C1 = rlegc1
1449
      LH.C1 = llegc1
1450
    end
1451
  end
1452
  ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
1453
  script:WaitForChild("Heartbeat")
1454
  frame = 0.03333333333333333
1455
  tf = 0
1456
  allowframeloss = false
1457
  tossremainder = false
1458
  lastframe = tick()
1459
  script.Heartbeat:Fire()
1460
  game:GetService("RunService").Heartbeat:connect(function(s, p)
1461
    tf = tf + s
1462
    if tf >= frame then
1463
      if allowframeloss then
1464
        script.Heartbeat:Fire()
1465
        lastframe = tick()
1466
      else
1467
        for i = 1, math.floor(tf / frame) do
1468
          script.Heartbeat:Fire()
1469
        end
1470
        lastframe = tick()
1471
      end
1472
      if tossremainder then
1473
        tf = 0
1474
      else
1475
        tf = tf - frame * math.floor(tf / frame)
1476
      end
1477
    end
1478
  end)
1479
  function swait(num)
1480
    if num == 0 or num == nil then
1481
      ArtificialHB.Event:wait()
1482
    else
1483
      for i = 0, num do
1484
        ArtificialHB.Event:wait()
1485
      end
1486
    end
1487
  end
1488
  function RemoveOutlines(part)
1489
    part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
1490
  end
1491
  CFuncs = {
1492
    Part = {
1493
      Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
1494
        local Part = Create("Part")({
1495
          Parent = Parent,
1496
          Reflectance = Reflectance,
1497
          Transparency = Transparency,
1498
          CanCollide = false,
1499
          Locked = true,
1500
          BrickColor = BrickColor.new(tostring(BColor)),
1501
          Name = Name,
1502
          Size = Size,
1503
          Material = Material
1504
        })
1505
        RemoveOutlines(Part)
1506
        return Part
1507
      end
1508
    },
1509
    Mesh = {
1510
      Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
1511
        local Msh = Create(Mesh)({
1512
          Parent = Part,
1513
          Offset = OffSet,
1514
          Scale = Scale
1515
        })
1516
        if Mesh == "SpecialMesh" then
1517
          Msh.MeshType = MeshType
1518
          Msh.MeshId = MeshId
1519
        end
1520
        return Msh
1521
      end
1522
    },
1523
    Weld = {
1524
      Create = function(Parent, Part0, Part1, C0, C1)
1525
        local Weld = Create("Weld")({
1526
          Parent = Parent,
1527
          Part0 = Part0,
1528
          Part1 = Part1,
1529
          C0 = C0,
1530
          C1 = C1
1531
        })
1532
        return Weld
1533
      end
1534
    },
1535
    Sound = {
1536
      Create = function(id, par, vol, pit)
1537
        local Sound = Create("Sound")({
1538
          Volume = vol,
1539
          Pitch = pit or 1,
1540
          SoundId = "rbxassetid://" .. id,
1541
          Parent = par or workspace
1542
        })
1543
        Sound:play()
1544
        game:GetService("Debris"):AddItem(Sound, 130)
1545
        return Sound
1546
      end
1547
    },
1548
    Decal = {
1549
      Create = function(Color, Texture, Transparency, Name, Parent)
1550
        local Decal = Create("Decal")({
1551
          Color3 = Color,
1552
          Texture = "rbxassetid://" .. Texture,
1553
          Transparency = Transparency,
1554
          Name = Name,
1555
          Parent = Parent
1556
        })
1557
        return Decal
1558
      end
1559
    },
1560
    BillboardGui = {
1561
      Create = function(Parent, Image, Position, Size)
1562
        local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
1563
        BillPar.CFrame = CFrame.new(Position)
1564
        local Bill = Create("BillboardGui")({
1565
          Parent = BillPar,
1566
          Adornee = BillPar,
1567
          Size = UDim2.new(1, 0, 1, 0),
1568
          SizeOffset = Vector2.new(Size, Size)
1569
        })
1570
        local d = Create("ImageLabel", Bill)({
1571
          Parent = Bill,
1572
          BackgroundTransparency = 1,
1573
          Size = UDim2.new(1, 0, 1, 0),
1574
          Image = "rbxassetid://" .. Image
1575
        })
1576
        return BillPar
1577
      end
1578
    },
1579
    ParticleEmitter = {
1580
      Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
1581
        local Particle = Create("ParticleEmitter")({
1582
          Parent = Parent,
1583
          Color = ColorSequence.new(Color1, Color2),
1584
          LightEmission = LightEmission,
1585
          Size = Size,
1586
          Texture = Texture,
1587
          Transparency = Transparency,
1588
          ZOffset = ZOffset,
1589
          Acceleration = Accel,
1590
          Drag = Drag,
1591
          LockedToPart = LockedToPart,
1592
          VelocityInheritance = VelocityInheritance,
1593
          EmissionDirection = EmissionDirection,
1594
          Enabled = Enabled,
1595
          Lifetime = LifeTime,
1596
          Rate = Rate,
1597
          Rotation = Rotation,
1598
          RotSpeed = RotSpeed,
1599
          Speed = Speed,
1600
          VelocitySpread = VelocitySpread
1601
        })
1602
        return Particle
1603
      end
1604
    },
1605
    CreateTemplate = {}
1606
  }
1607
  function rayCast(Position, Direction, Range, Ignore)
1608
    return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
1609
  end
1610
  function FindNearestTorso(pos)
1611
    local list = game.Workspace:children()
1612
    local torso
1613
    local dist = 1000
1614
    local temp, human, temp2
1615
    for x = 1, #list do
1616
      temp2 = list[x]
1617
      if temp2.className == "Model" and temp2.Name ~= Character.Name then
1618
        temp = temp2:findFirstChild("Torso")
1619
        human = temp2:findFirstChild("Humanoid")
1620
        if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
1621
          local dohit = true
1622
          if dohit == true then
1623
            torso = temp
1624
            dist = (temp.Position - pos).magnitude
1625
          end
1626
        end
1627
      end
1628
    end
1629
    return torso, dist
1630
  end
1631
  function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
1632
    if hit.Parent == nil then
1633
      return
1634
    end
1635
    local h = hit.Parent:FindFirstChild("Humanoid")
1636
    for _, v in pairs(hit.Parent:children()) do
1637
      if v:IsA("Humanoid") then
1638
        h = v
1639
      end
1640
    end
1641
 
1642
    if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
1643
      if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
1644
        return
1645
      end
1646
      local c = Create("ObjectValue")({
1647
        Name = "creator",
1648
        Value = game:service("Players").LocalPlayer,
1649
        Parent = h
1650
      })
1651
      game:GetService("Debris"):AddItem(c, 0.5)
1652
      CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
1653
      local Damage = math.random(minim, maxim)
1654
      local blocked = false
1655
      local block = hit.Parent:findFirstChild("Block")
1656
      if block ~= nil and block.className == "IntValue" and block.Value > 0 then
1657
        blocked = true
1658
        block.Value = block.Value - 1
1659
        print(block.Value)
1660
      end
1661
 
1662
      if canworld == true then
1663
        h.Health = h.Health - Damage
1664
        ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light blue").Color)
1665
      elseif canworld == false then
1666
        repeat
1667
          wait()
1668
        until canworld == true
1669
        h.Health = h.Health - Damage
1670
        ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light blue").Color)
1671
      end
1672
      if Type == "Knockdown" then
1673
        local hum = hit.Parent.Humanoid
1674
        hum.PlatformStand = true
1675
        coroutine.resume(coroutine.create(function(HHumanoid)
1676
          swait(1)
1677
          HHumanoid.PlatformStand = false
1678
        end), hum)
1679
        local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
1680
        local bodvol = Create("BodyVelocity")({
1681
          velocity = angle * knockback,
1682
          P = 5000,
1683
          maxForce = Vector3.new(8000, 8000, 8000),
1684
          Parent = hit
1685
        })
1686
        local rl = Create("BodyAngularVelocity")({
1687
          P = 3000,
1688
          maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
1689
          angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
1690
          Parent = hit
1691
        })
1692
        game:GetService("Debris"):AddItem(bodvol, 0.5)
1693
        game:GetService("Debris"):AddItem(rl, 0.5)
1694
      elseif Type == "Normal" then
1695
        local vp = Create("BodyVelocity")({
1696
          P = 500,
1697
          maxForce = Vector3.new(math.huge, 0, math.huge),
1698
          velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
1699
        })
1700
        if knockback > 0 then
1701
          vp.Parent = hit.Parent.Torso
1702
        end
1703
        game:GetService("Debris"):AddItem(vp, 0.5)
1704
      elseif Type == "Up" then
1705
        local bodyVelocity = Create("BodyVelocity")({
1706
          velocity = Vector3.new(0, 20, 0),
1707
          P = 5000,
1708
          maxForce = Vector3.new(8000, 8000, 8000),
1709
          Parent = hit
1710
        })
1711
        game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
1712
      elseif Type == "DarkUp" then
1713
        coroutine.resume(coroutine.create(function()
1714
          for i = 0, 1, 0.1 do
1715
            swait()
1716
            Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
1717
          end
1718
        end))
1719
        local bodyVelocity = Create("BodyVelocity")({
1720
          velocity = Vector3.new(0, 20, 0),
1721
          P = 5000,
1722
          maxForce = Vector3.new(8000, 8000, 8000),
1723
          Parent = hit
1724
        })
1725
        game:GetService("Debris"):AddItem(bodyVelocity, 1)
1726
      elseif Type == "Snare" then
1727
        local bp = Create("BodyPosition")({
1728
          P = 2000,
1729
          D = 100,
1730
          maxForce = Vector3.new(math.huge, math.huge, math.huge),
1731
          position = hit.Parent.Torso.Position,
1732
          Parent = hit.Parent.Torso
1733
        })
1734
        game:GetService("Debris"):AddItem(bp, 1)
1735
      elseif Type == "Freeze" then
1736
        local BodPos = Create("BodyPosition")({
1737
          P = 50000,
1738
          D = 1000,
1739
          maxForce = Vector3.new(math.huge, math.huge, math.huge),
1740
          position = hit.Parent.Torso.Position,
1741
          Parent = hit.Parent.Torso
1742
        })
1743
        local BodGy = Create("BodyGyro")({
1744
          maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
1745
          P = 20000,
1746
          Parent = hit.Parent.Torso,
1747
          cframe = hit.Parent.Torso.CFrame
1748
        })
1749
        hit.Parent.Torso.Anchored = true
1750
        coroutine.resume(coroutine.create(function(Part)
1751
          swait(1.5)
1752
          Part.Anchored = false
1753
        end), hit.Parent.Torso)
1754
        game:GetService("Debris"):AddItem(BodPos, 3)
1755
        game:GetService("Debris"):AddItem(BodGy, 3)
1756
      end
1757
      local debounce = Create("BoolValue")({
1758
        Name = "DebounceHit",
1759
        Parent = hit.Parent,
1760
        Value = true
1761
      })
1762
      game:GetService("Debris"):AddItem(debounce, Delay)
1763
      c = Create("ObjectValue")({
1764
        Name = "creator",
1765
        Value = Player,
1766
        Parent = h
1767
      })
1768
      game:GetService("Debris"):AddItem(c, 0.5)
1769
    end
1770
  end
1771
  function ShowDamage(Pos, Text, Time, Color)
1772
    local Rate = 0.03333333333333333
1773
    local Pos = Pos or Vector3.new(0, 0, 0)
1774
    local Text = Text or ""
1775
    local Time = Time or 2
1776
    local Color = Color or Color3.new(1, 0, 1)
1777
    local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
1778
    EffectPart.Anchored = true
1779
    local BillboardGui = Create("BillboardGui")({
1780
      Size = UDim2.new(3, 0, 3, 0),
1781
      Adornee = EffectPart,
1782
      Parent = EffectPart
1783
    })
1784
    local TextLabel = Create("TextLabel")({
1785
      BackgroundTransparency = 1,
1786
      Size = UDim2.new(1, 0, 1, 0),
1787
      Text = Text,
1788
      Font = "SciFi",
1789
      TextColor3 = Color,
1790
      TextScaled = true,
1791
      Parent = BillboardGui
1792
    })
1793
    game.Debris:AddItem(EffectPart, Time)
1794
    EffectPart.Parent = game:GetService("Workspace")
1795
    delay(0, function()
1796
      local Frames = Time / Rate
1797
      for Frame = 1, Frames do
1798
        wait(Rate)
1799
        local Percent = Frame / Frames
1800
        EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
1801
        TextLabel.TextTransparency = Percent
1802
      end
1803
      if EffectPart and EffectPart.Parent then
1804
        EffectPart:Destroy()
1805
      end
1806
    end)
1807
  end
1808
  local STDamage = false
1809
  function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
1810
    for _, c in pairs(workspace:children()) do
1811
      local hum = c:findFirstChild("Humanoid")
1812
      if hum ~= nil then
1813
        local head = c:findFirstChild("Torso")
1814
        if head ~= nil then
1815
          local targ = head.Position - Part.Position
1816
          local mag = targ.magnitude
1817
          if Magnitude >= mag and c.Name ~= Player.Name then
1818
            Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
1819
            if STDamage == true then
1820
              for i = 1, 3 do
1821
                Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
1822
              end
1823
              for i = 1, 10 do
1824
                CamShake(1, 70000)
1825
                Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
1826
              end
1827
             
1828
            elseif STDamage == false then
1829
              CamShake(1, 90000)
1830
              Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
1831
              for i = 1, 2 do
1832
                Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
1833
 
1834
                end
1835
              end
1836
            end
1837
          end
1838
        end
1839
      end
1840
    end
1841
 
1842
 
1843
 
1844
 
1845
  HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
1846
  HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663E-8, 0.707106411, -8.19564079E-8, 1.00000119, -1.41561088E-7, -0.707106352, 1.38630043E-7, -0.707107484))
1847
  ----
1848
  THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
1849
  THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
1850
  ----
1851
  AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
1852
  AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
1853
 
1854
  
1855
 
1856
  HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
1857
  HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
1858
  ----
1859
  AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
1860
  AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918E-5, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
1861
 
1862
  HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
1863
  HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
1864
 
1865
  
1866
  ----
1867
  LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
1868
  LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
1869
 
1870
  
1871
 ----
1872
  LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
1873
  LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
1874
 
1875
  
1876
 ----  
1877
  Shield = CFuncs.Part.Create(m, "Neon", 0, 1, "Really black", "Part", Vector3.new(9.1, 8.5, 0.2))
1878
 
1879
  Shield.Parent = nil
1880
  EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
1881
  Effects = {
1882
    Block = {
1883
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
1884
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1885
        prt.Anchored = true
1886
        prt.CFrame = cframe
1887
        local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1888
        game:GetService("Debris"):AddItem(prt, 10)
1889
        if Type == 1 or Type == nil then
1890
          table.insert(Effects, {
1891
            prt,
1892
            "Block1",
1893
            delay,
1894
            x3,
1895
            y3,
1896
            z3,
1897
            msh
1898
          })
1899
        elseif Type == 2 then
1900
          table.insert(Effects, {
1901
            prt,
1902
            "Block2",
1903
            delay,
1904
            x3,
1905
            y3,
1906
            z3,
1907
            msh
1908
          })
1909
        end
1910
      end
1911
    },
1912
    Cylinder = {
1913
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1914
        local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
1915
        prt.Anchored = true
1916
        prt.CFrame = cframe
1917
        local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1918
        game:GetService("Debris"):AddItem(prt, 2)
1919
        Effects[#Effects + 1] = {
1920
          prt,
1921
          "Cylinder",
1922
          delay,
1923
          x3,
1924
          y3,
1925
          z3
1926
        }
1927
      end
1928
    },
1929
    Head = {
1930
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1931
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1932
        prt.Anchored = true
1933
        prt.CFrame = cframe
1934
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1935
        game:GetService("Debris"):AddItem(prt, 10)
1936
        table.insert(Effects, {
1937
          prt,
1938
          "Cylinder",
1939
          delay,
1940
          x3,
1941
          y3,
1942
          z3,
1943
          msh
1944
        })
1945
      end
1946
    },
1947
    Sphere = {
1948
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1949
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1950
        prt.Anchored = true
1951
        prt.CFrame = cframe
1952
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1953
        game:GetService("Debris"):AddItem(prt, 10)
1954
        table.insert(Effects, {
1955
          prt,
1956
          "Cylinder",
1957
          delay,
1958
          x3,
1959
          y3,
1960
          z3,
1961
          msh
1962
        })
1963
      end
1964
    },
1965
    Sphere2 = {
1966
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
1967
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
1968
        prt.Anchored = true
1969
        prt.CFrame = cframe
1970
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
1971
        game:GetService("Debris"):AddItem(prt, 10)
1972
        table.insert(Effects, {
1973
          prt,
1974
          "Cylinder",
1975
          delay,
1976
          x3,
1977
          y3,
1978
          z3,
1979
          msh
1980
        })
1981
      end
1982
    },
1983
    Elec = {
1984
      Create = function(cff, x, y, z)
1985
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Light blue"), "Part", Vector3.new(1, 1, 1))
1986
        prt.Anchored = true
1987
        prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
1988
        prt.CFrame = CFrame.new(prt.Position)
1989
        game:GetService("Debris"):AddItem(prt, 2)
1990
        local xval = math.random() / 2
1991
        local yval = math.random() / 2
1992
        local zval = math.random() / 2
1993
        local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
1994
        table.insert(Effects, {
1995
          prt,
1996
          "Elec",
1997
          0.1,
1998
          x,
1999
          y,
2000
          z,
2001
          xval,
2002
          yval,
2003
          zval
2004
        })
2005
      end
2006
    },
2007
    Ring = {
2008
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2009
        local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2010
        prt.Anchored = true
2011
        prt.CFrame = cframe
2012
        local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2013
        game:GetService("Debris"):AddItem(prt, 10)
2014
        table.insert(Effects, {
2015
          prt,
2016
          "Cylinder",
2017
          delay,
2018
          x3,
2019
          y3,
2020
          z3,
2021
          msh
2022
        })
2023
      end
2024
    },
2025
    Wave = {
2026
      Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
2027
        local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
2028
        prt.Anchored = true
2029
        prt.CFrame = cframe
2030
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2031
        game:GetService("Debris"):AddItem(prt, 10)
2032
        table.insert(Effects, {
2033
          prt,
2034
          "Cylinder",
2035
          delay,
2036
          x3,
2037
          y3,
2038
          z3,
2039
          msh
2040
        })
2041
      end
2042
    },
2043
    Break = {
2044
      Create = function(brickcolor, cframe, x1, y1, z1)
2045
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
2046
        prt.Anchored = true
2047
        prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
2048
        local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2049
        local num = math.random(10, 50) / 1000
2050
        game:GetService("Debris"):AddItem(prt, 10)
2051
        table.insert(Effects, {
2052
          prt,
2053
          "Shatter",
2054
          num,
2055
          prt.CFrame,
2056
          math.random() - math.random(),
2057
          0,
2058
          math.random(50, 100) / 100
2059
        })
2060
      end
2061
    },
2062
    Fire = {
2063
      Create = function(brickcolor, cframe, x1, y1, z1, delay)
2064
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
2065
        prt.Anchored = true
2066
        prt.CFrame = cframe
2067
        msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2068
        game:GetService("Debris"):AddItem(prt, 10)
2069
        table.insert(Effects, {
2070
          prt,
2071
          "Fire",
2072
          delay,
2073
          1,
2074
          1,
2075
          1,
2076
          msh
2077
        })
2078
      end
2079
    },
2080
    FireWave = {
2081
      Create = function(brickcolor, cframe, x1, y1, z1)
2082
        local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
2083
        prt.Anchored = true
2084
        prt.CFrame = cframe
2085
        msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
2086
        local d = Create("Decal")({
2087
          Parent = prt,
2088
          Texture = "rbxassetid://26356434",
2089
          Face = "Top"
2090
        })
2091
        local d = Create("Decal")({
2092
          Parent = prt,
2093
          Texture = "rbxassetid://26356434",
2094
          Face = "Bottom"
2095
        })
2096
        game:GetService("Debris"):AddItem(prt, 10)
2097
        table.insert(Effects, {
2098
          prt,
2099
          "FireWave",
2100
          1,
2101
          30,
2102
          math.random(400, 600) / 100,
2103
          msh
2104
        })
2105
      end
2106
    },
2107
    Lightning = {
2108
      Create = function(p0, p1, tym, ofs, col, th, tra, last)
2109
        local magz = (p0 - p1).magnitude
2110
        local curpos = p0
2111
        local trz = {
2112
          -ofs,
2113
          ofs
2114
        }
2115
        for i = 1, tym do
2116
          local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
2117
          local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
2118
          local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
2119
          li.Material = "Neon"
2120
          if tym == i then
2121
            local magz2 = (curpos - p1).magnitude
2122
            li.Size = Vector3.new(th, th, magz2)
2123
            li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
2124
            table.insert(Effects, {
2125
              li,
2126
              "Disappear",
2127
              last
2128
            })
2129
          else
2130
            li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
2131
            curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
2132
            game.Debris:AddItem(li, 10)
2133
            table.insert(Effects, {
2134
              li,
2135
              "Disappear",
2136
              last
2137
            })
2138
          end
2139
        end
2140
      end
2141
    },
2142
    EffectTemplate = {}
2143
  }
2144
  local Invisible = true
2145
  function Reappear()
2146
    for _, i in pairs(AdvancingFortress:children()) do
2147
      if i:IsA("BasePart") then
2148
        coroutine.resume(coroutine.create(function(Part)
2149
          for i = 0, 1, 0.3 do
2150
            swait()
2151
            Part.Transparency = -i
2152
          end
2153
          Part.Transparency = 0
2154
        end), i)
2155
      end
2156
    end
2157
    for _, i in pairs(m:children()) do
2158
      if i:IsA("BasePart") then
2159
        coroutine.resume(coroutine.create(function(Part)
2160
          for i = 0, 1, 0.3 do
2161
            swait()
2162
            Part.Transparency = i
2163
          end
2164
          Part.Transparency = 0
2165
        end), i)
2166
      end
2167
    end
2168
  end
2169
  function ReappearArmorOnly()
2170
    for _, i in pairs(m:children()) do
2171
      if i:IsA("BasePart") then
2172
        coroutine.resume(coroutine.create(function(Part)
2173
          for i = 0, 1, 0.3 do
2174
            swait()
2175
            Part.Transparency = i
2176
          end
2177
          Part.Transparency = 0
2178
        end), i)
2179
      end
2180
    end
2181
  end
2182
  function Disappear()
2183
    for _, i in pairs(AdvancingFortress:children()) do
2184
      if i:IsA("BasePart") then
2185
        coroutine.resume(coroutine.create(function(Part)
2186
          for i = 0, 1, 0.3 do
2187
            swait()
2188
            Part.Transparency = i
2189
          end
2190
          Part.Transparency = 1
2191
        end), i)
2192
      end
2193
    end
2194
    for _, i in pairs(m:children()) do
2195
      if i:IsA("BasePart") then
2196
        coroutine.resume(coroutine.create(function(Part)
2197
          for i = 0, 1, 0.3 do
2198
            swait()
2199
            Part.Transparency = i
2200
          end
2201
          Part.Transparency = 1
2202
        end), i)
2203
      end
2204
    end
2205
  end
2206
  function DisappearArmorOnly()
2207
    for _, i in pairs(m:children()) do
2208
      if i:IsA("BasePart") then
2209
        coroutine.resume(coroutine.create(function(Part)
2210
          for i = 0, 1, 0.3 do
2211
            swait()
2212
            Part.Transparency = i
2213
          end
2214
          Part.Transparency = 1
2215
        end), i)
2216
      end
2217
    end
2218
  end
2219
  function CamShake(time, freq)
2220
    coroutine.resume(coroutine.create(function()
2221
      local cam = game:GetService("Workspace").CurrentCamera
2222
      local time = 10
2223
      local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
2224
      if math.random(1, 2) == 1 then
2225
        seed = Vector3.new(-seed.x, seed.y, 0)
2226
      end
2227
      if math.random(1, 2) == 1 then
2228
        seed = Vector3.new(seed.x, -seed.y, 0)
2229
      end
2230
      cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
2231
      for i = 1, time do
2232
        cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
2233
        wait()
2234
      end
2235
    end))
2236
  end
2237
mse.KeyDown:connect(function(key)
2238
    key = key:lower()
2239
    if key == "q" and Invisible == false then
2240
canworld = true
2241
   sf =  CFuncs.Sound.Create("1125531635")
2242
sf.Volume = 10
2243
wait(1.5)
2244
sf:Destroy()
2245
end
2246
    end
2247
)
2248
local bigg = false
2249
function PE()
2250
    pep = Instance.new("ParticleEmitter")
2251
    pep.Name = "pep"
2252
    pep.Lifetime = NumberRange.new(1)
2253
    pep.Rate = 5
2254
    pep.Texture = "rbxassetid://298768656"
2255
    pep.VelocitySpread = 60
2256
    pep.Parent = char.Head
2257
end
2258
  local ora = false
2259
  function ORA()
2260
    attack = true
2261
    local S = CFuncs.Sound.Create("627578508", Torso, 1, 1)
2262
    S.Volume = 10
2263
S.Looped = true
2264
    if ora == true then
2265
      while ora == true do
2266
        CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
2267
        MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
2268
        for i = 0, 1, 0.8 do
2269
          swait()
2270
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
2271
          PlayAnimationFromTable({
2272
            CFrame.new(-0.561874092, -0.346845925, -0.435822666, 0.64278698, -0.323744029, 0.694272816, 0, 0.906308115, 0.422617555, -0.766044974, -0.271653026, 0.582563102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2273
            CFrame.new(8.9481473E-6, 1.49999249, 5.2684918E-6, 0.704669476, 0.0560214818, -0.707321048, -0.0868221819, 0.996195257, -0.0075956285, 0.704204142, 0.0667634308, 0.706852198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2274
            CFrame.new(1.97048378, 0.808467984, -0.254994273, -0.457079947, -0.7819345, 0.423859, 0.842444837, -0.227779076, 0.488266319, -0.285246044, 0.580254436, 0.762849629) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2275
            CFrame.new(-1.18535733, 0.530705392, -0.713678956, 0.778861284, -0.400152355, 0.482962847, 0.492400557, -0.0868335962, -0.866026342, 0.388479888, 0.912325621, 0.129403993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2276
            CFrame.new(0.708622813, -1.45549953, -0.199998885, 0.984808087, -0.167729571, -0.0449446738, 0.173646823, 0.951251328, 0.254887581, 1.4603138E-6, -0.258819878, 0.965925694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2277
            CFrame.new(-0.604502141, -1.943735, 5.15520573E-4, 0.982544005, 0.00845471025, 0.185841322, -0.0717865527, 0.938827574, 0.336824685, -0.17162481, -0.34428525, 0.923045695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2278
          }, 0.8, false)
2279
        end
2280
        CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
2281
        MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
2282
        for i = 0, 1, 0.8 do
2283
          swait()
2284
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
2285
          PlayAnimationFromTable({
2286
            CFrame.new(1.1920929E-6, -0.0170394331, -0.52941519, 0.70710516, -2.21270369E-7, -0.707108498, 0.18301405, 0.965925574, 0.183012888, 0.683014154, -0.258820117, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2287
            CFrame.new(-1.22189522E-6, 1.49999356, 1.04308128E-6, 0.707110465, 0.122788236, 0.696360528, -1.4748274E-6, 0.98480773, -0.173648238, -0.707103193, 0.122787461, 0.696368098) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2288
            CFrame.new(1.44562268, 0.333473027, -0.475224167, 0.907739162, 0.217196256, 0.358959734, 0.40125221, -0.199453548, -0.893991232, -0.122576535, 0.955528319, -0.268199235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2289
            CFrame.new(-1.884794, 0.881342709, -0.770847201, 0.0912726, 0.688403964, -0.719562054, -0.91795665, -0.221949756, -0.328776807, -0.386037856, 0.690535009, 0.611666858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2290
            CFrame.new(0.789779902, -1.8586235, 0.161380947, 0.965926766, -0.258817255, -8.10623169E-6, 0.243211254, 0.907672405, 0.342022836, -0.0885141194, -0.330371499, 0.939691722) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2291
            CFrame.new(-0.73783946, -1.45406294, -0.215006173, 0.882573366, -0.0180292428, 0.469829261, -0.163172901, 0.925412893, 0.342031717, -0.440952569, -0.378531486, 0.813802838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2292
          }, 0.8, false)
2293
        end
2294
        CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
2295
        MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
2296
        for i = 0, 1, 0.8 do
2297
          swait()
2298
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
2299
          PlayAnimationFromTable({
2300
            CFrame.new(0.215482175, -0.0393944569, -0.126133978, 0.259671897, -0.351393819, 0.8994959, -0.075478971, 0.921212733, 0.381667405, -0.962742627, -0.167001322, 0.212690249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2301
            CFrame.new(-1.26510859E-5, 1.49999118, -2.16066837E-7, 0.420251548, -0.0215960592, -0.90715003, -0.100918382, 0.992402375, -0.0703775883, 0.901778162, 0.12112467, 0.414879382) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2302
            CFrame.new(1.81840861, 0.705381036, -0.347923756, -0.236346364, -0.883376777, 0.404705286, 0.945798516, -0.113677993, 0.304209948, -0.222726092, 0.454668403, 0.862362981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2303
            CFrame.new(-1.21960759, 0.420275182, -0.728423595, -0.57802856, -0.255150676, 0.775100708, 0.665436089, -0.697164714, 0.266751111, 0.472311139, 0.669969678, 0.572767615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2304
            CFrame.new(0.620917439, -1.53014767, -0.12091887, 0.707106113, 0.241845652, -0.66446346, -1.2293458E-6, 0.939692676, 0.342019886, 0.707107484, -0.241843566, 0.664462805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2305
            CFrame.new(-0.873213649, -1.89646459, -0.100004375, 0.933012128, 0.353242815, -0.0686147735, -0.258823931, 0.791241407, 0.554028153, 0.249997303, -0.499155849, 0.829665601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2306
          }, 0.8, false)
2307
        end
2308
        CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
2309
        MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
2310
        for i = 0, 1, 0.8 do
2311
          swait()
2312
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
2313
          PlayAnimationFromTable({
2314
            CFrame.new(0.299998224, -0.0468490347, -0.211314023, 0.642786682, -2.87348001E-7, -0.766045272, 0.323744863, 0.906307757, 0.271653205, 0.694272637, -0.42261824, 0.582562685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2315
            CFrame.new(2.71201134E-6, 1.4999969, 8.94069672E-7, 0.642777503, 0.133020476, 0.754416466, 4.31999706E-6, 0.984809279, -0.173647597, -0.766052961, 0.111620098, 0.633012772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2316
            CFrame.new(1.27057993, 0.327670783, -0.599993467, 0.638493001, 0.280156553, -0.716825664, -0.769049883, 0.196164608, -0.608343422, -0.0298155248, 0.939697862, 0.340704083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2317
            CFrame.new(-1.86040878, 1.02262986, -0.452570885, 0.386218816, 0.717701018, -0.579433978, -0.403004408, -0.433759809, -0.805879354, -0.829712272, 0.544763446, 0.121709965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2318
            CFrame.new(0.779964924, -1.75316048, -0.0263362825, 0.826099217, -0.36394459, 0.43023771, 0.181541473, 0.894650102, 0.40822047, -0.533481896, -0.259124577, 0.805140793) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2319
            CFrame.new(-0.724003315, -1.47219872, -0.266945302, 0.766038954, -0.166370958, 0.620890498, 4.09781933E-6, 0.965925932, 0.258819997, -0.642794192, -0.198263675, 0.739937425) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2320
          }, 0.8, false)
2321
        end
2322
        CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
2323
        MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
2324
      end
2325
    end
2326
    S:Stop()
2327
    local S2 = CFuncs.Sound.Create("933302532", Torso, 1.5, 1)
2328
   
2329
    S2.Volume = 7
2330
 
2331
    for i = 0, 1, 0.13 do
2332
      swait()
2333
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
2334
      PlayAnimationFromTable({
2335
        CFrame.new(2.68220901E-6, -0.0739577487, 0.0232374109, 0.707105994, -3.47710994E-7, -0.707107604, -0.122787997, 0.98480767, -0.122788213, 0.696364999, 0.173648596, 0.696363389) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2336
        CFrame.new(-5.36441803E-7, 1.49999356, -1.28149986E-6, 0.707105994, -0.122788511, 0.696365297, -3.47710994E-7, 0.984808028, 0.173649326, -0.707107604, -0.122788727, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2337
        CFrame.new(1.13747835, 0.382733107, -0.729447305, 0.579597414, 0.772029877, -0.260839432, -0.351051509, -0.0523141921, -0.934893906, -0.735411942, 0.633429527, 0.240701318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2338
        CFrame.new(-1.53455412, 0.605712295, -0.542039633, 0.786121905, 0.427828372, -0.446066588, -0.606968522, 0.398195386, -0.687771559, -0.116626531, 0.811420619, 0.572708428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2339
        CFrame.new(0.903839946, -1.70734286, 0.373858094, 0.863655448, -0.430708885, 0.261895239, 0.187955216, 0.757234871, 0.625514567, -0.46773085, -0.491004646, 0.734943748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2340
        CFrame.new(-0.596739769, -1.62411702, -0.0967329144, 0.725493789, -0.291957259, 0.623233199, -0.081900157, 0.86250174, 0.499382436, -0.683338165, -0.41334182, 0.601828396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2341
      }, 0.2, false)
2342
    end
2343
Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
2344
    CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
2345
    MagnitudeDamage(HitboxR, 7, 40, 40, 40, "Normal", "610359590", 1)
2346
    for i = 0, 1, 0.1 do
2347
      swait()
2348
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
2349
      PlayAnimationFromTable({
2350
        CFrame.new(-0.338160992, -0.0772590488, -0.484170675, 0.307024002, -0.153706044, 0.939207554, -0.403236002, 0.872901201, 0.274671286, -0.86205399, -0.463052958, 0.206021816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2351
        CFrame.new(-0.0502282679, 1.50051379, -0.0864891857, 0.502356887, -0.246090144, -0.828901231, -0.00520065427, 0.957766473, -0.287500501, 0.864644766, 0.148738697, 0.479860842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2352
        CFrame.new(1.81698525, 1.20575511, -0.168038458, 0.0800605565, -0.859217465, 0.505307972, 0.457053572, -0.418860257, -0.784640014, 0.885828495, 0.293771386, 0.359173566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2353
        CFrame.new(-1.66351938, 0.691055655, 0.203685582, 0.309526145, 0.793331623, -0.524231553, -0.937197804, 0.347743452, -0.0271089375, 0.160791725, 0.499699503, 0.851144433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2354
        CFrame.new(0.971616864, -1.6145575, 0.096719563, 0.544056833, -0.203144252, -0.814085484, 0.51142931, 0.849463344, 0.129818588, 0.665161908, -0.486975014, 0.566052973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2355
        CFrame.new(-0.676943898, -1.44413579, 0.206094518, 0.884253025, 0.0570309162, -0.463512957, 0.209485695, 0.838620007, 0.502824426, 0.417387724, -0.541723251, 0.729605079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2356
      }, 0.6, false)
2357
    end
2358
    attack = false
2359
  end
2360
  function CastleCrusherFist()
2361
    attack = true
2362
    STDamage = true
2363
    local S3 = CFuncs.Sound.Create("271120244", Torso, 1, 1)
2364
    
2365
    for i = 0, 1, 0.1 do
2366
    S3.Volume = 7
2367
      swait()
2368
      Effects.Block.Create(BrickColor.new("Light blue"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
2369
      Effects.Break.Create(BrickColor.new("Light blue"), HitboxR.CFrame, 0.5, 0.5, 0.5)
2370
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
2371
      PlayAnimationFromTable({
2372
        CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2373
        CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2374
        CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2375
        CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2376
        CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2377
        CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2378
      }, 0.2, false)
2379
    end
2380
    MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "610359515", 1)
2381
    Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
2382
    CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
2383
    CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
2384
    for i = 0, 1, 0.08 do
2385
      swait()
2386
      Effects.Block.Create(BrickColor.new("Light blue"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
2387
      Effects.Break.Create(BrickColor.new("Light blue"), HitboxR.CFrame, 0.5, 0.5, 0.5)
2388
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
2389
      PlayAnimationFromTable({
2390
        CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2391
        CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2392
        CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2393
        CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2394
        CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2395
        CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2396
      }, 0.6, false)
2397
    end
2398
    STDamage = false
2399
    attack = false
2400
  end
2401
  
2402
  function weld5(part0, part1, c0, c1)
2403
    local weeld = Instance.new("Weld", part0)
2404
    weeld.Part0 = part0
2405
    weeld.Part1 = part1
2406
    weeld.C0 = c0
2407
    weeld.C1 = c1
2408
    return weeld
2409
  end
2410
  local Grab = false
2411
  function GRABEMBOIGRABEM()
2412
    attack = true
2413
    gp = nil
2414
    con1 = HitboxR.Touched:connect(function(hit)
2415
      local ht = hit.Parent
2416
      local hum1 = ht:FindFirstChild("Humanoid")
2417
      if Grab == false then
2418
        if hum1 ~= nil and hit.Parent ~= Character then
2419
          hum1.PlatformStand = true
2420
          gp = ht
2421
          Grab = true
2422
          local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
2423
          asd.Parent = RightArm
2424
          asd.Name = "asd"
2425
          asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
2426
          CFuncs.Sound.Create("200632821", Torso, 1, 1)
2427
        elseif hum1 == nil then
2428
          con1:disconnect()
2429
          wait()
2430
          return
2431
        end
2432
      end
2433
    end)
2434
    for i = 0, 1, 0.2 do
2435
      swait()
2436
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
2437
      PlayAnimationFromTable({
2438
        CFrame.new(3, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2439
        CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2440
        CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2441
        CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2442
        CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2443
        CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2444
      }, 0.3, false)
2445
    end
2446
    for i = 0, 1, 0.1 do
2447
      swait()
2448
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
2449
      PlayAnimationFromTable({
2450
        CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2451
        CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2452
        CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2453
        CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2454
        CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2455
        CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2456
      }, 0.3, false)
2457
    end
2458
    if Grab == true then
2459
      for i = 1, 5 do
2460
        for i = 0, 1, 0.35 do
2461
          swait()
2462
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
2463
          PlayAnimationFromTable({
2464
            CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2465
            CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2466
            CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2467
            CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2468
            CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2469
            CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2470
          }, 0.4, false)
2471
        end
2472
Effects.Block.Create(BrickColor.new("White"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
2473
     
2474
        for i = 0, 1, 0.3 do
2475
          swait()
2476
          RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
2477
          PlayAnimationFromTable({
2478
            CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2479
            CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2480
            CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2481
            CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2482
            CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2483
            CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2484
          }, 0.7, false)
2485
        end
2486
        local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
2487
        if hit ~= nil then
2488
          MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
2489
          Effects.Block.Create(BrickColor.new("Light blue"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
2490
          Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
2491
          Effects.Sphere.Create(BrickColor.new("Light blue"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
2492
        Effects.Break.Create(BrickColor.new("Light blue"), HitboxR.CFrame, 0.5, 0.5, 0.5)
2493
 end
2494
      end
2495
    end
2496
    for i, v in pairs(RightArm:GetChildren()) do
2497
      if v.Name == "asd" and v:IsA("Weld") then
2498
        v:Remove()
2499
      end
2500
    end
2501
    Grab = false
2502
    con1:disconnect()
2503
    attack = false
2504
  end
2505
  local IsWearingArmor = false
2506
  function Armor(Mode)
2507
    attack = true
2508
    if IsWearingArmor == false and Mode == "On" then
2509
      IsWearingArmor = true
2510
      Disappear()
2511
      swait(10)
2512
      ReappearArmorOnly()
2513
      Character.Humanoid.MaxHealth = math.huge
2514
      Character.Humanoid.Health = math.huge
2515
      HHandleWeld.Part0 = Character.Head
2516
      THandleWeld.Part0 = Character.Torso
2517
      AHandleRWeld.Part0 = Character["Right Arm"]
2518
      AHandleLWeld.Part0 = Character["Left Arm"]
2519
      LHandleRWeld.Part0 = Character["Right Leg"]
2520
      LHandleLWeld.Part0 = Character["Left Leg"]
2521
      for i, v in pairs(AdvancingFortress:GetChildren()) do
2522
        if v:IsA("BasePart") then
2523
          v.Transparency = 1
2524
        end
2525
      end
2526
      for i, v in pairs(Character:GetChildren()) do
2527
        if v:IsA("Accessory") then
2528
          v.Handle.Transparency = 1
2529
     for i, v in pairs(Character:GetChildren()) do
2530
        if v:IsA("Model") then
2531
          v.Handle.Transparency = 1
2532
            end
2533
          end
2534
        end
2535
      end
2536
    elseif IsWearingArmor == true and Mode == "Off" then
2537
      IsWearingArmor = false
2538
      DisappearArmorOnly()
2539
      for i, v in pairs(Character:GetChildren()) do
2540
        if v:IsA("Accessory") then
2541
          v.Handle.Transparency = 0
2542
     for i, v in pairs(Character:GetChildren()) do
2543
        if v:IsA("Model") then
2544
          v.Handle.Transparency = 0
2545
            end
2546
          end
2547
        end
2548
      end
2549
      swait(10)
2550
      Reappear()
2551
      Character.Humanoid.MaxHealth = math.huge
2552
      Character.Humanoid.Health = math.huge
2553
     
2554
HHandleWeld.Part0 = Head
2555
      THandleWeld.Part0 = Torso
2556
      AHandleRWeld.Part0 = RightArm
2557
      AHandleLWeld.Part0 = LeftArm
2558
      LHandleRWeld.Part0 = RightLeg
2559
      LHandleLWeld.Part0 = LeftLeg
2560
      for i, v in pairs(AdvancingFortress:GetChildren()) do
2561
        if v:IsA("BasePart") then
2562
          v.Transparency = 0
2563
        end
2564
      end
2565
    end
2566
    attack = false
2567
  end
2568
  local ShieldMode = false
2569
  local ShieldCharge = false
2570
  function HoloHexShield()
2571
    attack = true
2572
    Shield.Parent = m
2573
    Shield.CanCollide = true
2574
    if ShieldMode == true then
2575
      while ShieldMode == true do
2576
        swait()
2577
        Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
2578
        RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
2579
        PlayAnimationFromTable({
2580
          CFrame.new(-1.35600567E-6, -0.00759640103, -0.0868249983, 0.499999046, -1.78813579E-7, -0.866026044, 0.150384009, 0.984807789, 0.0868238211, 0.852869093, -0.173648283, 0.492402941) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2581
          CFrame.new(1.49011612E-7, 1.4999963, -2.08616257E-7, 0.499999046, 0.0754797831, 0.862731695, -1.78813579E-7, 0.996196151, -0.0871563852, -0.866026044, 0.0435779616, 0.498097092) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2582
          CFrame.new(1.50238657, 0.320674658, 0.252193451, 0.855209947, -0.376432747, -0.356249839, 0.469514668, 0.853786647, 0.224954769, 0.219480619, -0.35964793, 0.906907678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2583
          CFrame.new(-0.944740474, 0.689363539, -0.718644142, 0.836517215, -0.545084715, 0.0558781698, -0.258834839, -0.482974619, -0.836504936, 0.482953727, 0.685287297, -0.545103252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2584
          CFrame.new(0.61525929, -1.85127568, 0.120779425, 0.928754449, -0.162676111, 0.333104134, 0.0394990072, 0.93689239, 0.347407103, -0.368597984, -0.309496939, 0.876555264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2585
          CFrame.new(-0.849455297, -1.60697818, -0.270956695, 0.696359396, -0.136922374, 0.704511464, -0.122786656, 0.944430828, 0.30491665, -0.707112312, -0.298836082, 0.640850842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2586
        }, 0.3, false)
2587
      end
2588
    end
2589
    Shield.CanCollide = false
2590
    CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
2591
    CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
2592
    Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
2593
    Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
2594
    for i = 0, 1, 0.05 do
2595
      swait()
2596
      MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
2597
      Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
2598
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
2599
      PlayAnimationFromTable({
2600
        CFrame.new(8.64267349E-7, -0.183445007, -0.748600185, 0.499999046, -1.19209105E-7, -0.866026044, 0.496732056, 0.819152176, 0.28678751, 0.709407032, -0.573576331, 0.409575343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2601
        CFrame.new(-7.15255737E-7, 1.50001967, -6.2584877E-7, 0.499999046, 0.36600244, 0.784893453, -1.19209105E-7, 0.90631634, -0.42262283, -0.866026044, 0.211310923, 0.453157306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2602
        CFrame.new(1.76569033, 0.610707581, 0.171269983, 0.658267856, -0.680293143, -0.322312057, 0.725086272, 0.457917482, 0.514355659, -0.202320263, -0.572288036, 0.794703186) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2603
        CFrame.new(-1.07552779, 1.01543474, -0.975205183, 0.645357251, -0.653341353, -0.39580214, -0.64124006, -0.181770697, -0.745500326, 0.4151209, 0.734918237, -0.536255598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2604
        CFrame.new(0.630614281, -1.76328135, 0.440194428, 0.866077662, -0.24334389, 0.436684549, -0.0614839792, 0.815044224, 0.57612747, -0.496114343, -0.525820255, 0.69092983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2605
        CFrame.new(-0.857700765, -1.25810766, -0.239681423, 0.499215126, -0.257185757, 0.827429712, -0.238765404, 0.877132356, 0.416689515, -0.832931936, -0.405579239, 0.376470625) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2606
      }, 0.5, false)
2607
    end
2608
    Shield.Parent = nil
2609
    attack = false
2610
  end
2611
  Mouse.Button1Down:connect(function()
2612
    if attack == false and Invisible == false and IsWearingArmor == false and attacktype == 1 then
2613
      attacktype = 2
2614
      attackone()
2615
    elseif attack == false and Invisible == false and IsWearingArmor == false and attacktype == 2 then
2616
      attacktype = 1
2617
      attacktwo()
2618
    end
2619
  end)
2620
  game.Lighting.Outlines = false
2621
  function attackone()
2622
    attack = true
2623
    for i = 0, 1, 0.12 do
2624
      swait()
2625
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
2626
      PlayAnimationFromTable({
2627
        CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2628
        CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2629
        CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2630
        CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2631
        CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2632
        CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2633
      }, 0.3, false)
2634
    end
2635
    MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
2636
    CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
2637
    RootPart.Velocity = RootPart.CFrame.lookVector * 40
2638
    for i = 0, 1, 0.11 do
2639
      swait()
2640
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
2641
      PlayAnimationFromTable({
2642
        CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2643
        CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2644
        CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2645
        CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2646
        CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2647
        CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2648
      }, 0.45, false)
2649
    end
2650
    attack = false
2651
  end
2652
  function attacktwo()
2653
    attack = true
2654
    for i = 0, 1, 0.12 do
2655
      swait()
2656
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
2657
      PlayAnimationFromTable({
2658
        CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2659
        CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2660
        CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2661
        CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2662
        CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2663
        CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2664
      }, 0.34, false)
2665
    end
2666
    MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
2667
    CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
2668
 aroa = CFuncs.Sound.Create("1125531040")
2669
aroa.Volume = 5
2670
 
2671
 
2672
 
2673
    RootPart.Velocity = RootPart.CFrame.lookVector * 40
2674
    for i = 0, 1, 0.12 do
2675
      swait()
2676
      RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
2677
      PlayAnimationFromTable({
2678
        CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2679
        CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2680
        CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2681
        CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2682
        CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
2683
        CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
2684
      }, 0.45, false)
2685
    end
2686
 
2687
    attack = false
2688
wait(1)
2689
aroa:Destroy()
2690
  end
2691
  function findNearestTorso(pos)
2692
    local list = game.Workspace:children()
2693
    local torso
2694
    local dist = 1000
2695
    local temp, human, temp2
2696
    for x = 1, #list do
2697
      temp2 = list[x]
2698
      if temp2.className == "Model" and temp2.Name ~= Character.Name then
2699
        temp = temp2:findFirstChild("Torso")
2700
        human = temp2:findFirstChild("Humanoid")
2701
        if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
2702
          local dohit = true
2703
          if dohit == true then
2704
            torso = temp
2705
            dist = (temp.Position - pos).magnitude
2706
          end
2707
        end
2708
      end
2709
    end
2710
    return torso, dist
2711
  end
2712
  function TrueAim(aim)
2713
    local target, distance = findNearestTorso(Mouse.Hit.p)
2714
    local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
2715
    if aim ~= nil then
2716
      tehcf = aim
2717
    end
2718
    table.insert(Effects, {
2719
      tehcf,
2720
      "Shoot",
2721
      30,
2722
      HitboxR.Position,
2723
      10,
2724
      15,
2725
      0,
2726
      3,
2727
      HitboxR,
2728
      target
2729
    })
2730
 
2731
  end
2732
 
2733
 
2734
 
2735
       
2736
               
2737
                   
2738
               
2739
  function SutaFinga()
2740
    attack = true
2741
    Humanoid.WalkSpeed = 20
2742
    for i = 0, 1, 0.1 do
2743
     swait()
2744
      Effects.Elec.Create(HitboxR.CFrame, 0, 0, 0)
2745
     PlayAnimationFromTable({
2746
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
2747
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
2748
         CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
2749
         CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
2750
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
2751
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), }, .5, false)
2752
        end
2753
        local RA = Instance.new("Part",RightArm)
2754
        RA.Size = Vector3.new(1.1,2.1,1.1)
2755
       
2756
        RA.BrickColor = BrickColor.new("White")
2757
        RA.Material = "Neon"
2758
       
2759
        RA.Transparency = 0
2760
        local RA2 = Instance.new("Weld",RA)
2761
        RA2.Part0 = RightArm
2762
        RA2.Part1 = RA
2763
        RA2.C0 = CFrame.new(0,0,0)
2764
       
2765
        for i = 1,2 do ----15
2766
        for i = 1,5 do
2767
            RA.Transparency = RA.Transparency + 0.1
2768
            game:GetService("RunService").RenderStepped:wait()
2769
        end
2770
        wait(0.1)
2771
        for i = 1,5 do
2772
            RA.Transparency = RA.Transparency - 0.1
2773
            game:GetService("RunService").RenderStepped:wait()
2774
        end
2775
        end
2776
        for i = 1,10 do
2777
            RA.Transparency = RA.Transparency + 0.1
2778
            game:GetService("RunService").RenderStepped:wait()
2779
        end
2780
Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
2781
        RightArm.Transparency = 1
2782
        local owo = Instance.new("Model",Torso)
2783
        Instance.new("Humanoid",owo)
2784
        stretch = CFuncs.Sound.Create("463010917")
2785
        stretch.Volume = 5
2786
        local R = Instance.new("Part",owo)
2787
        R.Size = Vector3.new(1,2,1)
2788
        R.TopSurface = 0
2789
        R.BottomSurface = 0
2790
        R.Name = 'Right Arm'
2791
        R.BrickColor = RightArm.BrickColor
2792
        R.CanCollide = false
2793
        R.Anchored = true
2794
        R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
2795
        R.Touched:connect(function(hit)
2796
            if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
2797
                if not ZZ then ZZ = true
2798
                    hit.Parent.Humanoid:TakeDamage(40)
2799
                   
2800
                    local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
2801
                    Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
2802
                    Fl.velocity = RootPart.CFrame.lookVector*130
2803
                    wait(0.1)
2804
                    Fl:remove()
2805
                    wait(0.00001)
2806
                    ZZ = false
2807
                end
2808
            end
2809
        end)
2810
        coroutine.resume(coroutine.create(function()
2811
        for i = 1,20 do
2812
            R.Size = R.Size + Vector3.new(0,0.8,0)
2813
            R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
2814
            game:GetService("RunService").RenderStepped:wait()
2815
        end
2816
        end))
2817
        for i = 0,1,0.1 do
2818
        swait()
2819
        PlayAnimationFromTable({
2820
         CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
2821
         CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
2822
         CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
2823
         CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
2824
         CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
2825
         CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
2826
        }, .5, false)
2827
        end
2828
        wait(1)
2829
        for i = 1,20 do
2830
            R.Size = R.Size - Vector3.new(0,0.8,0)
2831
            R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
2832
            game:GetService("RunService").RenderStepped:wait()
2833
        end
2834
        RightArm.Transparency = 0
2835
        R:Destroy()
2836
        RA:Destroy()
2837
        stretch:Destroy()
2838
       
2839
         
2840
   
2841
    Humanoid.WalkSpeed = 20
2842
    attack = false
2843
 
2844
 
2845
        end
2846
     
2847
 
2848
 
2849
  Mouse.KeyDown:connect(function(k)
2850
    k = k:lower()
2851
    if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
2852
      ora = true
2853
      ORA()
2854
 elseif k == "m" and bigg == false then
2855
      bigg = true
2856
      PE()
2857
 elseif k == "m" and bigg == true then
2858
      bigg = false
2859
      pep:Destroy()
2860
    elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
2861
      GRABEMBOIGRABEM()
2862
    elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
2863
     SutaFinga()
2864
    elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
2865
      Invisible = true
2866
Character["Advancing Fortress"].Hat.Part.Transparency = 1
2867
Par1.Enabled = false
2868
Character["Advancing Fortress"].scarf.Part.Transparency = 1
2869
Character["Advancing Fortress"].cloth.Part.Transparency = 1
2870
Character["Advancing Fortress"].cloth2.Part.Transparency = 1
2871
Character["Advancing Fortress"].rs.Part.Transparency = 1
2872
Character["Advancing Fortress"].ls.Part.Transparency = 1
2873
Character["Advancing Fortress"].FHead.face.Transparency = 1
2874
Character["Advancing Fortress"].ear1.Part.Transparency = 1
2875
Character["Advancing Fortress"].ear2.Part.Transparency = 1
2876
Character["Advancing Fortress"].belt.Part.Transparency = 1
2877
 Character["Advancing Fortress"].belt2.Part.Transparency = 1
2878
Character["Advancing Fortress"].belt3.Part.Transparency = 1
2879
Character["Advancing Fortress"].gr.Part.Transparency = 1
2880
Character["Advancing Fortress"].gl.Part.Transparency = 1
2881
Character["Advancing Fortress"].ap1.Part.Transparency = 1
2882
Character["Advancing Fortress"].ap2.Part.Transparency = 1
2883
Character["Advancing Fortress"].ap3.Part.Transparency = 1
2884
Character["Advancing Fortress"].ap4.Part.Transparency = 1
2885
Character["Advancing Fortress"].muscle.Part.Transparency = 1
2886
Character["Advancing Fortress"].circ1.Part.Transparency = 1
2887
Character["Advancing Fortress"].circ2.Part.Transparency = 1
2888
Character["Advancing Fortress"].circ3.Part.Transparency = 1
2889
Character["Advancing Fortress"].circ4.Part.Transparency = 1
2890
  Character["Advancing Fortress"].boot1.Part.Transparency = 1
2891
Character["Advancing Fortress"].boot2.Part.Transparency = 1
2892
Character["Advancing Fortress"].glo1.Part.Transparency = 1
2893
Character["Advancing Fortress"].glo2.Part.Transparency = 1
2894
Character["Advancing Fortress"].glo1B.Part.Transparency = 1
2895
Character["Advancing Fortress"].glo2B.Part.Transparency = 1
2896
Character["Advancing Fortress"].ap5.Part.Transparency = 1
2897
Character["Advancing Fortress"].ap6.Part.Transparency = 1
2898
      Effects.Sphere.Create(BrickColor.new("Light blue"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
2899
      Effects.Block.Create(BrickColor.new("Light blue"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
2900
      Disappear()
2901
 
2902
    elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false and cooldown == false then
2903
      Invisible = false
2904
     summon = CFuncs.Sound.Create("463010917", Torso, 1, 1)
2905
summon.Volume = 7
2906
cooldown = true
2907
Character["Advancing Fortress"].Hat.Part.Transparency = 0
2908
Par1.Enabled = true
2909
Character["Advancing Fortress"].scarf.Part.Transparency = 0
2910
Character["Advancing Fortress"].cloth.Part.Transparency = 0
2911
Character["Advancing Fortress"].cloth2.Part.Transparency = 0
2912
Character["Advancing Fortress"].rs.Part.Transparency = 0
2913
Character["Advancing Fortress"].ls.Part.Transparency = 0
2914
Character["Advancing Fortress"].FHead.face.Transparency = 0
2915
Character["Advancing Fortress"].ear1.Part.Transparency = 0
2916
Character["Advancing Fortress"].ear2.Part.Transparency = 0
2917
Character["Advancing Fortress"].belt.Part.Transparency = 0
2918
 Character["Advancing Fortress"].belt2.Part.Transparency = 0
2919
Character["Advancing Fortress"].belt3.Part.Transparency = 0
2920
Character["Advancing Fortress"].gr.Part.Transparency = 0
2921
Character["Advancing Fortress"].gl.Part.Transparency = 0
2922
Character["Advancing Fortress"].ap1.Part.Transparency = 0
2923
Character["Advancing Fortress"].ap2.Part.Transparency = 0
2924
Character["Advancing Fortress"].ap3.Part.Transparency = 0
2925
Character["Advancing Fortress"].ap4.Part.Transparency = 0
2926
Character["Advancing Fortress"].muscle.Part.Transparency = 0
2927
Character["Advancing Fortress"].circ1.Part.Transparency = 0
2928
Character["Advancing Fortress"].circ2.Part.Transparency = 0
2929
Character["Advancing Fortress"].circ3.Part.Transparency = 0
2930
Character["Advancing Fortress"].circ4.Part.Transparency = 0
2931
  Character["Advancing Fortress"].boot1.Part.Transparency = 0
2932
Character["Advancing Fortress"].boot2.Part.Transparency = 0
2933
Character["Advancing Fortress"].glo1.Part.Transparency = 0
2934
Character["Advancing Fortress"].glo2.Part.Transparency = 0
2935
 Character["Advancing Fortress"].glo1B.Part.Transparency = 0
2936
Character["Advancing Fortress"].glo2B.Part.Transparency = 0
2937
Character["Advancing Fortress"].ap5.Part.Transparency = 0
2938
Character["Advancing Fortress"].ap6.Part.Transparency = 0
2939
      Effects.Sphere.Create(BrickColor.new("Light blue"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
2940
      for i = 1, 2 do
2941
        Effects.Block.Create(BrickColor.new("Light blue"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
2942
      end
2943
      for i = 1, 20 do
2944
        Effects.Break.Create(BrickColor.new("Light blue"), Torso.CFrame, 1, 1, 1)
2945
      end
2946
      Reappear()
2947
staplachinuh = CFuncs.Sound.Create("469817479")
2948
staplachinuh.TimePosition = 0.4
2949
staplachinuh.Volume = 7
2950
wait(0.96)
2951
staplachinuh:Destroy()
2952
cooldown = false
2953
    elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
2954
      ShieldMode = true
2955
      HoloHexShield()
2956
    elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
2957
      CastleCrusherFist()
2958
    end
2959
    if k == "[" and IsWearingArmor == false and Invisible == false then
2960
      Armor("On")
2961
Character["Advancing Fortress"].Hat.Part.Transparency = 1
2962
  Character["Advancing Fortress"].boot1.Part.Transparency = 1
2963
Character["Advancing Fortress"].boot2.Part.Transparency = 1
2964
Character["Advancing Fortress"].glo1.Part.Transparency = 1
2965
Character["Advancing Fortress"].glo2.Part.Transparency = 1
2966
Character["Advancing Fortress"].scarf.Part.Transparency = 1
2967
Character["Advancing Fortress"].cloth.Part.Transparency = 1
2968
Character["Advancing Fortress"].cloth2.Part.Transparency = 1
2969
Character["Advancing Fortress"].rs.Part.Transparency = 1
2970
Character["Advancing Fortress"].ls.Part.Transparency = 1
2971
Character["Advancing Fortress"].FHead.face.Transparency = 1
2972
Character["Advancing Fortress"].ear1.Part.Transparency = 1
2973
Character["Advancing Fortress"].ear2.Part.Transparency = 1
2974
Character["Advancing Fortress"].belt.Part.Transparency = 1
2975
 Character["Advancing Fortress"].belt2.Part.Transparency = 1
2976
Character["Advancing Fortress"].belt3.Part.Transparency = 1
2977
Character["Advancing Fortress"].gr.Part.Transparency = 1
2978
Character["Advancing Fortress"].gl.Part.Transparency = 1
2979
Character["Advancing Fortress"].ap1.Part.Transparency = 1
2980
Character["Advancing Fortress"].ap2.Part.Transparency = 1
2981
Character["Advancing Fortress"].ap3.Part.Transparency = 1
2982
Character["Advancing Fortress"].ap4.Part.Transparency = 1
2983
Character["Advancing Fortress"].muscle.Part.Transparency = 1
2984
Character["Advancing Fortress"].circ1.Part.Transparency = 1
2985
Character["Advancing Fortress"].circ2.Part.Transparency = 1
2986
Character["Advancing Fortress"].circ3.Part.Transparency = 1
2987
Character["Advancing Fortress"].circ4.Part.Transparency = 1
2988
Character["Advancing Fortress"].glo1B.Part.Transparency = 1
2989
Character["Advancing Fortress"].glo2B.Part.Transparency = 1
2990
Character["Advancing Fortress"].ap5.Part.Transparency = 1
2991
Character["Advancing Fortress"].ap6.Part.Transparency = 1
2992
    end
2993
    if k == "]" and IsWearingArmor == true and Invisible == false then
2994
      Armor("Off")
2995
Character["Advancing Fortress"].Hat.Part.Transparency = 0
2996
  Character["Advancing Fortress"].boot1.Part.Transparency = 0
2997
Character["Advancing Fortress"].boot2.Part.Transparency = 0
2998
Character["Advancing Fortress"].glo1.Part.Transparency = 0
2999
Character["Advancing Fortress"].glo2.Part.Transparency = 0
3000
Character["Advancing Fortress"].scarf.Part.Transparency = 0
3001
Character["Advancing Fortress"].cloth.Part.Transparency = 0
3002
Character["Advancing Fortress"].cloth2.Part.Transparency = 0
3003
Character["Advancing Fortress"].rs.Part.Transparency = 0
3004
Character["Advancing Fortress"].ls.Part.Transparency = 0
3005
Character["Advancing Fortress"].FHead.face.Transparency = 0
3006
Character["Advancing Fortress"].ear1.Part.Transparency = 0
3007
Character["Advancing Fortress"].ear2.Part.Transparency = 0
3008
Character["Advancing Fortress"].belt.Part.Transparency = 0
3009
 Character["Advancing Fortress"].belt2.Part.Transparency = 0
3010
Character["Advancing Fortress"].belt3.Part.Transparency = 0
3011
Character["Advancing Fortress"].gr.Part.Transparency = 0
3012
Character["Advancing Fortress"].gl.Part.Transparency = 0
3013
Character["Advancing Fortress"].ap1.Part.Transparency = 0
3014
Character["Advancing Fortress"].ap2.Part.Transparency = 0
3015
Character["Advancing Fortress"].ap3.Part.Transparency = 0
3016
Character["Advancing Fortress"].ap4.Part.Transparency = 0
3017
Character["Advancing Fortress"].muscle.Part.Transparency = 0
3018
Character["Advancing Fortress"].circ1.Part.Transparency = 0
3019
Character["Advancing Fortress"].circ2.Part.Transparency = 0
3020
Character["Advancing Fortress"].circ3.Part.Transparency = 0
3021
Character["Advancing Fortress"].circ4.Part.Transparency = 0
3022
 Character["Advancing Fortress"].glo1B.Part.Transparency = 0
3023
Character["Advancing Fortress"].glo2B.Part.Transparency = 0
3024
Character["Advancing Fortress"].ap5.Part.Transparency = 0
3025
Character["Advancing Fortress"].ap6.Part.Transparency = 0
3026
    end
3027
  end)
3028
  Mouse.KeyUp:connect(function(k)
3029
    k = k:lower()
3030
    if attack == true and ora == true and k == "z" and IsWearingArmor == false then
3031
      ora = false
3032
    elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
3033
      ShieldMode = false
3034
    end
3035
  end)
3036
  coroutine.resume(coroutine.create(function(Part, Part2)
3037
    while Part.Parent ~= nil do
3038
      swait(math.random(100, 150))
3039
      for i = 0, 1, 0.2 do
3040
        wait()
3041
        Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
3042
        Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
3043
      end
3044
      for i = 0, 1, 0.2 do
3045
        swait()
3046
        Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
3047
        Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
3048
      end
3049
    end
3050
  end), Eye1, Eye2)
3051
  while true do
3052
    swait()
3053
    for i, v in pairs(Character:children()) do
3054
      if v:IsA("Part") and IsWearingArmor == true then
3055
        v.Anchored = false
3056
      end
3057
    end
3058
    for i, v in pairs(AdvancingFortress:GetChildren()) do
3059
      if v:IsA("Part") then
3060
        v.Material = "SmoothPlastic"
3061
3062
        v.CanCollide = false
3063
     
3064
      elseif v:IsA("Humanoid") then
3065
        v.PlatformStand = true
3066
     
3067
     
3068
    
3069
     
3070
      end
3071
    end
3072
    HHandle.Transparency = 1
3073
    THandle.Transparency = 1
3074
    AHandleR.Transparency = 1
3075
    AHandleL.Transparency = 1
3076
    LHandleR.Transparency = 1
3077
    LHandleL.Transparency = 1
3078
    RootPart.Transparency = 1
3079
    HitboxR.Transparency = 1
3080
    HitboxL.Transparency = 1
3081
    Head.BrickColor = BrickColor.new("Pastel Blue")
3082
    Torso.BrickColor = BrickColor.new("Pastel Blue")
3083
    RightArm.BrickColor = BrickColor.new("Pastel Blue")
3084
    LeftArm.BrickColor = BrickColor.new("Pastel Blue")
3085
    RightLeg.BrickColor = BrickColor.new("Pastel Blue")
3086
    LeftLeg.BrickColor = BrickColor.new("Pastel Blue")
3087
    RootPart.Anchored = true
3088
    Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
3089
    velocity = Character.HumanoidRootPart.Velocity.y
3090
    sine = sine + change
3091
    Shield.Anchored = true
3092
    Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
3093
    local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
3094
    if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
3095
      Anim = "Jump"
3096
      if attack == false then
3097
        RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
3098
        PlayAnimationFromTable({
3099
          CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
3100
          CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
3101
          CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3102
          CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3103
          CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3104
          CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
3105
        }, 0.3, false)
3106
      end
3107
    elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
3108
      Anim = "Fall"
3109
      if attack == false then
3110
        RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
3111
        PlayAnimationFromTable({
3112
          CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
3113
          CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
3114
          CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3115
          CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3116
          CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3117
          CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
3118
        }, 0.3, false)
3119
      end
3120
    elseif Torsovelocity < 1 and hit ~= nil then
3121
      Anim = "Idle"
3122
      if attack == false then
3123
        RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
3124
        PlayAnimationFromTable({
3125
          CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
3126
          CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
3127
          CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3128
          CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3129
          CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3130
          CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
3131
        }, 0.3, false)
3132
      end
3133
    elseif Torsovelocity > 2 and hit ~= nil then
3134
      Anim = "Walk"
3135
      if attack == false then
3136
        RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
3137
        PlayAnimationFromTable({
3138
          CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
3139
          CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
3140
CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3141
          CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3142
          CFrame.new(0.585851789, -1.60362172, -0.143285036, 0.978476226, 0.0150748575, -0.205834031, 0.0853618756, 0.878461003, 0.470117748, 0.187905103, -0.477570593, 0.858265638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
3143
          CFrame.new(-0.563320339, -1.90456724, 0.225245774, 0.982039452, -0.00800410938, 0.188514173, -0.0707257539, 0.910641074, 0.407099873, -0.174927384, -0.413120717, 0.893718541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
3144
        }, 0.3, false)
3145
      end
3146
 
3147
 
3148
     
3149
 end
3150
    if 0 < #Effects then
3151
      for e = 1, #Effects do
3152
        if Effects[e] ~= nil then
3153
          local Thing = Effects[e]
3154
          if Thing ~= nil then
3155
            local Part = Thing[1]
3156
            local Mode = Thing[2]
3157
            local Delay = Thing[3]
3158
            local IncX = Thing[4]
3159
            local IncY = Thing[5]
3160
            local IncZ = Thing[6]
3161
            if Thing[2] == "Shoot" then
3162
              local Look = Thing[1]
3163
              local move = 30
3164
              if Thing[8] == 3 then
3165
                move = 10
3166
              end
3167
              local hit, pos = rayCast(Thing[4], Thing[1], move, m)
3168
              if Thing[10] ~= nil then
3169
                da = pos
3170
                cf2 = CFrame.new(Thing[4], Thing[10].Position)
3171
                cfa = CFrame.new(Thing[4], pos)
3172
                tehCF = cfa:lerp(cf2, 0.2)
3173
                Thing[1] = tehCF.lookVector
3174
              end
3175
              local mag = (Thing[4] - pos).magnitude
3176
              Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
3177
              if Thing[8] == 2 then
3178
                Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
3179
              end
3180
              Thing[4] = Thing[4] + Look * move
3181
              Thing[3] = Thing[3] - 1
3182
              if 2 < Thing[5] then
3183
                Thing[5] = Thing[5] - 0.3
3184
                Thing[6] = Thing[6] - 0.3
3185
              end
3186
              if hit ~= nil then
3187
                Thing[3] = 0
3188
                if Thing[8] == 1 or Thing[8] == 3 then
3189
                  Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
3190
                elseif Thing[8] == 2 then
3191
                  Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
3192
                  if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
3193
                    ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light blue"), "Reference", Vector3.new())
3194
                    ref.Anchored = true
3195
                    ref.CFrame = CFrame.new(pos)
3196
                    CFuncs.Sound.Create("161006093", ref, 1, 1.2)
3197
                    game:GetService("Debris"):AddItem(ref, 0.2)
3198
                    Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
3199
                    Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
3200
                    MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
3201
                  end
3202
                end
3203
                ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light blue"), "Reference", Vector3.new())
3204
                ref.Anchored = true
3205
                ref.CFrame = CFrame.new(pos)
3206
                Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
3207
                game:GetService("Debris"):AddItem(ref, 1)
3208
              end
3209
              if Thing[3] <= 0 then
3210
                table.remove(Effects, e)
3211
              end
3212
            end
3213
            if Thing[2] == "FireWave" then
3214
              if Thing[3] <= Thing[4] then
3215
                Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
3216
                Thing[3] = Thing[3] + 1
3217
                Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
3218
              else
3219
                Part.Parent = nil
3220
                table.remove(Effects, e)
3221
              end
3222
            end
3223
            if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
3224
              if Thing[1].Transparency <= 1 then
3225
                if Thing[2] == "Block1" then
3226
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3227
                  Mesh = Thing[7]
3228
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3229
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3230
                elseif Thing[2] == "Block2" then
3231
                  Thing[1].CFrame = Thing[1].CFrame
3232
                  Mesh = Thing[7]
3233
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3234
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3235
                elseif Thing[2] == "Fire" then
3236
                  Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
3237
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
3238
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3239
                elseif Thing[2] == "Cylinder" then
3240
                  Mesh = Thing[7]
3241
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3242
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3243
                elseif Thing[2] == "Blood" then
3244
                  Mesh = Thing[7]
3245
                  Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
3246
                  Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
3247
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3248
                elseif Thing[2] == "Elec" then
3249
                  Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
3250
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3251
                elseif Thing[2] == "Disappear" then
3252
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3253
                elseif Thing[2] == "Shatter" then
3254
                  Thing[1].Transparency = Thing[1].Transparency + Thing[3]
3255
                  Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
3256
                  Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
3257
                  Thing[6] = Thing[6] + Thing[5]
3258
                end
3259
              else
3260
                Part.Parent = nil
3261
                table.remove(Effects, e)
3262
 
3263
 
3264
              end
3265
            end
3266
          end
3267
        end
3268
      end
3269
    end
3270
  end