Advertisement
ReisenBunny

Murder (For require)

Sep 8th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.61 KB | None | 0 0
  1. local Player = game:GetService("Players").MrLoLy --<=== Replace With Your Name
  2.  
  3.  
  4. local Mouse,mouse,UserInputService,ContextActionService
  5. do
  6. script.Parent = Player.Character
  7. local CAS = {Actions={}}
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10. Event.Parent = Player.Character
  11. local fakeEvent = function()
  12. local t = {_fakeEvent=true}
  13. t.Connect = function(self,f)self.Function=f end
  14. t.connect = t.Connect
  15. return t
  16. end
  17. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  18. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  19. function CAS:BindAction(name,fun,touch,...)
  20. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  21. end
  22. function CAS:UnbindAction(name)
  23. CAS.Actions[name] = nil
  24. end
  25. local function te(self,ev,...)
  26. local t = m[ev]
  27. if t and t._fakeEvent and t.Function then
  28. t.Function(...)
  29. end
  30. end
  31. m.TrigEvent = te
  32. UIS.TrigEvent = te
  33. Event.OnServerEvent:Connect(function(plr,io)
  34. if plr~=Player then return end
  35. if io.isMouse then
  36. m.Target = io.Target
  37. m.Hit = io.Hit
  38. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  39. if io.UserInputState == Enum.UserInputState.Begin then
  40. m:TrigEvent("Button1Down")
  41. else
  42. m:TrigEvent("Button1Up")
  43. end
  44. else
  45. for n,t in pairs(CAS.Actions) do
  46. for _,k in pairs(t.Keys) do
  47. if k==io.KeyCode then
  48. t.Function(t.Name,io.UserInputState,io)
  49. end
  50. end
  51. end
  52. if io.UserInputState == Enum.UserInputState.Begin then
  53. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  54. UIS:TrigEvent("InputBegan",io,false)
  55. else
  56. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  57. UIS:TrigEvent("InputEnded",io,false)
  58. end
  59. end
  60. end)
  61. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  62. end
  63.  
  64. --//====================================================\\--
  65. --|| 'MURDER' BY SHACKLUSTER
  66. --||
  67. --|| TASTE OF BLOOD.
  68. --|| IT'S MURDER, WAS IT WORTH IT?
  69. --|| THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.
  70. --\\====================================================//--
  71.  
  72. wait(0.2)
  73.  
  74. Player = game:GetService("Players").MrLoLy
  75. PlayerGui = Player.PlayerGui
  76. Cam = workspace.CurrentCamera
  77. Backpack = Player.Backpack
  78. Character = Player.Character
  79. Humanoid = Character.Humanoid
  80. RootPart = Character["HumanoidRootPart"]
  81. Torso = Character["Torso"]
  82. Head = Character["Head"]
  83. RightArm = Character["Right Arm"]
  84. LeftArm = Character["Left Arm"]
  85. RightLeg = Character["Right Leg"]
  86. LeftLeg = Character["Left Leg"]
  87. RootJoint = RootPart["RootJoint"]
  88. Neck = Torso["Neck"]
  89. RightShoulder = Torso["Right Shoulder"]
  90. LeftShoulder = Torso["Left Shoulder"]
  91. RightHip = Torso["Right Hip"]
  92. LeftHip = Torso["Left Hip"]
  93.  
  94. IT = Instance.new
  95. CF = CFrame.new
  96. VT = Vector3.new
  97. RAD = math.rad
  98. C3 = Color3.new
  99. UD2 = UDim2.new
  100. BRICKC = BrickColor.new
  101. ANGLES = CFrame.Angles
  102. EULER = CFrame.fromEulerAnglesXYZ
  103. COS = math.cos
  104. ACOS = math.acos
  105. SIN = math.sin
  106. ASIN = math.asin
  107. ABS = math.abs
  108. MRANDOM = math.random
  109. FLOOR = math.floor
  110.  
  111. --//=================================\\
  112. --|| USEFUL VALUES
  113. --\\=================================//
  114.  
  115. Animation_Speed = 3
  116. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  117. local Speed = 12
  118. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  119. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  120. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  121. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  122. local DAMAGEMULTIPLIER = 1
  123. local ANIM = "Idle"
  124. local ATTACK = false
  125. local EQUIPPED = false
  126. local HOLD = false
  127. local COMBO = 1
  128. local Rooted = false
  129. local SINE = 0
  130. local KEYHOLD = false
  131. local CHANGE = 2 / Animation_Speed
  132. local WALKINGANIM = false
  133. local VALUE1 = false
  134. local VALUE2 = false
  135. local ROBLOXIDLEANIMATION = IT("Animation")
  136. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  137. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  138. --ROBLOXIDLEANIMATION.Parent = Humanoid
  139. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  140. WEAPONGUI.Name = "[M U R D E R]"
  141. local Effects = IT("Folder", Character)
  142. Effects.Name = "Effects"
  143. local ANIMATOR = Humanoid.Animator
  144. local ANIMATE = Character.Animate
  145. local UNANCHOR = true
  146.  
  147. --//=================================\\
  148. --\\=================================//
  149.  
  150.  
  151. --//=================================\\
  152. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  153. --\\=================================//
  154.  
  155. ArtificialHB = Instance.new("BindableEvent", script)
  156. ArtificialHB.Name = "ArtificialHB"
  157.  
  158. script:WaitForChild("ArtificialHB")
  159.  
  160. frame = Frame_Speed
  161. tf = 0
  162. allowframeloss = false
  163. tossremainder = false
  164. lastframe = tick()
  165. script.ArtificialHB:Fire()
  166.  
  167. game:GetService("RunService").Heartbeat:connect(function(s, p)
  168. tf = tf + s
  169. if tf >= frame then
  170. if allowframeloss then
  171. script.ArtificialHB:Fire()
  172. lastframe = tick()
  173. else
  174. for i = 1, math.floor(tf / frame) do
  175. script.ArtificialHB:Fire()
  176. end
  177. lastframe = tick()
  178. end
  179. if tossremainder then
  180. tf = 0
  181. else
  182. tf = tf - frame * math.floor(tf / frame)
  183. end
  184. end
  185. end)
  186.  
  187. --//=================================\\
  188. --\\=================================//
  189.  
  190. --//=================================\\
  191. --|| SOME FUNCTIONS
  192. --\\=================================//
  193.  
  194. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  195. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  196. end
  197.  
  198. function PositiveAngle(NUMBER)
  199. if NUMBER >= 0 then
  200. NUMBER = 0
  201. end
  202. return NUMBER
  203. end
  204.  
  205. function NegativeAngle(NUMBER)
  206. if NUMBER <= 0 then
  207. NUMBER = 0
  208. end
  209. return NUMBER
  210. end
  211.  
  212. function Swait(NUMBER)
  213. if NUMBER == 0 or NUMBER == nil then
  214. ArtificialHB.Event:wait()
  215. else
  216. for i = 1, NUMBER do
  217. ArtificialHB.Event:wait()
  218. end
  219. end
  220. end
  221.  
  222. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  223. local NEWMESH = IT(MESH)
  224. if MESH == "SpecialMesh" then
  225. NEWMESH.MeshType = MESHTYPE
  226. if MESHID ~= "nil" and MESHID ~= "" then
  227. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  228. end
  229. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  230. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  231. end
  232. end
  233. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  234. NEWMESH.Scale = SCALE
  235. NEWMESH.Parent = PARENT
  236. return NEWMESH
  237. end
  238.  
  239. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  240. local NEWPART = IT("Part")
  241. NEWPART.formFactor = FORMFACTOR
  242. NEWPART.Reflectance = REFLECTANCE
  243. NEWPART.Transparency = TRANSPARENCY
  244. NEWPART.CanCollide = false
  245. NEWPART.Locked = true
  246. NEWPART.Anchored = true
  247. if ANCHOR == false then
  248. NEWPART.Anchored = false
  249. end
  250. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  251. NEWPART.Name = NAME
  252. NEWPART.Size = SIZE
  253. NEWPART.Position = Torso.Position
  254. NEWPART.Material = MATERIAL
  255. NEWPART:BreakJoints()
  256. NEWPART.Parent = PARENT
  257. return NEWPART
  258. end
  259.  
  260. local function weldBetween(a, b)
  261. local weldd = Instance.new("ManualWeld")
  262. weldd.Part0 = a
  263. weldd.Part1 = b
  264. weldd.C0 = CFrame.new()
  265. weldd.C1 = b.CFrame:inverse() * a.CFrame
  266. weldd.Parent = a
  267. return weldd
  268. end
  269.  
  270.  
  271. function QuaternionFromCFrame(cf)
  272. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  273. local trace = m00 + m11 + m22
  274. if trace > 0 then
  275. local s = math.sqrt(1 + trace)
  276. local recip = 0.5 / s
  277. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  278. else
  279. local i = 0
  280. if m11 > m00 then
  281. i = 1
  282. end
  283. if m22 > (i == 0 and m00 or m11) then
  284. i = 2
  285. end
  286. if i == 0 then
  287. local s = math.sqrt(m00 - m11 - m22 + 1)
  288. local recip = 0.5 / s
  289. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  290. elseif i == 1 then
  291. local s = math.sqrt(m11 - m22 - m00 + 1)
  292. local recip = 0.5 / s
  293. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  294. elseif i == 2 then
  295. local s = math.sqrt(m22 - m00 - m11 + 1)
  296. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  297. end
  298. end
  299. end
  300.  
  301. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  302. local xs, ys, zs = x + x, y + y, z + z
  303. local wx, wy, wz = w * xs, w * ys, w * zs
  304. local xx = x * xs
  305. local xy = x * ys
  306. local xz = x * zs
  307. local yy = y * ys
  308. local yz = y * zs
  309. local zz = z * zs
  310. 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))
  311. end
  312.  
  313. function QuaternionSlerp(a, b, t)
  314. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  315. local startInterp, finishInterp;
  316. if cosTheta >= 0.0001 then
  317. if (1 - cosTheta) > 0.0001 then
  318. local theta = ACOS(cosTheta)
  319. local invSinTheta = 1 / SIN(theta)
  320. startInterp = SIN((1 - t) * theta) * invSinTheta
  321. finishInterp = SIN(t * theta) * invSinTheta
  322. else
  323. startInterp = 1 - t
  324. finishInterp = t
  325. end
  326. else
  327. if (1 + cosTheta) > 0.0001 then
  328. local theta = ACOS(-cosTheta)
  329. local invSinTheta = 1 / SIN(theta)
  330. startInterp = SIN((t - 1) * theta) * invSinTheta
  331. finishInterp = SIN(t * theta) * invSinTheta
  332. else
  333. startInterp = t - 1
  334. finishInterp = t
  335. end
  336. end
  337. 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
  338. end
  339.  
  340. function Clerp(a, b, t)
  341. local qa = {QuaternionFromCFrame(a)}
  342. local qb = {QuaternionFromCFrame(b)}
  343. local ax, ay, az = a.x, a.y, a.z
  344. local bx, by, bz = b.x, b.y, b.z
  345. local _t = 1 - t
  346. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  347. end
  348.  
  349. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  350. local frame = IT("Frame")
  351. frame.BackgroundTransparency = TRANSPARENCY
  352. frame.BorderSizePixel = BORDERSIZEPIXEL
  353. frame.Position = POSITION
  354. frame.Size = SIZE
  355. frame.BackgroundColor3 = COLOR
  356. frame.BorderColor3 = BORDERCOLOR
  357. frame.Name = NAME
  358. frame.Parent = PARENT
  359. return frame
  360. end
  361.  
  362. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  363. local label = IT("TextLabel")
  364. label.BackgroundTransparency = 1
  365. label.Size = UD2(1, 0, 1, 0)
  366. label.Position = UD2(0, 0, 0, 0)
  367. label.TextColor3 = TEXTCOLOR
  368. label.TextStrokeTransparency = STROKETRANSPARENCY
  369. label.TextTransparency = TRANSPARENCY
  370. label.FontSize = TEXTFONTSIZE
  371. label.Font = TEXTFONT
  372. label.BorderSizePixel = BORDERSIZEPIXEL
  373. label.TextScaled = false
  374. label.Text = TEXT
  375. label.Name = NAME
  376. label.Parent = PARENT
  377. return label
  378. end
  379.  
  380. function NoOutlines(PART)
  381. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  382. end
  383.  
  384. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  385. local NEWWELD = IT(TYPE)
  386. NEWWELD.Part0 = PART0
  387. NEWWELD.Part1 = PART1
  388. NEWWELD.C0 = C0
  389. NEWWELD.C1 = C1
  390. NEWWELD.Parent = PARENT
  391. return NEWWELD
  392. end
  393.  
  394. local S = IT("Sound")
  395. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  396. local NEWSOUND = nil
  397. coroutine.resume(coroutine.create(function()
  398. NEWSOUND = S:Clone()
  399. NEWSOUND.Parent = PARENT
  400. NEWSOUND.Volume = VOLUME
  401. NEWSOUND.Pitch = PITCH
  402. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  403. NEWSOUND:play()
  404. if DOESLOOP == true then
  405. NEWSOUND.Looped = true
  406. else
  407. repeat wait(1) until NEWSOUND.Playing == false
  408. NEWSOUND:remove()
  409. end
  410. end))
  411. return NEWSOUND
  412. end
  413.  
  414. function CFrameFromTopBack(at, top, back)
  415. local right = top:Cross(back)
  416. 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)
  417. end
  418.  
  419. --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})
  420. function WACKYEFFECT(Table)
  421. local TYPE = (Table.EffectType or "Sphere")
  422. local SIZE = (Table.Size or VT(1,1,1))
  423. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  424. local TRANSPARENCY = (Table.Transparency or 0)
  425. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  426. local CFRAME = (Table.CFrame or Torso.CFrame)
  427. local MOVEDIRECTION = (Table.MoveToPos or nil)
  428. local ROTATION1 = (Table.RotationX or 0)
  429. local ROTATION2 = (Table.RotationY or 0)
  430. local ROTATION3 = (Table.RotationZ or 0)
  431. local MATERIAL = (Table.Material or "Neon")
  432. local COLOR = (Table.Color or C3(1,1,1))
  433. local TIME = (Table.Time or 45)
  434. local SOUNDID = (Table.SoundID or nil)
  435. local SOUNDPITCH = (Table.SoundPitch or nil)
  436. local SOUNDVOLUME = (Table.SoundVolume or nil)
  437. coroutine.resume(coroutine.create(function()
  438. local PLAYSSOUND = false
  439. local SOUND = nil
  440. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  441. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  442. PLAYSSOUND = true
  443. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  444. end
  445. EFFECT.Color = COLOR
  446. local MSH = nil
  447. if TYPE == "Sphere" then
  448. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  449. elseif TYPE == "Block" or TYPE == "Box" then
  450. MSH = IT("BlockMesh",EFFECT)
  451. MSH.Scale = SIZE
  452. elseif TYPE == "Wave" then
  453. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  454. elseif TYPE == "Ring" then
  455. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  456. elseif TYPE == "Slash" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  458. elseif TYPE == "Round Slash" then
  459. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  460. elseif TYPE == "Swirl" then
  461. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  462. elseif TYPE == "Skull" then
  463. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  464. elseif TYPE == "Crystal" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  466. end
  467. if MSH ~= nil then
  468. local MOVESPEED = nil
  469. if MOVEDIRECTION ~= nil then
  470. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  471. end
  472. local GROWTH = SIZE - ENDSIZE
  473. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  474. if TYPE == "Block" then
  475. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  476. else
  477. EFFECT.CFrame = CFRAME
  478. end
  479. for LOOP = 1, TIME+1 do
  480. Swait()
  481. MSH.Scale = MSH.Scale - GROWTH/TIME
  482. if TYPE == "Wave" then
  483. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  484. end
  485. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  486. if TYPE == "Block" then
  487. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  488. else
  489. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  490. end
  491. if MOVEDIRECTION ~= nil then
  492. local ORI = EFFECT.Orientation
  493. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  494. EFFECT.Orientation = ORI
  495. end
  496. end
  497. if PLAYSSOUND == false then
  498. EFFECT:remove()
  499. else
  500. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  501. EFFECT:remove()
  502. end
  503. else
  504. if PLAYSSOUND == false then
  505. EFFECT:remove()
  506. else
  507. repeat Swait() until EFFECT:FindFirstChildOfClass("Sound") == nil
  508. EFFECT:remove()
  509. end
  510. end
  511. end))
  512. end
  513.  
  514. Debris = game:GetService("Debris")
  515.  
  516. function CharacterFade(COLOR,TIMER)
  517. coroutine.resume(coroutine.create(function()
  518. local FADE = IT("Model",Effects)
  519. FADE.Name = "FadingEffect"
  520. for _, c in pairs(Character:GetChildren()) do
  521. if c.ClassName == "Part" and c ~= RootPart then
  522. local FADER = c:Clone()
  523. FADER.Color = COLOR
  524. FADER.CFrame = c.CFrame
  525. FADER.Parent = FADE
  526. FADER.Anchored = true
  527. FADER.Transparency = 0.25+c.Transparency
  528. FADER:BreakJoints()
  529. FADER.Material = "Neon"
  530. if FADER.Name == "Head" then
  531. FADER:ClearAllChildren()
  532. FADER.Size = VT(1,1,1)
  533. end
  534. FADER.CanCollide = false
  535. end
  536. end
  537. local TRANS = 0.75/TIMER
  538. for i = 1, TIMER do
  539. Swait()
  540. for _, c in pairs(FADE:GetChildren()) do
  541. if c.ClassName == "Part" then
  542. c.Transparency = c.Transparency + TRANS
  543. end
  544. end
  545. end
  546. FADE:remove()
  547. end))
  548. end
  549.  
  550. function Chunks(PART)
  551. for i = 1, MRANDOM(3,5) do
  552. coroutine.resume(coroutine.create(function()
  553. 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)
  554. CHUNK.CFrame = PART.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  555. local CFRAME = PART.CFrame*CF(MRANDOM(-4,4)/2,MRANDOM(-4,4)/2,-6)
  556. CHUNK.Velocity = CF(PART.Position,CFRAME.p).lookVector*MRANDOM(15,65)
  557. wait(0.1)
  558. CHUNK.CanCollide = true
  559. wait(MRANDOM(15,25)/5)
  560. for i = 1, 25 do
  561. Swait()
  562. CHUNK.Transparency = CHUNK.Transparency + 1/25
  563. end
  564. CHUNK:remove()
  565. end))
  566. end
  567. end
  568.  
  569. function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH)
  570. if FLOOR ~= nil then
  571. for i = 1, AMOUNT do
  572. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  573. DEBREE.Material = FLOOR.Material
  574. DEBREE.Color = FLOOR.Color
  575. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  576. DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH))
  577. coroutine.resume(coroutine.create(function()
  578. Swait(15)
  579. DEBREE.Parent = workspace
  580. DEBREE.CanCollide = true
  581. Debris:AddItem(DEBREE,SWAIT)
  582. end))
  583. end
  584. end
  585. end
  586.  
  587. --//=================================\\
  588. --|| GUIS AND MISC
  589. --\\=================================//
  590.  
  591. for i = 1, 10 do
  592. local FACE = CreatePart(3, Head, "Fabric", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  593. FACE.Color = C3(0,0,0)
  594. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  595. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  596. end
  597. local LASTPART = Head
  598. for i = 1, 15 do
  599. local MATH = (1-(i/16))
  600. if LASTPART == Head then
  601. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  602. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0))
  603. LASTPART = Horn
  604. Horn.Color = C3((i/15),0,0)
  605. local MSH = IT("BlockMesh",Horn)
  606. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  607. else
  608. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  609. 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))
  610. LASTPART = Horn
  611. Horn.Color = C3((i/15),0,0)
  612. local MSH = IT("BlockMesh",Horn)
  613. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  614. end
  615. end
  616. local LASTPART = Head
  617. for i = 1, 15 do
  618. local MATH = (1-(i/16))
  619. if LASTPART == Head then
  620. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  621. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
  622. LASTPART = Horn
  623. Horn.Color = C3((i/15),0,0)
  624. local MSH = IT("BlockMesh",Horn)
  625. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  626. else
  627. local Horn = CreatePart(3, Character, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  628. 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))
  629. LASTPART = Horn
  630. Horn.Color = C3((i/15),0,0)
  631. local MSH = IT("BlockMesh",Horn)
  632. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  633. end
  634. end
  635.  
  636. local SKILLTEXTCOLOR = C3(1,0,0)
  637. local SKILLFONT = "Antique"
  638. local SKILLTEXTSIZE = 7
  639.  
  640. local ATTACKS = {"Z - Neckless","C - Brave Speed","G - Slashed","V - Dirtface"}
  641.  
  642. local GUIS = {}
  643. for i = 1, #ATTACKS do
  644. 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")
  645. local SKILLTEXT = CreateLabel(SKILLFRAME, "["..ATTACKS[i].."]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Skill text")
  646. SKILLTEXT.TextXAlignment = "Right"
  647. table.insert(GUIS,SKILLTEXT)
  648. end
  649.  
  650. local sick = IT("Sound",RootPart)
  651. sick.SoundId = "rbxassetid://407749940"
  652. sick.Looped = true
  653. sick.Pitch = 1
  654. sick.Volume = 3
  655. sick:Play()
  656.  
  657. warn("TASTE OF BLOOD.")
  658. warn("IT'S MURDER, WAS IT WORTH IT?")
  659. warn("THIS IS YOUR FAULTH, YOU CHOSE THIS PATH.")
  660.  
  661. --//=================================\\
  662. --|| INSANITY
  663. --\\=================================//
  664.  
  665. 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")
  666. local FACEME = {"DIE","MURDER","DEATH","ANGER","ME?","WOUNDED","SNAP"}
  667. local INSANITYGUIS = {}
  668. for e = 1, 28 do
  669. for i = 1, 22 do
  670. local MURDERFRAME = FRAME:Clone()
  671. MURDERFRAME.Position = UD2(-0.05+i/30, 0, e/30, 0)
  672. MURDERFRAME.Parent = WEAPONGUI
  673. table.insert(INSANITYGUIS,MURDERFRAME)
  674. end
  675. end
  676. coroutine.resume(coroutine.create(function()
  677. while true do
  678. wait()
  679. coroutine.resume(coroutine.create(function()
  680. local COLOR = C3(MRANDOM(100,255)/255,0,0)
  681. local APPEARTEXT = FACEME[MRANDOM(1,#FACEME)]
  682. local SHOW = ""
  683. for i = 1,string.len(APPEARTEXT),1 do
  684. local STRING = string.sub(APPEARTEXT,i,i)
  685. if MRANDOM(1,2) == 1 then
  686. SHOW = SHOW..string.lower(STRING)
  687. else
  688. SHOW = SHOW..STRING
  689. end
  690. end
  691. local PARENT = INSANITYGUIS[MRANDOM(1,#INSANITYGUIS)]
  692. local TEXT = CreateLabel(PARENT, SHOW, COLOR, 14, SKILLFONT, 1, 2, 1, "THISISYOURFAULTH")
  693. for i = 1, 15 do
  694. Swait()
  695. TEXT.Rotation = MRANDOM(-15,15)
  696. TEXT.TextTransparency = TEXT.TextTransparency - 1/15
  697. end
  698. for i = 1, 15 do
  699. Swait()
  700. TEXT.Rotation = MRANDOM(-15,15)
  701. TEXT.TextTransparency = TEXT.TextTransparency + 1/15
  702. end
  703. TEXT:Remove()
  704. end))
  705. end
  706. end))
  707. FRAME:remove()
  708.  
  709. --//=================================\\
  710. --|| DAMAGING
  711. --\\=================================//
  712.  
  713. function ApplyDamage(Humanoid,Damage,OneShot)
  714. Damage = Damage * DAMAGEMULTIPLIER
  715. local DEAD = false
  716. if Humanoid.Health < 2000 and OneShot == false then
  717. if Humanoid.Health - Damage > 0 then
  718. Humanoid.Health = Humanoid.Health - Damage
  719. else
  720. Humanoid.Parent:BreakJoints()
  721. DEAD = true
  722. end
  723. else
  724. DEAD = true
  725. Humanoid.Parent:BreakJoints()
  726. end
  727. if DEAD == true then
  728. local PARTS = {}
  729. for index, CHILD in pairs(Humanoid.Parent:GetChildren()) do
  730. if CHILD:IsA("BasePart") then
  731. table.insert(PARTS,CHILD)
  732. end
  733. end
  734. coroutine.resume(coroutine.create(function()
  735. wait(2)
  736. repeat
  737. Swait()
  738. local PIECE = nil
  739. if MRANDOM(1,5) == 1 then
  740. for E = 1, #PARTS do
  741. if MRANDOM(1,5) == 1 then
  742. PIECE = PARTS[E]
  743. table.remove(PARTS,E)
  744. break
  745. end
  746. end
  747. end
  748. if PIECE ~= nil then
  749. if PIECE.Name == "Head" then
  750. 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})
  751. else
  752. 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})
  753. end
  754. PIECE:remove()
  755. end
  756. until #PARTS == 0
  757. end))
  758. end
  759. end
  760.  
  761. --//=================================\\
  762. --|| ATTACK FUNCTIONS AND STUFF
  763. --\\=================================//
  764.  
  765. function Neckless()
  766. local TARGET = Mouse.Target
  767. if TARGET ~= nil then
  768. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  769. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  770. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  771. if ROOT and HUM.Health > 0 then
  772. local FOE = Mouse.Target.Parent
  773. local HEAD = FOE:FindFirstChild("Head")
  774. if HEAD then
  775. ATTACK = true
  776. Rooted = false
  777. CharacterFade(C3(1,0,0),150)
  778. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  779. for _, c in pairs(FOE:GetChildren()) do
  780. if c.ClassName == "Part" then
  781. c.Anchored = true
  782. end
  783. end
  784. CreateSound(235097614, Torso, 2, 3, false)
  785. for i=0, 0.5, 0.1 / Animation_Speed do
  786. Swait()
  787. 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)
  788. 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)
  789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, -0.6) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  791. 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)
  792. 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)
  793. end
  794. if ROOT.Name == "HumanoidRootPart" then
  795. ROOT:remove()
  796. end
  797. FOE:BreakJoints()
  798. ApplyDamage(HUM,0,true)
  799. Chunks(HEAD)
  800. HEAD.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD(90), RAD(0))
  801. CreateSound(363808674, HEAD, 5, 1, false)
  802. ROOT.Anchored = false
  803. for i=0, 0.5, 0.1 / Animation_Speed do
  804. Swait()
  805. 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)
  806. 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)
  807. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.65, -1.5) * ANGLES(RAD(130), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  808. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  809. 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)
  810. 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)
  811. end
  812. for _, c in pairs(FOE:GetChildren()) do
  813. if c.ClassName == "Part" then
  814. c.Anchored = false
  815. end
  816. end
  817. ATTACK = false
  818. Rooted = false
  819. end
  820. end
  821. end
  822. end
  823. end
  824. function BraveSpeed()
  825. CreateSound(235097614, Torso, 0.2, 3, false)
  826. for i = 1, 7 do
  827. CharacterFade(C3(1,0,0),25+(i*10))
  828. RootPart.CFrame = RootPart.CFrame*CF(0,0,-4)
  829. end
  830. end
  831. function Slashed()
  832. local TARGET = Mouse.Target
  833. if TARGET ~= nil then
  834. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  835. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  836. local ROOT = TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  837. if ROOT and HUM.Health > 0 then
  838. local FOE = Mouse.Target.Parent
  839. ATTACK = true
  840. coroutine.resume(coroutine.create(function()
  841. repeat
  842. Swait()
  843. 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)
  844. 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)
  845. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.1) * ANGLES(RAD(50), RAD(0), RAD(-30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  846. 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)
  847. 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)
  848. until ATTACK == false
  849. end))
  850. for i=0, 0.2, 0.1 / Animation_Speed do
  851. Swait()
  852. 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)
  853. end
  854. for i=0, 1.2, 0.1 / Animation_Speed do
  855. Swait()
  856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  857. end
  858. CreateSound(971125740, LeftArm, 5, 1, false)
  859. for i=0, 0.1, 0.1 / Animation_Speed do
  860. Swait()
  861. 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})
  862. 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)
  863. end
  864. ROOT.CFrame = ROOT.CFrame * ANGLES(RAD(-15), RAD(0), RAD(15))
  865. 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})
  866. 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})
  867. coroutine.resume(coroutine.create(function()
  868. for i = 1, 5 do
  869. Chunks(ROOT)
  870. end
  871. local FAKEROOT1 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  872. FAKEROOT1.CanCollide = true
  873. local FAKEROOT2 = CreatePart(3, FOE, ROOT.Material, 0, 0, ROOT.BrickColor, "SlicedTorso", VT(ROOT.Size.X,ROOT.Size.Y/2,ROOT.Size.Z),false)
  874. FAKEROOT2.CanCollide = true
  875. FAKEROOT1.CFrame = ROOT.CFrame*CF(0,ROOT.Size.Y/4,0)
  876. FAKEROOT2.CFrame = ROOT.CFrame*CF(0,-ROOT.Size.Y/4,0)
  877. ROOT:Remove()
  878. ApplyDamage(HUM,0,true)
  879. end))
  880. for i=0, 0.4, 0.1 / Animation_Speed do
  881. Swait()
  882. 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)
  883. end
  884. ATTACK = false
  885. end
  886. end
  887. end
  888. end
  889. function Dirtface()
  890. local TARGET = Mouse.Target
  891. if TARGET ~= nil then
  892. if TARGET.Parent:FindFirstChildOfClass("Humanoid") then
  893. local HUM = TARGET.Parent:FindFirstChildOfClass("Humanoid")
  894. local ROOT = TARGET.Parent:FindFirstChild("HumanoidRootPart") or TARGET.Parent:FindFirstChild("Torso") or TARGET.Parent:FindFirstChild("UpperTorso")
  895. if ROOT and HUM.Health > 0 then
  896. local FOE = Mouse.Target.Parent
  897. local HEAD = FOE:FindFirstChild("Head")
  898. local HITFLOOR = Raycast(ROOT.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*ROOT.Size.Z, FOE)
  899. if HEAD and HITFLOOR then
  900. ATTACK = true
  901. Rooted = true
  902. CharacterFade(C3(1,0,0),150)
  903. RootPart.CFrame = ROOT.CFrame*CF(0,0,2)
  904. ROOT.Anchored = true
  905. CreateSound(235097614, Torso, 2, 3, false)
  906. for i=0, 0.4, 0.1 / Animation_Speed do
  907. Swait()
  908. 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)
  909. 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)
  910. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  911. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  912. 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)
  913. 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)
  914. end
  915. for i=0, 0.1, 0.1 / Animation_Speed do
  916. Swait()
  917. 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)
  918. 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)
  919. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(140), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  920. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  921. 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)
  922. 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)
  923. end
  924. ROOT.Anchored = false
  925. UNANCHOR = false
  926. local DEAD = false
  927. local CFRAME = RootPart.CFrame
  928. CreateSound(260411131, Torso, 2, 3, false)
  929. coroutine.resume(coroutine.create(function()
  930. repeat
  931. Swait()
  932. RootPart.CFrame = CFRAME
  933. HEAD.CFrame = RightArm.CFrame*CF(0,-(1+HEAD.Size.Z/2),0) * ANGLES(RAD(-90), RAD(0), RAD(0))
  934. HEAD.Velocity = VT(0,0,0)
  935. HUM.PlatformStand = true
  936. until DEAD == true
  937. end))
  938. for i=0, 0.2, 0.1 / Animation_Speed do
  939. Swait()
  940. 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)
  941. 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)
  942. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.5, -0.3) * ANGLES(RAD(140), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  943. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  944. 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)
  945. 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)
  946. end
  947. for i=0, 1, 0.1 / Animation_Speed do
  948. Swait()
  949. 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)
  950. 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)
  951. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 1, 0) * ANGLES(RAD(60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  952. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  953. 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)
  954. 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)
  955. end
  956. local ERUPT = function()
  957. 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)
  958. if HITFLOOR then
  959. for i = 1, 5 do
  960. CreateFlyingDebree(HITFLOOR,CF(HITPOS),MRANDOM(1,2),VT(MRANDOM(10,60)/20,MRANDOM(10,60)/20,MRANDOM(10,60)/20),5,MRANDOM(45,85))
  961. end
  962. Chunks(HEAD)
  963. 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})
  964. end
  965. end
  966. local ATE = false
  967. local DEPTH = 1
  968. coroutine.resume(coroutine.create(function()
  969. repeat
  970. Swait()
  971. 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)
  972. 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)
  973. 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)
  974. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  975. 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)
  976. 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)
  977. until ATE == true
  978. end))
  979. wait()
  980. ERUPT()
  981. wait(2)
  982. ERUPT()
  983. DEPTH = 2
  984. wait(2)
  985. ERUPT()
  986. DEPTH = 2.5
  987. wait(3)
  988. ERUPT()
  989. ERUPT()
  990. HEAD:remove()
  991. DEAD = true
  992. ApplyDamage(HUM,0,true)
  993. wait(0.2)
  994. ATE = true
  995. UNANCHOR = true
  996. ATTACK = false
  997. Rooted = false
  998. end
  999. end
  1000. end
  1001. end
  1002. end
  1003. function TrustIssues()
  1004. ATTACK = true
  1005. Rooted = false
  1006. CreateSound(649634100,Head,10,0.5,false)
  1007. for i=1, 80 do
  1008. Swait()
  1009. 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)
  1010. 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)
  1011. 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)
  1012. 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)
  1013. 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)
  1014. 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)
  1015. end
  1016. ATTACK = false
  1017. Rooted = false
  1018. end
  1019.  
  1020. --//=================================\\
  1021. --|| ASSIGN THINGS TO KEYS
  1022. --\\=================================//
  1023.  
  1024. function MouseDown(Mouse)
  1025. if ATTACK == false then
  1026. end
  1027. end
  1028.  
  1029. function MouseUp(Mouse)
  1030. HOLD = false
  1031. end
  1032.  
  1033. function KeyDown(Key)
  1034. KEYHOLD = true
  1035. if Key == "z" and ATTACK == false then
  1036. Neckless()
  1037. end
  1038.  
  1039. if Key == "c" and ATTACK == false then
  1040. BraveSpeed()
  1041. end
  1042.  
  1043. if Key == "g" and ATTACK == false then
  1044. Slashed()
  1045. end
  1046.  
  1047. if Key == "v" and ATTACK == false then
  1048. Dirtface()
  1049. end
  1050.  
  1051. if Key == "t" and ATTACK == false then
  1052. TrustIssues()
  1053. end
  1054. end
  1055.  
  1056. function KeyUp(Key)
  1057. KEYHOLD = false
  1058. end
  1059.  
  1060. Mouse.Button1Down:connect(function(NEWKEY)
  1061. MouseDown(NEWKEY)
  1062. end)
  1063. Mouse.Button1Up:connect(function(NEWKEY)
  1064. MouseUp(NEWKEY)
  1065. end)
  1066. Mouse.KeyDown:connect(function(NEWKEY)
  1067. KeyDown(NEWKEY)
  1068. end)
  1069. Mouse.KeyUp:connect(function(NEWKEY)
  1070. KeyUp(NEWKEY)
  1071. end)
  1072.  
  1073. --//=================================\\
  1074. --\\=================================//
  1075.  
  1076. function unanchor()
  1077. for _, c in pairs(Character:GetChildren()) do
  1078. if c:IsA("BasePart") and c ~= RootPart then
  1079. c.Anchored = false
  1080. end
  1081. end
  1082. if UNANCHOR == true then
  1083. RootPart.Anchored = false
  1084. else
  1085. RootPart.Anchored = true
  1086. end
  1087. end
  1088.  
  1089. --//=================================\\
  1090. --|| WRAP THE WHOLE SCRIPT UP
  1091. --\\=================================//
  1092.  
  1093. Humanoid.Changed:connect(function(Jump)
  1094. if Jump == "Jump" and (Disable_Jump == true) then
  1095. Humanoid.Jump = false
  1096. end
  1097. end)
  1098.  
  1099. while true do
  1100. Swait()
  1101. script.Parent = WEAPONGUI
  1102. ANIMATE.Parent = nil
  1103. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1104. v:Stop();
  1105. end
  1106. SINE = SINE + CHANGE
  1107. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1108. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1109. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1110. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1111. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1112. 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)
  1113. 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)
  1114. 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)
  1115. 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)
  1116. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1117. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1118. 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)
  1119. 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)
  1120. 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)
  1121. end
  1122. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1123. ANIM = "Jump"
  1124. if ATTACK == false then
  1125. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1126. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  1127. 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)
  1128. 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)
  1129. 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)
  1130. 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)
  1131. end
  1132. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1133. ANIM = "Fall"
  1134. if ATTACK == false then
  1135. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1136. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  1137. 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)
  1138. 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)
  1139. 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)
  1140. 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)
  1141. end
  1142. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1143. ANIM = "Idle"
  1144. if ATTACK == false then
  1145. 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)
  1146. 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)
  1147. if MRANDOM(1,7) == 1 then
  1148. 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)
  1149. end
  1150. 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)
  1151. 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)
  1152. 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)
  1153. 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)
  1154. end
  1155. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1156. ANIM = "Walk"
  1157. if ATTACK == false then
  1158. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.05) * ANGLES(RAD(8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159. 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)
  1160. 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)
  1161. 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)
  1162. 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)
  1163. 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)
  1164. end
  1165. end
  1166. unanchor()
  1167. Humanoid.MaxHealth = 170
  1168. Humanoid.Health = 170
  1169. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  1170. if Rooted == false then
  1171. Disable_Jump = false
  1172. Humanoid.WalkSpeed = Speed
  1173. elseif Rooted == true then
  1174. Disable_Jump = true
  1175. Humanoid.WalkSpeed = 0
  1176. end
  1177. sick.SoundId = "rbxassetid://407749940"
  1178. sick.Looped = true
  1179. sick.Pitch = 1
  1180. sick.Volume = 3
  1181. sick.Playing = true
  1182. if sick.Parent ~= RootPart then
  1183. sick = IT("Sound",RootPart)
  1184. end
  1185. Humanoid.Name = "NONHUM"
  1186. for E = 1, #GUIS do
  1187. GUIS[E].Rotation = MRANDOM(-5,5)/5
  1188. end
  1189. if HITFLOOR ~= nil then
  1190. local POSITION = CF(HITPOS)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(MRANDOM(3,6),0,0).p
  1191. local BOXFLOOR,BOXPOS = Raycast(POSITION+VT(0,1,0), (CF(POSITION, POSITION + VT(0, -1, 0))).lookVector, 5, Character)
  1192. local EFFECT = "Box"
  1193. local MULTIPLY = 1
  1194. if MRANDOM(1,25) == 1 then
  1195. EFFECT = "Skull"
  1196. MULTIPLY = 3
  1197. end
  1198. if BOXFLOOR ~= nil then
  1199. WACKYEFFECT({Time = MRANDOM(10,30)*2, EffectType = EFFECT, Size = VT(1.5,1.5,1.5)*MULTIPLY, Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOXPOS-VT(0,2,0))*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = BOXPOS+VT(0,MRANDOM(15,25)/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 = nil, SoundPitch = MRANDOM(12,16)/10, SoundVolume = 2})
  1200. end
  1201. end
  1202. end
  1203.  
  1204. --//=================================\\
  1205. --\\=================================//
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211. --//====================================================\\--
  1212. --|| END OF SCRIPT
  1213. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement