Advertisement
Deyer

Untitled

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