Advertisement
pasterultimate22

Nightfall v3

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