Advertisement
Moe7887

Terraria Calamity Mod - UNIVERSAL COLLAPSE

Mar 26th, 2019
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Made by kekemama645
  2. --Its very awesome
  3. --Do not touch anything
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,game,owner = owner,game
  6. local RealPlayer = Player
  7. do
  8. --well uhh idk
  9. local rp = RealPlayer
  10. script.Parent = rp.Character
  11.  
  12. --RemoteEvent for communicating
  13. local Event = Instance.new("RemoteEvent")
  14. Event.Name = "UserInput_Event"
  15.  
  16. --Fake event to make stuff like Mouse.KeyDown work
  17. local function fakeEvent()
  18. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  19. t.connect = t.Connect
  20. return t
  21. end
  22.  
  23. --Creating fake input objects with fake variables
  24. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  25. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  26. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  27. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  28. end}
  29. --Merged 2 functions into one by checking amount of arguments
  30. CAS.UnbindAction = CAS.BindAction
  31.  
  32. --This function will trigger the events that have been :Connect()'ed
  33. local function te(self,ev,...)
  34. local t = m[ev]
  35. if t and t._fakeEvent then
  36. for _,f in pairs(t.Functions) do
  37. f(...)
  38. end
  39. end
  40. end
  41. m.TrigEvent = te
  42. UIS.TrigEvent = te
  43.  
  44. Event.OnServerEvent:Connect(function(plr,io)
  45. if plr~=rp then return end
  46. m.Target = io.Target
  47. m.Hit = io.Hit
  48. if not io.isMouse then
  49. local b = io.UserInputState == Enum.UserInputState.Begin
  50. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  51. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  52. end
  53. for _,t in pairs(CAS.Actions) do
  54. for _,k in pairs(t.Keys) do
  55. if k==io.KeyCode then
  56. t.Function(t.Name,io.UserInputState,io)
  57. end
  58. end
  59. end
  60. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  61. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  62. end
  63. end)
  64. Event.Parent = NLS([==[
  65. local Player = game:GetService("Players").LocalPlayer
  66. local Event = script:WaitForChild("UserInput_Event")
  67.  
  68. local Mouse = Player:GetMouse()
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then return s[k] end
  97. end,
  98. __newindex = function(self,k,v)
  99. local s = rawget(self,"_RealService")
  100. if s then s[k]=v end
  101. end,
  102. __call = function(self,...)
  103. local s = rawget(self,"_RealService")
  104. if s then return s(...) end
  105. end
  106. }
  107. local function FakeService(t,RealService)
  108. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  109. return setmetatable(t,fsmt)
  110. end
  111.  
  112. --Fake game object
  113. local g = {
  114. GetService = function(self,s)
  115. return self[s]
  116. end,
  117. Players = FakeService({
  118. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  119. },"Players"),
  120. UserInputService = FakeService(UIS,"UserInputService"),
  121. ContextActionService = FakeService(CAS,"ContextActionService"),
  122. }
  123. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  124. g.service = g.GetService
  125.  
  126. g.RunService = FakeService({
  127. RenderStepped = _rg:GetService("RunService").Heartbeat,
  128. BindToRenderStep = function(self,name,_,fun)
  129.  
  130. end,
  131. UnbindFromRenderStep = function(self,name)
  132. self._btrs[name]:Disconnect()
  133. end,
  134. },"RunService")
  135.  
  136. setmetatable(g,{
  137. __index=function(self,s)
  138. return _rg:GetService(s) or typeof(_rg[s])=="function"
  139. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  140. end,
  141. __newindex = fsmt.__newindex,
  142. __call = fsmt.__call
  143. })
  144. --Changing owner to fake player object to support owner:GetMouse()
  145. game,owner = g,g.Players.LocalPlayer
  146. end
  147.  
  148. print("Made by kekemama645")
  149. print("[Z] Voided")
  150. print("[X] Event Horizion")
  151. print("[C] Path Of Unmaking")
  152. print("[Q] Teleport")
  153. print("[B] Void Shards")
  154. print("[Click] Void Fist")
  155. wait(0.2)
  156. Player = owner
  157. PlayerGui = Player.PlayerGui
  158. Cam = workspace.CurrentCamera
  159. Backpack = Player.Backpack
  160. Character = Player.Character
  161. Humanoid = Character.Humanoid
  162. Mouse = Player:GetMouse()
  163. RootPart = Character.HumanoidRootPart
  164. Torso = Character.Torso
  165. Head = Character.Head
  166. RightArm = Character["Right Arm"]
  167. LeftArm = Character["Left Arm"]
  168. RightLeg = Character["Right Leg"]
  169. LeftLeg = Character["Left Leg"]
  170. RootJoint = RootPart.RootJoint
  171. Neck = Torso.Neck
  172. RightShoulder = Torso["Right Shoulder"]
  173. LeftShoulder = Torso["Left Shoulder"]
  174. RightHip = Torso["Right Hip"]
  175. LeftHip = Torso["Left Hip"]
  176. Humanoid.JumpPower = 0
  177. local sick = Instance.new("Sound", Character)
  178. sick.SoundId = "rbxassetid://1167498170"
  179. sick.Name = "BGM"
  180. sick.Looped = true
  181. sick.Pitch = 1
  182. sick.Volume = 2
  183. sick:Play()
  184. musictime = 0
  185. Character.ChildRemoved:connect(function(removed)
  186. if removed.Name == "BGM" then
  187. local sick = Instance.new("Sound", Character)
  188. sick.SoundId = "rbxassetid://1167498170"
  189. sick.Name = "BGM"
  190. sick.Looped = true
  191. sick.Pitch = 1
  192. sick.Volume = 3
  193. sick.TimePosition = musictime
  194. sick:Play()
  195. end
  196. end)
  197. IT = Instance.new
  198. CF = CFrame.new
  199. VT = Vector3.new
  200. RAD = math.rad
  201. C3 = Color3.new
  202. UD2 = UDim2.new
  203. BRICKC = BrickColor.new
  204. ANGLES = CFrame.Angles
  205. EULER = CFrame.fromEulerAnglesXYZ
  206. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  207. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  208. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  209. COS = math.cos
  210. ACOS = math.acos
  211. SIN = math.sin
  212. ASIN = math.asin
  213. ABS = math.abs
  214. MRANDOM = math.random
  215. FLOOR = math.floor
  216. local LAUGHS = {834001699,834001752,834001828}
  217. local CHOICE = MRANDOM(1,4)
  218.  
  219. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  220. local NEWMESH = IT(MESH)
  221. if MESH == "SpecialMesh" then
  222. NEWMESH.MeshType = MESHTYPE
  223. if MESHID ~= "nil" and MESHID ~= "" then
  224. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  225. end
  226. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  227. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  228. end
  229. end
  230. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  231. NEWMESH.Scale = SCALE
  232. NEWMESH.Parent = PARENT
  233. return NEWMESH
  234. end
  235.  
  236. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  237. local NEWPART = IT("Part")
  238. NEWPART.formFactor = FORMFACTOR
  239. NEWPART.Reflectance = REFLECTANCE
  240. NEWPART.Transparency = TRANSPARENCY
  241. NEWPART.CanCollide = false
  242. NEWPART.Locked = true
  243. NEWPART.Anchored = true
  244. if ANCHOR == false then
  245. NEWPART.Anchored = false
  246. end
  247. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  248. NEWPART.Name = NAME
  249. NEWPART.Size = SIZE
  250. NEWPART.Position = Torso.Position
  251. NEWPART.Material = MATERIAL
  252. NEWPART:BreakJoints()
  253. NEWPART.Parent = PARENT
  254. return NEWPART
  255. end
  256. Player_Size = 3
  257. Animation_Speed = 3
  258. Frame_Speed = 0.016666666666666666
  259. local Speed = 35
  260. local Effects2 = {}
  261. local weldBetween = function(a, b)
  262. local weldd = Instance.new("ManualWeld")
  263. weldd.Part0 = a
  264. weldd.Part1 = b
  265. weldd.C0 = CFrame.new()
  266. weldd.C1 = b.CFrame:inverse() * a.CFrame
  267. weldd.Parent = a
  268. return weldd
  269. end
  270. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  271. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  272. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  273. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  274. local CHANGEDEFENSE = 0
  275. local CHANGEDAMAGE = 0
  276. local CHANGEMOVEMENT = 0
  277. local ANIM = "Idle"
  278. local ATTACK = false
  279. local EQUIPPED = false
  280. local HOLD = false
  281. local COMBO = 1
  282. local Rooted = false
  283. local SINE = 0
  284. local KEYHOLD = false
  285. local CHANGE = 2 / Animation_Speed
  286. local WALKINGANIM = false
  287. local WALK = 0
  288. local VALUE1 = false
  289. local VALUE2 = false
  290. local ROBLOXIDLEANIMATION = IT("Animation")
  291. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  292. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  293. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  294. WEAPONGUI.Name = "Weapon GUI"
  295. local Effects = IT("Folder", Character)
  296. Effects.Name = "Effects"
  297. local ANIMATOR = Humanoid.Animator
  298. local ANIMATE = Character.Animate
  299.  
  300. local UNANCHOR = true
  301.  
  302. ArtificialHB = Instance.new("BindableEvent", script)
  303. ArtificialHB.Name = "ArtificialHB"
  304. script:WaitForChild("ArtificialHB")
  305. frame = Frame_Speed
  306. tf = 0
  307. allowframeloss = false
  308. tossremainder = false
  309. lastframe = tick()
  310. script.ArtificialHB:Fire()
  311. game:GetService("RunService").Heartbeat:connect(function(s, p)
  312. tf = tf + s
  313. if tf >= frame then
  314. if allowframeloss then
  315. script.ArtificialHB:Fire()
  316. lastframe = tick()
  317. else
  318. for i = 1, math.floor(tf / frame) do
  319. script.ArtificialHB:Fire()
  320. end
  321. lastframe = tick()
  322. end
  323. if tossremainder then
  324. tf = 0
  325. else
  326. tf = tf - frame * math.floor(tf / frame)
  327. end
  328. end
  329. end)
  330. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  331. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  332. end
  333. function PositiveAngle(NUMBER)
  334. if NUMBER >= 0 then
  335. NUMBER = 0
  336. end
  337. return NUMBER
  338. end
  339. function NegativeAngle(NUMBER)
  340. if NUMBER <= 0 then
  341. NUMBER = 0
  342. end
  343. return NUMBER
  344. end
  345. function Swait(NUMBER)
  346. if NUMBER == 0 or NUMBER == nil then
  347. ArtificialHB.Event:wait()
  348. else
  349. for i = 1, NUMBER do
  350. ArtificialHB.Event:wait()
  351. end
  352. end
  353. end
  354. function QuaternionFromCFrame(cf)
  355. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  356. local trace = m00 + m11 + m22
  357. if trace > 0 then
  358. local s = math.sqrt(1 + trace)
  359. local recip = 0.5 / s
  360. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  361. else
  362. local i = 0
  363. if m00 < m11 then
  364. i = 1
  365. end
  366. if m22 > (i == 0 and m00 or m11) then
  367. i = 2
  368. end
  369. if i == 0 then
  370. local s = math.sqrt(m00 - m11 - m22 + 1)
  371. local recip = 0.5 / s
  372. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  373. elseif i == 1 then
  374. local s = math.sqrt(m11 - m22 - m00 + 1)
  375. local recip = 0.5 / s
  376. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  377. elseif i == 2 then
  378. local s = math.sqrt(m22 - m00 - m11 + 1)
  379. local recip = 0.5 / s
  380. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  381. end
  382. end
  383. end
  384. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  385. local xs, ys, zs = x + x, y + y, z + z
  386. local wx, wy, wz = w * xs, w * ys, w * zs
  387. local xx = x * xs
  388. local xy = x * ys
  389. local xz = x * zs
  390. local yy = y * ys
  391. local yz = y * zs
  392. local zz = z * zs
  393. 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))
  394. end
  395. Head.Color = C3(0,0,0)
  396. Torso.Color = C3(0,0,0)
  397. LeftArm.Color = C3(0,0,0)
  398. RightArm.Color = C3(0,0,0)
  399. LeftLeg.Color = C3(0,0,0)
  400. RightLeg.Color = C3(0,0,0)
  401. function QuaternionSlerp(a, b, t)
  402. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  403. local startInterp, finishInterp
  404. if cosTheta >= 1.0E-4 then
  405. if 1 - cosTheta > 1.0E-4 then
  406. local theta = ACOS(cosTheta)
  407. local invSinTheta = 1 / SIN(theta)
  408. startInterp = SIN((1 - t) * theta) * invSinTheta
  409. finishInterp = SIN(t * theta) * invSinTheta
  410. else
  411. startInterp = 1 - t
  412. finishInterp = t
  413. end
  414. elseif 1 + cosTheta > 1.0E-4 then
  415. local theta = ACOS(-cosTheta)
  416. local invSinTheta = 1 / SIN(theta)
  417. startInterp = SIN((t - 1) * theta) * invSinTheta
  418. finishInterp = SIN(t * theta) * invSinTheta
  419. else
  420. startInterp = t - 1
  421. finishInterp = t
  422. end
  423. 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
  424. end
  425. function Clerp(a, b, t)
  426. local qa = {
  427. QuaternionFromCFrame(a)
  428. }
  429. local qb = {
  430. QuaternionFromCFrame(b)
  431. }
  432. local ax, ay, az = a.x, a.y, a.z
  433. local bx, by, bz = b.x, b.y, b.z
  434. local _t = 1 - t
  435. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  436. end
  437. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  438. local frame = IT("Frame")
  439. frame.BackgroundTransparency = TRANSPARENCY
  440. frame.BorderSizePixel = BORDERSIZEPIXEL
  441. frame.Position = POSITION
  442. frame.Size = SIZE
  443. frame.BackgroundColor3 = COLOR
  444. frame.BorderColor3 = BORDERCOLOR
  445. frame.Name = NAME
  446. frame.Parent = PARENT
  447. return frame
  448. end
  449. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  450. local label = IT("TextLabel")
  451. label.BackgroundTransparency = 1
  452. label.Size = UD2(1, 0, 1, 0)
  453. label.Position = UD2(0, 0, 0, 0)
  454. label.TextColor3 = TEXTCOLOR
  455. label.TextStrokeTransparency = STROKETRANSPARENCY
  456. label.TextTransparency = TRANSPARENCY
  457. label.FontSize = TEXTFONTSIZE
  458. label.Font = TEXTFONT
  459. label.BorderSizePixel = BORDERSIZEPIXEL
  460. label.TextScaled = false
  461. label.Text = TEXT
  462. label.Name = NAME
  463. label.Parent = PARENT
  464. return label
  465. end
  466. function NoOutlines(PART)
  467. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  468. end
  469. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  470. local NEWWELD = IT(TYPE)
  471. NEWWELD.Part0 = PART0
  472. NEWWELD.Part1 = PART1
  473. NEWWELD.C0 = C0
  474. NEWWELD.C1 = C1
  475. NEWWELD.Parent = PARENT
  476. return NEWWELD
  477. end
  478. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  479. local NEWWELD = IT(TYPE)
  480. NEWWELD.Part0 = PART0
  481. NEWWELD.Part1 = PART1
  482. NEWWELD.C0 = C0
  483. NEWWELD.C1 = C1
  484. NEWWELD.Parent = PARENT
  485. return NEWWELD
  486. end
  487. local S = IT("Sound")
  488. function CreateSound(ID, PARENT, VOLUME, PITCH)
  489. local NEWSOUND
  490. coroutine.resume(coroutine.create(function()
  491. NEWSOUND = S:Clone()
  492. NEWSOUND.Parent = PARENT
  493. NEWSOUND.Volume = VOLUME
  494. NEWSOUND.Pitch = PITCH
  495. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  496. Swait()
  497. NEWSOUND:play()
  498. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  499. end))
  500. return NEWSOUND
  501. end
  502. function CFrameFromTopBack(at, top, back)
  503. local right = top:Cross(back)
  504. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  505. end
  506. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  507. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  508. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  509. wave.CFrame = CFRAME
  510. coroutine.resume(coroutine.create(function(PART)
  511. for i = 1, WAIT do
  512. Swait()
  513. mesh.Scale = mesh.Scale + GROW
  514. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  515. if DOESROT == true then
  516. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  517. end
  518. wave.Transparency = wave.Transparency + 0.5 / WAIT
  519. if wave.Transparency > 0.99 then
  520. wave:remove()
  521. end
  522. end
  523. end))
  524. end
  525. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  526. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  527. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  528. wave.CFrame = CFRAME
  529. coroutine.resume(coroutine.create(function(PART)
  530. for i = 1, WAIT do
  531. Swait()
  532. mesh.Scale = mesh.Scale + GROW
  533. if DOESROT == true then
  534. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  535. end
  536. wave.Transparency = wave.Transparency + 0.5 / WAIT
  537. if wave.Transparency > 0.99 then
  538. wave:remove()
  539. end
  540. end
  541. end))
  542. end
  543.  
  544. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  545. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  546. local mesh
  547. if KIND == "Base" then
  548. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  549. elseif KIND == "Thin" then
  550. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  551. elseif KIND == "Round" then
  552. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  553. end
  554. wave.CFrame = CFRAME
  555. coroutine.resume(coroutine.create(function(PART)
  556. for i = 1, WAIT do
  557. Swait()
  558. mesh.Scale = mesh.Scale + GROW / 10
  559. wave.Transparency = wave.Transparency + 0.5 / WAIT
  560. if wave.Transparency > 0.99 then
  561. wave:remove()
  562. end
  563. end
  564. end))
  565. end
  566. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  567. for _, c in pairs(PARENT:GetChildren()) do
  568. if c.ClassName == "Model" then
  569. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  570. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  571. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  572. if DIST > (TORSO.Position - FROM).Magnitude then
  573. table.insert(TABLE, c)
  574. end
  575. AddChildrenToTable(FROM, c, DIST, TABLE)
  576. elseif c.ClassName == "Folder" then
  577. AddChildrenToTable(FROM, c, DIST, TABLE)
  578. end
  579. end
  580. end
  581. end
  582. function MakeForm(PART, TYPE)
  583. if TYPE == "Cyl" then
  584. local MSH = IT("CylinderMesh", PART)
  585. elseif TYPE == "Ball" then
  586. local MSH = IT("SpecialMesh", PART)
  587. MSH.MeshType = "Sphere"
  588. elseif TYPE == "Wedge" then
  589. local MSH = IT("SpecialMesh", PART)
  590. MSH.MeshType = "Wedge"
  591. end
  592. end
  593.  
  594. local Particle = IT("ParticleEmitter",nil)
  595. Particle.Enabled = false
  596. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  597. Particle.LightEmission = 5
  598. Particle.Rate = 200
  599. Particle.ZOffset = 1
  600. Particle.Rotation = NumberRange.new(-180, 180)
  601. Particle.RotSpeed = NumberRange.new(-180, 180)
  602. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  603. Particle.Color = ColorSequence.new(C3(1, 1, 1),C3(1, 1, 1))
  604.  
  605. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  606. function ParticleEmitter(Table)
  607. local PRTCL = Particle:Clone()
  608. local Speed = Table.Speed or 5
  609. local Drag = Table.Drag or 0
  610. local Size1 = Table.Size1 or 1
  611. local Size2 = Table.Size2 or 5
  612. local Lifetime1 = Table.Lifetime1 or 1
  613. local Lifetime2 = Table.Lifetime2 or 1.5
  614. local Parent = Table.Parent or Torso
  615. local Emit = Table.Emit or 100
  616. local Offset = Table.Offset or 360
  617. local Acel = Table.Acel or VT(0,0,0)
  618. local Enabled = Table.Enabled or false
  619. PRTCL.Parent = Parent
  620. PRTCL.Size = NumberSequence.new(Size1,Size2)
  621. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  622. PRTCL.Speed = NumberRange.new(Speed)
  623. PRTCL.VelocitySpread = Offset
  624. PRTCL.Drag = Drag
  625. PRTCL.Acceleration = Acel
  626. if Enabled == false then
  627. PRTCL:Emit(Emit)
  628. Debris:AddItem(PRTCL,Lifetime2)
  629. else
  630. PRTCL.Enabled = true
  631. end
  632. return PRTCL
  633. end
  634.  
  635. local PRT = ParticleEmitter({Speed = 0.9, Drag = 100, Size1 = 0.6, Size2 = 0.9, Lifetime1 = 1.5, Lifetime2 = 1.5, Parent = RightLeg, Emit = 1000, Offset = 360, Enabled = true})
  636. PRT.LockedToPart = true
  637. local PRT = ParticleEmitter({Speed = 0.9, Drag = 100, Size1 = 0.6, Size2 = 0.9, Lifetime1 = 1.5, Lifetime2 = 1.5, Parent = LeftLeg, Emit = 1000, Offset = 360, Enabled = true})
  638. PRT.LockedToPart = true
  639. local PRT = ParticleEmitter({Speed = 0.9, Drag = 100, Size1 = 0.6, Size2 = 0.9, Lifetime1 = 1.5, Lifetime2 = 1.5, Parent = Torso, Emit = 1000, Offset = 360, Enabled = true})
  640. PRT.LockedToPart = true
  641. local PRT = ParticleEmitter({Speed = 0.9, Drag = 100, Size1 = 0.6, Size2 = 0.9, Lifetime1 = 1.5, Lifetime2 = 1.5, Parent = RightArm, Emit = 1000, Offset = 360, Enabled = true})
  642. PRT.LockedToPart = true
  643. local PRT = ParticleEmitter({Speed = 0.9, Drag = 100, Size1 = 0.6, Size2 = 0.9, Lifetime1 = 1.5, Lifetime2 = 1.5, Parent = LeftArm, Emit = 1000, Offset = 360, Enabled = true})
  644. PRT.LockedToPart = true
  645.  
  646.  
  647.  
  648. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Metenga", "Eye", VT(1,0.4,1.8)/2,false)
  649. MakeForm(Eye,"Ball")
  650. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0))
  651. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Metenga", "Eye", VT(1,0.4,1.8)/2,false)
  652. MakeForm(Eye,"Ball")
  653. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0))
  654. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Metenga", "Eye", VT(0.1,1,1)/2,false)
  655. MakeForm(Eye,"Ball")
  656. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0))
  657. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Metenga", "Eye", VT(0.1,1,1)/2,false)
  658. MakeForm(Eye,"Ball")
  659. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0))
  660.  
  661. function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine)
  662. if DoesCourontine == false then
  663. local Direction = CF(Part.Position, ToLocation)
  664. local Distance = (Part.Position - ToLocation).magnitude
  665. for i = 1, AmountOfTime do
  666. Swait()
  667. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  668. Direction = Part.CFrame
  669. end
  670. Part:remove()
  671. elseif DoesCourontine == true then
  672. coroutine.resume(coroutine.create(function()
  673. local Direction = CF(Part.Position, ToLocation)
  674. local Distance = (Part.Position - ToLocation).magnitude
  675. for i = 1, AmountOfTime do
  676. Swait()
  677. Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime)
  678. Direction = Part.CFrame
  679. end
  680. Part:remove()
  681. end))
  682. end
  683. end
  684. function CheckTableForString(Table, String)
  685. for i, v in pairs(Table) do
  686. if string.find(string.lower(String), string.lower(v)) then
  687. return true
  688. end
  689. end
  690. return false
  691. end
  692. function CheckIntangible(Hit)
  693. local ProjectileNames = {
  694. "Water",
  695. "Arrow",
  696. "Projectile",
  697. "Effect",
  698. "Rail",
  699. "Lightning",
  700. "Bullet"
  701. }
  702. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  703. return true
  704. end
  705. return false
  706. end
  707. Debris = game:GetService("Debris")
  708. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  709. local Direction = CFrame.new(StartPos, Vec).lookVector
  710. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  711. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  712. if RayHit and CheckIntangible(RayHit) then
  713. if DelayIfHit then
  714. wait()
  715. end
  716. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  717. end
  718. return RayHit, RayPos, RayNormal
  719. end
  720. function turnto(position)
  721. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  722. end
  723. local naeeym2 = Instance.new("BillboardGui", Character)
  724. naeeym2.AlwaysOnTop = true
  725. naeeym2.Size = UDim2.new(15, 35, 2, 15)
  726. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  727. naeeym2.Adornee = Character.Head
  728. naeeym2.Name = "Name"
  729. local tecks2 = Instance.new("TextLabel", naeeym2)
  730. tecks2.BackgroundTransparency = 1
  731. tecks2.TextScaled = true
  732. tecks2.BorderSizePixel = 0
  733. tecks2.Text = "Terraria Calamity Mod - UNIVERSAL COLLAPSE"
  734. tecks2.Font = "Arcade"
  735. tecks2.TextSize = 30
  736. tecks2.TextStrokeTransparency = 0
  737. tecks2.TextColor3 = Color3.new(255, 102, 204/255, 102, 204/255, 102, 204)
  738. tecks2.TextStrokeColor3 = BrickColor.new("Pink").Color
  739. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  740. tecks2.Parent = naeeym2
  741. Humanoid.Died:connect(function()
  742. Humanoid.Parent = nil
  743. Humanoid.MaxHealth = "inf"
  744. Humanoid.Health = "inf"
  745. refit()
  746. Humanoid.Parent = Character
  747. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,10,0.8)
  748. for i = 1, 5 do
  749. end
  750. killnearest(Torso.Position, 25, 180)
  751. end)
  752.  
  753. function killnearest(position, range, maxstrength)
  754. for i, v in ipairs(workspace:GetChildren()) do
  755. local body = v:GetChildren()
  756. for part = 1, #body do
  757. if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then
  758. if v.ClassName == "Model" then
  759. v:BreakJoints()
  760. end
  761. local bv = Instance.new("BodyVelocity")
  762. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  763. bv.velocity = CF(position, body[part].Position).lookVector * maxstrength
  764. bv.Parent = body[part]
  765. Debris:AddItem(bv, 0.2)
  766. end
  767. end
  768. if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then
  769. v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength
  770. end
  771. end
  772. end
  773. function Transparency(TRANS)
  774. tecks2.TextTransparency = TRANS
  775. tecks2.TextStrokeTransparency = TRANS
  776. for _, c in pairs(Character:GetChildren()) do
  777. if c.ClassName == "Part" and c ~= RootPart then
  778. c.Transparency = TRANS
  779. if c:FindFirstChildOfClass("Decal") then
  780. c:FindFirstChildOfClass("Decal").Transparency = TRANS
  781. end
  782. elseif c.ClassName == "Accessory" then
  783. c.Handle.Transparency = TRANS
  784. elseif c.ClassName == "Model" then
  785. for _, q in pairs(c:GetChildren()) do
  786. if q.ClassName == "Part" then
  787. q.Transparency = TRANS
  788. if q:FindFirstChildOfClass("Decal") then
  789. q:FindFirstChildOfClass("Decal").Transparency = TRANS
  790. end
  791. end
  792. end
  793. end
  794. end
  795. end
  796.  
  797. function Savage_Fire()
  798. ATTACK = true
  799. Rooted = true
  800. VALUE1 = true
  801. local HITBODIES = {}
  802.  
  803. for i = 0, 1.2, 0.1 / Animation_Speed do
  804. Swait()
  805.  
  806. if MRANDOM(1, 2) == 1 then
  807. do
  808.  
  809. end
  810. end
  811. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  815. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  816. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  817. end
  818. Character.Archivable = true
  819. local CLONE = Character:Clone()
  820. CLONE.BGM:remove()
  821. CLONE.Effects:remove()
  822. CLONE.Parent = Effects
  823.  
  824. local ORIGINPOS = RootPart.Position
  825. Transparency(1)
  826. VALUE2 = true
  827. RootPart.CFrame = CF(Mouse.Hit.p + VT(0, 5, 0), ORIGINPOS)
  828. for i = 1, 50 do
  829. Swait()
  830.  
  831. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  832. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  833. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  834. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.25 * COS(SINE / 12), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  835. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  836. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  837. end
  838.  
  839. coroutine.resume(coroutine.create(function()
  840. local PITS = {}
  841. local HITFLOOR, HITPOS, NORMAL = Raycast(CLONE.Torso.Position, CF(CLONE.Torso.Position, CLONE.Torso.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  842.  
  843. if HITFLOOR ~= nil then
  844. local POS = CLONE.Torso.Position
  845. CLONE:remove()
  846. for i = 1, 150 do
  847. Swait()
  848. local PEWSOUND = {
  849. "907527750",
  850. "907527912",
  851. "907528019",
  852. "907530553"
  853. }
  854. AddChildrenToTable(HITPOS, workspace, i, HITBODIES)
  855. if MRANDOM(1, 2) == 1 then
  856. local ICICLE = IT("CornerWedgePart", Effects)
  857. ICICLE.Locked = true
  858. ICICLE.CanCollide = false
  859. ICICLE.Anchored = true
  860. ICICLE.BrickColor = BRICKC("Ice White")
  861. ICICLE.Material = "Neon"
  862. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  863.  
  864. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 2, i / 2), 0, MRANDOM(-i / 2, i / 2)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  865. table.insert(PITS, ICICLE)
  866. for e = 1, #HITBODIES do
  867. if HITBODIES[e] ~= nil then
  868. local BOD = HITBODIES[e]
  869. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  870. if TORS then
  871. BOD:BreakJoints()
  872. for _, c in pairs(BOD:GetChildren()) do
  873. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  874. local bv = Instance.new("BodyVelocity")
  875. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  876. bv.velocity = CF(POS, c.Position).lookVector * 250
  877. bv.Parent = c
  878. Debris:AddItem(bv, 0.2)
  879. end
  880. end
  881. end
  882. end
  883. end
  884. HITBODIES = {}
  885. end
  886. end
  887. coroutine.resume(coroutine.create(function()
  888. for i = 1, 10 do
  889. Swait()
  890. for e = 1, #PITS do
  891. if PITS[e] ~= nil then
  892. local E = PITS[e]
  893. E.Transparency = E.Transparency + 0.1
  894. end
  895. end
  896. end
  897. for e = 1, #PITS do
  898. if PITS[e] ~= nil then
  899. local E = PITS[e]
  900. E:remove()
  901. end
  902. end
  903. end))
  904. end
  905. end))
  906. VALUE2 = false
  907. VALUE1 = false
  908. ATTACK = false
  909. Rooted = false
  910. for i = 1, 10 do
  911. Swait()
  912. Transparency(1 - i / 10)
  913. end
  914. end
  915. function Grave_Encounter()
  916. local HITBODIES = {}
  917. local PEWSOUND = {
  918. "907527750",
  919. "907527912",
  920. "907528019",
  921. "907530553"
  922. }
  923. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  924. if HITFLOOR ~= nil then
  925. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,10,0.8)
  926. ATTACK = true
  927. Rooted = false
  928. local GYRO = IT("BodyGyro", RootPart)
  929. GYRO.D = 100
  930. GYRO.P = 2000
  931. GYRO.MaxTorque = VT(0, 4000000, 0)
  932. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  933. for i = 0, 3.5, 0.1 / Animation_Speed do
  934. Swait()
  935. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  936. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  937. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  938. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  939. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  940. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  941. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  942. end
  943. for i = 0, 0.15, 0.1 / Animation_Speed do
  944. Swait()
  945. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  946. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  950. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  952. end
  953. Rooted = true
  954. GYRO:remove()
  955. coroutine.resume(coroutine.create(function()
  956. local PITS = {}
  957. local FRAME = RootPart.CFrame
  958. for i = 1, 200 do
  959. Swait()
  960. for e = 1, #HITBODIES do
  961. if HITBODIES[e] ~= nil then
  962. local BOD = HITBODIES[e]
  963. local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso")
  964. if TORS then
  965. BOD:BreakJoints()
  966. table.remove(HITBODIES, e)
  967. end
  968. end
  969. end
  970. local GLITCH = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Puddle", VT(2 + i / 2, 0, 2 + i / 2))
  971. MakeForm(GLITCH, "Cyl")
  972. GLITCH.CFrame = FRAME * CF(MRANDOM(-5, 5), 0, 5 - i * 3)
  973. local HITFLOOR, HITPOS, NORMAL = Raycast(GLITCH.Position, CF(GLITCH.Position, GLITCH.Position + VT(0, -1, 0)).lookVector, 25 * Player_Size, Character)
  974. if HITFLOOR ~= nil then
  975. table.insert(PITS, GLITCH)
  976. GLITCH.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  977. AddChildrenToTable(HITPOS, workspace, i / 2, HITBODIES)
  978. if MRANDOM(1, 2) == 1 then
  979. local ICICLE = IT("CornerWedgePart", Effects)
  980. ICICLE.Locked = true
  981. ICICLE.CanCollide = false
  982. ICICLE.Anchored = true
  983. ICICLE.BrickColor = BRICKC("Ice White")
  984. ICICLE.Material = "Neon"
  985. ICICLE.Size = VT(i / 10, i / 2, i / 10)
  986. CreateSound(PEWSOUND[MRANDOM(1, #PEWSOUND)], ICICLE, 10, 0.8)
  987. ICICLE.CFrame = CF(HITPOS) * CF(MRANDOM(-i / 10, i / 10), 0, MRANDOM(-i / 10, i / 10)) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-25, 25)))
  988. table.insert(PITS, ICICLE)
  989. end
  990. else
  991. GLITCH:remove()
  992. break
  993. end
  994. end
  995. coroutine.resume(coroutine.create(function()
  996. for i = 1, 10 do
  997. Swait()
  998. for e = 1, #PITS do
  999. if PITS[e] ~= nil then
  1000. local E = PITS[e]
  1001. E.Transparency = E.Transparency + 0.1
  1002. end
  1003. end
  1004. end
  1005. for e = 1, #PITS do
  1006. if PITS[e] ~= nil then
  1007. local E = PITS[e]
  1008. E:remove()
  1009. end
  1010. end
  1011. end))
  1012. end))
  1013. for i = 0, 1, 0.1 / Animation_Speed do
  1014. Swait()
  1015. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1016. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1017. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1018. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1019. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1020. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1021. end
  1022. ATTACK = false
  1023. Rooted = false
  1024. end
  1025. end
  1026. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1027. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Ice White"), "Effect", VT(1,1,1), true)
  1028. local mesh = IT("SpecialMesh",wave)
  1029. mesh.MeshType = "Sphere"
  1030. mesh.Scale = SIZE
  1031. mesh.Offset = VT(0,0,0)
  1032. wave.CFrame = CFRAME
  1033. coroutine.resume(coroutine.create(function(PART)
  1034. for i = 1, WAIT do
  1035. Swait()
  1036. mesh.Scale = mesh.Scale + GROW
  1037. wave.Transparency = wave.Transparency + (1/WAIT)
  1038. if wave.Transparency > 0.99 then
  1039. wave:remove()
  1040. end
  1041. end
  1042. end))
  1043. end
  1044. Player_Size = 1
  1045. function DeathAgreement()
  1046. ATTACK = true
  1047. Rooted = false
  1048. local SPEED = Speed
  1049. Speed = 10
  1050. CreateSound("926261373", Torso, 8, 1)
  1051. for i=0, 0, 0.1 / Animation_Speed do
  1052. Swait()
  1053. turnto(Mouse.Hit.p)
  1054. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Magenta",VT(-1/15,-1/15,-1/15))
  1055. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Magenta",VT(-2/15,-2/15,-2/15))
  1056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1059. end
  1060. for i=0, 0.15, 0.1 / Animation_Speed do
  1061. Swait()
  1062. turnto(Mouse.Hit.p)
  1063. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  1064. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1065. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1066.  
  1067. end
  1068. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Ice White", "Punch", VT(50,50,50),false)
  1069. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  1070. PART.Shape = "Ball"
  1071. local bv = Instance.new("BodyVelocity")
  1072. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1073. bv.velocity = RootPart.CFrame.lookVector*600
  1074. bv.Parent = PART
  1075. bv.Name = "PROJECTILEVELOCITY"
  1076. coroutine.resume(coroutine.create(function()
  1077. for i = 1, 10 do
  1078. Swait()
  1079. PART.Transparency = PART.Transparency + 0.2/10
  1080. PART.Size = PART.Size + VT(5,5,5)
  1081. killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame)
  1082. end
  1083. PART:Destroy()
  1084. end))
  1085. for i=0, 1, 0.1 / Animation_Speed do
  1086. Swait()
  1087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  1088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  1089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1091. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  1092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  1093. end
  1094. Speed = SPEED
  1095. ATTACK = false
  1096. Rooted = false
  1097. end
  1098. function Kill(Char)
  1099. local NewCharacter = IT("Model",Effects)
  1100. NewCharacter.Name = "Ow im ded ;-;"
  1101. for _, c in pairs(Char:GetDescendants()) do
  1102. if c:IsA("BasePart") and c.Transparency == 0 then
  1103. if c.Parent == Char then
  1104.  
  1105. end
  1106. c:BreakJoints()
  1107. c.Material = "Glass"
  1108. c.Color = C3(255/255,255/0,255/255)
  1109. c.CanCollide = true
  1110. c.Transparency = 0.3
  1111. if c:FindFirstChildOfClass("SpecialMesh") then
  1112. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1113. end
  1114. if c.Name == "Head" then
  1115. c:ClearAllChildren()
  1116. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1117. end
  1118. if c.ClassName == "MeshPart" then
  1119. c.TextureID = ""
  1120. end
  1121. if c:FindFirstChildOfClass("BodyPosition") then
  1122. c:FindFirstChildOfClass("BodyPosition"):remove()
  1123. end
  1124. if c:FindFirstChildOfClass("ParticleEmitter") then
  1125. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1126. end
  1127. c.Parent = NewCharacter
  1128. c.Name = "DeadPart"
  1129. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1130. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1131. end
  1132. end
  1133. Char:remove()
  1134. Debris:AddItem(NewCharacter,5)
  1135. end
  1136. INSTAKILL = true
  1137. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1138. local CHILDREN = workspace:GetDescendants()
  1139. for index, CHILD in pairs(CHILDREN) do
  1140. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1141. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1142. if HUM then
  1143. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1144. if TORSO then
  1145. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1146. if BRUTAL == true then
  1147. Kill(CHILD)
  1148. else
  1149. CHILD:BreakJoints()
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157. function Morning_Star()
  1158. ATTACK = true
  1159. Rooted = true
  1160.  
  1161. for i=0, 0.5, 0.1 / Animation_Speed do
  1162. Swait()
  1163. 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)
  1164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1165. end
  1166. coroutine.resume(coroutine.create(function()
  1167. local POS = Mouse.Hit.p
  1168.  
  1169. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Ice White", "Strike", VT(0,0,0))
  1170. MakeForm(SPHERE,"Ball")
  1171.  
  1172.  
  1173.  
  1174. SPHERE.CFrame = CF(POS)
  1175. CreateSound(144699494, SPHERE, 10, 0.8, false)
  1176. CreateSound(1146688617, SPHERE, 10, 0.8, false)
  1177. for i = 1, 200 do
  1178. Swait()
  1179.  
  1180.  
  1181. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1182.  
  1183. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1184. end
  1185. for i = 1, 45 do
  1186. Swait()
  1187.  
  1188. SPHERE.Transparency = SPHERE.Transparency + 1/45
  1189.  
  1190. end
  1191.  
  1192.  
  1193. SPHERE:remove()
  1194. end))
  1195. for i=0, 0.1, 0.1 / Animation_Speed do
  1196. Swait()
  1197. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1198. end
  1199. ATTACK = false
  1200. Rooted = false
  1201. end
  1202. function KillChildren(Char)
  1203. local NewCharacter = IT("Model",Effects)
  1204. NewCharacter.Name = "Ow im ded ;-;"
  1205. for _, c in pairs(Char:GetDescendants()) do
  1206. if c:IsA("BasePart") and c.Transparency == 0 then
  1207. if c.Parent == Char then
  1208.  
  1209. end
  1210. c:BreakJoints()
  1211. c.Material = "Glass"
  1212. c.Color = C3(255/255,255/0,255/255)
  1213. c.CanCollide = true
  1214. c.Transparency = 0.3
  1215. if c:FindFirstChildOfClass("SpecialMesh") then
  1216. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1217. end
  1218. if c.Name == "Head" then
  1219. c:ClearAllChildren()
  1220. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1221. end
  1222. if c.ClassName == "MeshPart" then
  1223. c.TextureID = ""
  1224. end
  1225. if c:FindFirstChildOfClass("BodyPosition") then
  1226. c:FindFirstChildOfClass("BodyPosition"):remove()
  1227. end
  1228. if c:FindFirstChildOfClass("ParticleEmitter") then
  1229. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1230. end
  1231. c.Parent = NewCharacter
  1232. c.Name = "DeadPart"
  1233. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1234. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1235. end
  1236. end
  1237. Char:remove()
  1238. Debris:AddItem(NewCharacter,5)
  1239. end
  1240.  
  1241.  
  1242. local Decal = IT("Decal")
  1243. BODY = {}
  1244. function Teleport()
  1245. ATTACK = true
  1246. Rooted = false
  1247. for i=0, 0.5, 0.1 / Animation_Speed do
  1248. Swait()
  1249. 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)
  1250. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1251. end
  1252. for e = 1, #BODY do
  1253. if BODY[e] ~= nil then
  1254. local STUFF = BODY[e]
  1255. local PART = STUFF[1]
  1256. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1257. local PRT = PART:Clone()
  1258. PRT.Anchored = true
  1259. PRT.CanCollide = false
  1260. PRT.Material = "Neon"
  1261. PRT.Color = C3(255/255,255/0,255/255)
  1262. PRT.Name = "WarpEffect"
  1263. PRT.Parent = Effects
  1264. PRT.CFrame = PART.CFrame
  1265. PRT:BreakJoints()
  1266. if PRT:FindFirstChildOfClass("Sound") then
  1267. PRT:FindFirstChildOfClass("Sound"):remove()
  1268. end
  1269. if PRT:FindFirstChildOfClass("Decal") then
  1270. PRT:FindFirstChildOfClass("Decal"):remove()
  1271. end
  1272. coroutine.resume(coroutine.create(function()
  1273. for i = 1, 100 do
  1274. Swait()
  1275. PRT.Transparency = PRT.Transparency + 1/100
  1276. end
  1277. PRT:remove()
  1278. end))
  1279. end
  1280. end
  1281. end
  1282. CreateSound(217767125, Torso, 10, 1)
  1283. local POS = RootPart.Orientation
  1284. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1285. RootPart.Orientation = POS
  1286. RootJoint.Parent = RootPart
  1287. for i=0, 0.5, 0.1 / Animation_Speed do
  1288. Swait()
  1289. 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)
  1290. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1291. end
  1292. for i=0, 0.1, 0.1 / Animation_Speed do
  1293. Swait()
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1295. end
  1296. ATTACK = false
  1297. Rooted = false
  1298. end
  1299. function TAUNT1()
  1300. ATTACK = true
  1301. Humanoid.WalkSpeed = 0
  1302. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso,10,0.8)
  1303. wait(2.5)
  1304. for i = 0,12.5,0.08 do
  1305. Swait()
  1306. RootJoint.C0 = Clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * COS(SINE / 2)) * ANGLES(RAD(-30), RAD(0), RAD(0)), 0.15)
  1307. Torso.Neck.C0 = Clerp(Torso.Neck.C0, NECKC0 * ANGLES(RAD(-30 - 2.5 * SIN(SINE / 2)), RAD(0), RAD(0)), 0.3)
  1308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.1 * COS(SINE / 2), 0.025 * COS(SINE / 2)) * RHCF * ANGLES(RAD(-4.5 - 7.5 * SIN(SINE / 2)), RAD(0), RAD(-30)), 0.15)
  1309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.1 * COS(SINE / 2), 0.025 * COS(SINE / 2)) * LHCF * ANGLES(RAD(-6.5 - 7.5 * SIN(SINE / 2)), RAD(0), RAD(30)), 0.15)
  1310. end
  1311. ATTACK = false
  1312. Humanoid.WalkSpeed = 20
  1313. end
  1314. function Petrify(Foe)
  1315. local STONEMODEL = IT("Model", Effects)
  1316. local CHILDREN = Foe:GetDescendants()
  1317. for index, CHILD in pairs(CHILDREN) do
  1318. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  1319. CHILD.Parent = STONEMODEL
  1320. CHILD.Material = "Neon"
  1321. CHILD.Color = C3(0, 0, 0)
  1322. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  1323. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  1324. mesh.TextureId = ""
  1325. end
  1326. if CHILD:FindFirstChildOfClass("Decal") then
  1327. local mesh = CHILD:FindFirstChildOfClass("Decal")
  1328. mesh:remove()
  1329. end
  1330. if CHILD.ClassName == "MeshPart" then
  1331. CHILD.TextureID = ""
  1332. end
  1333. if CHILD.ClassName == "UnionOperation" then
  1334. CHILD.UsePartColor = true
  1335. end
  1336. CHILD.CanCollide = true
  1337. end
  1338. end
  1339. Debris:AddItem(STONEMODEL, 5)
  1340. end
  1341. function Voided()
  1342. ATTACK = true
  1343. Rooted = true
  1344. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1345. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1346. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1347. if TORSO then
  1348. local GYRO = IT("BodyGyro", RootPart)
  1349. GYRO.D = 750
  1350. GYRO.P = 2000
  1351. GYRO.MaxTorque = VT(0, 40000, 0)
  1352. CreateSound("907329669", Torso, 10, 1)
  1353. for i = 0, 1.6, 0.1 / Animation_Speed do
  1354. Swait()
  1355.  
  1356. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1357. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  1358. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  1359. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1360. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1361. if ANIM == "Idle" then
  1362. 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(0)), 0.5 / Animation_Speed)
  1363. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1364. elseif ANIM == "Walk" then
  1365. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1366. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1367. elseif ANIM == "Jump" or ANIM == "Fall" then
  1368. 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)
  1369. 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)
  1370. end
  1371. end
  1372. GYRO:remove()
  1373. for i = 1, 15 do
  1374.  
  1375. end
  1376. local bv = Instance.new("BodyVelocity")
  1377. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1378. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  1379. bv.Parent = TORSO
  1380. Debris:AddItem(bv, 0.05)
  1381. CreateSound("1222405264", TORSO, 10, 1)
  1382. Petrify(HUM.Parent)
  1383. for i = 0, 0.5, 0.1 / Animation_Speed do
  1384. Swait()
  1385.  
  1386. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  1387. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1388. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  1389. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1390. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1391. if ANIM == "Idle" then
  1392. 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(0)), 0.5 / Animation_Speed)
  1393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1394. elseif ANIM == "Walk" then
  1395. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1396. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1397. elseif ANIM == "Jump" or ANIM == "Fall" then
  1398. 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)
  1399. 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)
  1400. end
  1401. end
  1402. end
  1403. end
  1404. ATTACK = false
  1405. Rooted = false
  1406. end
  1407.  
  1408. function TAUNT2()
  1409. CreateSound("907329044", Torso, 10, 1)
  1410. end
  1411. function TAUNT3()
  1412. CreateSound("907329293", Torso, 10, 1)
  1413. end
  1414. function TAUNT4()
  1415. CreateSound("907332525", Torso, 10, 1)
  1416. end
  1417. function TAUNT5()
  1418. CreateSound("907333406", Torso, 10, 1)
  1419. end
  1420. function TAUNT6()
  1421. CreateSound("907330011", Torso, 10, 1)
  1422. end
  1423. function TAUNT7()
  1424. CreateSound("907329532", Torso, 10, 1)
  1425. end
  1426. function TAUNT8()
  1427. CreateSound("907328384", Torso, 10, 1)
  1428. end
  1429. function TAUNT9()
  1430. CreateSound("907333294", Torso, 10, 1)
  1431. end
  1432. function TAUNT0()
  1433. CreateSound("907332856", Torso, 10, 1)
  1434. end
  1435. function TAUNT10()
  1436. CreateSound("907332670", Torso, 10, 1)
  1437. end
  1438. function TAUNT11()
  1439. CreateSound("907332235", Torso, 10, 1)
  1440. end
  1441. function TAUNT12()
  1442. CreateSound("907332040", Torso, 10, 1)
  1443. end
  1444. function TAUNT13()
  1445. CreateSound("907331575", Torso, 10, 1)
  1446. end
  1447. function TAUNT14()
  1448. CreateSound("907331038", Torso, 10, 1)
  1449. end
  1450. function TAUNT15()
  1451. CreateSound("907330447", Torso, 10, 1)
  1452. end
  1453. function TAUNT16()
  1454. CreateSound("907330198", Torso, 10, 1)
  1455. end
  1456. function TAUNT17()
  1457. CreateSound("907329669", Torso, 10, 1)
  1458. end
  1459. function TAUNT18()
  1460. CreateSound("907332997", Torso, 10, 1)
  1461. end
  1462. function TAUNT19()
  1463. CreateSound("907328689", Torso, 10, 1)
  1464. end
  1465. function TAUNT20()
  1466. CreateSound("907328516", Torso, 10, 1)
  1467. end
  1468. function TAUNT21()
  1469. CreateSound("907328262", Torso, 10, 1)
  1470. end
  1471. function TAUNT22()
  1472. CreateSound("907328147", Torso, 10, 1)
  1473. end
  1474. function TAUNT23()
  1475. CreateSound("907331307", Torso, 10, 1)
  1476. end
  1477.  
  1478. local HEADLERP = Instance.new("ManualWeld")
  1479. HEADLERP.Parent = Head
  1480. HEADLERP.Part0 = Head
  1481. HEADLERP.Part1 = Head
  1482. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1483. MseGuide = true
  1484. RunSrv = game:GetService("RunService")
  1485. RenderStepped = game:GetService("RunService").RenderStepped
  1486. OrgnC0 = Neck.C0
  1487. local movelimbs = coroutine.wrap(function()
  1488. while RunSrv.RenderStepped:wait() do
  1489. TrsoLV = Torso.CFrame.lookVector
  1490. Dist = nil
  1491. Diff = nil
  1492. if not MseGuide then
  1493. print("Failed to recognize")
  1494. else
  1495. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, Mouse.Hit.lookVector), Workspace, false, true)
  1496. Dist = (Head.CFrame.p-Point).magnitude
  1497. Diff = Head.CFrame.Y-Point.Y
  1498. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1499. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1500. end
  1501. end
  1502. end)
  1503. movelimbs()
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510. function MouseDown(Mouse)
  1511. if ATTACK == false then
  1512. end
  1513. end
  1514. function MouseUp(Mouse)
  1515. HOLD = false
  1516. end
  1517. function KeyDown(Key)
  1518. KEYHOLD = true
  1519. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  1520. if Key == "z" and ATTACK == false then
  1521. Voided()
  1522.  
  1523. elseif Key == "b" and ATTACK == false then
  1524. Savage_Fire()
  1525.  
  1526. elseif Key == "c" and ATTACK == false then
  1527. Grave_Encounter()
  1528.  
  1529. elseif Key == "x" and ATTACK == false then
  1530. Morning_Star()
  1531.  
  1532. elseif Key == "q" and ATTACK == false then
  1533. Teleport()
  1534.  
  1535.  
  1536. elseif Key == "r" and ATTACK == false then
  1537. TAUNT1()
  1538. elseif Key == "u" and ATTACK == false then
  1539. TAUNT2()
  1540. elseif Key == "y" and ATTACK == false then
  1541. TAUNT3()
  1542. elseif Key == "j" and ATTACK == false then
  1543. TAUNT4()
  1544. elseif Key == "h" and ATTACK == false then
  1545. TAUNT5()
  1546. elseif Key == "p" and ATTACK == false then
  1547. TAUNT6()
  1548. elseif Key == "[" and ATTACK == false then
  1549. TAUNT7()
  1550. elseif Key == "]" and ATTACK == false then
  1551. TAUNT8()
  1552. elseif Key == "f" and ATTACK == false then
  1553. TAUNT9()
  1554. elseif Key == "=" and ATTACK == false then
  1555. TAUNT0()
  1556. elseif Key == "-" and ATTACK == false then
  1557. TAUNT10()
  1558. elseif Key == "g" and ATTACK == false then
  1559. TAUNT11()
  1560. elseif Key == "o" and ATTACK == false then
  1561. TAUNT12()
  1562. elseif Key == "i" and ATTACK == false then
  1563. TAUNT13()
  1564. elseif Key == "7" and ATTACK == false then
  1565. TAUNT14()
  1566. elseif Key == "6" and ATTACK == false then
  1567. TAUNT15()
  1568. elseif Key == "t" and ATTACK == false then
  1569. TAUNT16()
  1570. elseif Key == "4" and ATTACK == false then
  1571. TAUNT17()
  1572. elseif Key == "3" and ATTACK == false then
  1573. TAUNT18()
  1574. elseif Key == "2" and ATTACK == false then
  1575. TAUNT19()
  1576. elseif Key == "1" and ATTACK == false then
  1577. TAUNT20()
  1578. elseif Key == "e" and ATTACK == false then
  1579. TAUNT21()
  1580. elseif Key == "l" and ATTACK == false then
  1581. TAUNT22()
  1582. elseif Key == "k" and ATTACK == false then
  1583. TAUNT23()
  1584. end
  1585. end
  1586. end
  1587. function KeyUp(Key)
  1588. KEYHOLD = false
  1589. end
  1590. Mouse.Button1Down:connect(function(NEWKEY)
  1591. MouseDown(NEWKEY)
  1592. DeathAgreement()
  1593. end)
  1594. Mouse.Button1Up:connect(function(NEWKEY)
  1595. MouseUp(NEWKEY)
  1596. end)
  1597. Mouse.KeyDown:connect(function(NEWKEY)
  1598. KeyDown(NEWKEY)
  1599. end)
  1600. Mouse.KeyUp:connect(function(NEWKEY)
  1601. KeyUp(NEWKEY)
  1602. end)
  1603. function unanchor()
  1604. if UNANCHOR == true then
  1605. g = Character:GetChildren()
  1606. for i = 1, #g do
  1607. if g[i].ClassName == "Part" then
  1608. g[i].Anchored = false
  1609. end
  1610. end
  1611. end
  1612. end
  1613. local FF = IT("ForceField", Character)
  1614. FF.Visible = false
  1615. function refit()
  1616. RootJoint.Parent = RootPart
  1617. Neck.Parent = Torso
  1618. RightShoulder.Parent = Torso
  1619. LeftShoulder.Parent = Torso
  1620. RightHip.Parent = Torso
  1621. LeftHip.Parent = Torso
  1622. RootPart.Parent = Character
  1623. LeftArm.Parent = Character
  1624. RightArm.Parent = Character
  1625. RightLeg.Parent = Character
  1626. LeftLeg.Parent = Character
  1627. Torso.Parent = Character
  1628. Head.Parent = Character
  1629. FF.Parent = Character
  1630. end
  1631.  
  1632. Humanoid.Changed:connect(function(Jump)
  1633. if Jump == "Jump" and Disable_Jump == true then
  1634. Humanoid.Jump = false
  1635. end
  1636. end)
  1637.  
  1638. sick.Parent = Character
  1639. script.Parent = WEAPONGUI
  1640. Character.Parent = workspace
  1641. Humanoid.PlatformStand = false
  1642. Humanoid.Name = "Unmaker"
  1643. Humanoid.DisplayDistanceType = "None"
  1644. Humanoid.HipHeight = 2
  1645. Head:ClearAllChildren()
  1646.  
  1647. Speed = 100
  1648. for _, c in pairs(Character:GetChildren()) do
  1649. if c.ClassName == "Part" then
  1650. c.Material = "Neon"
  1651.  
  1652. SIZE = 1
  1653.  
  1654. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  1655. PRT.Color = C3(0,0,0)
  1656. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  1657. CreateMesh("SpecialMesh", PRT, "FileMesh", "636922328", "636922344", VT(0.06,0.06,0.06)*SIZE, VT(0,0.08,1))
  1658.  
  1659. if c == Head then
  1660. if c:FindFirstChild("Dominus-Aureus-with-two-horns") == nil then
  1661. local M = CreateMesh("SpecialMesh", c, "FileMesh", "", "", VT(1.05,1.05,1.05) * 1.05, VT(0,0,0))
  1662. M.Name = "Dominus-Aureus-with-two-horns"
  1663. end
  1664. if c:FindFirstChild("face") then
  1665. c.face:remove()
  1666. end
  1667. end
  1668. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" then
  1669. c:remove()
  1670. end
  1671. end
  1672. Humanoid.MaxHealth = "inf"
  1673. Humanoid.Health = "inf"
  1674.  
  1675. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1676. while true do
  1677. Swait()
  1678. ANIMATE.Parent = nil
  1679. IDLEANIMATION:Play()
  1680. SINE = SINE + CHANGE
  1681. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1682. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1683. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1684. local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character)
  1685. if TORSOVELOCITY < 1 then
  1686. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1687.  
  1688. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1689. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1690. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 12), -0.1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  1691. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1, -0.6 - 0.15 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(25)), 0.15 / Animation_Speed)
  1692. elseif TORSOVELOCITY > 1 then
  1693. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(30 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1694.  
  1695. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1697. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1698. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1699. end
  1700.  
  1701. unanchor()
  1702. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement