Advertisement
Prozanity

Untitled

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