Dark_EccentricYT

Untitled

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