Advertisement
Im_Meme

OOOOOF

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