Advertisement
Diegolas97

Untitled

Oct 25th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.76 KB | None | 0 0
  1. function clerp(c1, c2, al)
  2. local com1 = {
  3. c1.X,
  4. c1.Y,
  5. c1.Z,
  6. c1:toEulerAnglesXYZ()
  7. }
  8. local com2 = {
  9. c2.X,
  10. c2.Y,
  11. c2.Z,
  12. c2:toEulerAnglesXYZ()
  13. }
  14. for i, v in pairs(com1) do
  15. com1[i] = v + (com2[i] - v) * al
  16. end
  17. return CFrame.new(com1[1], com1[2], com1[3]) * CFrame.Angles(select(4, unpack(com1)))
  18. end
  19. function weld(p0, p1, c0, c1, par)
  20. local w = Instance.new("Weld", par)
  21. w.Part0 = p0
  22. w.Part1 = p1
  23. w.C0 = c0 or CFrame.new()
  24. w.C1 = c1 or CFrame.new()
  25. return w
  26. end
  27. xmathrandom = math.random(-10, 10)
  28. ymathrandom = math.random(2, 10)
  29. zmathrandom = math.random(-10, 10)
  30. player = game:service("Players").LocalPlayer
  31. char = player.Character
  32. local beat = true
  33. local beattime = 0.6
  34. suit = Instance.new("Model", char)
  35. suit.Name = "Gaster"
  36. local vDebounce = false
  37. Torso = char.Torso
  38. cf = CFrame.new
  39. euler = CFrame.fromEulerAnglesXYZ
  40. local SHOT_SPEED = 100
  41. local SHOT_TIME = 1
  42. local NOZZLE_OFFSET = Vector3.new(0, 0, 0)
  43. mouse = player:GetMouse()
  44. shieldparent1 = nil
  45. shieldparent2 = nil
  46. shieldparent3 = nil
  47. shieldparent4 = nil
  48. shieldparent5 = nil
  49. shieldparent6 = nil
  50. switchvalue = 0
  51. RandomGasterRotaion = 0
  52. RandomPerseverance = 0
  53. ShieldValueToGaster = false
  54. ShieldValueToGasterDebounce = false
  55. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  56. RW.Name = "Right Shoulder"
  57. LW.Name = "Left Shoulder"
  58. RSH, LSH = nil, nil
  59. LS = Torso["Left Shoulder"]
  60. LH = Torso["Left Hip"]
  61. RS = Torso["Right Shoulder"]
  62. RH = Torso["Right Hip"]
  63. RSH = char.Torso["Right Shoulder"]
  64. LSH = char.Torso["Left Shoulder"]
  65. function startup()
  66. RW.Part0 = char.Torso
  67. RW.C0 = CFrame.new(1.5, 0.5, 0)
  68. RW.C1 = CFrame.new(0, 0.5, 0)
  69. RW.Part1 = char["Right Arm"]
  70. RW.Parent = char.Torso
  71. LW.Part0 = char.Torso
  72. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  73. LW.C1 = CFrame.new(0, 0.5, 0)
  74. LW.Part1 = char["Left Arm"]
  75. LW.Parent = char.Torso
  76. for i = 1, 5 do
  77. wait()
  78. RW.C1 = clerp(RW.C1 * CFrame.new(-0.1, 0, 0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(-8), 0), RW.C0, 0.1)
  79. LW.C1 = clerp(LW.C1 * CFrame.new(0.1, 0, 0.1) * CFrame.fromEulerAnglesXYZ(math.rad(-30), math.rad(8), 0), LW.C0, 0.1)
  80. end
  81. coroutine.resume(coroutine.create(function()
  82. wait(1)
  83. for i = 1, 20 do
  84. wait()
  85. RW.C1 = clerp(RW.C1 * CFrame.new(-0.15, -0.05, 0.01) * CFrame.fromEulerAnglesXYZ(-math.rad(-0.1), -math.rad(-0.1), -math.rad(3)), RW.C0, 0.1)
  86. LW.C1 = clerp(LW.C1 * CFrame.new(0.15, -0.05, 0.01) * CFrame.fromEulerAnglesXYZ(math.rad(0.1), math.rad(0.1), -math.rad(-3)), LW.C0, 0.1)
  87. end
  88. for i = 1, 20 do
  89. wait()
  90. RW.C1 = clerp(RW.C1 * CFrame.new(-0.12, 0.05, -0.1) * CFrame.fromEulerAnglesXYZ(-math.rad(-4), -math.rad(-4), -math.rad(-4)), RW.C0, 0.1)
  91. LW.C1 = clerp(LW.C1 * CFrame.new(0.12, 0.05, -0.1) * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(-4), -math.rad(4)), LW.C0, 0.1)
  92. end
  93. end))
  94. end
  95. local Sounds = {
  96. Gaster = Instance.new("Sound"),
  97. Gun = Instance.new("Sound"),
  98. Switch = Instance.new("Sound"),
  99. Explode = Instance.new("Sound"),
  100. GasterTheme = Instance.new("Sound")
  101. }
  102. Sounds.Gaster.SoundId = "rbxassetid://345052019"
  103. Sounds.Gaster.Volume = 1
  104. Sounds.Gun.SoundId = "http://www.roblox.com/asset?id=406913243"
  105. Sounds.Gun.Volume = 1
  106. Sounds.Switch.SoundId = "http://www.roblox.com/asset?id=388205678"
  107. Sounds.Switch.Volume = 1
  108. Sounds.Explode.SoundId = "rbxasset://sounds/collide.wav"
  109. Sounds.Explode.Volume = 0.1
  110. Sounds.GasterTheme.SoundId = "rbxassetid://330630853"
  111. Sounds.GasterTheme.Volume = 5
  112. function PlaySound(soundname, pitch, where, looped)
  113. Sounds[soundname].Parent = where
  114. Sounds[soundname].Pitch = pitch
  115. Sounds[soundname].Looped = looped
  116. Sounds[soundname]:Play()
  117. local oldsound = Sounds[soundname]
  118. coroutine.resume(coroutine.create(function()
  119. wait(4)
  120. for i = 1, 1 do
  121. if oldsound.Looped == true then
  122. return
  123. end
  124. oldsound:Destroy()
  125. end
  126. end))
  127. Sounds[soundname] = Sounds[soundname]:clone()
  128. end
  129.  
  130. CV="Maroon"
  131.  
  132. local txt = Instance.new("BillboardGui", char)
  133. txt.Adornee = char .Head
  134. txt.Name = "_status"
  135. txt.Size = UDim2.new(2, 0, 1.2, 0)
  136. txt.StudsOffset = Vector3.new(-9, 8, 0)
  137. local text = Instance.new("TextLabel", txt)
  138. text.Size = UDim2.new(10, 0, 7, 0)
  139. text.FontSize = "Size36"
  140. text.TextScaled = true
  141. text.TextTransparency = 0
  142. text.BackgroundTransparency = 1
  143. text.TextTransparency = 0
  144. text.TextStrokeTransparency = 0
  145. text.Font = "Garamond"
  146. text.TextStrokeColor3 = Color3.new(255,0,0)
  147.  
  148. v=Instance.new("Part")
  149. v.Name = "ColorBrick"
  150. v.Parent=player.Character
  151. v.FormFactor="Symmetric"
  152. v.Anchored=true
  153. v.CanCollide=false
  154. v.BottomSurface="Smooth"
  155. v.TopSurface="Smooth"
  156. v.Size=Vector3.new(10,5,3)
  157. v.Transparency=1
  158. v.CFrame=char.Torso.CFrame
  159. v.BrickColor=BrickColor.new(CV)
  160. v.Transparency=1
  161. text.TextColor3 = Color3.new(0,0,0)
  162. v.Shape="Block"
  163. text.Text = "Gaster"
  164.  
  165. firstuse = true
  166. InUse = false
  167. JusticeAttack = false
  168. JusticeAttackDebounce = false
  169. IntegrityAttack = false
  170. IntegrityAttackDebounce = false
  171. PerseveranceAttack = false
  172. PerseveranceAttackDebounce = false
  173. KindnessAttack = false
  174. KindnessAttackDebounce = false
  175. DeterminationAttack = false
  176. DetermiantionAttackDebounce = false
  177. PatienceAttack = false
  178. PatienceAttackDebounce = false
  179. BraveryAttack = false
  180. BraveryAttackDebounce = false
  181. hand1DeterminationhealthDown = false
  182. hand2PerseverancehealthDown = false
  183. hand3PatiencehealthDown = false
  184. hand4IntegrityhealthDown = false
  185. hand5BraveryhealthDown = false
  186. hand6JusticehealthDown = false
  187. hand7KindnesshealthDown = false
  188. hand1Determination = Instance.new("Model", char)
  189. hand1Determination.Name = "Red"
  190. hand2Perseverance = Instance.new("Model", char)
  191. hand2Perseverance.Name = "Purple"
  192. hand3Patience = Instance.new("Model", char)
  193. hand3Patience.Name = "Cyan"
  194. hand4Integrity = Instance.new("Model", char)
  195. hand4Integrity.Name = "Blue"
  196. hand5Bravery = Instance.new("Model", char)
  197. hand5Bravery.Name = "Orange"
  198. hand6Justice = Instance.new("Model", char)
  199. hand6Justice.Name = "Yellow"
  200. hand7Kindness = Instance.new("Model", char)
  201. hand7Kindness.Name = "Green"
  202. function teleportPlayer(pos)
  203. if player == nil or player.Character == nil then
  204. return
  205. end
  206. char["Left Leg"].CFrame = CFrame.new(Vector3.new(pos.x, pos.y, pos.z))
  207. coroutine.resume(coroutine.create(function()
  208. TeleportPart = Instance.new("Part", workspace)
  209. TeleportPart.FormFactor = "Custom"
  210. TeleportPart.Size = Vector3.new(0.8, 0.8, 0.8)
  211. TeleportPart.TopSurface = 0
  212. TeleportPart.BottomSurface = 0
  213. local colorc = {"Black"}
  214. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  215. TeleportPart.BrickColor = Fire
  216. TeleportPart.CanCollide = false
  217. TeleportPart.Anchored = true
  218. TeleportPart.CFrame = Torso.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  219. TeleportPartmesh = Instance.new("BlockMesh", TeleportPart)
  220. game.Debris:AddItem(TeleportPart, 1.5)
  221. for i = 1, 5 do
  222. wait()
  223. Torso.Transparency = Torso.Transparency - 0.2
  224. char["Left Arm"].Transparency = char["Left Arm"].Transparency - 0.2
  225. char["Left Leg"].Transparency = char["Left Leg"].Transparency - 0.2
  226. char["Right Arm"].Transparency = char["Right Arm"].Transparency - 0.2
  227. char["Right Leg"].Transparency = char["Right Leg"].Transparency - 0.2
  228. char.Head.Transparency = char.Head.Transparency - 0.2
  229. Crack1.Transparency = Crack1.Transparency - 0.2
  230. Crack2.Transparency = Crack2.Transparency - 0.2
  231. mouth.Transparency = mouth.Transparency - 0.2
  232. Eye1.Transparency = Eye1.Transparency - 0.2
  233. Eye2.Transparency = Eye2.Transparency - 0.2
  234. MEye1.Transparency = MEye1.Transparency - 0.2
  235. MEye2.Transparency = MEye2.Transparency - 0.2
  236. end
  237. Torso.Transparency = 0
  238. char["Left Arm"].Transparency = 0
  239. char["Left Leg"].Transparency = 0
  240. char["Right Arm"].Transparency = 0
  241. char["Right Leg"].Transparency = 0
  242. char.Head.Transparency = 0
  243. Crack1.Transparency = 0
  244. Crack2.Transparency = 0
  245. mouth.Transparency = 0
  246. Eye1.Transparency = 0
  247. Eye2.Transparency = 0
  248. MEye1.Transparency = 0
  249. MEye2.Transparency = 0
  250. end))
  251. for i = 1, 7 do
  252. do
  253. local parti = Instance.new("Part", Torso)
  254. parti.Anchored = true
  255. parti.TopSurface = 0
  256. parti.BottomSurface = 0
  257. parti.CanCollide = false
  258. parti.Size = Vector3.new(math.random(1, 1), math.random(1, 1), math.random(1, 1))
  259. parti.CFrame = Torso.CFrame * CFrame.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  260. parti.Transparency = 0
  261. parti.BrickColor = BrickColor.new("Black")
  262. game.Debris:AddItem(parti, 1.5)
  263. local pad = Vector3.new(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  264. game:service("RunService").Stepped:connect(function()
  265. parti.Transparency = parti.Transparency + 0.05
  266. parti.CFrame = parti.CFrame * CFrame.Angles(math.rad(20), math.rad(20), math.rad(20)) + pad
  267. end)
  268. end
  269. end
  270. for i = 1, 10 do
  271. wait()
  272. TeleportPartmesh.Scale = Vector3.new(2 * i, 2 * i, 2 * i)
  273. TeleportPart.CFrame = clerp(TeleportPart.CFrame * CFrame.Angles(math.rad(10), math.rad(10), math.rad(10)), TeleportPart.CFrame, 0.1)
  274. TeleportPart.Transparency = TeleportPart.Transparency + 0.1
  275. end
  276. end
  277. for _, v in pairs(char.Head:GetChildren()) do
  278. if v.ClassName == "Decal" then
  279. v:remove()
  280. end
  281. end
  282. for _, v in pairs(char:GetChildren()) do
  283. if v.ClassName == "Hat" then
  284. v:remove()
  285. end
  286. end
  287. for _, v in pairs(char:GetChildren()) do
  288. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "T-Shirt" or v.ClassName == "ShirtGraphic" or v.ClassName == "CharacterMesh" then
  289. v:remove()
  290. end
  291. end
  292. shirt = Instance.new("Shirt", char)
  293. pants = Instance.new("Pants", char)
  294. char.Head.BrickColor = BrickColor.new("Institutional white")
  295. shirt.ShirtTemplate = "rbxassetid://535199088"
  296. pants.PantsTemplate = "rbxassetid://532840011"
  297. mouth = Instance.new("Part", suit)
  298. mouth.Size = Vector3.new(0.2, 0.7, 0.4)
  299. mouth.Transparency = 0
  300. mouth.BrickColor = BrickColor.new("Really black")
  301. mouth.CanCollide = false
  302. mouthMesh = Instance.new("SpecialMesh", mouth)
  303. mouthMesh.MeshType = "Sphere"
  304. mouthMesh.Scale = Vector3.new(2.5, 0.1, 0.8)
  305. weld(char.Head, mouth, CFrame.new(0, 0, 0), CFrame.new(0, 0.3, 0.45) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  306. Crack2 = Instance.new("Part", suit)
  307. Crack2.Size = Vector3.new(0.2, 0.7, 0.4)
  308. Crack2.Transparency = 0
  309. Crack2.BrickColor = BrickColor.new("Really black")
  310. Crack2.CanCollide = false
  311. Crack2Mesh = Instance.new("SpecialMesh", Crack2)
  312. Crack2Mesh.MeshType = "Sphere"
  313. Crack2Mesh.Scale = Vector3.new(0.3, 0.7, 0.8)
  314. weld(char.Head, Crack2, CFrame.new(0, 0, 0), CFrame.new(0.2, 0.15, 0.45) * CFrame.fromEulerAnglesXYZ(0, 0, -0.2), char)
  315. Crack1 = Instance.new("Part", suit)
  316. Crack1.Size = Vector3.new(0.2, 0.7, 0.4)
  317. Crack1.Transparency = 0
  318. Crack1.BrickColor = BrickColor.new("Really black")
  319. Crack1.CanCollide = false
  320. Crack1Mesh = Instance.new("SpecialMesh", Crack1)
  321. Crack1Mesh.MeshType = "Sphere"
  322. Crack1Mesh.Scale = Vector3.new(0.3, 0.7, 0.65)
  323. weld(char.Head, Crack1, CFrame.new(0, 0, 0), CFrame.new(-0.2, -0.3, 0.45) * CFrame.fromEulerAnglesXYZ(0, 0, 0.2), char)
  324. Eye1 = Instance.new("Part", suit)
  325. Eye1.Size = Vector3.new(0.4, 0.4, 0.4)
  326. Eye1.Transparency = 0
  327. Eye1.BrickColor = BrickColor.new("Really black")
  328. Eye1.CanCollide = false
  329. Eye1Mesh = Instance.new("SpecialMesh", Eye1)
  330. Eye1Mesh.MeshType = "Sphere"
  331. Eye1Mesh.Scale = Vector3.new(1, 1, 0.6)
  332. weld(char.Head, Eye1, CFrame.new(0, 0, 0), CFrame.new(-0.2, -0.1, 0.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  333. Eye2 = Instance.new("Part", suit)
  334. Eye2.Size = Vector3.new(0.4, 0.4, 0.4)
  335. Eye2.Transparency = 0
  336. Eye2.CanCollide = false
  337. Eye2.BrickColor = BrickColor.new("Really black")
  338. Eye2Mesh = Instance.new("SpecialMesh", Eye2)
  339. Eye2Mesh.MeshType = "Sphere"
  340. Eye2Mesh.Scale = Vector3.new(1, 1, 0.6)
  341. weld(char.Head, Eye2, CFrame.new(0, 0, 0), CFrame.new(0.2, -0.1, 0.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  342. MEye1 = Instance.new("Part", suit)
  343. MEye1.Size = Vector3.new(0.3, 0.3, 0.3)
  344. MEye1.Transparency = 0
  345. MEye1.Material = "Neon"
  346. MEye1.BrickColor = BrickColor.new("Institutional white")
  347. MEye1.CanCollide = false
  348. MEye1Mesh = Instance.new("SpecialMesh", MEye1)
  349. MEye1Mesh.MeshType = "Sphere"
  350. MEye1Mesh.Scale = Vector3.new(0.2, 0.5, 0.2)
  351. weld(Eye1, MEye1, CFrame.new(0, 0, 0), CFrame.new(-0.02, 0, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  352. MEye2 = Instance.new("Part", suit)
  353. MEye2.Size = Vector3.new(0.3, 0.3, 0.3)
  354. MEye2.Transparency = 0
  355. MEye2.Material = "Neon"
  356. MEye2.BrickColor = BrickColor.new("Institutional white")
  357. MEye2.CanCollide = false
  358. MEye2Mesh = Instance.new("SpecialMesh", MEye2)
  359. MEye2Mesh.MeshType = "Sphere"
  360. MEye2Mesh.Scale = Vector3.new(0.2, 0.5, 0.2)
  361. weld(Eye2, MEye2, CFrame.new(0, 0, 0), CFrame.new(0.02, 0, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  362. startup()
  363. hand1DeterminationPosition = Instance.new("Part", suit)
  364. hand1DeterminationPosition.Size = Vector3.new(1, 1, 1)
  365. hand1DeterminationPosition.Transparency = 1
  366. hand1DeterminationPosition.CanCollide = false
  367. weld(Torso, hand1DeterminationPosition, CFrame.new(0, 0, 0), CFrame.new(-2, -5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  368. hand2PerseverancePosition = Instance.new("Part", suit)
  369. hand2PerseverancePosition.Size = Vector3.new(1, 1, 1)
  370. hand2PerseverancePosition.Transparency = 1
  371. hand2PerseverancePosition.CanCollide = false
  372. weld(Torso, hand2PerseverancePosition, CFrame.new(0, 0, 0), CFrame.new(2, -5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  373. hand3PatiencePosition = Instance.new("Part", suit)
  374. hand3PatiencePosition.Size = Vector3.new(1, 1, 1)
  375. hand3PatiencePosition.Transparency = 1
  376. hand3PatiencePosition.CanCollide = false
  377. weld(Torso, hand3PatiencePosition, CFrame.new(0, 0, 0), CFrame.new(-4, -5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  378. hand4IntegrityPosition = Instance.new("Part", suit)
  379. hand4IntegrityPosition.Size = Vector3.new(1, 1, 1)
  380. hand4IntegrityPosition.Transparency = 1
  381. hand4IntegrityPosition.CanCollide = false
  382. weld(Torso, hand4IntegrityPosition, CFrame.new(0, 0, 0), CFrame.new(4, -5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  383. hand5BraveryPosition = Instance.new("Part", suit)
  384. hand5BraveryPosition.Size = Vector3.new(1, 1, 1)
  385. hand5BraveryPosition.Transparency = 1
  386. hand5BraveryPosition.CanCollide = false
  387. weld(Torso, hand5BraveryPosition, CFrame.new(0, 0, 0), CFrame.new(-6, -7, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  388. hand6JusticePosition = Instance.new("Part", suit)
  389. hand6JusticePosition.Size = Vector3.new(1, 1, 1)
  390. hand6JusticePosition.Transparency = 1
  391. hand6JusticePosition.CanCollide = false
  392. weld(Torso, hand6JusticePosition, CFrame.new(0, 0, 0), CFrame.new(6, -7, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  393. hand7KindnessPosition = Instance.new("Part", suit)
  394. hand7KindnessPosition.Size = Vector3.new(1, 1, 1)
  395. hand7KindnessPosition.Transparency = 1
  396. hand7KindnessPosition.CanCollide = false
  397. weld(Torso, hand7KindnessPosition, CFrame.new(0, 0, 0), CFrame.new(0, -7, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  398. AttackPosition = Instance.new("Part", suit)
  399. AttackPosition.Size = Vector3.new(1, 1, 1)
  400. AttackPosition.Transparency = 1
  401. AttackPosition.CanCollide = false
  402. weld(Torso, AttackPosition, CFrame.new(0, 0, 0), CFrame.new(0, 0, 4) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  403. hand1Determinationhealth = Instance.new("Humanoid", hand1Determination)
  404. hand1Determinationhealth.DisplayDistanceType = "None"
  405. hand1Determinationhealth.Health = 100
  406. hand1Determinationhealth.MaxHealth = 100
  407. Determination = Instance.new("Part", hand1Determination)
  408. Determination.Size = Vector3.new(1, 1.5, 0.2)
  409. Determination.Name = "Head"
  410. Determination.Position = hand1DeterminationPosition.Position
  411. DeterminationMesh = Instance.new("SpecialMesh", Determination)
  412. DeterminationMesh.MeshId = "rbxassetid://430045961"
  413. DeterminationMesh.Offset = Vector3.new(0.09, 0.1, 0)
  414. Determination.BrickColor = BrickColor.new("Institutional white")
  415. DeterminationOrb = Instance.new("Part", Determination)
  416. DeterminationOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  417. DeterminationOrb.BrickColor = BrickColor.new("Really red")
  418. weld(Determination, DeterminationOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  419. weld(hand1DeterminationPosition, Determination, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  420. local p = Instance.new("Part", workspace)
  421. p.FormFactor = "Custom"
  422. p.Size = Vector3.new(0.8, 0.8, 0.8)
  423. p.TopSurface = 0
  424. p.BottomSurface = 0
  425. local colorc = {"Really red"}
  426. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  427. p.BrickColor = Fire
  428. p.CanCollide = false
  429. p.Anchored = true
  430. p.CFrame = Determination.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  431. for i = 1, 8 do
  432. wait()
  433. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  434. p.CFrame = Determination.CFrame * CFrame.new(0, 0, 0)
  435. end
  436. p:remove()
  437. hand2Perseverancehealth = Instance.new("Humanoid", hand2Perseverance)
  438. hand2Perseverancehealth.DisplayDistanceType = "None"
  439. hand2Perseverancehealth.Health = 100
  440. hand2Perseverancehealth.MaxHealth = 100
  441. Perseverance = Instance.new("Part", hand2Perseverance)
  442. Perseverance.Size = Vector3.new(1, 1.5, 0.2)
  443. Perseverance.Name = "Head"
  444. Perseverance.Position = hand2PerseverancePosition.Position
  445. PerseveranceMesh = Instance.new("SpecialMesh", Perseverance)
  446. PerseveranceMesh.MeshId = "rbxassetid://430045961"
  447. PerseveranceMesh.Offset = Vector3.new(0.09, 0.1, 0)
  448. Perseverance.BrickColor = BrickColor.new("Institutional white")
  449. PerseveranceOrb = Instance.new("Part", Perseverance)
  450. PerseveranceOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  451. PerseveranceOrb.BrickColor = BrickColor.new("Magenta")
  452. weld(Perseverance, PerseveranceOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  453. weld(hand2PerseverancePosition, Perseverance, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  454. local p = Instance.new("Part", workspace)
  455. p.FormFactor = "Custom"
  456. p.Size = Vector3.new(0.8, 0.8, 0.8)
  457. p.TopSurface = 0
  458. p.BottomSurface = 0
  459. local colorc = {"Magenta"}
  460. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  461. p.BrickColor = Fire
  462. p.CanCollide = false
  463. p.Anchored = true
  464. p.CFrame = Perseverance.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  465. for i = 1, 8 do
  466. wait()
  467. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  468. p.CFrame = Perseverance.CFrame * CFrame.new(0, 0, 0)
  469. end
  470. p:remove()
  471. hand3Patiencehealth = Instance.new("Humanoid", hand3Patience)
  472. hand3Patiencehealth.DisplayDistanceType = "None"
  473. hand3Patiencehealth.Health = 100
  474. hand3Patiencehealth.MaxHealth = 100
  475. Patience = Instance.new("Part", hand3Patience)
  476. Patience.Size = Vector3.new(1, 1.5, 0.2)
  477. Patience.Name = "Head"
  478. PatienceMesh = Instance.new("SpecialMesh", Patience)
  479. PatienceMesh.MeshId = "rbxassetid://430045961"
  480. PatienceMesh.Offset = Vector3.new(0.09, 0.1, 0)
  481. Patience.BrickColor = BrickColor.new("Institutional white")
  482. PatienceOrb = Instance.new("Part", Patience)
  483. PatienceOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  484. PatienceOrb.BrickColor = BrickColor.new("Cyan")
  485. weld(Patience, PatienceOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  486. weld(hand3PatiencePosition, Patience, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  487. local p = Instance.new("Part", workspace)
  488. p.FormFactor = "Custom"
  489. p.Size = Vector3.new(0.8, 0.8, 0.8)
  490. p.TopSurface = 0
  491. p.BottomSurface = 0
  492. local colorc = {"Cyan"}
  493. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  494. p.BrickColor = Fire
  495. p.CanCollide = false
  496. p.Anchored = true
  497. p.CFrame = Patience.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  498. for i = 1, 8 do
  499. wait()
  500. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  501. p.CFrame = Patience.CFrame * CFrame.new(0, 0, 0)
  502. end
  503. p:remove()
  504. hand4Integrityhealth = Instance.new("Humanoid", hand4Integrity)
  505. hand4Integrityhealth.DisplayDistanceType = "None"
  506. hand4Integrityhealth.Health = 100
  507. hand4Integrityhealth.MaxHealth = 100
  508. Integrity = Instance.new("Part", hand4Integrity)
  509. Integrity.Size = Vector3.new(1, 1.5, 0.2)
  510. Integrity.Name = "Head"
  511. Integrity.Position = hand1DeterminationPosition.Position
  512. IntegrityMesh = Instance.new("SpecialMesh", Integrity)
  513. IntegrityMesh.MeshId = "rbxassetid://430045961"
  514. IntegrityMesh.Offset = Vector3.new(0.09, 0.1, 0)
  515. Integrity.BrickColor = BrickColor.new("Institutional white")
  516. IntegrityOrb = Instance.new("Part", Integrity)
  517. IntegrityOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  518. IntegrityOrb.BrickColor = BrickColor.new("Deep blue")
  519. weld(Integrity, IntegrityOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  520. weld(hand4IntegrityPosition, Integrity, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  521. local p = Instance.new("Part", workspace)
  522. p.FormFactor = "Custom"
  523. p.Size = Vector3.new(0.8, 0.8, 0.8)
  524. p.TopSurface = 0
  525. p.BottomSurface = 0
  526. local colorc = {"Deep blue"}
  527. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  528. p.BrickColor = Fire
  529. p.CanCollide = false
  530. p.Anchored = true
  531. p.CFrame = Integrity.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  532. for i = 1, 8 do
  533. wait()
  534. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  535. p.CFrame = Integrity.CFrame * CFrame.new(0, 0, 0)
  536. end
  537. p:remove()
  538. hand5Braveryhealth = Instance.new("Humanoid", hand5Bravery)
  539. hand5Braveryhealth.DisplayDistanceType = "None"
  540. hand5Braveryhealth.Health = 100
  541. hand5Braveryhealth.MaxHealth = 100
  542. Bravery = Instance.new("Part", hand5Bravery)
  543. Bravery.Size = Vector3.new(1, 1.5, 0.2)
  544. Bravery.Name = "Head"
  545. Bravery.Position = hand1DeterminationPosition.Position
  546. BraveryMesh = Instance.new("SpecialMesh", Bravery)
  547. BraveryMesh.MeshId = "rbxassetid://430045961"
  548. BraveryMesh.Offset = Vector3.new(0.09, 0.1, 0)
  549. Bravery.BrickColor = BrickColor.new("Institutional white")
  550. BraveryOrb = Instance.new("Part", Bravery)
  551. BraveryOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  552. BraveryOrb.BrickColor = BrickColor.new("Deep orange")
  553. weld(Bravery, BraveryOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  554. weld(hand5BraveryPosition, Bravery, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  555. local p = Instance.new("Part", workspace)
  556. p.FormFactor = "Custom"
  557. p.Size = Vector3.new(0.8, 0.8, 0.8)
  558. p.TopSurface = 0
  559. p.BottomSurface = 0
  560. local colorc = {
  561. "Deep orange"
  562. }
  563. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  564. p.BrickColor = Fire
  565. p.CanCollide = false
  566. p.Anchored = true
  567. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  568. for i = 1, 8 do
  569. wait()
  570. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  571. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0)
  572. end
  573. p:remove()
  574. hand6Justicehealth = Instance.new("Humanoid", hand6Justice)
  575. hand6Justicehealth.DisplayDistanceType = "None"
  576. hand6Justicehealth.Health = 100
  577. hand6Justicehealth.MaxHealth = 100
  578. Justice = Instance.new("Part", hand6Justice)
  579. Justice.Size = Vector3.new(1, 1.5, 0.2)
  580. Justice.Name = "Head"
  581. Justice.Position = hand1DeterminationPosition.Position
  582. JusticeMesh = Instance.new("SpecialMesh", Justice)
  583. JusticeMesh.MeshId = "rbxassetid://430045961"
  584. JusticeMesh.Offset = Vector3.new(0.09, 0.1, 0)
  585. Justice.BrickColor = BrickColor.new("Institutional white")
  586. JusticeOrb = Instance.new("Part", Justice)
  587. JusticeOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  588. JusticeOrb.BrickColor = BrickColor.new("New Yeller")
  589. weld(Justice, JusticeOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  590. weld(hand6JusticePosition, Justice, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  591. local p = Instance.new("Part", workspace)
  592. p.FormFactor = "Custom"
  593. p.Size = Vector3.new(0.8, 0.8, 0.8)
  594. p.TopSurface = 0
  595. p.BottomSurface = 0
  596. local colorc = {"New Yeller"}
  597. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  598. p.BrickColor = Fire
  599. p.CanCollide = false
  600. p.Anchored = true
  601. p.CFrame = Justice.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  602. for i = 1, 8 do
  603. wait()
  604. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  605. p.CFrame = Justice.CFrame * CFrame.new(0, 0, 0)
  606. end
  607. p:remove()
  608. hand7Kindnesshealth = Instance.new("Humanoid", hand7Kindness)
  609. hand7Kindnesshealth.DisplayDistanceType = "None"
  610. hand7Kindnesshealth.Health = 100
  611. hand7Kindnesshealth.MaxHealth = 100
  612. Kindness = Instance.new("Part", hand7Kindness)
  613. Kindness.Size = Vector3.new(1, 1.5, 0.2)
  614. Kindness.Name = "Head"
  615. Kindness.Position = hand1DeterminationPosition.Position
  616. KindnessMesh = Instance.new("SpecialMesh", Kindness)
  617. KindnessMesh.MeshId = "rbxassetid://430045961"
  618. KindnessMesh.Offset = Vector3.new(0.09, 0.1, 0)
  619. Kindness.BrickColor = BrickColor.new("Institutional white")
  620. KindnessOrb = Instance.new("Part", Kindness)
  621. KindnessOrb.Size = Vector3.new(0.3, 0.3, 0.2)
  622. KindnessOrb.BrickColor = BrickColor.new("Lime green")
  623. weld(Kindness, KindnessOrb, CFrame.new(0, 0, 0), CFrame.new(0, 0.2, 0.1) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  624. weld(hand7KindnessPosition, Kindness, CFrame.new(0, 0, 0), CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), char)
  625. local p = Instance.new("Part", workspace)
  626. p.FormFactor = "Custom"
  627. p.Size = Vector3.new(0.8, 0.8, 0.8)
  628. p.TopSurface = 0
  629. p.BottomSurface = 0
  630. local colorc = {"Lime green"}
  631. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  632. p.BrickColor = Fire
  633. p.CanCollide = false
  634. p.Anchored = true
  635. p.CFrame = Kindness.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  636. for i = 1, 8 do
  637. wait()
  638. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  639. p.CFrame = Kindness.CFrame * CFrame.new(0, 0, 0)
  640. end
  641. p:remove()
  642. PlaySound("GasterTheme", 1, char.Torso, true)
  643. function BravAttack()
  644. if hand5BraveryhealthDown == true then
  645. return
  646. end
  647. if switchvalue == 7 then
  648. BraveryAttack = true
  649. WeldBravery = Instance.new("Weld", Bravery)
  650. WeldBravery.Part0 = AttackPosition
  651. WeldBravery.Part1 = Bravery
  652. WeldBravery.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  653. do
  654. local p = Instance.new("Part", workspace)
  655. p.FormFactor = "Custom"
  656. p.Size = Vector3.new(0.8, 0.8, 0.8)
  657. p.TopSurface = 0
  658. p.BottomSurface = 0
  659. local colorc = {
  660. "Deep orange"
  661. }
  662. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  663. p.BrickColor = Fire
  664. p.CanCollide = false
  665. p.Anchored = true
  666. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  667. coroutine.resume(coroutine.create(function()
  668. for i = 1, 8 do
  669. wait()
  670. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  671. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0)
  672. end
  673. p:remove()
  674. end))
  675. end
  676. end
  677. end
  678. function BravRest()
  679. if hand5BraveryhealthDown == true then
  680. return
  681. end
  682. end
  683. if switchvalue == 6 and BraveryAttack == true then
  684. WeldBravery:remove()
  685. do
  686. local p = Instance.new("Part", workspace)
  687. p.FormFactor = "Custom"
  688. p.Size = Vector3.new(0.8, 0.8, 0.8)
  689. p.TopSurface = 0
  690. p.BottomSurface = 0
  691. local colorc = {
  692. "Deep orange"
  693. }
  694. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  695. p.BrickColor = Fire
  696. p.CanCollide = false
  697. p.Anchored = true
  698. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  699. coroutine.resume(coroutine.create(function()
  700. for i = 1, 8 do
  701. wait()
  702. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  703. p.CFrame = Bravery.CFrame * CFrame.new(0, 0, 0)
  704. end
  705. p:remove()
  706. end))
  707. BraveryAttack = false
  708. end
  709. end
  710. end
  711. function PatAttack()
  712. if hand3PatiencehealthDown == true then
  713. return
  714. end
  715. if switchvalue == 6 then
  716. PatienceAttack = true
  717. WeldPatience = Instance.new("Weld", Patience)
  718. WeldPatience.Part0 = AttackPosition
  719. WeldPatience.Part1 = Patience
  720. WeldPatience.C1 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  721. do
  722. local p = Instance.new("Part", workspace)
  723. p.FormFactor = "Custom"
  724. p.Size = Vector3.new(0.8, 0.8, 0.8)
  725. p.TopSurface = 0
  726. p.BottomSurface = 0
  727. local colorc = {"Cyan"}
  728. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  729. p.BrickColor = Fire
  730. p.CanCollide = false
  731. p.Anchored = true
  732. p.CFrame = Patience.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.random(-3, 3))
  733. coroutine.resume(coroutine.create(function()
  734. for i = 1, 8 do
  735. wait()
  736. p.Size = Vector3.new(0.8 * i, 0.8 * i, 0.8 * i)
  737. p.CFrame = Patience.CFrame * CFrame.new(0, 0, 0)
  738. end
  739. p:remove()
  740. end))
  741. end
  742. end
  743. end
  744. function PatRest()
  745. if hand3PatiencehealthDown == true then
  746. return
  747. end
  748. if (switchvalue == 7 or switchvalue == 5) and PatienceAttack == true then
  749. WeldPatience:remove()
  750. do end
  751. local p = Instance.new("Part", workspace)
  752. p.FormFactor = "Custom"
  753. p.Size = Vector3.new(0.8, 0.8, 0.8)
  754. p.TopSurface = 0
  755. p.BottomSurface = 0
  756. local colorc = {"Cyan"}
  757. local Fire = BrickColor.new(colorc[math.random(1, #colorc)])
  758. p.BrickColor = Fire
  759. p.CanCollide = false
  760. p.Anchored = true
  761. p.CFrame = Patience.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.random(-3, 3), math.random(-3, 3), math.rando)
  762. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement