Advertisement
Skye_Blue

Edited Gaster Script

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