Ic3RB1X

test 2

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