Advertisement
Silver_cole

hm, hm, hahahahahahahaa

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