Advertisement
Prozanity

Untitled

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