Advertisement
Skye_Blue

Untitled

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