DrawingJhon

Sans Animation

Oct 11th, 2020 (edited)
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 112.83 KB | None | 0 0
  1. --[[
  2.  
  3.    _____________________________
  4.  //                             \
  5. ||  ? Undertale Sans Script?   > (´???`)
  6.  \\_____________________________/
  7.   also by v4mp
  8.   before this, there was no facial expressions, faces, or animations.
  9.   It was just sans attacks with your normal avatar
  10.   there also was no teleport
  11.   Chatfunc by v4mp
  12.   v4mp truly is the greatest
  13.   v4mp13r2On1c
  14.   Thanks MLG for the healthbar its actually epic and im not good at these things
  15.    ______________________________________________
  16.  //                                              \
  17. ||  ?Created by Zalgo_exe/Kunoleo/EXEcution?    > (?///?///?)
  18.  \\______________________________________________/
  19.    Improved by v4mp13r2On1c/CORRUPT V4MP
  20.    _____________________________
  21.  //                             \
  22. ||  ?Made for PsychBeamTeam?   >  (???)
  23.  \\_____________________________/
  24.  
  25.               _________________________________
  26.              //                                \
  27. (?´?´)?*:???  <   This is the local script verz~  |
  28.              \\________________________________/
  29.  
  30. ------------------------------------------------------------------------------------------------------------------
  31.  
  32.  
  33.  
  34. ~-[Move List for Sans]-~
  35.  
  36. ~[Left Mouse Click] - Telekinesis, drags your target to the position of your mouse.
  37.  
  38. ~[F] - Sends 3-5 bones toward the direction of your mouse.
  39.  
  40. ~[R] - Shoots 1 bone projectile to the position of your mouse.
  41.  
  42. ~[C] - Summons a cluster of bones on the position of your mouse.
  43.  
  44. ~[Q] - Summons 1 Gaster Blaster and aims towards the position of your mouse.
  45.  
  46. ~[G] - Summons a group of Gaster Blasters ranging from 2, 4, and 8 to the position of your mouse.
  47.  
  48. ~[V] - Summons a group of Gaster Blasters in a set pattern, much similar to the first attack Sans does in the game.
  49. -}][]{{]]
  50.  
  51.  
  52.  
  53. script.Parent = owner.Character
  54. local Model1ll1ll1l = Instance.new("Model")
  55. do
  56.     local Color1 = Instance.new("Color3Value", Model1ll1ll1l)
  57.     Color1.Name = "Color1"
  58.     local Color2 = Instance.new("Color3Value", Model1ll1ll1l)
  59.     Color2.Name = "Color2"
  60.     local Ghghghghgh = Instance.new("NumberValue", Model1ll1ll1l)
  61.     Ghghghghgh.Name = "Ghghghghgh"
  62.     local Mode = Instance.new("NumberValue", Model1ll1ll1l)
  63.     Mode.Name = "Mode"
  64.     local ModeName = Instance.new("StringValue", Model1ll1ll1l)
  65.     ModeName.Name = "ModeName"
  66.     local Music = Instance.new("ObjectValue", Model1ll1ll1l)
  67.     Music.Name = "Music"
  68.     local Text = Instance.new("StringValue", Model1ll1ll1l)
  69.     Text.Name = "Text"
  70.     local NewDialog = Instance.new("ScreenGui", Model1ll1ll1l) -- Start ScreenGui
  71.     NewDialog.Name = "NewDialog"
  72.     NewDialog.Enabled = false
  73.     local H = Instance.new("Frame", NewDialog)
  74.     H.Name = "H"
  75.     H.Active = false
  76.     H.AnchorPoint = Vector2.new(0, 0.5)
  77.     H.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  78.     H.BackgroundTransparency = 1
  79.     H.BorderColor3 = Color3.fromRGB(27, 42, 53)
  80.     H.BorderSizePixel = 0
  81.     H.Position = UDim2.new(0, 0, 0.892, 0)
  82.     H.Size = UDim2.new(1, 0, 0.216, 0)
  83.     H.ZIndex = 66
  84.     local H1 = Instance.new("Frame", H)
  85.     H1.Name = "H1"
  86.     H1.Active = false
  87.     H1.AnchorPoint = Vector2.new(0.5, 0.5)
  88.     H1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  89.     H1.BackgroundTransparency = 0.3
  90.     H1.BorderColor3 = Color3.fromRGB(170, 0, 0)
  91.     H1.BorderSizePixel = 5
  92.     H1.Position = UDim2.new(0.02, 0, -0.2, 0)
  93.     H1.Rotation = 45
  94.     H1.Size = UDim2.new(0, 150, 0, 150)
  95.     H1.Visible = false
  96.     H1.ZIndex = 4
  97.     local H12 = Instance.new("Frame", H)
  98.     H12.Name = "H12"
  99.     H12.Active = false
  100.     H12.AnchorPoint = Vector2.new(0.5, 0.5)
  101.     H12.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  102.     H12.BackgroundTransparency = 0.4
  103.     H12.BorderColor3 = Color3.fromRGB(170, 0, 0)
  104.     H12.BorderSizePixel = 5
  105.     H12.Position = UDim2.new(0.1, 0, -0.14, 0)
  106.     H12.Rotation = 70
  107.     H12.Size = UDim2.new(0, 100, 0, 100)
  108.     H12.Visible = false
  109.     H12.ZIndex = 3
  110.     local H13 = Instance.new("Frame", H)
  111.     H13.Name = "H13"
  112.     H13.Active = false
  113.     H13.AnchorPoint = Vector2.new(0.5, 0.5)
  114.     H13.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  115.     H13.BackgroundTransparency = 0.4
  116.     H13.BorderColor3 = Color3.fromRGB(170, 0, 0)
  117.     H13.BorderSizePixel = 5
  118.     H13.Position = UDim2.new(0.18, 0, -0.07, 0)
  119.     H13.Rotation = 105
  120.     H13.Size = UDim2.new(0, 75, 0, 75)
  121.     H13.Visible = false
  122.     H13.ZIndex = 2
  123.     local H14 = Instance.new("Frame", H)
  124.     H14.Name = "H14"
  125.     H14.Active = false
  126.     H14.AnchorPoint = Vector2.new(0.5, 0.5)
  127.     H14.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  128.     H14.BackgroundTransparency = 0.4
  129.     H14.BorderColor3 = Color3.fromRGB(170, 0, 0)
  130.     H14.BorderSizePixel = 5
  131.     H14.Position = UDim2.new(0.246, 0, -0.048, 0)
  132.     H14.Rotation = 120
  133.     H14.Size = UDim2.new(0, 50, 0, 50)
  134.     H14.Visible = false
  135.     H14.ZIndex = 1
  136.     local PULSE = Instance.new("Frame", H)
  137.     PULSE.Name = "PULSE"
  138.     PULSE.Active = false
  139.     PULSE.AnchorPoint = Vector2.new(0, 0.5)
  140.     PULSE.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  141.     PULSE.BackgroundTransparency = 0
  142.     PULSE.BorderColor3 = Color3.fromRGB(27, 42, 53)
  143.     PULSE.BorderSizePixel = 0
  144.     PULSE.Position = UDim2.new(0.075, 0, 0.5, 0)
  145.     PULSE.Size = UDim2.new(0.85, 0, 1, 0)
  146.     PULSE.Visible = true
  147.     PULSE.ZIndex = 63
  148.     local character = Instance.new("ImageLabel", H)
  149.     character.Name = "character"
  150.     character.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  151.     character.BackgroundTransparency = 1
  152.     character.BorderColor3 = Color3.fromRGB(27, 42, 53)
  153.     character.BorderSizePixel = 0
  154.     character.LayoutOrder = 2
  155.     character.Position = UDim2.new(0, 5, 0, 0)
  156.     character.Size = UDim2.new(0, 107, 0, 107)
  157.     character.Visible = true
  158.     character.ZIndex = 1
  159.     character.Image = "rbxassetid://4526172761"
  160.     character.ImageColor3 = Color3.fromRGB(203, 203, 203)
  161.     character.TileSize = UDim2.new(1, 0, 1, 0)
  162.     local h = Instance.new("TextLabel", H)
  163.     h.Name = "H"
  164.     h.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  165.     h.BorderColor3 = Color3.fromRGB(27, 42, 53)
  166.     h.BorderSizePixel = 0
  167.     h.Position = UDim2.new(0.08, 0, 0.05, 0)
  168.     h.Size = UDim2.new(0.838, 0, 0.9, 0)
  169.     h.Visible = true
  170.     h.ZIndex = 69
  171.     h.Font = Enum.Font.Arcade
  172.     h.LineHeight = 1
  173.     h.Text = "* You feel like you're going to have a bad time"
  174.     h.TextColor3 = Color3.fromRGB(255, 255, 255)
  175.     h.TextScaled = true
  176.     h.TextSize = 14
  177.     h.TextStrokeColor3 = Color3.fromRGB(170, 0, 0)
  178.     h.TextStrokeTransparency = 1
  179.     h.TextWrapped = true
  180.     h.TextXAlignment = "Left"
  181.     h.TextYAlignment = "Top"
  182.     local HealthBar = Instance.new("BillboardGui", script)
  183.     HealthBar.AlwaysOnTop = true
  184.     HealthBar.Name = "HealthBar"
  185.     HealthBar.DistanceUpperLimit = -1
  186.     HealthBar.ExtentsOffset = Vector3.new(0, 2, 0)
  187.     HealthBar.MaxDistance = 300
  188.     HealthBar.Size = UDim2.new(4, 0, 2, 0)
  189.     local Frame = Instance.new("Frame", HealthBar)
  190.     Frame.Name = "Frame"
  191.     Frame.Active = false
  192.     Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  193.     Frame.BackgroundTransparency = 1
  194.     Frame.BorderColor3 = Color3.fromRGB(27, 42, 53)
  195.     Frame.BorderSizePixel = 1
  196.     Frame.Size = UDim2.new(1, 0, 1, 0)
  197.     Frame.Visible = true
  198.     Frame.ZIndex = 1
  199.     local BackHealth = Instance.new("Frame", Frame)
  200.     BackHealth.Name = "BackHealth"
  201.     BackHealth.Active = false
  202.     BackHealth.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  203.     BackHealth.BackgroundTransparency = 0
  204.     BackHealth.BorderColor3 = Color3.fromRGB(27, 42, 53)
  205.     BackHealth.BorderSizePixel = 1
  206.     BackHealth.Position = UDim2.new(0.23, 0, 0.25, 0)
  207.     BackHealth.Size = UDim2.new(0.45, 0, 0.25, 0)
  208.     BackHealth.Visible = true
  209.     BackHealth.ZIndex = 0
  210.     local Health = Instance.new("Frame", Frame)
  211.     Health.Name = "Health"
  212.     Health.Active = false
  213.     Health.BackgroundColor3 = Color3.fromRGB(255, 255, 0)
  214.     Health.BorderColor3 = Color3.fromRGB(27, 42, 53)
  215.     Health.BorderSizePixel = 1
  216.     Health.Position = UDim2.new(0.23, 0, 0.25, 0)
  217.     Health.Size = UDim2.new(0.45, 0, 0.25, 0)
  218.     Health.Visible = true
  219.     Health.ZIndex = 1
  220.     local HP = Instance.new("TextLabel", Frame)
  221.     HP.Name = "HP"
  222.     HP.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  223.     HP.BackgroundTransparency = 1
  224.     HP.BorderColor3 = Color3.fromRGB(27, 42, 53)
  225.     HP.BorderSizePixel = 1
  226.     HP.Font = "Arcade"
  227.     HP.FontSize = "Size14"
  228.     HP.Position = UDim2.new(0, 0, 0.2, 0)
  229.     HP.Size = UDim2.new(0.3, 0, 0.3, 0)
  230.     HP.Text = "HP"
  231.     HP.TextScaled = true
  232.     HP.TextWrapped = true
  233.     HP.TextColor3 = Color3.fromRGB(255, 255, 255)
  234.     HP.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  235.     HP.TextStrokeTransparency = 0
  236.     HP.Visible = true
  237.     HP.ZIndex = 1
  238.     local HealthLabel = Instance.new("TextBox", Frame)
  239.     HealthLabel.Name = "HealthLabel"
  240.     HealthLabel.Active = false
  241.     HealthLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  242.     HealthLabel.BackgroundTransparency = 1
  243.     HealthLabel.BorderColor3 = Color3.fromRGB(27, 42, 53)
  244.     HealthLabel.BorderSizePixel = 1
  245.     HealthLabel.Position = UDim2.new(0.7, 0, 0.2, 0)
  246.     HealthLabel.Size = UDim2.new(0.3, 0, 0.36, 0)
  247.     HealthLabel.Visible = true
  248.     HealthLabel.ZIndex = 1
  249.     HealthLabel.Font = Enum.Font.Arcade
  250.     HealthLabel.LineHeight = 1
  251.     HealthLabel.Text = "placeholder"
  252.     HealthLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  253.     HealthLabel.TextScaled = true
  254.     HealthLabel.TextSize = 14
  255.     HealthLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  256.     HealthLabel.TextStrokeTransparency = 0
  257.     HealthLabel.TextWrapped = true
  258.     local PName = Instance.new("TextLabel", Frame)
  259.     PName.Name = "PName"
  260.     PName.Active = false
  261.     PName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  262.     PName.BackgroundTransparency = 1
  263.     PName.BorderColor3 = Color3.fromRGB(27, 42, 53)
  264.     PName.BorderSizePixel = 1
  265.     PName.LayoutOrder = 1
  266.     PName.Position = UDim2.new(-0.5, 0, -0.22, 0)
  267.     PName.Selectable = true
  268.     PName.Size = UDim2.new(2, 0, 0.5, 0)
  269.     PName.Visible = true
  270.     PName.ZIndex = 1
  271.     PName.Font = Enum.Font.Arcade
  272.     PName.LineHeight = 1
  273.     PName.Text = "abc"
  274.     PName.TextColor3 = Color3.fromRGB(255, 255, 255)
  275.     PName.TextScaled = true
  276.     PName.TextSize = 5
  277.     PName.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  278.     PName.TextStrokeTransparency = 0
  279.     PName.TextWrapped = true
  280.     PName.TextXAlignment = "Center"
  281.     PName.TextYAlignment = "Bottom"
  282.     local glitchboard = Instance.new("BillboardGui", script)
  283.     glitchboard.Name = "glitchboard"
  284.     glitchboard.AlwaysOnTop = false
  285.     glitchboard.Enabled = false
  286.     glitchboard.ExtentsOffset = Vector3.new(0, 2, 0)
  287.     glitchboard.MaxDistance = 300
  288.     glitchboard.Size = UDim2.new(6, 0, 3, 0)
  289.     local TextLabel1 = Instance.new("TextLabel", glitchboard)
  290.     TextLabel1.Name = "TextLabel"
  291.     TextLabel1.Active = false
  292.     TextLabel1.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  293.     TextLabel1.BorderColor3 = Color3.fromRGB(255, 255, 255)
  294.     TextLabel1.BorderMode = "Middle"
  295.     TextLabel1.BorderSizePixel = 5
  296.     TextLabel1.Size = UDim2.new(1, 0, 1, 0)
  297.     TextLabel1.Visible = true
  298.     TextLabel1.ZIndex = -1
  299.     TextLabel1.Font = Enum.Font.Arcade
  300.     TextLabel1.LineHeight = 1
  301.     TextLabel1.Text = ""
  302.     TextLabel1.TextColor3 = Color3.fromRGB(255, 255, 255)
  303.     TextLabel1.TextScaled = true
  304.     TextLabel1.TextSize = 30
  305.     TextLabel1.TextStrokeColor3 = Color3.fromRGB(35, 8, 172)
  306.     TextLabel1.TextStrokeTransparency = 1
  307.     TextLabel1.TextWrapped = true
  308.     local textboard = Instance.new("BillboardGui", script)
  309.     textboard.Name = "textboard"
  310.     textboard.AlwaysOnTop = true
  311.     textboard.Enabled = false
  312.     textboard.ExtentsOffset = Vector3.new(0, 2, 0)
  313.     textboard.MaxDistance = 300
  314.     textboard.Size = UDim2.new(5.8, 0, 2.8, 0)
  315.     local TextLabel2 = Instance.new("TextLabel", textboard)
  316.     TextLabel2.Name = "TextLabel"
  317.     TextLabel2.Active = false
  318.     TextLabel2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  319.     TextLabel2.BorderColor3 = Color3.fromRGB(255, 255, 255)
  320.     TextLabel2.BorderSizePixel = 3
  321.     TextLabel2.Size = UDim2.new(1, 0, 1, 0)
  322.     TextLabel2.Visible = true
  323.     TextLabel2.ZIndex = 1
  324.     TextLabel2.Font = Enum.Font.Arcade
  325.     TextLabel2.LineHeight = 1
  326.     TextLabel2.Text = "Hey, what do you think you're doing!?"
  327.     TextLabel2.TextColor3 = Color3.fromRGB(255, 255, 255)
  328.     TextLabel2.TextScaled = true
  329.     TextLabel2.TextSize = 30
  330.     TextLabel2.TextStrokeColor3 = Color3.fromRGB(35, 8, 172)
  331.     TextLabel2.TextStrokeTransparency = 1
  332.     TextLabel2.TextWrapped = true
  333. end
  334.  
  335. ------------------------------------------------------
  336. --Start LocalScripts--
  337. ------------------------------------------------------
  338.  
  339. local ls1 = NLS([===[local Player = game:GetService("Players").LocalPlayer
  340.  
  341.     local Char = Player.Character
  342.     local Event = Char:WaitForChild("UserInput_Event")
  343.  
  344.     local UIS = game:GetService("UserInputService")
  345.  
  346.     local input = function(io,a)
  347.         if a then return end
  348.         local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  349.         Event:FireServer(io)
  350.     end
  351.     UIS.InputBegan:Connect(input)
  352.     UIS.InputEnded:Connect(input)
  353.     local Changed = false
  354.     local Mouse = Player:GetMouse()
  355.     local h,t = Mouse.Hit,Mouse.Target
  356.     while wait(1/30) do
  357.         if h~=Mouse.Hit or t~=Mouse.Target then
  358.             Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  359.             h,t=Mouse.Hit,Mouse.Target
  360.         end
  361.     end
  362. ]===], script)
  363.  
  364. ls1.Name = "Do Not Touch"
  365.  
  366. local ls2 = NLS([===[local PLR = game.Players.LocalPlayer
  367. wait()
  368.  
  369. repeat
  370.     wait()
  371. until script:FindFirstChild("Undo")
  372. local BOOL = script.Undo
  373. if PLR then
  374.     do
  375.         local TIMER = 15
  376.         local CAM = workspace.CurrentCamera
  377.         local FX = Instance.new("ColorCorrectionEffect", CAM)
  378.         FX.Brightness = 1
  379.         FX.Saturation = -1
  380.         local TIME1 = math.ceil(TIMER / 7)
  381.         for i = 1, TIME1 do
  382.             wait()
  383.             FX.Brightness = FX.Brightness - 1 / TIME1
  384.         end
  385.         BOOL.Changed:Connect(function()
  386.             if BOOL.Value == true then
  387.                 for i = 1, TIMER do
  388.                     wait()
  389.                     FX.Saturation = FX.Saturation + 1 / TIMER
  390.                 end
  391.                 FX:Remove()
  392.                 script:Remove()
  393.             end
  394.         end)
  395.     end
  396. else
  397.     BOOL.Changed:Connect(function()
  398.         script:Remove()
  399.     end)
  400. end
  401. ]===], script)
  402.  
  403. ls2.Name = "Permachrome"
  404.  
  405. local ls3 = NLS([===[ArtificialHB = Instance.new("BindableEvent", script)
  406. ArtificialHB.Name = "ArtificialHB"
  407.  
  408. script:WaitForChild("ArtificialHB")
  409. Frame_Speed = 1 / 60
  410. frame = Frame_Speed
  411. tf = 0
  412. allowframeloss = false
  413. tossremainder = false
  414. lastframe = tick()
  415.  
  416. game:GetService("RunService").Heartbeat:connect(function(s, p)
  417.     tf = tf + s
  418.     if tf >= frame then
  419.         if allowframeloss then
  420.             ArtificialHB:Fire()
  421.             lastframe = tick()
  422.         else
  423.             for i = 1, math.floor(tf / frame) do
  424.                 ArtificialHB:Fire()
  425.             end
  426.         lastframe = tick()
  427.         end
  428.         if tossremainder then
  429.             tf = 0
  430.         else
  431.             tf = tf - frame * math.floor(tf / frame)
  432.         end
  433.     end
  434. end)
  435.  
  436. function swait(num)
  437. if num == 0 or num == nil then
  438.         ArtificialHB.Event:wait()
  439.     else
  440.         for i = 1, num do
  441.             ArtificialHB.Event:wait()
  442.         end
  443.     end
  444. end
  445. Create=function(obj)
  446.                 local inst = Instance.new(obj)
  447.                 return function(props)
  448.                     for prop,valu in next, props do
  449.                         inst[prop]=valu
  450.                     end
  451.                     return inst
  452.                 end
  453.             end
  454. Echo = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  455.                 local Sas = Create("Sound"){
  456.                     Volume = vol,
  457.                     Name = "EffectSoundo",
  458.                     Pitch = pit or 1,
  459.                     SoundId = id,
  460.                     TimePosition = timepos,
  461.                     Parent = par or workspace,
  462.                 }
  463.                 local E = Create("EchoSoundEffect"){
  464.                     Delay = echodelay,
  465.                     Name = "Echo",
  466.                     Feedback = fedb,
  467.                     DryLevel = dryl,
  468.                     Parent = Sas,
  469.                 }
  470.                 wait()
  471.                 Sas:play()
  472.                 game:GetService("Debris"):AddItem(Sas, delays)
  473. end
  474.  
  475. script:WaitForChild'NewDialog'
  476. local r = 255
  477. local g = 0
  478. local b = 0
  479.  
  480. coroutine.resume(coroutine.create(function()
  481. while wait() do
  482.     for i = 0, 254/5 do
  483.         swait()
  484.         g = g + 5
  485.     end
  486.     for i = 0, 254/5 do
  487.         swait()
  488.         r = r - 5
  489.     end
  490.     for i = 0, 254/5 do
  491.         swait()
  492.         b = b + 5
  493.     end
  494.     for i = 0, 254/5 do
  495.         swait()
  496.         g = g - 5
  497.     end
  498.     for i = 0, 254/5 do
  499.         swait()
  500.         r = r + 5
  501.     end
  502.     for i = 0, 254/5 do
  503.         swait()
  504.         b = b - 5
  505.     end
  506. end
  507. end))
  508. v=game:service'Players'.localPlayer
  509. function newbosschatfunc(kan,ModeOfGlitch,modet,text,color,color2,watval)
  510. local text = type(text) == "string" and text or ""
  511. coroutine.resume(coroutine.create(function()
  512. if v.PlayerGui:FindFirstChild("NewDialog")~= nil then
  513. v.PlayerGui:FindFirstChild("NewDialog"):destroy()
  514. end
  515. local Bruh=script.NewDialog:Clone()
  516. Bruh.Parent=v.PlayerGui
  517. Bruh.Enabled=true
  518. local Bruh2=Bruh.H
  519. game:GetService("Debris"):AddItem(Bruh,20)
  520. --local scrg = Instance.new("ScreenGui",v.PlayerGui)
  521. Echo("rbxassetid://2254573308", Bruh, 0.5, 1,0,10,0.1,0.25,1)
  522.  
  523. --V bad code - salvo
  524. coroutine.resume(coroutine.create(function()
  525. while true do
  526. swait()
  527. Bruh2.BackgroundColor3=color
  528. Bruh2.PULSE.BackgroundColor3=Color3.new(255,255,255)
  529. end
  530. end))
  531.  
  532.  
  533. Bruh2.H.Text=text
  534.  
  535.  
  536. Bruh2:TweenPosition(UDim2.new(0,0,.8,0), "Out", "Quad", .2,true)
  537.  
  538.  
  539. local function pul()
  540. Bruh2.PULSE:TweenSize(UDim2.new(1.1,0,1.3,0), "Out", "Quint", 1,true)
  541. Bruh2.PULSE.BackgroundTransparency=0
  542. end
  543.  
  544. local dah=false
  545. coroutine.resume(coroutine.create(function(aaaa)
  546.     for i = 1,string.len(text),1 do
  547.         swait()
  548.         aaaa.Text = string.sub(text,1,i)
  549.     end
  550. end),Bruh2.H)
  551. coroutine.resume(coroutine.create(function(t1,t2,t3,t4)
  552. local mo1=1
  553. local mo2=10
  554. local mo3=0
  555. repeat
  556.    
  557. local hahahaaa={"Black","Crimson","Maroon","Bright red","Cocoa","Really red"}
  558. Bruh2.PULSE.BackgroundTransparency=Bruh2.PULSE.BackgroundTransparency+.04
  559. mo1=mo1+2
  560. mo2=mo2-2
  561. mo3=mo3+1
  562. if mo1>=10 then
  563. mo1=1
  564. end
  565. if mo2<=1 then
  566. mo2=10
  567. end
  568. if mo3>=69 then
  569. mo3=0
  570. Bruh2.PULSE.Size=UDim2.new(1,0,1,0)
  571. pul()
  572. end
  573.  
  574. if dah then
  575. Bruh2.Rotation=Bruh2.Rotation-.2
  576. end
  577.  
  578. swait()
  579. until t1.Parent==nil or t2.Parent==nil or t3.Parent==nil or t4.Parent==nil
  580. end),Bruh2.H1,Bruh2.H12,Bruh2.H13,Bruh2.H14)
  581.  
  582. pcall(function()
  583. for i=1,watval do
  584. swait()
  585. Bruh2:TweenPosition(UDim2.new(0,0,.8+.02*math.cos((tick()*100) / 61),0), "Out", "Quad", .2,true)
  586. if Bruh.Parent==nil then
  587. break
  588. end
  589. end
  590.  
  591. if Bruh.Parent~=nil and Bruh2.Parent~=nil then
  592. Bruh2:TweenPosition(UDim2.new(-.1,0,2,0), "In", "Quart", 1.6,true)
  593. dah=true
  594. swait(180)
  595. Bruh:Remove()
  596.  
  597. end
  598. end)
  599.  
  600. script:destroy()
  601. end))
  602. end
  603.  
  604. --(kan,ModeOfGlitch,modet,text,color,color2,watval)
  605. newbosschatfunc(script.Music.Value,script.Mode.Value,script.ModeName.Value,script.Text.Value,script.Color1.Value,script.Color2.Value,script.Ghghghghgh.Value)
  606. ]===], script)
  607.  
  608. ls3.Name = "TalkChat"
  609. for i, v in pairs(Model1ll1ll1l:GetChildren()) do
  610.     v.Parent = ls3
  611. end
  612.  
  613. ------------------------------------------------------
  614. --End LocalScripts--
  615. ------------------------------------------------------
  616.  
  617.  
  618. local Player = game.Players:GetPlayerFromCharacter(script.Parent)   --<=== Replace With Your Name
  619.  
  620.  
  621. local Mouse,mouse,UserInputService,ContextActionService
  622. do
  623.     script.Parent = Player.Character
  624.     local CAS = {Actions={}}
  625.     local Event = Instance.new("RemoteEvent")
  626.     Event.Name = "UserInput_Event"
  627.     Event.Parent = Player.Character
  628.     local fakeEvent = function()
  629.         local t = {_fakeEvent=true}
  630.         t.Connect = function(self,f)self.Function=f end
  631.         t.connect = t.Connect
  632.         return t
  633.     end
  634.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  635.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  636.     function CAS:BindAction(name,fun,touch,...)
  637.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  638.     end
  639.     function CAS:UnbindAction(name)
  640.         CAS.Actions[name] = nil
  641.     end
  642.     local function te(self,ev,...)
  643.         local t = m[ev]
  644.         if t and t._fakeEvent and t.Function then
  645.             t.Function(...)
  646.         end
  647.     end
  648.     m.TrigEvent = te
  649.     UIS.TrigEvent = te
  650.     Event.OnServerEvent:Connect(function(plr,io)
  651.         if plr~=Player then return end
  652.         if io.isMouse then
  653.             m.Target = io.Target
  654.             m.Hit = io.Hit
  655.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  656.             if io.UserInputState == Enum.UserInputState.Begin then
  657.                 m:TrigEvent("Button1Down")
  658.             else
  659.                 m:TrigEvent("Button1Up")
  660.             end
  661.         else
  662.             for n,t in pairs(CAS.Actions) do
  663.                 for _,k in pairs(t.Keys) do
  664.                     if k==io.KeyCode then
  665.                         t.Function(t.Name,io.UserInputState,io)
  666.                     end
  667.                 end
  668.             end
  669.             if io.UserInputState == Enum.UserInputState.Begin then
  670.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  671.                 UIS:TrigEvent("InputBegan",io,false)
  672.             else
  673.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  674.                 UIS:TrigEvent("InputEnded",io,false)
  675.             end
  676.         end
  677.     end)
  678.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  679.     end
  680.  
  681. --]]
  682. local Player, Character = game.Players:GetPlayerFromCharacter(script.Parent), Player.Character;
  683. local Torso = Character:FindFirstChild("Torso")
  684. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  685. local Humanoid = Character:FindFirstChild("Humanoid")
  686. local Head = Character:FindFirstChild("Head")
  687. local Right_Arm = Character:FindFirstChild("Right Arm")
  688. local Left_Arm = Character:FindFirstChild("Left Arm")
  689. local Right_Leg = Character:FindFirstChild("Right Leg")
  690. local Left_Leg = Character:FindFirstChild("Left Leg")
  691. local Right_Shoulder = Torso:FindFirstChild("Right Shoulder")
  692. local Left_Shoulder = Torso:FindFirstChild("Left Shoulder")
  693. local Right_Hip = Torso:FindFirstChild("Right Hip")
  694. local Left_Hip = Torso:FindFirstChild("Left Hip")
  695. local Neck = Torso:FindFirstChild("Neck")
  696. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  697. local rootJoint = rootPart:FindFirstChild("RootJoint")
  698. local CurrentIdle = "Idling1"
  699. local isAttacking = false
  700. local isSprinting = false
  701. local Animations = false
  702. local Angle = 0
  703. local Axis = 0
  704. local angleSpeed = 1
  705. local axisSpeed = angleSpeed
  706. local currentAnim
  707. shirt = Instance.new("Shirt", Character)
  708. shirt.Name = "Shirt"
  709. pants = Instance.new("Pants", Character)
  710. pants.Name = "Pants"
  711. --Character.Shirt.ShirtTemplate = "rbxassetid://3011516827"--2097021887
  712. Character.Shirt.ShirtTemplate = "rbxassetid://388330836"
  713. Character.Pants.PantsTemplate = "rbxassetid://386822275"
  714. Humanoid.MaxHealth = 100
  715. Humanoid.Health = Humanoid.MaxHealth
  716.  
  717.  
  718.  
  719.  
  720. sine = 0
  721. change = 1
  722. sprint=false
  723.  
  724. idly = 0
  725. idle = idly
  726. Sanim = 0.025
  727. --original Sanim value = 0.15
  728. dedebounce = false
  729. attack2 = false
  730. attack = false
  731.  
  732. sin = math.sin
  733. Right_Leg.FormFactor        = "Custom";
  734. Left_Leg.FormFactor         = "Custom";
  735. rootPart.Archivable         = true;
  736. rootJoint.Archivable        = true;
  737. c_new                       = CFrame.new;
  738. cam = game.Workspace.CurrentCamera
  739. c_angles                    = CFrame.Angles;
  740. i_new = Instance.new
  741.  
  742. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  743.     local wld = Instance.new("Weld", wp1)
  744.     wld.Part0 = wp0
  745.     wld.Part1 = wp1
  746.     wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  747.     return wld
  748. end
  749.  
  750. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  751.  
  752. ArtificialHB = Instance.new("BindableEvent", script)
  753. ArtificialHB.Name = "ArtificialHB"
  754.  
  755. script:WaitForChild("ArtificialHB")
  756.  
  757. frame = Frame_Speed
  758. tf = 0
  759. allowframeloss = false
  760. tossremainder = false
  761. lastframe = tick()
  762. script.ArtificialHB:Fire()
  763.  
  764. game:GetService("RunService").Heartbeat:connect(function(s, p)
  765.     tf = tf + s
  766.     if tf >= frame then
  767.         if allowframeloss then
  768.             script.ArtificialHB:Fire()
  769.             lastframe = tick()
  770.         else
  771.             for i = 1, math.floor(tf / frame) do
  772.                 script.ArtificialHB:Fire()
  773.             end
  774.         lastframe = tick()
  775.         end
  776.         if tossremainder then
  777.             tf = 0
  778.         else
  779.             tf = tf - frame * math.floor(tf / frame)
  780.         end
  781.     end
  782. end)
  783.  
  784. --//=================================\\
  785. --\\=================================//
  786.    
  787.  
  788.  
  789. function swait(num)
  790.     if num == 0 or num == nil then
  791.         ArtificialHB.Event:wait()
  792.     else
  793.         for i = 1, num do
  794.             ArtificialHB.Event:wait()
  795.         end
  796.     end
  797. end
  798.  
  799. function QuaternionFromCFrame(cf)
  800.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  801.     local trace = m00 + m11 + m22
  802.     if trace > 0 then
  803.         local s = math.sqrt(1 + trace)
  804.         local recip = 0.5/s
  805.         return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  806.     else
  807.         local i = 0
  808.         if m11 > m00 then
  809.             i = 1
  810.         end
  811.         if m22 > (i == 0 and m00 or m11) then
  812.             i = 2
  813.         end
  814.         if i == 0 then
  815.             local s = math.sqrt(m00-m11-m22+1)
  816.             local recip = 0.5/s
  817.             return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  818.         elseif i == 1 then
  819.             local s = math.sqrt(m11-m22-m00+1)
  820.             local recip = 0.5/s
  821.             return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  822.         elseif i == 2 then
  823.             local s = math.sqrt(m22-m00-m11+1)
  824.             local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  825.         end
  826.     end
  827. end
  828.  
  829. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  830.     local xs, ys, zs = x + x, y + y, z + z
  831.     local wx, wy, wz = w*xs, w*ys, w*zs
  832.     local xx = x*xs
  833.     local xy = x*ys
  834.     local xz = x*zs
  835.     local yy = y*ys
  836.     local yz = y*zs
  837.     local zz = z*zs
  838.     return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  839. end
  840.  
  841. function QuaternionSlerp(a, b, t)
  842.     local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  843.     local startInterp, finishInterp;
  844.     if cosTheta >= 0.0001 then
  845.         if (1 - cosTheta) > 0.0001 then
  846.             local theta = math.acos(cosTheta)
  847.             local invSinTheta = 1/math.sin(theta)
  848.             startInterp = math.sin((1-t)*theta)*invSinTheta
  849.             finishInterp = math.sin(t*theta)*invSinTheta  
  850.         else
  851.             startInterp = 1-t
  852.             finishInterp = t
  853.         end
  854.     else
  855.         if (1+cosTheta) > 0.0001 then
  856.             local theta = math.acos(-cosTheta)
  857.             local invSinTheta = 1/math.sin(theta)
  858.             startInterp = math.sin((t-1)*theta)*invSinTheta
  859.             finishInterp = math.sin(t*theta)*invSinTheta
  860.         else
  861.             startInterp = t-1
  862.             finishInterp = t
  863.         end
  864.     end
  865.     return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  866. end
  867.  
  868. function clerp(a, b, t)
  869.     local qa = {QuaternionFromCFrame(a)}
  870.     local qb = {QuaternionFromCFrame(b)}
  871.     local ax, ay, az = a.x, a.y, a.z
  872.     local bx, by, bz = b.x, b.y, b.z
  873.     local _t = 1-t
  874.     return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  875. end
  876.  
  877. swait()
  878. LA_Weld = newWeld(Torso, Left_Arm, -1.5, 0.5, 0)
  879. Left_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  880. RA_Weld = newWeld(Torso, Right_Arm, 1.5, 0.5, 0)
  881. Right_Arm.Weld.C1 = CFrame.new(0, 0.5, 0)
  882. LL_Weld = newWeld(Torso, Left_Leg, -0.5, -1, 0)
  883. Left_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Left_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  884. RL_Weld = newWeld(Torso, Right_Leg, 0.5, -1, 0)
  885. Right_Leg.Weld.C1 = CFrame.new(0, 1, 0) -- Right_Leg.Weld.C1 = CFrame.new(0, 1, 0.15)
  886. Torso_Weld = newWeld(rootPart, Torso, 0, -1, 0)
  887. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  888. Head_Weld = newWeld(Torso, Head, 0, 1.5, 0)
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896. local S = Instance.new("Sound")
  897. function CreateSound(ID, PARENT, VOLUME, PITCH)
  898.     local NEWSOUND
  899.     coroutine.resume(coroutine.create(function()
  900.         NEWSOUND = S:Clone()
  901.         NEWSOUND.Parent = PARENT
  902.         NEWSOUND.Volume = VOLUME
  903.         NEWSOUND.Pitch = PITCH
  904.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  905.         swait()
  906.         NEWSOUND:play()
  907.         game:GetService("Debris"):AddItem(NEWSOUND, 15)
  908.     end))
  909.     return NEWSOUND
  910. end
  911.  
  912.  
  913.  
  914. function newbosschatfunc(text,color1,color2,delay,typea)
  915.     for _,v in next, game:service'Players':players() do
  916.         coroutine.wrap(function()
  917.             if(script:FindFirstChild'TalkChat' and v.Character)then
  918.                 local cha = script.TalkChat --:Clone()
  919.                 cha.Color1.Value=color1
  920.                 cha.Color2.Value=color2
  921.                 cha.Text.Value=text
  922.                 cha.Ghghghghgh.Value=delay
  923.                 cha.Mode.Value=1
  924.                 cha.Parent=v.Character
  925.                 wait()
  926.                 cha.Disabled = false
  927.                 game:service'Debris':AddItem(cha,(delay/30))
  928.             end
  929.         end)()
  930.     end
  931. end
  932.  
  933. function bosschatfunc(text,color,watval,type)
  934.     newbosschatfunc(text,BrickColor.new("Institutional white").Color,color,watval,type)
  935. end
  936.  
  937.  
  938. function Pointing()
  939. attack = true
  940. Animations = true
  941. local Point= Instance.new("BodyGyro")
  942. Point.Parent = rootPart
  943. Point.D = 175
  944. Point.P = 20000
  945. Point.MaxTorque = Vector3.new(0,4000000,0)
  946. for i = 0,0.08,0.01 do
  947. Point.cframe = CFrame.new(rootPart.Position,mouse.Hit.Position)
  948. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0.3) * c_angles(math.rad(90),math.rad(0),math.rad(60)), 0.15)
  949. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), 0.15)
  950. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-10)), 0.15)
  951. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0),math.rad(0),math.rad(10)), 0.15)
  952. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(60),math.rad(0)), 0.15)
  953. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(-60), math.rad(0)), 0.15)
  954. swait()
  955. end
  956. swait(5)
  957. attack = false
  958. Animations = false
  959. Point:Destroy()
  960. end
  961. Character.Head.face:Destroy()
  962. Expression = Instance.new("Decal",Head)
  963. Expression.Texture = "rbxassetid://4484405390"
  964. local Player, Character = game.Players:GetPlayerFromCharacter(script.Parent), Player.Character;
  965. local Torso = Character:FindFirstChild("Torso")
  966. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  967. local Humanoid = Character:FindFirstChild("Humanoid")
  968. local Head = Character:FindFirstChild("Head")
  969. local rootPart = Character:FindFirstChild("HumanoidRootPart")
  970. local rapid = false
  971. local rapid2 = false
  972. local rapid3 = false
  973. local debouncing = false
  974. repeat wait() until Character ~= nil
  975.        
  976. function rayCast2(Pos, Dir, Max, Ignore)
  977. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  978. end
  979.  
  980. local themeMoos = Instance.new("Sound")
  981. themeMoos.Parent = Torso
  982. themeMoos.SoundId = "rbxassetid://4628607656"
  983. themeMoos.Looped = true
  984. themeMoos.Volume = 5
  985. themeMoos.Pitch = 1
  986. themeMoos.Name = "MusicTheme"
  987. local themeMoos2 = Instance.new("Sound")
  988. themeMoos2.Parent = Torso
  989. themeMoos2.SoundId = "rbxassetid://320255931"
  990. themeMoos2.Looped = true
  991. themeMoos2.Volume = 8
  992. themeMoos2.Pitch = 1
  993. themeMoos2.Name = "SpareTheme"
  994. wait()
  995. themeMoos:Play()
  996. local Happened = false
  997. function Start()
  998.     Animations = true
  999.     attack = true
  1000.     themeMoos:Stop()
  1001.     Expression.Texture = "rbxassetid://4484446057"
  1002.     chatfunc("* it's a beautiful day outside.")
  1003.     wait(3)
  1004.     chatfunc("* birds are singing, flowers are blooming...")
  1005.     wait(5)
  1006.     chatfunc("* on days like these, monsters like me...")
  1007.     wait(4)
  1008.     Expression.Texture = "rbxassetid://4484436948"
  1009.     chatfunc("* CAN NOT AFFORD NOT TO CARE ANYMORE.")
  1010.     wait(15)
  1011.     idle=idly
  1012.     Animations = true
  1013.     Expression.Texture = "rbxassetid://4484405390"
  1014.     chatfunc("* seems familiar to you?")
  1015.     wait(6)
  1016.     Expression.Texture = "rbxassetid://4484407199"
  1017.     chatfunc("* well, not for long.")
  1018.     wait(5)
  1019.     Expression.Texture = "rbxassetid://4484405390"
  1020.     themeMoos:Play()
  1021.     bosschatfunc("* Sans is finally giving it his all.",BrickColor.new("Institutional white").Color,120)
  1022.     Animations = false
  1023.     attack = false
  1024. end
  1025. local Death = false
  1026. local emitters={}
  1027. local emitter = Instance.new("ParticleEmitter")
  1028. emitter.Name = "Dust"
  1029. emitter.LightEmission = 1
  1030. emitter.Transparency = NumberSequence.new(0,1)
  1031. emitter.Size = NumberSequence.new(0,0.2)
  1032. emitter.SpreadAngle = Vector2.new(360,360)
  1033. emitter.Speed = NumberRange.new(0.5)
  1034. emitter.Lifetime = NumberRange.new(0.75)
  1035. emitter.Texture = "rbxassetid://241812810"
  1036. emitter.Rate = 1000
  1037. emitter.Color = ColorSequence.new(Color3.new(1,1,1))
  1038. emitter.LockedToPart = false
  1039. table.insert(emitters,emitter)
  1040. function particles(art)
  1041.     emitter:Clone().Parent = art
  1042. end
  1043. local Death2 = false
  1044. local Slash = Instance.new("Decal", Torso)
  1045. Slash.Texture = ""
  1046. local bill = script.HealthBar
  1047. bill.Frame.PName.Text = "sans"
  1048. bill.Parent = Head
  1049. FLOOR = math.floor
  1050. local health = Head.HealthBar.Frame.HealthLabel
  1051. local Humanoid = Character:WaitForChild("Humanoid")
  1052. local damagedsound = Instance.new("Sound")
  1053. damagedsound.Name = "damaged"
  1054. damagedsound.SoundId = "rbxassetid://357417055" -- damages sound effect
  1055. damagedsound.Pitch = 1
  1056. damagedsound.Volume = 3
  1057. damagedsound.Parent = Torso
  1058.  
  1059. health.Text = (Humanoid.Health/100).."/1" -- health text is now the humanoid health out of 1000
  1060. Humanoid.HealthChanged:Connect(function()
  1061.     damagedsound:Play()
  1062.     if Death == false and Death2 == false then
  1063.     health.Text = FLOOR(Humanoid.Health/100).."/1" -- when the humanoid health changes the text updates with the new humanoid health value
  1064.     health.Parent.Health.Size = UDim2.new(Humanoid.Health/222.2,0,.25,0)
  1065.     elseif Death == true and Death2 == false then
  1066.     health.Text = "0.0001/1" -- when the humanoid health changes the text updates with the new humanoid health value
  1067.     health.Parent.Health.Size = UDim2.new(Humanoid.Health/111111.1,0,.25,0)
  1068.     elseif Death == false and Death2 == true then
  1069.     health.Text = FLOOR(Humanoid.Health/1500).."/1" -- when the humanoid health changes the text updates with the new humanoid health value
  1070.     health.Parent.Health.Size = UDim2.new(Humanoid.Health/3333.3,0,.25,0)
  1071.     end
  1072. end)
  1073. function Dead()
  1074.     attack = true
  1075. attack2 = true
  1076. Animations = true
  1077. candodge = false
  1078. dodging = false
  1079. Happened = true
  1080. canblock = true
  1081. blocking = false
  1082. Humanoid.MaxHealth = math.huge
  1083. Humanoid.Health = math.huge
  1084.     Expression.Texture = "rbxassetid://1371827222"
  1085. local Dizz = Instance.new("Sound")
  1086. Dizz.Parent = Character.Torso
  1087. Dizz.SoundId = "rbxassetid://623904185"
  1088. Dizz.Volume = 10
  1089. Dizz.Looped = false
  1090. Dizz.Pitch = 1
  1091. Dizz:Play()
  1092. Slash.Texture = "rbxassetid://403969152"
  1093. health.Text = "0/1"
  1094. health.Parent.Health.Size = UDim2.new(0/2222.2,0,.25,0)
  1095.     for i = 0,1,0.01 do
  1096. themeMoos.Pitch = themeMoos.Pitch - 0.01
  1097. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15)
  1098. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15)
  1099. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(20),math.rad(0)), 0.15)
  1100. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(-20),math.rad(0)), 0.15)
  1101. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -3 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  1102. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0) + math.sin(sine/15)/5), 0.15)
  1103. swait()
  1104.     end
  1105.  
  1106. local Soul1 = Instance.new("Part", Character)
  1107. Soul1.Name = "Soul"
  1108. Soul1.Anchored = true
  1109. Soul1.Shape = Enum.PartType.Block
  1110. Soul1.CanCollide = false
  1111. Soul1.BrickColor = BrickColor.new("Institutional white")
  1112. Soul1.Transparency = 0.001
  1113. Soul1.Material = "Neon"
  1114. Soul1.Size = Vector3.new(0.26, 0.5, 0.21)
  1115. Soul1.TopSurface = Enum.SurfaceType.Smooth
  1116. Soul1.BottomSurface = Enum.SurfaceType.Smooth
  1117.  
  1118.  
  1119. local M1 = Instance.new("SpecialMesh")
  1120. M1.Parent = Soul1
  1121. M1.MeshType = "Sphere"
  1122. M1.Scale = Vector3.new(1,1,1)
  1123.  
  1124. local Soul2 = Instance.new("Part", Character)
  1125. Soul2.Name = "Soul"
  1126. Soul2.Anchored = true
  1127. Soul2.Shape = Enum.PartType.Block
  1128. Soul2.CanCollide = false
  1129. Soul2.BrickColor = BrickColor.new("Institutional white")
  1130. Soul2.Transparency = 0.001
  1131. Soul2.Material = "Neon"
  1132. Soul2.Size = Vector3.new(0.26, 0.5, 0.21)
  1133. Soul2.TopSurface = Enum.SurfaceType.Smooth
  1134. Soul2.BottomSurface = Enum.SurfaceType.Smooth
  1135.  
  1136.  
  1137. local M1 = Instance.new("SpecialMesh")
  1138. M1.Parent = Soul2
  1139. M1.MeshType = "Sphere"
  1140. M1.Scale = Vector3.new(1,1,1)
  1141. Dizz:Destroy()
  1142. themeMoos.Volume = 0
  1143. S = Instance.new("Sound")
  1144. S.Parent = Character.Torso
  1145. S.SoundId = "rbxassetid://1292392651"
  1146. S.Volume = 10
  1147. S.Looped = false
  1148. S.Pitch = 1
  1149. S:Play()
  1150.  
  1151. Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1152. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1153.  
  1154.  
  1155. Death = true
  1156.  
  1157. chatfunc("* ...")
  1158. wait(2)
  1159. S:Stop()
  1160. for i = 0,1.7,0.01 do
  1161. Soul1.CFrame = rootPart.CFrame * CFrame.new(math.random(5,15)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1162. Soul2.CFrame = rootPart.CFrame * CFrame.new(math.random(-15,-5)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1163. end
  1164. chatfunc("* !?")
  1165. wait(3)
  1166. themeMoos:Stop()
  1167. themeMoos.Pitch = 1
  1168. themeMoos.SoundId = "rbxassetid://4867583303"
  1169. themeMoos:Play()
  1170. CreateSound("446961725", Head, 7, 1)
  1171. health.Text = "0.0001/1"
  1172. health.Parent.Health.Size = UDim2.new(100/22222.2,0,.25,0)
  1173. Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1174. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1175. wait(5)
  1176. for i = 1,60,2 do
  1177. Soul1.Transparency = i/30
  1178. Soul2.Transparency = i/30
  1179. swait()
  1180. end
  1181. wait(2)
  1182. chatfunc("* i'm not throwing in the towel just yet.")
  1183. Expression.Texture = "rbxassetid://4899271896"
  1184. wait(3)
  1185. chatfunc("* ...")
  1186. wait(3)
  1187. for i = 0,1.7,0.01 do
  1188.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(0)), Sanim + 0.025)
  1189.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(0)), Sanim + 0.025)
  1190.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(20) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  1191.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(20) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  1192.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/10, math.rad(0),math.rad(0)), Sanim)
  1193.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(math.random(-15,10)), math.rad(0) + math.sin(sine/15)/4), Sanim)
  1194. end
  1195. wait(1)
  1196. Animations = false
  1197. chatfunc("* because even if this fight is unwinnable")
  1198. Expression.Texture = "rbxassetid://4899271517"
  1199. wait(3)
  1200. chatfunc("* i am willing to give it my all.")
  1201. wait(3)
  1202. chatfunc("it's not like i have any other choice...")
  1203. wait(3)
  1204. chatfunc("* i am willing to put you into place once and for all.")
  1205. wait(3)
  1206. chatfunc("* and even if i fail..")
  1207. wait(2)
  1208. chatfunc("* at least i die with a feeling of satisfaction.")
  1209. wait(3)
  1210. chatfunc("* that i finally got to see who you really are.")
  1211. wait(3)
  1212. chatfunc("* prepare yourself, kid... or whatever you are.")
  1213. wait(5)
  1214. chatfunc("* because...")
  1215. local Rev = Instance.new("Sound")
  1216. Rev.Parent = Character.Torso
  1217. Rev.SoundId = "rbxassetid://364420478"
  1218. Rev.Volume = 10
  1219. Rev.Looped = false
  1220. Rev.Pitch = 1
  1221. Rev:Play()
  1222. repeat wait() until Rev.Playing == false
  1223. local RevB = Instance.new("Sound")
  1224. RevB.Parent = Character.Torso
  1225. RevB.SoundId = "rbxassetid://446961725"
  1226. RevB.Volume = 10
  1227. RevB.Looped = false
  1228. RevB.Pitch = 1
  1229. RevB:Play()
  1230. Expression.Texture = "rbxassetid://4899271236"
  1231. chatfunc("* you're about to get dunked on even harder than before.")
  1232. themeMoos:Stop()
  1233. themeMoos.Pitch = 1
  1234. themeMoos.Volume = 5
  1235. themeMoos.SoundId = "rbxassetid://4686555781"
  1236. themeMoos:Play()
  1237. bosschatfunc("* Sans is 'dead' serious about this.",BrickColor.new("Institutional white").Color,120)
  1238. Sanim = 0.0001
  1239. attack = false
  1240. attack2 = false
  1241. Animations = false
  1242. Humanoid.MaxHealth = 500
  1243. Humanoid.Health = 500
  1244. end
  1245.  
  1246. --death2
  1247. function Dead2()
  1248.     attack = true
  1249. attack2 = true
  1250. specialattack = false
  1251. Animations = true
  1252. Humanoid.MaxHealth = math.huge
  1253. Humanoid.Health = math.huge
  1254.     Expression.Texture = "rbxassetid://1371827222"
  1255. local Dizz = Instance.new("Sound")
  1256. Dizz.Parent = Character.Torso
  1257. Dizz.SoundId = "rbxassetid://623904185"
  1258. Dizz.Volume = 10
  1259. Dizz.Looped = false
  1260. Dizz.Pitch = 0.7
  1261. Dizz:Play()
  1262. Slash.Texture = "rbxassetid://405155520"
  1263. health.Text = "0/1"
  1264. health.Parent.Health.Size = UDim2.new(0/2222.2,0,.25,0)
  1265.     for i = 0,1,0.01 do
  1266. themeMoos.Pitch = themeMoos.Pitch - 0.01
  1267. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15)
  1268. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(20),math.rad(0)), 0.15)
  1269. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(20),math.rad(0)), 0.15)
  1270. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(-20),math.rad(0)), 0.15)
  1271. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -3 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  1272. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0) + math.sin(sine/15)/5), 0.15)
  1273. swait()
  1274.     end
  1275.     wait(2)
  1276.     Expression.Texture = "rbxassetid://4484446057"
  1277.     chatfunc("* ...")
  1278.     for i = 0,1,0.01 do
  1279. themeMoos.Pitch = themeMoos.Pitch - 0.01
  1280. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(-20),math.rad(-20),math.rad(0)), 0.15)
  1281. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.1, 0.5 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(40),math.rad(20),math.rad(70)), 0.15)
  1282. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(20),math.rad(0)), 0.15)
  1283. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1 - math.sin(sine/7.5)/10, 0) * c_angles(math.rad(60),math.rad(-20),math.rad(0)), 0.15)
  1284. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -3 + math.sin(sine/7.5)/10, 0) * c_angles(math.rad(20), math.rad(0),math.rad(0)), 0.15)
  1285. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/15)/10, 0) * c_angles(math.rad(-20),math.rad(0), math.rad(0) + math.sin(sine/15)/5), 0.15)
  1286. swait()
  1287.     end
  1288.     wait(1)
  1289.     Expression.Texture = "rbxassetid://4484447540"
  1290.     chatfunc("* ...")
  1291.     wait(3)
  1292.     chatfunc("* so...")
  1293.     wait(2)
  1294.     chatfunc("* guess that's it, huh?")
  1295.     wait(4)
  1296.     Expression.Texture = "rbxassetid://1371827222"
  1297.     chatfunc("* ...")
  1298.     wait(6)
  1299.     Expression.Texture = "rbxassetid://4484446057"
  1300.     chatfunc("* welp.")
  1301.     wait(3)
  1302. local Soul1 = Instance.new("Part", Character)
  1303. Soul1.Name = "Soul"
  1304. Soul1.Anchored = true
  1305. Soul1.Shape = Enum.PartType.Block
  1306. Soul1.CanCollide = false
  1307. Soul1.BrickColor = BrickColor.new("Institutional white")
  1308. Soul1.Transparency = 0.001
  1309. Soul1.Material = "Neon"
  1310. Soul1.Size = Vector3.new(0.26, 0.5, 0.21)
  1311. Soul1.TopSurface = Enum.SurfaceType.Smooth
  1312. Soul1.BottomSurface = Enum.SurfaceType.Smooth
  1313.  
  1314.  
  1315. local M1 = Instance.new("SpecialMesh")
  1316. M1.Parent = Soul1
  1317. M1.MeshType = "Sphere"
  1318. M1.Scale = Vector3.new(1,1,1)
  1319.  
  1320. local Soul2 = Instance.new("Part", Character)
  1321. Soul2.Name = "Soul"
  1322. Soul2.Anchored = true
  1323. Soul2.Shape = Enum.PartType.Block
  1324. Soul2.CanCollide = false
  1325. Soul2.BrickColor = BrickColor.new("Institutional white")
  1326. Soul2.Transparency = 0.001
  1327. Soul2.Material = "Neon"
  1328. Soul2.Size = Vector3.new(0.26, 0.5, 0.21)
  1329. Soul2.TopSurface = Enum.SurfaceType.Smooth
  1330. Soul2.BottomSurface = Enum.SurfaceType.Smooth
  1331.  
  1332.  
  1333. local M1 = Instance.new("SpecialMesh")
  1334. M1.Parent = Soul2
  1335. M1.MeshType = "Sphere"
  1336. M1.Scale = Vector3.new(1,1,1)
  1337. Dizz:Destroy()
  1338. themeMoos.Volume = 0
  1339. S = Instance.new("Sound")
  1340. S.Parent = Character.Torso
  1341. S.SoundId = "rbxassetid://1292392651"
  1342. S.Volume = 10
  1343. S.Looped = false
  1344. S.Pitch = 1
  1345. S:Play()
  1346.  
  1347. Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1348. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1349.  
  1350.  
  1351.  
  1352. for i = 0,1.7,0.01 do
  1353. Soul1.CFrame = rootPart.CFrame * CFrame.new(math.random(5,15)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1354. Soul2.CFrame = rootPart.CFrame * CFrame.new(math.random(-15,-5)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1355. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(-25),math.rad(66)), 0.2)
  1356. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(150),math.rad(16),math.rad(-50)), 0.2)
  1357. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  1358. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  1359. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -2.5, 0) * c_angles(math.rad(-80), math.rad(0),math.rad(0)), 0.2)
  1360. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 2, -0.3) * c_angles(math.rad(50),math.rad(0), math.rad(45)), 0.2)
  1361. swait()
  1362. end
  1363. Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1364. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1365. wait(1)
  1366. S = Instance.new("Sound")
  1367. S.Parent = Character.Torso
  1368. S.SoundId = "rbxassetid://973028066"
  1369. S.Volume = 10
  1370. S.Looped = false
  1371. S.Pitch = 1
  1372. S:Play()
  1373. Soul1.CFrame = rootPart.CFrame * CFrame.new(0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1374. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.25, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1375. wait(1)
  1376. S:Stop()
  1377. Soul1.BrickColor = BrickColor.new("Really red")
  1378. Soul2.BrickColor = BrickColor.new("Really red")
  1379. local Rev = Instance.new("Sound")
  1380. Rev.Parent = Character.Torso
  1381. Rev.SoundId = "rbxassetid://364420478"
  1382. Rev.Volume = 10
  1383. Rev.Looped = false
  1384. Rev.Pitch = 1
  1385. Rev:Play()
  1386.     repeat
  1387.         swait()
  1388.         Rev.Parent = Head
  1389. Soul1.CFrame = rootPart.CFrame * CFrame.new(math.random(5,15)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1390. Soul2.CFrame = rootPart.CFrame * CFrame.new(math.random(-15,-5)/100, math.random(95,105)/100, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1391.     until Rev.Playing == false
  1392.     Soul1.CFrame = rootPart.CFrame * CFrame.new(0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(-30))
  1393. Soul2.CFrame = rootPart.CFrame * CFrame.new(-0.1, 1, -1)*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  1394. for i = 1,60,2 do
  1395. Soul1.Transparency = i/30
  1396. Soul2.Transparency = i/30
  1397. swait()
  1398. end
  1399. Death = false
  1400. Death2 = true
  1401.             for _, c in pairs(Character:GetChildren()) do
  1402.         if c.ClassName == "Part" then
  1403.             if c.Transparency == 0 and c:FindFirstChild("Dust") ~= nil then
  1404.                 c.Dust:Destroy()
  1405.             end
  1406.         end
  1407.         end
  1408. local Bam = Instance.new("Sound")
  1409. Bam.Parent = Character.Torso
  1410. Bam.SoundId = "rbxassetid://367453005"
  1411. Bam.Volume = 10
  1412. Bam.Looped = false
  1413. Bam.Pitch = 1
  1414. Bam:Play()
  1415. health.Text = "1/1"
  1416. health.Parent.Health.Size = UDim2.new(0.45,0,.25,0)
  1417. Expression.Texture = "rbxassetid://1747799573"
  1418. script.textboard.TextLabel.TextColor3 = Color3.new(255,0,0)
  1419. chatfunc("* Hahahahhaha.")
  1420. themeMoos:Stop()
  1421. themeMoos.SoundId = "rbxassetid://4739499225"
  1422. themeMoos:Play()
  1423. Sanim = 0.0001
  1424. attack = false
  1425. attack2 = false
  1426. Animations = false
  1427. Humanoid.MaxHealth = 1500
  1428. Humanoid.Health = 1500
  1429. wait(155)
  1430. Expression.Texture = "rbxassetid://1747799573"
  1431. chatfunc("* 💣☜ ☝✌ ☹ ⚐ 💣✌ ☠♓︎✌.")
  1432. end
  1433. local Happened2 = false
  1434. function swait(num)
  1435.     if num == 0 or num == nil then
  1436.         game:GetService("RunService").Stepped:wait(0)
  1437.     else
  1438.         for i = 0, num do
  1439.             game:GetService("RunService").Stepped:wait(0)
  1440.         end
  1441.     end
  1442. end
  1443.  
  1444. Effects = Instance.new("Folder",Character)
  1445. Effects.Name = "Stuff"
  1446.  
  1447.         local CFRAME = rootPart.CFrame * CFrame.new(0, 0, -2)
  1448.     local CHROMES = {}
  1449.     local AFFECTEDPEOPLE = {}
  1450.         local function AoE(POS, RANGE)
  1451.             for index, CHILD in pairs(workspace:GetDescendants()) do
  1452.                 if CHILD.ClassName == "Model" then
  1453.                     local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1454.                     if HUM then
  1455.                         local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1456.                         if TORSO and RANGE >= (TORSO.Position - POS).Magnitude then
  1457.                             local PASS = true
  1458.                             for E = 1, #AFFECTEDPEOPLE do
  1459.                                 if AFFECTEDPEOPLE[E][1] == CHILD then
  1460.                                     PASS = false
  1461.                                 end
  1462.                             end
  1463.                             if PASS == true then
  1464.                                 local CHROME = script.Permachrome --:Clone()
  1465.                                 CHROME.Parent = CHILD
  1466.                                 CHROME.Disabled = false
  1467.                                 local UNDO = Instance.new("BoolValue", CHROME)
  1468.                                 UNDO.Name = "Undo"
  1469.                                 table.insert(CHROMES, CHROME)
  1470.                             end
  1471.                         end
  1472.                     end
  1473.                 end
  1474.             end
  1475.         end
  1476.        
  1477.         function teleport()
  1478.             local tele1 = CreateSound("12222170", Head, 5, 0.6)
  1479.             --AoE(CFRAME.p, 500000)
  1480.             repeat swait() until tele1.Playing == false
  1481.             wait(0.5)
  1482.             local tele2 = CreateSound("12222170", Head, 5, 0.65)
  1483.              Torso.CFrame = CFrame.new(Vector3.new(Mouse.Hit.p.X,Mouse.Hit.p.Y+1.5,Mouse.Hit.p.Z),Torso.CFrame.p)
  1484.           wait(1)
  1485.               --for E = 1, #CHROMES do
  1486.                 --CHROMES[E]:Destroy()
  1487.               --end
  1488.         end
  1489. function Beam2(parent,color,size,pose)
  1490. local MouseLook=CFrame.new((parent.Position+pose)/2,pose)
  1491. local hit,pos = rayCast2(parent.Position,MouseLook.lookVector,999,rootPart.Parent)
  1492. local mag=(parent.Position-pos).magnitude
  1493.  
  1494. local Shockwave = Instance.new("Part",Effects)
  1495. Shockwave.Anchored = true
  1496. Shockwave.Color = color
  1497. Shockwave.CanCollide = false
  1498. Shockwave.FormFactor = 3
  1499. Shockwave.Name = "Shockwave"
  1500. Shockwave.Material = "Neon"
  1501. Shockwave.Size = Vector3.new(1, 1, 1)
  1502. Shockwave.Transparency = 0
  1503. Shockwave.TopSurface = 0
  1504. Shockwave.BottomSurface = 0
  1505. Shockwave.CFrame = parent.CFrame
  1506. local rngm2 = Instance.new("SpecialMesh", Shockwave)
  1507. rngm2.Scale = Vector3.new(size, size, size)
  1508. rngm2.Offset = Vector3.new(0,0,0)
  1509. rngm2.MeshType = "Sphere"
  1510. spawn(function()
  1511.     wait(0.4)
  1512.     for i = 1, 10 do
  1513.         rngm2.Scale = Vector3.new(size - i*(size/10),size - i*(size/10),size - i*(size/10))
  1514.         swait()
  1515.     end
  1516.     wait()
  1517.     Shockwave:Destroy()
  1518. end)
  1519.  
  1520. local Shockwave = Instance.new("Part",Effects)
  1521. Shockwave.Anchored = true
  1522. Shockwave.Color = color
  1523. Shockwave.CanCollide = false
  1524. Shockwave.FormFactor = 3
  1525. Shockwave.Name = "Shockwave"
  1526. Shockwave.Material = "Neon"
  1527. Shockwave.Size = Vector3.new(1, 1, 1)
  1528. Shockwave.Transparency = 0
  1529. Shockwave.TopSurface = 0
  1530. Shockwave.BottomSurface = 0
  1531. Shockwave.CFrame = parent.CFrame *CFrame.new(0,0,(-mag))
  1532. local rngm2 = Instance.new("SpecialMesh", Shockwave)
  1533. rngm2.Scale = Vector3.new(size, size, size)
  1534. rngm2.Offset = Vector3.new(0,0,0)
  1535. rngm2.MeshType = "Sphere"
  1536. spawn(function()
  1537.     wait(0.4)
  1538.     for i = 1, 10 do
  1539.         rngm2.Scale = Vector3.new(size - i*(size/10),size - i*(size/10),size - i*(size/10))
  1540.         swait()
  1541.     end
  1542.     wait()
  1543.     Shockwave:Destroy()
  1544. end)
  1545.  
  1546. local Laser = Instance.new("Part",Torso)
  1547. Laser.Name = "MagicCircle"
  1548. Laser.Shape = Enum.PartType.Cylinder
  1549. Laser.CanCollide = false
  1550. Laser.Color = color
  1551. Laser.Transparency = 0
  1552. Laser.Anchored = true
  1553. Laser.Material = "Neon"
  1554. Laser.Size = Vector3.new(1 * mag,size, size)
  1555. Laser.TopSurface = Enum.SurfaceType.Smooth
  1556. Laser.BottomSurface = Enum.SurfaceType.Smooth
  1557. Laser.CFrame = parent.CFrame *CFrame.new(0,0,(-mag)/2) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1558.  
  1559. Laser.Touched:connect(function(hit)
  1560.  
  1561.  
  1562. if hit.Parent == Character then return end
  1563.  
  1564. for i,v in pairs(hit.Parent:GetChildren()) do
  1565. if v:IsA("Humanoid") then
  1566. padebounce = true
  1567. if padebounce == true then
  1568. padebounce = false
  1569.  
  1570. v.Health = v.Health-1
  1571. wait()
  1572. padebounce = true
  1573. end
  1574.  
  1575.  
  1576. end
  1577. end
  1578.  
  1579. end)
  1580.  
  1581. spawn(function()
  1582. e = size
  1583. wait(0.4)
  1584. for i = 1,10 do
  1585. e = e - (size/10)
  1586. Laser.Size = Vector3.new(1 * mag,e, e)
  1587. swait()
  1588. end
  1589. Laser:Destroy()
  1590. end)
  1591. end
  1592.  
  1593. function Beam(parent,color,size)
  1594. local MouseLook=CFrame.new((parent.Position+mouse.Hit.p)/2,mouse.Hit.p)
  1595. local hit,pos = rayCast2(parent.Position,MouseLook.lookVector,999,rootPart.Parent)
  1596. local mag=(parent.Position-pos).magnitude
  1597.  
  1598. local Shockwave = Instance.new("Part",Effects)
  1599. Shockwave.Anchored = true
  1600. Shockwave.Color = color
  1601. Shockwave.CanCollide = false
  1602. Shockwave.FormFactor = 3
  1603. Shockwave.Name = "Shockwave"
  1604. Shockwave.Material = "Neon"
  1605. Shockwave.Size = Vector3.new(1, 1, 1)
  1606. Shockwave.Transparency = 0
  1607. Shockwave.TopSurface = 0
  1608. Shockwave.BottomSurface = 0
  1609. Shockwave.CFrame = parent.CFrame
  1610. local rngm2 = Instance.new("SpecialMesh", Shockwave)
  1611. rngm2.Scale = Vector3.new(size, size, size)
  1612. rngm2.Offset = Vector3.new(0,0,0)
  1613. rngm2.MeshType = "Sphere"
  1614. spawn(function()
  1615.     wait(0.4)
  1616.     for i = 1, 10 do
  1617.         rngm2.Scale = Vector3.new(size - i*(size/10),size - i*(size/10),size - i*(size/10))
  1618.         swait()
  1619.     end
  1620.     wait()
  1621.     Shockwave:Destroy()
  1622. end)
  1623.  
  1624. local Shockwave = Instance.new("Part",Effects)
  1625. Shockwave.Anchored = true
  1626. Shockwave.Color = color
  1627. Shockwave.CanCollide = false
  1628. Shockwave.FormFactor = 3
  1629. Shockwave.Name = "Shockwave"
  1630. Shockwave.Material = "Neon"
  1631. Shockwave.Size = Vector3.new(1, 1, 1)
  1632. Shockwave.Transparency = 0
  1633. Shockwave.TopSurface = 0
  1634. Shockwave.BottomSurface = 0
  1635. Shockwave.CFrame = parent.CFrame *CFrame.new(0,0,(-mag))
  1636. local rngm2 = Instance.new("SpecialMesh", Shockwave)
  1637. rngm2.Scale = Vector3.new(size, size, size)
  1638. rngm2.Offset = Vector3.new(0,0,0)
  1639. rngm2.MeshType = "Sphere"
  1640. spawn(function()
  1641.     wait(0.4)
  1642.     for i = 1, 10 do
  1643.         rngm2.Scale = Vector3.new(size - i*(size/10),size - i*(size/10),size - i*(size/10))
  1644.         swait()
  1645.     end
  1646.     wait()
  1647.     Shockwave:Destroy()
  1648. end)
  1649.  
  1650. local Laser = Instance.new("Part",Torso)
  1651. Laser.Name = "MagicCircle"
  1652. Laser.Shape = Enum.PartType.Cylinder
  1653. Laser.CanCollide = false
  1654. Laser.Color = color
  1655. Laser.Transparency = 0
  1656. Laser.Anchored = true
  1657. Laser.Material = "Neon"
  1658. Laser.Size = Vector3.new(1 * mag,size, size)
  1659. Laser.TopSurface = Enum.SurfaceType.Smooth
  1660. Laser.BottomSurface = Enum.SurfaceType.Smooth
  1661. Laser.CFrame = parent.CFrame *CFrame.new(0,0,(-mag)/2) * CFrame.fromEulerAnglesXYZ(0,math.rad(90),0)
  1662.  
  1663. Laser.Touched:connect(function(hit)
  1664.  
  1665.  
  1666. if hit.Parent == Character then return end
  1667.  
  1668. for i,v in pairs(hit.Parent:GetChildren()) do
  1669. if v:IsA("Humanoid") then
  1670. padebounce = true
  1671. if padebounce == true then
  1672. padebounce = false
  1673.  
  1674. v.Health = v.Health-1
  1675. wait()
  1676. padebounce = true
  1677. end
  1678.  
  1679.  
  1680. end
  1681. end
  1682.  
  1683. end)
  1684.  
  1685. spawn(function()
  1686. e = size
  1687. wait(0.4)
  1688. for i = 1,10 do
  1689. e = e - (size/10)
  1690. Laser.Size = Vector3.new(1 * mag,e, e)
  1691. swait()
  1692. end
  1693. Laser:Destroy()
  1694. end)
  1695. end
  1696.  
  1697. local mp = Instance.new("Part",Effects)
  1698. mp.CanCollide = false
  1699. mp.Name = "Point X"
  1700. mp.Transparency = 1
  1701. mp.Size = Vector3.new(1, 1, 1)
  1702.  
  1703. Point = Instance.new("BodyGyro")
  1704. Point.Parent = mp
  1705. Point.D = 175
  1706. Point.P = 200000
  1707. Point.MaxTorque = Vector3.new(0,400000000,0)
  1708.  
  1709. local mp2 = Instance.new("Part",Effects)
  1710. mp2.CanCollide = false
  1711. mp2.Name = "Point XYZ"
  1712. mp2.Transparency = 1
  1713. mp2.Size = Vector3.new(1, 1, 1)
  1714.  
  1715. Point2 = Instance.new("BodyGyro")
  1716. Point2.Parent = mp2
  1717. Point2.D = 175
  1718. Point2.P = 200000
  1719. Point2.MaxTorque = Vector3.new(400000000,400000000,400000000)
  1720.  
  1721. local mousep = nil
  1722. local pos = Instance.new("BodyPosition",mp)
  1723. pos.D = 1250
  1724. pos.P = 200000
  1725. pos.MaxForce = Vector3.new(4000000000, 4000000000, 4000000000)
  1726. local pos2 = Instance.new("BodyPosition",mp2)
  1727. pos2.D = 1250
  1728. pos2.P = 200000
  1729. pos2.MaxForce = Vector3.new(4000000000, 4000000000, 4000000000)
  1730. coroutine.wrap(function()
  1731. while true do
  1732. mousep = mouse.Hit.p
  1733. Point.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
  1734. pos.Position = rootPart.Position + Vector3.new(0,0,0)
  1735. Point2.cframe = CFrame.new(rootPart.Position,Mouse.Hit.Position)
  1736. pos2.Position = rootPart.Position + Vector3.new(0,0,0)
  1737. swait()
  1738. end
  1739. end)()
  1740.  
  1741. function GasterBlaster(position,x1,y1,z1,size,lasercolor,lasersize,pitch1,pitch2,x2,y2,z2)
  1742. local GasterB = Instance.new("Part",Effects)
  1743. GasterB.Touched:connect(function(hit)
  1744.  
  1745.  
  1746. if hit.Parent == Character then return end
  1747.  
  1748. for i,v in pairs(hit.Parent:GetChildren()) do
  1749. if v:IsA("Humanoid") then
  1750. padebounce = true
  1751. if padebounce == true then
  1752. padebounce = false
  1753.  
  1754. v.Health = v.Health-0.5
  1755. wait(.2)
  1756. padebounce = true
  1757. end
  1758.  
  1759.  
  1760. end
  1761. end
  1762.  
  1763. end)
  1764.  
  1765. GasterB.CFrame = rootPart.CFrame
  1766. GasterB.CanCollide = false
  1767. GasterB.Material = "SmoothPlastic"
  1768. GasterB.BrickColor = BrickColor.new("White")
  1769. local zxc = Instance.new("SpecialMesh",GasterB)
  1770. zxc.MeshType = "FileMesh"
  1771. zxc.Scale = Vector3.new(1, 1, 1)
  1772. zxc.MeshId = "rbxassetid://2649585735"
  1773.  
  1774. spawn(function()
  1775.  
  1776. local GBPoint = Instance.new("BodyGyro")
  1777. GBPoint.Parent = GasterB
  1778. GBPoint.D = 20000
  1779. GBPoint.P = 2000000000
  1780. GBPoint.MaxTorque = Vector3.new(x2,y2,z2)
  1781. local Fire = Instance.new("Sound",GasterB)
  1782. local Charge = Instance.new("Sound",GasterB)
  1783.  
  1784. local GBLoc = Instance.new("BodyPosition",GasterB)
  1785. GBLoc.D = 2000
  1786. GBLoc.P = 200000
  1787. GBLoc.MaxForce = Vector3.new((math.huge), (math.huge), (math.huge))
  1788. Charge.SoundId = "rbxassetid://482211201"
  1789. Charge.Volume = 1
  1790. Charge.Pitch = pitch1
  1791. Charge.PlayOnRemove = true
  1792. Charge:Destroy()
  1793. local x = x1
  1794. local y = y1
  1795. local z = z1
  1796. local c = 0
  1797. local posit = position
  1798. for i = 1,20 do
  1799. c = c + (size/20)
  1800. GBPoint.cframe = CFrame.new(GasterB.Position,posit)
  1801. zxc.Scale = Vector3.new(c, c, c)
  1802. GBLoc.Position = posit + Vector3.new(x,y,z)
  1803. swait()
  1804. end
  1805. for i = 1,40 do
  1806.     GBLoc.Position = posit + Vector3.new(x,y,z)
  1807.     swait()
  1808. end
  1809.  
  1810. GasterB.Anchored = true
  1811. zxc.MeshId = "rbxassetid://2649597177"
  1812. swait()
  1813. zxc.MeshId = "rbxassetid://2649610132"
  1814. swait()
  1815. Fire.SoundId = "rbxassetid://340722848"
  1816. Fire.Volume = 1
  1817. Fire.PlayOnRemove = true
  1818. Fire.Pitch = pitch2
  1819. Fire:Destroy()
  1820. Beam2(GasterB,lasercolor,lasersize,posit)
  1821. zxc.MeshId = "rbxassetid://2649605211"
  1822. swait()
  1823. zxc.MeshId = "rbxassetid://2649590388"
  1824.  
  1825. wait(0.5)
  1826. local t = size
  1827. for i = 1,20 do
  1828. t = t - (size/20)
  1829.     zxc.Scale = Vector3.new(t, t, t)
  1830.     GasterB.CFrame = GasterB.CFrame*CFrame.new(0,0,5)
  1831.     swait()
  1832. end
  1833. GasterB:Destroy()
  1834. end)
  1835. end
  1836.  
  1837. padebounce = false
  1838. debounce = true
  1839.  
  1840. function BoneObstacle()
  1841. rapid2 = true
  1842. local bonehit2nd = Instance.new("Sound",mp)
  1843. bonehit2nd.SoundId = "rbxassetid://401680588"
  1844. bonehit2nd.Volume = 0.2
  1845. bonehit2nd:Play()
  1846. while rapid2 == true and wait(0.05) do
  1847.   if Character.HumanoidRootPart.Velocity.y < 1 and hitfloor == nil then
  1848.   for i = 1,4 do
  1849.   local bone = Instance.new("Part",Character)
  1850.                            bone.Touched:connect(function(hit)
  1851.  
  1852.        
  1853.                         if hit.Parent == Character then return end
  1854.        
  1855.                 for i,v in pairs(hit.Parent:GetChildren()) do
  1856.                     if v:IsA("Humanoid") then
  1857.               padebounce = true
  1858.             if padebounce == true then
  1859.               padebounce = false
  1860.              
  1861.                         v.Health = v.Health-2
  1862.               wait()
  1863.               padebounce = true
  1864.               end
  1865.              
  1866.        
  1867.                     end
  1868.             end
  1869.          
  1870. end)
  1871.   bone.CanCollide = false
  1872.   bone.Material = "SmoothPlastic"
  1873.   bone.BrickColor = BrickColor.new("White")
  1874.   bone.Anchored = true
  1875.   bone.CFrame = (mp.CFrame + Vector3.new(math.random(-25,25),-8,math.random(-25,25))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(0)),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
  1876.    local zxc = Instance.new("SpecialMesh",bone)
  1877. zxc.MeshType = "FileMesh"
  1878. zxc.Scale = Vector3.new(0.03, 0.03, 0.03)
  1879. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  1880. wait()
  1881.  
  1882. local gdisp = coroutine.wrap(function()
  1883. for i = 1,5 do
  1884.     bone.CFrame = bone.CFrame*CFrame.new(0,1,0)
  1885.     swait()
  1886. end
  1887. local bonehit3nd = Instance.new("Sound",mp)
  1888. bonehit3nd.SoundId = "rbxassetid://306247749"
  1889. bonehit3nd.Volume = 1
  1890. bonehit3nd:Play()
  1891.       wait(0.2)
  1892. for i = 1,240 do
  1893. bone.CFrame = bone.CFrame*CFrame.new(0,0,-1)
  1894. bone.Transparency = i/240
  1895. swait()
  1896. end
  1897. bone:Destroy()
  1898. end)
  1899. gdisp()
  1900. end
  1901. end
  1902. end
  1903.   end
  1904.  
  1905. function BoneProjectile()
  1906. rapid = true
  1907. while rapid == true and wait(0.1) do
  1908. local bone = Instance.new("Part",Character)
  1909. bone.Touched:connect(function(hit)
  1910.  
  1911.  
  1912. if hit.Parent == Character then return end
  1913.  
  1914. for i,v in pairs(hit.Parent:GetChildren()) do
  1915. if v:IsA("Humanoid") then
  1916. padebounce = true
  1917. if padebounce == true then
  1918. padebounce = false
  1919.  
  1920. v.Health = v.Health-2
  1921. wait()
  1922. padebounce = true
  1923. end
  1924.  
  1925.  
  1926. end
  1927. end
  1928.  
  1929. end)
  1930.  
  1931. bone.CFrame = mp2.CFrame
  1932. bone.CanCollide = false
  1933. bone.Material = "SmoothPlastic"
  1934. bone.BrickColor = BrickColor.new("White")
  1935. bone.Anchored = true
  1936. bone.CFrame = (mp2.CFrame + Vector3.new(math.random(-50,50)/10,math.random(20,40)/10,math.random(-50,50)/10)) * CFrame.fromEulerAnglesXYZ(math.rad(-90),math.random(0,math.rad(0)),math.random(0,math.rad(0)))
  1937. local zxc = Instance.new("SpecialMesh",bone)
  1938. zxc.MeshType = "FileMesh"
  1939. zxc.Scale = Vector3.new(0.01, 0.01, 0.01)
  1940. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  1941. wait()
  1942. Pointing()
  1943. local gdisp = coroutine.wrap(function()
  1944. coroutine.wrap(function()
  1945. for i = 1,30 do
  1946. local fx = Instance.new("Part",Effects)
  1947. fx.Anchored = true
  1948. fx.Color = Color3.new(0,0.6,0.5)
  1949. fx.CanCollide = false
  1950. fx.FormFactor = 3
  1951. fx.Name = "Shockwave"
  1952. fx.Material = "Neon"
  1953. fx.Size = Vector3.new(1, 1, 1)
  1954. fx.Transparency = 0.35
  1955. fx.TopSurface = 0
  1956. fx.BottomSurface = 0
  1957. fx.CFrame = bone.CFrame
  1958. fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10))
  1959. local fxm = Instance.new("SpecialMesh", fx)
  1960. fxm.Scale = Vector3.new(0,0,0)
  1961. fxm.Offset = Vector3.new(0,0,0)
  1962. fxm.MeshType = "Sphere"
  1963. spawn(function()
  1964.     for i = 1, 15, 1 do
  1965.         fxm.Scale = Vector3.new(0.25 - i*0.00416,.5  - i*0.0083 ,0.25 - i*0.00416)
  1966.         fx.CFrame = fx.CFrame * CFrame.new(0,0.5,0)
  1967.         fx.Transparency = i/15
  1968.         swait()
  1969.     end
  1970.     wait()
  1971.     fx:Destroy()
  1972. end)
  1973. end
  1974. end)()
  1975. local bonehit3nd = Instance.new("Sound",mp)
  1976. bonehit3nd.SoundId = "rbxassetid://306247749"
  1977. bonehit3nd.Volume = 1
  1978. bonehit3nd:Play()
  1979. for i = 1,120 do
  1980. bone.CFrame = bone.CFrame*CFrame.new(0,1.5,0)
  1981. bone.Transparency = i/120
  1982. local fx = Instance.new("Part",Effects)
  1983. fx.Anchored = true
  1984. fx.Color = Color3.new(0,0.6,0.5)
  1985. fx.CanCollide = false
  1986. fx.FormFactor = 3
  1987. fx.Name = "Shockwave"
  1988. fx.Material = "Neon"
  1989. fx.Size = Vector3.new(1, 1, 1)
  1990. fx.Transparency = 0.35
  1991. fx.TopSurface = 0
  1992. fx.BottomSurface = 0
  1993. fx.CFrame = bone.CFrame
  1994. fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10))
  1995. local fxm = Instance.new("SpecialMesh", fx)
  1996. fxm.Scale = Vector3.new(0,0,0)
  1997. fxm.Offset = Vector3.new(0,0,0)
  1998. fxm.MeshType = "Sphere"
  1999. spawn(function()
  2000.     for i = 1, 15, 1 do
  2001.         fxm.Scale = Vector3.new(0.25 - i*0.00416,0.25 - i*0.00416,0.25 - i*0.00416)
  2002.         fx.Transparency = i/15
  2003.         swait()
  2004.     end
  2005.     wait()
  2006.     fx:Destroy()
  2007. end)
  2008. swait()
  2009. end
  2010. bone:Destroy()
  2011. end)
  2012. gdisp()
  2013. end
  2014. end
  2015.  
  2016. function BoneRise()
  2017.  
  2018. local rng3 = Instance.new("Part",Effects)
  2019. rng3.Anchored = true
  2020. rng3.Color = Color3.new(1,0,0)
  2021. rng3.CanCollide = false
  2022. rng3.Material = "Neon"
  2023. rng3.FormFactor = 3
  2024. rng3.Name = "Shockwave"
  2025. rng3.Size = Vector3.new(1, 1, 1)
  2026. rng3.Transparency = 0
  2027. rng3.TopSurface = 0
  2028. rng3.BottomSurface = 0
  2029. rng3.CFrame = CFrame.new(mousep) * CFrame.new(0,-0.45,0)
  2030. local rngm3 = Instance.new("SpecialMesh", rng3)
  2031. rngm3.Scale = Vector3.new(0, 0, 0)
  2032. rngm3.Offset = Vector3.new(0,0.5,0)
  2033. rngm3.MeshType = "Sphere"
  2034.  
  2035. spawn(function()
  2036.     for i = 1, 20 do
  2037.         rngm3.Scale = Vector3.new(6 + i*0.25,0.01,6 + i*0.25)
  2038.         rng3.Transparency = rng3.Transparency + 0.025
  2039.         swait()
  2040.     end
  2041.     wait(0.2)
  2042.     for i = 1, 10 do
  2043.         rngm3.Scale = Vector3.new(11 - i*0.25,0.01 + i*2,11 - i*0.25)
  2044.         rng3.Transparency = rng3.Transparency + 0.05
  2045.         swait()
  2046.     end
  2047.     wait()
  2048.     rng3:Destroy()
  2049. end)
  2050. local bonehit2nd = Instance.new("Sound",rng3)
  2051. bonehit2nd.SoundId = "rbxassetid://401680588"
  2052. bonehit2nd.Volume = 0.2
  2053. bonehit2nd:Play()
  2054. for i = 1,20 do
  2055. local bone = Instance.new("Part",Character)
  2056. bone.Touched:connect(function(hit)
  2057.  
  2058.  
  2059. if hit.Parent == Character then return end
  2060.  
  2061. for i,v in pairs(hit.Parent:GetChildren()) do
  2062. if v:IsA("Humanoid") then
  2063. padebounce = true
  2064. if padebounce == true then
  2065. padebounce = false
  2066.  
  2067. v.Health = v.Health-0.5
  2068. wait(.2)
  2069. padebounce = true
  2070. end
  2071.  
  2072.  
  2073. end
  2074. end
  2075.  
  2076. end)
  2077. bone.CanCollide = false
  2078. bone.Material = "SmoothPlastic"
  2079. bone.BrickColor = BrickColor.new("White")
  2080. bone.Anchored = true
  2081. bone.CFrame = CFrame.new(mousep) * CFrame.new(math.random(-10,10)/10,-8,math.random(-10,10)/10) * CFrame.fromEulerAnglesXYZ(math.random(-5,5)/10,math.random(-5,5)/10,math.random(-5,5)/10)
  2082. local zxc = Instance.new("SpecialMesh",bone)
  2083. zxc.MeshType = "FileMesh"
  2084. zxc.Scale = Vector3.new(0.03, 0.03, 0.03)
  2085. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  2086. local gdisp = coroutine.wrap(function()
  2087. local bonehit3nd = Instance.new("Sound",bone)
  2088. wait(0.8)
  2089. bonehit3nd.SoundId = "rbxassetid://306247749"
  2090. bonehit3nd.Volume = 1
  2091. bonehit3nd:Play()
  2092. for i = 1,5 do
  2093.     bone.CFrame = bone.CFrame*CFrame.new(0,1.8,0)
  2094.     swait()
  2095. end
  2096. for i = 1,5 do
  2097.     bone.CFrame = bone.CFrame*CFrame.new(0,-0.1,0)
  2098.     swait()
  2099. end
  2100.       wait(0.8)
  2101. for i = 1,5 do
  2102.     bone.CFrame = bone.CFrame*CFrame.new(0,-0.8,0)
  2103.     swait()
  2104. end
  2105. bone:Destroy()
  2106. end)
  2107. gdisp()
  2108. end
  2109. end
  2110.  
  2111. function GBShoot()
  2112. rapid3 = true
  2113. while rapid3 == true and wait(0.2) do
  2114. local GasterB = Instance.new("Part",Effects)
  2115. GasterB.Touched:connect(function(hit)
  2116.  
  2117.  
  2118. if hit.Parent == Character then return end
  2119.  
  2120. for i,v in pairs(hit.Parent:GetChildren()) do
  2121. if v:IsA("Humanoid") then
  2122. padebounce = true
  2123. if padebounce == true then
  2124. padebounce = false
  2125.  
  2126. v.Health = v.Health-0.5
  2127. wait(.2)
  2128. padebounce = true
  2129. end
  2130.  
  2131.  
  2132. end
  2133. end
  2134.  
  2135. end)
  2136.  
  2137. GasterB.CFrame = rootPart.CFrame
  2138. GasterB.CanCollide = false
  2139. GasterB.Material = "SmoothPlastic"
  2140. GasterB.BrickColor = BrickColor.new("White")
  2141. local zxc = Instance.new("SpecialMesh",GasterB)
  2142. zxc.MeshType = "FileMesh"
  2143. zxc.Scale = Vector3.new(1, 1, 1)
  2144. zxc.MeshId = "rbxassetid://2649585735"
  2145. Pointing()
  2146. spawn(function()
  2147.  
  2148. local GBPoint = Instance.new("BodyGyro")
  2149. GBPoint.Parent = GasterB
  2150. GBPoint.D = 2000
  2151. GBPoint.P = 2000000
  2152. GBPoint.MaxTorque = Vector3.new(400000000,400000000,400000000)
  2153. local Fire = Instance.new("Sound",GasterB)
  2154. local Charge = Instance.new("Sound",GasterB)
  2155.  
  2156. local GBLoc = Instance.new("BodyPosition",GasterB)
  2157. GBLoc.D = 2000
  2158. GBLoc.P = 200000
  2159. GBLoc.MaxForce = Vector3.new(40000, 40000, 40000)
  2160. Charge.SoundId = "rbxassetid://482211201"
  2161. Charge.Volume = 1
  2162. Charge.PlayOnRemove = true
  2163. Charge:Destroy()
  2164. local x = math.random((math.random(-250,-200)),(math.random(200,250)))/10
  2165. local y = (math.random(30,60)/10)
  2166. local z = math.random((math.random(-250,-200)),(math.random(200,250)))/10
  2167. local c = 0
  2168. local posit = rootPart.Position
  2169. for i = 1,15 do
  2170. c = c + 0.1
  2171. zxc.Scale = Vector3.new(c, c, c)
  2172. GBPoint.cframe = CFrame.new(GasterB.Position,Mouse.Hit.Position)
  2173. GBLoc.Position = posit + Vector3.new(x,y,z)
  2174. swait()
  2175. end
  2176. for i = 1,20 do
  2177. GBPoint.cframe = CFrame.new(GasterB.Position,Mouse.Hit.Position)
  2178.     GBLoc.Position = posit + Vector3.new(x,y,z)
  2179.     swait()
  2180. end
  2181.  
  2182. GasterB.Anchored = true
  2183. zxc.MeshId = "rbxassetid://2649597177"
  2184. swait()
  2185. zxc.MeshId = "rbxassetid://2649610132"
  2186. swait()
  2187. Fire.SoundId = "rbxassetid://340722848"
  2188. Fire.Volume = 5
  2189. Fire.PlayOnRemove = true
  2190. Fire:Destroy()
  2191. Beam(GasterB,Color3.new(1,1,1),5)
  2192. zxc.MeshId = "rbxassetid://2649605211"
  2193. swait()
  2194. zxc.MeshId = "rbxassetid://2649590388"
  2195.  
  2196.  
  2197.  
  2198. wait(1)
  2199. local t = 1.5
  2200. for i = 1,20 do
  2201. t = t - 0.075
  2202.     zxc.Scale = Vector3.new(t, t, t)
  2203.     GasterB.CFrame = GasterB.CFrame*CFrame.new(0,0,5)
  2204.     swait()
  2205. end
  2206. GasterB:Destroy()
  2207. end)
  2208. end
  2209. end
  2210.  
  2211. function RandomGBs()
  2212. local r = math.random(1,6)
  2213. local location = mouse.Hit.p
  2214. if r == 1 then
  2215. GasterBlaster(location,35,3.5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2216. GasterBlaster(location,-35,3.5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2217. GasterBlaster(location,0,5,35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2218. GasterBlaster(location,0,3.5,-35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2219. GasterBlaster(location,20,3.5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2220. GasterBlaster(location,-20,3.5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2221. GasterBlaster(location,-20,3.5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2222. GasterBlaster(location,20,3.5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2223. elseif r == 2 then
  2224. GasterBlaster(location,35,3.5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2225. GasterBlaster(location,-35,3.5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2226. GasterBlaster(location,0,5,35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2227. GasterBlaster(location,0,3.5,-35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2228. elseif r == 3 then
  2229. GasterBlaster(location,20,3.5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2230. GasterBlaster(location,-20,3.5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2231. GasterBlaster(location,-20,5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2232. GasterBlaster(location,20,3.5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2233. elseif r == 4 then
  2234. GasterBlaster(location,0,8,40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2235. GasterBlaster(location,0,8,-40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2236. elseif r == 5 then
  2237. GasterBlaster(location,40,8,0,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2238. GasterBlaster(location,-40,8,0,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2239. elseif r == 6 then
  2240. GasterBlaster(location,0,8,40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2241. GasterBlaster(location,0,8,-40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2242. GasterBlaster(location,40,8,0,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2243. GasterBlaster(location,-40,8,0,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2244. end
  2245. end
  2246.  
  2247. function ArrangedGBs()
  2248. debouncing = true
  2249. local location = mouse.Hit.p
  2250. GasterBlaster(location,20,5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2251. GasterBlaster(location,-20,5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2252. GasterBlaster(location,-20,5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2253. GasterBlaster(location,20,5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2254. wait(1)
  2255. GasterBlaster(location,35,5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2256. GasterBlaster(location,-35,5,0,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2257. GasterBlaster(location,0,5,35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2258. GasterBlaster(location,0,5,-35,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2259. wait(1)
  2260. GasterBlaster(location,20,5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2261. GasterBlaster(location,-20,5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2262. GasterBlaster(location,-20,5,20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2263. GasterBlaster(location,20,5,-20,1.5,Color3.new(1,1,1),2,1,1,0,(math.huge),0)
  2264. wait(1)
  2265. GasterBlaster(location,35,5,0,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2266. GasterBlaster(location,-35,5,0,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2267. GasterBlaster(location,0,5,35,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2268. GasterBlaster(location,0,5,-35,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2269. GasterBlaster(location,20,5,20,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2270. GasterBlaster(location,-20,5,-20,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2271. GasterBlaster(location,-20,5,20,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2272. GasterBlaster(location,20,5,-20,1.5,Color3.new(1,1,1),1,1,1,0,(math.huge),0)
  2273. wait(1)
  2274. GasterBlaster(location,0,5,40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2275. GasterBlaster(location,0,5,-40,3,Color3.new(1,1,1),12,1,1,0,(math.huge),0)
  2276. wait(1)
  2277. debouncing = false
  2278. end
  2279.  
  2280. function Grab()
  2281. grabbing = true
  2282. local hit = mouse.Target
  2283. if hit.Parent == Character then return end
  2284. if not hit.Parent:IsA("Model") or not hit.Parent:findFirstChild("Torso") or not hit.Parent:findFirstChild("HumanoidRootPart") then return end
  2285. S = Instance.new("Sound")
  2286. S.Parent = hit.Parent.Torso
  2287. S.SoundId = "rbxassetid://548991605"
  2288. S.Volume = 10
  2289. S.Looped = false
  2290. S.Pitch = 1
  2291. S:Play()
  2292.  
  2293. local GUI = Instance.new("BillboardGui",hit.Parent.HumanoidRootPart)
  2294. GUI.Size = UDim2.new(2,0,2,0)
  2295. GUI.MaxDistance = "inf"
  2296. GUI.AlwaysOnTop = true
  2297. GUI.ExtentsOffset = Vector3.new(0,0,0)
  2298.  
  2299. local Body = Instance.new("ImageLabel",GUI)
  2300. Body.Position = UDim2.new(0,0,0,0)
  2301. Body.Image = "rbxassetid://338425795"
  2302. Body.BackgroundTransparency = 1
  2303. Body.ImageTransparency = 0
  2304. Body.Size = UDim2.new(1,0,1,0)
  2305.  
  2306. local grabfire = Instance.new("Fire",hit.Parent.HumanoidRootPart)
  2307. grabfire.Size = 2
  2308. grabfire.Heat = 0
  2309. grabfire.Color = Color3.new(0,0,255)
  2310. grabfire.SecondaryColor = Color3.new(0,250,255)
  2311.  
  2312. local bodyp=Instance.new("BodyPosition",hit.Parent.HumanoidRootPart)
  2313. bodyp.MaxForce=Vector3.new(math.huge,math.huge,math.huge)
  2314.  
  2315.         coroutine.resume(coroutine.create(function()
  2316.         repeat
  2317. Expression.Texture = "rbxassetid://4484422735"
  2318. wait()
  2319. Expression.Texture = "rbxassetid://4484448817"
  2320.         until grabbing == false
  2321.         end))
  2322. while grabbing == true do
  2323. bodyp.Position= mouse.Hit.p
  2324. swait()
  2325. end
  2326. Expression.Texture = "rbxassetid://4484405390"
  2327. grabfire:Destroy()
  2328. bodyp:Destroy()
  2329. GUI:Destroy()
  2330.   end
  2331.  
  2332. dodging = false
  2333. candodge = true
  2334. canblock = false
  2335. blocking = false
  2336. talking = false
  2337. dialogue = 1
  2338. dialogue2 = 1
  2339. speech2 = {"i gotta say, i don't really understand why you're doing this.", "especially when you could've taken a greener path.", --1,2
  2340.     "you may not even have a reason to begin with anymore.", "you are probably doing it for kicks and giggles at this point.", --3, 4
  2341.     "speaking of which...", "your face... is a little unpleasant to look at.", "you're kind of a freak, y'know?", --5,6,7
  2342.     "y'know, looking back at it now...", "it seems like ive spent most of my life in this very place.", "it's not like i had any choice either.", "seeing what came next, i couldn't afford not to care anymore.", --8,9,10
  2343.     "but it seems as if it's not even a surprise anymore...", "after all, our lives are basically at your disposal.", --11,12
  2344.     "like as if we're puppets or somethin'.", "it's like our lives don't even matter to you.", "we're, uh, more than just punching bags y'know?", --13, 14, 15
  2345.     "what if someone else had your abilities?", "would they be as twisted as you are?", "would they try to find a more peaceful way to deal with everything?", "hell if i know.", --16, 17, 18
  2346.     "look kid.", "i tried to be good even with your actions.", "but i did not see any sign of good in you.", -- 19, 20, 21
  2347.     "kids your age would probably play with their friends outside.", "however, the only thing that sticks with you is that weapon.", "...", "you may have a sharp aim, but you dont have such a sharp mind.", -- 22, 23, 24, 25
  2348.     "hey, I always wondered...", "why do we even give ya the chance to dodge our attacks anyway?", "just think about it!", "everything would've been way easier if I just cornered you somewhere.", "and kill you right where you stood.", "but its not like i didnt try killing you before, did i?", "well, it doesn't really matter.", -- 26, 27, 28, 29, 30, 31, 32 (7 lines)
  2349.     "is this the only time i have talked to you about this?", "come to think of it, if i got this information from 'g' this time..", "it could probably happen again.", "hey, i don't know for sure but...", "whats stopping it from happening once again?", -- 33, 34, 35, 36, 37
  2350.     "...", "this is why i never make promises, old lady.", "because i can never guarantee i can keep that promise in the first place.", -- 38, 39, 40
  2351.     "you made a big mistake by even coming here.", "again, there is no reward.", "reaching the end will bring you nothing too exciting.", "it would be easier for the both of us if you just give up.", -- 41, 42, 43, 44
  2352.     "you're really just wasting your time at this point.", "give up. there is nothing interesting after this.", --45, 46
  2353.     "i mean it, kid. there is nothing after this.", "don't go any further.", "unless you want to see what comes next, of course.", "it comes with a risk, i'll assure that.", --47, 48, 49, 50
  2354.     "of course. you never give up.", "after all, you didn't come this far by giving up", "it's a shame that you're so determined to do such crimes.", "...", "actually, crime is a bit of an understatement for what you have done.",--51, 52, 53, 54, 55
  2355.     "*huff* ...", "this is taking a little longer than I wanted it to.", "anyways, kid. are you prepared for what comes next?", "are you ready for one of the hardest times you ever had in a battle?", "ready or not, i don't care.", "survive this turn, and, well...", "you're gonna find out for yourself.",--56, 57, 58, 59, 60, 61, 62 (7 lines)
  2356.     "*huff* ... *puff* ...", "huh? you're not dead yet, are you?", "i shouldn't be surprised.", "oh well, are you ready for what is coming now?", "i promise it won't be pleasant, and it won't be quick either.", "not like i care anyway.", "well... here goes nothing.", "oh, and one more thing...", "YOU ASKED FOR IT."--63,64,65,66,67,68,69,70,71 (9 lines)
  2357. }
  2358. speech = {"heh heh heh... you should've known by now that i'm not gonna stand there and take it, right?", --1
  2359.     "y'know...", --2
  2360.     "up until now, i never truly knew what you were doing...", --3
  2361.     "i could only guess it by the expression that you've shown every other day.", --4, 5
  2362.     "but now... you can say i've been daydreaming a lot recently.", --6, 7
  2363.     "i kept hallucinating at my sentry post today", "and i kept getting these feelings of stress.",--8
  2364.     "it was about this... 'g'.", "he told me about, well, everything that i know now.", --9, 10
  2365.     "what you have done, your 'objectives'...", -- 11
  2366.     "it all adds up to something, y'know?", -- 12
  2367.     "and that something is,", "the fact that you have done this more than once.", --13
  2368.     "speaking of repetition...", "you certainly are a little bored, aren't you?", -- 14, 15
  2369.     "welp, are you ready to see something new?", "not that i'm braggin but, i've got some new magic tricks...", -- 16, 17
  2370.     "that can 'possibly' entertain you...", "or that can cost you a few lives.", -- 18,19
  2371.     "ready?", "welp, i don't care what your answer is, anyways.", "here", "goes", "nothing.", "...", "...", -- 20, 21, 22, 23, 24, 25, 26
  2372.     "*sigh*", "why are you doing this?", --27,28
  2373.     "what could possibly motivate you to repeatedly slaughter us?", --29
  2374.     "are we really that much of a nuisance for you?", --30
  2375.     "or perhaps someone right here is as empty inside as one of my ketchup bottles..?", --31
  2376.     "*huff* no response huh?", "welp", "it's not like you do the talking around here.", --32
  2377.     "brace yourself, cause this is gonna be a looong one.", --33
  2378.     "what do you have to gain by doing this?", "let alone re-doing this!", --34
  2379.     "i just don't see where your going with this...", --35
  2380.     "i just don't understand...", "what is the 'objective' in all this?", "...", "where is the reward in all this?", --36
  2381.     "we could've lived a happy life you know?", "one where we could've had some bad jokes...", "one where could have some hotdogs together...", "one where, maybe i... was a little happier...", "oh, who am i kidding...", --37
  2382.     "that's just wishful thinking.", --38
  2383.     "well, are you prepared for what comes next?", --39
  2384.     "because it's not gonna be pleasant.", --40
  2385.     "and don't expect it to be my 'special attack'.",--41
  2386.     "because...",--42
  2387.     "i'll make sure you don't pull that trick on me again.",--43
  2388.     "welp here goes nothing.",--44
  2389.     "*huff*... *puff*...",--45
  2390.     "...",--46
  2391.     "you're really making this difficult, y'know?", "...", "trust me, kid...", --47,48,49
  2392.     "there is no reward.", "aleast not as a result", "of killing monsters.", "they weren't your enemy.", "y'know?", --50,51,52,53,54,55
  2393.     "you could've solved your beefs...", "in a better way,", "y'know?", "...", "as i should...", "...", "look, kid.", "i know that i can't beat you.", "atleast not permanetly.", "i would end up exhausting myself and eventually, well...", "...", "'bite the dust'.", "...", --56,57,58,59,60,61,62,63,64,65,66,67,68 (aka 13 lines of dialogue)
  2394. "have i told you that, there is a better way to uh, 'finish the game'?", "as i said, they weren't your enemy.", "they were just like you when you first came here.", "trapped in this mountain, hoping that one day...", "they would finally see the sun.", "as crazy as this sounds to you...", "you can spare them. you can help them.", "you can even become their friend.", "so, hey! why not have a good start at it?", "let's just say it would be nice for a change.", "so, what do you say?"}
  2395.  
  2396. function chatfunc(text)
  2397. local chat = coroutine.wrap(function()
  2398. if Character:FindFirstChild("textboard")~= nil then
  2399. Character:FindFirstChild("textboard"):destroy()
  2400. end
  2401. if Character:FindFirstChild("glitchboard")~= nil then
  2402. Character:FindFirstChild("glitchboard"):destroy()
  2403. end
  2404. local naeeym2 = script.textboard:Clone()
  2405. naeeym2.Parent = Character
  2406. naeeym2.StudsOffset = Vector3.new(0,3,0)
  2407. naeeym2.Adornee = Character.Head
  2408. naeeym2.Enabled = true
  2409. local naeeym3 = script.glitchboard:Clone()
  2410. naeeym3.Parent = Character
  2411. naeeym3.StudsOffset = Vector3.new(0,3,0)
  2412. naeeym3.Adornee = Character.Head
  2413. naeeym3.Enabled = true
  2414. local tecks2 = naeeym2.TextLabel
  2415. tecks2.Text = ""
  2416. for i = 1,string.len(text),1 do
  2417. local heh = CreateSound("2469886818", Head, 5, 1)
  2418. tecks2.Text = string.sub(text,1,i)
  2419. if i ~= string.len(text) then
  2420.                 local ADD = string.sub(text,i,i)
  2421.                 if ADD == "." or ADD == "?" or ADD == "!" then
  2422.                     wait(0.4)
  2423.                 elseif ADD == "," then
  2424.                     wait(0.2)
  2425.                 else
  2426.                 end
  2427.             end
  2428. wait(0.01)
  2429. end
  2430.  
  2431. wait(2)
  2432. naeeym2:Destroy()
  2433. naeeym3:Destroy()
  2434. end)
  2435. chat()
  2436. end
  2437. local skipnum = 1
  2438. local nochat = false
  2439. local MSG
  2440. function onChatted(msg)
  2441. if string.sub(string.lower(msg), 1, 3) == "/e " then
  2442. msg = string.sub(msg, 4)
  2443. nochat = true
  2444. wait(1)
  2445. nochat = false
  2446. end
  2447. if string.sub(string.lower(msg), 1, 5) == "skip/" then
  2448. MSG = string.sub(msg, 6)
  2449. if MSG == "0" then
  2450.     print("You can't do that.")
  2451.     else
  2452.     skipnum = MSG
  2453.      dialogue = skipnum
  2454.     print(dialogue)
  2455. end
  2456. end
  2457. if nochat == false then
  2458. chatfunc("* "..msg)
  2459. end
  2460. end
  2461. Player.Chatted:connect(onChatted)
  2462. function WWeld(a, b, acf)
  2463.     local we = Instance.new("Weld", a)
  2464.     we.Part0 = a
  2465.     we.Part1 = b
  2466. if acf ~= nil then
  2467.     we.C0 = acf
  2468. end
  2469. return we
  2470. end
  2471.  
  2472. local Bbone = Instance.new("Part",Character)
  2473.   Bbone.CanCollide = false
  2474.   Bbone.Material = "SmoothPlastic"
  2475.   Bbone.BrickColor = BrickColor.new("White")
  2476.   Bbone.Anchored = false
  2477.   Bbone.Transparency = 1
  2478. local BoneHandle = WWeld(Bbone,Left_Arm,CFrame.new(0,-0.98,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)))
  2479.    local zxc = Instance.new("SpecialMesh",Bbone)
  2480. zxc.MeshType = "FileMesh"
  2481. zxc.Scale = Vector3.new(0.012, 0.012, 0.012)
  2482. zxc.MeshId = "http://www.roblox.com/asset/?id=921085633"
  2483.  
  2484. function blocked()
  2485.     Animations = true
  2486. coroutine.wrap(function()
  2487. for i = 1,30 do
  2488. Bbone.Transparency = Bbone.Transparency - 0.034
  2489. local fx = Instance.new("Part",Effects)
  2490. fx.Anchored = true
  2491. fx.Color = Color3.new(0,0.6,0.5)
  2492. fx.CanCollide = false
  2493. fx.FormFactor = 3
  2494. fx.Name = "Shockwave"
  2495. fx.Material = "Neon"
  2496. fx.Size = Vector3.new(1, 1, 1)
  2497. fx.Transparency = 0.35
  2498. fx.TopSurface = 0
  2499. fx.BottomSurface = 0
  2500. fx.CFrame = Bbone.CFrame
  2501. fx.CFrame = fx.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(math.random(-3600,3600)/10),math.rad(math.random(-360,-360)/10),math.rad(math.random(-3600,3600)/10))
  2502. local fxm = Instance.new("SpecialMesh", fx)
  2503. fxm.Scale = Vector3.new(0,0,0)
  2504. fxm.Offset = Vector3.new(0,0,0)
  2505. fxm.MeshType = "Sphere"
  2506. spawn(function()
  2507.     for i = 1, 15, 1 do
  2508.         fxm.Scale = Vector3.new(0.25 - i*0.00416,.5  - i*0.0083 ,0.25 - i*0.00416)
  2509.         fx.CFrame = fx.CFrame * CFrame.new(0,0.5,0)
  2510.         fx.Transparency = i/15
  2511.         swait()
  2512.     end
  2513.     wait()
  2514.     fx:Destroy()
  2515. end)
  2516. end
  2517. end)()
  2518.     for i = 0,0.08,0.01 do
  2519. RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.5, 0.5 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  2520. LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.5, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(90),math.rad(-90),math.rad(0)), 0.15)
  2521. LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-10)), 0.15)
  2522. RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0),math.rad(0),math.rad(10)), 0.15)
  2523. Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  2524. Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 - math.sin(sine/15)/15, 0) * c_angles(math.rad(-10),math.rad(0), math.rad(0)), 0.15)
  2525. swait()
  2526.     end
  2527.     wait(0.5)
  2528.     Bbone.Transparency = 1
  2529.         Animations = false
  2530. end
  2531. function miss()
  2532.     Animations = true
  2533.     local number = math.random(1,3)
  2534.     if number == 1 then
  2535.         for i = 0,0.08,0.01 do
  2536.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(-120)), Sanim + 0.025)
  2537.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(0),math.rad(0),math.rad(120)), Sanim + 0.025)
  2538.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  2539.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  2540.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(-5 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, -5) * c_angles(math.rad(17) + math.sin(sine/15)/10, math.rad(20),math.rad(0)), Sanim)
  2541.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(-20), math.rad(0) + math.sin(sine/15)/4), Sanim)
  2542.          end
  2543.          elseif number == 2 then
  2544.          for i = 0,0.08,0.01 do
  2545.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), Sanim + 0.025)
  2546.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), Sanim + 0.025)
  2547.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  2548.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  2549.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(-5 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, -5) * c_angles(math.rad(17) + math.sin(sine/15)/10, math.rad(20),math.rad(0)), Sanim)
  2550.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(-20), math.rad(0) + math.sin(sine/15)/4), Sanim)
  2551.          end
  2552.          elseif number == 3 then
  2553.          for i = 0,0.08,0.01 do
  2554.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), Sanim + 0.025)
  2555.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), Sanim + 0.025)
  2556.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  2557.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  2558.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(5 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, 5) * c_angles(math.rad(17) + math.sin(sine/15)/10, math.rad(-20),math.rad(0)), Sanim)
  2559.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(20), math.rad(0) + math.sin(sine/15)/4), Sanim)
  2560.          end
  2561.     end
  2562.     Animations = false
  2563. end
  2564. specialattack = false
  2565.  
  2566. function block()
  2567.     if blocking == true then
  2568.         talking = false
  2569.     else
  2570.         talking = true
  2571.     end
  2572.     blocking = true
  2573.         coroutine.resume(coroutine.create(function()
  2574.     if talking == true then
  2575.         if dialogue2 ~= 1 and dialogue2 ~= 3 and dialogue2 ~= 5 and dialogue2 ~= 8 and dialogue2 ~= 11 and dialogue2 ~= 13 and dialogue2 ~= 16 and dialogue2 ~= 19 and dialogue2 ~= 19 and dialogue2 ~= 22 and dialogue2 ~= 26 and dialogue2 ~= 33 and dialogue2 ~= 38 and dialogue2 ~= 41 and dialogue2 ~= 45 and dialogue2 ~= 47 and dialogue2 ~= 50 and dialogue2 ~= 55 and dialogue2 ~= 63 then
  2576.         chatfunc(speech2[dialogue2])
  2577.         dialogue2 = dialogue2 + 1
  2578.         wait(5)
  2579.         blocking = false
  2580.         elseif dialogue2 == 1 then
  2581.         chatfunc(speech2[dialogue2])
  2582.         dialogue2 = dialogue2 + 1
  2583.         wait(3)
  2584.         chatfunc(speech2[dialogue2])
  2585.         dialogue2 = dialogue2 + 1
  2586.         wait(5)
  2587.         blocking = false
  2588.         elseif dialogue2 == 3 then
  2589.         chatfunc(speech2[dialogue2])
  2590.         dialogue2 = dialogue2 + 1
  2591.         wait(3)
  2592.         chatfunc(speech2[dialogue2])
  2593.         dialogue2 = dialogue2 + 1
  2594.         wait(5)
  2595.         blocking = false
  2596.         elseif dialogue2 == 5 then
  2597.         chatfunc(speech2[dialogue2])
  2598.         dialogue2 = dialogue2 + 1
  2599.         wait(3)
  2600.         chatfunc(speech2[dialogue2])
  2601.         dialogue2 = dialogue2 + 1
  2602.         wait(3)
  2603.         chatfunc(speech2[dialogue2])
  2604.         dialogue2 = dialogue2 + 1
  2605.         wait(5)
  2606.         blocking = false
  2607.         elseif dialogue2 == 8 then
  2608.         chatfunc(speech2[dialogue2])
  2609.         dialogue2 = dialogue2 + 1
  2610.         wait(3)
  2611.         chatfunc(speech2[dialogue2])
  2612.         dialogue2 = dialogue2 + 1
  2613.         wait(3)
  2614.         chatfunc(speech2[dialogue2])
  2615.         dialogue2 = dialogue2 + 1
  2616.         wait(5)
  2617.         blocking = false
  2618.         elseif dialogue2 == 11 then
  2619.         chatfunc(speech2[dialogue2])
  2620.         dialogue2 = dialogue2 + 1
  2621.         wait(3)
  2622.         chatfunc(speech2[dialogue2])
  2623.         dialogue2 = dialogue2 + 1
  2624.         wait(5)
  2625.         blocking = false
  2626.         elseif dialogue2 == 13 then
  2627.         chatfunc(speech2[dialogue2])
  2628.         dialogue2 = dialogue2 + 1
  2629.         wait(3)
  2630.         chatfunc(speech2[dialogue2])
  2631.         dialogue2 = dialogue2 + 1
  2632.         wait(3)
  2633.         chatfunc(speech2[dialogue2])
  2634.         dialogue2 = dialogue2 + 1
  2635.         wait(5)
  2636.         blocking = false
  2637.         elseif dialogue2 == 16 then
  2638.         chatfunc(speech2[dialogue2])
  2639.         dialogue2 = dialogue2 + 1
  2640.         wait(3)
  2641.         chatfunc(speech2[dialogue2])
  2642.         dialogue2 = dialogue2 + 1
  2643.         wait(3)
  2644.         chatfunc(speech2[dialogue2])
  2645.         dialogue2 = dialogue2 + 1
  2646.         wait(5)
  2647.         blocking = false
  2648.         elseif dialogue2 == 19 then
  2649.         chatfunc(speech2[dialogue2])
  2650.         dialogue2 = dialogue2 + 1
  2651.         wait(3)
  2652.         chatfunc(speech2[dialogue2])
  2653.         dialogue2 = dialogue2 + 1
  2654.         wait(3)
  2655.         chatfunc(speech2[dialogue2])
  2656.         dialogue2 = dialogue2 + 1
  2657.         wait(5)
  2658.         blocking = false
  2659.         elseif dialogue2 == 22 then
  2660.         chatfunc(speech2[dialogue2])
  2661.         dialogue2 = dialogue2 + 1
  2662.         wait(3)
  2663.         chatfunc(speech2[dialogue2])
  2664.         dialogue2 = dialogue2 + 1
  2665.         wait(3)
  2666.         chatfunc(speech2[dialogue2])
  2667.         dialogue2 = dialogue2 + 1
  2668.         wait(3)
  2669.         chatfunc(speech2[dialogue2])
  2670.         dialogue2 = dialogue2 + 1
  2671.         wait(5)
  2672.         blocking = false
  2673.         elseif dialogue2 == 26 then
  2674.         chatfunc(speech2[dialogue2])
  2675.         dialogue2 = dialogue2 + 1
  2676.         wait(3)
  2677.         chatfunc(speech2[dialogue2])
  2678.         dialogue2 = dialogue2 + 1
  2679.         wait(3)
  2680.         chatfunc(speech2[dialogue2])
  2681.         dialogue2 = dialogue2 + 1
  2682.         wait(3)
  2683.         chatfunc(speech2[dialogue2])
  2684.         dialogue2 = dialogue2 + 1
  2685.         wait(3)
  2686.         chatfunc(speech2[dialogue2])
  2687.         dialogue2 = dialogue2 + 1
  2688.         wait(3)
  2689.         chatfunc(speech2[dialogue2])
  2690.         dialogue2 = dialogue2 + 1
  2691.         wait(3)
  2692.         chatfunc(speech2[dialogue2])
  2693.         dialogue2 = dialogue2 + 1
  2694.         wait(5)
  2695.         blocking = false
  2696.         elseif dialogue2 == 33 then
  2697.         chatfunc(speech2[dialogue2])
  2698.         dialogue2 = dialogue2 + 1
  2699.         wait(3)
  2700.         chatfunc(speech2[dialogue2])
  2701.         dialogue2 = dialogue2 + 1
  2702.         wait(3)
  2703.         chatfunc(speech2[dialogue2])
  2704.         dialogue2 = dialogue2 + 1
  2705.         wait(3)
  2706.         chatfunc(speech2[dialogue2])
  2707.         dialogue2 = dialogue2 + 1
  2708.         wait(3)
  2709.         chatfunc(speech2[dialogue2])
  2710.         dialogue2 = dialogue2 + 1
  2711.         wait(5)
  2712.         blocking = false
  2713.         elseif dialogue2 == 38 then
  2714.         chatfunc(speech2[dialogue2])
  2715.         dialogue2 = dialogue2 + 1
  2716.         wait(3)
  2717.         chatfunc(speech2[dialogue2])
  2718.         dialogue2 = dialogue2 + 1
  2719.         wait(3)
  2720.         chatfunc(speech2[dialogue2])
  2721.         dialogue2 = dialogue2 + 1
  2722.         wait(5)
  2723.         blocking = false
  2724.         elseif dialogue2 == 41 then
  2725.         chatfunc(speech2[dialogue2])
  2726.         dialogue2 = dialogue2 + 1
  2727.         wait(3)
  2728.         chatfunc(speech2[dialogue2])
  2729.         dialogue2 = dialogue2 + 1
  2730.         wait(3)
  2731.         chatfunc(speech2[dialogue2])
  2732.         dialogue2 = dialogue2 + 1
  2733.         wait(3)
  2734.         chatfunc(speech2[dialogue2])
  2735.         dialogue2 = dialogue2 + 1
  2736.         wait(5)
  2737.         blocking = false
  2738.         elseif dialogue2 == 45 then
  2739.         chatfunc(speech2[dialogue2])
  2740.         dialogue2 = dialogue2 + 1
  2741.         wait(3)
  2742.         chatfunc(speech2[dialogue2])
  2743.         dialogue2 = dialogue2 + 1
  2744.         wait(5)
  2745.         blocking = false
  2746.         elseif dialogue2 == 47 then
  2747.         chatfunc(speech2[dialogue2])
  2748.         dialogue2 = dialogue2 + 1
  2749.         wait(3)
  2750.         chatfunc(speech2[dialogue2])
  2751.         dialogue2 = dialogue2 + 1
  2752.         wait(3)
  2753.         chatfunc(speech2[dialogue2])
  2754.         dialogue2 = dialogue2 + 1
  2755.         wait(3)
  2756.         chatfunc(speech2[dialogue2])
  2757.         dialogue2 = dialogue2 + 1
  2758.         wait(5)
  2759.         blocking = false
  2760.         elseif dialogue2 == 50 then
  2761.         chatfunc(speech2[dialogue2])
  2762.         dialogue2 = dialogue2 + 1
  2763.         wait(3)
  2764.         chatfunc(speech2[dialogue2])
  2765.         dialogue2 = dialogue2 + 1
  2766.         wait(3)
  2767.         chatfunc(speech2[dialogue2])
  2768.         dialogue2 = dialogue2 + 1
  2769.         wait(3)
  2770.         chatfunc(speech2[dialogue2])
  2771.         dialogue2 = dialogue2 + 1
  2772.         wait(3)
  2773.         chatfunc(speech2[dialogue2])
  2774.         dialogue2 = dialogue2 + 1
  2775.         wait(5)
  2776.         blocking = false
  2777.         elseif dialogue2 == 55 then
  2778.         chatfunc(speech2[dialogue2])
  2779.         dialogue2 = dialogue2 + 1
  2780.         wait(3)
  2781.         chatfunc(speech2[dialogue2])
  2782.         dialogue2 = dialogue2 + 1
  2783.         wait(3)
  2784.         chatfunc(speech2[dialogue2])
  2785.         dialogue2 = dialogue2 + 1
  2786.         wait(3)
  2787.         chatfunc(speech2[dialogue2])
  2788.         dialogue2 = dialogue2 + 1
  2789.         wait(3)
  2790.         chatfunc(speech2[dialogue2])
  2791.         dialogue2 = dialogue2 + 1
  2792.         wait(3)
  2793.         chatfunc(speech2[dialogue2])
  2794.         dialogue2 = dialogue2 + 1
  2795.         wait(3)
  2796.         chatfunc(speech2[dialogue2])
  2797.         dialogue2 = dialogue2 + 1
  2798.         wait(5)
  2799.         blocking = false
  2800.         elseif dialogue2 == 63 then
  2801.         chatfunc(speech2[dialogue2])
  2802.         dialogue2 = dialogue2 + 1
  2803.         wait(3)
  2804.         chatfunc(speech2[dialogue2])
  2805.         dialogue2 = dialogue2 + 1
  2806.         wait(3)
  2807.         chatfunc(speech2[dialogue2])
  2808.         dialogue2 = dialogue2 + 1
  2809.         wait(3)
  2810.         chatfunc(speech2[dialogue2])
  2811.         dialogue2 = dialogue2 + 1
  2812.         wait(3)
  2813.         chatfunc(speech2[dialogue2])
  2814.         dialogue2 = dialogue2 + 1
  2815.         wait(3)
  2816.         chatfunc(speech2[dialogue2])
  2817.         dialogue2 = dialogue2 + 1
  2818.         wait(3)
  2819.         chatfunc(speech2[dialogue2])
  2820.         dialogue2 = dialogue2 + 1
  2821.         wait(3)
  2822.         chatfunc(speech2[dialogue2])
  2823.         dialogue2 = dialogue2 + 1
  2824.         wait(3)
  2825.         chatfunc(speech2[dialogue2])
  2826.         dialogue2 = dialogue2 + 1
  2827.         wait(5)
  2828.         canblock = false
  2829.         end
  2830.         end
  2831.         end))
  2832.         blocked()
  2833. end
  2834. function dodge()
  2835.     if dodging == true then
  2836.         talking = false
  2837.     else
  2838.         talking = true
  2839.     end
  2840.     dodging = true
  2841.         coroutine.resume(coroutine.create(function()
  2842.     if talking == true then
  2843.         if dialogue ~= 20 and dialogue ~= 27 and dialogue ~= 43 and dialogue ~= 44 and dialogue ~= 47 and dialogue ~= 50 then
  2844.         chatfunc(speech[dialogue])
  2845.         dialogue = dialogue + 1
  2846.         wait(5)
  2847.         dodging = false
  2848.         elseif dialogue == 20 then
  2849.             themeMoos:Pause()
  2850.             themeMoos2:Play()
  2851.         chatfunc(speech[dialogue])
  2852.         dialogue = dialogue + 1
  2853.         wait(4)
  2854.         chatfunc(speech[dialogue])
  2855.         dialogue = dialogue + 1
  2856.         wait(6)
  2857.         chatfunc(speech[dialogue])
  2858.         dialogue = dialogue + 1
  2859.         wait(3)
  2860.         chatfunc(speech[dialogue])
  2861.         dialogue = dialogue + 1
  2862.         wait(3)
  2863.         chatfunc(speech[dialogue])
  2864.         dialogue = dialogue + 1
  2865.         wait(3)
  2866.         chatfunc(speech[dialogue])
  2867.         dialogue = dialogue + 1
  2868.         wait(3)
  2869.         chatfunc(speech[dialogue])
  2870.         dialogue = dialogue + 1
  2871.         wait(3)
  2872.     bosschatfunc("* Sans isn't sparing you this time.",BrickColor.new("Institutional white").Color,120)
  2873.     wait(5)
  2874.         dodging = false
  2875.         elseif dialogue == 27 then
  2876.             themeMoos2:Stop()
  2877.             themeMoos:Resume()
  2878.         chatfunc(speech[dialogue])
  2879.         dialogue = dialogue + 1
  2880.         wait(4)
  2881.         chatfunc(speech[dialogue])
  2882.         dialogue = dialogue + 1
  2883.         wait(8)
  2884.         dodging = false
  2885.         elseif dialogue == 43 then
  2886.         script.textboard.TextLabel.TextColor3 = Color3.new(255,0,0)
  2887.         chatfunc(speech[dialogue])
  2888.         dialogue = dialogue + 1
  2889.         script.textboard.TextLabel.TextColor3 = Color3.new(255,255,255)
  2890.         wait(5)
  2891.         dodging = false
  2892.         elseif dialogue == 44 then
  2893.         script.textboard.TextLabel.TextColor3 = Color3.new(255,0,0)
  2894.         chatfunc(speech[dialogue])
  2895.         dialogue = dialogue + 1
  2896.         wait(6)
  2897.         chatfunc(speech[dialogue])
  2898.         dialogue = dialogue + 1
  2899.         wait(6)
  2900.         script.textboard.TextLabel.TextColor3 = Color3.new(255,255,255)
  2901.         chatfunc(speech[dialogue])
  2902.         dialogue = dialogue + 1
  2903.         wait(5)
  2904.         dodging = false
  2905.         elseif dialogue == 47 then
  2906.         chatfunc(speech[dialogue])
  2907.         dialogue = dialogue + 1
  2908.         wait(4)
  2909.         chatfunc(speech[dialogue])
  2910.         dialogue = dialogue + 1
  2911.         wait(3)
  2912.         script.textboard.TextLabel.TextColor3 = Color3.new(255,0,0)
  2913.         chatfunc(speech[dialogue])
  2914.         dialogue = dialogue + 1
  2915.         script.textboard.TextLabel.TextColor3 = Color3.new(255,255,255)
  2916.         wait(5)
  2917.         dodging = false
  2918.         elseif dialogue == 50 then
  2919.         chatfunc(speech[dialogue])
  2920.         dialogue = dialogue + 1
  2921.         wait(3)
  2922.         chatfunc(speech[dialogue])
  2923.         dialogue = dialogue + 1
  2924.         wait(3)
  2925.         script.textboard.TextLabel.TextColor3 = Color3.new(255,0,0)
  2926.         chatfunc(speech[dialogue])
  2927.         dialogue = dialogue + 1
  2928.         script.textboard.TextLabel.TextColor3 = Color3.new(255,255,255)
  2929.         wait(3)
  2930.         chatfunc(speech[dialogue])
  2931.         dialogue = dialogue + 1
  2932.         wait(3)
  2933.         chatfunc(speech[dialogue])
  2934.         dialogue = dialogue + 1
  2935.         specialattack = true
  2936.         wait(5)
  2937.         candodge = false
  2938.         chatfunc(speech[dialogue])
  2939.         dialogue = dialogue + 1
  2940.         wait(3)
  2941.         chatfunc(speech[dialogue])
  2942.         dialogue = dialogue + 1
  2943.         wait(3)
  2944.         chatfunc(speech[dialogue])
  2945.         dialogue = dialogue + 1
  2946.         wait(3)
  2947.         chatfunc(speech[dialogue])
  2948.         dialogue = dialogue + 1
  2949.         wait(3)
  2950.         chatfunc(speech[dialogue])
  2951.         dialogue = dialogue + 1
  2952.         wait(3)
  2953.         chatfunc(speech[dialogue])
  2954.         dialogue = dialogue + 1
  2955.         wait(3)
  2956.         chatfunc(speech[dialogue])
  2957.         dialogue = dialogue + 1
  2958.         wait(3)
  2959.         chatfunc(speech[dialogue])
  2960.         dialogue = dialogue + 1
  2961.         wait(3)
  2962.         chatfunc(speech[dialogue])
  2963.         dialogue = dialogue + 1
  2964.         wait(3)
  2965.         chatfunc(speech[dialogue])
  2966.         dialogue = dialogue + 1
  2967.         wait(3)
  2968.         chatfunc(speech[dialogue])
  2969.         dialogue = dialogue + 1
  2970.         wait(3)
  2971.         chatfunc(speech[dialogue])
  2972.         dialogue = dialogue + 1
  2973.         wait(3)
  2974.         chatfunc(speech[dialogue])
  2975.         dialogue = dialogue + 1
  2976.         wait(3)
  2977.         end
  2978.     end
  2979.     end))
  2980.     miss()
  2981. end
  2982. mouse.Button1Down:connect(function()
  2983. Grab()
  2984. end)
  2985.  
  2986. mouse.Button1Up:connect(function()
  2987. grabbing = false
  2988. end)
  2989.  
  2990. mouse.KeyUp:connect(function(key)
  2991. if key == "f" then
  2992. rapid2 = false
  2993. end
  2994.  
  2995. if key == "r" then
  2996. rapid = false
  2997. end
  2998.  
  2999. if key == "q" and debounce == true then
  3000. rapid3 = false
  3001. end
  3002. end)
  3003.  
  3004. mouse.KeyDown:connect(function(key)
  3005. if key == "f" then
  3006. BoneObstacle()
  3007. end
  3008.  
  3009. if key == "e" then
  3010. teleport()
  3011. end
  3012.  
  3013. if key == "l" and Death == false then
  3014. Dead()
  3015. end
  3016.  
  3017. if key == "p" and Death2 == false then
  3018. Dead2()
  3019. end
  3020.  
  3021. if key == "z" then
  3022. Start()
  3023. end
  3024.  
  3025. if key == "r" then
  3026. BoneProjectile()
  3027. end
  3028.  
  3029. if key == "c" then
  3030. BoneRise()
  3031. end
  3032.  
  3033. if key == "x" then
  3034. idle = 2500
  3035. end
  3036.  
  3037. if key == "q" and debounce == true then
  3038. GBShoot()
  3039. end
  3040.  
  3041. if key == "g" and debounce == true then
  3042. RandomGBs()
  3043. end
  3044.  
  3045. if key == "v" and debounce == true and debouncing == false then
  3046. ArrangedGBs()
  3047. end
  3048. end)
  3049.  
  3050.  
  3051.  
  3052. coroutine.wrap(function()
  3053. while true do
  3054. if currentAnim == "Idling" and attack == false and attack2 == false then
  3055. idle=idle+1
  3056. swait()
  3057. else
  3058. idle=idly
  3059. swait()
  3060. end
  3061. end
  3062. end)()
  3063. local candie = false
  3064. local Zzz = Instance.new("ParticleEmitter",Head)
  3065. Zzz.EmissionDirection = "Left"
  3066. Zzz.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  3067. Zzz.LightEmission = 1
  3068. Zzz.Rate = 1
  3069. Zzz.ZOffset = 1
  3070. Zzz.Lifetime = NumberRange.new(2)
  3071. Zzz.Speed = NumberRange.new(2)
  3072. Zzz.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6, 0.3), NumberSequenceKeypoint.new(1, 0.2, 0.1)})
  3073. Zzz.Rotation = NumberRange.new(0, 0)
  3074. Zzz.RotSpeed = NumberRange.new(30, 30)
  3075. Zzz.Texture = "http://www.roblox.com/asset/?id=386098098"
  3076. Zzz.Color = ColorSequence.new(Color3.new(1,1,1),Color3.new(1,1,1))
  3077. Zzz.VelocitySpread = 360
  3078. Zzz.LockedToPart = false
  3079. Zzz.Acceleration = Vector3.new(0,5,0)
  3080. Zzz.Enabled = false
  3081. local Shields = Instance.new("Folder", Character)
  3082. Shields.Name = "workspace"
  3083. teleporting = false
  3084. restriction = false
  3085. coroutine.wrap(function()
  3086. while true and wait() do
  3087. if  dedebounce == false and attack == false then
  3088. if idle >= 2500  then
  3089. Sanim = 0.005
  3090. Expression.Texture = "rbxassetid://4484446057"
  3091. themeMoos.Volume = 0
  3092. if specialattack == true and candodge == false then
  3093.     specialattack = false
  3094.     Shields:FindFirstChild("Shield"):Destroy()
  3095. end
  3096. Zzz.Enabled = true
  3097. elseif idle >= 1500 and idle < 2500 and Death == false and Death2 == false then
  3098. Sanim = 0.01
  3099. themeMoos.Volume = 3
  3100. themeMoos.PlaybackSpeed = 0.5
  3101. Expression.Texture = "rbxassetid://4484447540"
  3102. elseif idle == idly and Death == false and Death2 == false then
  3103. Zzz.Enabled = false
  3104. if specialattack == false and candodge == false then
  3105.     specialattack = true
  3106. end
  3107. Expression.Texture = "rbxassetid://4484405390"
  3108. themeMoos.Volume = 5
  3109. Sanim = 0.025
  3110. themeMoos.PlaybackSpeed = 1
  3111. elseif idle >= 1500 and idle < 2500 and Death == true and Death2 == false then
  3112. Sanim = 0.01
  3113. themeMoos.Volume = 3
  3114. themeMoos.PlaybackSpeed = 0.5
  3115. Expression.Texture = "rbxassetid://1371827222"
  3116. elseif idle == idly and Death == true and Death2 == false then
  3117. Zzz.Enabled = false
  3118. Expression.Texture = "rbxassetid://4899271236"
  3119. themeMoos.Volume = 5
  3120. Sanim = 0.025
  3121. themeMoos.PlaybackSpeed = 1
  3122. elseif idle >= 1500 and idle < 2500 and Death2 == true then
  3123. Sanim = 0.01
  3124. themeMoos.Volume = 3
  3125. themeMoos.PlaybackSpeed = 0.5
  3126. Expression.Texture = "rbxassetid://1371827222"
  3127. elseif idle == idly and Death2 == true then
  3128. Zzz.Enabled = false
  3129. Expression.Texture = "rbxassetid://4239634623"
  3130. themeMoos.Volume = 5
  3131. Sanim = 0.025
  3132. themeMoos.PlaybackSpeed = 1
  3133. end
  3134. end
  3135. end
  3136. end)()
  3137. local respawning = false
  3138. local Deaths = 1
  3139. function refit()
  3140.     rootJoint.Parent = rootPart
  3141.     Neck.Parent = Torso
  3142.     Right_Shoulder.Parent = Torso
  3143.     Left_Shoulder.Parent = Torso
  3144.     Right_Hip.Parent = Torso
  3145.     Left_Hip.Parent = Torso
  3146.     rootPart.Parent = Character
  3147.     Left_Arm.Parent = Character
  3148.     Right_Arm.Parent = Character
  3149.     LA_Weld.Parent = Left_Arm
  3150.     RA_Weld.Parent = Right_Arm
  3151.     Torso_Weld.Parent = Torso
  3152.     Head_Weld.Parent = Head
  3153.     LL_Weld.Parent = Left_Leg
  3154.     RL_Weld.Parent = Right_Leg
  3155.     Right_Leg.Parent = Character
  3156.     Left_Leg.Parent = Character
  3157.     Torso.Parent = Character
  3158.     Head.Parent = Character
  3159. end
  3160.  
  3161. Humanoid.Died:Connect(function()
  3162.     if candie == false then
  3163.         if respawning == false then
  3164.         respawning = true
  3165.     Humanoid.Parent = nil
  3166.     refit()
  3167.     Humanoid.Parent = Character
  3168.     CreateSound("2783295579", Head, 7, 1)
  3169.     chatfunc("* Did you think I would go down that easily?")
  3170.     Deaths = Deaths + 1
  3171.     respawning = false
  3172.     end
  3173.     end
  3174. end)
  3175. local HARDMODE = false
  3176. function special()
  3177.     specialattack = true
  3178. while specialattack do
  3179. local Special = Instance.new ("MeshPart", Shields) Special.Name = "Special" Special.CanCollide = false Special.Transparency = 1 Special.Material = "Neon" Special.BrickColor = BrickColor.new("Really red") Special.Size = Vector3.new(12,12,12) Special.Massless = true Special.CFrame = Character.Torso.CFrame
  3180. local Wed = Instance.new("Weld", Special) Wed.Part0 = Special Wed.Part1 = Character.Torso
  3181. Special.Touched:connect(function(hit)
  3182.     if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  3183.         if hit.Parent.HumanoidRootPart ~= false then
  3184.             Special:Remove()
  3185.                 restriction = true
  3186.         teleporting = true
  3187.     hit.Parent.HumanoidRootPart.CFrame=rootPart.CFrame*CFrame.new(0,0,-25)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  3188.         CreateSound("446961725", Head, 7, 1)
  3189.     Humanoid.Health = Humanoid.MaxHealth
  3190.     idle=idly
  3191.     Expression.Texture = "rbxassetid://4484422735"
  3192. swait(15)
  3193. Expression.Texture = "rbxassetid://4484448817"
  3194. swait(25)
  3195. Expression.Texture = "rbxassetid://4484405390"
  3196.         end
  3197.     end
  3198. end)
  3199.             coroutine.resume(coroutine.create(function()
  3200.                 wait(1)
  3201.                 Special:remove()
  3202.             end))
  3203.       game:GetService("RunService").RenderStepped:wait()
  3204. end
  3205. end
  3206.  
  3207.  
  3208. game:GetService("RunService").Stepped:connect(function()
  3209.     Angle = (Angle % 100) + angleSpeed/10
  3210.     Axis = (Axis % 100) + axisSpeed/10
  3211.     local walkingMagnitude = Vector3.new(rootPart.Velocity.X, 0, rootPart.Velocity.Z).magnitude
  3212.     local jumpVel = Torso.Velocity.Y
  3213.     sine = change + sine
  3214.  
  3215.         for i,v in pairs(Character:GetChildren()) do
  3216.     if v:IsA('Accoutrement') then
  3217.         v:Destroy()
  3218.     end
  3219. end
  3220. if Deaths <= 100 then
  3221.     HARDMODE = true
  3222. end
  3223. if candodge == true and Humanoid.Health < Humanoid.MaxHealth then
  3224.     Humanoid.Health = Humanoid.MaxHealth
  3225.     dodge()
  3226.     idle=idly
  3227. end
  3228. if candodge == false and specialattack == true and Humanoid.Health < Humanoid.MaxHealth then
  3229.     Humanoid.Health = Humanoid.MaxHealth
  3230. end
  3231. if canblock == true and Humanoid.Health < Humanoid.MaxHealth then
  3232.     Humanoid.Health = Humanoid.MaxHealth
  3233.     block()
  3234.     idle=idly
  3235. end
  3236.  
  3237.  
  3238. if specialattack == true then
  3239. if Shields:FindFirstChild("Shield") == nil then
  3240. local Shield = Instance.new ("MeshPart", Shields) Shield.Name = "Shield" Shield.CanCollide = false Shield.Transparency = 1 Shield.Material = "Neon" Shield.BrickColor = BrickColor.new("Really red") Shield.Size = Vector3.new(12,12,12) Shield.Massless = true Shield.CFrame = Character.Torso.CFrame
  3241. local Wed = Instance.new("Weld", Shield) Wed.Part0 = Shield Wed.Part1 = Character.Torso
  3242. Shield.Touched:connect(function(hit)
  3243.     if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  3244.         if hit.Parent.HumanoidRootPart ~= false then
  3245.             Shield:Destroy()
  3246.                 restriction = true
  3247.         teleporting = true
  3248.     hit.Parent.HumanoidRootPart.CFrame=rootPart.CFrame*CFrame.new(0,0,-25)*CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  3249.         CreateSound("446961725", Head, 7, 1)
  3250.     Humanoid.Health = Humanoid.MaxHealth
  3251.     idle=idly
  3252.     Expression.Texture = "rbxassetid://4484422735"
  3253. swait(15)
  3254. Expression.Texture = "rbxassetid://4484448817"
  3255. swait(25)
  3256. Expression.Texture = "rbxassetid://4484405390"
  3257.         end
  3258.     end
  3259.   end)
  3260. end
  3261. if Shields:FindFirstChild("Shield2") == nil then
  3262. local Shield2 = Instance.new ("MeshPart", Shields) Shield2.Name = "Shield2" Shield2.CanCollide = false Shield2.Transparency = 1 Shield2.Material = "Neon" Shield2.BrickColor = BrickColor.new("Really red") Shield2.Size = Vector3.new(7,7,7) Shield2.Massless = true Shield2.CFrame = Character.Torso.CFrame
  3263. local Wed = Instance.new("Weld", Shield2) Wed.Part0 = Shield2 Wed.Part1 = Character.Torso
  3264. end
  3265. end
  3266.  
  3267.  
  3268. if Humanoid.Health < 100 and Death == false and Happened == false and candodge == false and specialattack == false then
  3269.     Happened = true
  3270.     Zzz.Enabled = false
  3271.     Dead()
  3272. end
  3273. if Humanoid.Health <= 150 and Death == true and Happened2 == false and canblock == false then
  3274.     Happened2 = true
  3275.     Dead2()
  3276. end
  3277. if Death == true then
  3278.             for _, c in pairs(Character:GetChildren()) do
  3279.         if c.ClassName == "Part" then
  3280.             if c.Transparency == 0 and c:FindFirstChild("Dust") == nil then
  3281.                 particles(c)
  3282.             end
  3283.         end
  3284.         end
  3285. end
  3286. Left_Arm.BrickColor = BrickColor.new("Institutional white")
  3287. Right_Arm.BrickColor = BrickColor.new("Institutional white")
  3288. Left_Leg.BrickColor = BrickColor.new("Institutional white")
  3289. Right_Leg.BrickColor = BrickColor.new("Institutional white")
  3290. Torso.BrickColor = BrickColor.new("Institutional white")
  3291. Head.BrickColor = BrickColor.new("Institutional white")
  3292. Character['Body Colors'].HeadColor3=Color3.new(255,255,255)
  3293. Character['Body Colors'].TorsoColor3=Color3.new(255,255,255)
  3294. Character['Body Colors'].RightArmColor3=Color3.new(255,255,255)
  3295. Character['Body Colors'].LeftArmColor3=Color3.new(255,255,255)
  3296. Character['Body Colors'].RightLegColor3=Color3.new(255,255,255)
  3297. Character['Body Colors'].LeftLegColor3=Color3.new(255,255,255)
  3298.     if jumpVel > 1 then
  3299.         currentAnim = "Jumping"
  3300.     elseif Humanoid.Sit == true then
  3301.         currentAnim = "Seated"
  3302.     elseif jumpVel < -1 then
  3303.         currentAnim = "Falling"
  3304.     elseif walkingMagnitude < 2 then
  3305.         currentAnim = "Idling"
  3306.     elseif isSprinting == true then
  3307.         currentAnim = "Sprinting"
  3308.     elseif walkingMagnitude > 2 then
  3309.         currentAnim = "Walking"
  3310.     elseif isAttacking == true then
  3311.         currentAnim = "Attacking"
  3312.     end
  3313.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3314. local TiltVelocity = CFrame.new(rootPart.CFrame:vectorToObjectSpace(rootPart.Velocity/1.6))
  3315.     if currentAnim == "Jumping" and Animations == false then
  3316.         angleSpeed = 2
  3317.         axisSpeed = 2
  3318.         change = 0.5
  3319.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), 0.025)
  3320.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), 0.025)
  3321.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(-15),math.rad(0),math.rad(0)), 0.15)
  3322.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -0.5, -0.5) * c_angles(math.rad(0),math.rad(0),math.rad(0)), 0.15)
  3323.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0), math.rad(0),math.rad(0)), 0.15)
  3324.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(20),math.rad(0), math.rad(0)), 0.15)
  3325.     elseif currentAnim == "Falling" and Animations == false then
  3326.         angleSpeed = 2
  3327.         axisSpeed = 2
  3328.         change = 0.5
  3329.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.5, 0.5, 0) * c_angles(math.rad(160),math.rad(0),math.rad(15)), 0.15)
  3330.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.5, 0.5, 0) * c_angles(math.rad(160),math.rad(0),math.rad(-15)), 0.15)
  3331.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -0.8, 0.2) * c_angles(math.rad(-20),math.rad(0),math.rad(0)), 0.15)
  3332.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -0.8, -0.5) * c_angles(math.rad(15),math.rad(0),math.rad(0)), 0.15)
  3333.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1, 0.5) * c_angles(math.rad(-15), math.rad(0),math.rad(0)), 0.15)
  3334.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5, -0.3) * c_angles(math.rad(-20),math.rad(0), math.rad(0)), 0.15)
  3335.     elseif currentAnim == "Seated" and Animations == false then
  3336.         angleSpeed = 2
  3337.         axisSpeed = 2
  3338.         change = 0.5
  3339.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), Sanim + 0.025)
  3340.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), Sanim + 0.025)
  3341.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0) + math.sin(sine/7.5)/30,math.rad(-20)), 0.15)
  3342.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -1, 0) * c_angles(math.rad(50) - math.sin(sine/7.5)/30,math.rad(0) - math.sin(sine/7.5)/30,math.rad(20)), 0.15)
  3343.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/30, math.rad(0),math.rad(0)), 0.15)
  3344.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/15,math.rad(0), math.rad(0) + math.sin(sine/7.5)/30), 0.15)
  3345.     elseif currentAnim == "Idling" and Animations == false and Death == false then
  3346.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), Sanim + 0.025)
  3347.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), Sanim + 0.025)
  3348.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  3349.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(0) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  3350.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(0) + math.sin(sine/15)/10, math.rad(0),math.rad(0)), Sanim)
  3351.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(0), math.rad(0) + math.sin(sine/15)/4), Sanim)
  3352.     elseif currentAnim == "Idling" and Animations == false and Death == true then
  3353.         RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(0)), Sanim + 0.025)
  3354.         LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(0)), Sanim + 0.025)
  3355.         LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5, 0) * c_angles(math.rad(20) - math.sin(sine/15)/5,math.rad(0),math.rad(-10)), Sanim)
  3356.         RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5 + math.sin(sine/15)/6, -1.05 - math.sin(sine/7.5)/5 , 0) * c_angles(math.rad(20) - math.sin(sine/15)/5,math.rad(0),math.rad(10)), Sanim)
  3357.         Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0 - math.sin(sine/15)/10, -0.95 + math.sin(sine/7.5)/5, 0) * c_angles(math.rad(-20) + math.sin(sine/15)/10, math.rad(0),math.rad(0)), Sanim)
  3358.         Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0 - math.sin(sine/15)/6, 1.5, 0) * c_angles(math.rad(0) + math.sin(sine/7.5)/5,math.rad(math.random(-15,10)), math.rad(math.random(-25,25)) + math.sin(sine/15)/4), Sanim)
  3359.     elseif currentAnim == "Walking" and Animations == false then
  3360.             angleSpeed = 1
  3361.             axisSpeed = 1
  3362.             Humanoid.WalkSpeed = 16
  3363.             RA_Weld.C0      = clerp(RA_Weld.C0, c_new(1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(-20)), 0.025)
  3364.             LA_Weld.C0      = clerp(LA_Weld.C0, c_new(-1.25, 0.3 + math.sin(sine/6)/5, 0) * c_angles(math.rad(23),math.rad(0),math.rad(20)), 0.025)
  3365.         --LL_Weld.C0        = clerp(LL_Weld.C0, c_new(-0.5, -1.15 + 0.5 * math.cos(sine/4)/3, -0.6 * math.cos(sine / 4) / 3) * c_angles(math.rad(-1 - 10 * math.cos(sine / 4)) + Left_Leg.RotVelocity.Y / 15 + math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(-3)), 0.1)
  3366.         --RL_Weld.C0        = clerp(RL_Weld.C0, c_new(0.5, -1.15 - 0.5 * math.cos(sine/4)/3, 0.6 * math.cos(sine / 4) / 3) * c_angles( math.rad(-1 + 10 * math.cos(sine / 4)) - Right_Leg.RotVelocity.Y / 15 + -math.sin(sine / 4) / 3, math.rad(0) - math.sin(sine/4)/6, math.rad(3)), 0.1)
  3367.             RL_Weld.C0      = clerp(RL_Weld.C0, c_new(0.5, -0.9 - 0.5 * math.cos(sine / WALKSPEEDVALUE) / 2, -0.2 + 0.6 * math.cos(sine / WALKSPEEDVALUE) / 2)  * c_angles(math.rad(-15 - 10 * math.cos(sine / WALKSPEEDVALUE)) - Right_Leg.RotVelocity.Y / 75 + -math.sin(sine / WALKSPEEDVALUE) / 2.5 * -math.rad(TiltVelocity.z) * 10, math.rad(0 - 5 * math.cos(sine / WALKSPEEDVALUE)), math.rad(0)) * c_angles(math.rad(0 + 2 * math.cos(sine / WALKSPEEDVALUE)), math.rad(0), math.rad(0 - 25 * math.sin(sine / WALKSPEEDVALUE)*-math.rad(TiltVelocity.x)*5.5)), 0.3)
  3368.             LL_Weld.C0      = clerp(LL_Weld.C0, c_new(-0.5, -0.9 + 0.5 * math.cos(sine / WALKSPEEDVALUE) / 2, -0.2 - 0.6 * math.cos(sine / WALKSPEEDVALUE) / 2) * c_angles(math.rad(-15 + 10 * math.cos(sine / WALKSPEEDVALUE)) + Left_Leg.RotVelocity.Y / -75 + math.sin(sine / WALKSPEEDVALUE) / 2.5 * -math.rad(TiltVelocity.z) * 10, math.rad(0 - 5 * math.cos(sine / WALKSPEEDVALUE)), math.rad(0)) * c_angles(math.rad(0 - 2 * math.cos(sine / WALKSPEEDVALUE)), math.rad(0), math.rad(0 - 25 * math.sin(sine / WALKSPEEDVALUE)*math.rad(TiltVelocity.x)*5.5)), 0.3)
  3369.             Torso_Weld.C0   = clerp(Torso_Weld.C0, c_new(0, -1 + math.sin(sine/7.5)/15, 0) * c_angles(math.rad(0 - 2.5 * math.sin(sine / 8)), math.rad(0), math.sin((rootPart.RotVelocity.Y/15))/4), 0.15)
  3370.             Head_Weld.C0    = clerp(Head_Weld.C0, c_new(0, 1.5 + math.sin(sine/7.5)/15, 0 + math.sin(sine/7.5)/15) * c_angles(math.rad(0) - math.sin(sine/7.5)/15,math.sin((rootPart.RotVelocity.Y/2.5))/2, math.sin((rootPart.RotVelocity.Y/15))/2), 0.15)
  3371.     end
  3372.     end)
Add Comment
Please, Sign In to add comment