Advertisement
Im_Meme

Abysailum [Rare]

Apr 8th, 2018
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.72 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9. local Player = game.Players.localPlayer
  10. local Character = Player.Character
  11. local Humanoid = Character.Humanoid
  12. local Mouse = Player:GetMouse()
  13. local LeftArm = Character["Left Arm"]
  14. local RightArm = Character["Right Arm"]
  15. local LeftLeg = Character["Left Leg"]
  16. local RightLeg = Character["Right Leg"]
  17. local Head = Character.Head
  18. local Torso = Character.Torso
  19. local Camera = game.Workspace.CurrentCamera
  20. local RootPart = Character.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local attack = false
  23. local Anim = 'Idle'
  24. local Lighty = game:GetService"Lighting"
  25. local attacktype = 1
  26. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  27. local velocity = RootPart.Velocity.y
  28. local sine = 0
  29. local change = 1
  30. local Create = LoadLibrary("RbxUtility").Create
  31.  
  32.  
  33. local chara = Character
  34. local m = Create("Model"){
  35. Parent = Character,
  36. Name = "WeaponModel",
  37. }
  38. function chat(...)
  39. local txxt = {...}
  40. local ch = coroutine.wrap(function()
  41. if chara:FindFirstChild("Chatt")~= nil then
  42. Character:FindFirstChild("Chatt"):destroy()
  43. end
  44. local txt = Instance.new("BillboardGui", chara)
  45. txt.Adornee = chara.Head
  46. txt.Name = "Chatt"
  47. txt.Size = UDim2.new(2, 0, 1.2, 0)
  48. txt.StudsOffset = Vector3.new(-9, 7, 0)
  49. local text = Instance.new("TextLabel", txt)
  50. text.Size = UDim2.new(10, 0, 7, 0)
  51. text.TextSize = 24
  52. text.Font = Enum.Font.Fantasy
  53. text.TextScaled = false
  54. text.BackgroundTransparency = 1
  55. text.TextColor3 = Color3.new(0,0,0)
  56. text.TextStrokeTransparency = 0
  57. text.TextStrokeColor3 = Color3.new(0,0,0)
  58. text.Text = ""
  59. txxt = table.concat(txxt,"\t")
  60. for i = 1, #txxt do
  61. text.Text = txxt:sub(1,i)
  62.  
  63. end
  64. wait(2)
  65. for trans = 0,1,.1 do
  66. text.TextTransparency = trans
  67. text.TextStrokeTransparency = trans
  68. wait()
  69. end
  70. wait()
  71. txt:destroy()
  72. end)
  73.  
  74. ch(...)
  75. end
  76. Player.Chatted:connect(chat)
  77. warn("Q to teleport")
  78. warn("E to create a sinkhole")
  79. warn("R to create a massive sinkhole")
  80. warn("T to laugh")
  81. Player = game:GetService("Players").LocalPlayer
  82. PlayerGui = Player.PlayerGui
  83. Cam = workspace.CurrentCamera
  84. Backpack = Player.Backpack
  85. Character = Player.Character
  86. Humanoid = Character.Humanoid
  87. Mouse = Player:GetMouse()
  88. RootPart = Character["HumanoidRootPart"]
  89. Torso = Character["Torso"]
  90. Head = Character["Head"]
  91. RightArm = Character["Right Arm"]
  92. LeftArm = Character["Left Arm"]
  93. RightLeg = Character["Right Leg"]
  94. LeftLeg = Character["Left Leg"]
  95. RootJoint = RootPart["RootJoint"]
  96. Neck = Torso["Neck"]
  97. RightShoulder = Torso["Right Shoulder"]
  98. LeftShoulder = Torso["Left Shoulder"]
  99. RightHip = Torso["Right Hip"]
  100. LeftHip = Torso["Left Hip"]
  101. local sick = Instance.new("Sound",Character)
  102. sick.SoundId = "rbxassetid://573736432"
  103. sick.Looped = true
  104. sick.Pitch = 1
  105. sick.Volume = 1
  106. Humanoid.DisplayDistanceType = "None"
  107.  
  108. IT = Instance.new
  109. CF = CFrame.new
  110. VT = Vector3.new
  111. RAD = math.rad
  112. C3 = Color3.new
  113. UD2 = UDim2.new
  114. BRICKC = BrickColor.new
  115. ANGLES = CFrame.Angles
  116. EULER = CFrame.fromEulerAnglesXYZ
  117. COS = math.cos
  118. ACOS = math.acos
  119. SIN = math.sin
  120. ASIN = math.asin
  121. ABS = math.abs
  122. MRANDOM = math.random
  123. FLOOR = math.floor
  124.  
  125. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  126. local NEWMESH = IT(MESH)
  127. if MESH == "SpecialMesh" then
  128. NEWMESH.MeshType = MESHTYPE
  129. if MESHID ~= "nil" and MESHID ~= "" then
  130. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  131. end
  132. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  133. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  134. end
  135. end
  136. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  137. NEWMESH.Scale = SCALE
  138. NEWMESH.Parent = PARENT
  139. return NEWMESH
  140. end
  141.  
  142. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  143. local NEWPART = IT("Part")
  144. NEWPART.formFactor = FORMFACTOR
  145. NEWPART.Reflectance = REFLECTANCE
  146. NEWPART.Transparency = TRANSPARENCY
  147. NEWPART.CanCollide = false
  148. NEWPART.Locked = true
  149. NEWPART.Anchored = true
  150. if ANCHOR == false then
  151. NEWPART.Anchored = false
  152. end
  153. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  154. NEWPART.Name = NAME
  155. NEWPART.Size = SIZE
  156. NEWPART.Position = Torso.Position
  157. NEWPART.Material = MATERIAL
  158. NEWPART:BreakJoints()
  159. NEWPART.Parent = PARENT
  160. return NEWPART
  161. end
  162.  
  163. --//=================================\\
  164. --|| CUSTOMIZATION
  165. --\\=================================//
  166.  
  167. Player_Size = 1.5 --Size of the player.
  168. Animation_Speed = 3
  169. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  170.  
  171. local Speed = 20
  172. local Effects2 = {}
  173.  
  174. --//=================================\\
  175. --|| END OF CUSTOMIZATION
  176. --\\=================================//
  177.  
  178. local function weldBetween(a, b)
  179. local weldd = Instance.new("ManualWeld")
  180. weldd.Part0 = a
  181. weldd.Part1 = b
  182. weldd.C0 = CFrame.new()
  183. weldd.C1 = b.CFrame:inverse() * a.CFrame
  184. weldd.Parent = a
  185. return weldd
  186. end
  187.  
  188. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  189. local acs = Instance.new("Part")
  190. acs.CanCollide = false
  191. acs.Anchored = false
  192. acs.Size = Vector3.new(0,0,0)
  193. acs.CFrame = attachmentpart.CFrame
  194. acs.Parent = Character
  195. acs.BrickColor = color
  196. local meshs = Instance.new("SpecialMesh")
  197. meshs.MeshId = mesh
  198. meshs.TextureId = texture
  199. meshs.Parent = acs
  200. meshs.Scale = scale
  201. meshs.Offset = offset
  202. weldBetween(attachmentpart,acs)
  203. end
  204.  
  205. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  206. if TYPE == "Gem" then
  207. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  208. acs.Anchored = false
  209. acs.CanCollide = false
  210. acs.CFrame = PART.CFrame
  211. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  212. weldBetween(PART,acs)
  213. elseif TYPE == "Skull" then
  214. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  215. acs.Anchored = false
  216. acs.CanCollide = false
  217. acs.CFrame = PART.CFrame
  218. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  219. weldBetween(PART,acs)
  220. elseif TYPE == "Eye" then
  221. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  222. acs.Anchored = false
  223. acs.CanCollide = false
  224. acs.CFrame = PART.CFrame
  225. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  226. weldBetween(PART,acs)
  227. end
  228. end
  229.  
  230. --//=================================\\
  231. --|| USEFUL VALUES
  232. --\\=================================//
  233.  
  234. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  235. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  236. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  237. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  238. local CHANGEDEFENSE = 0
  239. local CHANGEDAMAGE = 0
  240. local CHANGEMOVEMENT = 0
  241. local ANIM = "Idle"
  242. local ATTACK = false
  243. local EQUIPPED = false
  244. local HOLD = false
  245. local COMBO = 1
  246. local Rooted = false
  247. local SINE = 0
  248. local HITFLOOR = nil
  249. local HITPOS = nil
  250. local KEYHOLD = false
  251. local CHANGE = 2 / Animation_Speed
  252. local WALKINGANIM = false
  253. local WALK = 0
  254. local VALUE1 = false
  255. local VALUE2 = false
  256. local ROBLOXIDLEANIMATION = IT("Animation")
  257. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  258. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  259. --ROBLOXIDLEANIMATION.Parent = Humanoid
  260. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  261. WEAPONGUI.Name = "Weapon GUI"
  262. local Weapon = IT("Model")
  263. Weapon.Name = "Adds"
  264. local Effects = IT("Folder", Weapon)
  265. Effects.Name = "Effects"
  266. local ANIMATOR = Humanoid.Animator
  267. local ANIMATE = Character.Animate
  268. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  269. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  270. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  271. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  272. local UNANCHOR = true
  273.  
  274. local SKILLTEXTCOLOR = C3(255,255,255)
  275.  
  276. --//=================================\\
  277. --\\=================================//
  278.  
  279.  
  280. --//=================================\\
  281. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  282. --\\=================================//
  283.  
  284. ArtificialHB = Instance.new("BindableEvent", script)
  285. ArtificialHB.Name = "ArtificialHB"
  286.  
  287. script:WaitForChild("ArtificialHB")
  288.  
  289. frame = Frame_Speed
  290. tf = 0
  291. allowframeloss = false
  292. tossremainder = false
  293. lastframe = tick()
  294. script.ArtificialHB:Fire()
  295.  
  296. game:GetService("RunService").Heartbeat:connect(function(s, p)
  297. tf = tf + s
  298. if tf >= frame then
  299. if allowframeloss then
  300. script.ArtificialHB:Fire()
  301. lastframe = tick()
  302. else
  303. for i = 1, math.floor(tf / frame) do
  304. script.ArtificialHB:Fire()
  305. end
  306. lastframe = tick()
  307. end
  308. if tossremainder then
  309. tf = 0
  310. else
  311. tf = tf - frame * math.floor(tf / frame)
  312. end
  313. end
  314. end)
  315.  
  316. --//=================================\\
  317. --\\=================================//
  318.  
  319.  
  320.  
  321.  
  322.  
  323. --//=================================\\
  324. --|| SOME FUNCTIONS
  325. --\\=================================//
  326.  
  327. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  328. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  329. end
  330.  
  331. function PositiveAngle(NUMBER)
  332. if NUMBER >= 0 then
  333. NUMBER = 0
  334. end
  335. return NUMBER
  336. end
  337.  
  338. function NegativeAngle(NUMBER)
  339. if NUMBER <= 0 then
  340. NUMBER = 0
  341. end
  342. return NUMBER
  343. end
  344.  
  345. function Swait(NUMBER)
  346. if NUMBER == 0 or NUMBER == nil then
  347. ArtificialHB.Event:wait()
  348. else
  349. for i = 1, NUMBER do
  350. ArtificialHB.Event:wait()
  351. end
  352. end
  353. end
  354.  
  355. function QuaternionFromCFrame(cf)
  356. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  357. local trace = m00 + m11 + m22
  358. if trace > 0 then
  359. local s = math.sqrt(1 + trace)
  360. local recip = 0.5 / s
  361. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  362. else
  363. local i = 0
  364. if m11 > m00 then
  365. i = 1
  366. end
  367. if m22 > (i == 0 and m00 or m11) then
  368. i = 2
  369. end
  370. if i == 0 then
  371. local s = math.sqrt(m00 - m11 - m22 + 1)
  372. local recip = 0.5 / s
  373. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  374. elseif i == 1 then
  375. local s = math.sqrt(m11 - m22 - m00 + 1)
  376. local recip = 0.5 / s
  377. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  378. elseif i == 2 then
  379. local s = math.sqrt(m22 - m00 - m11 + 1)
  380. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  381. end
  382. end
  383. end
  384.  
  385. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  386. local xs, ys, zs = x + x, y + y, z + z
  387. local wx, wy, wz = w * xs, w * ys, w * zs
  388. local xx = x * xs
  389. local xy = x * ys
  390. local xz = x * zs
  391. local yy = y * ys
  392. local yz = y * zs
  393. local zz = z * zs
  394. 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))
  395. end
  396.  
  397. function QuaternionSlerp(a, b, t)
  398. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  399. local startInterp, finishInterp;
  400. if cosTheta >= 0.0001 then
  401. if (1 - cosTheta) > 0.0001 then
  402. local theta = ACOS(cosTheta)
  403. local invSinTheta = 1 / SIN(theta)
  404. startInterp = SIN((1 - t) * theta) * invSinTheta
  405. finishInterp = SIN(t * theta) * invSinTheta
  406. else
  407. startInterp = 1 - t
  408. finishInterp = t
  409. end
  410. else
  411. if (1 + cosTheta) > 0.0001 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. end
  421. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  422. end
  423.  
  424. function Clerp(a, b, t)
  425. local qa = {QuaternionFromCFrame(a)}
  426. local qb = {QuaternionFromCFrame(b)}
  427. local ax, ay, az = a.x, a.y, a.z
  428. local bx, by, bz = b.x, b.y, b.z
  429. local _t = 1 - t
  430. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  431. end
  432.  
  433. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  434. local frame = IT("Frame")
  435. frame.BackgroundTransparency = TRANSPARENCY
  436. frame.BorderSizePixel = BORDERSIZEPIXEL
  437. frame.Position = POSITION
  438. frame.Size = SIZE
  439. frame.BackgroundColor3 = COLOR
  440. frame.BorderColor3 = BORDERCOLOR
  441. frame.Name = NAME
  442. frame.Parent = PARENT
  443. return frame
  444. end
  445.  
  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.TextStrokeColor3 = C3(1,1,1)
  453. label.TextStrokeTransparency = 0
  454. label.TextTransparency = TRANSPARENCY
  455. label.FontSize = TEXTFONTSIZE
  456. label.Font = TEXTFONT
  457. label.BorderSizePixel = BORDERSIZEPIXEL
  458. label.TextScaled = false
  459. label.Text = TEXT
  460. label.Name = NAME
  461. label.Parent = PARENT
  462. return label
  463. end
  464.  
  465. function NoOutlines(PART)
  466. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  467. end
  468.  
  469.  
  470. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  471. local NEWWELD = IT(TYPE)
  472. NEWWELD.Part0 = PART0
  473. NEWWELD.Part1 = PART1
  474. NEWWELD.C0 = C0
  475. NEWWELD.C1 = C1
  476. NEWWELD.Parent = PARENT
  477. return NEWWELD
  478. end
  479.  
  480. function CreateSound(ID, PARENT, VOLUME, PITCH)
  481. local NEWSOUND = nil
  482. coroutine.resume(coroutine.create(function()
  483. NEWSOUND = IT("Sound", PARENT)
  484. NEWSOUND.Volume = VOLUME
  485. NEWSOUND.Pitch = PITCH
  486. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  487. Swait()
  488. NEWSOUND:play()
  489. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  490. end))
  491. return NEWSOUND
  492. end
  493.  
  494. function CFrameFromTopBack(at, top, back)
  495. local right = top:Cross(back)
  496. 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)
  497. end
  498.  
  499. function MakeForm(PART,TYPE)
  500. local MSH = nil
  501. if TYPE == "Cyl" then
  502. MSH = IT("CylinderMesh",PART)
  503. elseif TYPE == "Ball" then
  504. MSH = IT("SpecialMesh",PART)
  505. MSH.MeshType = "Sphere"
  506. elseif TYPE == "Wedge" then
  507. MSH = IT("SpecialMesh",PART)
  508. MSH.MeshType = "Wedge"
  509. end
  510. return MSH
  511. end
  512.  
  513. Debris = game:GetService("Debris")
  514.  
  515. --//=================================\\
  516. --|| WEAPON CREATION
  517. --\\=================================//
  518.  
  519. local Hole = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  520. local MESH = MakeForm(Hole,"Cyl")
  521.  
  522. for _, c in pairs(Weapon:GetChildren()) do
  523. if c.ClassName == "Part" then
  524. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  525. end
  526. end
  527.  
  528. Weapon.Parent = Character
  529.  
  530. Humanoid.Died:connect(function()
  531. ATTACK = true
  532. end)
  533.  
  534.  
  535.  
  536. --//=================================\\
  537. --|| DAMAGING
  538. --\\=================================//
  539.  
  540. function Sink(position,radius)
  541. for i,v in ipairs(workspace:GetChildren()) do
  542. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  543. local body = v:GetChildren()
  544. for part = 1, #body do
  545. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  546. if(body[part].Position - position).Magnitude < radius then
  547. if v.ClassName == "Model" then
  548. if v:FindFirstChild("Humanoid") then
  549. local defence = Instance.new("BoolValue",v)
  550. defence.Name = ("Hit2By"..Player.Name)
  551. if v.Humanoid.Health ~= 0 then
  552. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  553. if TORS ~= nil then
  554. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  555. coroutine.resume(coroutine.create(function()
  556. if HITFLOOR2 ~= nil then
  557. TORS.Anchored = true
  558. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(TORS.Size.X*4,0,TORS.Size.X*4))
  559. Hole2.Color = C3(0,0,0)
  560. local MESH = MakeForm(Hole2,"Cyl")
  561. MESH.Scale = VT(0,1,0)
  562. Hole2.CFrame = CF(HITPOS2)
  563. for i = 1, 10 do
  564. Swait()
  565. MESH.Scale = MESH.Scale + VT(0.1,0,0.1)
  566. end
  567. repeat
  568. Swait()
  569. TORS.CFrame = TORS.CFrame * CF(0,-0.1,0)
  570. until TORS.Position.Y<position.Y-4
  571. v:remove()
  572. for i = 1, 10 do
  573. Swait()
  574. MESH.Scale = MESH.Scale - VT(0.1,0,0.1)
  575. end
  576. Hole2:remove()
  577. end
  578. end))
  579. end
  580. end
  581. end
  582. end
  583. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  584. end
  585. end
  586. end
  587. end
  588. end
  589. end
  590.  
  591. --//=================================\\
  592. --|| ATTACK FUNCTIONS AND STUFF
  593. --\\=================================//
  594.  
  595. function Trail(Part)
  596. local TRAIL = Part:Clone()
  597. TRAIL.CanCollide = false
  598. TRAIL.Anchored = true
  599. TRAIL.Parent = Effects
  600. TRAIL.Name = "Trail"
  601. local TRANS = Part.Transparency
  602. coroutine.resume(coroutine.create(function()
  603. for i = 1, 20 do
  604. Swait()
  605. TRAIL.Transparency = TRAIL.Transparency + ((1-TRANS)/20)
  606. end
  607. TRAIL:remove()
  608. end))
  609. end
  610.  
  611. function AttackTemplate()
  612. ATTACK = true
  613. Rooted = false
  614. for i=0, 1, 0.1 / Animation_Speed do
  615. Swait()
  616. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  617. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  618. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  619. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  620. 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.15 / Animation_Speed)
  621. 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.15 / Animation_Speed)
  622. end
  623. ATTACK = false
  624. Rooted = false
  625. end
  626.  
  627. function Intro()
  628. coroutine.resume(coroutine.create(function()
  629. ATTACK = true
  630. Rooted = true
  631. UNANCHOR = false
  632. RootPart.Anchored = true
  633. for i=0, 2, 0.1 / Animation_Speed do
  634. Swait()
  635. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  639. 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.15 / Animation_Speed)
  640. 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.15 / Animation_Speed)
  641. end
  642. for i=0, 4, 0.1 / Animation_Speed do
  643. Swait()
  644. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  648. 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.15 / Animation_Speed)
  649. 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.15 / Animation_Speed)
  650. end
  651. VALUE1 = true
  652. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  653. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  654. MakeForm(part,"Ball")
  655. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eye", VT(0.2,0.3,0.1),false)
  656. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.16,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  657. MakeForm(part,"Ball")
  658. Swait(15)
  659. Humanoid.HipHeight = 2
  660. sick:Play()
  661. CreateSound("649634100", Head, 10, 0.6)
  662. for i=0, 2, 0.1 / Animation_Speed do
  663. Swait()
  664. 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)
  665. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  666. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  667. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  668. 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)
  669. 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(45)), 0.15 / Animation_Speed)
  670. end
  671. UNANCHOR = true
  672. ATTACK = false
  673. Rooted = false
  674. end))
  675. end
  676.  
  677. function Warp()
  678. ATTACK = true
  679. Rooted = true
  680. UNANCHOR = false
  681. RootPart.Anchored = true
  682. for i=0, 1, 0.1 / Animation_Speed do
  683. Swait()
  684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.3) * ANGLES(RAD(180), RAD(0), RAD(0)), 1 / Animation_Speed)
  685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  688. 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)), 1 / Animation_Speed)
  689. 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)), 1 / Animation_Speed)
  690. end
  691. for i=0, 1, 0.1 / Animation_Speed do
  692. Swait()
  693. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -15) * ANGLES(RAD(180), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  694. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  695. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  696. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 1.5, 0) * ANGLES(RAD(180), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  697. 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)), 1 / Animation_Speed)
  698. 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)), 1 / Animation_Speed)
  699. end
  700. for i = 1, 50 do
  701. Swait()
  702. Trail(Hole)
  703. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  704. end
  705. local ORIGINPOS = RootPart.Position
  706. RootPart.CFrame = CF(VT(Mouse.Hit.p.X,RootPart.Position.Y,Mouse.Hit.p.Z),ORIGINPOS)
  707. CreateSound("466493476", Hole, 10, 1)
  708. for i = 1, 50 do
  709. Swait()
  710. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  711. end
  712. for i=0, 2, 0.1 / Animation_Speed do
  713. Swait()
  714. 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)
  715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  716. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  717. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  718. 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)
  719. 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(45)), 0.15 / Animation_Speed)
  720. end
  721. UNANCHOR = true
  722. ATTACK = false
  723. Rooted = false
  724. end
  725.  
  726. function Sinkhole()
  727. coroutine.resume(coroutine.create(function()
  728. local Hole2 = CreatePart(3, Effects, "Neon", 0, 0, "White", "Hole", VT(15,0,15))
  729. Hole2.Color = C3(0,0,0)
  730. local MESH = MakeForm(Hole2,"Cyl")
  731. MESH.Scale = VT(0,1,0)
  732. Hole2.CFrame = CF(Mouse.Hit.p)
  733. CreateSound("466493476", Hole2, 10, 1)
  734. for i = 1, 50 do
  735. Swait()
  736. MESH.Scale = MESH.Scale + VT(0.02,0,0.02)
  737. end
  738. for i = 1, 200 do
  739. Swait()
  740. Sink(Hole2.Position,Hole2.Size.X/2.2)
  741. end
  742. Swait(100)
  743. for i = 1, 50 do
  744. Swait()
  745. Trail(Hole2)
  746. MESH.Scale = MESH.Scale - VT(0.02,0,0.02)
  747. end
  748. Hole2:remove()
  749. end))
  750. end
  751.  
  752. function AbyssGate()
  753. VALUE2 = true
  754. coroutine.resume(coroutine.create(function()
  755. CreateSound("466493476", Hole, 10, 0.1)
  756. for i = 1, 500 do
  757. Swait()
  758. Hole.Size = Hole.Size + VT(1,0,1)
  759. end
  760. Swait(100)
  761. for i = 1, 500 do
  762. Swait()
  763. Trail(Hole)
  764. Hole.Size = Hole.Size - VT(1,0,1)
  765. end
  766. VALUE2 = false
  767. end))
  768. end
  769.  
  770. --//=================================\\
  771. --|| ASSIGN THINGS TO KEYS
  772. --\\=================================//
  773.  
  774. function MouseDown(Mouse)
  775. if ATTACK == false then
  776. end
  777. end
  778.  
  779. function MouseUp(Mouse)
  780. HOLD = false
  781. end
  782.  
  783. function KeyDown(Key)
  784. KEYHOLD = true
  785. if Key == "q" and ATTACK == false and HITFLOOR ~= nil and VALUE2 == false then
  786. Warp()
  787. end
  788.  
  789. if Key == "e" and ATTACK == false then
  790. Sinkhole()
  791. end
  792.  
  793. if Key == "r" and ATTACK == false and VALUE2 == false then
  794. AbyssGate()
  795. end
  796.  
  797. if Key == "t" and ATTACK == false then
  798. CreateSound("649634100", Head, 10, 0.6)
  799. end
  800. end
  801.  
  802. function KeyUp(Key)
  803. KEYHOLD = false
  804. end
  805.  
  806. Mouse.Button1Down:connect(function(NEWKEY)
  807. MouseDown(NEWKEY)
  808. end)
  809. Mouse.Button1Up:connect(function(NEWKEY)
  810. MouseUp(NEWKEY)
  811. end)
  812. Mouse.KeyDown:connect(function(NEWKEY)
  813. KeyDown(NEWKEY)
  814. end)
  815. Mouse.KeyUp:connect(function(NEWKEY)
  816. KeyUp(NEWKEY)
  817. end)
  818.  
  819. --//=================================\\
  820. --\\=================================//
  821.  
  822.  
  823. function unanchor()
  824. if UNANCHOR == true then
  825. g = Character:GetChildren()
  826. for i = 1, #g do
  827. if g[i].ClassName == "Part" then
  828. g[i].Anchored = false
  829. end
  830. end
  831. end
  832. end
  833.  
  834.  
  835. --//=================================\\
  836. --|| WRAP THE WHOLE SCRIPT UP
  837. --\\=================================//
  838.  
  839. Humanoid.Changed:connect(function(Jump)
  840. if Jump == "Jump" and (Disable_Jump == true) then
  841. Humanoid.Jump = false
  842. end
  843. end)
  844.  
  845. Speed = 10
  846.  
  847. while true do
  848. Swait()
  849. ANIMATE.Parent = nil
  850. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  851. IDLEANIMATION:Play()
  852. SINE = SINE + CHANGE
  853. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  854. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  855. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  856. HITFLOOR, HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25 * Player_Size, Character)
  857. if ATTACK == false then
  858. 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)
  859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  862. 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)
  863. 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)
  864. end
  865. if HITFLOOR ~= nil then
  866. Hole.CFrame = CF(HITPOS)
  867. end
  868. Sink(Hole.Position,Hole.Size.X/2.2*MESH.Scale.X)
  869. Hole.Color = C3(0,0,0)
  870. unanchor()
  871. Humanoid.MaxHealth = "inf"
  872. Humanoid.Health = "inf"
  873. if Rooted == false then
  874. Disable_Jump = false
  875. Humanoid.WalkSpeed = Speed
  876. elseif Rooted == true then
  877. Disable_Jump = true
  878. Humanoid.WalkSpeed = 0
  879. end
  880. if VALUE1 == true then
  881. Humanoid.HipHeight = 2
  882. q = Character:GetChildren()
  883. for u = 1, #q do
  884. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  885. q[u]:remove()
  886. elseif q[u].ClassName == "Shirt" then
  887. q[u]:Destroy()
  888. elseif q[u].ClassName == "Pants" then
  889. q[u]:Destroy()
  890. elseif q[u].ClassName == "CharacterMesh" then
  891. q[u]:remove()
  892. elseif q[u].ClassName == "ShirtGraphic" then
  893. q[u]:remove()
  894. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  895. q[u].Color = Color3.new(0,0,0)
  896. q[u].Material = "Neon"
  897. end
  898. end
  899. if Head:FindFirstChild("Mesh") then
  900. local mesh = Head.Mesh
  901. if mesh.ClassName == "SpecialMesh" then
  902. mesh:remove()
  903. local m = IT("BlockMesh",Head)
  904. m.Scale = VT(0.5,1,1)
  905. end
  906. end
  907. if Head:FindFirstChild("face") then
  908. Head.face:remove()
  909. end
  910. end
  911. if VALUE1 == false and ATTACK == false then
  912. Intro()
  913. end
  914. end
  915.  
  916. --//=================================\\
  917. --\\=================================//
  918.  
  919.  
  920.  
  921.  
  922.  
  923. --//====================================================\\--
  924. --|| END OF SCRIPT
  925. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement