Upscalefanatic3

(Roblox) [FE] Gaster Edit

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