Advertisement
com_ww

edit karma

Jan 7th, 2020
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.07 KB | None | 0 0
  1. -- Karma
  2. -- Made By ItzPartapika
  3. -- Conversion Template by DARKENER!PIKA#1127 (ItzPartapika)
  4.  
  5. --[[
  6. Credits to:
  7. Shackluster = {
  8. Animation Related Stuff
  9. }
  10. Inspiration:
  11. The hate from other people because of
  12. how I skid off of other people. This is
  13. my first attempt at making my own script.
  14. Let's see how it goes, eh?
  15. --]]
  16.  
  17. local Player = game.Players:FindFirstChild(script.Parent.Parent.Name)
  18. local LocalScript = script.LocalScript:Clone();
  19. LocalScript.Parent = Player.Character;
  20. script.LocalScript:Destroy()
  21. local Mouse,mouse,UserInputService,ContextActionService
  22. do
  23. local GUID = {}
  24. do
  25. GUID.IDs = {};
  26. function GUID:new(len)
  27. local id;
  28. if(not len)then
  29. id = (tostring(function() end))
  30. id = id:gsub("function: ","")
  31. else
  32. local function genID(len)
  33. local newID = ""
  34. for i = 1,len do
  35. newID = newID..string.char(math.random(48,90))
  36. end
  37. return newID
  38. end
  39. repeat id = genID(len) until not GUID.IDs[id]
  40. local oid = id;
  41. id = {Trash=function() GUID.IDs[oid]=nil; end;Get=function() return oid; end}
  42. GUID.IDs[oid]=true;
  43. end
  44. return id
  45. end
  46. end
  47.  
  48. local AHB = Instance.new("BindableEvent")
  49.  
  50. local FPS = 30
  51.  
  52. local TimeFrame = 0
  53.  
  54. local LastFrame = tick()
  55. local Frame = 1/FPS
  56.  
  57. game:service'RunService'.Heartbeat:connect(function(s,p)
  58. TimeFrame = TimeFrame + s
  59. if(TimeFrame >= Frame)then
  60. for i = 1,math.floor(TimeFrame/Frame) do
  61. AHB:Fire()
  62. end
  63. LastFrame=tick()
  64. TimeFrame=TimeFrame-Frame*math.floor(TimeFrame/Frame)
  65. end
  66. end)
  67.  
  68.  
  69. local function Swait(dur)
  70. if(dur == 0 or typeof(dur) ~= 'number')then
  71. AHB.Event:wait()
  72. else
  73. for i = 1, dur*FPS do
  74. AHB.Event:wait()
  75. end
  76. end
  77. end
  78.  
  79. local loudnesses={}
  80. script.Parent = Player.Character
  81. local CoAS = {Actions={}}
  82. local Event = Instance.new("RemoteEvent")
  83. Event.Name = "UserInputEvent"
  84. Event.Parent = Player.Character
  85. local Func = Instance.new("RemoteFunction")
  86. Func.Name = "GetClientProperty"
  87. Func.Parent = Player.Character
  88. local fakeEvent = function()
  89. local t = {_fakeEvent=true,Waited={}}
  90. t.Connect = function(self,f)
  91. local ft={Disconnected=false;disconnect=function(s) s.Disconnected=true end}
  92. ft.Disconnect=ft.disconnect
  93.  
  94. ft.Func=function(...)
  95. for id,_ in next, t.Waited do
  96. t.Waited[id] = true
  97. end
  98. return f(...)
  99. end;
  100. self.Function=ft;
  101. return ft;
  102. end
  103. t.connect = t.Connect
  104. t.Wait = function()
  105. local guid = GUID:new(25)
  106. local waitingId = guid:Get()
  107. t.Waited[waitingId]=false
  108. repeat Swait() until t.Waited[waitingId]==true
  109. t.Waited[waitingId]=nil;
  110. guid:Trash()
  111. end
  112. t.wait = t.Wait
  113. return t
  114. end
  115. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  116. local UsIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  117.  
  118. function CoAS:BindAction(name,fun,touch,...)
  119. CoAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  120. end
  121. function CoAS:UnbindAction(name)
  122. CoAS.Actions[name] = nil
  123. end
  124. local function te(self,ev,...)
  125. local t = self[ev]
  126. if t and t._fakeEvent and t.Function and t.Function.Func and not t.Function.Disconnected then
  127. t.Function.Func(...)
  128. elseif t and t._fakeEvent and t.Function and t.Function.Func and t.Function.Disconnected then
  129. self[ev].Function=nil
  130. end
  131. end
  132. m.TrigEvent = te
  133. UsIS.TrigEvent = te
  134. Event.OnServerEvent:Connect(function(plr,io)
  135. if plr~=Player then return end
  136. if io.Mouse then
  137. m.Target = io.Target
  138. m.Hit = io.Hit
  139. elseif io.KeyEvent then
  140. m:TrigEvent('Key'..io.KeyEvent,io.Key)
  141. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  142. if io.UserInputState == Enum.UserInputState.Begin then
  143. m:TrigEvent("Button1Down")
  144. else
  145. m:TrigEvent("Button1Up")
  146. end
  147. end
  148. if(not io.KeyEvent and not io.Mouse)then
  149. for n,t in pairs(CoAS.Actions) do
  150. for _,k in pairs(t.Keys) do
  151. if k==io.KeyCode then
  152. t.Function(t.Name,io.UserInputState,io)
  153. end
  154. end
  155. end
  156. if io.UserInputState == Enum.UserInputState.Begin then
  157. UsIS:TrigEvent("InputBegan",io,false)
  158. else
  159. UsIS:TrigEvent("InputEnded",io,false)
  160. end
  161. end
  162. end)
  163.  
  164. Func.OnServerInvoke = function(plr,inst,play)
  165. if plr~=Player then return end
  166. if(inst and typeof(inst) == 'Instance' and inst:IsA'Sound')then
  167. loudnesses[inst]=play
  168. end
  169. end
  170.  
  171. function GetClientProperty(inst,prop)
  172. if(prop == 'PlaybackLoudness' and loudnesses[inst])then
  173. return loudnesses[inst]
  174. elseif(prop == 'PlaybackLoudness')then
  175. return Func:InvokeClient(Player,'RegSound',inst)
  176. end
  177. return Func:InvokeClient(Player,inst,prop)
  178. end
  179. Mouse, mouse, UserInputService, ContextActionService = m, m, UsIS, CoAS
  180. end
  181.  
  182. repeat
  183. wait()
  184. until Player.Character ~= nil
  185.  
  186. local Character = Player.Character
  187.  
  188. -- Shortcut Variables
  189.  
  190. IT = Instance.new
  191. CF = CFrame.new
  192. VT = Vector3.new
  193. RAD = math.rad
  194. C3 = Color3.new
  195. UD2 = UDim2.new
  196. BRICKC = BrickColor.new
  197. BRICKCRNDM = BrickColor.Random
  198. ANGLES = CFrame.Angles
  199. EULER = CFrame.fromEulerAnglesXYZ
  200. COS = math.cos
  201. ACOS = math.acos
  202. SIN = math.sin
  203. ASIN = math.asin
  204. ABS = math.abs
  205. MRANDOM = math.random
  206. FLOOR = math.floor
  207.  
  208. -- Object Variables
  209.  
  210. PlayerGui = Player.PlayerGui
  211. Cam = workspace.CurrentCamera
  212. Backpack = Player.Backpack
  213. Character = Player.Character
  214. Humanoid = Character.Humanoid
  215. RootPart = Character["HumanoidRootPart"]
  216. Torso = Character["Torso"]
  217. Head = Character["Head"]
  218. RightArm = Character["Right Arm"]
  219. LeftArm = Character["Left Arm"]
  220. RightLeg = Character["Right Leg"]
  221. LeftLeg = Character["Left Leg"]
  222. RootJoint = RootPart["RootJoint"]
  223. Neck = Torso["Neck"]
  224. RightShoulder = Torso["Right Shoulder"]
  225. LeftShoulder = Torso["Left Shoulder"]
  226. RightHip = Torso["Right Hip"]
  227. LeftHip = Torso["Left Hip"]
  228.  
  229. local TimePos = 0
  230. local SongObj = Instance.new("Sound")
  231.  
  232. local Effects = IT("Model", Character)
  233. Effects.Name = "Effects"
  234. local Delete = IT("Model",Character)
  235. Delete.Name = "ToBeDeletedFolder"
  236.  
  237. -- Useful Variables
  238.  
  239. local MODES = {
  240. "THE LOST";
  241. "INSANE";
  242. "LIMIT";
  243. }
  244. local UnneccessarySounds = {
  245. "Climbing";
  246. "Died";
  247. "FreeFalling";
  248. "GettingUp";
  249. "Jumping";
  250. "Landing";
  251. "Running";
  252. "Splash";
  253. "Swimming";
  254. }
  255. local CURRENTMOK = MODES[1];
  256. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  257. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  258. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  259. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  260. local ANIM = "Idle"
  261. local ATTACK = false
  262. local HOLD = false
  263. local Rooted = false
  264. local Disable_Jump = false
  265. local SINE = 0
  266. local KEYHOLD = false
  267. local WALKINGANIM = false
  268. local WALK = 0
  269.  
  270. -- Customization
  271.  
  272. Speed = 8
  273. Animation_Speed = 3
  274. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  275. CHANGE = 2 / Animation_Speed
  276. Player_Size = 1
  277.  
  278. -- Sazerenos' Artificial Heartbeat
  279.  
  280. ArtificialHB = IT("BindableEvent", script)
  281. ArtificialHB.Name = "ArtificialHB"
  282.  
  283. script:WaitForChild("ArtificialHB")
  284.  
  285. frame = Frame_Speed
  286. tf = 0
  287. allowframeloss = false
  288. tossremainder = false
  289. lastframe = tick()
  290. script.ArtificialHB:Fire()
  291.  
  292. game:GetService("RunService").Heartbeat:connect(function(s, p)
  293. tf = tf + s
  294. if tf >= frame then
  295. if allowframeloss then
  296. script.ArtificialHB:Fire()
  297. lastframe = tick()
  298. else
  299. for i = 1, math.floor(tf / frame) do
  300. script.ArtificialHB:Fire()
  301. end
  302. lastframe = tick()
  303. end
  304. if tossremainder then
  305. tf = 0
  306. else
  307. tf = tf - frame * math.floor(tf / frame)
  308. end
  309. end
  310. end)
  311.  
  312. -- Animation Related
  313.  
  314. function Swait(NUMBER)
  315. if NUMBER == 0 or NUMBER == nil then
  316. ArtificialHB.Event:wait()
  317. else
  318. for i = 1, NUMBER do
  319. ArtificialHB.Event:wait()
  320. end
  321. end
  322. end
  323.  
  324. function QuaternionFromCFrame(cf)
  325. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  326. local trace = m00 + m11 + m22
  327. if trace > 0 then
  328. local s = math.sqrt(1 + trace)
  329. local recip = 0.5 / s
  330. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  331. else
  332. local i = 0
  333. if m11 > m00 then
  334. i = 1
  335. end
  336. if m22 > (i == 0 and m00 or m11) then
  337. i = 2
  338. end
  339. if i == 0 then
  340. local s = math.sqrt(m00 - m11 - m22 + 1)
  341. local recip = 0.5 / s
  342. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  343. elseif i == 1 then
  344. local s = math.sqrt(m11 - m22 - m00 + 1)
  345. local recip = 0.5 / s
  346. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  347. elseif i == 2 then
  348. local s = math.sqrt(m22 - m00 - m11 + 1)
  349. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  350. end
  351. end
  352. end
  353.  
  354. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  355. local xs, ys, zs = x + x, y + y, z + z
  356. local wx, wy, wz = w * xs, w * ys, w * zs
  357. local xx = x * xs
  358. local xy = x * ys
  359. local xz = x * zs
  360. local yy = y * ys
  361. local yz = y * zs
  362. local zz = z * zs
  363. return CF(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  364. end
  365.  
  366. function QuaternionSlerp(a, b, t)
  367. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  368. local startInterp, finishInterp;
  369. if cosTheta >= 0.0001 then
  370. if (1 - cosTheta) > 0.0001 then
  371. local theta = ACOS(cosTheta)
  372. local invSinTheta = 1 / SIN(theta)
  373. startInterp = SIN((1 - t) * theta) * invSinTheta
  374. finishInterp = SIN(t * theta) * invSinTheta
  375. else
  376. startInterp = 1 - t
  377. finishInterp = t
  378. end
  379. else
  380. if (1 + cosTheta) > 0.0001 then
  381. local theta = ACOS(-cosTheta)
  382. local invSinTheta = 1 / SIN(theta)
  383. startInterp = SIN((t - 1) * theta) * invSinTheta
  384. finishInterp = SIN(t * theta) * invSinTheta
  385. else
  386. startInterp = t - 1
  387. finishInterp = t
  388. end
  389. end
  390. 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
  391. end
  392.  
  393. function Clerp(a, b, t)
  394. local qa = {QuaternionFromCFrame(a)}
  395. local qb = {QuaternionFromCFrame(b)}
  396. local ax, ay, az = a.x, a.y, a.z
  397. local bx, by, bz = b.x, b.y, b.z
  398. local _t = 1 - t
  399. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  400. end
  401.  
  402. --// Functions \\--
  403.  
  404. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  405. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  406. end
  407.  
  408. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  409. local NEWMESH = IT(MESH)
  410. if MESH == "SpecialMesh" then
  411. NEWMESH.MeshType = MESHTYPE
  412. if MESHID ~= "nil" and MESHID ~= "" then
  413. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  414. end
  415. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  416. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  417. end
  418. end
  419. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  420. NEWMESH.Scale = SCALE
  421. NEWMESH.Parent = PARENT
  422. return NEWMESH
  423. end
  424.  
  425. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  426. local NEWPART = IT("Part")
  427. NEWPART.formFactor = FORMFACTOR
  428. NEWPART.Reflectance = REFLECTANCE
  429. NEWPART.Transparency = TRANSPARENCY
  430. NEWPART.CanCollide = false
  431. NEWPART.Locked = true
  432. NEWPART.Anchored = true
  433. if ANCHOR == false then
  434. NEWPART.Anchored = false
  435. end
  436. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  437. NEWPART.Name = NAME
  438. NEWPART.Size = SIZE
  439. NEWPART.Position = Torso.Position
  440. NEWPART.Material = MATERIAL
  441. NEWPART:BreakJoints()
  442. NEWPART.Parent = PARENT
  443. return NEWPART
  444. end
  445.  
  446. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  447. local NEWWELD = IT(TYPE)
  448. NEWWELD.Part0 = PART0
  449. NEWWELD.Part1 = PART1
  450. NEWWELD.C0 = C0
  451. NEWWELD.C1 = C1
  452. NEWWELD.Parent = PARENT
  453. return NEWWELD
  454. end
  455.  
  456. function CreateSphere(BONUSSPEED,TYPE,pos,scale,VALUE,VALUE2,VALUE3,color)
  457. local TYPE = TYPE
  458. local SPHEREPART = IT("Part", Character)
  459. SPHEREPART.Anchored = true
  460. SPHEREPART.BrickColor = color
  461. SPHEREPART.CanCollide = false
  462. SPHEREPART.FormFactor = 3
  463. SPHEREPART.Name = "Ring"
  464. SPHEREPART.Material = "Neon"
  465. SPHEREPART.Size = Vector3.new(1, 1, 1)
  466. SPHEREPART.Transparency = 0
  467. SPHEREPART.TopSurface = 0
  468. SPHEREPART.BottomSurface = 0
  469. SPHEREPART.CFrame = pos
  470. local SPHEREPARTMESH = IT("SpecialMesh", SPHEREPART)
  471. SPHEREPARTMESH.MeshType = "Sphere"
  472. SPHEREPARTMESH.Scale = scale
  473. local SCALER2 = 1
  474. local SCALER2b = 1
  475. local SCALER2c = 1
  476. if TYPE == "Add" then
  477. SCALER2 = 1 * VALUE
  478. SCALER2b = 1 * VALUE2
  479. SCALER2c = 1 * VALUE3
  480. elseif TYPE == "Divide" then
  481. SCALER2 = 1 / VALUE
  482. SCALER2b = 1 / VALUE2
  483. SCALER2c = 1 / VALUE3
  484. end
  485. coroutine.resume(coroutine.create(function()
  486. for i = 0, 10 / BONUSSPEED, 0.1 do
  487. Swait()
  488. if TYPE == "Add" then
  489. SCALER2 = SCALER2 - 0.01 * VALUE / BONUSSPEED
  490. SCALER2b = SCALER2b - 0.01 * VALUE / BONUSSPEED
  491. SCALER2c = SCALER2c - 0.01 * VALUE / BONUSSPEED
  492. elseif TYPE == "Divide" then
  493. SCALER2 = SCALER2 - 0.01 / VALUE * BONUSSPEED
  494. SCALER2b = SCALER2b - 0.01 / VALUE * BONUSSPEED
  495. SCALER2c = SCALER2c - 0.01 / VALUE * BONUSSPEED
  496. end
  497. SPHEREPART.Transparency = SPHEREPART.Transparency + 0.01 * BONUSSPEED
  498. SPHEREPARTMESH.Scale = SPHEREPARTMESH.Scale + VT(SCALER2 * BONUSSPEED, SCALER2b * BONUSSPEED, SCALER2c * BONUSSPEED)
  499. end
  500. SPHEREPART:Destroy()
  501. end))
  502. end
  503.  
  504. function CreateSound(ID, VOLUME, PITCH, LOOPED)
  505. local SOUND = IT("Sound", Head)
  506. SOUND.SoundId = "rbxassetid://" .. tostring(ID)
  507. SOUND.Volume = VOLUME
  508. SOUND.PlaybackSpeed = PITCH
  509. if(LOOPED ~= nil)then
  510. SOUND.Looped = LOOPED
  511. else
  512. SOUND.Looped = false
  513. end
  514. SOUND:Play()
  515. coroutine.resume(coroutine.create(function()
  516. repeat
  517. Swait()
  518. until SOUND.Playing == false
  519. Swait(2)
  520. SOUND:Remove()
  521. end))
  522. return SOUND
  523. end
  524.  
  525. --// Chat Functions \\--
  526.  
  527. function DramaticText(TEXT)
  528. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  529. coroutine.resume(coroutine.create(function()
  530. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  531. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  532. end
  533. -- Instances:
  534. local DramaticUi = IT("ScreenGui")
  535. local TextFrame = IT("TextLabel")
  536. --Properties:
  537. DramaticUi.Name = "DramaticUi"
  538. DramaticUi.Parent = v.PlayerGui
  539. DramaticUi.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  540.  
  541. TextFrame.Name = "TextFrame"
  542. TextFrame.Parent = DramaticUi
  543. TextFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  544. TextFrame.BackgroundTransparency = 1
  545. TextFrame.BorderColor3 = Color3.new(1, 1, 1)
  546. TextFrame.BorderSizePixel = 0
  547. TextFrame.Position = UDim2.new(0, 0, 0.400334984, 0)
  548. TextFrame.Size = UDim2.new(1, 0, 0, 119)
  549. TextFrame.Font = Enum.Font.Code
  550. TextFrame.Text = ""
  551. TextFrame.TextColor3 = Color3.new(1, 1, 1)
  552. TextFrame.TextScaled = true
  553. TextFrame.TextStrokeTransparency = 0
  554. TextFrame.TextWrapped = true
  555. coroutine.resume(coroutine.create(function()
  556. while true do
  557. Swait()
  558. TextFrame.TextColor3 = BRICKCRNDM().Color
  559. TextFrame.TextStrokeColor3 = BRICKCRNDM().Color
  560. end
  561. end))
  562. coroutine.resume(coroutine.create(function()
  563. for i = 1, string.len(TEXT),1 do
  564. TextFrame.Text = string.sub(TEXT, 1, i)
  565. Swait()
  566. end
  567. end))
  568. return DramaticUi
  569. end))
  570. end
  571. end
  572.  
  573. --// Name Tag Creation \\--
  574. local FONTS = {
  575. Enum.Font.Antique,
  576. Enum.Font.Arcade,
  577. Enum.Font.Arial,
  578. Enum.Font.ArialBold,
  579. Enum.Font.Bodoni,
  580. Enum.Font.Cartoon,
  581. Enum.Font.Code,
  582. Enum.Font.Fantasy,
  583. Enum.Font.Garamond,
  584. Enum.Font.Highway,
  585. Enum.Font.Legacy,
  586. Enum.Font.SciFi,
  587. Enum.Font.SourceSans,
  588. Enum.Font.SourceSansBold,
  589. Enum.Font.SourceSansItalic,
  590. Enum.Font.SourceSansLight,
  591. Enum.Font.SourceSansSemibold
  592. }
  593.  
  594. script:WaitForChild("NameTag")
  595. local BBG = script.NameTag:Clone()
  596. BBG:WaitForChild("DesiredName")
  597. BBG.Parent = Character
  598. BBG.Adornee = Head
  599. BBG.Enabled = true
  600. local ModeTag = BBG.DesiredName
  601.  
  602. --// Quick Functions \\--
  603. function IdleArmAnimHandler()
  604. if(CURRENTMOK == MODES[1])then
  605. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(MRANDOM(10, 50)), RAD(0), RAD(MRANDOM(-20, 20))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  606. elseif(CURRENTMOK == MODES[2])then
  607. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, 0) * ANGLES(RAD(MRANDOM(160, 200)), RAD(0), RAD(-MRANDOM(5, 45))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  608. elseif(CURRENTMOK == MODES[3])then
  609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, 0) * ANGLES(RAD(MRANDOM(160, 200)), RAD(0), RAD(-MRANDOM(5, 45))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  610. end
  611. if(CURRENTMOK ~= MODES[3])then
  612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.2, 0) * ANGLES(RAD(MRANDOM(160, 200)), RAD(0), RAD(MRANDOM(5, 45))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  613. else
  614. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(MRANDOM(10, 50)), RAD(0), RAD(MRANDOM(-20, 20))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  615. end
  616. end
  617.  
  618. --// Damaging \\--
  619.  
  620. function SeizureDeath(Foe)
  621. if Foe then
  622. coroutine.resume(coroutine.create(function()
  623. Foe.Archivable = true
  624. local CLONE = Foe:Clone()
  625. Foe:Destroy()
  626. CLONE.Parent = Effects
  627. CLONE:BreakJoints()
  628. for _, c in pairs(CLONE:GetDescendants()) do
  629. if c:IsA("BasePart") then
  630. c.Anchored = true
  631. c.Transparency = c.Transparency + 0.2
  632. c.Material = "Neon"
  633. c.Color = BRICKCRNDM().Color
  634. if c.ClassName == "MeshPart" then
  635. c.TextureID = ""
  636. end
  637. if c:FindFirstChildOfClass("SpecialMesh") then
  638. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  639. end
  640. if c:FindFirstChildOfClass("Decal") then
  641. c:FindFirstChildOfClass("Decal"):remove()
  642. end
  643. c.Name = "Seizured"
  644. c.CanCollide = false
  645. else
  646. c:remove()
  647. end
  648. end
  649. for i = 1, 35 do
  650. for _, c in pairs(CLONE:GetDescendants()) do
  651. if c:IsA("BasePart") then
  652. c.Anchored = true
  653. c.Transparency = c.Transparency + 0.8/35
  654. end
  655. end
  656. Swait()
  657. end
  658. CLONE:remove()
  659. end))
  660. end
  661. end
  662.  
  663. function SEIZURENEAREST(POS,RANGE)
  664. for i,v in ipairs(workspace:GetChildren()) do
  665. local body = v:GetChildren()
  666. for part = 1, #body do
  667. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  668. if(body[part].Position - POS).Magnitude < RANGE then
  669. if v:FindFirstChildOfClass("Humanoid") then
  670. SeizureDeath(v)
  671. if game.Players:FindFirstChild(v.Name) then
  672. local Value = IT("BoolValue",Delete)
  673. Value.Name = v.Name
  674. end
  675. end
  676. end
  677. end
  678. end
  679. end
  680. end
  681.  
  682. --// Moves, Attacks, etc.. \\--
  683.  
  684. function Heartless()
  685. ATTACK = true
  686. Rooted = true
  687. CreateSound("363808674", 10, 1.3, false)
  688. for i = 0, 1.2, 0.1 / Animation_Speed do
  689. Swait()
  690. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  696. end
  697. CreateSound("429400881", 10, 1, false)
  698. local Laugh = CreateSound("300208779", 10, 1, false)
  699. DramaticText([[
  700. i think..
  701. I NEED MAKE IT
  702. HURTER THAN IT.
  703. ]])
  704. local hart = CreatePart(3, Character, Enum.Material.Granite, 0, 0, BrickColor.new'Crimson', "Heart", VT(1, 1, 1), false)
  705. local hartM = IT("SpecialMesh")
  706. hartM.MeshId = ""
  707. hartM.TextureId = ""
  708. hartM.Scale = VT(1,1,1)
  709. hartM.Offset = VT(0,0,0)
  710. hartM.MeshType = Enum.MeshType.Sphere
  711. hartM.Parent = hart
  712. local Weld = CreateWeldOrSnapOrMotor("Weld", hart, hart, RightArm, CF(0, 1, 0), CF(0, 0, 0))
  713. repeat
  714. Swait()
  715. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  716. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  717. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(80), RAD(-30), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  718. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  719. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  720. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  721. hart.BrickColor = BRICKCRNDM()
  722. until Laugh.Playing == false
  723. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  724. coroutine.resume(coroutine.create(function()
  725. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  726. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  727. end
  728. end))
  729. end
  730. CreateSound("649634100", 10, 0.8, false)
  731. hart:Destroy()
  732. ATTACK = false
  733. Rooted = false
  734. end
  735.  
  736. function Hilarious()
  737. ATTACK = true
  738. Rooted = true
  739. SongObj.TimePosition = 0;
  740. TimePos = 0;
  741. repeat Swait()
  742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(MRANDOM(10, 50)), RAD(0), RAD(MRANDOM(-20, 20))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(MRANDOM(10, 50)), RAD(0), RAD(MRANDOM(-20, 20))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  748. until SongObj.TimePosition >= 12.45
  749. DramaticText([[
  750. I see...
  751. You never changes..
  752. ]])
  753. repeat Swait()
  754. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 30)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  755. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * SIN(SINE / 30)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  756. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(-40)) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  757. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.1 * COS(SINE / 30), -0.5) * ANGLES(RAD(170), RAD(0), RAD(40)) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  758. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  759. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 - 0.025 * COS(SINE / 30), -0.5) * ANGLES(RAD(15), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  760. until SongObj.TimePosition >= 14.09
  761. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  762. coroutine.resume(coroutine.create(function()
  763. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  764. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  765. end
  766. end))
  767. end
  768. Rooted = false
  769. ATTACK = false
  770. end
  771.  
  772. function SimmerDown()
  773. ATTACK = true
  774. Rooted = true
  775. local hart = CreatePart(3, Character, Enum.Material.Granite, 0, 0, BRICKC("Mid gray"), "Heart", VT(1, 1, 1), false)
  776. local hartM = IT("SpecialMesh")
  777. hartM.MeshId = ""
  778. hartM.TextureId = ""
  779. hartM.Scale = VT(1,1,1)
  780. hartM.Offset = VT(0,0,0)
  781. hartM.MeshType = Enum.MeshType.Sphere
  782. hartM.Parent = hart
  783. local Weld = CreateWeldOrSnapOrMotor("Weld", hart, hart, RightArm, CF(0, 1, 0), CF(0, 0, 0))
  784. for i = 0, 1.2, 0.1 / Animation_Speed do
  785. Swait()
  786. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  787. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  788. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(80), RAD(-30), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  789. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  790. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  791. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  792. end
  793. DramaticText([[
  794. I see...
  795. you never
  796. changes..
  797. ]])
  798. CreateSound("649634100", 10, 0.8, false)
  799. CreateSound("363808674", 10, 0.95, false)
  800. for i = 0, 3.6, 0.1 / Animation_Speed do
  801. Swait()
  802. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  806. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  808. end
  809. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  810. coroutine.resume(coroutine.create(function()
  811. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  812. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  813. end
  814. end))
  815. end
  816. hart:Destroy()
  817. ATTACK = false
  818. Rooted = false
  819. end
  820.  
  821. function TripleModeSwitch()
  822. if(CURRENTMOK == MODES[1])then
  823. Heartless()
  824. CURRENTMOK = MODES[2]
  825. elseif(CURRENTMOK == MODES[2])then
  826. CURRENTMOK = MODES[3]
  827. SongObj.Pitch = 0.7
  828. Hilarious()
  829. elseif(CURRENTMOK == MODES[3])then
  830. SimmerDown()
  831. CURRENTMOK = MODES[1]
  832. end
  833. end
  834.  
  835. function FatalExplosion()
  836. ATTACK = true
  837. Rooted = true
  838. local ENDGROUNDFX = CreateSound("1596527310", 10, 1, false)
  839. local CHATFUNC = DramaticText("T I M E T O B E G O N E")
  840. repeat
  841. CreateSphere(8, "Add", RightArm.CFrame * CF(0, -1, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), VT(0.01, 0.01, 0.01), -0.001, 0.1, -0.001, BRICKCRNDM(), BRICKCRNDM().Color)
  842. CreateSphere(8, "Add", RightArm.CFrame * CF(0, -1, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), VT(0.01, 0.01, 0.01), 0.007, 0.007, 0.007, BRICKCRNDM(), BRICKCRNDM().Color)
  843. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(-15)), 1 / Animation_Speed)
  844. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  846. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  847. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-35)), 1 / Animation_Speed)
  848. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(5)), 1 / Animation_Speed)
  849. Swait()
  850. until ENDGROUNDFX.Playing == false
  851. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  852. coroutine.resume(coroutine.create(function()
  853. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  854. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  855. end
  856. end))
  857. end
  858. local SIZEEARN = 0
  859. local CHARGEFX = CreateSound("489657591", 10, 1, false)
  860. CreateSound("1208650519", 10, 1, false)
  861. repeat
  862. SIZEEARN = SIZEEARN + 0.1
  863. if SongObj ~= nil then
  864. SongObj.Volume = math.max(SongObj.Volume -0.005, 1)
  865. SongObj.Pitch = math.max(SongObj.Pitch -0.001, .1)
  866. end
  867. CreateSphere(8, "Add", RightArm.CFrame * CF(0, -1, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), VT(0.01, 0.01, 0.01), -0.001, 0.1 * SIZEEARN, -0.001, BRICKCRNDM(), BRICKCRNDM().Color)
  868. CreateSphere(8, "Add", RightArm.CFrame * CF(0, -1, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), VT(0.01, 0.01, 0.01), 0.007 * SIZEEARN, 0.007 * SIZEEARN, 0.007 * SIZEEARN, BRICKCRNDM(), BRICKCRNDM().Color)
  869. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.3, -0.75) * ANGLES(RAD(40), RAD(0), RAD(35)), 1.5 / Animation_Speed)
  870. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  871. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, -1.45) * ANGLES(RAD(75), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  872. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * ANGLES(RAD(-25), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  873. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.5) * ANGLES(RAD(0), RAD(55), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(65)), 1 / Animation_Speed)
  874. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.2) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 1 / Animation_Speed)
  875. Swait()
  876. until CHARGEFX.Playing == false
  877. for i = 0, 2 do
  878. CreateSound("1177785010", 10, 1, false)
  879. CreateSound("533636230", 10, 0.75, false)
  880. CreateSound("419447292", 5, 1, false)
  881. CreateSound("421328847", 5, 1, false)
  882. end
  883. SEIZURENEAREST(Torso.Position, 99999999999999)
  884. Rooted = false
  885. ATTACK = false
  886. end
  887.  
  888. function Taunt()
  889. ATTACK = true
  890. Rooted = true
  891. local Laugh = CreateSound("300208779", 10, 1, false)
  892. DramaticText("N E V E R C O M E B A C K .")
  893. repeat
  894. for i = 0, 0.6, 0.1 / Animation_Speed do
  895. Swait()
  896. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  897. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  898. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(34), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  899. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.2 * COS(SINE / 2), 0) * ANGLES(RAD(180), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  900. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  901. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  902. end
  903. for i = 0, 0.6, 0.1 / Animation_Speed do
  904. Swait()
  905. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  906. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  907. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  908. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.2 * COS(SINE / 2), 0) * ANGLES(RAD(180), RAD(0), RAD(25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  909. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  910. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  911. end
  912. until Laugh.Playing == false
  913. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  914. coroutine.resume(coroutine.create(function()
  915. if v.PlayerGui:FindFirstChild("DramaticUi") ~= nil then
  916. v.PlayerGui:FindFirstChild("DramaticUi"):Destroy()
  917. end
  918. end))
  919. end
  920. ATTACK = false
  921. Rooted = false
  922. end
  923.  
  924. --// Assigning to Keys \\--
  925.  
  926. Mouse.KeyDown:Connect(function(KEY)
  927. KEYHOLD = true
  928. if ATTACK == false then
  929. if KEY == "q" then
  930. TripleModeSwitch()
  931. end
  932. if KEY == "t" then
  933. Taunt()
  934. end
  935. if KEY == "z" then
  936. FatalExplosion()
  937. end
  938. end
  939. end)
  940.  
  941. Mouse.KeyUp:Connect(function(KEY)
  942. KEYHOLD = false
  943.  
  944. end)
  945.  
  946. --// Changed, etc.. \\--
  947.  
  948. Humanoid.Changed:connect(function(Jump)
  949. if Jump == "Jump" and (Disable_Jump == true) then
  950. Humanoid.Jump = false
  951. end
  952. end)
  953.  
  954. --// Cam Moves With The Player's Head \\--
  955.  
  956. local focusScript = script["FocusCam"]:Clone()
  957. focusScript.Parent = Backpack
  958. focusScript.FocusOn.Value = Head
  959. focusScript.Disabled = false
  960.  
  961. --// Animations \\--
  962.  
  963. coroutine.resume(coroutine.create(function()
  964. while true do
  965. Swait()
  966. SINE = SINE + CHANGE
  967. Humanoid:ClearAllChildren()
  968. if Character:FindFirstChild("Animate") ~= nil then
  969. Character.Animate:Remove()
  970. end
  971. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  972. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  973. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  974. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  975. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  976. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  977. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  978. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  979. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  980. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(25 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  981. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  982. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  983. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  984. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  985. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  986. end
  987. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  988. ANIM = "Jump"
  989. if ATTACK == false then
  990. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  991. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  992. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  993. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  994. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  995. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  996. end
  997. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  998. ANIM = "Fall"
  999. if ATTACK == false then
  1000. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1001. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1002. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1003. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1004. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1005. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1006. end
  1007. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1008. ANIM = "Idle"
  1009. if ATTACK == false then
  1010. CHANGE = 2 / Animation_Speed
  1011. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  1013. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1014. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(30), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1015. IdleArmAnimHandler()
  1016. end
  1017. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1018. ANIM = "Walk"
  1019. WALK = WALK + 1 / Animation_Speed
  1020. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1021. WALK = 0
  1022. if WALKINGANIM == true then
  1023. WALKINGANIM = false
  1024. elseif WALKINGANIM == false then
  1025. WALKINGANIM = true
  1026. end
  1027. end
  1028. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1029. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1030. if ATTACK == false then
  1031. CHANGE = (1.5 / Animation_Speed)
  1032. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15, 25) - 2.5 * SIN(SINE / 12)), RAD(MRANDOM(-15, 25)), RAD(MRANDOM(-15, 25))), 1 / Animation_Speed)
  1034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1036. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1038. end
  1039. end
  1040. Humanoid.MaxHealth = "inf"
  1041. Humanoid.Health = "inf"
  1042. if (BBG and ModeTag) then
  1043. ModeTag.Text = CURRENTMOK
  1044. ModeTag.Font = FONTS[MRANDOM(1, #FONTS)]
  1045. ModeTag.Rotation = -3 + (1 * COS(SINE / 3))
  1046. if(CURRENTMOK == MODES[1])then
  1047. local COLOR1 = MRANDOM(1, 255) / 255
  1048. local COLOR2 = MRANDOM(1, 255) / 255
  1049. ModeTag.TextColor3 = C3(COLOR1, COLOR1, COLOR1)
  1050. ModeTag.TextStrokeColor3 = C3(COLOR2, COLOR2, COLOR2)
  1051. elseif(CURRENTMOK == MODES[2])then
  1052. ModeTag.TextColor3 = BRICKCRNDM().Color
  1053. ModeTag.TextStrokeColor3 = BRICKCRNDM().Color
  1054. elseif(CURRENTMOK == MODES[3])then
  1055. local COLOR = MRANDOM(1, 255) / 255
  1056. ModeTag.TextColor3 = C3(COLOR, COLOR, COLOR)
  1057. ModeTag.TextStrokeColor3 = BRICKCRNDM().Color
  1058. end
  1059. end
  1060. if Rooted == false then
  1061. Disable_Jump = false
  1062. Humanoid.WalkSpeed = Speed
  1063. elseif Rooted == true then
  1064. Disable_Jump = true
  1065. Humanoid.WalkSpeed = 0
  1066. end
  1067. for _, d in pairs(Character:GetDescendants()) do
  1068. if (d:IsA("Sound")) then
  1069. coroutine.resume(coroutine.create(function()
  1070. for _, value in pairs(UnneccessarySounds) do
  1071. if (d.Name == value) then
  1072. d:remove()
  1073. end
  1074. end
  1075. end))
  1076. end
  1077. end
  1078. if SongObj == nil then
  1079. SongObj = Instance.new("Sound")
  1080. SongObj.Parent = Character
  1081. SongObj.TimePosition = TimePos
  1082. end
  1083. if SongObj ~= nil then
  1084. if(CURRENTMOK == MODES[1])then
  1085. if(not ATTACK)then
  1086. SongObj.Pitch = 0.95
  1087. end
  1088. SongObj.SoundId = "rbxassetid://836718931"
  1089. elseif(CURRENTMOK == MODES[2])then
  1090. if(not ATTACK)then
  1091. SongObj.Pitch = 1
  1092. end
  1093. SongObj.SoundId = "rbxassetid://1661470812"
  1094. elseif(CURRENTMOK == MODES[3])then
  1095. if(not ATTACK)then
  1096. SongObj.Pitch = 0.7
  1097. end
  1098. SongObj.SoundId = "rbxassetid://1329165680"
  1099. end
  1100. SongObj.Parent = Character
  1101. SongObj.Name = CURRENTMOK
  1102. TimePos = SongObj.TimePosition
  1103. if ATTACK == false then
  1104. SongObj.Volume = 2
  1105. SongObj.Playing = true
  1106. end
  1107. end
  1108. end
  1109. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement