Advertisement
GojiGaming1337

Untitled

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