Advertisement
refrop

ultra gaster v2.0

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