View difference between Paste ID: 5E7jHAXv and M0waNPga
SHOW: | | - or go back to the newest paste.
1
function clerp(c1,c2,al)
2
    local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
3
    local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
4
    for i,v in pairs(com1) do 
5
        com1[i] = v+(com2[i]-v)*al
6
    end
7
    return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
8
end
9
shirt = Instance.new("Shirt", char)
10
shirt.Name = "Shirt"
11
pants = Instance.new("Pants", char)
12
pants.Name = "Pants"
13
char.Shirt:Remove()
14
char.Pants:Remove()
15
for i,v in pairs(char:GetChildren()) do if v:IsA("Accessory") then v.Handle:Remove() end end
16
char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=535199088"
17
char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=532840011"
18
char.Head.face.Texture = "rbxassetid://382064532"
19
20
function weld(p0,p1,c0,c1,par)
21
local w = Instance.new("Weld", par)
22
w.Part0 = p0
23
w.Part1 = p1
24
w.C0 = c0 or CFrame.new()
25
w.C1 = c1 or CFrame.new()
26
return w
27
end
28
29
xmathrandom = math.random(-10,10)
30
ymathrandom = math.random(2,10)
31
zmathrandom = math.random(-10,10)
32
33
34
player = game:service("Players").LocalPlayer
35
char = player.Character
36
local beat = true
37
local beattime = 0.6
38
suit = Instance.new("Model", char)
39
suit.Name = "Gaster"
40
local vDebounce = false
41
Torso = char.Torso  
42
cf=CFrame.new
43
euler=CFrame.fromEulerAnglesXYZ
44
local SHOT_SPEED = 100
45
local SHOT_TIME = 1
46
local NOZZLE_OFFSET = Vector3.new(0, 0, 0)
47
mouse = player:GetMouse()
48
49
shieldparent1 = nil 
50
shieldparent2 = nil
51
shieldparent3 = nil
52
shieldparent4 = nil
53
shieldparent5 = nil
54
shieldparent6 = nil
55
56
switchvalue = 0
57
RandomGasterRotaion = 0
58
RandomPerseverance = 0
59
60
ShieldValueToGaster = false
61
ShieldValueToGasterDebounce = false
62
63
RW, LW = Instance.new("Weld"), Instance.new("Weld") 
64
 
65
RW.Name="Right Shoulder" LW.Name="Left Shoulder"
66
67
 
68
RSH, LSH = nil, nil 
69
70
LS = Torso["Left Shoulder"] 
71
 
72
LH = Torso["Left Hip"] 
73
 
74
RS = Torso["Right Shoulder"] 
75
 
76
RH = Torso["Right Hip"] 
77
RSH = char.Torso["Right Shoulder"] 
78
 
79
LSH = char.Torso["Left Shoulder"] 
80
81
82
83
function startup()
84
	
85
RW.Part0 = char.Torso 
86
 
87
RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
88
 
89
RW.C1 = CFrame.new(0, 0.5, 0) 
90
 
91
RW.Part1 = char["Right Arm"] 
92
 
93
RW.Parent = char.Torso 
94
95
96
97
LW.Part0 = char.Torso 
98
 
99
LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) 
100
 
101
LW.C1 = CFrame.new(0, 0.5, 0) 
102
 
103
LW.Part1 = char["Left Arm"] 
104
 
105
LW.Parent = char.Torso 
106
107
for i = 1,5 do wait()
108
RW.C1= clerp(RW.C1*CFrame.new(-.1, -0, .1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(-8),0),RW.C0,0.1)	
109
LW.C1= clerp(LW.C1*CFrame.new(.1, -0, .1)*CFrame.fromEulerAnglesXYZ(math.rad(-30),math.rad(8),0),LW.C0,0.1)	
110
		
