GalaxyDelta

Untitled

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