Advertisement
Marcsosa

Untitled

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