111
112
end	
113
coroutine.resume(coroutine.create(function()
114
wait(1)
115
for i = 1,20 do wait()
116
RW.C1= clerp(RW.C1*CFrame.new(-.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(-math.rad(-.1),-math.rad(-.1),-math.rad(3)),RW.C0,0.1)	
117
LW.C1= clerp(LW.C1*CFrame.new(.15, -.05, 0.01)*CFrame.fromEulerAnglesXYZ(math.rad(.1),math.rad(.1),-math.rad(-3)),LW.C0,0.1)	
118
		
119
120
end	
121
122
for i = 1,20 do wait()
123
RW.C1= clerp(RW.C1*CFrame.new(-.12, .05, -0.1)*CFrame.fromEulerAnglesXYZ(-math.rad(-4),-math.rad(-4),-math.rad(-4)),RW.C0,0.1)	
124
LW.C1= clerp(LW.C1*CFrame.new(.12, .05, -0.1)*CFrame.fromEulerAnglesXYZ(math.rad(4),math.rad(-4),-math.rad(4)),LW.C0,0.1)	
125
		
126
127
end	
128
129
130
end))
131
end
132
133
134
135
local Sounds = {
136
        Gaster = Instance.new("Sound"),
137
        Gun = Instance.new("Sound"),
138
        Switch = Instance.new("Sound"),
139
        Explode = Instance.new("Sound"),
140
        GasterTheme = Instance.new("Sound")
141-
Sounds["GasterTheme"].SoundId = "rbxassetid://323177357"
141+
142-
Sounds["GasterTheme"].Volume = 99
142+
143
Sounds["Gaster"].SoundId = "rbxassetid://345052019"
144
Sounds["Gaster"].Volume = 1
145
Sounds["Gun"].SoundId = "http://www.roblox.com/asset?id=406913243"
146
Sounds["Gun"].Volume = 1
147
Sounds["Switch"].SoundId = "http://www.roblox.com/asset?id=388205678"
148
Sounds["Switch"].Volume = 1
149
Sounds["Explode"].SoundId = "rbxasset://sounds/collide.wav"
150
Sounds["Explode"].Volume = .1
151
Sounds["GasterTheme"].SoundId = "rbxassetid://1594398842"
152
Sounds["GasterTheme"].Volume = 3
153
 
154
function PlaySound(soundname, pitch, where, looped)
155
        Sounds[soundname].Parent = where
156
        Sounds[soundname].Pitch = pitch
157
        Sounds[soundname].Looped= looped
158
        Sounds[soundname]:Play()
159
        local oldsound = Sounds[soundname]
160
        coroutine.resume(coroutine.create(function()
161
162
                wait(4)
163
for i = 1,1 do
164
		if oldsound.Looped == true then return end
165
                oldsound:Destroy()
166
end
167
        end))
168
        Sounds[soundname] = Sounds[soundname]:clone()
169
end
170
171
firstuse = true
172
InUse = false
173
174
JusticeAttack = false
175
JusticeAttackDebounce = false
176
177
IntegrityAttack = false
178
IntegrityAttackDebounce = false
179
180
PerseveranceAttack = false
181
PerseveranceAttackDebounce = false
182
183
KindnessAttack = false
184
KindnessAttackDebounce = false
185
186
DeterminationAttack = false
187
DetermiantionAttackDebounce = false
188
189
PatienceAttack = false
190
PatienceAttackDebounce = false
191
192
BraveryAttack = false
193
BraveryAttackDebounce = false
194
195
196
hand1DeterminationhealthDown = false
197
hand2PerseverancehealthDown = false
198
hand3PatiencehealthDown = false
199
hand4IntegrityhealthDown = false
200
hand5BraveryhealthDown = false
201
hand6JusticehealthDown = false
202
hand7KindnesshealthDown = false
203
204
hand1Determination = Instance.new("Model", char)
205
hand1Determination.Name ="Red"
206
hand2Perseverance = Instance.new("Model", char)
207
hand2Perseverance.Name ="Purple"
208
hand3Patience = Instance.new("Model", char)
209
hand3Patience.Name = "Cyan"
210
hand4Integrity = Instance.new("Model", char)
211
hand4Integrity.Name = "Blue"
212
hand5Bravery = Instance.new("Model", char)
213
hand5Bravery.Name = "Orange"
214
hand6Justice = Instance.new("Model", char)
215
hand6Justice.Name = "Yellow"
216
hand7Kindness = Instance.new("Model", char)
217
hand7Kindness.Name = "Green"
218
219
function teleportPlayer(pos)
220
 
221
	if player == nil or player.Character == nil then return end
222
223
	char["Left Leg"].CFrame = CFrame.new(Vector3.new(pos.x, pos.y , pos.z))
224
coroutine.resume(coroutine.create(function()
225
226
TeleportPart = Instance.new("Part",workspace)
227
228
TeleportPart.FormFactor="Custom"
229
230
TeleportPart.Size=Vector3.new(0.8,0.8,0.8)
231
232
TeleportPart.TopSurface = 0
233
234
TeleportPart.BottomSurface = 0
235
236
local colorc = {"Black"}
237
238
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
239
240
TeleportPart.BrickColor = Fire
241
242
TeleportPart.CanCollide=false
243
244
TeleportPart.Anchored=true
245
246
TeleportPart.CFrame =(Torso.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
247
248
TeleportPartmesh = Instance.new("BlockMesh",TeleportPart)
249
	
250
251
game.Debris:AddItem(TeleportPart,1.5)
252
253
for i = 1,5 do wait()
254
Torso.Transparency = Torso.Transparency - 0.2
255
char["Left Arm"].Transparency = char["Left Arm"].Transparency - 0.2
256
char["Left Leg"].Transparency = char["Left Leg"].Transparency - 0.2
257
char["Right Arm"].Transparency = char["Right Arm"].Transparency - 0.2
258
char["Right Leg"].Transparency = char["Right Leg"].Transparency - 0.2
259
char.Head.Transparency = char.Head.Transparency - 0.2
260
Crack1.Transparency = Crack1.Transparency - 0.2
261
Crack2.Transparency = Crack2.Transparency - 0.2
262
mouth.Transparency = mouth.Transparency - 0.2
263
Eye1.Transparency = Eye1.Transparency - 0.2
264
Eye2.Transparency = Eye2.Transparency - 0.2
265
MEye1.Transparency = MEye1.Transparency - 0.2
266
MEye2.Transparency = MEye2.Transparency - 0.2
267
end
268
269
270
Torso.Transparency = 0
271
char["Left Arm"].Transparency = 0
272
char["Left Leg"].Transparency = 0
273
char["Right Arm"].Transparency = 0
274
char["Right Leg"].Transparency = 0
275
char.Head.Transparency = 0
276
Crack1.Transparency = 0
277
Crack2.Transparency = 0
278
mouth.Transparency = 0
279
Eye1.Transparency = 0
280
Eye2.Transparency = 0
281
MEye1.Transparency = 0
282
MEye2.Transparency = 0
283
284
end))
285
286
for i = 1,7 do
287
local parti = Instance.new("Part",Torso)
288
parti.Anchored = true
289
parti.TopSurface = 0
290
parti.BottomSurface = 0
291
parti.CanCollide = false
292
parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
293
parti.CFrame = Torso.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
294
parti.Transparency = 0
295
parti.BrickColor = BrickColor.new("Black")
296
game.Debris:AddItem(parti,1.5)
297
298
299
300
301
302
303
304
local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
305
game:service("RunService").Stepped:connect(function()
306
parti.Transparency = parti.Transparency + 0.05	
307
parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
308
end)
309
310
311-
for _,v in pairs(char.Head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end
311+
312-
for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end
312+
313-
for _,v in pairs(char:GetChildren()) do if v.ClassName=="Shirt" or v.ClassName=="Pants" or v.ClassName=="T-Shirt" or v.ClassName=="ShirtGraphic" or v.ClassName=="CharacterMesh" then v:remove() end end
313+
314-
shirt=Instance.new("Shirt", char)
314+
315-
pants=Instance.new("Pants", char)
315+
316
TeleportPart.CFrame = clerp(TeleportPart.CFrame*CFrame.Angles(math.rad(10),math.rad(10),math.rad(10)),TeleportPart.CFrame,0.1) 
317
TeleportPart.Transparency = TeleportPart.Transparency + 0.1	
318
end	
319-
shirt.ShirtTemplate="rbxassetid://535199088"
319+
320-
pants.PantsTemplate="rbxassetid://532840011"
320+
321
322-
--------Gaster's head
322+
323
--------Gaster's hand
324
325
startup()
326-
mouth = Instance.new("Part",suit)
326+
327-
mouth.Size = Vector3.new(0.2,.7,0.4)
327+
328
hand1DeterminationPosition.Size = Vector3.new(1,1,1)
329-
mouth.BrickColor = BrickColor.new("Really black")
329+
330-
mouth.CanCollide = false
330+
331-
mouthMesh = Instance.new("SpecialMesh",mouth)
331+
332-
mouthMesh.MeshType = "Sphere"
332+
333-
mouthMesh.Scale = Vector3.new(2.5,0.1,0.8)
333+
334
hand2PerseverancePosition = Instance.new("Part",suit)
335-
weld(char.Head,mouth,CFrame.new(0,0,0),CFrame.new(0, .3, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
335+
336
hand2PerseverancePosition.Transparency = 1
337
hand2PerseverancePosition.CanCollide = false
338-
Crack2 = Instance.new("Part",suit)
338+
339-
Crack2.Size = Vector3.new(0.2,.7,0.4)
339+
340
341-
Crack2.BrickColor = BrickColor.new("Really black")
341+
342-
Crack2.CanCollide = false
342+
343-
Crack2Mesh = Instance.new("SpecialMesh",Crack2)
343+
344-
Crack2Mesh.MeshType = "Sphere"
344+
345-
Crack2Mesh.Scale = Vector3.new(0.3,0.7,0.8)
345+
346
weld(Torso,hand3PatiencePosition,CFrame.new(0,0,0),CFrame.new(-4, -5, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
347-
weld(char.Head,Crack2,CFrame.new(0,0,0),CFrame.new(.2, .15, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, -.2),char)
347+
348
hand4IntegrityPosition = Instance.new("Part",suit)
349
hand4IntegrityPosition.Size = Vector3.new(1,1,1)
350-
Crack1 = Instance.new("Part",suit)
350+
351-
Crack1.Size = Vector3.new(0.2,.7,0.4)
351+
352
353-
Crack1.BrickColor = BrickColor.new("Really black")
353+
354-
Crack1.CanCollide = false
354+
355-
Crack1Mesh = Instance.new("SpecialMesh",Crack1)
355+
356-
Crack1Mesh.MeshType = "Sphere"
356+
357-
Crack1Mesh.Scale = Vector3.new(0.3,0.7,0.65)
357+
358
hand5BraveryPosition.CanCollide = false
359-
weld(char.Head,Crack1,CFrame.new(0,0,0),CFrame.new(-.2, -.3, 0.45)*CFrame.fromEulerAnglesXYZ(0, 0, .2),char)
359+
360
weld(Torso,hand5BraveryPosition,CFrame.new(0,0,0),CFrame.new(-6, -7, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
361
362-
Eye1 = Instance.new("Part",suit)
362+
363-
Eye1.Size = Vector3.new(0.4,0.4,0.4)
363+
364
hand6JusticePosition.Transparency = 1
365-
Eye1.BrickColor = BrickColor.new("Really black")
365+
366-
Eye1.CanCollide = false
366+
367-
Eye1Mesh = Instance.new("SpecialMesh",Eye1)
367+
368-
Eye1Mesh.MeshType = "Sphere"
368+
369-
Eye1Mesh.Scale = Vector3.new(1,1,0.6)
369+
370
hand7KindnessPosition.Size = Vector3.new(1,1,1)
371-
weld(char.Head,Eye1,CFrame.new(0,0,0),CFrame.new(-.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
371+
372
hand7KindnessPosition.CanCollide = false
373
374-
Eye2 = Instance.new("Part",suit)
374+
375-
Eye2.Size = Vector3.new(0.4,0.4,0.4)
375+
376
377-
Eye2.CanCollide = false
377+
378-
Eye2.BrickColor = BrickColor.new("Really black")
378+
379-
Eye2Mesh = Instance.new("SpecialMesh",Eye2)
379+
380-
Eye2Mesh.MeshType = "Sphere"
380+
381-
Eye2Mesh.Scale = Vector3.new(1,1,0.6)
381+
382
weld(Torso,AttackPosition,CFrame.new(0,0,0),CFrame.new(0, 0, 4)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
383-
weld(char.Head,Eye2,CFrame.new(0,0,0),CFrame.new(.2, -.1, 0.5)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
383+
384
385-
MEye1 = Instance.new("Part",suit)
385+
386-
MEye1.Size = Vector3.new(0.3,0.3,0.3)
386+
387
388-
MEye1.Material= "Neon"
388+
389-
MEye1.BrickColor = BrickColor.new("Institutional white")
389+
390-
MEye1.CanCollide = false
390+
391-
MEye1Mesh = Instance.new("SpecialMesh",MEye1)
391+
392-
MEye1Mesh.MeshType = "Sphere"
392+
393-
MEye1Mesh.Scale = Vector3.new(.2,.5,.2)
393+
394
Determination.Size = Vector3.new(5,5,5)
395-
weld(Eye1,MEye1,CFrame.new(0,0,0),CFrame.new(-.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
395+
396
Determination.Position = hand1DeterminationPosition.Position
397-
MEye2 = Instance.new("Part",suit)
397+
398-
MEye2.Size = Vector3.new(0.3,0.3,0.3)
398+
DeterminationMesh.MeshId = "rbxassetid://546760018"
399
DeterminationMesh.Offset = Vector3.new(0,0,0)
400-
MEye2.Material= "Neon"
400+
401-
MEye2.BrickColor = BrickColor.new("Institutional white")
401+
402-
MEye2.CanCollide = false
402+
403-
MEye2Mesh = Instance.new("SpecialMesh",MEye2)
403+
404-
MEye2Mesh.MeshType = "Sphere"
404+
405-
MEye2Mesh.Scale = Vector3.new(.2,.5,.2)
405+
406
407-
weld(Eye2,MEye2,CFrame.new(0,0,0),CFrame.new(.02,0,0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
407+
408
weld(hand1DeterminationPosition,Determination,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
409
410
local p = Instance.new("Part",workspace)
411
412
p.FormFactor="Custom"
413
414
p.Size=Vector3.new(0.8,0.8,0.8)
415
416
p.TopSurface = 0
417
418
p.BottomSurface = 0
419
420
local colorc = {"Really red"}
421
422
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
423
424
p.BrickColor = Fire
425
426
p.CanCollide=false
427
428
p.Anchored=true
429
430
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
431
432
	
433
for i = 1,8 do wait()
434
	
435
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
436
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
437
end	
438
p:remove()
439
440
441
442
--2--
443
444
445
hand2Perseverancehealth = Instance.new("Humanoid",hand2Perseverance)
446
hand2Perseverancehealth.DisplayDistanceType = "None"
447
hand2Perseverancehealth.Health = 100
448
hand2Perseverancehealth.MaxHealth = 100
449
450
Perseverance = Instance.new("Part",hand2Perseverance)
451
Perseverance.Size = Vector3.new(1,1.5,0.2)
452
Perseverance.Name = "Head"
453
Perseverance.Position = hand2PerseverancePosition.Position
454
PerseveranceMesh = Instance.new("SpecialMesh",Perseverance)
455
PerseveranceMesh.MeshId = "rbxassetid://430045961"
456
PerseveranceMesh.Offset = Vector3.new(0.09,0.1,0)
457
Perseverance.BrickColor = BrickColor.new("Institutional white")
458
459
PerseveranceOrb = Instance.new("Part",Perseverance)
460
PerseveranceOrb.Size = Vector3.new(0.3,0.3,0.2)
461
PerseveranceOrb.BrickColor = BrickColor.new("Magenta")
462
weld(Perseverance,PerseveranceOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
463
464
465
weld(hand2PerseverancePosition,Perseverance,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
466
467
local p = Instance.new("Part",workspace)
468
469
p.FormFactor="Custom"
470
471
p.Size=Vector3.new(0.8,0.8,0.8)
472
473
p.TopSurface = 0
474
475
p.BottomSurface = 0
476
477
local colorc = {"Magenta"}
478
479
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
480
481-
Determination.Size = Vector3.new(1,1.5,0.2)
481+
482
483
p.CanCollide=false
484
485-
DeterminationMesh.MeshId = "rbxassetid://430045961"
485+
486-
DeterminationMesh.Offset = Vector3.new(0.09,0.1,0)
486+
487
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
488
489
	
490
for i = 1,8 do wait()
491
	
492
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
493
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
494
end	
495
p:remove()
496
497
--3--
498
499
hand3Patiencehealth = Instance.new("Humanoid",hand3Patience)
500
hand3Patiencehealth.DisplayDistanceType = "None"
501
hand3Patiencehealth.Health = 100
502
hand3Patiencehealth.MaxHealth = 100
503
504
Patience = Instance.new("Part",hand3Patience)
505
Patience.Size = Vector3.new(1,1.5,0.2)
506
Patience.Name = "Head"
507
PatienceMesh = Instance.new("SpecialMesh",Patience)
508
PatienceMesh.MeshId = "rbxassetid://430045961"
509
PatienceMesh.Offset = Vector3.new(0.09,0.1,0)
510
Patience.BrickColor = BrickColor.new("Institutional white")
511
512
513
PatienceOrb = Instance.new("Part",Patience)
514
PatienceOrb.Size = Vector3.new(0.3,0.3,0.2)
515
PatienceOrb.BrickColor = BrickColor.new("Cyan")
516
weld(Patience,PatienceOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
517
518
519
weld(hand3PatiencePosition,Patience,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
520
521
local p = Instance.new("Part",workspace)
522
523
p.FormFactor="Custom"
524
525
p.Size=Vector3.new(0.8,0.8,0.8)
526
527
p.TopSurface = 0
528
529
p.BottomSurface = 0
530
531
local colorc = {"Cyan"}
532
533
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
534
535
p.BrickColor = Fire
536
537
p.CanCollide=false
538
539
p.Anchored=true
540
541
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
542
543
	
544
for i = 1,8 do wait()
545
	
546
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
547
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
548
end	
549
p:remove()
550
551
--4--
552
553
hand4Integrityhealth = Instance.new("Humanoid",hand4Integrity)
554
hand4Integrityhealth.DisplayDistanceType = "None"
555
hand4Integrityhealth.Health = 100
556
hand4Integrityhealth.MaxHealth = 100
557
558
Integrity = Instance.new("Part",hand4Integrity)
559
Integrity.Size = Vector3.new(1,1.5,0.2)
560
Integrity.Name = "Head"
561
Integrity.Position = hand1DeterminationPosition.Position
562
IntegrityMesh = Instance.new("SpecialMesh",Integrity)
563
IntegrityMesh.MeshId = "rbxassetid://430045961"
564
IntegrityMesh.Offset = Vector3.new(0.09,0.1,0)
565
Integrity.BrickColor = BrickColor.new("Institutional white")
566
567
568
IntegrityOrb = Instance.new("Part",Integrity)
569
IntegrityOrb.Size = Vector3.new(0.3,0.3,0.2)
570
IntegrityOrb.BrickColor = BrickColor.new("Deep blue")
571
weld(Integrity,IntegrityOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
572
573
574
weld(hand4IntegrityPosition,Integrity,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
575
576
577
local p = Instance.new("Part",workspace)
578
579
p.FormFactor="Custom"
580
581
p.Size=Vector3.new(0.8,0.8,0.8)
582
583
p.TopSurface = 0
584
585
p.BottomSurface = 0
586
587
local colorc = {"Deep blue"}
588
589
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
590
591
p.BrickColor = Fire
592
593
p.CanCollide=false
594
595
p.Anchored=true
596
597
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
598
599
	
600
for i = 1,8 do wait()
601
	
602
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
603
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
604
end	
605
p:remove()
606
607
--5--
608
609
610
hand5Braveryhealth = Instance.new("Humanoid",hand5Bravery)
611
hand5Braveryhealth.DisplayDistanceType = "None"
612
hand5Braveryhealth.Health = 100
613
hand5Braveryhealth.MaxHealth = 100
614
615
616
Bravery = Instance.new("Part",hand5Bravery)
617
Bravery .Size = Vector3.new(1,1.5,0.2)
618
Bravery .Name = "Head"
619
Bravery.Position = hand1DeterminationPosition.Position
620
BraveryMesh = Instance.new("SpecialMesh",Bravery)
621
BraveryMesh.MeshId = "rbxassetid://430045961"
622
BraveryMesh.Offset = Vector3.new(0.09,0.1,0)
623
Bravery.BrickColor = BrickColor.new("Institutional white")
624
625
BraveryOrb = Instance.new("Part",Bravery)
626
BraveryOrb.Size = Vector3.new(0.3,0.3,0.2)
627
BraveryOrb.BrickColor = BrickColor.new("Deep orange")
628
weld(Bravery,BraveryOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
629
630
631
weld(hand5BraveryPosition,Bravery,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
632
633
634
635
local p = Instance.new("Part",workspace)
636
637
p.FormFactor="Custom"
638
639
p.Size=Vector3.new(0.8,0.8,0.8)
640
641
p.TopSurface = 0
642
643
p.BottomSurface = 0
644
645
local colorc = {"Deep orange"}
646
647
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
648
649
p.BrickColor = Fire
650
651
p.CanCollide=false
652
653
p.Anchored=true
654
655
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
656
657
	
658
for i = 1,8 do wait()
659
	
660
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
661
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
662
end	
663
p:remove()
664
--6--
665
666
hand6Justicehealth = Instance.new("Humanoid",hand6Justice)
667
hand6Justicehealth.DisplayDistanceType = "None"
668
hand6Justicehealth.Health = 100
669
hand6Justicehealth.MaxHealth = 100
670
671
Justice = Instance.new("Part",hand6Justice)
672
Justice .Size = Vector3.new(1,1.5,0.2)
673
Justice.Name = "Head"
674
Justice.Position = hand1DeterminationPosition.Position
675
JusticeMesh = Instance.new("SpecialMesh",Justice)
676
JusticeMesh.MeshId = "rbxassetid://430045961"
677
JusticeMesh.Offset = Vector3.new(0.09,0.1,0)
678
Justice.BrickColor = BrickColor.new("Institutional white")
679
680
JusticeOrb = Instance.new("Part",Justice)
681
JusticeOrb.Size = Vector3.new(0.3,0.3,0.2)
682
JusticeOrb.BrickColor = BrickColor.new("New Yeller")
683
weld(Justice,JusticeOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
684
685
686
weld(hand6JusticePosition,Justice,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
687
688
689
690
local p = Instance.new("Part",workspace)
691
692
p.FormFactor="Custom"
693
694
p.Size=Vector3.new(0.8,0.8,0.8)
695
696
p.TopSurface = 0
697
698
p.BottomSurface = 0
699
700
local colorc = {"New Yeller"}
701
702
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
703
704
p.BrickColor = Fire
705
706
p.CanCollide=false
707
708
p.Anchored=true
709
710
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
711
712
	
713
for i = 1,8 do wait()
714
	
715
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
716
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
717
end	
718
p:remove()
719
--7--
720
721
hand7Kindnesshealth = Instance.new("Humanoid",hand7Kindness)
722
hand7Kindnesshealth.DisplayDistanceType = "None"
723
hand7Kindnesshealth.Health = 100
724
hand7Kindnesshealth.MaxHealth = 100
725
726
Kindness = Instance.new("Part",hand7Kindness)
727
Kindness .Size = Vector3.new(1,1.5,0.2)
728
Kindness.Name = "Head"
729
Kindness.Position = hand1DeterminationPosition.Position
730
KindnessMesh = Instance.new("SpecialMesh",Kindness)
731
KindnessMesh.MeshId = "rbxassetid://430045961"
732
KindnessMesh.Offset = Vector3.new(0.09,0.1,0)
733
Kindness.BrickColor = BrickColor.new("Institutional white")
734
735
KindnessOrb = Instance.new("Part",Kindness)
736
KindnessOrb.Size = Vector3.new(0.3,0.3,0.2)
737
KindnessOrb.BrickColor = BrickColor.new("Lime green")
738
weld(Kindness,KindnessOrb,CFrame.new(0,0,0),CFrame.new(0, 0.2, 0.1)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
739
740
741
weld(hand7KindnessPosition,Kindness,CFrame.new(0,0,0),CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0),char)
742
local p = Instance.new("Part",workspace)
743
744
p.FormFactor="Custom"
745
746
p.Size=Vector3.new(0.8,0.8,0.8)
747
748
p.TopSurface = 0
749
750
p.BottomSurface = 0
751
752
local colorc = {"Lime green"}
753
754
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
755
756
p.BrickColor = Fire
757
758
p.CanCollide=false
759
760
p.Anchored=true
761
762
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
763
764
	
765
for i = 1,8 do wait()
766
	
767
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
768
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
769
end	
770
p:remove()
771
772
PlaySound("GasterTheme", 1, char.Torso, true)
773
774
---functions and attacks
775
776
function BravAttack()
777
if hand5BraveryhealthDown ==  true then return end
778
if switchvalue == 7 then	
779
780
BraveryAttack = true	
781
	
782
WeldBravery = Instance.new("Weld",Bravery)
783
WeldBravery.Part0 = AttackPosition
784
WeldBravery.Part1 = Bravery
785
WeldBravery.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
786
787
local p = Instance.new("Part",workspace)
788
789
p.FormFactor="Custom"
790
791
p.Size=Vector3.new(0.8,0.8,0.8)
792
793
p.TopSurface = 0
794
795
p.BottomSurface = 0
796
797
local colorc = {"Deep orange"}
798
799
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
800
801
p.BrickColor = Fire
802
803
p.CanCollide=false
804
805
p.Anchored=true
806
807
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
808
809
coroutine.resume(coroutine.create(function()	
810
for i = 1,8 do wait()
811
	
812
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
813
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
814
end	
815
p:remove()
816
end))
817
818
819
	
820
end
821
822
end
823
824
825
826
function BravRest()
827
if hand5BraveryhealthDown ==  true then return end	
828
if switchvalue == 6 then
829
830
if BraveryAttack == true then
831
WeldBravery:remove()	
832
833
834
local p = Instance.new("Part",workspace)
835
836
p.FormFactor="Custom"
837
838
p.Size=Vector3.new(0.8,0.8,0.8)
839
840
p.TopSurface = 0
841
842
p.BottomSurface = 0
843
844
local colorc = {"Deep orange"}
845
846
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
847
848
p.BrickColor = Fire
849
850
p.CanCollide=false
851
852
p.Anchored=true
853
854
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
855
coroutine.resume(coroutine.create(function()	
856
for i = 1,8 do wait()
857
	
858
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
859
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
860
end	
861
p:remove()
862
end))
863
	
864
BraveryAttack = false	
865
866
	
867
end
868
end
869
end
870
871
function PatAttack()
872
if hand3PatiencehealthDown ==  true then return end
873
if switchvalue == 6 then	
874
875
PatienceAttack = true	
876
	
877
WeldPatience = Instance.new("Weld",Patience)
878
WeldPatience.Part0 = AttackPosition
879
WeldPatience.Part1 = Patience
880
WeldPatience.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
881
882
local p = Instance.new("Part",workspace)
883
884
p.FormFactor="Custom"
885
886
p.Size=Vector3.new(0.8,0.8,0.8)
887
888
p.TopSurface = 0
889
890
p.BottomSurface = 0
891
892
local colorc = {"Cyan"}
893
894
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
895
896
p.BrickColor = Fire
897
898
p.CanCollide=false
899
900
p.Anchored=true
901
902
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
903
904
coroutine.resume(coroutine.create(function()	
905
for i = 1,8 do wait()
906
	
907
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
908
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
909
end	
910
p:remove()
911
end))
912
913
914
	
915
end
916
917
end
918
919
920
921
function PatRest()
922
if hand3PatiencehealthDown ==  true then return end	
923
if switchvalue == 7 or switchvalue == 5 then
924
925
if PatienceAttack == true then
926
WeldPatience:remove()	
927
928
929
local p = Instance.new("Part",workspace)
930
931
p.FormFactor="Custom"
932
933
p.Size=Vector3.new(0.8,0.8,0.8)
934
935
p.TopSurface = 0
936
937
p.BottomSurface = 0
938
939
local colorc = {"Cyan"}
940
941
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
942
943
p.BrickColor = Fire
944
945
p.CanCollide=false
946
947
p.Anchored=true
948
949
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
950
coroutine.resume(coroutine.create(function()	
951
for i = 1,8 do wait()
952
	
953
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
954
p.CFrame =(Patience.CFrame*CFrame.new(0,0,0))
955
end	
956
p:remove()
957
end))
958
	
959
PatienceAttack = false	
960
961
	
962
end
963
end
964
end
965
966
967
function DetAttack()
968
if hand1DeterminationhealthDown ==  true then return end
969
if switchvalue == 5 then	
970
971
DeterminationAttack = true	
972
	
973
WeldDet = Instance.new("Weld",Determination)
974
WeldDet.Part0 = AttackPosition
975
WeldDet.Part1 = Determination
976
WeldDet.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
977
978
local p = Instance.new("Part",workspace)
979
980
p.FormFactor="Custom"
981
982
p.Size=Vector3.new(0.8,0.8,0.8)
983
984
p.TopSurface = 0
985
986
p.BottomSurface = 0
987
988
local colorc = {"Really red"}
989
990
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
991
992
p.BrickColor = Fire
993
994
p.CanCollide=false
995
996
p.Anchored=true
997
998
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
999
1000
coroutine.resume(coroutine.create(function()	
1001
for i = 1,8 do wait()
1002
	
1003
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1004
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
1005
end	
1006
p:remove()
1007
end))
1008
1009
1010
	
1011
end
1012
1013
end
1014
1015
1016
1017
function DetRest()
1018
if hand1DeterminationhealthDown ==  true then return end	
1019
if switchvalue == 6 or switchvalue == 4 then
1020
1021
if DeterminationAttack == true then
1022
WeldDet:remove()	
1023
1024
1025
local p = Instance.new("Part",workspace)
1026
1027
p.FormFactor="Custom"
1028
1029
p.Size=Vector3.new(0.8,0.8,0.8)
1030
1031
p.TopSurface = 0
1032
1033
p.BottomSurface = 0
1034
1035
local colorc = {"Really red"}
1036
1037
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1038
1039
p.BrickColor = Fire
1040
1041
p.CanCollide=false
1042
1043
p.Anchored=true
1044
1045
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1046
coroutine.resume(coroutine.create(function()	
1047
for i = 1,8 do wait()
1048
	
1049
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1050
p.CFrame =(Determination.CFrame*CFrame.new(0,0,0))
1051
end	
1052
p:remove()
1053
end))
1054
	
1055
DeterminationAttack = false	
1056
1057
	
1058
end
1059
end
1060
end
1061
1062
1063
1064
function KinAttack()
1065
if hand7KindnesshealthDown ==  true then return end
1066
if switchvalue == 4 then	
1067
1068
KindAttack = true	
1069
	
1070
WeldKind = Instance.new("Weld",Kindness)
1071
WeldKind.Part0 = AttackPosition
1072
WeldKind.Part1 = Kindness
1073
WeldKind.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1074
1075
local p = Instance.new("Part",workspace)
1076
1077
p.FormFactor="Custom"
1078
1079
p.Size=Vector3.new(0.8,0.8,0.8)
1080
1081
p.TopSurface = 0
1082
1083
p.BottomSurface = 0
1084
1085
local colorc = {"Lime green"}
1086
1087
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1088
1089
p.BrickColor = Fire
1090
1091
p.CanCollide=false
1092
1093
p.Anchored=true
1094
1095
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1096
1097
coroutine.resume(coroutine.create(function()	
1098
for i = 1,8 do wait()
1099
	
1100
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1101
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
1102
end	
1103
p:remove()
1104
end))
1105
1106
1107
	
1108
end
1109
1110
end
1111
1112
1113
1114
function KinRest()
1115
if hand7KindnesshealthDown ==  true then return end	
1116
if switchvalue == 5 or switchvalue == 3 then
1117
1118
if KindAttack == true then
1119
WeldKind:remove()	
1120
1121
1122
local p = Instance.new("Part",workspace)
1123
1124
p.FormFactor="Custom"
1125
1126
p.Size=Vector3.new(0.8,0.8,0.8)
1127
1128
p.TopSurface = 0
1129
1130
p.BottomSurface = 0
1131
1132
local colorc = {"Lime green"}
1133
1134
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1135
1136
p.BrickColor = Fire
1137
1138
p.CanCollide=false
1139
1140
p.Anchored=true
1141
1142
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1143
coroutine.resume(coroutine.create(function()	
1144
for i = 1,8 do wait()
1145
	
1146
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1147
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
1148
end	
1149
p:remove()
1150
end))
1151
	
1152
KindAttack = false	
1153
1154
	
1155
end
1156
end
1157
end
1158
1159
1160
1161
1162
function PerAttack()
1163
if hand2PerseverancehealthDown ==  true then return end
1164
if switchvalue == 3 then	
1165
1166
PerseveranceAttack = true	
1167
	
1168
WeldPer = Instance.new("Weld",Perseverance)
1169
WeldPer.Part0 = AttackPosition
1170
WeldPer.Part1 = Perseverance
1171
WeldPer.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1172
1173
local p = Instance.new("Part",workspace)
1174
1175
p.FormFactor="Custom"
1176
1177
p.Size=Vector3.new(0.8,0.8,0.8)
1178
1179
p.TopSurface = 0
1180
1181
p.BottomSurface = 0
1182
1183
local colorc = {"Magenta"}
1184
1185
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1186
1187
p.BrickColor = Fire
1188
1189
p.CanCollide=false
1190
1191
p.Anchored=true
1192
1193
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1194
1195
coroutine.resume(coroutine.create(function()	
1196
for i = 1,8 do wait()
1197
	
1198
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1199
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
1200
end	
1201
p:remove()
1202
end))
1203
1204
1205
	
1206
end
1207
1208
end
1209
1210
1211
1212
function PerRest()
1213
if hand2PerseverancehealthDown ==  true then return end	
1214
if switchvalue == 4 or switchvalue == 2 then
1215
1216
if PerseveranceAttack == true then
1217
WeldPer:remove()	
1218
1219
1220
local p = Instance.new("Part",workspace)
1221
1222
p.FormFactor="Custom"
1223
1224
p.Size=Vector3.new(0.8,0.8,0.8)
1225
1226
p.TopSurface = 0
1227
1228
p.BottomSurface = 0
1229
1230
local colorc = {"Magenta"}
1231
1232
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1233
1234
p.BrickColor = Fire
1235
1236
p.CanCollide=false
1237
1238
p.Anchored=true
1239
1240
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1241
coroutine.resume(coroutine.create(function()	
1242
for i = 1,8 do wait()
1243
	
1244
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1245
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
1246
end	
1247
p:remove()
1248
end))
1249
	
1250
PerseveranceAttack = false	
1251
1252
	
1253
end
1254
end
1255
end
1256
 
1257
1258
function IntAttack()
1259
if hand4IntegrityhealthDown ==  true then return end
1260
if switchvalue == 2 then	
1261
1262
IntegrityAttack = true	
1263
	
1264
WeldInt = Instance.new("Weld",Integrity)
1265
WeldInt.Part0 = AttackPosition
1266
WeldInt.Part1 = Integrity
1267
WeldInt.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1268
1269
local p = Instance.new("Part",workspace)
1270
1271
p.FormFactor="Custom"
1272
1273
p.Size=Vector3.new(0.8,0.8,0.8)
1274
1275
p.TopSurface = 0
1276
1277
p.BottomSurface = 0
1278
1279
local colorc = {"Dark blue"}
1280
1281
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1282
1283
p.BrickColor = Fire
1284
1285
p.CanCollide=false
1286
1287
p.Anchored=true
1288
1289
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1290
1291
coroutine.resume(coroutine.create(function()	
1292
for i = 1,8 do wait()
1293
	
1294
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1295
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
1296
end	
1297
p:remove()
1298
end))
1299
1300
1301
	
1302
end
1303
1304
end
1305
1306
1307
1308
function IntRest()
1309
if hand4IntegrityhealthDown ==  true then return end	
1310
if switchvalue == 3 or switchvalue == 1 then
1311
1312
if IntegrityAttack == true then
1313
WeldInt:remove()	
1314
1315
1316
local p = Instance.new("Part",workspace)
1317
1318
p.FormFactor="Custom"
1319
1320
p.Size=Vector3.new(0.8,0.8,0.8)
1321
1322
p.TopSurface = 0
1323
1324
p.BottomSurface = 0
1325
1326
local colorc = {"Dark blue"}
1327
1328
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1329
1330
p.BrickColor = Fire
1331
1332
p.CanCollide=false
1333
1334
p.Anchored=true
1335
1336
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1337
coroutine.resume(coroutine.create(function()	
1338
for i = 1,8 do wait()
1339
	
1340
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1341
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
1342
end	
1343
p:remove()
1344
end))
1345
	
1346
IntegrityAttack = false	
1347
1348
	
1349
end
1350
end
1351
end
1352
1353
1354
1355
1356
function JusAttack()
1357
1358
if switchvalue == 1 then	
1359
if hand6JusticehealthDown ==  true then return end
1360
JusticeAttack = true	
1361
	
1362
Weldjus = Instance.new("Weld",Justice)
1363
Weldjus.Part0 = AttackPosition
1364
Weldjus.Part1 = Justice
1365
Weldjus.C1 = CFrame.new(0, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1366
1367
local p = Instance.new("Part",workspace)
1368
1369
p.FormFactor="Custom"
1370
1371
p.Size=Vector3.new(0.8,0.8,0.8)
1372
1373
p.TopSurface = 0
1374
1375
p.BottomSurface = 0
1376
1377
local colorc = {"New Yeller"}
1378
1379
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1380
1381
p.BrickColor = Fire
1382
1383
p.CanCollide=false
1384
1385
p.Anchored=true
1386
1387
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1388
1389
coroutine.resume(coroutine.create(function()	
1390
for i = 1,8 do wait()
1391
	
1392
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1393
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
1394
end	
1395
p:remove()
1396
end))
1397
1398
1399
	
1400
end
1401
1402
end
1403
1404
1405
1406
1407
function JusRest()
1408
if hand6JusticehealthDown ==  true then return end	
1409
if switchvalue == 2 then
1410
1411
if JusticeAttack == true then
1412
Weldjus:remove()	
1413
1414
1415
local p = Instance.new("Part",workspace)
1416
1417
p.FormFactor="Custom"
1418
1419
p.Size=Vector3.new(0.8,0.8,0.8)
1420
1421
p.TopSurface = 0
1422
1423
p.BottomSurface = 0
1424
1425
local colorc = {"New Yeller"}
1426
1427
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1428
1429
p.BrickColor = Fire
1430
1431
p.CanCollide=false
1432
1433
p.Anchored=true
1434
1435
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1436
coroutine.resume(coroutine.create(function()	
1437
for i = 1,8 do wait()
1438
	
1439
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1440
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
1441
end	
1442
p:remove()
1443
end))
1444
	
1445
JusticeAttack = false	
1446
1447
	
1448
end
1449
end
1450
end
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
--Key Presses
1464
1465
mouse.Button1Up:connect(function() 
1466
	
1467
InUse = false	
1468
	
1469
	
1470
end)
1471
1472
mouse.Button1Down:connect(function() 
1473
	
1474
InUse = true	
1475
	
1476
	
1477
end)
1478
1479
 mouse.KeyDown:connect(function(key)
1480
1481
if key =="r" then
1482
if  hand7KindnesshealthDown	== true	then return end	
1483
if	ShieldValueToGasterDebounce == true then return end
1484
1485
if ShieldValueToGaster == false then 
1486
ShieldValueToGaster = true
1487
if ShieldValueToGasterDebounce == false then
1488
ShieldValueToGasterDebounce = true
1489
	
1490
1491
local ShieldOfGaster6= Instance.new("Part",hand7Kindness)
1492
ShieldOfGaster6.TopSurface = "Smooth"
1493
ShieldOfGaster6.BottomSurface = "Smooth"
1494
ShieldOfGaster6.Size = Vector3.new(18, 3, 18)
1495
ShieldOfGaster6.CanCollide = true
1496
ShieldOfGaster6.Anchored =true
1497
ShieldOfGaster6.BrickColor = BrickColor.new("Lime green")
1498
ShieldOfGaster6 .FormFactor = "Custom"
1499
ShieldOfGaster6.Transparency = 0.7
1500
ShieldOfGaster6.CFrame= Torso.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1501
shieldparent6 = ShieldOfGaster6
1502
1503
local ShieldOfGaster5= Instance.new("Part",hand7Kindness)
1504
ShieldOfGaster5.TopSurface = "Smooth"
1505
ShieldOfGaster5.BottomSurface = "Smooth"
1506
ShieldOfGaster5.Size = Vector3.new(18, 3, 18)
1507
ShieldOfGaster5.CanCollide = true
1508
ShieldOfGaster5.Anchored =true
1509
ShieldOfGaster5.BrickColor = BrickColor.new("Lime green")
1510
ShieldOfGaster5 .FormFactor = "Custom"
1511
ShieldOfGaster5.Transparency = 0.7
1512
ShieldOfGaster5.CFrame= Torso.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1513
shieldparent5 = ShieldOfGaster5
1514
1515
local ShieldOfGaster4= Instance.new("Part",hand7Kindness)
1516
ShieldOfGaster4.TopSurface = "Smooth"
1517
ShieldOfGaster4.BottomSurface = "Smooth"
1518
ShieldOfGaster4.Size = Vector3.new(3, 18, 18)
1519
ShieldOfGaster4.CanCollide = true
1520
ShieldOfGaster4.Anchored =true
1521
ShieldOfGaster4.BrickColor = BrickColor.new("Lime green")
1522
ShieldOfGaster4 .FormFactor = "Custom"
1523
ShieldOfGaster4.Transparency = 0.7
1524
ShieldOfGaster4.CFrame= Torso.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1525
shieldparent4 = ShieldOfGaster4
1526
1527
local ShieldOfGaster3= Instance.new("Part",hand7Kindness)
1528
ShieldOfGaster3.TopSurface = "Smooth"
1529
ShieldOfGaster3.BottomSurface = "Smooth"
1530
ShieldOfGaster3.Size = Vector3.new(3, 18, 18)
1531
ShieldOfGaster3.CanCollide = true
1532
ShieldOfGaster3.Anchored =true
1533
ShieldOfGaster3.BrickColor = BrickColor.new("Lime green")
1534
ShieldOfGaster3 .FormFactor = "Custom"
1535
ShieldOfGaster3.Transparency = 0.7
1536
ShieldOfGaster3.CFrame= Torso.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1537
shieldparent3 = ShieldOfGaster3
1538
1539
local ShieldOfGaster2= Instance.new("Part",hand7Kindness)
1540
ShieldOfGaster2.TopSurface = "Smooth"
1541
ShieldOfGaster2.BottomSurface = "Smooth"
1542
ShieldOfGaster2.Size = Vector3.new(18, 18, 3)
1543
ShieldOfGaster2.CanCollide = true
1544
ShieldOfGaster2.Anchored =true
1545
ShieldOfGaster2.BrickColor = BrickColor.new("Lime green")
1546
ShieldOfGaster2 .FormFactor = "Custom"
1547
ShieldOfGaster2.Transparency = 0.7
1548
ShieldOfGaster2.CFrame= Torso.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1549
shieldparent2 = ShieldOfGaster2
1550
1551
local ShieldOfGaster1= Instance.new("Part",hand7Kindness)
1552
ShieldOfGaster1.TopSurface = "Smooth"
1553
ShieldOfGaster1.BottomSurface = "Smooth"
1554
ShieldOfGaster1.Size = Vector3.new(18, 18, 3)
1555
ShieldOfGaster1.CanCollide = true
1556
ShieldOfGaster1.Anchored =true
1557
ShieldOfGaster1.BrickColor = BrickColor.new("Lime green")
1558
ShieldOfGaster1 .FormFactor = "Custom"
1559
ShieldOfGaster1.Transparency = 0.7
1560
ShieldOfGaster1.CFrame= Torso.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
1561
shieldparent1 = ShieldOfGaster1
1562
	 
1563
for i = 1,7 do
1564
local parti = Instance.new("Part",Torso)
1565
parti.Anchored = true
1566
parti.TopSurface = 0
1567
parti.BottomSurface = 0
1568
parti.CanCollide = false
1569
parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
1570
parti.CFrame = Torso.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
1571
parti.Transparency = 0
1572
parti.BrickColor = BrickColor.new("Lime green")
1573
game.Debris:AddItem(parti,1.5)
1574
1575
1576
1577
1578
1579
1580
1581
local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
1582
game:service("RunService").Stepped:connect(function()
1583
parti.Transparency = parti.Transparency + 0.05	
1584
parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
1585
end)
1586
end
1587
1588
ShieldValueToGasterDebounce = false
1589
ShieldValueToGaster = true
1590
end
1591
1592
1593
elseif ShieldValueToGaster == true then 
1594
ShieldValueToGaster = false
1595
if ShieldValueToGasterDebounce == false then
1596
ShieldValueToGasterDebounce = true
1597
1598
	
1599
for i = 1,3 do wait()	
1600
shieldparent6.Transparency =shieldparent6.Transparency + 0.1
1601
shieldparent5.Transparency =shieldparent5.Transparency + 0.1
1602
shieldparent4.Transparency =shieldparent4.Transparency + 0.1
1603
shieldparent3.Transparency =shieldparent3.Transparency + 0.1
1604
shieldparent2.Transparency =shieldparent2.Transparency + 0.1
1605
shieldparent1.Transparency =shieldparent1.Transparency + 0.1
1606
end
1607
shieldparent6:remove()
1608
shieldparent5:remove()
1609
shieldparent4:remove()
1610
shieldparent3:remove()
1611
shieldparent2:remove()
1612
shieldparent1:remove()
1613
1614
shieldparent1=nil
1615
shieldparent2=nil
1616
shieldparent3=nil
1617
shieldparent4=nil
1618
shieldparent5=nil
1619
shieldparent6=nil
1620
1621
1622
ShieldValueToGasterDebounce = false
1623
ShieldValueToGaster = false		
1624
end
1625
end	
1626
	
1627
	
1628
end
1629
1630
	
1631
if key =="x" then
1632
if (not vDebounce) then
1633
	vDebounce = true	
1634
for i = 1,5 do wait()
1635
Torso.Transparency = Torso.Transparency + 0.2
1636
char["Left Arm"].Transparency = char["Left Arm"].Transparency + 0.2
1637
char["Left Leg"].Transparency = char["Left Leg"].Transparency + 0.2
1638
char["Right Arm"].Transparency = char["Right Arm"].Transparency + 0.2
1639
char["Right Leg"].Transparency = char["Right Leg"].Transparency + 0.2
1640
char.Head.Transparency = char.Head.Transparency + 0.2
1641
Crack1.Transparency = Crack1.Transparency + 0.2
1642
Crack2.Transparency = Crack2.Transparency + 0.2
1643
mouth.Transparency = mouth.Transparency + 0.2
1644
Eye1.Transparency = Eye1.Transparency + 0.2
1645
Eye2.Transparency = Eye2.Transparency + 0.2
1646
MEye1.Transparency = MEye1.Transparency + 0.2
1647
MEye2.Transparency = MEye2.Transparency + 0.2
1648
end
1649
	
1650
teleportPlayer(mouse.hit.p)	
1651
char.Humanoid.PlatformStand = false
1652
vDebounce = false
1653
end	
1654
end	
1655
	
1656
1657
1658
if key == "q" then
1659
	
1660
if switchvalue == 1 then return end	
1661
	
1662
switchvalue = switchvalue - 1
1663
1664
print (switchvalue)
1665
1666
JusAttack()
1667
JusRest()
1668
IntAttack()
1669
IntRest()
1670
PerAttack()
1671
PerRest()
1672
KinAttack()
1673
KinRest()
1674
DetAttack()
1675
DetRest()
1676
PatAttack()
1677
PatRest()
1678
BravAttack()
1679
BravRest()			
1680
end	
1681
		
1682
if key == "e" then
1683
	
1684
if switchvalue == 7 then return end	
1685
	
1686
switchvalue = switchvalue + 1
1687
1688
print (switchvalue)
1689
1690
JusAttack()
1691
JusRest()
1692
IntAttack()	
1693
IntRest()
1694
PerAttack()
1695
PerRest()
1696
KinAttack()
1697
KinRest()
1698
DetAttack()
1699
DetRest()
1700
PatAttack()
1701
PatRest()
1702
BravAttack()
1703
BravRest()			
1704
end	
1705
1706
1707
	
1708
end)
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
---runservices
1719
1720
1721
1722
1723
1724
1725
1726
1727
game:service("RunService").Stepped:connect(function() wait(.5)
1728
1729
1730
if hand1DeterminationhealthDown == true and hand2PerseverancehealthDown == true and hand3PatiencehealthDown == true and hand4IntegrityhealthDown == true and hand5BraveryhealthDown == true and hand6JusticehealthDown == true and hand7KindnesshealthDown == true then
1731
	
1732
char.Humanoid.Health = 0
1733
	
1734
	
1735
end 	
1736
 	 	
1737
1738
if InUse == false then return end	
1739
	
1740
if JusticeAttack == true then
1741
	
1742
if InUse == false then return end
1743
if InUse == true then
1744
if JusticeAttackDebounce == true then return end	
1745
if JusticeAttackDebounce == false then
1746
	
1747
1748
JusticeAttackDebounce = true
1749
1750
wait(.2)
1751
	
1752
	
1753
local PewJustice = Instance.new("Part",suit)
1754
PewJustice.Size = Vector3.new(2,1,4)
1755
PewJustice.BrickColor = BrickColor.new("New Yeller")
1756
PewJustice.Position = Justice.Position
1757
PewJustice.CanCollide = false
1758
1759
for i = 1,7 do
1760
local parti = Instance.new("Part",Torso)
1761
parti.Anchored = true
1762
parti.TopSurface = 0
1763
parti.BottomSurface = 0
1764
parti.CanCollide = false
1765
parti.Size = Vector3.new(math.random(.5,.5),math.random(.5,.5),math.random(.5,.5))
1766
parti.CFrame = Justice.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),math.random(-1,1))
1767
parti.Transparency = 0
1768
parti.BrickColor = BrickColor.new("New Yeller")
1769
game.Debris:AddItem(parti,1.5)
1770
1771
1772
1773
1774
1775
1776
1777
local pad = Vector3.new(math.random(-2,2)/100,math.random(-2,2)/100,math.random(-2,2)/100)
1778
game:service("RunService").Stepped:connect(function()
1779
parti.Transparency = parti.Transparency + 0.05	
1780
parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
1781
end)
1782
1783
1784
1785
end
1786
1787
coroutine.resume(coroutine.create(function()	
1788
for i = 1,8 do wait()
1789
	
1790
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1791
p.CFrame =(Justice.CFrame*CFrame.new(0,0,0))
1792
end	
1793
p:remove()
1794
end))         
1795
1796
		local handleCFrame = PewJustice.CFrame
1797
		local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
1798
		local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
1799
		local laserShotClone = PewJustice:Clone()
1800
	    PewJustice:remove()	
1801
	    laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (PewJustice.Size.Z / 2))
1802
		local bodyVelocity = Instance.new('BodyVelocity')
1803
		bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
1804
		bodyVelocity.Parent = laserShotClone
1805
		bodyVelocity.Name = "Magic"
1806
		bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
1807
1808
1809
		laserShotClone.Parent = suit 
1810
		
1811
		
1812
function touch(hit)
1813
1814
1815
if hit.Parent:findFirstChild("Humanoid") ~= nil then
1816
	
1817
if hit.Parent.Name == char.Name then return  end
1818
if hit.Parent.Name == hand1Determination.Name then return  end
1819
if hit.Parent.Name == hand2Perseverance.Name then return  end
1820
if hit.Parent.Name == hand3Patience.Name then return  end
1821
if hit.Parent.Name == hand4Integrity.Name then return  end
1822
if hit.Parent.Name == hand5Bravery.Name then return  end
1823
if hit.Parent.Name == hand6Justice.Name then return  end
1824
if hit.Parent.Name == hand7Kindness.Name then return  end
1825
1826
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-3
1827
1828
local HitSounds = {
1829
        Hurt = Instance.new("Sound")
1830
1831
}
1832
 
1833
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
1834
HitSounds["Hurt"].Volume = 1
1835
 
1836
function PlayHitSound(soundname, pitch)
1837
        HitSounds[soundname].Parent = hit.Parent.Torso
1838
        HitSounds[soundname].Pitch = pitch
1839
        HitSounds[soundname]:Play()
1840
        local oldsound = HitSounds[soundname]
1841
        coroutine.resume(coroutine.create(function()
1842
                wait(4)
1843
                oldsound:Destroy()
1844
        end))
1845
        HitSounds[soundname] = HitSounds[soundname]:clone()
1846
end
1847
1848
 PlayHitSound("Hurt", 1)
1849
1850
coroutine.resume(coroutine.create(function()
1851
laserShotClone.Magic:remove()
1852
1853
wait(3)
1854
laserShotClone:remove()
1855
end))
1856
1857
end end laserShotClone.Touched:connect(touch)
1858
1859
game.Debris:AddItem(laserShotClone,10)		
1860
			
1861
	
1862
JusticeAttackDebounce = false		
1863
end
1864
end	
1865
end	
1866
1867
1868
----2nd Attack
1869
1870
1871
1872
1873
1874
1875
 
1876
1877
if IntegrityAttack == true then
1878
	
1879
if InUse == false then return end
1880
if InUse == true then
1881
if IntegrityAttackDebounce == true then return end	
1882
if IntegrityAttackDebounce == false then
1883
	
1884
1885
IntegrityAttackDebounce = true
1886
1887
wait(.5)
1888
	
1889
for i = 1,2 do wait(1)	
1890
local PewIntegrity = Instance.new("Part",suit)
1891
PewIntegrity.Size = Vector3.new(5,1,5)
1892
PewIntegrity.BrickColor = BrickColor.new("Dark blue")
1893
PewIntegrity.Position = Integrity.Position
1894
PewIntegrity.CanCollide = false
1895
PewIntegrity.Transparency = 0.4
1896
1897
local p = Instance.new("Part",workspace)
1898
1899
p.FormFactor="Custom"
1900
1901
p.Size=Vector3.new(0.8,0.8,0.8)
1902
1903
p.TopSurface = 0
1904
1905
p.BottomSurface = 0
1906
1907
local colorc = {"Dark blue"}
1908
1909
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
1910
1911
p.BrickColor = Fire
1912
1913
p.CanCollide=false
1914
1915
p.Anchored=true
1916
1917
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
1918
coroutine.resume(coroutine.create(function()	
1919
for i = 1,8 do wait()
1920
	
1921
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
1922
p.CFrame =(Integrity.CFrame*CFrame.new(0,0,0))
1923
end	
1924
p:remove()
1925
end))         
1926
1927
		local handleCFrame = PewIntegrity.CFrame
1928
		local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
1929
		local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
1930
		local laserShotClone = PewIntegrity:Clone()
1931
	    PewIntegrity:remove()	
1932
	    laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (PewIntegrity.Size.Z / 2))
1933
		local bodyVelocity = Instance.new('BodyVelocity')
1934
		bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
1935
		negativevelocity = bodyVelocity.velocity*-1
1936
		bodyVelocity.Parent = laserShotClone
1937
		bodyVelocity.Name = "Magic"
1938
		bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
1939
1940
1941
		laserShotClone.Parent = suit 
1942
		
1943
		
1944
function touch(hit)
1945
1946
1947
if hit.Parent:findFirstChild("Humanoid") ~= nil then
1948
	
1949
if hit.Parent.Name == char.Name then return  end
1950
if hit.Parent.Name == hand1Determination.Name then return  end
1951
if hit.Parent.Name == hand2Perseverance.Name then return  end
1952
if hit.Parent.Name == hand3Patience.Name then return  end
1953
if hit.Parent.Name == hand4Integrity.Name then return  end
1954
if hit.Parent.Name == hand5Bravery.Name then return  end
1955
if hit.Parent.Name == hand6Justice.Name then return  end
1956
if hit.Parent.Name == hand7Kindness.Name then return  end
1957
1958
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
1959
1960
local HitSounds = {
1961
        Hurt = Instance.new("Sound")
1962
1963
}
1964
 
1965
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
1966
HitSounds["Hurt"].Volume = 1
1967
 
1968
function PlayHitSound(soundname, pitch)
1969
        HitSounds[soundname].Parent = hit.Parent.Torso
1970
        HitSounds[soundname].Pitch = pitch
1971
        HitSounds[soundname]:Play()
1972
        local oldsound = HitSounds[soundname]
1973
        coroutine.resume(coroutine.create(function()
1974
                wait(4)
1975
                oldsound:Destroy()
1976
        end))
1977
        HitSounds[soundname] = HitSounds[soundname]:clone()
1978
end
1979
1980
 PlayHitSound("Hurt", 1)
1981
1982
1983
1984
end end laserShotClone.Touched:connect(touch)
1985
1986
game.Debris:AddItem(laserShotClone,10)
1987
coroutine.resume(coroutine.create(function()		
1988
for i = 1,25 do wait()
1989
	
1990
local p = Instance.new("Part",workspace)
1991
1992
p.FormFactor="Custom"
1993
1994
p.Size=Vector3.new(5,1,5)
1995
1996
p.TopSurface = 0
1997
1998
p.BottomSurface = 0
1999
2000
local colorc = {"Dark blue"}
2001
2002
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
2003
2004
p.BrickColor = Fire
2005
2006
p.CanCollide=false
2007
2008
p.Anchored=true	
2009
2010
p.Transparency = 0.7
2011
2012
p.CFrame =(laserShotClone.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0.3*i,0))
2013
	
2014
game.Debris:AddItem(p,.2)
2015
	
2016
end			
2017
	
2018
bodyVelocity.velocity = negativevelocity	
2019
2020
for i = 1,25 do wait()
2021
	
2022
local p = Instance.new("Part",workspace)
2023
2024
p.FormFactor="Custom"
2025
2026
p.Size=Vector3.new(5,1,5)
2027
2028
p.TopSurface = 0
2029
2030
p.BottomSurface = 0
2031
2032
local colorc = {"Dark blue"}
2033
2034
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
2035
2036
p.BrickColor = Fire
2037
2038
p.CanCollide=false
2039
2040
p.Anchored=true	
2041
2042
p.Transparency = 0.7
2043
	
2044
game.Debris:AddItem(p,.2)
2045
p.CFrame =(laserShotClone.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0.3*i,0))
2046
	
2047
end
2048
end))		
2049
end	
2050
wait(1)
2051
IntegrityAttackDebounce = false		
2052
end
2053
end	
2054
end	
2055
2056
2057
--3rd AttackPosition
2058
if PerseveranceAttack == true then
2059
	
2060
if InUse == false then return end
2061
if InUse == true then
2062
if PerseveranceAttackDebounce == true then return end	
2063
if PerseveranceAttackDebounce == false then
2064
PerseveranceAttackDebounce = true	
2065
RandomPerseverance = math.random(1,2)
2066
2067
if RandomPerseverance == 2 then	
2068
local randomnumber = math.random(1,2)
2069
2070
2071
2072
wait(.3)
2073
	
2074
2075
2076
local p = Instance.new("Part",workspace)
2077
2078
p.FormFactor="Custom"
2079
2080
p.Size=Vector3.new(0.8,0.8,0.8)
2081
2082
p.TopSurface = 0
2083
2084
p.BottomSurface = 0
2085
2086
local colorc = {"Magenta"}
2087
2088
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
2089
2090
p.BrickColor = Fire
2091
2092
p.CanCollide=false
2093
2094
p.Anchored=true
2095
2096
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
2097
coroutine.resume(coroutine.create(function()	
2098
for i = 1,5 do wait()
2099
	
2100
p.Size=Vector3.new(0.5*i,0.5*i,0.5*i)
2101
p.CFrame =(Perseverance.CFrame*CFrame.new(0,0,0))
2102
end	
2103
p:remove()
2104
end))
2105
2106
local throwbone1 = Instance.new("Part",suit)
2107
throwbone1.TopSurface = "Smooth"
2108
throwbone1.BottomSurface = "Smooth"
2109
throwbone1.Size = Vector3.new(0.2, 0.2, 3)
2110
throwbone1.CanCollide = true
2111
throwbone1.BrickColor = BrickColor.new("Magenta")
2112
throwbone1 .FormFactor = "Custom"
2113
local Weldbonepart2 = Instance.new("Weld",throwbone1)
2114
Weldbonepart2.Part0 = throwbone1
2115
Weldbonepart2.Part1 = Perseverance 
2116
Weldbonepart2.Name = "WBP22"
2117
2118
local throwbone1weld2 = Instance.new("Part",throwbone1)
2119
throwbone1weld2.TopSurface = "Smooth"
2120
throwbone1weld2.BottomSurface = "Smooth"
2121
throwbone1weld2.Size = Vector3.new(0.4, 0.4, 0.4)
2122
throwbone1weld2.CanCollide = true
2123
throwbone1weld2.BrickColor = BrickColor.new("Magenta")
2124
throwbone1weld2 .FormFactor = "Custom"
2125
local Weldbonepart2weld2 = Instance.new("Weld",throwbone1)
2126
Weldbonepart2weld2.Part0 = throwbone1weld2
2127
Weldbonepart2weld2.Part1 = throwbone1
2128
Weldbonepart2weld2.Name = "WBP2W2"
2129
Weldbonepart2weld2.C1 = CFrame.new(0, 0, -1.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2130
2131
2132
local throwbone1weld1 = Instance.new("Part",throwbone1)
2133
throwbone1weld1.TopSurface = "Smooth"
2134
throwbone1weld1.BottomSurface = "Smooth"
2135
throwbone1weld1.Size = Vector3.new(0.4, 0.4, 0.4)
2136
throwbone1weld1.CanCollide = true
2137
throwbone1weld1.BrickColor = BrickColor.new("Magenta")
2138
throwbone1weld1 .FormFactor = "Custom"
2139
local Weldbonepart2weld1 = Instance.new("Weld",throwbone1)
2140
Weldbonepart2weld1.Part0 = throwbone1weld1
2141
Weldbonepart2weld1.Part1 = throwbone1
2142
Weldbonepart2weld1.Name = "WBP2W1"
2143
Weldbonepart2weld1.C1 = CFrame.new(0, 0, 1.3)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2144
2145
2146
if randomnumber == 1 then
2147
for i = 1,10 do wait()
2148
	
2149
Weldbonepart2.C1 = CFrame.new(-3, 0, 0)*CFrame.fromEulerAnglesXYZ(0.7*i, 0, 0)
2150
	
2151
	
2152
end
2153
end 
2154
2155
if randomnumber == 2 then
2156
for i = 1,10 do wait()
2157
	
2158
Weldbonepart2.C1 = CFrame.new(3, 0, 0)*CFrame.fromEulerAnglesXYZ(0.7*i, 0, 0)
2159
	
2160
	
2161
end
2162
end    
2163
2164
2165
		local handleCFrame = throwbone1.CFrame
2166
		local firingPoint = handleCFrame.p + handleCFrame:vectorToWorldSpace(NOZZLE_OFFSET)
2167
		local shotCFrame = CFrame.new(firingPoint, mouse.Hit.p)
2168
		local laserShotClone = throwbone1:Clone()
2169
		laserShotClone.WBP22:remove()
2170
		laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (throwbone1.Size.Z / 2))
2171
		local bodyVelocity = Instance.new('BodyVelocity')
2172
		bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
2173
		bodyVelocity.Parent = laserShotClone
2174
		bodyVelocity.Name = "Magic"
2175
		bodyVelocity.MaxForce = Vector3.new(1000000,1000000,1000000)
2176
2177
2178
		laserShotClone.Parent = suit 
2179
2180
throwbone1:remove()         
2181
2182
2183
		
2184
function touch(hit)
2185
2186
2187
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2188
	
2189
if hit.Parent.Name == char.Name then return  end
2190
if hit.Parent.Name == hand1Determination.Name then return  end
2191
if hit.Parent.Name == hand2Perseverance.Name then return  end
2192
if hit.Parent.Name == hand3Patience.Name then return  end
2193
if hit.Parent.Name == hand4Integrity.Name then return  end
2194
if hit.Parent.Name == hand5Bravery.Name then return  end
2195
if hit.Parent.Name == hand6Justice.Name then return  end
2196
if hit.Parent.Name == hand7Kindness.Name then return  end
2197
2198
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-5
2199
2200
local HitSounds = {
2201
        Hurt = Instance.new("Sound")
2202
2203
}
2204
 
2205
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
2206
HitSounds["Hurt"].Volume = 1
2207
 
2208
function PlayHitSound(soundname, pitch)
2209
        HitSounds[soundname].Parent = hit.Parent.Torso
2210
        HitSounds[soundname].Pitch = pitch
2211
        HitSounds[soundname]:Play()
2212
        local oldsound = HitSounds[soundname]
2213
        coroutine.resume(coroutine.create(function()
2214
                wait(4)
2215
                oldsound:Destroy()
2216
        end))
2217
        HitSounds[soundname] = HitSounds[soundname]:clone()
2218
end
2219
2220
 PlayHitSound("Hurt", 1)
2221
2222
coroutine.resume(coroutine.create(function()
2223
laserShotClone.Magic:remove()
2224
2225
wait(3)
2226
laserShotClone:remove()
2227
end))
2228
2229
end end laserShotClone.Touched:connect(touch)
2230
2231
game.Debris:AddItem(laserShotClone,10)		
2232
2233
2234
elseif RandomPerseverance == 1 then	
2235
	
2236
           PlaySound("Gaster", 1, PerseveranceOrb,false)
2237
           wait(1)
2238
	       local ray = Ray.new(PerseveranceOrb.CFrame.p, (mouse.Hit.p - PerseveranceOrb.CFrame.p).unit*1000)
2239
	       local hit, position = game.Workspace:FindPartOnRay(ray, char)
2240
	
2241
	
2242
2243
	
2244
2245
                local ray = Ray.new(PerseveranceOrb.CFrame.p, (mouse.Hit.p -PerseveranceOrb.CFrame.p).unit*300)
2246
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
2247
                local distance = (position - PerseveranceOrb.CFrame.p).magnitude
2248
                local rp=Instance.new("Part",workspace)
2249
                rp.Anchored=true
2250
                rp.TopSurface="Smooth"
2251
                rp.BottomSurface="Smooth"
2252
                rp.Transparency=0
2253
                rp.BrickColor=BrickColor.new("Bright purple")
2254
                rp.FormFactor="Custom"
2255
                rp.CanCollide=false
2256
                rp.Size=Vector3.new(0.8,0.1,distance)
2257
                rp.Material = "Neon"
2258
                rp.CFrame=CFrame.new(position, PerseveranceOrb.CFrame.p) * CFrame.new(0, 0, -distance/2)
2259
                local cy=Instance.new("BlockMesh",rp)
2260
2261
2262
2263
coroutine.resume(coroutine.create(function()
2264
	wait(1)
2265
                for i=1,10 do
2266
                    wait()
2267
                    rp.Transparency=rp.Transparency + 0.1
2268
 
2269
                end
2270
rp:remove()
2271
end))
2272
2273
function touch(hit)
2274
2275
2276
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2277
	
2278
if hit.Parent.Name == char.Name then return  end
2279
if hit.Parent.Name == hand1Determination.Name then return  end
2280
if hit.Parent.Name == hand2Perseverance.Name then return  end
2281
if hit.Parent.Name == hand3Patience.Name then return  end
2282
if hit.Parent.Name == hand4Integrity.Name then return  end
2283
if hit.Parent.Name == hand5Bravery.Name then return  end
2284
if hit.Parent.Name == hand6Justice.Name then return  end
2285
if hit.Parent.Name == hand7Kindness.Name then return  end
2286
2287
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-20
2288
2289
local HitSounds = {
2290
        Hurt = Instance.new("Sound")
2291
2292
}
2293
 
2294
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
2295
HitSounds["Hurt"].Volume = 1
2296
 
2297
function PlayHitSound(soundname, pitch)
2298
        HitSounds[soundname].Parent = hit.Parent.Torso
2299
        HitSounds[soundname].Pitch = pitch
2300
        HitSounds[soundname]:Play()
2301
        local oldsound = HitSounds[soundname]
2302
        coroutine.resume(coroutine.create(function()
2303
                wait(4)
2304
                oldsound:Destroy()
2305
        end))
2306
        HitSounds[soundname] = HitSounds[soundname]:clone()
2307
end
2308
2309
 PlayHitSound("Hurt", 1)
2310
2311
end end rp.Touched:connect(touch)
2312
	
2313
 	
2314
	
2315
	
2316
	
2317
	
2318
			
2319
end
2320
RandomPerseverance = 0
2321
2322
PerseveranceAttackDebounce = false		
2323
end
2324
end	
2325
end	
2326
2327
if KindAttack == true then
2328
	
2329
if InUse == false then return end
2330
if InUse == true then
2331
if KindnessAttackDebounce == true then return end	
2332
if KindnessAttackDebounce == false then
2333
KindnessAttackDebounce = true
2334
                local ray = Ray.new(Kindness.CFrame.p, (mouse.Hit.p -Kindness.CFrame.p).unit*300)
2335
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
2336
                local distance = (position - Kindness.CFrame.p).magnitude
2337
                local rp=Instance.new("Part",workspace)
2338
                rp.Anchored=true
2339
                rp.TopSurface="Smooth"
2340
                rp.BottomSurface="Smooth"
2341
                rp.Transparency=1
2342
                rp.BrickColor=BrickColor.new("Deep orange")
2343
                rp.FormFactor="Custom"
2344
                rp.CanCollide=false
2345
                rp.Size=Vector3.new(0.6,0.6,distance)
2346
                rp.Material = "Neon"
2347
                rp.CFrame=CFrame.new(position, Kindness.CFrame.p) * CFrame.new(0, 0, -distance/2)
2348
                local cy=Instance.new("BlockMesh",rp)
2349
                rp:Destroy()
2350
2351
2352
2353
local ps = Instance.new("Part", suit)
2354
 ps.Name = "MagicPart"
2355
 ps.TopSurface = "Smooth"
2356
 ps.BottomSurface = "Smooth"
2357
 ps.BrickColor = BrickColor.new("Toothpaste")
2358
 ps.FormFactor = "Custom"
2359
ps.Transparency = 1
2360
 ps.Size = Vector3.new(.2, 3, 3)
2361
 ps.Anchored = true
2362
 ps.CanCollide = false
2363
 ps.CFrame = CFrame.new(position)*CFrame.new(0,3,0)
2364
local cy=Instance.new("SpecialMesh",ps)
2365
cy.MeshType = "Cylinder"
2366
2367
coroutine.resume(coroutine.create(function()
2368
	
2369
2370
2371
local SpawnSounds = {
2372
        Spike = Instance.new("Sound")
2373
2374
}
2375
 
2376
SpawnSounds["Spike"].SoundId = "http://www.roblox.com/asset?id=486286230"
2377
SpawnSounds["Spike"].Volume = 0.5
2378
 
2379
function PlaySpawnSound(soundname, pitch)
2380
        SpawnSounds[soundname].Parent = ps
2381
        SpawnSounds[soundname].Pitch = pitch
2382
        SpawnSounds[soundname]:Play()
2383
        local oldsound = SpawnSounds[soundname]
2384
        coroutine.resume(coroutine.create(function()
2385
                wait(4)
2386
                oldsound:Destroy()
2387
        end))
2388
        SpawnSounds[soundname] = SpawnSounds[soundname]:clone()
2389
end
2390
2391
2392
2393
local p = Instance.new("Part",workspace)
2394
2395
p.FormFactor="Custom"
2396
2397
p.Size=Vector3.new(0.8,0.8,0.8)
2398
2399
p.TopSurface = 0
2400
2401
p.BottomSurface = 0
2402
2403
local colorc = {"Lime green"}
2404
2405
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
2406
2407
p.BrickColor = Fire
2408
2409
p.CanCollide=false
2410
2411
p.Anchored=true
2412
2413
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
2414
coroutine.resume(coroutine.create(function()	
2415
for i = 1,8 do wait()
2416
	
2417
p.Size=Vector3.new(0.8*i,0.8*i,0.8*i)
2418
p.CFrame =(Kindness.CFrame*CFrame.new(0,0,0))
2419
end	
2420
p:remove()
2421
end))  
2422
2423
PlaySpawnSound("Spike", 1)
2424
2425
2426
2427
2428
wait(0.5)
2429
2430
2431
2432
end))
2433
2434
2435
2436
local Shield6= Instance.new("Part",hand7Kindness)
2437
Shield6.TopSurface = "Smooth"
2438
Shield6.BottomSurface = "Smooth"
2439
Shield6.Size = Vector3.new(18, 3, 18)
2440
Shield6.CanCollide = true
2441
Shield6.Anchored =true
2442
Shield6.BrickColor = BrickColor.new("Lime green")
2443
Shield6 .FormFactor = "Custom"
2444
Shield6.Transparency = 0.7
2445
Shield6.CFrame= ps.CFrame*CFrame.new(0,10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2446
2447
2448
local Shield5= Instance.new("Part",hand7Kindness)
2449
Shield5.TopSurface = "Smooth"
2450
Shield5.BottomSurface = "Smooth"
2451
Shield5.Size = Vector3.new(18, 3, 18)
2452
Shield5.CanCollide = true
2453
Shield5.Anchored =true
2454
Shield5.BrickColor = BrickColor.new("Lime green")
2455
Shield5 .FormFactor = "Custom"
2456
Shield5.Transparency = 0.7
2457
Shield5.CFrame= ps.CFrame*CFrame.new(0,-10,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2458
2459
2460
local Shield4= Instance.new("Part",hand7Kindness)
2461
Shield4.TopSurface = "Smooth"
2462
Shield4.BottomSurface = "Smooth"
2463
Shield4.Size = Vector3.new(3, 18, 18)
2464
Shield4.CanCollide = true
2465
Shield4.Anchored =true
2466
Shield4.BrickColor = BrickColor.new("Lime green")
2467
Shield4 .FormFactor = "Custom"
2468
Shield4.Transparency = 0.7
2469
Shield4.CFrame= ps.CFrame*CFrame.new(-10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2470
2471
2472
local Shield3= Instance.new("Part",hand7Kindness)
2473
Shield3.TopSurface = "Smooth"
2474
Shield3.BottomSurface = "Smooth"
2475
Shield3.Size = Vector3.new(3, 18, 18)
2476
Shield3.CanCollide = true
2477
Shield3.Anchored =true
2478
Shield3.BrickColor = BrickColor.new("Lime green")
2479
Shield3 .FormFactor = "Custom"
2480
Shield3.Transparency = 0.7
2481
Shield3.CFrame= ps.CFrame*CFrame.new(10,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2482
2483
2484
local Shield2= Instance.new("Part",hand7Kindness)
2485
Shield2.TopSurface = "Smooth"
2486
Shield2.BottomSurface = "Smooth"
2487
Shield2.Size = Vector3.new(18, 18, 3)
2488
Shield2.CanCollide = true
2489
Shield2.Anchored =true
2490
Shield2.BrickColor = BrickColor.new("Lime green")
2491
Shield2 .FormFactor = "Custom"
2492
Shield2.Transparency = 0.7
2493
Shield2.CFrame= ps.CFrame*CFrame.new(0,0,-10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2494
2495
2496
local Shield1= Instance.new("Part",hand7Kindness)
2497
Shield1.TopSurface = "Smooth"
2498
Shield1.BottomSurface = "Smooth"
2499
Shield1.Size = Vector3.new(18, 18, 3)
2500
Shield1.CanCollide = true
2501
Shield1.Anchored =true
2502
Shield1.BrickColor = BrickColor.new("Lime green")
2503
Shield1 .FormFactor = "Custom"
2504
Shield1.Transparency = 0.7
2505
Shield1.CFrame= ps.CFrame*CFrame.new(0,0,10)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2506
2507
for i = 1,7 do
2508
local parti = Instance.new("Part",Torso)
2509
parti.Anchored = true
2510
parti.TopSurface = 0
2511
parti.BottomSurface = 0
2512
parti.CanCollide = false
2513
parti.Size = Vector3.new(math.random(1,1),math.random(1,1),math.random(1,1))
2514
parti.CFrame = ps.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
2515
parti.Transparency = 0
2516
parti.BrickColor = BrickColor.new("Lime green")
2517
game.Debris:AddItem(parti,1.5)
2518
2519
2520
2521
2522
2523
2524
2525
local pad = Vector3.new(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
2526
game:service("RunService").Stepped:connect(function()
2527
parti.Transparency = parti.Transparency + 0.05	
2528
parti.CFrame = (parti.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20)))+pad
2529
end)
2530
end
2531
2532
wait(3)
2533
2534
function squeeze(hit)
2535
2536
2537
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2538
	
2539
if hit.Parent.Name == char.Name then return  end
2540
if hit.Parent.Name == hand1Determination.Name then return  end
2541
if hit.Parent.Name == hand2Perseverance.Name then return  end
2542
if hit.Parent.Name == hand3Patience.Name then return  end
2543
if hit.Parent.Name == hand4Integrity.Name then return  end
2544
if hit.Parent.Name == hand5Bravery.Name then return  end
2545
if hit.Parent.Name == hand6Justice.Name then return  end
2546
if hit.Parent.Name == hand7Kindness.Name then return  end
2547
2548
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-50
2549
2550
local HitSounds = {
2551
        Hurt = Instance.new("Sound")
2552
2553
}
2554
 
2555
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
2556
HitSounds["Hurt"].Volume = 1
2557
 
2558
function PlayHitSound(soundname, pitch)
2559
        HitSounds[soundname].Parent = hit.Parent.Torso
2560
        HitSounds[soundname].Pitch = pitch
2561
        HitSounds[soundname]:Play()
2562
        local oldsound = HitSounds[soundname]
2563
        coroutine.resume(coroutine.create(function()
2564
                wait(4)
2565
                oldsound:Destroy()
2566
        end))
2567
        HitSounds[soundname] = HitSounds[soundname]:clone()
2568
end
2569
2570
 PlayHitSound("Hurt", 1)
2571
2572
end end 
2573
2574
Shield6.Touched:connect(squeeze)
2575
Shield5.Touched:connect(squeeze)
2576
Shield4.Touched:connect(squeeze)
2577
Shield3.Touched:connect(squeeze)
2578
Shield2.Touched:connect(squeeze)
2579
Shield1.Touched:connect(squeeze)
2580
2581
2582
for i = 1,30 do wait()
2583
	
2584
Shield6.CFrame= clerp(Shield6.CFrame*CFrame.new(0,-.01*i,0),ps.CFrame,.1)
2585
Shield5.CFrame= clerp(Shield5.CFrame*CFrame.new(0,.01*i,0),ps.CFrame,.1)
2586
Shield4.CFrame= clerp(Shield4.CFrame*CFrame.new(.01*i,0,0),ps.CFrame,.1)
2587
Shield3.CFrame= clerp(Shield3.CFrame*CFrame.new(-.01*i,0,0),ps.CFrame,.1)
2588
Shield2.CFrame= clerp(Shield2.CFrame*CFrame.new(0,0,.01*i),ps.CFrame,.1)
2589
Shield1.CFrame= clerp(Shield1.CFrame*CFrame.new(0,0,-.01*i),ps.CFrame,.1)
2590
	
2591
	
2592
end
2593
2594
2595
for i = 1,30 do wait()
2596
	
2597
Shield6.CFrame= clerp(Shield6.CFrame*CFrame.new(0,-.01*i,0),ps.CFrame,.1)
2598
Shield5.CFrame= clerp(Shield5.CFrame*CFrame.new(0,.01*i,0),ps.CFrame,.1)
2599
Shield4.CFrame= clerp(Shield4.CFrame*CFrame.new(.01*i,0,0),ps.CFrame,.1)
2600
Shield3.CFrame= clerp(Shield3.CFrame*CFrame.new(-.01*i,0,0),ps.CFrame,.1)
2601
Shield2.CFrame= clerp(Shield2.CFrame*CFrame.new(0,0,.01*i),ps.CFrame,.1)
2602
Shield1.CFrame= clerp(Shield1.CFrame*CFrame.new(0,0,-.01*i),ps.CFrame,.1)
2603
	
2604
	
2605
end
2606
2607
2608
ps:remove()	
2609
2610
2611
wait(3)
2612
Shield1:Remove()
2613
Shield2:Remove()
2614
Shield3:Remove()
2615
Shield4:Remove()
2616
Shield5:Remove()
2617
Shield6:Remove()
2618
2619
KindnessAttackDebounce = false		
2620
end
2621
end
2622
end
2623
2624
2625
2626
2627
2628
---5th attack---
2629
2630
2631
if DeterminationAttack == true then
2632
	
2633
if InUse == false then return end
2634
if InUse == true then
2635
if DetermiantionAttackDebounce == true then return end	
2636
if DetermiantionAttackDebounce == false then
2637
	
2638
2639
DetermiantionAttackDebounce = true
2640
2641
2642
for i = 1,3 do
2643
local head = Instance.new("Part",char)
2644
head.Size = Vector3.new(18,.2,18)
2645
head.CanCollide = false
2646
head.Anchored = true
2647
head.CFrame = CFrame.new(char.HumanoidRootPart.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
2648
head.Transparency = 1
2649
for i = 1,2 do
2650
decal = Instance.new("Decal",head)
2651
decal.Texture = "rbxassetid://333659534"
2652
if i == 1 then
2653
decal.Face = Enum.NormalId.Top
2654
else
2655
decal.Face = Enum.NormalId.Bottom
2656
end
2657
end
2658
2659
local bg = Instance.new("BodyGyro") 
2660
bg.Parent = head
2661
bg.maxTorque = Vector3.new(0,0,0) 
2662
bg.maxTorque = Vector3.new(0,0,0) 
2663
2664
RandomGasterRotaion = math.random(-10,10)
2665
2666
for i = 1,5 do wait()
2667
	print ' test'
2668
head.CFrame = clerp(head.CFrame*CFrame.new(RandomGasterRotaion,1*i,1*i),head.CFrame,.1)
2669
2670
2671
end
2672
RandomGasterRotaion = 0
2673
2674
2675
	       local ray = Ray.new(head.CFrame.p, (mouse.Hit.p - head.CFrame.p).unit*1000)
2676
	       local hit, position = game.Workspace:FindPartOnRay(ray, char)
2677
	
2678
	
2679
2680
	
2681
2682
                local ray = Ray.new(head.CFrame.p, (mouse.Hit.p -head.CFrame.p).unit*300)
2683
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
2684
                local distance = (position - head.CFrame.p).magnitude
2685
                local rp=Instance.new("Part",workspace)
2686
                rp.Anchored=true
2687
                rp.TopSurface="Smooth"
2688
                rp.BottomSurface="Smooth"
2689
                rp.Transparency=0
2690
                rp.BrickColor=BrickColor.new("Institutional white")
2691
                rp.FormFactor="Custom"
2692
                rp.CanCollide=false
2693
                rp.Size=Vector3.new(10,0,distance)
2694
                rp.Material = "Neon"
2695
                rp.CFrame=CFrame.new(position, head.CFrame.p) * CFrame.new(0, 0, -distance/2)
2696
                local cy=Instance.new("BlockMesh",rp)
2697
head.CFrame = CFrame.new(head.CFrame:toWorldSpace(CFrame.new(0,0,0)).p,mouse.hit.p)
2698
function touch(hit)
2699
2700
2701
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2702
	
2703
if hit.Parent.Name == char.Name then return  end
2704
if hit.Parent.Name == hand1Determination.Name then return  end
2705
if hit.Parent.Name == hand2Perseverance.Name then return  end
2706
if hit.Parent.Name == hand3Patience.Name then return  end
2707
if hit.Parent.Name == hand4Integrity.Name then return  end
2708
if hit.Parent.Name == hand5Bravery.Name then return  end
2709
if hit.Parent.Name == hand6Justice.Name then return  end
2710
if hit.Parent.Name == hand7Kindness.Name then return  end
2711
2712
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
2713
2714
local HitSounds = {
2715
        Hurt = Instance.new("Sound")
2716
2717
}
2718
 
2719
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
2720
HitSounds["Hurt"].Volume = 1
2721
 
2722
function PlayHitSound(soundname, pitch)
2723
        HitSounds[soundname].Parent = hit.Parent.Torso
2724
        HitSounds[soundname].Pitch = pitch
2725
        HitSounds[soundname]:Play()
2726
        local oldsound = HitSounds[soundname]
2727
        coroutine.resume(coroutine.create(function()
2728
                wait(4)
2729
                oldsound:Destroy()
2730
        end))
2731
        HitSounds[soundname] = HitSounds[soundname]:clone()
2732
end
2733
2734
 PlayHitSound("Hurt", 1)
2735
2736
end end rp.Touched:connect(touch)
2737
2738
coroutine.resume(coroutine.create(function()
2739
	
2740
PlaySound("Gaster", 1, head,false)
2741
                for i=1,10 do
2742
                    wait()
2743
                    cy.Scale=cy.Scale+Vector3.new(0,0,.01*i)
2744
                    head.CFrame = head.CFrame*CFrame.new(0,0,1*i)*CFrame.Angles(0,0,0)
2745
                end
2746
for i=1,10 do wait()
2747
	
2748
decal.Transparency =	decal.Transparency + 0.1
2749
rp.Transparency =	rp.Transparency + 0.1	
2750
	
2751
end 
2752
wait(1)
2753
head:Destroy()
2754
rp:Destroy()
2755
end))
2756
end	
2757
2758
2759
wait(0.1)	
2760
DetermiantionAttackDebounce = false		
2761
2762
end
2763
2764
end	
2765
end	
2766
2767
2768
2769
2770
if PatienceAttack == true then
2771
	
2772
if InUse == false then return end
2773
if InUse == true then
2774
if PatienceAttackDebounce == true then return end	
2775
if PatienceAttackDebounce == false then
2776
	
2777
2778
PatienceAttackDebounce = true
2779
2780
2781
2782
2783
	       local ray = Ray.new(PatienceOrb.CFrame.p, (mouse.Hit.p - PatienceOrb.CFrame.p).unit*1000)
2784
	       local hit, position = game.Workspace:FindPartOnRay(ray, char)
2785
	
2786
	
2787
2788
	
2789
2790
                local ray = Ray.new(PatienceOrb.CFrame.p, (mouse.Hit.p -PatienceOrb.CFrame.p).unit*300)
2791
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
2792
                local distance = (position - PatienceOrb.CFrame.p).magnitude
2793
                local rp=Instance.new("Part",workspace)
2794
                rp.Anchored=true
2795
                rp.TopSurface="Smooth"
2796
                rp.BottomSurface="Smooth"
2797
                rp.Transparency=0
2798
                rp.BrickColor=BrickColor.new("Cyan")
2799
                rp.FormFactor="Custom"
2800
                rp.CanCollide=false
2801
                rp.Size=Vector3.new(0.5,0.5,distance)
2802
                rp.Material = "Neon"
2803
                rp.CFrame=CFrame.new(position, PatienceOrb.CFrame.p) * CFrame.new(0, 0, -distance/2)
2804
                local cy=Instance.new("BlockMesh",rp)
2805
coroutine.resume(coroutine.create(function()
2806
                for i=1,13 do
2807
                    wait()
2808
                    cy.Scale=cy.Scale-Vector3.new(.01*i,.01*i,0)
2809
 
2810
                end
2811
end))
2812
function touch(hit)
2813
2814
2815
if hit.Parent:findFirstChild("Humanoid") ~= nil then
2816
	
2817
if hit.Parent.Name == char.Name then return  end
2818
if hit.Parent.Name == hand1Determination.Name then return  end
2819
if hit.Parent.Name == hand2Perseverance.Name then return  end
2820
if hit.Parent.Name == hand3Patience.Name then return  end
2821
if hit.Parent.Name == hand4Integrity.Name then return  end
2822
if hit.Parent.Name == hand5Bravery.Name then return  end
2823
if hit.Parent.Name == hand6Justice.Name then return  end
2824
if hit.Parent.Name == hand7Kindness.Name then return  end
2825
2826
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-7
2827
local hittorso = hit.Parent.Torso
2828
local HitSounds = {
2829
        Hurt = Instance.new("Sound")
2830
2831
}
2832
 
2833
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
2834
HitSounds["Hurt"].Volume = 1
2835
 
2836
function PlayHitSound(soundname, pitch)
2837
        HitSounds[soundname].Parent = hit.Parent.Torso
2838
        HitSounds[soundname].Pitch = pitch
2839
        HitSounds[soundname]:Play()
2840
        local oldsound = HitSounds[soundname]
2841
        coroutine.resume(coroutine.create(function()
2842
                wait(4)
2843
                oldsound:Destroy()
2844
        end))
2845
        HitSounds[soundname] = HitSounds[soundname]:clone()
2846
end
2847
2848
 PlayHitSound("Hurt", 1)
2849
2850
local Tied = Instance.new("Part",hittorso)
2851
Tied.Size = Vector3.new(4,2,1.5)
2852
Tied.Name = "Rope"
2853
Tied.CanCollide = false
2854
Tied.Transparency = 0.1
2855
Tied.BrickColor = BrickColor.new("Cyan")
2856
Tied.CFrame = hittorso.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2857
2858
local Weld = Instance.new("Weld",hittorso)
2859
Weld.Part0 = hittorso
2860
Weld.Part1 = Tied
2861
Weld.C1 = hittorso.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
2862
2863
2864
hit.Parent.Torso.Anchored = true
2865
hit.Parent["Left Arm"].Anchored = true
2866
hit.Parent["Right Arm"].Anchored = true
2867
2868
wait(3)
2869
2870
for i = 1,10 do wait(.1)
2871
	
2872
Tied.Transparency = Tied.Transparency  + 0.1
2873
	
2874
	
2875
end
2876
2877
2878
hit.Parent.Torso.Anchored = false
2879
hit.Parent["Left Arm"].Anchored = false
2880
hit.Parent["Right Arm"].Anchored = false
2881
2882
2883
end end rp.Touched:connect(touch)
2884
2885
coroutine.resume(coroutine.create(function()
2886
	
2887
2888
wait(1)
2889
2890
rp:Destroy()
2891
end))
2892
end	
2893
2894
2895
wait(1)	
2896
PatienceAttackDebounce = false		
2897
2898
end
2899
2900
end	
2901
2902
if BraveryAttack == true then
2903
	
2904
if InUse == false then return end
2905
if InUse == true then
2906
if BraveryAttackDebounce == true then return end	
2907
if BraveryAttackDebounce == false then
2908
BraveryAttackDebounce = true
2909
                local ray = Ray.new(Bravery.CFrame.p, (mouse.Hit.p -Bravery.CFrame.p).unit*300)
2910
                local position = mouse.Hit.p--game.Workspace:FindPartOnRay(ray, walrus)
2911
                local distance = (position - Bravery.CFrame.p).magnitude
2912
                local rp=Instance.new("Part",workspace)
2913
                rp.Anchored=true
2914
                rp.TopSurface="Smooth"
2915
                rp.BottomSurface="Smooth"
2916
                rp.Transparency=1
2917
                rp.BrickColor=BrickColor.new("Deep orange")
2918
                rp.FormFactor="Custom"
2919
                rp.CanCollide=false
2920
                rp.Size=Vector3.new(0.6,0.6,distance)
2921
                rp.Material = "Neon"
2922
                rp.CFrame=CFrame.new(position, Kindness.CFrame.p) * CFrame.new(0, 0, -distance/2)
2923
                local cy=Instance.new("BlockMesh",rp)
2924
                rp:Destroy()
2925
2926
2927
2928
local ps = Instance.new("Part", suit)
2929
 ps.Name = "MagicPart"
2930
 ps.TopSurface = "Smooth"
2931
 ps.BottomSurface = "Smooth"
2932
 ps.BrickColor = BrickColor.new("Toothpaste")
2933
 ps.FormFactor = "Custom"
2934
ps.Transparency = 1
2935
 ps.Size = Vector3.new(.5, .5, .5)
2936
 ps.Anchored = true
2937
 ps.CanCollide = false
2938
 ps.CFrame = CFrame.new(position)*CFrame.new(0,3,0)
2939
local cy=Instance.new("SpecialMesh",ps)
2940
cy.MeshType = "Cylinder"
2941
for i =1,5 do
2942
2943
coroutine.resume(coroutine.create(function()	
2944
coroutine.resume(coroutine.create(function()
2945
	
2946
2947
2948
local SpawnSounds = {
2949
        Spike = Instance.new("Sound")
2950
2951
}
2952
 
2953
SpawnSounds["Spike"].SoundId = "http://www.roblox.com/asset?id=486286230"
2954
SpawnSounds["Spike"].Volume = 0.1
2955
 
2956
function PlaySpawnSound(soundname, pitch)
2957
        SpawnSounds[soundname].Parent = ps
2958
        SpawnSounds[soundname].Pitch = pitch
2959
        SpawnSounds[soundname]:Play()
2960
        local oldsound = SpawnSounds[soundname]
2961
        coroutine.resume(coroutine.create(function()
2962
                wait(4)
2963
                oldsound:Destroy()
2964
        end))
2965
        SpawnSounds[soundname] = SpawnSounds[soundname]:clone()
2966
end
2967
2968
2969
2970
local p = Instance.new("Part",workspace)
2971
2972
p.FormFactor="Custom"
2973
2974
p.Size=Vector3.new(0.3,0.3,0.3)
2975
2976
p.TopSurface = 0
2977
2978
p.BottomSurface = 0
2979
2980
local colorc = {"Deep orange"}
2981
2982
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
2983
2984
p.BrickColor = Fire
2985
2986
p.CanCollide=false
2987
2988
p.Anchored=true
2989
2990
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
2991
coroutine.resume(coroutine.create(function()	
2992
for i = 1,8 do wait()
2993
	
2994
p.Size=Vector3.new(0.3*i,0.3*i,0.3*i)
2995
p.CFrame =(Bravery.CFrame*CFrame.new(0,0,0))
2996
end	
2997
p:remove()
2998
end))  
2999
3000
PlaySpawnSound("Spike", 1)
3001
3002
3003
3004
wait(0.5)
3005
3006
3007
3008
end))
3009
3010
3011
3012
3013
3014
3015
3016
xmathrandom = math.random(-10,10)
3017
ymathrandom = math.random(2,10)
3018
zmathrandom = math.random(-10,10)	
3019
	
3020
local Bomb= Instance.new("Part",hand5Bravery)
3021
Bomb.TopSurface = "Smooth"
3022
Bomb.BottomSurface = "Smooth"
3023
Bomb.Size = Vector3.new(0.1,0.1,0.1)
3024
Bomb.CanCollide = true
3025
Bomb.Anchored =true
3026
Bomb.BrickColor = BrickColor.new("Mid gray")
3027
Bomb .Shape = "Ball"
3028
Bomb .Material= "Neon"
3029
Bomb.Transparency = 0
3030
Bomb.CFrame= ps.CFrame*CFrame.new(xmathrandom,ymathrandom ,zmathrandom )*CFrame.fromEulerAnglesXYZ(0, 0, 0)
3031
3032
3033
xmathrandom = 0
3034
ymathrandom = 0
3035
zmathrandom = 0
3036
3037
wait(1)
3038
3039
3040
Bomb.BrickColor = BrickColor.new("Deep orange")
3041
local p = Instance.new("Part",workspace)
3042
3043
p.FormFactor="Custom"
3044
3045
p.Size=Vector3.new(0.1,0.1,0.1)
3046
3047
p.TopSurface = 0
3048
3049
p.BottomSurface = 0
3050
3051
local colorc = {"Deep orange"}
3052
3053
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
3054
3055
p.BrickColor = Fire
3056
3057
p.CanCollide=false
3058
3059
p.Anchored=true
3060
3061
p.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
3062
coroutine.resume(coroutine.create(function()	
3063
for i = 1,2 do wait()
3064
	
3065
p.Size=Vector3.new(0.1*i,0.1*i,0.1*i)
3066
p.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))
3067
end	
3068
p:remove()
3069
end))  
3070
wait(1)
3071
3072
3073
local explosion = Instance.new("Part",workspace)
3074
3075
explosion.FormFactor="Custom"
3076
3077
explosion.Size=Vector3.new(0.8,0.8,0.8)
3078
3079
explosion.TopSurface = 0
3080
3081
explosion.BottomSurface = 0
3082
3083
local colorc = {"Deep orange"}
3084
3085
local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
3086
3087
explosion.BrickColor = Fire
3088
3089
explosion.CanCollide=false
3090
3091
explosion.Anchored=true
3092
3093
explosion.CFrame =(Bomb.CFrame*CFrame.new(0,0,0))*CFrame.Angles(math.random(-3,3),math.random(-3,3),math.random(-3,3))
3094
3095
PlaySound("Explode", 1, explosion, false)
3096
3097
function touch(hit)
3098
3099
3100
if hit.Parent:findFirstChild("Humanoid") ~= nil then
3101
	
3102
if hit.Parent.Name == char.Name then return  end
3103
if hit.Parent.Name == hand1Determination.Name then return  end
3104
if hit.Parent.Name == hand2Perseverance.Name then return  end
3105
if hit.Parent.Name == hand3Patience.Name then return  end
3106
if hit.Parent.Name == hand4Integrity.Name then return  end
3107
if hit.Parent.Name == hand5Bravery.Name then return  end
3108
if hit.Parent.Name == hand6Justice.Name then return  end
3109
if hit.Parent.Name == hand7Kindness.Name then return  end
3110
3111
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-50
3112
3113
local HitSounds = {
3114
        Hurt = Instance.new("Sound")
3115
3116
}
3117
 
3118
HitSounds["Hurt"].SoundId = "http://www.roblox.com/asset?id=410625063"
3119
HitSounds["Hurt"].Volume = 1
3120
 
3121
function PlayHitSound(soundname, pitch)
3122
        HitSounds[soundname].Parent = hit.Parent.Torso
3123
        HitSounds[soundname].Pitch = pitch
3124
        HitSounds[soundname]:Play()
3125
        local oldsound = HitSounds[soundname]
3126
        coroutine.resume(coroutine.create(function()
3127
                wait(4)
3128
                oldsound:Destroy()
3129
        end))
3130
        HitSounds[soundname] = HitSounds[soundname]:clone()
3131
end
3132
3133
 PlayHitSound("Hurt", 1)
3134
3135
end end 
3136
3137
explosion.Touched:connect(touch)
3138
3139
coroutine.resume(coroutine.create(function()	
3140
for i = 1,10 do wait()
3141
explosion.Position =Bomb.Position
3142
explosion.CFrame =Bomb.CFrame
3143
explosion.Size=Vector3.new(3*i,3*i,3*i)
3144
explosion.Position =Bomb.Position
3145
explosion.CFrame =Bomb.CFrame
3146
explosion.Transparency=explosion.Transparency + 0.1
3147
explosion.Position =Bomb.Position
3148
explosion.CFrame =Bomb.CFrame
3149
end	
3150
explosion:remove()
3151
Bomb:remove()
3152
end))  
3153
3154
3155
3156
3157
3158
3159
ps:remove()	
3160
end))
3161
end
3162
wait(2)
3163
3164
3165
BraveryAttackDebounce = false		
3166
end
3167
end
3168
end
3169
3170
3171
3172
3173
	
3174
	
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
 	
3188
	
3189
3190
	
3191
end)
3192
3193
3194
game:service("RunService").Stepped:connect(function()
3195
	
3196
	
3197
if hand1Determinationhealth.Health == 0 then
3198
3199
if hand1DeterminationhealthDown == false then
3200
hand1DeterminationhealthDown	= true
3201
3202
Determination:remove()
3203
DeterminationAttack = false
3204
DetermiantionAttackDebounce = false	
3205
3206
	
3207
	
3208
end	
3209
	
3210
	
3211
end	
3212
	
3213
end)
3214
3215
game:service("RunService").Stepped:connect(function()
3216
	
3217
	
3218
if hand2Perseverancehealth.Health == 0 then
3219
3220
if hand2PerseverancehealthDown == false then
3221
hand2PerseverancehealthDown	= true
3222
3223
Perseverance:remove()
3224
PerseveranceAttack = false
3225
PerseveranceAttackDebounce = false	
3226
3227
	
3228
	
3229
end	
3230
	
3231
	
3232
end
3233
	
3234
end)
3235
game:service("RunService").Stepped:connect(function()
3236
	
3237
	
3238
if hand3Patiencehealth.Health == 0 then
3239
3240
if hand3PatiencehealthDown == false then
3241
hand3PatiencehealthDown	= true
3242
3243
Patience:remove()
3244
PatienceAttack = false
3245
PatienceAttackDebounce = false	
3246
3247
	
3248
	
3249
end	
3250
	
3251
	
3252
end
3253
3254
	
3255
end)
3256
game:service("RunService").Stepped:connect(function()
3257
	
3258
	
3259
if hand4Integrityhealth.Health == 0 then
3260
3261
if hand4IntegrityhealthDown == false then
3262
hand4IntegrityhealthDown	= true
3263
3264
Integrity:remove()
3265
IntegrityAttack = false
3266
IntegrityAttackDebounce = false	
3267
3268
	
3269
	
3270
end	
3271
	
3272
	
3273
end
3274
	
3275
end)
3276
game:service("RunService").Stepped:connect(function()
3277
	
3278
	
3279
if hand5Braveryhealth.Health == 0 then
3280
3281
if hand5BraveryhealthDown == false then
3282
hand5BraveryhealthDown	= true
3283
3284
Bravery:remove()
3285
BraveryAttack = false
3286
BraveryAttackDebounce = false
3287
3288
	
3289
	
3290
end	
3291
	
3292
	
3293
end
3294
	
3295
end)
3296
game:service("RunService").Stepped:connect(function()
3297
	
3298
	
3299
if hand6Justicehealth.Health == 0 then
3300
3301
if hand6JusticehealthDown == false then
3302
hand6JusticehealthDown	= true
3303
3304
Justice:remove()
3305
JusticeAttack = false
3306
JusticeAttackDebounce = false	
3307
3308
	
3309
	
3310
end	
3311
	
3312
	
3313
end
3314
	
3315
end)
3316
game:service("RunService").Stepped:connect(function()
3317
	
3318
	
3319
if hand7Kindnesshealth.Health == 0 then
3320
3321
if hand7KindnesshealthDown == false then
3322
hand7KindnesshealthDown	= true
3323
3324
Kindness:remove()
3325
KindnessAttack = false
3326
KindnessAttackDebounce = false	
3327
3328
if	ShieldValueToGasterDebounce == false then 
3329
ShieldValueToGasterDebounce = true 
3330
for i = 1,3 do wait()	
3331
shieldparent6.Transparency =shieldparent6.Transparency + 0.1
3332
shieldparent5.Transparency =shieldparent5.Transparency + 0.1
3333
shieldparent4.Transparency =shieldparent4.Transparency + 0.1
3334
shieldparent3.Transparency =shieldparent3.Transparency + 0.1
3335
shieldparent2.Transparency =shieldparent2.Transparency + 0.1
3336
shieldparent1.Transparency =shieldparent1.Transparency + 0.1
3337
end
3338
shieldparent6:remove()
3339
shieldparent5:remove()
3340
shieldparent4:remove()
3341
shieldparent3:remove()
3342
shieldparent2:remove()
3343
shieldparent1:remove()
3344
3345
shieldparent1=nil
3346
shieldparent2=nil
3347
shieldparent3=nil
3348
shieldparent4=nil
3349
shieldparent5=nil
3350
shieldparent6=nil
3351
3352
3353
3354
3355
end	
3356
	
3357
end	
3358
	
3359
	
3360
end
3361
	
3362
end)
3363
3364
char.Humanoid.MaxHealth = 666666666
3365
wait()
3366
char.Humanoid.Health = 666666666