Mr-Shadow_Cat

☝︎✌︎💧︎❄︎☜︎☼︎

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