Advertisement
Prozanity

Untitled

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