SHARE
TWEET

gastey

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