Advertisement
OVERLORDTV000

Untitled

Nov 17th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.10 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| 'MURDER' BY SHACKLUSTER
  3. --||
  4. --|| TASTE OF BLOOD.
  5. --|| IT'S MURDER, WAS IT WORTH IT?
  6. --|| THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.
  7. --\\====================================================//--
  8.  
  9. wait(0.2)
  10.  
  11. script:ClearAllChildren()
  12. wait(0.2)
  13.  
  14. Player = game:GetService("Players").OVERLORDTV788
  15. PlayerGui = Player.PlayerGui
  16. Cam = workspace.CurrentCamera
  17. Backpack = Player.Backpack
  18. Character = Player.Character
  19. Humanoid = Character.Humanoid
  20. Mouse = Player:GetMouse()
  21. RootPart = Character["HumanoidRootPart"]
  22. Torso = Character["Torso"]
  23. Head = Character["Head"]
  24. RightArm = Character["Right Arm"]
  25. LeftArm = Character["Left Arm"]
  26. RightLeg = Character["Right Leg"]
  27. LeftLeg = Character["Left Leg"]
  28. RootJoint = RootPart["RootJoint"]
  29. Neck = Torso["Neck"]
  30. RightShoulder = Torso["Right Shoulder"]
  31. LeftShoulder = Torso["Left Shoulder"]
  32. RightHip = Torso["Right Hip"]
  33. LeftHip = Torso["Left Hip"]
  34. local TIME = 0
  35. local sick1 = Instance.new("Sound",Torso)
  36. sick1.SoundId = "rbxassetid://264224187"
  37. sick1.Looped = true
  38. sick1.Pitch = 1
  39. sick1.Volume = 4
  40. sick1:Play()
  41.  
  42. IT = Instance.new
  43. CF = CFrame.new
  44. VT = Vector3.new
  45. RAD = math.rad
  46. C3 = Color3.new
  47. UD2 = UDim2.new
  48. BRICKC = BrickColor.new
  49. ANGLES = CFrame.Angles
  50. EULER = CFrame.fromEulerAnglesXYZ
  51. COS = math.cos
  52. ACOS = math.acos
  53. SIN = math.sin
  54. ASIN = math.asin
  55. ABS = math.abs
  56. MRANDOM = math.random
  57. FLOOR = math.floor
  58.  
  59. --//=================================\\
  60. --|| USEFUL VALUES
  61. --\\=================================//
  62.  
  63. Animation_Speed = 3
  64. local FORCERESET = false
  65. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  66. local Speed = 25
  67. local SIZE = 1
  68. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  69. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  70. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  71. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  72. local DAMAGEMULTIPLIER = 1
  73. local ANIM = "Idle"
  74. local ATTACK = false
  75. local WHITELIST = {}
  76. local EQUIPPED = false
  77. local HOLD = false
  78. local COMBO = 1
  79. Player_Size = 1 --Size of the player.
  80. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  81. local Rooted = false
  82. local SINE = 0
  83. local KEYHOLD = false
  84. local CHANGE = 2 / Animation_Speed
  85. local VOCALS_ENRAGES = {528589078,528589175,528589274,528589382}
  86. local WALKINGANIM = false
  87. local VALUE1 = false
  88. local VALUE2 = "DeadBanish"
  89. VALUE2 = "DarkBanish"
  90. local MODE = "DeadBanish"
  91. Player_Size = 1 --Size of the player.
  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 WEAPONGUI = IT("ScreenGui", PlayerGui)
  101. WEAPONGUI.Name = "[M U R D E R]"
  102. local Effects = IT("Folder", Weapon)
  103. Effects.Name = "Effects"
  104. local HITPOS = nil
  105. local HITFLOOR = nil
  106. local ANIMATOR = Humanoid.Animator
  107. local ANIMATE = Character:FindFirstChild("Animate")
  108. local UNANCHOR = true
  109. local TOBANISH = {}
  110. local INTRO = false
  111. local TRANSFORMED = false
  112. local INSTANT = false
  113. script.Parent = PlayerGui
  114.  
  115. --//=================================\\
  116. --\\=================================//
  117.  
  118.  
  119. --//=================================\\
  120. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  121. --\\=================================//
  122.  
  123. ArtificialHB = Instance.new("BindableEvent", script)
  124. ArtificialHB.Name = "ArtificialHB"
  125.  
  126. script:WaitForChild("ArtificialHB")
  127.  
  128. frame = Frame_Speed
  129. tf = 0
  130. allowframeloss = false
  131. tossremainder = false
  132. lastframe = tick()
  133. script.ArtificialHB:Fire()
  134.  
  135. game:GetService("RunService").Heartbeat:connect(function(s, p)
  136. tf = tf + s
  137. if tf >= frame then
  138. if allowframeloss then
  139. script.ArtificialHB:Fire()
  140. lastframe = tick()
  141. else
  142. for i = 1, math.floor(tf / frame) do
  143. script.ArtificialHB:Fire()
  144. end
  145. lastframe = tick()
  146. end
  147. if tossremainder then
  148. tf = 0
  149. else
  150. tf = tf - frame * math.floor(tf / frame)
  151. end
  152. end
  153. end)
  154.  
  155. --//=================================\\
  156. --\\=================================//
  157.  
  158. --//=================================\\
  159. --|| SOME FUNCTIONS
  160. --\\=================================//
  161.  
  162. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  163. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  164. end
  165.  
  166. function PositiveAngle(NUMBER)
  167. if NUMBER >= 0 then
  168. NUMBER = 0
  169. end
  170. return NUMBER
  171. end
  172.  
  173. function NegativeAngle(NUMBER)
  174. if NUMBER <= 0 then
  175. NUMBER = 0
  176. end
  177. return NUMBER
  178. end
  179.  
  180. function Swait(NUMBER)
  181. if NUMBER == 0 or NUMBER == nil then
  182. ArtificialHB.Event:wait()
  183. else
  184. for i = 1, NUMBER do
  185. ArtificialHB.Event:wait()
  186. end
  187. end
  188. end
  189.  
  190. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  191. local NEWMESH = IT(MESH)
  192. if MESH == "SpecialMesh" then
  193. NEWMESH.MeshType = MESHTYPE
  194. if MESHID ~= "nil" and MESHID ~= "" then
  195. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  196. end
  197. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  198. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  199. end
  200. end
  201. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  202. NEWMESH.Scale = SCALE
  203. NEWMESH.Parent = PARENT
  204. return NEWMESH
  205. end
  206.  
  207. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  208. local NEWPART = IT("Part")
  209. NEWPART.formFactor = FORMFACTOR
  210. NEWPART.Reflectance = REFLECTANCE
  211. NEWPART.Transparency = TRANSPARENCY
  212. NEWPART.CanCollide = false
  213. NEWPART.Locked = true
  214. NEWPART.Anchored = true
  215. if ANCHOR == false then
  216. NEWPART.Anchored = false
  217. end
  218. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  219. NEWPART.Name = NAME
  220. NEWPART.Size = SIZE
  221. NEWPART.Position = Torso.Position
  222. NEWPART.Material = MATERIAL
  223. NEWPART:BreakJoints()
  224. NEWPART.Parent = PARENT
  225. return NEWPART
  226. end
  227.  
  228. local function weldBetween(a, b)
  229. local weldd = Instance.new("ManualWeld")
  230. weldd.Part0 = a
  231. weldd.Part1 = b
  232. weldd.C0 = CFrame.new()
  233. weldd.C1 = b.CFrame:inverse() * a.CFrame
  234. weldd.Parent = a
  235. return weldd
  236. end
  237.  
  238.  
  239. function QuaternionFromCFrame(cf)
  240. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  241. local trace = m00 + m11 + m22
  242. if trace > 0 then
  243. local s = math.sqrt(1 + trace)
  244. local recip = 0.5 / s
  245. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  246. else
  247. local i = 0
  248. if m11 > m00 then
  249. i = 1
  250. end
  251. if m22 > (i == 0 and m00 or m11) then
  252. i = 2
  253. end
  254. if i == 0 then
  255. local s = math.sqrt(m00 - m11 - m22 + 1)
  256. local recip = 0.5 / s
  257. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  258. elseif i == 1 then
  259. local s = math.sqrt(m11 - m22 - m00 + 1)
  260. local recip = 0.5 / s
  261. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  262. elseif i == 2 then
  263. local s = math.sqrt(m22 - m00 - m11 + 1)
  264. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  265. end
  266. end
  267. end
  268.  
  269. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  270. local xs, ys, zs = x + x, y + y, z + z
  271. local wx, wy, wz = w * xs, w * ys, w * zs
  272. local xx = x * xs
  273. local xy = x * ys
  274. local xz = x * zs
  275. local yy = y * ys
  276. local yz = y * zs
  277. local zz = z * zs
  278. 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))
  279. end
  280.  
  281. function QuaternionSlerp(a, b, t)
  282. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  283. local startInterp, finishInterp;
  284. if cosTheta >= 0.0001 then
  285. if (1 - cosTheta) > 0.0001 then
  286. local theta = ACOS(cosTheta)
  287. local invSinTheta = 1 / SIN(theta)
  288. startInterp = SIN((1 - t) * theta) * invSinTheta
  289. finishInterp = SIN(t * theta) * invSinTheta
  290. else
  291. startInterp = 1 - t
  292. finishInterp = t
  293. end
  294. else
  295. if (1 + cosTheta) > 0.0001 then
  296. local theta = ACOS(-cosTheta)
  297. local invSinTheta = 1 / SIN(theta)
  298. startInterp = SIN((t - 1) * theta) * invSinTheta
  299. finishInterp = SIN(t * theta) * invSinTheta
  300. else
  301. startInterp = t - 1
  302. finishInterp = t
  303. end
  304. end
  305. 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
  306. end
  307.  
  308. function Clerp(a, b, t)
  309. local qa = {QuaternionFromCFrame(a)}
  310. local qb = {QuaternionFromCFrame(b)}
  311. local ax, ay, az = a.x, a.y, a.z
  312. local bx, by, bz = b.x, b.y, b.z
  313. local _t = 1 - t
  314. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  315. end
  316.  
  317. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  318. local frame = IT("Frame")
  319. frame.BackgroundTransparency = TRANSPARENCY
  320. frame.BorderSizePixel = BORDERSIZEPIXEL
  321. frame.Position = POSITION
  322. frame.Size = SIZE
  323. frame.BackgroundColor3 = COLOR
  324. frame.BorderColor3 = BORDERCOLOR
  325. frame.Name = NAME
  326. frame.Parent = PARENT
  327. return frame
  328. end
  329.  
  330. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  331. local label = IT("TextLabel")
  332. label.BackgroundTransparency = 1
  333. label.Size = UD2(1, 0, 1, 0)
  334. label.Position = UD2(0, 0, 0, 0)
  335. label.TextColor3 = TEXTCOLOR
  336. label.TextStrokeTransparency = STROKETRANSPARENCY
  337. label.TextTransparency = TRANSPARENCY
  338. label.FontSize = TEXTFONTSIZE
  339. label.Font = TEXTFONT
  340. label.BorderSizePixel = BORDERSIZEPIXEL
  341. label.TextScaled = false
  342. label.Text = TEXT
  343. label.Name = NAME
  344. label.Parent = PARENT
  345. return label
  346. end
  347.  
  348. function NoOutlines(PART)
  349. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  350. end
  351.  
  352. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  353. local NEWWELD = IT(TYPE)
  354. NEWWELD.Part0 = PART0
  355. NEWWELD.Part1 = PART1
  356. NEWWELD.C0 = C0
  357. NEWWELD.C1 = C1
  358. NEWWELD.Parent = PARENT
  359. return NEWWELD
  360. end
  361.  
  362. local S = IT("Sound")
  363. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  364. local NEWSOUND = nil
  365. coroutine.resume(coroutine.create(function()
  366. NEWSOUND = S:Clone()
  367. NEWSOUND.Parent = PARENT
  368. NEWSOUND.Volume = VOLUME
  369. NEWSOUND.Pitch = PITCH
  370. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  371. NEWSOUND:play()
  372. if DOESLOOP == true then
  373. NEWSOUND.Looped = true
  374. else
  375. repeat wait(1) until NEWSOUND.Playing == false
  376. NEWSOUND:remove()
  377. end
  378. end))
  379. return NEWSOUND
  380. end
  381.  
  382. function CFrameFromTopBack(at, top, back)
  383. local right = top:Cross(back)
  384. 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)
  385. end
  386.  
  387. --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})
  388. function WACKYEFFECT(Table)
  389. local TYPE = (Table.EffectType or "Sphere")
  390. local SIZE = (Table.Size or VT(1,1,1))
  391. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  392. local TRANSPARENCY = (Table.Transparency or 0)
  393. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  394. local CFRAME = (Table.CFrame or Torso.CFrame)
  395. local MOVEDIRECTION = (Table.MoveToPos or nil)
  396. local ROTATION1 = (Table.RotationX or 0)
  397. local ROTATION2 = (Table.RotationY or 0)
  398. local ROTATION3 = (Table.RotationZ or 0)
  399. local MATERIAL = (Table.Material or "Neon")
  400. local COLOR = (Table.Color or C3(1,1,1))
  401. local TIME = (Table.Time or 45)
  402. local SOUNDID = (Table.SoundID or nil)
  403. local SOUNDPITCH = (Table.SoundPitch or nil)
  404. local SOUNDVOLUME = (Table.SoundVolume or nil)
  405. coroutine.resume(coroutine.create(function()
  406. local PLAYSSOUND = false
  407. local SOUND = nil
  408. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  409. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  410. PLAYSSOUND = true
  411. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  412. end
  413. EFFECT.Color = COLOR
  414. local MSH = nil
  415. if TYPE == "Sphere" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  417. elseif TYPE == "Block" or TYPE == "Box" then
  418. MSH = IT("BlockMesh",EFFECT)
  419. MSH.Scale = SIZE
  420. elseif TYPE == "Wave" then
  421. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  422. elseif TYPE == "Ring" then
  423. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  424. elseif TYPE == "Slash" then
  425. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  426. elseif TYPE == "Round Slash" then
  427. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  428. elseif TYPE == "Swirl" then
  429. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  430. elseif TYPE == "Skull" then
  431. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  432. elseif TYPE == "Crystal" then
  433. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  434. end
  435. if MSH ~= nil then
  436. local MOVESPEED = nil
  437. if MOVEDIRECTION ~= nil then
  438. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  439. end
  440. local GROWTH = SIZE - ENDSIZE
  441. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  442. if TYPE == "Block" then
  443. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  444. else
  445. EFFECT.CFrame = CFRAME
  446. end
  447. for LOOP = 1, TIME+1 do
  448. Swait()
  449. MSH.Scale = MSH.Scale - GROWTH/TIME
  450. if TYPE == "Wave" then
  451. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  452. end
  453. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  454. if TYPE == "Block" then
  455. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  456. else
  457. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  458. end
  459. if MOVEDIRECTION ~= nil then
  460. local ORI = EFFECT.Orientation
  461. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  462. EFFECT.Orientation = ORI
  463. end
  464. end
  465. if PLAYSSOUND == false then
  466. EFFECT:remove()
  467. else
  468. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  469. EFFECT:remove()
  470. end
  471. else
  472. if PLAYSSOUND == false then
  473. EFFECT:remove()
  474. else
  475. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  476. EFFECT:remove()
  477. end
  478. end
  479. end))
  480. end
  481.  
  482. Debris = game:GetService("Debris")
  483.  
  484. function CharacterFade(COLOR,TIMER)
  485. coroutine.resume(coroutine.create(function()
  486. local FADE = IT("Model",Effects)
  487. FADE.Name = "FadingEffect"
  488. for _, c in pairs(Character:GetChildren()) do
  489. if c.ClassName == "Part" and c ~= RootPart then
  490. local FADER = c:Clone()
  491. FADER.Color = COLOR
  492. FADER.CFrame = c.CFrame
  493. FADER.Parent = FADE
  494. FADER.Anchored = true
  495. FADER.Transparency = 0.25+c.Transparency
  496. FADER:BreakJoints()
  497. FADER.Material = "Neon"
  498. if FADER.Name == "Head" then
  499. FADER:ClearAllChildren()
  500. FADER.Size = VT(1,1,1)
  501. end
  502. FADER.CanCollide = false
  503. end
  504. end
  505. local TRANS = 0.75/TIMER
  506. for i = 1, TIMER do
  507. Swait()
  508. for _, c in pairs(FADE:GetChildren()) do
  509. if c.ClassName == "Part" then
  510. c.Transparency = c.Transparency + TRANS
  511. end
  512. end
  513. end
  514. FADE:remove()
  515. end))
  516. end
  517.  
  518. function Chunks(PART)
  519. for i = 1, MRANDOM(3,5) do
  520. coroutine.resume(coroutine.create(function()
  521. local CHUNK = CreatePart(3, workspace, PART.Material, 0, PART.Transparency, PART.BrickColor, "Chunk", VT(0.3,0.3,0.3)*MRANDOM(7,13)/10, false)
  522. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  523. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  524. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  525. wait(0.1)
  526. CHUNK.CanCollide = true
  527. wait(MRANDOM(15,25)/5)
  528. for i = 1, 25 do
  529. Swait()
  530. CHUNK.Transparency = CHUNK.Transparency + 1/25
  531. end
  532. CHUNK:remove()
  533. end))
  534. end
  535. end
  536.  
  537. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  538. if FLOOR ~= nil then
  539. for i = 1, AMOUNT do
  540. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  541. DEBREE.Material = FLOOR.Material
  542. DEBREE.Color = FLOOR.Color
  543. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  544. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  545. coroutine.resume(coroutine.create(function()
  546. Swait(15)
  547. DEBREE.Parent = workspace
  548. DEBREE.CanCollide = true
  549. Debris:AddItem(DEBREE,SWAIT)
  550. end))
  551. end
  552. end
  553. end
  554.  
  555. --//=================================\\
  556. --|| GUIS AND MISC
  557. --\\=================================//
  558.  
  559.  
  560. local Particle = IT("ParticleEmitter",nil)
  561. Particle.Enabled = false
  562. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  563. Particle.LightEmission = 0.5
  564. Particle.Rate = 150
  565. Particle.ZOffset = 0.2
  566. Particle.Rotation = NumberRange.new(-180, 180)
  567. Particle.RotSpeed = NumberRange.new(-180, 180)
  568. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  569. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  570.  
  571. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  572. function ParticleEmitter(Table)
  573. local PRTCL = Particle:Clone()
  574. local Speed = Table.Speed or 5
  575. local Drag = Table.Drag or 0
  576. local Size1 = Table.Size1 or 1
  577. local Size2 = Table.Size2 or 5
  578. local Lifetime1 = Table.Lifetime1 or 1
  579. local Lifetime2 = Table.Lifetime2 or 1.5
  580. local Parent = Table.Parent or Torso
  581. local Emit = Table.Emit or 100
  582. local Offset = Table.Offset or 360
  583. local Acel = Table.Acel or VT(0,0,0)
  584. local Enabled = Table.Enabled or false
  585. PRTCL.Parent = Parent
  586. PRTCL.Size = NumberSequence.new(Size1,Size2)
  587. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  588. PRTCL.Speed = NumberRange.new(Speed)
  589. PRTCL.VelocitySpread = Offset
  590. PRTCL.Drag = Drag
  591. PRTCL.Acceleration = Acel
  592. if Enabled == false then
  593. PRTCL:Emit(Emit)
  594. Debris:AddItem(PRTCL,Lifetime2)
  595. else
  596. PRTCL.Enabled = true
  597. end
  598. return PRTCL
  599. end
  600.  
  601. function MakeForm(PART,TYPE)
  602. if TYPE == "Cyl" then
  603. local MSH = IT("CylinderMesh",PART)
  604. elseif TYPE == "Ball" then
  605. local MSH = IT("SpecialMesh",PART)
  606. MSH.MeshType = "Sphere"
  607. elseif TYPE == "Wedge" then
  608. local MSH = IT("SpecialMesh",PART)
  609. MSH.MeshType = "Wedge"
  610. end
  611. end
  612.  
  613. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Wistband part", VT(1.015,0.15,1.015),false)
  614. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  615. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.035,0.1,1.035),false)
  616. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.35, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  617. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.035,0.1,1.035),false)
  618. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.45, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  619. MakeForm(part,"Wedge")
  620. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.025,0.05,1.025),false)
  621. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.22, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  622. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(1.025,0.1,1.025),false)
  623. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0, -0.15, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  624. MakeForm(part,"Wedge")
  625. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(0.8,0.05,0.8),false)
  626. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.5, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  627. MakeForm(part,"Cyl")
  628. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Wistband part", VT(0.81,0.05,0.81),false)
  629. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.49, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  630. MakeForm(part,"Cyl")
  631. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Really red", "Wistband part", VT(0.5,0.05,0.5),false)
  632. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.51, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  633. MakeForm(part,"Cyl")
  634. local blade = CreatePart(3, Weapon, "Marble", 0, 0, "Black", "Wistband part", VT(0.5,0.05,0.5),false)
  635. local armweld = CreateWeldOrSnapOrMotor("Weld", blade, RightArm, blade, CF(0.52, -0.306, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  636. CreateMesh("SpecialMesh", blade, "FileMesh", "340607397", "", VT(0.35,0.35,0.35), VT(-0.015, 0, -0.05))
  637. local part = CreatePart(3, Weapon, "Marble", 0, 0, "Pearl", "Wistband part", VT(0.2,0.05,0.2),false)
  638. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  639. MakeForm(part,"Ball")
  640. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Black", "Wistband part", VT(0.15,0.06,0.15),false)
  641. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  642. MakeForm(part,"Ball")
  643. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Wistband part", VT(0.1,0.07,0.1),false)
  644. local weld = CreateWeldOrSnapOrMotor("Weld", part, RightArm, part, CF(0.52, -0.3, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, 0))
  645. MakeForm(part,"Ball")
  646.  
  647. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  648. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  649. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  650. MakeForm(Part,"Wedge")
  651. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  652. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  653. MakeForm(Part,"Wedge")
  654. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  655. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  656. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  657. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  658. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  659. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  660. MakeForm(Part,"Cyl")
  661. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  662. for i = 1, 8 do
  663. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  664. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  665. end
  666. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  667. MakeForm(Part,"Cyl")
  668. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  669. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  670. MakeForm(Part,"Ball")
  671. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  672. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  673. MakeForm(Part,"Wedge")
  674. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  675. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  676. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  677. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  678. MakeForm(Part,"Cyl")
  679. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  680. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  681. MakeForm(Part,"Cyl")
  682. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  683. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  684. MakeForm(Part,"Cyl")
  685. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  686. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  687. MakeForm(Part,"Wedge")
  688. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  689. local LASTPART = Handle
  690. for i = 1, 10 do
  691. if LASTPART == Handle then
  692. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  693. LASTPART = Part
  694. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  695. else
  696. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  697. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  698. LASTPART = Part
  699. end
  700. end
  701.  
  702. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  703. MakeForm(Barrel,"Cyl")
  704. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  705. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  706. MakeForm(Part,"Cyl")
  707. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  708. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  709. MakeForm(Part,"Wedge")
  710. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  711. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  712. MakeForm(Hole,"Cyl")
  713. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  714. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  715. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -1.0, 0.7), CF(0, 0, 0))
  716. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.5))
  717. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  718. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, 0.0, 0.7), CF(0, 0, 0))
  719. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.5))
  720. coroutine.resume(coroutine.create(function()
  721. while wait() do
  722. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(4), RAD(6))
  723. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(-3), RAD(-5))
  724. end
  725. end))
  726. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  727. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  728. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0.7), CF(0, 0, 0))
  729. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.3,0.3,1.2), VT(0,0,0.2))
  730. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  731. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -1.3, 0.7), CF(0, 0, 0))
  732. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.4,0.4,0.4), VT(0,0,0.2))
  733. coroutine.resume(coroutine.create(function()
  734. while wait() do
  735. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(3), RAD(3), RAD(5))
  736. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(-3), RAD(-3), RAD(-5))
  737. end
  738. end))
  739.  
  740. 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)})
  741. --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)})
  742.  
  743. for _, c in pairs(Weapon:GetDescendants()) do
  744. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  745. c.Material = "Glass"
  746. c.Color = C3(0,0,0)
  747. elseif c.ClassName == "Part" and c.Name == "Eye" then
  748. c.Color = C3(0,1,0)
  749. c.Material = "Neon"
  750. end
  751. end
  752.  
  753. Weapon.Parent = Character
  754. for _, c in pairs(Weapon:GetChildren()) do
  755. if c.ClassName == "Part" then
  756. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  757. end
  758. end
  759.  
  760. for i = 1, 10 do
  761. local FACE = CreatePart(3, Head, "Fabric", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  762. FACE.Color = C3(0,0,0)
  763. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  764. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  765. end
  766. local LASTPART = Head
  767. for i = 1, 15 do
  768. local MATH = (1-(i/16))
  769. if LASTPART == Head then
  770. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  771. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0))
  772. LASTPART = Horn
  773. Horn.Color = C3((i/15),0,0)
  774. local MSH = IT("BlockMesh",Horn)
  775. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  776. else
  777. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  778. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
  779. LASTPART = Horn
  780. Horn.Color = C3((i/15),0,0)
  781. local MSH = IT("BlockMesh",Horn)
  782. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  783. end
  784. end
  785. local LASTPART = Head
  786. for i = 1, 15 do
  787. local MATH = (1-(i/16))
  788. if LASTPART == Head then
  789. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  790. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
  791. LASTPART = Horn
  792. Horn.Color = C3((i/15),0,0)
  793. local MSH = IT("BlockMesh",Horn)
  794. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  795. else
  796. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  797. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2.1, 0) * ANGLES(RAD(25), RAD(-5), RAD(0)), CF(0, -Horn.Size.Y/2.2, 0))
  798. LASTPART = Horn
  799. Horn.Color = C3((i/15),0,0)
  800. local MSH = IT("BlockMesh",Horn)
  801. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  802. end
  803. end
  804.  
  805. local SKILLTEXTCOLOR = C3(1,0,0)
  806. local SKILLFONT = "Antique"
  807. local SKILLTEXTSIZE = 7
  808.  
  809. local ATTACKS = {"Z - Neckless","C - Brave Speed","G - Slashed","V - Dirtface"}
  810.  
  811. local GUIS = {}
  812. for i = 1, #ATTACKS do
  813. local SKILLFRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.74, 0, 0.97-(0.02*i), 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill Frame")
  814. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Skill text")
  815. SKILLTEXT.TextXAlignment = "Right"
  816. table.insert(GUIS,SKILLTEXT)
  817. end
  818.  
  819. local sick = IT("Sound",RootPart)
  820. sick.SoundId = "rbxassetid://407749940"
  821. sick.Looped = true
  822. sick.Pitch = 1
  823. sick.Volume = 3
  824. sick:Play()
  825.  
  826. warn("TASTE OF BLOOD.")
  827. warn("IT'S MURDER, WAS IT WORTH IT?")
  828. warn("THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.")
  829.  
  830. --//=================================\\
  831. --|| INSANITY
  832. --\\=================================//
  833.  
  834. local FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0, 0, 0, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "MURDER")
  835. local FACEME = {"DIE","MURDER","DEATH","ANGER","ME?","WOUNDED","SNAP"}
  836. local INSANITYGUIS = {}
  837. for e = 1, 28 do
  838. for i = 1, 22 do
  839. local MURDERFRAME = FRAME:Clone()
  840. MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
  841. MURDERFRAME.Parent = WEAPONGUI
  842. table.insert(INSANITYGUIS,MURDERFRAME)
  843. end
  844. end
  845. coroutine.resume(coroutine.create(function()
  846. while true do
  847. wait()
  848. coroutine.resume(coroutine.create(function()
  849. local COLOR = C3(MRANDOM(100,255)/255,0,0)
  850. local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
  851. local SHOW = ""
  852. for i = 1,string.len(APPEARTEXT),1 do
  853. local STRING = string.sub(APPEARTEXT,i,i)
  854. if MRANDOM(1,2) == 1 then
  855. SHOW = SHOW..string.lower(STRING)
  856. else
  857. SHOW = SHOW..STRING
  858. end
  859. end
  860. local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
  861. local TEXT = CreateLabel(PARENT, SHOW, COLOR, 14, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
  862. for i = 1, 15 do
  863. Swait()
  864. TEXT.Rotation = MRANDOM(-15,15)
  865. TEXT.TextTransparency = TEXT.TextTransparency - 1/15
  866. end
  867. for i = 1, 15 do
  868. Swait()
  869. TEXT.Rotation = MRANDOM(-15,15)
  870. TEXT.TextTransparency = TEXT.TextTransparency + 1/15
  871. end
  872. TEXT:Remove()
  873. end))
  874. end
  875. end))
  876. FRAME:remove()
  877.  
  878. --//=================================\\
  879. --|| DAMAGING
  880. --\\=================================//
  881.  
  882. function ApplyDamage(Humanoid,Damage,OneShot)
  883. Damage = Damage * DAMAGEMULTIPLIER
  884. local DEAD = false
  885. if Humanoid.Health < 2000 and OneShot == false then
  886. if Humanoid.Health - Damage > 0 then
  887. Humanoid.Health = Humanoid.Health - Damage
  888. else
  889. Humanoid.Parent:BreakJoints()
  890. DEAD = true
  891. end
  892. else
  893. DEAD = true
  894. Humanoid.Parent:BreakJoints()
  895. end
  896. if DEAD == true then
  897. local PARTS = {}
  898. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  899. if CHILD:IsA("BasePart") then
  900. table.insert(PARTS,CHILD)
  901. end
  902. end
  903. coroutine.resume(coroutine.create(function()
  904. wait(2)
  905. repeat
  906. Swait()
  907. local PIECE = nil
  908. if MRANDOM(1,5) == 1 then
  909. for E = 1, #PARTS do
  910. if MRANDOM(1,5) == 1 then
  911. PIECE = PARTS[E]
  912. table.remove(PARTS,E)
  913. break
  914. end
  915. end
  916. end
  917. if PIECE ~= nil then
  918. if PIECE.Name == "Head" then
  919. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z), Size2 = (VT(PIECE.Size.Z,PIECE.Size.Y,PIECE.Size.Z))*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), RotationX = MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  920. else
  921. WACKYEFFECT({Time = MRANDOM(10,30)*5, EffectType = "Box", Size = PIECE.Size, Size2 = PIECE.Size*MRANDOM(7,14)/10, Transparency = PIECE.Transparency, Transparency2 = 1, CFrame = PIECE.CFrame, MoveToPos = PIECE.Position+VT(0,MRANDOM(5,8)/1.5,0), MRANDOM(-25,25)/35, RotationY = MRANDOM(-25,25)/35, RotationZ = MRANDOM(-25,25)/35, Material = "Neon", Color = C3(0.4,0,0), SoundID = 3264923, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  922. end
  923. PIECE:remove()
  924. end
  925. until #PARTS == 0
  926. end))
  927. end
  928. end
  929.  
  930. --//=================================\\
  931. --|| ATTACK FUNCTIONS AND STUFF
  932. --\\=================================//
  933.  
  934. function Neckless()
  935. local TARGET = Mouse.Target
  936. if TARGET ~= nil then
  937. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  938. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  939. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  940. if ROOT and HUM.Health > 0 then
  941. local FOE = Mouse.Target.Parent
  942. local HEAD = FOE:FindFirstChild("Head")
  943. if HEAD then
  944. ATTACK = true
  945. Rooted = false
  946. CharacterFade(C3(1,0,0),150)
  947. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  948. for _, c in pairs(FOE:GetChildren()) do
  949. if c.ClassName == "Part" then
  950. c.Anchored = true
  951. end
  952. end
  953. CreateSound(235097614, Torso, 2, 3, false)
  954. for i=0, 0.5, 0.1 / Animation_Speed do
  955. Swait()
  956. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  960. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  962. end
  963. if ROOT.Name == "HumanoidRootPart" then
  964. ROOT:remove()
  965. end
  966. FOE:BreakJoints()
  967. ApplyDamage(HUM,0,true)
  968. Chunks(HEAD)
  969. HEAD.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD(90), RAD(0))
  970. CreateSound(363808674, HEAD, 5, 1, false)
  971. ROOT.Anchored = false
  972. for i=0, 0.5, 0.1 / Animation_Speed do
  973. Swait()
  974. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  975. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  977. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  978. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  979. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  980. end
  981. for _, c in pairs(FOE:GetChildren()) do
  982. if c.ClassName == "Part" then
  983. c.Anchored = false
  984. end
  985. end
  986. ATTACK = false
  987. Rooted = false
  988. end
  989. end
  990. end
  991. end
  992. end
  993. function BraveSpeed()
  994. CreateSound(235097614, Torso, 0.2, 3, false)
  995. for i = 1, 7 do
  996. CharacterFade(C3(1,0,0),25+(i*10))
  997. RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
  998. end
  999. end
  1000. function Slashed()
  1001. local TARGET = Mouse.Target
  1002. if TARGET ~= nil then
  1003. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1004. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1005. local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1006. if ROOT and HUM.Health > 0 then
  1007. local FOE = Mouse.Target.Parent
  1008. ATTACK = true
  1009. coroutine.resume(coroutine.create(function()
  1010. repeat
  1011. Swait()
  1012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.05, -0.05 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1013. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1015. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1016. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(15), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1017. until ATTACK == false
  1018. end))
  1019. for i=0, 0.2, 0.1 / Animation_Speed do
  1020. Swait()
  1021. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1022. end
  1023. for i=0, 1.2, 0.1 / Animation_Speed do
  1024. Swait()
  1025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1026. end
  1027. CreateSound(971125740, LeftArm, 5, 1, false)
  1028. for i=0, 0.1, 0.1 / Animation_Speed do
  1029. Swait()
  1030. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(1,2,1), Size2 = VT(1,2,1), Transparency = 0.2, Transparency2 = 1, CFrame = LeftArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1031. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1032. end
  1033. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
  1034. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = ROOT.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  1035. WACKYEFFECT({Time = 30, EffectType = "Sphere", Size = VT(1,0.1,1), Size2 = VT(6,0,6)*ROOT.Size.Z, Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 971126018, SoundPitch = 1.5, SoundVolume = 4})
  1036. coroutine.resume(coroutine.create(function()
  1037. for i = 1, 5 do
  1038. Chunks(ROOT)
  1039. end
  1040. local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  1041. FAKEROOT1.CanCollide = true
  1042. local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  1043. FAKEROOT2.CanCollide = true
  1044. FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
  1045. FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
  1046. ROOT:Remove()
  1047. ApplyDamage(HUM,0,true)
  1048. end))
  1049. for i=0, 0.4, 0.1 / Animation_Speed do
  1050. Swait()
  1051. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.85) * ANGLES(RAD(35), RAD(0), RAD(90)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1052. end
  1053. ATTACK = false
  1054. end
  1055. end
  1056. end
  1057. end
  1058. function Dirtface()
  1059. local TARGET = Mouse.Target
  1060. if TARGET ~= nil then
  1061. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  1062. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  1063. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  1064. if ROOT and HUM.Health > 0 then
  1065. local FOE = Mouse.Target.Parent
  1066. local HEAD = FOE:FindFirstChild("Head")
  1067. local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
  1068. if HEAD and HITFLOOR then
  1069. ATTACK = true
  1070. Rooted = true
  1071. CharacterFade(C3(1,0,0),150)
  1072. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  1073. ROOT.Anchored = true
  1074. CreateSound(235097614, Torso, 2, 3, false)
  1075. for i=0, 0.4, 0.1 / Animation_Speed do
  1076. Swait()
  1077. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1078. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1079. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1080. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1081. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1082. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1083. end
  1084. for i=0, 0.1, 0.1 / Animation_Speed do
  1085. Swait()
  1086. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1087. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1088. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1089. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1090. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1091. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1092. end
  1093. ROOT.Anchored = false
  1094. UNANCHOR = false
  1095. local DEAD = false
  1096. local CFRAME = RootPart.CFrame
  1097. CreateSound(260411131, Torso, 2, 3, false)
  1098. coroutine.resume(coroutine.create(function()
  1099. repeat
  1100. Swait()
  1101. RootPart.CFrame = CFRAME
  1102. HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  1103. HEAD.Velocity = VT(0,0,0)
  1104. HUM.PlatformStand = true
  1105. until DEAD == true
  1106. end))
  1107. for i=0, 0.2, 0.1 / Animation_Speed do
  1108. Swait()
  1109. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 1 / Animation_Speed)
  1110. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  1111. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  1112. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1113. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1114. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1115. end
  1116. for i=0, 1, 0.1 / Animation_Speed do
  1117. Swait()
  1118. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1119. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 2.5 * COS(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1120. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1121. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1122. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1123. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1124. end
  1125. local ERUPT = function()
  1126. local HITFLOOR,HITPOS = Raycast(HEAD.CFrame*CF(0,0.2,0).p+VT(0,0.2,0), (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.X, FOE)
  1127. if HITFLOOR then
  1128. for i = 1, 5 do
  1129. CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
  1130. end
  1131. Chunks(HEAD)
  1132. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(15,0,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 765590102, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 4})
  1133. end
  1134. end
  1135. local ATE = false
  1136. local DEPTH = 1
  1137. coroutine.resume(coroutine.create(function()
  1138. repeat
  1139. Swait()
  1140. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.75 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(15)), 1 / Animation_Speed)
  1141. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 + MRANDOM(-5,5) - 2.5 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(-15)), 1 / Animation_Speed)
  1142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1-DEPTH/5, -DEPTH/8) * ANGLES(RAD(60 + MRANDOM(-5,5)), RAD(0), RAD(25 + MRANDOM(-5,5))) * ANGLES(RAD(0), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1144. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.25 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(40), RAD(70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1145. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1146. until ATE == true
  1147. end))
  1148. wait()
  1149. ERUPT()
  1150. wait(2)
  1151. ERUPT()
  1152. DEPTH = 2
  1153. wait(2)
  1154. ERUPT()
  1155. DEPTH = 2.5
  1156. wait(3)
  1157. ERUPT()
  1158. ERUPT()
  1159. HEAD:remove()
  1160. DEAD = true
  1161. ApplyDamage(HUM,0,true)
  1162. wait(0.2)
  1163. ATE = true
  1164. UNANCHOR = true
  1165. ATTACK = false
  1166. Rooted = false
  1167. end
  1168. end
  1169. end
  1170. end
  1171. end
  1172. function TrustIssues()
  1173. ATTACK = true
  1174. Rooted = false
  1175. CreateSound(649634100,Head,10,0.5,false)
  1176. for i=1, 80 do
  1177. Swait()
  1178. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.15* COS(i / 5)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1179. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1180. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1181. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.15 * SIN(i / 5), 0) * ANGLES(RAD(0), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1182. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1183. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(i / 5), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1184. end
  1185. ATTACK = false
  1186. Rooted = false
  1187. end
  1188. function turnto(position)
  1189. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1190. end
  1191.  
  1192. function SpawnTrail(FROM,TO,BIG)
  1193. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  1194. MakeForm(TRAIL,"Cyl")
  1195. local DIST = (FROM - TO).Magnitude
  1196. if BIG == true then
  1197. TRAIL.Size = VT(0.5,DIST,0.5)
  1198. else
  1199. TRAIL.Size = VT(0.25,DIST,0.25)
  1200. end
  1201. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1202. coroutine.resume(coroutine.create(function()
  1203. for i = 1, 5 do
  1204. Swait()
  1205. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1206. end
  1207. TRAIL:remove()
  1208. end))
  1209. end
  1210.  
  1211. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1212. local DIRECTION = CF(StartPos,EndPos).lookVector
  1213. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1214. end
  1215.  
  1216. function ShotU()
  1217. ATTACK = true
  1218. Rooted = false
  1219. for i=0, 0.1, 0.1 / Animation_Speed do
  1220. Swait()
  1221. turnto(Mouse.Hit.p)
  1222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1223. 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)
  1224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1227. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1228. end
  1229. repeat
  1230. for i=0, 0.1, 0.1 / Animation_Speed do
  1231. Swait()
  1232. turnto(Mouse.Hit.p)
  1233. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1234. 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)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1236. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1237. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1238. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1239. end
  1240. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1241. SpawnTrail(Hole.Position,POS)
  1242. if HIT ~= nil then
  1243. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1244. Banish(HIT.Parent)
  1245. end
  1246. end
  1247. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,1,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  1248. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1249. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  1250. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1251. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 3})
  1252. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 3})
  1253. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 3})
  1254. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1255. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(15,0,15), Transparency = 1, Transparency2 = 1, CFrame = CF(Head.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1256. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,2,0), Size2 = VT(35,0,35), Transparency = 0.2, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = MRANDOM(9,11)/2})
  1257. for i=0, 0.1, 0.1 / Animation_Speed do
  1258. Swait()
  1259. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1260. 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)
  1261. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1262. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1263. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(10), RAD(90), RAD(10)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1264. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-10), RAD(-90), RAD(10)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1265. end
  1266. until KEYHOLD == false
  1267. ATTACK = false
  1268. Rooted = false
  1269. end
  1270.  
  1271. function Banish(Foe)
  1272. if Foe then
  1273. coroutine.resume(coroutine.create(function()
  1274. --if game.Players:FindFirstChild(Foe.Name) then
  1275. table.insert(TOBANISH,Foe.Name)
  1276. printbye(Foe.Name)
  1277. --end
  1278. Foe.Archivable = true
  1279. local CLONE = Foe:Clone()
  1280. Foe:Destroy()
  1281. CLONE.Parent = Effects
  1282. CLONE:BreakJoints()
  1283. local MATERIALS = {"Glass","Neon"}
  1284. for _, c in pairs(CLONE:GetDescendants()) do
  1285. if c:IsA("BasePart") then
  1286. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1287. CreateSound(340722848, c, 10, 1, false)
  1288. end
  1289. c.Anchored = true
  1290. c.Transparency = c.Transparency + 0.2
  1291. c.Material = MATERIALS[MRANDOM(1,2)]
  1292. c.Color = C3(0,1,0)
  1293. if c.ClassName == "MeshPart" then
  1294. c.TextureID = ""
  1295. end
  1296. if c:FindFirstChildOfClass("SpecialMesh") then
  1297. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1298. end
  1299. if c:FindFirstChildOfClass("Decal") then
  1300. c:FindFirstChildOfClass("Decal"):remove()
  1301. end
  1302. c.Name = "Banished"
  1303. c.CanCollide = false
  1304. else
  1305. c:remove()
  1306. end
  1307. end
  1308. local A = false
  1309. for i = 1, 35 do
  1310. if A == false then
  1311. A = true
  1312. elseif A == true then
  1313. A = false
  1314. end
  1315. for _, c in pairs(CLONE:GetDescendants()) do
  1316. if c:IsA("BasePart") then
  1317. c.Anchored = true
  1318. c.Material = MATERIALS[MRANDOM(1,2)]
  1319. c.Transparency = c.Transparency + 0.8/35
  1320. if A == false then
  1321. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1322. elseif A == true then
  1323. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1324. end
  1325. end
  1326. end
  1327. Swait()
  1328. end
  1329. CLONE:remove()
  1330. end))
  1331. end
  1332. end
  1333.  
  1334.  
  1335.  
  1336. --//=================================\\
  1337. --|| ASSIGN THINGS TO KEYS
  1338. --\\=================================//
  1339.  
  1340. function MouseDown(Mouse)
  1341. if ATTACK == false then
  1342. end
  1343. end
  1344.  
  1345. function MouseUp(Mouse)
  1346. HOLD = false
  1347. end
  1348.  
  1349. function KeyDown(Key)
  1350. KEYHOLD = true
  1351. if Key == "f" and ATTACK == false then
  1352. Neckless()
  1353. end
  1354.  
  1355. if Key == "z" and ATTACK == false then
  1356. ShotU()
  1357. end
  1358.  
  1359. if Key == "c" and ATTACK == false then
  1360. BraveSpeed()
  1361. end
  1362.  
  1363. if Key == "g" and ATTACK == false then
  1364. Slashed()
  1365. end
  1366.  
  1367. if Key == "v" and ATTACK == false then
  1368. Dirtface()
  1369. end
  1370.  
  1371. if Key == "t" and ATTACK == false then
  1372. TrustIssues()
  1373. end
  1374. end
  1375.  
  1376. function KeyUp(Key)
  1377. KEYHOLD = false
  1378. end
  1379.  
  1380. Mouse.Button1Down:connect(function(NEWKEY)
  1381. MouseDown(NEWKEY)
  1382. end)
  1383. Mouse.Button1Up:connect(function(NEWKEY)
  1384. MouseUp(NEWKEY)
  1385. end)
  1386. Mouse.KeyDown:connect(function(NEWKEY)
  1387. KeyDown(NEWKEY)
  1388. end)
  1389. Mouse.KeyUp:connect(function(NEWKEY)
  1390. KeyUp(NEWKEY)
  1391. end)
  1392.  
  1393. --//=================================\\
  1394. --\\=================================//
  1395.  
  1396. function unanchor()
  1397. for _, c in pairs(Character:GetChildren()) do
  1398. if c:IsA("BasePart") and c ~= RootPart then
  1399. c.Anchored = false
  1400. end
  1401. end
  1402. if UNANCHOR == true then
  1403. RootPart.Anchored = false
  1404. else
  1405. RootPart.Anchored = true
  1406. end
  1407. end
  1408.  
  1409. --//=================================\\
  1410. --|| WRAP THE WHOLE SCRIPT UP
  1411. --\\=================================//
  1412.  
  1413. Humanoid.Changed:connect(function(Jump)
  1414. if Jump == "Jump" and (Disable_Jump == true) then
  1415. Humanoid.Jump = false
  1416. end
  1417. end)
  1418.  
  1419. while true do
  1420. Swait()
  1421. script.Parent = WEAPONGUI
  1422. ANIMATE.Parent = nil
  1423. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1424. v:Stop();
  1425. end
  1426. SINE = SINE + CHANGE
  1427. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1428. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1429. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1430. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1431. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1432. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0.05 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1433. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1434. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1435. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2 * SIN(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(35 * COS(SINE / WALKSPEEDVALUE))), 0.6 / Animation_Speed)
  1436. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1437. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1438. 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)
  1439. 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.7 / Animation_Speed)
  1440. 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.7 / Animation_Speed)
  1441. end
  1442. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1443. ANIM = "Jump"
  1444. if ATTACK == false then
  1445. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1446. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1447. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(25 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1448. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-25 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1449. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1450. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1451. end
  1452. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1453. ANIM = "Fall"
  1454. if ATTACK == false then
  1455. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1461. end
  1462. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1463. ANIM = "Idle"
  1464. if ATTACK == false then
  1465. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1466. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1467. if MRANDOM(1,7) == 1 then
  1468. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1469. end
  1470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, 0.5) * ANGLES(RAD(-25 - 4 * COS(SINE / 12)), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1471. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, 0.5) * ANGLES(RAD(-30 - 4 * COS(SINE / 12)), RAD(0), RAD(45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1472. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1473. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1), RAD(0), RAD(0)), 1 / Animation_Speed)
  1474. end
  1475. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1476. ANIM = "Walk"
  1477. if ATTACK == false then
  1478. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1479. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 + MRANDOM(-5,5) - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(MRANDOM(-5,5)), RAD(0)), 1 / Animation_Speed)
  1480. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(40 * COS(SINE / WALKSPEEDVALUE)), RAD(-15), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1481. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40 * COS(SINE / WALKSPEEDVALUE)), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1482. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1483. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1484. end
  1485. end
  1486. unanchor()
  1487. Humanoid.MaxHealth = 170
  1488. Humanoid.Health = 170
  1489. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  1490. if Rooted == false then
  1491. Disable_Jump = false
  1492. Humanoid.WalkSpeed = Speed
  1493. elseif Rooted == true then
  1494. Disable_Jump = true
  1495. Humanoid.WalkSpeed = 0
  1496. end
  1497. sick.SoundId = "rbxassetid://407749940"
  1498. sick.Looped = true
  1499. sick.Pitch = 1
  1500. sick.Volume = 3
  1501. sick.Playing = true
  1502. if sick.Parent ~= RootPart then
  1503. sick = IT("Sound",RootPart)
  1504. end
  1505. Humanoid.Name = "NONHUM"
  1506. for E = 1, #GUIS do
  1507. GUIS[E].Rotation = MRANDOM(-5,5)/5
  1508. end
  1509.  
  1510.  
  1511. --//=================================\\
  1512. --\\=================================//
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518. --//====================================================\\--
  1519. --|| END OF SCRIPT
  1520. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement