GojiGaming1337

Untitled

Apr 22nd, 2018
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.90 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5.  
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local sick = nil
  32. if sick == nil then
  33. sick = Instance.new("Sound",Character)
  34. sick.SoundId = "rbxassetid://1094566476"
  35. sick.Looped = true
  36. sick.Pitch = 1
  37. sick.Volume = 0.5
  38. sick:Play()
  39. end
  40. Taunts = {132514715,144926353,907329893,907332856,907329532,130792236,189807365,244264387,527807354}
  41. ALONE = 907329893
  42. script.Parent = workspace
  43. HASDIED = false
  44.  
  45. IT = Instance.new
  46. CF = CFrame.new
  47. VT = Vector3.new
  48. RAD = math.rad
  49. C3 = Color3.new
  50. UD2 = UDim2.new
  51. BRICKC = BrickColor.new
  52. ANGLES = CFrame.Angles
  53. EULER = CFrame.fromEulerAnglesXYZ
  54. COS = math.cos
  55. ACOS = math.acos
  56. SIN = math.sin
  57. ASIN = math.asin
  58. ABS = math.abs
  59. MRANDOM = math.random
  60. FLOOR = math.floor
  61.  
  62. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  63. local NEWMESH = IT(MESH)
  64. if MESH == "SpecialMesh" then
  65. NEWMESH.MeshType = MESHTYPE
  66. if MESHID ~= "nil" and MESHID ~= "" then
  67. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  68. end
  69. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  70. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  71. end
  72. end
  73. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  74. NEWMESH.Scale = SCALE
  75. NEWMESH.Parent = PARENT
  76. return NEWMESH
  77. end
  78.  
  79. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  80. local NEWPART = IT("Part")
  81. NEWPART.formFactor = FORMFACTOR
  82. NEWPART.Reflectance = REFLECTANCE
  83. NEWPART.Transparency = TRANSPARENCY
  84. NEWPART.CanCollide = false
  85. NEWPART.Locked = true
  86. NEWPART.Anchored = true
  87. if ANCHOR == false then
  88. NEWPART.Anchored = false
  89. end
  90. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  91. NEWPART.Name = NAME
  92. NEWPART.Size = SIZE
  93. NEWPART.Position = Torso.Position
  94. NEWPART.Material = MATERIAL
  95. NEWPART:BreakJoints()
  96. NEWPART.Parent = PARENT
  97. return NEWPART
  98. end
  99.  
  100. --//=================================\\
  101. --|| CUSTOMIZATION
  102. --\\=================================//
  103.  
  104. Player_Size = 1 --Size of the player.
  105. Animation_Speed = 3
  106. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  107.  
  108. local Speed = 16
  109. local Effects2 = {}
  110.  
  111. --//=================================\\
  112. --|| END OF CUSTOMIZATION
  113. --\\=================================//
  114.  
  115. local function weldBetween(a, b)
  116. local weldd = Instance.new("ManualWeld")
  117. weldd.Part0 = a
  118. weldd.Part1 = b
  119. weldd.C0 = CFrame.new()
  120. weldd.C1 = b.CFrame:inverse() * a.CFrame
  121. weldd.Parent = a
  122. return weldd
  123. end
  124.  
  125. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  126. local acs = Instance.new("Part")
  127. acs.CanCollide = false
  128. acs.Anchored = false
  129. acs.Size = Vector3.new(0,0,0)
  130. acs.CFrame = attachmentpart.CFrame
  131. acs.Parent = Character
  132. acs.BrickColor = color
  133. local meshs = Instance.new("SpecialMesh")
  134. meshs.MeshId = mesh
  135. meshs.TextureId = texture
  136. meshs.Parent = acs
  137. meshs.Scale = scale
  138. meshs.Offset = offset
  139. weldBetween(attachmentpart,acs)
  140. end
  141.  
  142. --//=================================\\
  143. --|| USEFUL VALUES
  144. --\\=================================//
  145.  
  146. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  148. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  149. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  150. local CHANGEDEFENSE = 0
  151. local CHANGEDAMAGE = 0
  152. local CHANGEMOVEMENT = 0
  153. local ANIM = "Idle"
  154. local ATTACK = false
  155. local EQUIPPED = false
  156. local HOLD = false
  157. local COMBO = 1
  158. local Rooted = false
  159. local SINE = 0
  160. local KEYHOLD = false
  161. local CHANGE = 2 / Animation_Speed
  162. local WALKINGANIM = false
  163. local WALK = 0
  164. local VALUE1 = false
  165. local VALUE2 = false
  166. local ROBLOXIDLEANIMATION = IT("Animation")
  167. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  168. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  169. --ROBLOXIDLEANIMATION.Parent = Humanoid
  170. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  171. WEAPONGUI.Name = "Weapon GUI"
  172. local Weapon = IT("Model")
  173. Weapon.Name = "Adds"
  174. local Tail = IT("Model",Weapon)
  175. Tail.Name = "Tail"
  176. local Minions = IT("Model",Character)
  177. Minions.Name = "MinionFolder"
  178. local Effects = IT("Folder", Weapon)
  179. Effects.Name = "Effects"
  180. local ANIMATOR = Humanoid.Animator
  181. local ANIMATE = Character.Animate
  182. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  183. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  184. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  185. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  186. local UNANCHOR = true
  187.  
  188. local SKILLTEXTCOLOR = C3(1,1,1)
  189.  
  190. --//=================================\\
  191. --\\=================================//
  192.  
  193.  
  194. --//=================================\\
  195. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  196. --\\=================================//
  197.  
  198. ArtificialHB = Instance.new("BindableEvent", script)
  199. ArtificialHB.Name = "ArtificialHB"
  200.  
  201. script:WaitForChild("ArtificialHB")
  202.  
  203. frame = Frame_Speed
  204. tf = 0
  205. allowframeloss = false
  206. tossremainder = false
  207. lastframe = tick()
  208. script.ArtificialHB:Fire()
  209.  
  210. game:GetService("RunService").Heartbeat:connect(function(s, p)
  211. tf = tf + s
  212. if tf >= frame then
  213. if allowframeloss then
  214. script.ArtificialHB:Fire()
  215. lastframe = tick()
  216. else
  217. for i = 1, math.floor(tf / frame) do
  218. script.ArtificialHB:Fire()
  219. end
  220. lastframe = tick()
  221. end
  222. if tossremainder then
  223. tf = 0
  224. else
  225. tf = tf - frame * math.floor(tf / frame)
  226. end
  227. end
  228. end)
  229.  
  230. --//=================================\\
  231. --\\=================================//
  232.  
  233.  
  234.  
  235.  
  236.  
  237. --//=================================\\
  238. --|| SOME FUNCTIONS
  239. --\\=================================//
  240.  
  241. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  242. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  243. end
  244.  
  245. function PositiveAngle(NUMBER)
  246. if NUMBER >= 0 then
  247. NUMBER = 0
  248. end
  249. return NUMBER
  250. end
  251.  
  252. function NegativeAngle(NUMBER)
  253. if NUMBER <= 0 then
  254. NUMBER = 0
  255. end
  256. return NUMBER
  257. end
  258.  
  259. function Swait(NUMBER)
  260. if NUMBER == 0 or NUMBER == nil then
  261. ArtificialHB.Event:wait()
  262. else
  263. for i = 1, NUMBER do
  264. ArtificialHB.Event:wait()
  265. end
  266. end
  267. end
  268.  
  269. function QuaternionFromCFrame(cf)
  270. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  271. local trace = m00 + m11 + m22
  272. if trace > 0 then
  273. local s = math.sqrt(1 + trace)
  274. local recip = 0.5 / s
  275. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  276. else
  277. local i = 0
  278. if m11 > m00 then
  279. i = 1
  280. end
  281. if m22 > (i == 0 and m00 or m11) then
  282. i = 2
  283. end
  284. if i == 0 then
  285. local s = math.sqrt(m00 - m11 - m22 + 1)
  286. local recip = 0.5 / s
  287. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  288. elseif i == 1 then
  289. local s = math.sqrt(m11 - m22 - m00 + 1)
  290. local recip = 0.5 / s
  291. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  292. elseif i == 2 then
  293. local s = math.sqrt(m22 - m00 - m11 + 1)
  294. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  295. end
  296. end
  297. end
  298.  
  299. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  300. local xs, ys, zs = x + x, y + y, z + z
  301. local wx, wy, wz = w * xs, w * ys, w * zs
  302. local xx = x * xs
  303. local xy = x * ys
  304. local xz = x * zs
  305. local yy = y * ys
  306. local yz = y * zs
  307. local zz = z * zs
  308. 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))
  309. end
  310.  
  311. function QuaternionSlerp(a, b, t)
  312. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  313. local startInterp, finishInterp;
  314. if cosTheta >= 0.0001 then
  315. if (1 - cosTheta) > 0.0001 then
  316. local theta = ACOS(cosTheta)
  317. local invSinTheta = 1 / SIN(theta)
  318. startInterp = SIN((1 - t) * theta) * invSinTheta
  319. finishInterp = SIN(t * theta) * invSinTheta
  320. else
  321. startInterp = 1 - t
  322. finishInterp = t
  323. end
  324. else
  325. if (1 + cosTheta) > 0.0001 then
  326. local theta = ACOS(-cosTheta)
  327. local invSinTheta = 1 / SIN(theta)
  328. startInterp = SIN((t - 1) * theta) * invSinTheta
  329. finishInterp = SIN(t * theta) * invSinTheta
  330. else
  331. startInterp = t - 1
  332. finishInterp = t
  333. end
  334. end
  335. 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
  336. end
  337.  
  338. function Clerp(a, b, t)
  339. local qa = {QuaternionFromCFrame(a)}
  340. local qb = {QuaternionFromCFrame(b)}
  341. local ax, ay, az = a.x, a.y, a.z
  342. local bx, by, bz = b.x, b.y, b.z
  343. local _t = 1 - t
  344. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  345. end
  346.  
  347. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  348. local frame = IT("Frame")
  349. frame.BackgroundTransparency = TRANSPARENCY
  350. frame.BorderSizePixel = BORDERSIZEPIXEL
  351. frame.Position = POSITION
  352. frame.Size = SIZE
  353. frame.BackgroundColor3 = COLOR
  354. frame.BorderColor3 = BORDERCOLOR
  355. frame.Name = NAME
  356. frame.Parent = PARENT
  357. return frame
  358. end
  359.  
  360. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  361. local label = IT("TextLabel")
  362. label.BackgroundTransparency = 1
  363. label.Size = UD2(1, 0, 1, 0)
  364. label.Position = UD2(0, 0, 0, 0)
  365. label.TextColor3 = TEXTCOLOR
  366. label.TextStrokeTransparency = STROKETRANSPARENCY
  367. label.TextTransparency = TRANSPARENCY
  368. label.FontSize = TEXTFONTSIZE
  369. label.Font = TEXTFONT
  370. label.BorderSizePixel = BORDERSIZEPIXEL
  371. label.TextScaled = false
  372. label.Text = TEXT
  373. label.Name = NAME
  374. label.Parent = PARENT
  375. return label
  376. end
  377.  
  378. function NoOutlines(PART)
  379. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  380. end
  381.  
  382.  
  383. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  384. local NEWWELD = IT(TYPE)
  385. NEWWELD.Part0 = PART0
  386. NEWWELD.Part1 = PART1
  387. NEWWELD.C0 = C0
  388. NEWWELD.C1 = C1
  389. NEWWELD.Parent = PARENT
  390. return NEWWELD
  391. end
  392.  
  393. function CreateSound(ID, PARENT, VOLUME, PITCH)
  394. local NEWSOUND = nil
  395. coroutine.resume(coroutine.create(function()
  396. NEWSOUND = IT("Sound", PARENT)
  397. NEWSOUND.Volume = VOLUME
  398. NEWSOUND.Pitch = PITCH
  399. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  400. Swait()
  401. NEWSOUND:play()
  402. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  403. end))
  404. return NEWSOUND
  405. end
  406.  
  407. function CFrameFromTopBack(at, top, back)
  408. local right = top:Cross(back)
  409. 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)
  410. end
  411.  
  412. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  413. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  414. local mesh = IT("SpecialMesh",wave)
  415. mesh.MeshType = "FileMesh"
  416. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  417. mesh.Scale = SIZE
  418. mesh.Offset = VT(0,0,-SIZE.X/8)
  419. wave.CFrame = CFRAME
  420. coroutine.resume(coroutine.create(function(PART)
  421. for i = 1, WAIT do
  422. Swait()
  423. mesh.Scale = mesh.Scale + GROW
  424. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  425. if DOESROT == true then
  426. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  427. end
  428. wave.Transparency = wave.Transparency + (0.5/WAIT)
  429. if wave.Transparency > 0.99 then
  430. wave:remove()
  431. end
  432. end
  433. end))
  434. end
  435.  
  436. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  437. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  438. local mesh = IT("SpecialMesh",wave)
  439. mesh.MeshType = "FileMesh"
  440. mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  441. mesh.Scale = SIZE
  442. mesh.Offset = VT(0,0,-SIZE.X/8)
  443. wave.CFrame = CFRAME
  444. coroutine.resume(coroutine.create(function(PART)
  445. for i = 1, WAIT do
  446. Swait()
  447. mesh.Scale = mesh.Scale + GROW
  448. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  449. if DOESROT == true then
  450. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  451. end
  452. wave.Transparency = wave.Transparency + (0.5/WAIT)
  453. if wave.Transparency > 0.99 then
  454. wave:remove()
  455. end
  456. end
  457. end))
  458. end
  459.  
  460. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  461. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  462. local mesh = IT("SpecialMesh",wave)
  463. mesh.MeshType = "FileMesh"
  464. mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  465. mesh.Scale = SIZE
  466. mesh.Offset = VT(0,0,-SIZE.X/8)
  467. wave.CFrame = CFRAME
  468. coroutine.resume(coroutine.create(function(PART)
  469. for i = 1, WAIT do
  470. Swait()
  471. mesh.Scale = mesh.Scale + GROW
  472. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  473. if DOESROT == true then
  474. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  475. end
  476. wave.Transparency = wave.Transparency + (0.5/WAIT)
  477. if wave.Transparency > 0.99 then
  478. wave:remove()
  479. end
  480. end
  481. end))
  482. end
  483.  
  484. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  485. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  486. local mesh = IT("SpecialMesh",wave)
  487. mesh.MeshType = "FileMesh"
  488. mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  489. mesh.Scale = SIZE
  490. mesh.Offset = VT(0,0,-SIZE.X/8)
  491. wave.CFrame = CFRAME
  492. coroutine.resume(coroutine.create(function(PART)
  493. for i = 1, WAIT do
  494. Swait()
  495. mesh.Scale = mesh.Scale + GROW
  496. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  497. if DOESROT == true then
  498. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  499. end
  500. wave.Transparency = wave.Transparency + (0.5/WAIT)
  501. if wave.Transparency > 0.99 then
  502. wave:remove()
  503. end
  504. end
  505. end))
  506. end
  507.  
  508. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  509. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  510. local mesh = IT("SpecialMesh",wave)
  511. mesh.MeshType = "FileMesh"
  512. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  513. mesh.Scale = SIZE
  514. wave.CFrame = CFRAME
  515. coroutine.resume(coroutine.create(function(PART)
  516. for i = 1, WAIT do
  517. Swait()
  518. mesh.Scale = mesh.Scale + GROW
  519. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  520. if DOESROT == true then
  521. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  522. end
  523. wave.Transparency = wave.Transparency + (0.5/WAIT)
  524. if wave.Transparency > 0.99 then
  525. wave:remove()
  526. end
  527. end
  528. end))
  529. end
  530.  
  531. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  532. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  533. local mesh = IT("SpecialMesh",wave)
  534. mesh.MeshType = "FileMesh"
  535. mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  536. mesh.Scale = SIZE
  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 CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  554. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  555. local mesh = IT("SpecialMesh",wave)
  556. mesh.MeshType = "FileMesh"
  557. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  558. mesh.Scale = SIZE
  559. mesh.Offset = VT(0,0,0)
  560. wave.CFrame = CFRAME
  561. coroutine.resume(coroutine.create(function(PART)
  562. for i = 1, WAIT do
  563. Swait()
  564. mesh.Scale = mesh.Scale + GROW
  565. if DOESROT == true then
  566. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  567. end
  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.  
  576. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  577. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  578. local mesh = IT("SpecialMesh",wave)
  579. mesh.MeshType = "Sphere"
  580. mesh.Scale = SIZE
  581. mesh.Offset = VT(0,0,0)
  582. wave.CFrame = CFRAME
  583. coroutine.resume(coroutine.create(function(PART)
  584. for i = 1, WAIT do
  585. Swait()
  586. mesh.Scale = mesh.Scale + GROW
  587. wave.Transparency = wave.Transparency + (1/WAIT)
  588. if wave.Transparency > 0.99 then
  589. wave:remove()
  590. end
  591. end
  592. end))
  593. end
  594.  
  595. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  596. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  597. local mesh = IT("BlockMesh",wave)
  598. wave.CFrame = CFRAME
  599. coroutine.resume(coroutine.create(function(PART)
  600. for i = 1, WAIT do
  601. Swait()
  602. mesh.Scale = mesh.Scale + GROW
  603. wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  604. wave.Transparency = wave.Transparency + (1/WAIT)
  605. if wave.Transparency > 0.99 then
  606. wave:remove()
  607. end
  608. end
  609. end))
  610. end
  611.  
  612. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  613. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  614. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  615. wave.CFrame = CFRAME
  616. coroutine.resume(coroutine.create(function(PART)
  617. for i = 1, WAIT do
  618. Swait()
  619. mesh.Scale = mesh.Scale * GROW
  620. wave.Transparency = wave.Transparency + (0.5/WAIT)
  621. if wave.Transparency > 0.99 then
  622. wave:remove()
  623. end
  624. end
  625. end))
  626. end
  627.  
  628. function MakeForm(PART,TYPE)
  629. if TYPE == "Cyl" then
  630. local MSH = IT("CylinderMesh",PART)
  631. elseif TYPE == "Ball" then
  632. local MSH = IT("SpecialMesh",PART)
  633. MSH.MeshType = "Sphere"
  634. elseif TYPE == "Wedge" then
  635. local MSH = IT("SpecialMesh",PART)
  636. MSH.MeshType = "Wedge"
  637. end
  638. end
  639.  
  640. function CheckTableForString(Table, String)
  641. for i, v in pairs(Table) do
  642. if string.find(string.lower(String), string.lower(v)) then
  643. return true
  644. end
  645. end
  646. return false
  647. end
  648.  
  649. function CheckIntangible(Hit)
  650. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  651. if Hit and Hit.Parent then
  652. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  653. return true
  654. end
  655. end
  656. return false
  657. end
  658.  
  659. Debris = game:GetService("Debris")
  660.  
  661. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  662. local Direction = CFrame.new(StartPos, Vec).lookVector
  663. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  664. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  665. if RayHit and CheckIntangible(RayHit) then
  666. if DelayIfHit then
  667. wait()
  668. end
  669. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  670. end
  671. return RayHit, RayPos, RayNormal
  672. end
  673.  
  674. function turnto(position)
  675. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  676. end
  677.  
  678. --//=================================\\
  679. --|| WEAPON CREATION
  680. --\\=================================//
  681.  
  682. local Claw1 = CreatePart(3, Character, "Neon", 0, 0, "Institutional white", "Claw", VT(0,0,0),false)
  683. CreateWeldOrSnapOrMotor("Weld", Claw1, RightArm, Claw1, CF(0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(-90)), CF(0, 0, 0))
  684. CreateMesh("SpecialMesh", Claw1, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
  685.  
  686. local Claw2 = CreatePart(3, Character, "Neon", 0, 0, "Institutional white", "Claw", VT(0,0,0),false)
  687. CreateWeldOrSnapOrMotor("Weld", Claw2, LeftArm, Claw2, CF(-0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(90)), CF(0, 0, 0))
  688. CreateMesh("SpecialMesh", Claw2, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
  689.  
  690. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Smoky grey", "Eye", VT(0.4,0.15,0.2),false)
  691. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
  692. MakeForm(part,"Ball")
  693. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eye", VT(0.1,0.1,0.),false)
  694. local PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  695. MakeForm(Eye,"Ball")
  696. Eye.Color = C3(1,1,1)
  697. createaccessory(Head,"http://www.roblox.com/asset/?id=76056263","",Vector3.new(1,1,1),Vector3.new(0,0.18,0.2),BRICKC("Institutional white"))
  698. local LASTPART = Torso
  699. for b = 1, 17 do
  700. local TAIL1 = CreatePart(3, Tail, "SmoothPlastic", 0, 0, "Insitutional white", "TailPart", VT(0.5,0.5,0.5)*(b/5),false)
  701. TAIL1.Color = C3(1,1,1)
  702. local weld = nil
  703. local WAG = -1*(b/15)
  704. if LASTPART == Torso then
  705. weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  706. local FRAME = IT("CFrameValue",TAIL1)
  707. FRAME.Name = "Frame"
  708. FRAME.Value = CF(0, 0.5, -0.2)
  709. else
  710. weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0, -1*(b/15)) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  711. local FRAME = IT("CFrameValue",TAIL1)
  712. FRAME.Name = "Frame"
  713. FRAME.Value = CF(0, 0, WAG)
  714. end
  715. local FRAME = IT("NumberValue",TAIL1)
  716. FRAME.Name = "Time"
  717. FRAME.Value = b
  718. LASTPART = TAIL1
  719. end
  720.  
  721. Weapon.Parent = Character
  722.  
  723. Humanoid.HealthChanged:connect(function()
  724. if Humanoid.Health == 0 then
  725. Humanoid.MaxHealth = "inf"
  726. Humanoid.Health = "inf"
  727. end
  728. end)
  729.  
  730. Humanoid.Died:connect(function()
  731. ATTACK = true
  732. HASDIED = true
  733. Character.Parent = nil
  734. local corpse = Character
  735. local CFRAME = RootPart.CFrame
  736. Character = nil
  737. repeat Swait() until Player.Character ~= corpse
  738. Character = Player.Character
  739. repeat Swait() until Character:FindFirstChild("HumanoidRootPart")
  740. PlayerGui = Player.PlayerGui
  741. Cam = workspace.CurrentCamera
  742. Backpack = Player.Backpack
  743. RootPart = Character["HumanoidRootPart"]
  744. Torso = Character["Torso"]
  745. Head = Character["Head"]
  746. RightArm = Character["Right Arm"]
  747. LeftArm = Character["Left Arm"]
  748. RightLeg = Character["Right Leg"]
  749. LeftLeg = Character["Left Leg"]
  750. RootJoint = RootPart["RootJoint"]
  751. Neck = Torso["Neck"]
  752. RightShoulder = Torso["Right Shoulder"]
  753. LeftShoulder = Torso["Left Shoulder"]
  754. RightHip = Torso["Right Hip"]
  755. LeftHip = Torso["Left Hip"]
  756. Humanoid = Character.Humanoid
  757. RootPart.CFrame = CFRAME
  758. sick:remove()
  759. WEAPONGUI = IT("ScreenGui", PlayerGui)
  760. WEAPONGUI.Name = "Weapon GUI"
  761. Weapon = IT("Model",Character)
  762. Weapon.Name = "Adds"
  763. Minions = IT("Model",Character)
  764. Minions.Name = "MinionFolder"
  765. Effects = IT("Folder", Weapon)
  766. Effects.Name = "Effects"
  767. Tail = IT("Model",Weapon)
  768. Tail.Name = "Tail"
  769. wait()
  770. Claw1 = CreatePart(3, Character, "Neon", 0, 0, "Institutional white", "Claw", VT(0,0,0),false)
  771. CreateWeldOrSnapOrMotor("Weld", Claw1, RightArm, Claw1, CF(0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(-90)), CF(0, 0, 0))
  772. CreateMesh("SpecialMesh", Claw1, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
  773.  
  774. Claw2 = CreatePart(3, Character, "Neon", 0, 0, "Institutional white", "Claw", VT(0,0,0),false)
  775. CreateWeldOrSnapOrMotor("Weld", Claw2, LeftArm, Claw2, CF(-0.2,-1.25,0) * ANGLES(RAD(-90), RAD(0), RAD(90)), CF(0, 0, 0))
  776. CreateMesh("SpecialMesh", Claw2, "FileMesh", "105262978", "", VT(1,1,1), VT(0,0,0))
  777. createaccessory(Head,"http://www.roblox.com/asset/?id=76056263","",Vector3.new(1,1,1),Vector3.new(0,0.18,0.2),BRICKC("Institutional white"))
  778. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eye", VT(0.4,0.15,0.2),false)
  779. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
  780. MakeForm(part,"Ball")
  781. local Eye = CreatePart(3, Weapon, "Neon", 0, 0, "Institutional white", "Eye", VT(0.1,0.1,0.),false)
  782. PupilWeld = CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0.13,0.24,-0.58) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  783. MakeForm(Eye,"Ball")
  784. Eye.Color = C3(1,1,1)
  785. local LASTPART = Torso
  786. for b = 1, 17 do
  787. local TAIL1 = CreatePart(3, Tail, "SmoothPlastic", 0, 0, "Insitutional white", "TailPart", VT(0.5,0.5,0.5)*(b/5),false)
  788. TAIL1.Color = C3(1,1,1)
  789. local weld = nil
  790. local WAG = -1*(b/15)
  791. if LASTPART == Torso then
  792. weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0.5, -0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  793. local FRAME = IT("CFrameValue",TAIL1)
  794. FRAME.Name = "Frame"
  795. FRAME.Value = CF(0, 0.5, -0.2)
  796. else
  797. weld = CreateWeldOrSnapOrMotor("Weld", LASTPART, TAIL1, LASTPART, CF(0, 0, -1*(b/15)) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798. local FRAME = IT("CFrameValue",TAIL1)
  799. FRAME.Name = "Frame"
  800. FRAME.Value = CF(0, 0, WAG)
  801. end
  802. local FRAME = IT("NumberValue",TAIL1)
  803. FRAME.Name = "Time"
  804. FRAME.Value = b
  805. LASTPART = TAIL1
  806. end
  807. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 1 Frame")
  808. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 2 Frame")
  809. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 3 Frame")
  810. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.02, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 4 Frame")
  811. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 5 Frame")
  812. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 6 Frame")
  813.  
  814. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q-F-G] Claw strikes", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1")
  815. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Life Denial", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  816. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V-C] Possession", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
  817. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Defy Life", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
  818. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Sprint", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
  819. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[K] Dark dash", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 6")
  820. HASDIED = false
  821. ATTACK = false
  822. end)
  823.  
  824. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 1 Frame")
  825. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 2 Frame")
  826. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 3 Frame")
  827. local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.02, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 4 Frame")
  828. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 5 Frame")
  829. local SKILL6FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(1, 1, 1), "Skill 6 Frame")
  830.  
  831. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Q-F-G] Claw strikes", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 1")
  832. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] God's Denial", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 2")
  833. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[V-C] Possession", SKILLTEXTCOLOR, 7, "Garamond", 0, 2, 1, "Text 4")
  834. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Life Denial", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
  835. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Sprint", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 5")
  836. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[K] Life's dash", SKILLTEXTCOLOR, 8, "Garamond", 0, 2, 1, "Text 6")
  837.  
  838. --//=================================\\
  839. --|| DAMAGE FUNCTIONS
  840. --\\=================================//
  841.  
  842. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  843. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Institutional white", "Effect", VT())
  844. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  845. local BODYGYRO = IT("BodyGyro", STATPART)
  846. local BODYPOSITION = IT("BodyPosition", STATPART)
  847. BODYPOSITION.P = 2000
  848. BODYPOSITION.D = 100
  849. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  850. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  851. game:GetService("Debris"):AddItem(STATPART ,5)
  852. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  853. BILLBOARDGUI.Adornee = STATPART
  854. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  855. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  856. BILLBOARDGUI.AlwaysOnTop = false
  857. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  858. TEXTLABEL.BackgroundTransparency = 1
  859. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  860. TEXTLABEL.Text = TEXT
  861. TEXTLABEL.Font = "SciFi"
  862. TEXTLABEL.FontSize="Size42"
  863. TEXTLABEL.TextColor3 = COLOR
  864. TEXTLABEL.TextStrokeTransparency = 1
  865. TEXTLABEL.TextScaled = true
  866. TEXTLABEL.TextWrapped = true
  867. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  868. if LABELTYPE == "Normal" then
  869. for i = 1, 30 do
  870. Swait()
  871. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  872. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  873. end
  874. elseif LABELTYPE == "Debuff" then
  875. for i = 1, 30 do
  876. Swait()
  877. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  878. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  879. end
  880. elseif LABELTYPE == "Shock" then
  881. local ORIGIN = STATPART.Position
  882. for i = 1, 30 do
  883. Swait()
  884. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  885. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  886. end
  887. end
  888. THEPART.Parent = nil
  889. end),STATPART, BODYPOSITION, TEXTLABEL)
  890. end
  891.  
  892. --//=================================\\
  893. --|| DAMAGING
  894. --\\=================================//
  895.  
  896. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  897. local dmg = math.random(min,max)
  898. for i,v in ipairs(workspace:GetChildren()) do
  899. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  900. local body = v:GetChildren()
  901. for part = 1, #body do
  902. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  903. if(body[part].Position - position).Magnitude < radius then
  904. if v.ClassName == "Model" then
  905. if v:FindFirstChild("Humanoid") then
  906. if v.Humanoid.Health ~= 0 then
  907. if CanBeDodgedByJumping == true then
  908. if body[part].Position.Y < position.Y+5 then
  909. if math.random(1,100) < critrate+1 then
  910. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  911. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  912. else
  913. v.Humanoid.Health = v.Humanoid.Health - dmg
  914. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(1, 1, 1))
  915. end
  916. local defence = Instance.new("BoolValue",v)
  917. defence.Name = ("HitBy"..Player.Name)
  918. game:GetService("Debris"):AddItem(defence, 0.01)
  919. end
  920. else
  921. if beserk == true then
  922. v.Humanoid.Health = 0
  923. end
  924. if math.random(1,100) < critrate+1 then
  925. v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  926. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  927. else
  928. v.Humanoid.Health = v.Humanoid.Health - dmg
  929. StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(1, 1, 1))
  930. end
  931. local defence = Instance.new("BoolValue",v)
  932. defence.Name = ("HitBy"..Player.Name)
  933. game:GetService("Debris"):AddItem(defence, 0.01)
  934. end
  935. end
  936. end
  937. end
  938. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  939. end
  940. end
  941. end
  942. if v.ClassName == "Part" then
  943. if v.Anchored == false and (v.Position - position).Magnitude < radius then
  944. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  945. end
  946. end
  947. end
  948. end
  949. end
  950.  
  951. function Sink(position,radius)
  952. for i,v in ipairs(workspace:GetChildren()) do
  953. if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  954. local body = v:GetChildren()
  955. for part = 1, #body do
  956. if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  957. if(body[part].Position - position).Magnitude < radius then
  958. if v.ClassName == "Model" then
  959. if v:FindFirstChild("Humanoid") then
  960. local defence = Instance.new("BoolValue",v)
  961. defence.Name = ("Hit2By"..Player.Name)
  962. if v.Humanoid.Health ~= 0 then
  963. local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  964. if TORS ~= nil then
  965. local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  966. coroutine.resume(coroutine.create(function()
  967. if HITFLOOR2 ~= nil then
  968. TORS.Anchored = true
  969. table.insert(Effects2,{v})
  970. repeat
  971. Swait()
  972. TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  973. until TORS.Position.Y<position.Y-4
  974. v:remove()
  975. end
  976. end))
  977. end
  978. end
  979. end
  980. end
  981. --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  982. end
  983. end
  984. end
  985. end
  986. end
  987. end
  988.  
  989. --//=================================\\
  990. --|| ATTACK FUNCTIONS AND STUFF
  991. --\\=================================//
  992.  
  993. local asd = Instance.new("ParticleEmitter")
  994. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  995. asd.LightEmission = .1
  996. asd.Size = NumberSequence.new(0.2)
  997. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  998. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  999. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1000. asd.Transparency = bbb
  1001. asd.Size = aaa
  1002. asd.ZOffset = .9
  1003. asd.Acceleration = Vector3.new(0, -5, 0)
  1004. asd.LockedToPart = false
  1005. asd.EmissionDirection = "Back"
  1006. asd.Lifetime = NumberRange.new(1, 2)
  1007. asd.Rotation = NumberRange.new(-100, 100)
  1008. asd.RotSpeed = NumberRange.new(-100, 100)
  1009. asd.Speed = NumberRange.new(2)
  1010. asd.Enabled = false
  1011. asd.VelocitySpread = 10000
  1012.  
  1013. function getbloody(victim,amount)
  1014. local prtcl = asd:Clone()
  1015. prtcl.Parent = victim
  1016. prtcl:Emit(amount)
  1017. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], victim, 10, (math.random(8,12)/10))
  1018. end
  1019.  
  1020. function Strike1()
  1021. ATTACK = true
  1022. Rooted = false
  1023. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1024. for i=0, 0.1, 0.1 / Animation_Speed do
  1025. Swait()
  1026. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1027. 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)
  1028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1029. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(45), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1030. 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)
  1031. 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)
  1032. end
  1033. AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,35,55,5,0,1,1.5,false)
  1034. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1035. Slice(1,5,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Institutional white",1.01)
  1036. Slice(1,5,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Institutional white",1.01)
  1037. for i=0, 0.3, 0.1 / Animation_Speed do
  1038. Swait()
  1039. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1040. 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)
  1041. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(145), RAD(-45), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1042. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(145), RAD(45), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1043. 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)
  1044. 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)
  1045. end
  1046. ATTACK = false
  1047. Rooted = false
  1048. end
  1049.  
  1050. function Strike2()
  1051. ATTACK = true
  1052. Rooted = true
  1053. for i=1, 50 do
  1054. Swait()
  1055. VALUE1 = true
  1056. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.6)
  1057. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, (5-(3-i/50))) * ANGLES(RAD(0), RAD(65), RAD(i*50)), 2 / Animation_Speed)
  1058. 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)
  1059. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1060. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1061. 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)
  1062. 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)
  1063. AoEDamage(RightArm.CFrame*CF(0,-1,0).p,5,5,25,5,0,1,1.5,false)
  1064. AoEDamage(LeftArm.CFrame*CF(0,-1,0).p,5,5,25,5,0,1,1.5,false)
  1065. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1066. Slice(1,5,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Institutional white",1.01)
  1067. Slice(1,5,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)),"Institutional white",1.01)
  1068. end
  1069. ATTACK = false
  1070. Rooted = false
  1071. end
  1072.  
  1073. function Strike3()
  1074. ATTACK = true
  1075. Rooted = false
  1076. for i = 1, 15 do
  1077. for i = 1, 2 do
  1078. Swait()
  1079. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1080. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-45,-35))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
  1083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
  1084. 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(-15), RAD(-15)), 2.8 / Animation_Speed)
  1085. 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(15), RAD(-15)), 2.8 / Animation_Speed)
  1086. end
  1087. AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
  1088. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1089. Slice(1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Institutional white",1.01)
  1090. for i = 1, 2 do
  1091. Swait()
  1092. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1093. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1094. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1095. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
  1096. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(35,45))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
  1097. 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(-15), RAD(-15)), 2.8 / Animation_Speed)
  1098. 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(15), RAD(-15)), 2.8 / Animation_Speed)
  1099. end
  1100. AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
  1101. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1102. Slice(1,15,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Institutional white",1.01)
  1103. end
  1104. if KEYHOLD == true then
  1105. repeat
  1106. for i = 1, 2 do
  1107. Swait()
  1108. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1109. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-45,-35))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
  1112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
  1113. 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(-15), RAD(-15)), 2.8 / Animation_Speed)
  1114. 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(15), RAD(-15)), 2.8 / Animation_Speed)
  1115. end
  1116. AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
  1117. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1118. Slice(1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Institutional white",1.01)
  1119. for i = 1, 2 do
  1120. Swait()
  1121. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17+MRANDOM(-2,2)/75,0.3+MRANDOM(-2,2)/75,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1122. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1123. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2.8 / Animation_Speed)
  1124. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(-15,15))) * RIGHTSHOULDERC0, 2.8 / Animation_Speed)
  1125. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(105+MRANDOM(-15,15)), RAD(0), RAD(MRANDOM(35,45))) * LEFTSHOULDERC0, 2.8 / Animation_Speed)
  1126. 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(-15), RAD(-15)), 2.8 / Animation_Speed)
  1127. 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(15), RAD(-15)), 2.8 / Animation_Speed)
  1128. end
  1129. AoEDamage(CF(Torso.Position)*CF(0,0,-1).p,8,5,25,5,0,1,1.5,false)
  1130. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Torso, 1, 1)
  1131. Slice(1,15,LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-45,45)), RAD(MRANDOM(-75,75)), RAD(0)),"Institutional white",1.01)
  1132. until KEYHOLD == false
  1133. end
  1134. ATTACK = false
  1135. Rooted = false
  1136. end
  1137.  
  1138. function FalseDenial()
  1139. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1140. local HITBODY = Mouse.Target.Parent
  1141. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1142. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1143. if TORS ~= nil and HUMAN ~= nil then
  1144. ATTACK = true
  1145. Rooted = true
  1146. RootPart.CFrame = TORS.CFrame * CF(-1,0,8)
  1147. TORS.Anchored = true
  1148. CreateSound(ALONE, Head, 10, 1)
  1149. for i=0, 1, 0.1 / Animation_Speed do
  1150. Swait()
  1151. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1152. 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.5 / Animation_Speed)
  1153. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1154. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1155. 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(-15), RAD(-15)), 0.5 / Animation_Speed)
  1156. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  1157. end
  1158. local HandlePart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Insitutional white", "Handle", VT(0, 0, 0),false)
  1159. HandlePart.Color = C3(1,1,1)
  1160. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "", VT(1,1,1), VT(0, 3.1, 0))
  1161. HandlePart.CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(180), RAD(90), RAD(0))
  1162. local WELD = weldBetween(RightArm,HandlePart)
  1163. Rooted = true
  1164. CreateSound("289315275", HandlePart, 10, 1.5)
  1165. for i=1, 50 do
  1166. Swait()
  1167. MagicSphere(VT(0.2,0.2,i/5),35,CF(HandlePart.CFrame*CF(0,6,0)*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HandlePart.CFrame*CF(0,6,0).p),C3(1,1,1),VT(0.001,0.001,0),0.5)
  1168. HandlePart.Transparency = HandlePart.Transparency - (0.01)
  1169. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1170. 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.5 / Animation_Speed)
  1171. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1172. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1173. 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(-15), RAD(-15)), 0.5 / Animation_Speed)
  1174. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  1175. end
  1176. for i=0, 1, 0.1 / Animation_Speed do
  1177. Swait()
  1178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(-35)), 0.5 / Animation_Speed)
  1179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 0.5 / Animation_Speed)
  1180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(105), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1182. 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(-15), RAD(-15)), 0.5 / Animation_Speed)
  1183. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  1184. end
  1185. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(45)), 3 / Animation_Speed)
  1186. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 3 / Animation_Speed)
  1187. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -0.7) * ANGLES(RAD(110), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1188. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1189. 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(-15), RAD(-15)), 3 / Animation_Speed)
  1190. 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(15), RAD(-15)), 3 / Animation_Speed)
  1191. Swait()
  1192. WELD:remove()
  1193. HandlePart.CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(180), RAD(90), RAD(0))
  1194. HandlePart.Anchored = true
  1195. local HEART = CreatePart(3, HITBODY, "Pebble", 0, 0, "Really red", "Heart", VT(1,1,1))
  1196. MakeForm(HEART,"Ball")
  1197. HEART.CFrame = HandlePart.CFrame*CF(0,6,0)
  1198. getbloody(HEART,2)
  1199. Swait(15)
  1200. CreateSound("289315275", HEART, 10, 3)
  1201. for i = 1, 25 do
  1202. Swait()
  1203. MagicSphere(VT(0.2,0.2,i/5),35,CF(HandlePart.CFrame*CF(0,6.5,0)*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HandlePart.CFrame*CF(0,6,0).p),C3(1,1,1),VT(0.001,0.001,0),0.5)
  1204. end
  1205. CreateSound("264486467", HEART, 10, 1)
  1206. getbloody(HEART,25)
  1207. HEART.Transparency = 1
  1208. HITBODY:BreakJoints()
  1209. TORS.Anchored = false
  1210. ATTACK = false
  1211. Rooted = false
  1212. coroutine.resume(coroutine.create(function()
  1213. Swait(15)
  1214. CreateSound("2248511", HandlePart, 10, 1)
  1215. for i = 1, 50 do
  1216. Swait()
  1217. HandlePart.Transparency = HandlePart.Transparency + (0.01)
  1218. end
  1219. HandlePart:remove()
  1220. end))
  1221. end
  1222. end
  1223. end
  1224.  
  1225. function findNearestTorso(pos)
  1226. local list = game.Workspace:children()
  1227. local torso = nil
  1228. local dist = 1000
  1229. local temp = nil
  1230. local human = nil
  1231. local temp2 = nil
  1232. for x = 1, #list do
  1233. temp2 = list[x]
  1234. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= pos.Parent) then
  1235. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1236. human = temp2:findFirstChildOfClass("Humanoid")
  1237. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1238. if (temp.Position - pos.Position).magnitude < dist then
  1239. torso = temp
  1240. dist = (temp.Position - pos.Position).magnitude
  1241. end
  1242. end
  1243. end
  1244. end
  1245. return torso,dist
  1246. end
  1247.  
  1248. function CreateBody()
  1249. local zombie = IT("Model",Effects)
  1250. zombie.Name = "Possessed"
  1251. local tors = IT("Part",zombie)
  1252. tors.Name = "Torso"
  1253. tors.Size = Torso.Size
  1254. tors.CFrame = RootPart.CFrame * CF(math.random(-5,5),0,-5)
  1255. tors.Color = C3(0,0.5,0.5)
  1256. local heed = IT("Part",zombie)
  1257. heed.Size = Head.Size
  1258. heed.CFrame = tors.CFrame * CF(0,1.5,0)
  1259. heed.Name = "Head"
  1260. heed.Color = C3(255/255, 230/255, 194/255)
  1261. local face = IT("Decal",heed)
  1262. face.Texture = "http://www.roblox.com/asset/?id=149118644"
  1263. weldBetween(tors,heed)
  1264. local headmesh = IT("SpecialMesh",heed)
  1265. headmesh.Scale = VT(1.25,1.25,1.25)
  1266. local limb = IT("Part",zombie)
  1267. limb.Size = VT(1,2,1)
  1268. limb.Name = "Left Arm"
  1269. limb.CFrame = tors.CFrame * CF(-1.5,0,0)
  1270. limb.Color = C3(255/255, 230/255, 194/255)
  1271. weldBetween(tors,limb)
  1272. local limb = IT("Part",zombie)
  1273. limb.Size = VT(1,2,1)
  1274. limb.Name = "Right Arm"
  1275. limb.CFrame = tors.CFrame * CF(1.5,0,0)
  1276. limb.Color = C3(255/255, 230/255, 194/255)
  1277. weldBetween(tors,limb)
  1278. local limb = IT("Part",zombie)
  1279. limb.Size = VT(1,2,1)
  1280. limb.Name = "Right Leg"
  1281. limb.CFrame = tors.CFrame * CF(0.5,-2,0)
  1282. limb.Color = C3(0,0.5,0.5)
  1283. weldBetween(tors,limb)
  1284. local limb = IT("Part",zombie)
  1285. limb.Size = VT(1,2,1)
  1286. limb.Name = "Left Leg"
  1287. limb.CFrame = tors.CFrame * CF(-0.5,-2,0)
  1288. limb.Color = C3(0,0.5,0.5)
  1289. weldBetween(tors,limb)
  1290. local hooman = IT("Humanoid",zombie)
  1291. return zombie
  1292. end
  1293.  
  1294. function DenialPossession()
  1295. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1296. local HITBODY = Mouse.Target.Parent
  1297. local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1298. local HUMAN = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1299. if TORS ~= nil and HUMAN ~= nil then
  1300. ATTACK = true
  1301. Rooted = true
  1302. TORS.Anchored = true
  1303. RootPart.CFrame = TORS.CFrame * CF(0,0,2)
  1304. for i=0, 1, 0.1 / Animation_Speed do
  1305. Swait()
  1306. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1307. 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.5 / Animation_Speed)
  1308. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1.2, -0.8) * ANGLES(RAD(125), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1309. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1.2, -0.8) * ANGLES(RAD(125), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1310. 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(-15), RAD(-15)), 0.5 / Animation_Speed)
  1311. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  1312. end
  1313. CreateSound("289315275", TORS, 10, 3)
  1314. for i = 1, 25 do
  1315. if HITBODY:FindFirstChild("Head") then
  1316. Swait()
  1317. MagicSphere(VT(0.2,0.2,i/5),35,CF(HITBODY.Head.CFrame*CF(MRANDOM(-1,1),MRANDOM(-1,1),MRANDOM(-1,1)).p,HITBODY.Head.Position),C3(1,1,1),VT(0.001,0.001,0),0.5)
  1318. if HITBODY.Head:FindFirstChildOfClass("Decal") then
  1319. HITBODY.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=186465390"
  1320. end
  1321. end
  1322. end
  1323. local CLONE = HITBODY:Clone()
  1324. if CLONE ~= nil then
  1325. CLONE.Parent = Minions
  1326. CLONE:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
  1327. TORS = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
  1328. TORS.Anchored = false
  1329. if CLONE.Head:FindFirstChildOfClass("Decal") then
  1330. CLONE.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=16904401"
  1331. end
  1332. coroutine.resume(coroutine.create(function()
  1333. while wait() do
  1334. local MAN = CLONE:FindFirstChildOfClass("Humanoid")
  1335. if MAN.Health ~= 0 then
  1336. local target,dist = findNearestTorso(TORS)
  1337. if target ~= nil then
  1338. MAN:MoveTo(target.Position)
  1339. if dist < 7 then
  1340. if MRANDOM(1,5) == 1 then
  1341. AoEDamage(TORS.Position,4,5,25,5,0,1,1.5,false)
  1342. end
  1343. end
  1344. end
  1345. else
  1346. CLONE.Parent = workspace
  1347. Debris:AddItem(CLONE,5)
  1348. end
  1349. end
  1350. end))
  1351. HITBODY:BreakJoints()
  1352. HITBODY.Parent = nil
  1353. else
  1354. local CLONE = CreateBody()
  1355. CLONE.Torso.CFrame = TORS.CFrame
  1356. CLONE.Parent = Minions
  1357. CLONE:FindFirstChildOfClass("Humanoid").DisplayDistanceType = "None"
  1358. TORS = CLONE:FindFirstChild("Torso") or CLONE:FindFirstChild("UpperTorso")
  1359. TORS.Anchored = false
  1360. if CLONE.Head:FindFirstChildOfClass("Decal") then
  1361. CLONE.Head:FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=16904401"
  1362. end
  1363. for _, c in pairs(HITBODY:GetChildren()) do
  1364. if c.ClassName ~= "Part" and c.ClassName ~= "MeshPart" then
  1365. c.Parent = CLONE
  1366. end
  1367. end
  1368. coroutine.resume(coroutine.create(function()
  1369. while wait() do
  1370. local MAN = CLONE:FindFirstChildOfClass("Humanoid")
  1371. if MAN.Health ~= 0 then
  1372. local target,dist = findNearestTorso(TORS)
  1373. if target ~= nil then
  1374. MAN:MoveTo(target.Position)
  1375. if dist < 7 then
  1376. if MRANDOM(1,5) == 1 then
  1377. AoEDamage(TORS.Position,4,5,25,5,0,1,1.5,false)
  1378. end
  1379. end
  1380. end
  1381. else
  1382. CLONE.Parent = workspace
  1383. Debris:AddItem(CLONE,5)
  1384. end
  1385. end
  1386. end))
  1387. HITBODY:BreakJoints()
  1388. HITBODY.Parent = nil
  1389. end
  1390. ATTACK = false
  1391. Rooted = false
  1392. end
  1393. end
  1394. end
  1395.  
  1396. function ForbiddenGate()
  1397. ATTACK = true
  1398. Rooted = true
  1399. CreateSound(ALONE, Head, 10, 1)
  1400. for i=0, 2, 0.1 / Animation_Speed do
  1401. Swait()
  1402. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1403. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1404. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1405. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1406. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1407. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1408. end
  1409. CreateSound("141722968", RootPart, 10, 3)
  1410. UNANCHOR = false
  1411. RootPart.Anchored = true
  1412. local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Institutional white", "Heart", VT(1,0.2,1))
  1413. MakeForm(GATE,"Cyl")
  1414. GATE.Color = C3(1,1,1)
  1415. GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  1416. for i=1, 250 do
  1417. Swait()
  1418. UNANCHOR = false
  1419. GATE.Size = GATE.Size + VT(1,0,1)
  1420. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1421. RootPart.Anchored = true
  1422. Sink(GATE.Position,GATE.Size.Z/2.2)
  1423. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  1424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1427. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1429. end
  1430. repeat Swait() until #Effects2 == 0
  1431. for i=1, 25 do
  1432. Swait()
  1433. GATE.Size = GATE.Size - VT(10,0,10)
  1434. --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1435. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1436. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1437. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1438. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1439. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1440. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1441. end
  1442. GATE:remove()
  1443. RootPart.Anchored = false
  1444. UNANCHOR = true
  1445. ATTACK = false
  1446. Rooted = false
  1447. end
  1448.  
  1449. function MorphantDash()
  1450. ATTACK = true
  1451. Rooted = true
  1452. local CRAWL = true
  1453. for i=0, 1, 0.1 / Animation_Speed do
  1454. Swait()
  1455. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -1) * ANGLES(RAD(135), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1) * ANGLES(RAD(135), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1459. 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(-15), RAD(45)), 0.5 / Animation_Speed)
  1460. 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(15), RAD(-45)), 0.5 / Animation_Speed)
  1461. end
  1462. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eye", VT(0.4,0.15,0.2),false)
  1463. local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), CF(0, 0, 0))
  1464. MakeForm(part,"Ball")
  1465. UNANCHOR = false
  1466. RootPart.Anchored = true
  1467. local NEWTORS = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Body", Torso.Size,false)
  1468. MakeForm(NEWTORS,"Ball")
  1469. NEWTORS.Color = C3(1,1,1)
  1470. NEWTORS.CFrame = Torso.CFrame
  1471. weldBetween(Torso,NEWTORS)
  1472. for i = 1, 15 do
  1473. Swait()
  1474. NEWTORS.Size = NEWTORS.Size * 1.2
  1475. weldBetween(Torso,NEWTORS)
  1476. end
  1477. for i = 1, 15 do
  1478. Swait()
  1479. weld.C0 = Clerp(weld.C0, CF(0.15,0.28,-14.15) * ANGLES(RAD(15), RAD(0), RAD(25)), 2 / Animation_Speed)
  1480. end
  1481. local boop = false
  1482. local OFFSET = 8
  1483. for i = 1, 3 do
  1484. local LimbPart1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(10,1,1),false)
  1485. local weld1 = CreateWeldOrSnapOrMotor("Weld", LimbPart1, Torso, LimbPart1, CF(15,OFFSET,2) * ANGLES(RAD(0), RAD(-45), RAD(OFFSET)), CF(0, 0, 0))
  1486. local LimbPart2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(12,1,1),false)
  1487. local weld2 = CreateWeldOrSnapOrMotor("Weld", LimbPart2, LimbPart1, LimbPart2, CF(5,0,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(-5, 0, 0))
  1488. local LimbPart3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(1,2,2),false)
  1489. local weld3 = CreateWeldOrSnapOrMotor("Weld", LimbPart3, LimbPart2, LimbPart3, CF(6,0,0) * ANGLES(RAD(0), RAD(45), RAD(0)), CF(0, 0, 0))
  1490. local ECH = OFFSET
  1491. OFFSET = OFFSET - 8
  1492. if boop == false then
  1493. boop = true
  1494. elseif boop == true then
  1495. boop = false
  1496. end
  1497. coroutine.resume(coroutine.create(function()
  1498. local twist = boop
  1499. while wait() do
  1500. if CRAWL == false then
  1501. LimbPart1:remove()
  1502. LimbPart2:remove()
  1503. LimbPart3:remove()
  1504. break
  1505. end
  1506. for i = 1, 3 do
  1507. wait()
  1508. if twist == false then
  1509. weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
  1510. elseif twist == true then
  1511. weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-25), RAD(ECH*2 -25)), 1 / Animation_Speed)
  1512. end
  1513. if CRAWL == false then
  1514. LimbPart1:remove()
  1515. LimbPart2:remove()
  1516. LimbPart3:remove()
  1517. break
  1518. end
  1519. end
  1520. for i = 1, 3 do
  1521. wait()
  1522. if twist == true then
  1523. weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
  1524. elseif twist == false then
  1525. weld1.C0 = Clerp(weld1.C0, CF(12.5,ECH,4) * ANGLES(RAD(0), RAD(-25), RAD(ECH*2 -25)), 1 / Animation_Speed)
  1526. end
  1527. if CRAWL == false then
  1528. LimbPart1:remove()
  1529. LimbPart2:remove()
  1530. LimbPart3:remove()
  1531. break
  1532. end
  1533. end
  1534. end
  1535. end))
  1536. end
  1537. OFFSET = 8
  1538. for i = 1, 3 do
  1539. local LimbPart1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(10,1,1),false)
  1540. local weld1 = CreateWeldOrSnapOrMotor("Weld", LimbPart1, Torso, LimbPart1, CF(-15,-OFFSET,2) * ANGLES(RAD(0), RAD(45), RAD(OFFSET)), CF(0, 0, 0))
  1541. local LimbPart2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(12,1,1),false)
  1542. local weld2 = CreateWeldOrSnapOrMotor("Weld", LimbPart2, LimbPart1, LimbPart2, CF(-5,0,0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(-5, 0, 0))
  1543. local LimbPart3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Institutional white", "Eye", VT(1,2,2),false)
  1544. local weld3 = CreateWeldOrSnapOrMotor("Weld", LimbPart3, LimbPart2, LimbPart3, CF(6,0,0) * ANGLES(RAD(0), RAD(-45), RAD(0)), CF(0, 0, 0))
  1545. local ECH = OFFSET
  1546. OFFSET = OFFSET - 8
  1547. if boop == false then
  1548. boop = true
  1549. elseif boop == true then
  1550. boop = false
  1551. end
  1552. coroutine.resume(coroutine.create(function()
  1553. local twist = boop
  1554. while wait() do
  1555. if CRAWL == false then
  1556. LimbPart1:remove()
  1557. LimbPart2:remove()
  1558. LimbPart3:remove()
  1559. break
  1560. end
  1561. for i = 1, 3 do
  1562. wait()
  1563. if twist == false then
  1564. weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
  1565. elseif twist == true then
  1566. weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(25), RAD(ECH*2 -25)), 1 / Animation_Speed)
  1567. end
  1568. if CRAWL == false then
  1569. LimbPart1:remove()
  1570. LimbPart2:remove()
  1571. LimbPart3:remove()
  1572. break
  1573. end
  1574. end
  1575. for i = 1, 3 do
  1576. wait()
  1577. if twist == true then
  1578. weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(85), RAD(ECH*2 + 25)), 1 / Animation_Speed)
  1579. elseif twist == false then
  1580. weld1.C0 = Clerp(weld1.C0, CF(-12.5,ECH,4) * ANGLES(RAD(0), RAD(25), RAD(ECH*2 -25)), 1 / Animation_Speed)
  1581. end
  1582. if CRAWL == false then
  1583. LimbPart1:remove()
  1584. LimbPart2:remove()
  1585. LimbPart3:remove()
  1586. break
  1587. end
  1588. end
  1589. end
  1590. end))
  1591. end
  1592. CreateSound("131060194", Head, 10, 1)
  1593. for i = 1, 350 do
  1594. Swait()
  1595. turnto(Mouse.Hit.p)
  1596. RootPart.CFrame = RootPart.CFrame * CF(0,0,-5)
  1597. AoEDamage(Torso.Position,15,35,55,5,0,1,1.5,false)
  1598. end
  1599. CRAWL = false
  1600. Swait(5)
  1601. for i = 1, 50 do
  1602. Swait()
  1603. NEWTORS.Size = NEWTORS.Size * 0.9
  1604. weldBetween(Torso,NEWTORS)
  1605. weld.C0 = Clerp(weld.C0, CF(0.15,0.28,-0.53) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1606. end
  1607. part:remove()
  1608. UNANCHOR = true
  1609. RootPart.Anchored = false
  1610. NEWTORS:remove()
  1611. ATTACK = false
  1612. Rooted = false
  1613. end
  1614.  
  1615. --//=================================\\
  1616. --|| ASSIGN THINGS TO KEYS
  1617. --\\=================================//
  1618.  
  1619. function MouseDown(Mouse)
  1620. if ATTACK == false then
  1621. end
  1622. end
  1623.  
  1624. function MouseUp(Mouse)
  1625. HOLD = false
  1626. end
  1627.  
  1628. function KeyDown(Key)
  1629. KEYHOLD = true
  1630. if Key == "q" and ATTACK == false then
  1631. Strike1()
  1632. end
  1633.  
  1634. if Key == "f" and ATTACK == false then
  1635. Strike2()
  1636. end
  1637.  
  1638. if Key == "g" and ATTACK == false then
  1639. Strike3()
  1640. end
  1641.  
  1642. if Key == "b" and ATTACK == false then
  1643. FalseDenial()
  1644. end
  1645.  
  1646. if Key == "v" and ATTACK == false then
  1647. DenialPossession()
  1648. end
  1649.  
  1650. if Key == "c" and ATTACK == false then
  1651. Minions:ClearAllChildren()
  1652. end
  1653.  
  1654. if Key == "k" and ATTACK == false then
  1655. MorphantDash()
  1656. end
  1657.  
  1658. if Key == "x" and ATTACK == false then
  1659. ForbiddenGate()
  1660. end
  1661.  
  1662. if Key == "p" and ATTACK == false then
  1663. if Speed == 16 then
  1664. Speed = 60
  1665. elseif Speed == 60 then
  1666. Speed = 16
  1667. end
  1668. end
  1669.  
  1670. if Key == "t" and ATTACK == false then
  1671. CreateSound(Taunts[MRANDOM(1, #Taunts)], Head, 10, 1)
  1672. end
  1673. end
  1674.  
  1675. function KeyUp(Key)
  1676. KEYHOLD = false
  1677. end
  1678.  
  1679. Mouse.Button1Down:connect(function(NEWKEY)
  1680. MouseDown(NEWKEY)
  1681. end)
  1682. Mouse.Button1Up:connect(function(NEWKEY)
  1683. MouseUp(NEWKEY)
  1684. end)
  1685. Mouse.KeyDown:connect(function(NEWKEY)
  1686. KeyDown(NEWKEY)
  1687. end)
  1688. Mouse.KeyUp:connect(function(NEWKEY)
  1689. KeyUp(NEWKEY)
  1690. end)
  1691.  
  1692. --//=================================\\
  1693. --\\=================================//
  1694.  
  1695.  
  1696. function unanchor()
  1697. if UNANCHOR == true then
  1698. g = Character:GetChildren()
  1699. for i = 1, #g do
  1700. if g[i].ClassName == "Part" then
  1701. g[i].Anchored = false
  1702. end
  1703. end
  1704. end
  1705. end
  1706.  
  1707.  
  1708. --//=================================\\
  1709. --|| WRAP THE WHOLE SCRIPT UP
  1710. --\\=================================//
  1711.  
  1712. Humanoid.Changed:connect(function(Jump)
  1713. if Jump == "Jump" and (Disable_Jump == true) then
  1714. Humanoid.Jump = false
  1715. end
  1716. end)
  1717.  
  1718. local WAG = 20
  1719.  
  1720. coroutine.resume(coroutine.create(function()
  1721. while wait() do
  1722. for i = 1, 50 do
  1723. Swait()
  1724. WAG = WAG - 0.8
  1725. end
  1726. for i = 1, 50 do
  1727. Swait()
  1728. WAG = WAG + 0.8
  1729. end
  1730. end
  1731. end))
  1732.  
  1733. local LOOP = 0
  1734.  
  1735. while true do
  1736. Swait()
  1737. if HASDIED == false then
  1738. ANIMATE.Parent = nil
  1739. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1740. IDLEANIMATION:Play()
  1741. SINE = SINE + CHANGE
  1742. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1743. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1744. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1745. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1746. local WALKSPEEDVALUE = 6
  1747. if ATTACK == true then
  1748. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1749. end
  1750. if ANIM ~= "Jump" and ANIM ~= "Fall" and VALUE1 == false then
  1751. for _, c in pairs(Tail:GetChildren()) do
  1752. if c.ClassName == "Part" then
  1753. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1754. c.Color = C3(1,1,1)
  1755. local WELD = c:FindFirstChild("Weld")
  1756. if WELD ~= nil then
  1757. coroutine.resume(coroutine.create(function()
  1758. local EGG = WAG
  1759. wait(c.Time.Value/25)
  1760. if VALUE1 == false then
  1761. WELD.C0 = Clerp(WELD.C0,c.Frame.Value * ANGLES(RAD(1.5), RAD(EGG), RAD(0)), 0.05 / Animation_Speed)
  1762. end
  1763. end))
  1764. end
  1765. end
  1766. end
  1767. else
  1768. for _, c in pairs(Tail:GetChildren()) do
  1769. if c.ClassName == "Part" then
  1770. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1771. c.Color = C3(1,1,1)
  1772. local WELD = c:FindFirstChild("Weld")
  1773. if WELD ~= nil then
  1774. WELD.C0 = Clerp(WELD.C0,c.Frame.Value * ANGLES(RAD(8.5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1775. end
  1776. end
  1777. end
  1778. end
  1779. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1780. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed)
  1781. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * 1 / Animation_Speed)
  1782. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1783. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1784. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1785. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1786. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1787. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1788. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1789. end
  1790. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1791. if ANIM ~= "Jump" then
  1792. LOOP = 0
  1793. end
  1794. ANIM = "Jump"
  1795. if ATTACK == false then
  1796. LOOP = LOOP + 1
  1797. VALUE1 = false
  1798. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(LOOP*45), RAD(0), RAD(0)), 2.5 / Animation_Speed)
  1799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1801. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1802. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1803. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1804. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1805. --PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1806. end
  1807. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1808. ANIM = "Fall"
  1809. if ATTACK == false then
  1810. VALUE1 = false
  1811. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1812. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1813. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(105), RAD(0), RAD(42)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1814. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(105), RAD(0), RAD(-42)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1815. 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(-15), RAD(15)), 0.5 / Animation_Speed)
  1816. 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(15), RAD(-15)), 0.5 / Animation_Speed)
  1817. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1818. --PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1819. end
  1820. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1821. ANIM = "Idle"
  1822. if ATTACK == false then
  1823. VALUE1 = false
  1824. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.17,0.3,-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)) * ANGLES(RAD(15), RAD(0), RAD(0)), 2 / Animation_Speed)
  1826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  1827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1829. 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(-15), RAD(-15)), 2 / Animation_Speed)
  1830. 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(15), RAD(-15)), 2 / Animation_Speed)
  1831. end
  1832. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1833. ANIM = "Walk"
  1834. WALK = WALK + 1 / Animation_Speed
  1835. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1836. WALK = 0
  1837. if WALKINGANIM == true then
  1838. WALKINGANIM = false
  1839. elseif WALKINGANIM == false then
  1840. WALKINGANIM = true
  1841. end
  1842. end
  1843. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1844. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1845. if ATTACK == false then
  1846. if Speed < 30 then
  1847. VALUE1 = false
  1848. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1849. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 2 / Animation_Speed)
  1850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1852. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1853. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 2 / Animation_Speed)
  1854. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3 - 0.005 * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1855. --PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3 - 0.025 * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1856. elseif Speed >= 30 then
  1857. VALUE1 = true
  1858. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(25), RAD(0), RAD(0)), 2 / Animation_Speed)
  1859. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 2 / Animation_Speed)
  1860. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1861. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1862. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1863. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 2 / Animation_Speed)
  1864. PupilWeld.C0 = Clerp(PupilWeld.C0, CF(0.13,0.3 - 0.005 * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1865. --PupilWeld2.C0 = Clerp(PupilWeld.C0, CF(-0.13,0.3 - 0.025 * COS(SINE / WALKSPEEDVALUE*2),-0.61) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1866. end
  1867. end
  1868. end
  1869. unanchor()
  1870. Humanoid.MaxHealth = "inf"
  1871. Humanoid.Health = "inf"
  1872. Humanoid.JumpPower = 150
  1873. if Rooted == false then
  1874. Disable_Jump = false
  1875. if ANIM == "Jump" or ANIM == "Fall" then
  1876. Humanoid.WalkSpeed = Speed*5
  1877. else
  1878. Humanoid.WalkSpeed = Speed
  1879. end
  1880. elseif Rooted == true then
  1881. Disable_Jump = true
  1882. Humanoid.WalkSpeed = 0
  1883. end
  1884. q = Character:GetChildren()
  1885. for u = 1, #q do
  1886. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  1887. q[u]:remove()
  1888. elseif q[u].ClassName == "Shirt" then
  1889. q[u]:Destroy()
  1890. elseif q[u].ClassName == "Pants" then
  1891. q[u]:Destroy()
  1892. elseif q[u].ClassName == "CharacterMesh" then
  1893. q[u]:remove()
  1894. elseif q[u].ClassName == "ShirtGraphic" then
  1895. q[u]:remove()
  1896. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  1897. q[u].Color = Color3.new(255/255, 255/255, 255/255)
  1898. if q[u]:FindFirstChildOfClass("ParticleEmitter")then
  1899. q[u]:FindFirstChildOfClass("ParticleEmitter"):remove()
  1900. end
  1901. end
  1902. end
  1903. if Head:FindFirstChild("face") then
  1904. Head.face:remove()
  1905. end
  1906. local MATHS = {"0","1"}
  1907. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1908. Humanoid.PlatformStand = false
  1909. if sick ~= nil then
  1910. sick.Parent = Character
  1911. end
  1912. else
  1913. if sick ~= nil then
  1914. sick.Parent = workspace
  1915. end
  1916. end
  1917. script.Parent = workspace
  1918. if Character ~= nil then
  1919. Character.Parent = workspace
  1920. end
  1921. for _, c in pairs(Weapon:GetChildren()) do
  1922. if c.ClassName == "Part" then
  1923. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1924. end
  1925. end
  1926. Humanoid.DisplayDistanceType = "None"
  1927. if #Effects2>0 then
  1928. for e=1,#Effects2 do
  1929. if Effects2[e]~=nil then
  1930. local Thing=Effects2[e]
  1931. if Thing~=nil then
  1932. local Part=Thing[1]
  1933. if Part.Parent == nil then
  1934. table.remove(Effects2,e)
  1935. end
  1936. end
  1937. end
  1938. end
  1939. end
  1940. end
  1941.  
  1942. --//=================================\\
  1943. --\\=================================//
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949. --//====================================================\\--
  1950. --|| END OF SCRIPT
  1951. --\\====================================================//--
Add Comment
Please, Sign In to add comment