Advertisement
bmrx13

murder.

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