Advertisement
Zebula_The_Scripter

Creep

Jul 17th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.03 KB | None | 0 0
  1. Player = game.Players.LocalPlayer
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(255, 0, 0)
  18. text.Text = "Creep"
  19. script.Name = "Banisher Gun V3 / 1"
  20. --//====================================================\\--
  21. --|| CREATED BY SHACKLUSTER
  22. --\\====================================================//--
  23.  
  24. script:ClearAllChildren()
  25. wait(0.2)
  26.  
  27. Player = game:GetService("Players").LocalPlayer
  28. PlayerGui = Player.PlayerGui
  29. Cam = workspace.CurrentCamera
  30. Backpack = Player.Backpack
  31. Character = Player.Character
  32. Humanoid = Character.Humanoid
  33. Mouse = Player:GetMouse()
  34. RootPart = Character["HumanoidRootPart"]
  35. Torso = Character["Torso"]
  36. Head = Character["Head"]
  37. RightArm = Character["Right Arm"]
  38. LeftArm = Character["Left Arm"]
  39. RightLeg = Character["Right Leg"]
  40. LeftLeg = Character["Left Leg"]
  41. RootJoint = RootPart["RootJoint"]
  42. Neck = Torso["Neck"]
  43. RightShoulder = Torso["Right Shoulder"]
  44. LeftShoulder = Torso["Left Shoulder"]
  45. RightHip = Torso["Right Hip"]
  46. LeftHip = Torso["Left Hip"]
  47. local TIME = 0
  48. local sick = Instance.new("Sound",Torso)
  49.  
  50. IT = Instance.new
  51. CF = CFrame.new
  52. VT = Vector3.new
  53. RAD = math.rad
  54. C3 = Color3.new
  55. UD2 = UDim2.new
  56. BRICKC = BrickColor.new
  57. ANGLES = CFrame.Angles
  58. EULER = CFrame.fromEulerAnglesXYZ
  59. COS = math.cos
  60. ACOS = math.acos
  61. SIN = math.sin
  62. ASIN = math.asin
  63. ABS = math.abs
  64. MRANDOM = math.random
  65. FLOOR = math.floor
  66.  
  67. --//=================================\\
  68. --|| USEFUL VALUES
  69. --\\=================================//
  70.  
  71. Animation_Speed = 3
  72. local FORCERESET = false
  73. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  74. local Speed = 16
  75. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  76. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  77. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  78. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  79. local DAMAGEMULTIPLIER = 1
  80. local ANIM = "Idle"
  81. local ATTACK = false
  82. local EQUIPPED = false
  83. local HOLD = false
  84. local COMBO = 1
  85. local Rooted = false
  86. local SINE = 0
  87. local KEYHOLD = false
  88. local CHANGE = 2 / Animation_Speed
  89. local WALKINGANIM = false
  90. local VALUE1 = false
  91. local VALUE2 = false
  92. local ROBLOXIDLEANIMATION = IT("Animation")
  93. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  94. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  95. --ROBLOXIDLEANIMATION.Parent = Humanoid
  96. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  97. WEAPONGUI.Name = "BanishV3Gui"
  98. local Weapon = IT("Model")
  99. Weapon.Name = "Adds"
  100. local Effects = IT("Folder", Weapon)
  101. Effects.Name = "Effects"
  102. local ANIMATOR = Humanoid.Animator
  103. local ANIMATE = Character:FindFirstChild("Animate")
  104. local UNANCHOR = true
  105. local TOBANISH = {}
  106. script.Parent = PlayerGui
  107.  
  108. --//=================================\\
  109. --\\=================================//
  110.  
  111.  
  112. --//=================================\\
  113. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  114. --\\=================================//
  115.  
  116. ArtificialHB = Instance.new("BindableEvent", script)
  117. ArtificialHB.Name = "ArtificialHB"
  118.  
  119. script:WaitForChild("ArtificialHB")
  120.  
  121. frame = Frame_Speed
  122. tf = 0
  123. allowframeloss = false
  124. tossremainder = false
  125. lastframe = tick()
  126. script.ArtificialHB:Fire()
  127.  
  128. game:GetService("RunService").Heartbeat:connect(function(s, p)
  129. tf = tf + s
  130. if tf >= frame then
  131. if allowframeloss then
  132. script.ArtificialHB:Fire()
  133. lastframe = tick()
  134. else
  135. for i = 1, math.floor(tf / frame) do
  136. script.ArtificialHB:Fire()
  137. end
  138. lastframe = tick()
  139. end
  140. if tossremainder then
  141. tf = 0
  142. else
  143. tf = tf - frame * math.floor(tf / frame)
  144. end
  145. end
  146. end)
  147.  
  148. --//=================================\\
  149. --\\=================================//
  150.  
  151. --//=================================\\
  152. --|| SOME FUNCTIONS
  153. --\\=================================//
  154.  
  155. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  156. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  157. end
  158.  
  159. function PositiveAngle(NUMBER)
  160. if NUMBER >= 0 then
  161. NUMBER = 0
  162. end
  163. return NUMBER
  164. end
  165.  
  166. function NegativeAngle(NUMBER)
  167. if NUMBER <= 0 then
  168. NUMBER = 0
  169. end
  170. return NUMBER
  171. end
  172.  
  173. function Swait(NUMBER)
  174. if NUMBER == 0 or NUMBER == nil then
  175. ArtificialHB.Event:wait()
  176. else
  177. for i = 1, NUMBER do
  178. ArtificialHB.Event:wait()
  179. end
  180. end
  181. end
  182.  
  183. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  184. local NEWMESH = IT(MESH)
  185. if MESH == "SpecialMesh" then
  186. NEWMESH.MeshType = MESHTYPE
  187. if MESHID ~= "nil" and MESHID ~= "" then
  188. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  189. end
  190. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  191. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  192. end
  193. end
  194. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  195. NEWMESH.Scale = SCALE
  196. NEWMESH.Parent = PARENT
  197. return NEWMESH
  198. end
  199.  
  200. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  201. local NEWPART = IT("Part")
  202. NEWPART.formFactor = FORMFACTOR
  203. NEWPART.Reflectance = REFLECTANCE
  204. NEWPART.Transparency = TRANSPARENCY
  205. NEWPART.CanCollide = false
  206. NEWPART.Locked = true
  207. NEWPART.Anchored = true
  208. if ANCHOR == false then
  209. NEWPART.Anchored = false
  210. end
  211. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  212. NEWPART.Name = NAME
  213. NEWPART.Size = SIZE
  214. NEWPART.Position = Torso.Position
  215. NEWPART.Material = MATERIAL
  216. NEWPART:BreakJoints()
  217. NEWPART.Parent = PARENT
  218. return NEWPART
  219. end
  220.  
  221. local function weldBetween(a, b)
  222. local weldd = Instance.new("ManualWeld")
  223. weldd.Part0 = a
  224. weldd.Part1 = b
  225. weldd.C0 = CFrame.new()
  226. weldd.C1 = b.CFrame:inverse() * a.CFrame
  227. weldd.Parent = a
  228. return weldd
  229. end
  230.  
  231.  
  232. function QuaternionFromCFrame(cf)
  233. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  234. local trace = m00 + m11 + m22
  235. if trace > 0 then
  236. local s = math.sqrt(1 + trace)
  237. local recip = 0.5 / s
  238. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  239. else
  240. local i = 0
  241. if m11 > m00 then
  242. i = 1
  243. end
  244. if m22 > (i == 0 and m00 or m11) then
  245. i = 2
  246. end
  247. if i == 0 then
  248. local s = math.sqrt(m00 - m11 - m22 + 1)
  249. local recip = 0.5 / s
  250. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  251. elseif i == 1 then
  252. local s = math.sqrt(m11 - m22 - m00 + 1)
  253. local recip = 0.5 / s
  254. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  255. elseif i == 2 then
  256. local s = math.sqrt(m22 - m00 - m11 + 1)
  257. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  258. end
  259. end
  260. end
  261.  
  262. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  263. local xs, ys, zs = x + x, y + y, z + z
  264. local wx, wy, wz = w * xs, w * ys, w * zs
  265. local xx = x * xs
  266. local xy = x * ys
  267. local xz = x * zs
  268. local yy = y * ys
  269. local yz = y * zs
  270. local zz = z * zs
  271. 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))
  272. end
  273.  
  274. function QuaternionSlerp(a, b, t)
  275. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  276. local startInterp, finishInterp;
  277. if cosTheta >= 0.0001 then
  278. if (1 - cosTheta) > 0.0001 then
  279. local theta = ACOS(cosTheta)
  280. local invSinTheta = 1 / SIN(theta)
  281. startInterp = SIN((1 - t) * theta) * invSinTheta
  282. finishInterp = SIN(t * theta) * invSinTheta
  283. else
  284. startInterp = 1 - t
  285. finishInterp = t
  286. end
  287. else
  288. if (1 + cosTheta) > 0.0001 then
  289. local theta = ACOS(-cosTheta)
  290. local invSinTheta = 1 / SIN(theta)
  291. startInterp = SIN((t - 1) * theta) * invSinTheta
  292. finishInterp = SIN(t * theta) * invSinTheta
  293. else
  294. startInterp = t - 1
  295. finishInterp = t
  296. end
  297. end
  298. 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
  299. end
  300.  
  301. function Clerp(a, b, t)
  302. local qa = {QuaternionFromCFrame(a)}
  303. local qb = {QuaternionFromCFrame(b)}
  304. local ax, ay, az = a.x, a.y, a.z
  305. local bx, by, bz = b.x, b.y, b.z
  306. local _t = 1 - t
  307. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  308. end
  309.  
  310. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  311. local frame = IT("Frame")
  312. frame.BackgroundTransparency = TRANSPARENCY
  313. frame.BorderSizePixel = BORDERSIZEPIXEL
  314. frame.Position = POSITION
  315. frame.Size = SIZE
  316. frame.BackgroundColor3 = COLOR
  317. frame.BorderColor3 = BORDERCOLOR
  318. frame.Name = NAME
  319. frame.Parent = PARENT
  320. return frame
  321. end
  322.  
  323. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  324. local label = IT("TextLabel")
  325. label.BackgroundTransparency = 1
  326. label.Size = UD2(1, 0, 1, 0)
  327. label.Position = UD2(0, 0, 0, 0)
  328. label.TextColor3 = TEXTCOLOR
  329. label.TextStrokeTransparency = STROKETRANSPARENCY
  330. label.TextTransparency = TRANSPARENCY
  331. label.FontSize = TEXTFONTSIZE
  332. label.Font = TEXTFONT
  333. label.BorderSizePixel = BORDERSIZEPIXEL
  334. label.TextScaled = false
  335. label.Text = TEXT
  336. label.Name = NAME
  337. label.Parent = PARENT
  338. return label
  339. end
  340.  
  341. function NoOutlines(PART)
  342. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  343. end
  344.  
  345. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  346. local NEWWELD = IT(TYPE)
  347. NEWWELD.Part0 = PART0
  348. NEWWELD.Part1 = PART1
  349. NEWWELD.C0 = C0
  350. NEWWELD.C1 = C1
  351. NEWWELD.Parent = PARENT
  352. return NEWWELD
  353. end
  354.  
  355. local S = IT("Sound")
  356. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  357. local NEWSOUND = nil
  358. coroutine.resume(coroutine.create(function()
  359. NEWSOUND = S:Clone()
  360. NEWSOUND.Parent = PARENT
  361. NEWSOUND.Volume = VOLUME
  362. NEWSOUND.Pitch = PITCH
  363. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  364. NEWSOUND:play()
  365. if DOESLOOP == true then
  366. NEWSOUND.Looped = true
  367. else
  368. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  369. NEWSOUND:remove()
  370. end
  371. end))
  372. return NEWSOUND
  373. end
  374.  
  375. function CFrameFromTopBack(at, top, back)
  376. local right = top:Cross(back)
  377. 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)
  378. end
  379.  
  380. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  381. function WACKYEFFECT(Table)
  382. local TYPE = (Table.EffectType or "Sphere")
  383. local SIZE = (Table.Size or VT(1,1,1))
  384. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  385. local TRANSPARENCY = (Table.Transparency or 0)
  386. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  387. local CFRAME = (Table.CFrame or Torso.CFrame)
  388. local MOVEDIRECTION = (Table.MoveToPos or nil)
  389. local ROTATION1 = (Table.RotationX or 0)
  390. local ROTATION2 = (Table.RotationY or 0)
  391. local ROTATION3 = (Table.RotationZ or 0)
  392. local MATERIAL = (Table.Material or "Neon")
  393. local COLOR = (Table.Color or C3(1,1,1))
  394. local TIME = (Table.Time or 45)
  395. local SOUNDID = (Table.SoundID or nil)
  396. local SOUNDPITCH = (Table.SoundPitch or nil)
  397. local SOUNDVOLUME = (Table.SoundVolume or nil)
  398. coroutine.resume(coroutine.create(function()
  399. local PLAYSSOUND = false
  400. local SOUND = nil
  401. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  402. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  403. PLAYSSOUND = true
  404. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  405. end
  406. EFFECT.Color = COLOR
  407. local MSH = nil
  408. if TYPE == "Sphere" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  410. elseif TYPE == "Block" then
  411. MSH = IT("BlockMesh",EFFECT)
  412. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  413. elseif TYPE == "Wave" then
  414. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  415. elseif TYPE == "Ring" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  417. elseif TYPE == "Slash" then
  418. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  419. elseif TYPE == "Round Slash" then
  420. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  421. elseif TYPE == "Swirl" then
  422. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  423. elseif TYPE == "Skull" then
  424. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  425. elseif TYPE == "Crystal" then
  426. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  427. end
  428. if MSH ~= nil then
  429. local MOVESPEED = nil
  430. if MOVEDIRECTION ~= nil then
  431. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  432. end
  433. local GROWTH = SIZE - ENDSIZE
  434. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  435. if TYPE == "Block" then
  436. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  437. else
  438. EFFECT.CFrame = CFRAME
  439. end
  440. for LOOP = 1, TIME+1 do
  441. Swait()
  442. MSH.Scale = MSH.Scale - GROWTH/TIME
  443. if TYPE == "Wave" then
  444. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  445. end
  446. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  447. if TYPE == "Block" then
  448. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  449. else
  450. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  451. end
  452. if MOVEDIRECTION ~= nil then
  453. local ORI = EFFECT.Orientation
  454. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  455. EFFECT.Orientation = ORI
  456. end
  457. end
  458. if PLAYSSOUND == false then
  459. EFFECT:remove()
  460. else
  461. SOUND.Stopped:Connect(function()
  462. EFFECT:remove()
  463. end)
  464. end
  465. else
  466. if PLAYSSOUND == false then
  467. EFFECT:remove()
  468. else
  469. repeat Swait() until SOUND.Playing == false
  470. EFFECT:remove()
  471. end
  472. end
  473. end))
  474. end
  475.  
  476. function MakeForm(PART,TYPE)
  477. if TYPE == "Cyl" then
  478. local MSH = IT("CylinderMesh",PART)
  479. elseif TYPE == "Ball" then
  480. local MSH = IT("SpecialMesh",PART)
  481. MSH.MeshType = "Sphere"
  482. elseif TYPE == "Wedge" then
  483. local MSH = IT("SpecialMesh",PART)
  484. MSH.MeshType = "Wedge"
  485. end
  486. end
  487.  
  488. function SpawnTrail(FROM,TO,BIG)
  489. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  490. MakeForm(TRAIL,"Cyl")
  491. local DIST = (FROM - TO).Magnitude
  492. if BIG == true then
  493. TRAIL.Size = VT(0.5,DIST,0.5)
  494. else
  495. TRAIL.Size = VT(0.25,DIST,0.25)
  496. end
  497. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  498. coroutine.resume(coroutine.create(function()
  499. for i = 1, 5 do
  500. Swait()
  501. TRAIL.Transparency = TRAIL.Transparency + 0.1
  502. end
  503. TRAIL:remove()
  504. end))
  505. end
  506.  
  507. Debris = game:GetService("Debris")
  508.  
  509. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  510. local DIRECTION = CF(StartPos,EndPos).lookVector
  511. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  512. end
  513.  
  514. function turnto(position)
  515. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  516. end
  517. local asd = Instance.new("ParticleEmitter")
  518. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  519. asd.LightEmission = .1
  520. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  521. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  522. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  523. asd.Transparency = bbb
  524. asd.Size = aaa
  525. asd.ZOffset = .9
  526. asd.Acceleration = Vector3.new(0, -15, 0)
  527. asd.LockedToPart = false
  528. asd.EmissionDirection = "Back"
  529. asd.Lifetime = NumberRange.new(1, 2)
  530. asd.Rotation = NumberRange.new(-100, 100)
  531. asd.RotSpeed = NumberRange.new(-100, 100)
  532. asd.Speed = NumberRange.new(10)
  533. asd.Enabled = false
  534. asd.VelocitySpread = 999
  535.  
  536. function getbloody(victim,amount)
  537. local PART = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Blood", victim.Size)
  538. PART.CFrame = victim.CFrame
  539. local HITPLAYERSOUNDS = {"356551938","264486467"}
  540. Debris:AddItem(PART,5)
  541. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  542. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  543. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  544. local prtcl = asd:Clone()
  545. prtcl.Parent = PART
  546. prtcl:Emit(amount*10)
  547. end
  548.  
  549. local Particle = IT("ParticleEmitter",nil)
  550. Particle.Enabled = false
  551. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  552. Particle.LightEmission = 0.5
  553. Particle.Rate = 150
  554. Particle.ZOffset = 1
  555. Particle.Rotation = NumberRange.new(-180, 180)
  556. Particle.RotSpeed = NumberRange.new(-180, 180)
  557. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  558. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  559.  
  560. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  561. function ParticleEmitter(Table)
  562. local PRTCL = Particle:Clone()
  563. local Speed = Table.Speed or 5
  564. local Drag = Table.Drag or 0
  565. local Size1 = Table.Size1 or 1
  566. local Size2 = Table.Size2 or 5
  567. local Lifetime1 = Table.Lifetime1 or 1
  568. local Lifetime2 = Table.Lifetime2 or 1.5
  569. local Parent = Table.Parent or Torso
  570. local Emit = Table.Emit or 100
  571. local Offset = Table.Offset or 360
  572. local Acel = Table.Acel or VT(0,0,0)
  573. local Enabled = Table.Enabled or false
  574. PRTCL.Parent = Parent
  575. PRTCL.Size = NumberSequence.new(Size1,Size2)
  576. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  577. PRTCL.Speed = NumberRange.new(Speed)
  578. PRTCL.VelocitySpread = Offset
  579. PRTCL.Drag = Drag
  580. PRTCL.Acceleration = Acel
  581. if Enabled == false then
  582. PRTCL:Emit(Emit)
  583. Debris:AddItem(PRTCL,Lifetime2)
  584. else
  585. PRTCL.Enabled = true
  586. end
  587. return PRTCL
  588. end
  589.  
  590. --//=================================\\
  591. --|| WEAPON CREATION
  592. --\\=================================//
  593.  
  594. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  595. PRT.Color = C3(0,0,0)
  596. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  597. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  598. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  599. PRT.Color = C3(0,0,0)
  600. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  601. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  602. for i = 1, 16 do
  603. local FACE = CreatePart(3, Character, "Neon", 0, 0+(i-1)/16.2, "Really red", "FaceGrident", VT(1.01,0.65,1.01),false)
  604. FACE.Color = C3(0,0,0)
  605. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  606. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  607. end
  608. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  609. MakeForm(EYE,"Ball")
  610. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  611. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  612. MakeForm(EYE2,"Ball")
  613. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  614.  
  615. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  616. function ParticleEmitter(Table)
  617. local PRTCL = Particle:Clone()
  618. local Speed = Table.Speed or 5
  619. local Drag = Table.Drag or 0
  620. local Size1 = Table.Size1 or 1
  621. local Size2 = Table.Size2 or 5
  622. local Lifetime1 = Table.Lifetime1 or 1
  623. local Lifetime2 = Table.Lifetime2 or 1.5
  624. local Parent = Table.Parent or Torso
  625. local Emit = Table.Emit or 100
  626. local Offset = Table.Offset or 360
  627. local Acel = Table.Acel or VT(0,0,0)
  628. local Enabled = Table.Enabled or false
  629. PRTCL.Parent = Parent
  630. PRTCL.Size = NumberSequence.new(Size1,Size2)
  631. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  632. PRTCL.Speed = NumberRange.new(Speed)
  633. PRTCL.VelocitySpread = Offset
  634. PRTCL.Drag = Drag
  635. PRTCL.Acceleration = Acel
  636. if Enabled == false then
  637. PRTCL:Emit(Emit)
  638. Debris:AddItem(PRTCL,Lifetime2)
  639. else
  640. PRTCL.Enabled = true
  641. end
  642. return PRTCL
  643. end
  644.  
  645. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  646. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  647.  
  648. for _, c in pairs(Weapon:GetDescendants()) do
  649. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  650. c.Material = "Neon"
  651. c.Color = C3(0,0,0)
  652. elseif c.ClassName == "Part" and c.Name == "Eye" then
  653. c.Color = C3(1,0,0)
  654. c.Material = "Neon"
  655. end
  656. end
  657.  
  658. Weapon.Parent = Character
  659. for _, c in pairs(Weapon:GetChildren()) do
  660. if c.ClassName == "Part" then
  661. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  662. end
  663. end
  664.  
  665. local SKILLTEXTCOLOR = C3(1,0,0)
  666. local SKILLFONT = "Antique"
  667. local SKILLTEXTSIZE = 7
  668.  
  669. Humanoid.Died:connect(function()
  670. ATTACK = true
  671. end)
  672.  
  673. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.1, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  674. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  675. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  676. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  677. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  678. ]]
  679. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] ", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  680. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  681. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  682. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  683. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  684. ]]
  685. function printbye(Name)
  686. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  687. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  688. end
  689.  
  690. workspace.ChildAdded:connect(function(instance)
  691. for BANISH = 1, #TOBANISH do
  692. if TOBANISH[BANISH] ~= nil then
  693. if instance.Name == TOBANISH[BANISH] then
  694. coroutine.resume(coroutine.create(function()
  695. printbye(instance.Name)
  696. instance:ClearAllChildren()
  697. Debris:AddItem(instance,0.0005)
  698. end))
  699. end
  700. end
  701. end
  702. end)
  703.  
  704. --//=================================\\
  705. --|| DAMAGING
  706. --\\=================================//
  707.  
  708. function Banish(Foe)
  709. if Foe then
  710. coroutine.resume(coroutine.create(function()
  711. --if game.Players:FindFirstChild(Foe.Name) then
  712. table.insert(TOBANISH,Foe.Name)
  713. printbye(Foe.Name)
  714. --end
  715. Foe.Archivable = true
  716. local CLONE = Foe:Clone()
  717. Foe:Destroy()
  718. CLONE.Parent = Effects
  719. CLONE:BreakJoints()
  720. local MATERIALS = {"Glass","Neon"}
  721. for _, c in pairs(CLONE:GetDescendants()) do
  722. if c:IsA("BasePart") then
  723. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  724. CreateSound(340722848, c, 10, 1, false)
  725. end
  726. c.Anchored = true
  727. c.Transparency = c.Transparency + 0.2
  728. c.Material = MATERIALS[MRANDOM(1,2)]
  729. c.Color = C3(1,0,0)
  730. if c.ClassName == "MeshPart" then
  731. c.TextureID = ""
  732. end
  733. if c:FindFirstChildOfClass("SpecialMesh") then
  734. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  735. end
  736. if c:FindFirstChildOfClass("Decal") then
  737. c:FindFirstChildOfClass("Decal"):remove()
  738. end
  739. c.Name = "Banished"
  740. c.CanCollide = false
  741. else
  742. c:remove()
  743. end
  744. end
  745. local A = false
  746. for i = 1, 35 do
  747. if A == false then
  748. A = true
  749. elseif A == true then
  750. A = false
  751. end
  752. for _, c in pairs(CLONE:GetDescendants()) do
  753. if c:IsA("BasePart") then
  754. c.Anchored = true
  755. c.Material = MATERIALS[MRANDOM(1,2)]
  756. c.Transparency = c.Transparency + 0.8/35
  757. if A == false then
  758. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  759. elseif A == true then
  760. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  761. end
  762. end
  763. end
  764. Swait()
  765. end
  766. CLONE:remove()
  767. end))
  768. end
  769. end
  770.  
  771. function ApplyAoE(POSITION,RANGE,ISBANISH)
  772. local CHILDREN = workspace:GetDescendants()
  773. for index, CHILD in pairs(CHILDREN) do
  774. if CHILD.ClassName == "Model" and CHILD ~= Character then
  775. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  776. if HUM then
  777. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  778. if TORSO then
  779. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  780. if ISBANISH == true then
  781. Banish(CHILD)
  782. else
  783. if ISBANISH == "Gravity" then
  784. HUM.PlatformStand = true
  785. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  786. local grav = Instance.new("BodyPosition",TORSO)
  787. grav.D = 15
  788. grav.P = 20000
  789. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  790. grav.position = TORSO.Position
  791. grav.Name = "V3BanishForce"..Player.Name
  792. else
  793. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  794. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  795. end
  796. else
  797. HUM.PlatformStand = false
  798. end
  799. end
  800. elseif ISBANISH == "Gravity" then
  801. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  802. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  803. HUM.PlatformStand = false
  804. end
  805. end
  806. end
  807. end
  808. end
  809. end
  810. end
  811.  
  812. function ApplyAoE(POSITION,RANGE,BRUTAL)
  813. local CHILDREN = workspace:GetDescendants()
  814. for index, CHILD in pairs(CHILDREN) do
  815. if CHILD.ClassName == "Model" and CHILD ~= Character then
  816. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  817. if HUM then
  818. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  819. if TORSO then
  820. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  821. if BRUTAL == true then
  822. Kill(CHILD)
  823. else
  824. CHILD:BreakJoints()
  825. end
  826. end
  827. end
  828. end
  829. end
  830. end
  831. end
  832.  
  833. function Kill(Char)
  834. local NewCharacter = IT("Model",Effects)
  835. NewCharacter.Name = "Ow im ded ;-;"
  836. for _, c in pairs(Char:GetDescendants()) do
  837. if c:IsA("BasePart") and c.Transparency == 0 then
  838. if c.Parent == Char then
  839. getbloody(c,5)
  840. end
  841. c:BreakJoints()
  842. c.Material = "Neon"
  843. c.Color = C3(1,0,0)
  844. c.CanCollide = true
  845. c.Transparency = 0.3
  846. if c:FindFirstChildOfClass("SpecialMesh") then
  847. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  848. end
  849. if c.Name == "Head" then
  850. c:ClearAllChildren()
  851. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  852. end
  853. if c.ClassName == "MeshPart" then
  854. c.TextureID = ""
  855. end
  856. if c:FindFirstChildOfClass("BodyPosition") then
  857. c:FindFirstChildOfClass("BodyPosition"):remove()
  858. end
  859. if c:FindFirstChildOfClass("ParticleEmitter") then
  860. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  861. end
  862. c.Parent = NewCharacter
  863. c.Name = "DeadPart"
  864. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  865. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  866. end
  867. end
  868. Char:remove()
  869. Debris:AddItem(NewCharacter,5)
  870. end
  871.  
  872.  
  873. --//=================================\\
  874. --|| ATTACK FUNCTIONS AND STUFF
  875. --\\=================================//
  876.  
  877. function YouCantHide()
  878. local target = Mouse.Target
  879. if(target and target.Parent and not Char:IsAncestorOf(target) and target.Parent:FindFirstChildOfClass'Humanoid')then
  880. if(Victim ~= target.Parent)then
  881. Victim = target.Parent;
  882. Target.Enabled = true
  883. Target.Adornee = GetTorso(Victim)
  884. TargetImg1.ImageTransparency = 1
  885. TargetImg2.ImageTransparency = 1
  886. TargetImg1.Size = UDim2.new(6,0,6,0)
  887. TargetImg2.Size = UDim2.new(6.4,0,6.4,0)
  888. Tween(TargetImg1,{ImageTransparency=0,Size=UDim2.new(1,0,1,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  889. Tween(TargetImg2,{ImageTransparency=0,Size=UDim2.new(1.4,0,1.4,0)},.5,Enum.EasingStyle.Quad,Enum.EasingDirection.Out)
  890. end
  891. end
  892. end
  893.  
  894. function The_End()
  895. local humanoid, torso = ClosestHumanoid(Torso.CFrame.p,5)
  896.  
  897. if(torso)then
  898. Attack = true
  899. NeutralAnims = false
  900. local who = torso.Parent
  901. Hum.WalkSpeed = 0
  902. Hum.JumpPower = 0
  903. humanoid.WalkSpeed = 0
  904. humanoid.JumpPower = 0
  905. who.Parent = Char
  906. pcall(function() who.HumanoidRootPart:destroy() end)
  907. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,0,-1.35)})
  908. for i = 0, 2, 0.1 do
  909. swait()
  910. local Alpha = .3
  911. RJ.C0 = clerp(RJ.C0,CFrame.new(0.00184797007, 0.00629393011, 0.00175395911, 0.916352093, -0.00251661055, -0.400364727, 0, 0.99998033, -0.00628567068, 0.400372595, 0.0057598874, 0.916333973),Alpha)
  912. LH.C0 = clerp(LH.C0,CFrame.new(-0.565588713, -0.991164684, -0.032800708, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  913. RH.C0 = clerp(RH.C0,CFrame.new(0.562351584, -0.990811467, 0.0429569148, 0.909990132, 0, 0.414630055, -0.00260622799, 0.99998033, 0.00571989827, -0.41462189, -0.00628567068, 0.909972131),Alpha)
  914. LS.C0 = clerp(LS.C0,CFrame.new(-1.479936, 0.442725629, -0.241928637, 0.997844577, 0.0469278991, -0.0458690971, -0.0638397709, 0.532425106, -0.844066501, -0.015188396, 0.845175505, 0.534273386),Alpha)
  915. RS.C0 = clerp(RS.C0,CFrame.new(1.32794857, 0.365926802, 0.17400004, 0.584510565, -0.811339498, 0.00870320201, 0.447906405, 0.331590444, 0.830317855, -0.676555634, -0.481431335, 0.557222128),Alpha)
  916. NK.C0 = clerp(NK.C0,CFrame.new(-0.00438193232, 1.49895084, -0.014841184, 0.916352212, -0.0230187047, 0.399710178, -0.00251696701, 0.997995079, 0.0632432774, -0.400364548, -0.0589591675, 0.914456904),Alpha)
  917. end
  918. Sound(Torso,200065377,1.3,4,false,true,true)
  919. for i = 0, 1, 0.1 do
  920. swait()
  921. local Alpha = .2
  922. RJ.C0 = clerp(RJ.C0,CFrame.new(0.0928741172, 0.00629402744, 0.0566893518, 0.948310614, 0.00199300773, 0.317336231, 0, 0.99998033, -0.00628030393, -0.31734252, 0.00595567934, 0.948291838),Alpha)
  923. LH.C0 = clerp(LH.C0,CFrame.new(-0.645890057, -0.990359426, 0.0953748077, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  924. RH.C0 = clerp(RH.C0,CFrame.new(0.44459179, -0.991404057, -0.0513649136, 0.953149736, 0, -0.302498937, 0.00189978536, 0.99998033, 0.00598607073, 0.302492946, -0.00628030393, 0.953130901),Alpha)
  925. LS.C0 = clerp(LS.C0,CFrame.new(-1.47928679, 0.367728233, 0.116084039, 0.997845054, 0.0248440802, 0.0607300103, -0.0638346076, 0.581721425, 0.810879469, -0.0151824057, -0.813008547, 0.582053781),Alpha)
  926. RS.C0 = clerp(RS.C0,CFrame.new(1.48636484, 0.465858519, -0.373306572, -0.95769608, 0.284951091, -0.0402629375, -0.130770594, -0.306276649, 0.942917705, 0.256353855, 0.908293724, 0.330583185),Alpha)
  927. NK.C0 = clerp(NK.C0,CFrame.new(-0.068510659, 1.4984324, -0.0973624364, 0.948310554, 0.0182456542, -0.316817731, 0.00199265103, 0.997983873, 0.0634387434, 0.31733641, -0.0607909337, 0.946362138),Alpha)
  928. end
  929. gWeld:destroy()
  930. local gWeld = NewInstance("Weld",Char,{Part0=RArm,Part1=torso,C0=CF.N(0,-1.15,0)*CF.A(M.R(90),0,M.R(180))})
  931. for i = 0, 1, 0.1 do
  932. swait()
  933. local Alpha = .3
  934. humanoid.PlatformStand = true
  935. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  936. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  937. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  938. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  939. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  940. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  941. end
  942. gWeld:destroy()
  943. local gWeld = NewInstance("Weld",Char,{Part0=Root,Part1=torso,C0=CF.N(0,2.35,0)*CF.A(M.R(90),0,M.R(90))})
  944. for i = 0, 6, 0.1 do
  945. swait()
  946. local Alpha = .3
  947. humanoid.PlatformStand = true
  948. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  949. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  950. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  951. LS.C0 = clerp(LS.C0,CFrame.new(-1.29056597, 0.680865526, -0.0074476786, -0.953151584, -0.302089065, 0.0156119959, 0.302213609, -0.953219652, 0.0062854127, 0.0129829049, 0.0107091125, 0.999858022),Alpha)
  952. RS.C0 = clerp(RS.C0,CFrame.new(1.26373434, 0.722399652, 0.00951428805, -0.951173186, 0.308261454, 0.0156119959, -0.308199704, -0.951300979, 0.0062854127, 0.0167892575, 0.0011669076, 0.999858022),Alpha)
  953. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  954. end
  955. Sound(torso,1093102664,.85,5,false,true,true)
  956. Sound(torso,429400881,1,1,false,true,true)
  957. gWeld:destroy()
  958. Blood(torso.Size,torso.CFrame*CF.A(0,M.R(180),0),250)
  959. humanoid.Health = 0
  960. for _,v in next, who:children() do
  961. if(v:IsA'LocalScript' or v:IsA'Script')then
  962. v.Disabled = true
  963. v:destroy()
  964. end
  965. end
  966. Ragdoll(who,true)
  967.  
  968.  
  969. if(not VoidSB)then
  970. coroutine.wrap(function()
  971. repeat swait()
  972. BloodDrop(torso.CFrame * CF.N(0,-torso.Size.Y/2,0).p,(torso.CFrame * CF.N(0,-torso.Size.Y,0)).p,15)
  973. until not who or not who.Parent
  974. end)()
  975. coroutine.wrap(function()
  976. local LT = who:FindFirstChild'LowerTorso'
  977. if(LT)then
  978. repeat swait()
  979. BloodDrop(LT.CFrame * CF.N(0,LT.Size.Y/2,0).p,(LT.CFrame * CF.N(0,LT.Size.Y,0)).p,15)
  980. until not who or not who.Parent
  981. end
  982. end)()
  983. end
  984.  
  985. for i = 0, 1, 0.1 do
  986. swait()
  987. local Alpha = .3
  988. humanoid.PlatformStand = true
  989. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496),Alpha)
  990. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  991. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022),Alpha)
  992. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022),Alpha)
  993. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022),Alpha)
  994. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947),Alpha)
  995. end
  996. for i = 0, 4, 0.1 do
  997. swait()
  998. local Alpha = .3
  999. RJ.C0 = clerp(RJ.C0,CFrame.new(3.20394752e-13, 0.00629078969, 1.39809708e-06, 0.999999225, 5.09317033e-11, 0, -4.38656264e-11, 0.999980271, -0.00628618058, 0, 0.00628617639, 0.999979496)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1000. LH.C0 = clerp(LH.C0,CFrame.new(-0.496493757, -0.990819752, 0.021611426, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1001. RH.C0 = clerp(RH.C0,CFrame.new(0.498526245, -0.990984261, 0.0154614868, 0.999877751, -4.38656264e-11, 0.0156119959, -9.81397825e-05, 0.999980271, 0.0062854127, -0.0156116877, -0.00628618058, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1002. LS.C0 = clerp(LS.C0,CFrame.new(-1.19203663, 0.569933176, 0.0160028264, -0.81626749, 0.577462554, 0.0156119959, -0.577441692, -0.816407859, 0.0062854127, 0.016375348, -0.0038844361, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1003. RS.C0 = clerp(RS.C0,CFrame.new(1.22609437, 0.679628015, 0.010370885, -0.77247268, -0.634855568, 0.0156119959, 0.634996474, -0.772489607, 0.0062854127, 0.00806977227, 0.0147688743, 0.999858022)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1004. NK.C0 = clerp(NK.C0,CFrame.new(-1.17865966e-07, 1.4989531, -0.0143954754, 0.999999642, 2.11689621e-05, 1.13360584e-05, -1.50896085e-07, 0.477647185, -0.878551781, -2.40113586e-05, 0.878551543, 0.477646947)*CF.A(M.RRNG(-5,5),M.RRNG(-5,5),M.RRNG(-5,5)),Alpha)
  1005. end
  1006. who.Parent = workspace
  1007. Attack = false
  1008. NeutralAnims = true
  1009. Hum.WalkSpeed = 16
  1010. Hum.JumpPower = 50
  1011. end
  1012. end
  1013.  
  1014. --// Other Functions \\ --
  1015.  
  1016. function CastRay(startPos,endPos,range,ignoreList)
  1017. local ray = Ray.new(startPos,(endPos-startPos).unit*range)
  1018. local part,pos,norm = workspace:FindPartOnRayWithIgnoreList(ray,ignoreList or {Char},false,true)
  1019. return part,pos,norm,(pos and (startPos-pos).magnitude)
  1020. end
  1021.  
  1022. function getRegion(point,range,ignore)
  1023. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1024. end
  1025.  
  1026. function clerp(startCF,endCF,alpha)
  1027. return startCF:lerp(endCF, alpha)
  1028. end
  1029.  
  1030. function GetTorso(char)
  1031. return char:FindFirstChild'Torso' or char:FindFirstChild'UpperTorso' or char:FindFirstChild'LowerTorso' or char:FindFirstChild'HumanoidRootPart'
  1032. end
  1033.  
  1034.  
  1035. function ShowDamage(Pos, Text, Time, Color)
  1036. coroutine.wrap(function()
  1037. local Rate = (1 / Frame_Speed)
  1038. local Pos = (Pos or Vector3.new(0, 0, 0))
  1039. local Text = (Text or "")
  1040. local Time = (Time or 2)
  1041. local Color = (Color or Color3.new(1, 0, 1))
  1042. local EffectPart = NewInstance("Part",Effects,{
  1043. Material=Enum.Material.SmoothPlastic,
  1044. Reflectance = 0,
  1045. Transparency = 1,
  1046. BrickColor = BrickColor.new(Color),
  1047. Name = "Effect",
  1048. Size = Vector3.new(0,0,0),
  1049. Anchored = true,
  1050. CFrame = CF.N(Pos)
  1051. })
  1052. local BillboardGui = NewInstance("BillboardGui",EffectPart,{
  1053. Size = UDim2.new(1.25, 0, 1.25, 0),
  1054. Adornee = EffectPart,
  1055. })
  1056. local TextLabel = NewInstance("TextLabel",BillboardGui,{
  1057. BackgroundTransparency = 1,
  1058. Size = UDim2.new(1, 0, 1, 0),
  1059. Text = Text,
  1060. Font = "Bodoni",
  1061. TextColor3 = Color,
  1062. TextStrokeColor3 = Color3.new(0,0,0),
  1063. TextStrokeTransparency=0,
  1064. TextScaled = true,
  1065. })
  1066. S.Debris:AddItem(EffectPart, (Time))
  1067. EffectPart.Parent = workspace
  1068. delay(0, function()
  1069. Tween(EffectPart,{CFrame=CF.N(Pos)*CF.N(0,3,0)},Time,Enum.EasingStyle.Elastic,Enum.EasingDirection.Out)
  1070. local Frames = (Time / Rate)
  1071. for Frame = 1, Frames do
  1072. swait()
  1073. local Percent = (Frame / Frames)
  1074. TextLabel.TextTransparency = Percent
  1075. TextLabel.TextStrokeTransparency = Percent
  1076. end
  1077. if EffectPart and EffectPart.Parent then
  1078. EffectPart:Destroy()
  1079. end
  1080. end) end)()
  1081. end
  1082.  
  1083. function Taunt()
  1084. ATTACK = true
  1085. Rooted = false
  1086. TAUNT = true
  1087. for i=0, 0.1, 0.1 / Animation_Speed do
  1088. Swait()
  1089. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1090. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1091. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1092. end
  1093. for i=0, 3, 0.1 / Animation_Speed do
  1094. Swait()
  1095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1098. end
  1099. CreateSound(363808674, Torso, 10, 1.3)
  1100. for i=0, 1, 0.1 / Animation_Speed do
  1101. Swait()
  1102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  1103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  1104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1105. end
  1106. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  1107. CreateSound(649634100, Torso, 10, 0.8)
  1108. for i=0, 0.01, 0.1 / Animation_Speed do
  1109. Swait()
  1110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  1112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  1113. end
  1114. ATTACK = false
  1115. Rooted = false
  1116. TAUNT = false
  1117. end
  1118.  
  1119. --//=================================\\
  1120. --|| ASSIGN THINGS TO KEYS
  1121. --\\=================================//
  1122.  
  1123. function MouseDown(Mouse)
  1124. if ATTACK == false then
  1125. end
  1126. end
  1127.  
  1128. function MouseUp(Mouse)
  1129. HOLD = false
  1130. end
  1131.  
  1132. function KeyDown(Key)
  1133. KEYHOLD = true
  1134. if Key == "z" and ATTACK == false then
  1135. YouCantHide()
  1136. end
  1137.  
  1138. if Key == "t" and ATTACK == false then
  1139. Taunt()
  1140. end
  1141.  
  1142. if Key == "c" and ATTACK == false then
  1143. end
  1144.  
  1145. if Key == "v" and ATTACK == false then
  1146. end
  1147.  
  1148. if Key == "x" and ATTACK == false then
  1149. end
  1150. end
  1151.  
  1152. function KeyUp(Key)
  1153. KEYHOLD = false
  1154. end
  1155.  
  1156. Mouse.Button1Down:connect(function(NEWKEY)
  1157. MouseDown(NEWKEY)
  1158. end)
  1159. Mouse.Button1Up:connect(function(NEWKEY)
  1160. MouseUp(NEWKEY)
  1161. end)
  1162. Mouse.KeyDown:connect(function(NEWKEY)
  1163. KeyDown(NEWKEY)
  1164. end)
  1165. Mouse.KeyUp:connect(function(NEWKEY)
  1166. KeyUp(NEWKEY)
  1167. end)
  1168.  
  1169. --//=================================\\
  1170. --\\=================================//
  1171.  
  1172.  
  1173. function unanchor()
  1174. if UNANCHOR == true then
  1175. g = Character:GetChildren()
  1176. for i = 1, #g do
  1177. if g[i].ClassName == "Part" then
  1178. g[i].Anchored = false
  1179. end
  1180. end
  1181. end
  1182. end
  1183.  
  1184.  
  1185. --//=================================\\
  1186. --|| WRAP THE WHOLE SCRIPT UP
  1187. --\\=================================//
  1188.  
  1189. Humanoid.Changed:connect(function(Jump)
  1190. if Jump == "Jump" and (Disable_Jump == true) then
  1191. Humanoid.Jump = false
  1192. end
  1193. end)
  1194.  
  1195. local CONNECT = nil
  1196.  
  1197. while true do
  1198. Swait()
  1199. ANIMATE.Parent = nil
  1200. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1201. Humanoid = IT("Humanoid",Character)
  1202. end
  1203. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1204. v:Stop();
  1205. end
  1206. SINE = SINE + CHANGE
  1207. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1208. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1209. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1210. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1211. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1212. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1213. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1214. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1215. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * 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)
  1216. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1217. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1218. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1219. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1220. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1221. end
  1222. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1223. ANIM = "Jump"
  1224. if ATTACK == false then
  1225. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1226. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1227. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1228. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1229. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1230. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1231. end
  1232. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1233. ANIM = "Fall"
  1234. if ATTACK == false then
  1235. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1236. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1237. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1238. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1239. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1240. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1241. end
  1242. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1243. ANIM = "Idle"
  1244. if ATTACK == false then
  1245. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1246. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1247. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1248. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1249. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1250. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1251. end
  1252. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1253. ANIM = "Walk"
  1254. if ATTACK == false then
  1255. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1256. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1257. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1258. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(20), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1259. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1260. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1261. end
  1262. end
  1263. unanchor()
  1264. Humanoid.MaxHealth = "inf"
  1265. Humanoid.Health = "inf"
  1266. if Rooted == false then
  1267. Disable_Jump = false
  1268. Humanoid.WalkSpeed = Speed
  1269. elseif Rooted == true then
  1270. Disable_Jump = true
  1271. Humanoid.WalkSpeed = 0
  1272. end
  1273. sick.Parent = Torso
  1274. sick:resume()
  1275. sick.Volume = 5
  1276. sick.Pitch = 1
  1277. sick.SoundId = "rbxassetid://1547875818"
  1278. sick.Name = "MAD"
  1279. end
  1280.  
  1281. --//=================================\\
  1282. --\\=================================//
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288. --//====================================================\\--
  1289. --|| END OF SCRIPT
  1290. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement