Advertisement
XSleepyDemonX_17

imscared

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