Advertisement
13242

Untitled

Nov 24th, 2018
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. wait(0.2)
  4.  
  5.  
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Torso)
  28. sick.SoundId = "rbxassetid://1755770760"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 2
  32. sick:Play()
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50.  
  51. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  52. local NEWMESH = IT(MESH)
  53. if MESH == "SpecialMesh" then
  54. NEWMESH.MeshType = MESHTYPE
  55. if MESHID ~= "nil" and MESHID ~= "" then
  56. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  57. end
  58. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  59. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  60. end
  61. end
  62. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  63. NEWMESH.Scale = SCALE
  64. NEWMESH.Parent = PARENT
  65. return NEWMESH
  66. end
  67.  
  68. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  69. local NEWPART = IT("Part")
  70. NEWPART.formFactor = FORMFACTOR
  71. NEWPART.Reflectance = REFLECTANCE
  72. NEWPART.Transparency = TRANSPARENCY
  73. NEWPART.CanCollide = false
  74. NEWPART.Locked = true
  75. NEWPART.Anchored = true
  76. if ANCHOR == false then
  77. NEWPART.Anchored = false
  78. end
  79. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  80. NEWPART.Name = NAME
  81. NEWPART.Size = SIZE
  82. NEWPART.Position = Torso.Position
  83. NEWPART.Material = MATERIAL
  84. NEWPART:BreakJoints()
  85. NEWPART.Parent = PARENT
  86. return NEWPART
  87. end
  88.  
  89. --//=================================\\
  90. --|| CUSTOMIZATION
  91. --\\=================================//
  92.  
  93. Player_Size = 1 --Size of the player.
  94. Animation_Speed = 3
  95. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  96.  
  97. local Speed = 16
  98. local Effects2 = {}
  99.  
  100. --//=================================\\
  101. --|| END OF CUSTOMIZATION
  102. --\\=================================//
  103.  
  104. local function weldBetween(a, b)
  105. local weldd = Instance.new("ManualWeld")
  106. weldd.Part0 = a
  107. weldd.Part1 = b
  108. weldd.C0 = CFrame.new()
  109. weldd.C1 = b.CFrame:inverse() * a.CFrame
  110. weldd.Parent = a
  111. return weldd
  112. end
  113.  
  114. --//=================================\\
  115. --|| USEFUL VALUES
  116. --\\=================================//
  117.  
  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 CHANGEDEFENSE = 0
  123. local CHANGEDAMAGE = 0
  124. local CHANGEMOVEMENT = 0
  125. local ANIM = "Idle"
  126. local ATTACK = false
  127. local EQUIPPED = false
  128. local HOLD = false
  129. local COMBO = 1
  130. local Rooted = false
  131. local Horn1 = IT("Folder", Character)
  132. Horn1.Name = "Horn1"
  133. local SINE = 0
  134. local KEYHOLD = false
  135. local CHANGE = 2 / Animation_Speed
  136. local WALKINGANIM = false
  137. local MODE = "Cop"
  138. local WALK = 0
  139. local VALUE1 = false
  140. local VALUE2 = false
  141. local ROBLOXIDLEANIMATION = IT("Animation")
  142. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  143. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  144. --ROBLOXIDLEANIMATION.Parent = Humanoid
  145. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  146. WEAPONGUI.Name = "Weapon GUI"
  147. local Effects = IT("Folder", Character)
  148. Effects.Name = "Effects"
  149. local Weapon = IT("Model")
  150. Weapon.Name = "Adds"
  151. local Effects = IT("Folder", Weapon)
  152. Effects.Name = "Effects"
  153. local ANIMATOR = Humanoid.Animator
  154. local ANIMATE = Character.Animate
  155. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  156. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  157. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  158. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  159. local UNANCHOR = true
  160.  
  161. local SKILLTEXTCOLOR = C3(0,0,0)
  162.  
  163. local naeeym2 = Instance.new("BillboardGui",Character)
  164. naeeym2.AlwaysOnTop = true
  165. naeeym2.Size = UDim2.new(5,35,2,35)
  166. naeeym2.StudsOffset = Vector3.new(0,2,0)
  167. naeeym2.Adornee = Character.Head
  168. naeeym2.Name = "Name"
  169. naeeym2.PlayerToHideFrom = Player
  170. local tecks2 = Instance.new("TextLabel",naeeym2)
  171. tecks2.BackgroundTransparency = 1
  172. tecks2.TextScaled = true
  173. tecks2.BorderSizePixel = 0
  174. tecks2.Text = Player.Name..", The Ultimate Edgelord"
  175. tecks2.Font = "Antique"
  176. tecks2.TextSize = 30
  177. tecks2.TextStrokeTransparency = 0
  178. tecks2.TextColor3 = Color3.new(0,0,0)
  179. tecks2.TextStrokeColor3 = Color3.new(0.2,0.2,0.2)
  180. tecks2.Size = UDim2.new(1,0,0.5,0)
  181. tecks2.Parent = naeeym2
  182.  
  183. --//=================================\\
  184. --\\=================================//
  185.  
  186.  
  187. --//=================================\\
  188. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  189. --\\=================================//
  190.  
  191. ArtificialHB = Instance.new("BindableEvent", script)
  192. ArtificialHB.Name = "ArtificialHB"
  193.  
  194. script:WaitForChild("ArtificialHB")
  195.  
  196. frame = Frame_Speed
  197. tf = 0
  198. allowframeloss = false
  199. tossremainder = false
  200. lastframe = tick()
  201. script.ArtificialHB:Fire()
  202.  
  203. game:GetService("RunService").Heartbeat:connect(function(s, p)
  204. tf = tf + s
  205. if tf >= frame then
  206. if allowframeloss then
  207. script.ArtificialHB:Fire()
  208. lastframe = tick()
  209. else
  210. for i = 1, math.floor(tf / frame) do
  211. script.ArtificialHB:Fire()
  212. end
  213. lastframe = tick()
  214. end
  215. if tossremainder then
  216. tf = 0
  217. else
  218. tf = tf - frame * math.floor(tf / frame)
  219. end
  220. end
  221. end)
  222.  
  223. --//=================================\\
  224. --\\=================================//
  225.  
  226.  
  227.  
  228.  
  229.  
  230. --//=================================\\
  231. --|| SOME FUNCTIONS
  232. --\\=================================//
  233.  
  234. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  235. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  236. end
  237.  
  238. function PositiveAngle(NUMBER)
  239. if NUMBER >= 0 then
  240. NUMBER = 0
  241. end
  242. return NUMBER
  243. end
  244.  
  245. function NegativeAngle(NUMBER)
  246. if NUMBER <= 0 then
  247. NUMBER = 0
  248. end
  249. return NUMBER
  250. end
  251.  
  252. function Swait(NUMBER)
  253. if NUMBER == 0 or NUMBER == nil then
  254. ArtificialHB.Event:wait()
  255. else
  256. for i = 1, NUMBER do
  257. ArtificialHB.Event:wait()
  258. end
  259. end
  260. end
  261.  
  262. function QuaternionFromCFrame(cf)
  263. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  264. local trace = m00 + m11 + m22
  265. if trace > 0 then
  266. local s = math.sqrt(1 + trace)
  267. local recip = 0.5 / s
  268. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  269. else
  270. local i = 0
  271. if m11 > m00 then
  272. i = 1
  273. end
  274. if m22 > (i == 0 and m00 or m11) then
  275. i = 2
  276. end
  277. if i == 0 then
  278. local s = math.sqrt(m00 - m11 - m22 + 1)
  279. local recip = 0.5 / s
  280. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  281. elseif i == 1 then
  282. local s = math.sqrt(m11 - m22 - m00 + 1)
  283. local recip = 0.5 / s
  284. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  285. elseif i == 2 then
  286. local s = math.sqrt(m22 - m00 - m11 + 1)
  287. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  288. end
  289. end
  290. end
  291.  
  292. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  293. local xs, ys, zs = x + x, y + y, z + z
  294. local wx, wy, wz = w * xs, w * ys, w * zs
  295. local xx = x * xs
  296. local xy = x * ys
  297. local xz = x * zs
  298. local yy = y * ys
  299. local yz = y * zs
  300. local zz = z * zs
  301. 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))
  302. end
  303.  
  304. function QuaternionSlerp(a, b, t)
  305. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  306. local startInterp, finishInterp;
  307. if cosTheta >= 0.0001 then
  308. if (1 - cosTheta) > 0.0001 then
  309. local theta = ACOS(cosTheta)
  310. local invSinTheta = 1 / SIN(theta)
  311. startInterp = SIN((1 - t) * theta) * invSinTheta
  312. finishInterp = SIN(t * theta) * invSinTheta
  313. else
  314. startInterp = 1 - t
  315. finishInterp = t
  316. end
  317. else
  318. if (1 + cosTheta) > 0.0001 then
  319. local theta = ACOS(-cosTheta)
  320. local invSinTheta = 1 / SIN(theta)
  321. startInterp = SIN((t - 1) * theta) * invSinTheta
  322. finishInterp = SIN(t * theta) * invSinTheta
  323. else
  324. startInterp = t - 1
  325. finishInterp = t
  326. end
  327. end
  328. 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
  329. end
  330.  
  331. function Clerp(a, b, t)
  332. local qa = {QuaternionFromCFrame(a)}
  333. local qb = {QuaternionFromCFrame(b)}
  334. local ax, ay, az = a.x, a.y, a.z
  335. local bx, by, bz = b.x, b.y, b.z
  336. local _t = 1 - t
  337. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  338. end
  339.  
  340. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  341. local frame = IT("Frame")
  342. frame.BackgroundTransparency = TRANSPARENCY
  343. frame.BorderSizePixel = BORDERSIZEPIXEL
  344. frame.Position = POSITION
  345. frame.Size = SIZE
  346. frame.BackgroundColor3 = COLOR
  347. frame.BorderColor3 = BORDERCOLOR
  348. frame.Name = NAME
  349. frame.Parent = PARENT
  350. return frame
  351. end
  352.  
  353. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  354. local label = IT("TextLabel")
  355. label.BackgroundTransparency = 1
  356. label.Size = UD2(1, 0, 1, 0)
  357. label.Position = UD2(0, 0, 0, 0)
  358. label.TextColor3 = TEXTCOLOR
  359. label.TextStrokeTransparency = STROKETRANSPARENCY
  360. label.TextTransparency = TRANSPARENCY
  361. label.FontSize = TEXTFONTSIZE
  362. label.Font = TEXTFONT
  363. label.BorderSizePixel = BORDERSIZEPIXEL
  364. label.TextScaled = false
  365. label.Text = TEXT
  366. label.Name = NAME
  367. label.Parent = PARENT
  368. return label
  369. end
  370.  
  371. function NoOutlines(PART)
  372. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  373. end
  374.  
  375.  
  376. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  377. local NEWWELD = IT(TYPE)
  378. NEWWELD.Part0 = PART0
  379. NEWWELD.Part1 = PART1
  380. NEWWELD.C0 = C0
  381. NEWWELD.C1 = C1
  382. NEWWELD.Parent = PARENT
  383. return NEWWELD
  384. end
  385.  
  386. local S = IT("Sound")
  387.  
  388. function CreateSound(ID, PARENT, VOLUME, PITCH)
  389. local NEWSOUND = nil
  390. coroutine.resume(coroutine.create(function()
  391. NEWSOUND = S:Clone()
  392. NEWSOUND.Parent = PARENT
  393. NEWSOUND.Volume = VOLUME
  394. NEWSOUND.Pitch = PITCH
  395. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  396. Swait()
  397. NEWSOUND:play()
  398. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  399. end))
  400. return NEWSOUND
  401. end
  402.  
  403. function CFrameFromTopBack(at, top, back)
  404. local right = top:Cross(back)
  405. 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)
  406. end
  407.  
  408. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  409. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  410. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  411. wave.CFrame = CFRAME
  412. coroutine.resume(coroutine.create(function(PART)
  413. for i = 1, WAIT do
  414. Swait()
  415. mesh.Scale = mesh.Scale + GROW
  416. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  417. if DOESROT == true then
  418. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  419. end
  420. wave.Transparency = wave.Transparency + (0.5/WAIT)
  421. if wave.Transparency > 0.99 then
  422. wave:remove()
  423. end
  424. end
  425. end))
  426. end
  427.  
  428. --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})
  429. function WACKYEFFECT(Table)
  430. local TYPE = (Table.EffectType or "Sphere")
  431. local SIZE = (Table.Size or VT(1,1,1))
  432. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  433. local TRANSPARENCY = (Table.Transparency or 0)
  434. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  435. local CFRAME = (Table.CFrame or Torso.CFrame)
  436. local MOVEDIRECTION = (Table.MoveToPos or nil)
  437. local ROTATION1 = (Table.RotationX or 0)
  438. local ROTATION2 = (Table.RotationY or 0)
  439. local ROTATION3 = (Table.RotationZ or 0)
  440. local MATERIAL = (Table.Material or "Neon")
  441. local COLOR = (Table.Color or C3(1,1,1))
  442. local TIME = (Table.Time or 45)
  443. local SOUNDID = (Table.SoundID or nil)
  444. local SOUNDPITCH = (Table.SoundPitch or nil)
  445. local SOUNDVOLUME = (Table.SoundVolume or nil)
  446. coroutine.resume(coroutine.create(function()
  447. local PLAYSSOUND = false
  448. local SOUND = nil
  449. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Really red"), "Effect", VT(1,1,1), true)
  450. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  451. PLAYSSOUND = true
  452. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  453. end
  454. EFFECT.Color = COLOR
  455. local MSH = nil
  456. if TYPE == "Sphere" then
  457. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  458. elseif TYPE == "Block" then
  459. MSH = IT("BlockMesh",EFFECT)
  460. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  461. elseif TYPE == "Wave" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  463. elseif TYPE == "Ring" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  465. elseif TYPE == "Slash" then
  466. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  467. elseif TYPE == "Round Slash" then
  468. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  469. elseif TYPE == "Swirl" then
  470. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  471. elseif TYPE == "Skull" then
  472. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  473. elseif TYPE == "Crystal" then
  474. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  475. end
  476. if MSH ~= nil then
  477. local MOVESPEED = nil
  478. if MOVEDIRECTION ~= nil then
  479. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  480. end
  481. local GROWTH = SIZE - ENDSIZE
  482. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  483. if TYPE == "Block" then
  484. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  485. else
  486. EFFECT.CFrame = CFRAME
  487. end
  488. for LOOP = 1, TIME+1 do
  489. Swait()
  490. MSH.Scale = MSH.Scale - GROWTH/TIME
  491. if TYPE == "Wave" then
  492. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  493. end
  494. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  495. if TYPE == "Block" then
  496. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  497. else
  498. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  499. end
  500. if MOVEDIRECTION ~= nil then
  501. local ORI = EFFECT.Orientation
  502. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  503. EFFECT.Orientation = ORI
  504. end
  505. end
  506. if PLAYSSOUND == false then
  507. EFFECT:remove()
  508. else
  509. SOUND.Stopped:Connect(function()
  510. EFFECT:remove()
  511. end)
  512. end
  513. else
  514. if PLAYSSOUND == false then
  515. EFFECT:remove()
  516. else
  517. repeat Swait() until SOUND.Playing == false
  518. EFFECT:remove()
  519. end
  520. end
  521. end))
  522. end
  523.  
  524. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  525. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  526. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  527. wave.CFrame = CFRAME
  528. coroutine.resume(coroutine.create(function(PART)
  529. for i = 1, WAIT do
  530. Swait()
  531. mesh.Scale = mesh.Scale + GROW
  532. if DOESROT == true then
  533. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  534. end
  535. wave.Transparency = wave.Transparency + (0.5/WAIT)
  536. if wave.Transparency > 0.99 then
  537. wave:remove()
  538. end
  539. end
  540. end))
  541. end
  542.  
  543. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  544. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  545. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  546. wave.CFrame = CFRAME
  547. coroutine.resume(coroutine.create(function(PART)
  548. for i = 1, WAIT do
  549. Swait()
  550. mesh.Scale = mesh.Scale + GROW
  551. wave.Transparency = wave.Transparency + (1/WAIT)
  552. if wave.Transparency > 0.99 then
  553. wave:remove()
  554. end
  555. end
  556. end))
  557. end
  558.  
  559. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  560. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  561. local mesh = nil
  562. if KIND == "Base" then
  563. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  564. elseif KIND == "Thin" then
  565. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  566. elseif KIND == "Round" then
  567. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  568. end
  569. wave.CFrame = CFRAME
  570. coroutine.resume(coroutine.create(function(PART)
  571. for i = 1, WAIT do
  572. Swait()
  573. mesh.Scale = mesh.Scale + GROW/10
  574. wave.Transparency = wave.Transparency + (0.5/WAIT)
  575. if wave.Transparency > 0.99 then
  576. wave:remove()
  577. end
  578. end
  579. end))
  580. end
  581.  
  582. function MakeForm(PART,TYPE)
  583. if TYPE == "Cyl" then
  584. local MSH = IT("CylinderMesh",PART)
  585. elseif TYPE == "Ball" then
  586. local MSH = IT("SpecialMesh",PART)
  587. MSH.MeshType = "Sphere"
  588. elseif TYPE == "Wedge" then
  589. local MSH = IT("SpecialMesh",PART)
  590. MSH.MeshType = "Wedge"
  591. end
  592. end
  593.  
  594. function SpawnKnife(SIZE,ISGRABBED,LIMB,ROT,ROT2,DOESDODAMAGE,DAMAGE)
  595. SIZE = SIZE / 2
  596. local WELD = nil
  597. local KNIFEMODEL = IT("Model",Effects)
  598. KNIFEMODEL.Name = "Knife"
  599. local HandlePart = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Handle", VT(0.2,1.5,0.2)*SIZE,false)
  600. MakeForm(HandlePart,"Cyl")
  601. if ISGRABBED == true then
  602. WELD = CreateWeldOrSnapOrMotor("Weld", HandlePart, LIMB, HandlePart, CF(0, -1, 0) * ANGLES(RAD(ROT), RAD(ROT2), RAD(0)), CF(0, 0, 0))
  603. end
  604. local BladePart = CreatePart(3, KNIFEMODEL, "Neon", 0,1, "Really red", "BladeHolder", VT(0.2,2.8+(3.25/1.5),0.2)*SIZE,false)
  605. BladePart.CFrame = HandlePart.CFrame*CF(0,-2.8*SIZE,-0.05*SIZE)
  606. weldBetween(HandlePart,BladePart)
  607. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,2.8,1)*SIZE,false)
  608. MakeForm(Part,"Wedge")
  609. Part.CFrame = BladePart.CFrame*CF(0,-1.475*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  610. weldBetween(BladePart,Part)
  611. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,0.5)*SIZE,false)
  612. MakeForm(Part,"Wedge")
  613. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,1.2*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  614. weldBetween(BladePart,Part)
  615. local Part = CreatePart(3, KNIFEMODEL, "Neon", 0,0, "Really red", "Blade", VT(0,3.25/1.5,1)*SIZE,false)
  616. Part.CFrame = BladePart.CFrame*CF(0,1*SIZE,0.45*SIZE) * ANGLES(RAD(180), RAD(0), RAD(0))
  617. weldBetween(BladePart,Part)
  618. local A = IT("Attachment",BladePart)
  619. A.Position = VT(0,BladePart.Size.Y/2,0)
  620. local B = IT("Attachment",BladePart)
  621. B.Position = VT(0,-BladePart.Size.Y/2,0)
  622. local Trail = IT("Trail",BladePart)
  623. Trail.Attachment0 = A
  624. Trail.Attachment1 = B
  625. Trail.Lifetime = 0.2
  626. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  627. Trail.Transparency = NumberSequence.new(0, 1)
  628. for _, c in pairs(KNIFEMODEL:GetChildren()) do
  629. if c.ClassName == "Part" then
  630. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  631. end
  632. end
  633. if DOESDODAMAGE == true then
  634. local HIT = false
  635. BladePart.CanCollide = true
  636. local TOUCHED = BladePart.Touched:Connect(function(hit)
  637. if HIT == false then
  638. if hit ~= nil then
  639. if hit.Parent ~= nil then
  640. if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  641. HIT = true
  642. ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),DAMAGE,2,2)
  643. wait(0.1)
  644. HIT = false
  645. end
  646. end
  647. end
  648. end
  649. end)
  650. end
  651. return KNIFEMODEL,WELD,BladePart
  652. end
  653.  
  654. function PuddleOfBlood(Position,MaxDrop,Model,MaxSize)
  655. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, (CF(Position, Position + VT(0, -1, 0))).lookVector, MaxDrop, Model)
  656. if HITFLOOR ~= nil then
  657. if HITFLOOR.Parent ~= Effects and HITFLOOR.Parent ~= Character then
  658. if HITFLOOR.Name == "BloodPuddle" then
  659. local DIST = (Position - HITFLOOR.Position).Magnitude
  660. if (HITFLOOR.Size.Z <= 5 and HITFLOOR.Size.Z < MaxSize) or (HITFLOOR.Size.Z > 5 and HITFLOOR.Size.Z < MaxSize and DIST < HITFLOOR.Size.Z/3) then
  661. HITFLOOR.Size = HITFLOOR.Size + VT(0.1,0,0.1)
  662. end
  663. else
  664. if HITFLOOR.Anchored == true then
  665. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2,0,2))
  666. BLOOD.CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))
  667. MakeForm(BLOOD,"Cyl")
  668. coroutine.resume(coroutine.create(function()
  669. Swait(75)
  670. while true do
  671. Swait()
  672. BLOOD.Size = BLOOD.Size - VT(0.02,0,0.02)
  673. if BLOOD.Size.Z < 0.051 then
  674. BLOOD:remove()
  675. break
  676. end
  677. end
  678. end))
  679. end
  680. end
  681. end
  682. end
  683. end
  684.  
  685. function MakeForm(PART,TYPE)
  686. if TYPE == "Cyl" then
  687. local MSH = IT("CylinderMesh",PART)
  688. elseif TYPE == "Ball" then
  689. local MSH = IT("SpecialMesh",PART)
  690. MSH.MeshType = "Sphere"
  691. elseif TYPE == "Wedge" then
  692. local MSH = IT("SpecialMesh",PART)
  693. MSH.MeshType = "Wedge"
  694. end
  695. end
  696.  
  697. function SpawnTrail(FROM,TO,BIG)
  698. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
  699. MakeForm(TRAIL,"Cyl")
  700. local DIST = (FROM - TO).Magnitude
  701. if BIG == true then
  702. TRAIL.Size = VT(0.5,DIST,0.5)
  703. else
  704. TRAIL.Size = VT(0.25,DIST,0.25)
  705. end
  706. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  707. coroutine.resume(coroutine.create(function()
  708. for i = 1, 5 do
  709. Swait()
  710. TRAIL.Transparency = TRAIL.Transparency + 0.1
  711. end
  712. TRAIL:remove()
  713. end))
  714. end
  715.  
  716. function SpawnTrail2(FROM,TO,BIG)
  717. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Trail", VT(0,0,0))
  718. MakeForm(TRAIL,"Cyl")
  719. local DIST = (FROM - TO).Magnitude
  720. if BIG == true then
  721. TRAIL.Size = VT(0.8,DIST,0.8)
  722. else
  723. TRAIL.Size = VT(0.27,DIST,0.27)
  724. end
  725. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  726. coroutine.resume(coroutine.create(function()
  727. for i = 1, 5 do
  728. Swait()
  729. TRAIL.Transparency = TRAIL.Transparency + 0.1
  730. end
  731. TRAIL:remove()
  732. end))
  733. end
  734.  
  735. Debris = game:GetService("Debris")
  736.  
  737. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  738. local DIRECTION = CF(StartPos,EndPos).lookVector
  739. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  740. end
  741.  
  742. function turnto(position)
  743. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  744. end
  745.  
  746. function SprayBlood(POSITION,DIRECTION,BloodSize,DoesTable,Table)
  747. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(0.5,0.5,0.5),false)
  748. BLOOD.CFrame = CF(POSITION)
  749. MakeForm(BLOOD,"Ball")
  750. local bv = Instance.new("BodyVelocity",BLOOD)
  751. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  752. bv.velocity = CF(POSITION,DIRECTION+VT(MRANDOM(-3,3),MRANDOM(-3,3)/30,MRANDOM(-3,3))).lookVector*65
  753. bv.Name = "MOVE"
  754. Debris:AddItem(bv,0.05)
  755. coroutine.resume(coroutine.create(function()
  756. local HASTOUCHEDGROUND = false
  757. local HIT = BLOOD.Touched:Connect(function(hit)
  758. if hit.Anchored == true then
  759. HASTOUCHEDGROUND = true
  760. if DoesTable == true then
  761. AddChildrenToTable(BLOOD.Position,workspace,15,Table)
  762. end
  763. PuddleOfBlood(BLOOD.Position+VT(0,1,0),2,BLOOD,BloodSize)
  764. end
  765. end)
  766. for i = 1, 75 do
  767. Swait()
  768. if i > 5 then
  769. BLOOD.CanCollide = true
  770. end
  771. if HASTOUCHEDGROUND == true then
  772. break
  773. end
  774. end
  775. BLOOD:remove()
  776. end))
  777. end
  778.  
  779. function CheckTableForString(Table, String)
  780. for i, v in pairs(Table) do
  781. if string.find(string.lower(String), string.lower(v)) then
  782. return true
  783. end
  784. end
  785. return false
  786. end
  787.  
  788. function CheckIntangible(Hit)
  789. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  790. if Hit and Hit.Parent then
  791. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  792. return true
  793. end
  794. end
  795. return false
  796. end
  797.  
  798. Debris = game:GetService("Debris")
  799.  
  800. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  801. local Direction = CFrame.new(StartPos, Vec).lookVector
  802. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  803. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  804. if RayHit and CheckIntangible(RayHit) then
  805. if DelayIfHit then
  806. wait()
  807. end
  808. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  809. end
  810. return RayHit, RayPos, RayNormal
  811. end
  812.  
  813. function turnto(position)
  814. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  815. end
  816.  
  817. --//=================================\\
  818. --|| WEAPON CREATION
  819. --\\=================================//
  820.  
  821. armor = Instance.new("Part")
  822. armormesh = Instance.new("SpecialMesh")
  823. armor.Anchored = false
  824. armor.CanCollide = false
  825. armor.Size = Vector3.new(1.4, 0.7, 1.3)
  826. armor.BrickColor = BrickColor.new("Black")
  827. armor.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  828. armor.Material = Enum.Material.SmoothPlastic
  829. armor.Color = Color3.new(0.105882, 0.164706, 0.207843)
  830. armor.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  831. armor.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  832. armor.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  833. armor.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  834. armor.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  835. armor.Parent = Character
  836. armor.CFrame = CFrame.new(-87.19, 0.42, -26.37) * CFrame.Angles(0, 0, 0)
  837. armormesh.MeshId = "rbxassetid://840131767"
  838. armormesh.MeshType = Enum.MeshType.FileMesh
  839. armormesh.Parent = armor
  840. local wlf4 = Instance.new("Weld",armor)
  841. wlf4.Part0 = armor
  842. wlf4.Part1 = Torso
  843. wlf4.C0 = wlf4.C0 * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  844. wlf4.C1 = CFrame.new(0,0,0)
  845.  
  846. for _, c in pairs(Weapon:GetChildren()) do
  847. if c.Name == "Left Arm" or c.Name == "LeftLowerArm" then
  848. LEFTCUFF = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  849. LEFTCUFF.CFrame = c.CFrame
  850. weldBetween(c,LEFTCUFF)
  851. end
  852. end
  853. for _, c in pairs(Weapon:GetChildren()) do
  854. if c.Name == "Right Arm" or c.Name == "RightLowerArm" then
  855. RIGHTCUFF = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Cuff", VT(c.Size.X+0.1, 0.1, c.Size.Z+0.1),false)
  856. RIGHTCUFF.CFrame = c.CFrame
  857. weldBetween(c,RIGHTCUFF)
  858. end
  859. end
  860. if RIGHTCUFF and LEFTCUFF then
  861. local A = IT("Attachment",RIGHTCUFF)
  862. local B = IT("Attachment",LEFTCUFF)
  863. ChainLink = IT("Beam",Weapon)
  864. ChainLink.Texture = "rbxassetid://73042633"
  865. ChainLink.Color = ColorSequence.new(C3(0.8,0.8,0.8))
  866. ChainLink.TextureSpeed = 0
  867. ChainLink.Width0 = 1
  868. ChainLink.Width1 = 1
  869. ChainLink.Segments = 25
  870. ChainLink.TextureLength = 3
  871. ChainLink.Attachment0 = B
  872. ChainLink.Attachment1 = A
  873. ChainLink.FaceCamera = true
  874. ChainLink.Transparency = NumberSequence.new(0)
  875. end
  876.  
  877. local GUN = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false)
  878. CreateMesh("SpecialMesh", GUN, "FileMesh", "94219391", "94219470", VT(0.7, 0.7, 0.8), VT(0,0,0))
  879. local GUNWELD = CreateWeldOrSnapOrMotor("Weld", GUN, Torso, GUN, CF(-0.0,0.5,0.9) * ANGLES(RAD(90), RAD(110), RAD(167)), CF(0, 0, 0))
  880.  
  881. local GUN2 = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gun2", VT(1, 0.8, 3),false)
  882. CreateMesh("SpecialMesh", GUN2, "FileMesh", "623102664", "623102879", VT(0.01, 0.01, 0.01), VT(0,0,0))
  883. local GUN2WELD = CreateWeldOrSnapOrMotor("Weld", GUN2, Torso, GUN2, CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  884.  
  885. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  886. PRT.Color = C3(0,0,0)
  887. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  888. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  889. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  890. PRT.Color = C3(0,0,0)
  891. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.05) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  892. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  893.  
  894. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.25,0.2),false)
  895. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.25,-0.53) * ANGLES(RAD(0), RAD(0), RAD(-80)), CF(0, 0, 0))
  896. MakeForm(EYE,"Ball")
  897. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.1,0.25,0.2),false)
  898. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(-0.15,0.25,-0.53) * ANGLES(RAD(0), RAD(0), RAD(80)), CF(0, 0, 0))
  899. MakeForm(EYE,"Ball")
  900.  
  901. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really white", "Eye", VT(0.1,0.1,0.1),false)
  902. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.19,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  903. MakeForm(EYE,"Ball")
  904. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really white", "Eye", VT(0.1,0.1,0.1),false)
  905. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(-0.15,0.19,-0.58) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  906. MakeForm(EYE,"Ball")
  907.  
  908. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.005,0.005,0.005),false)
  909. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(0.15,0.20,-0.62) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  910. MakeForm(EYE,"Ball")
  911. local EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Eye", VT(0.005,0.005,0.005),false)
  912. CreateWeldOrSnapOrMotor("Weld", EYE, Head, EYE, CF(-0.15,0.20,-0.62) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  913. MakeForm(EYE,"Ball")
  914.  
  915. local LASTPART = Head
  916. for i = 1, 15 do
  917. local MATH = (1-(i/16))
  918. if LASTPART == Head then
  919. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  920. CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(5), RAD(-25)), CF(0, 0, 0))
  921. LASTPART = Horn
  922. Horn.Color = C3((i/15),0,0)
  923. local MSH = IT("BlockMesh",Horn)
  924. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  925. else
  926. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  927. CreateWeldOrSnapOrMotor("Weld", Horn1, 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))
  928. LASTPART = Horn
  929. Horn.Color = C3((i/15),0,0)
  930. local MSH = IT("BlockMesh",Horn)
  931. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  932. end
  933. end
  934. local LASTPART = Head
  935. for i = 1, 15 do
  936. local MATH = (1-(i/16))
  937. if LASTPART == Head then
  938. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  939. CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
  940. LASTPART = Horn
  941. Horn.Color = C3((i/15),0,0)
  942. local MSH = IT("BlockMesh",Horn)
  943. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  944. else
  945. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  946. CreateWeldOrSnapOrMotor("Weld", Horn1, 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))
  947. LASTPART = Horn
  948. Horn.Color = C3((i/15),0,0)
  949. local MSH = IT("BlockMesh",Horn)
  950. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  951. end
  952. end
  953.  
  954. local LASTPART = Head
  955. for i = 1, 15 do
  956. local MATH = (1-(i/16))
  957. if LASTPART == Head then
  958. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  959. CreateWeldOrSnapOrMotor("Weld", Horn1, LASTPART, Horn, CF(-0.45, 0.5, -0.15) * ANGLES(RAD(-35), RAD(-5), RAD(25)), CF(0, 0, 0))
  960. LASTPART = Horn
  961. Horn.Color = C3((i/15),0,0)
  962. local MSH = IT("BlockMesh",Horn)
  963. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  964. else
  965. local Horn = CreatePart(3, Horn1, "Granite", 0, 0, "Dirt brown", "Horn", VT(1,0.25,1),false)
  966. CreateWeldOrSnapOrMotor("Weld", Horn1, 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))
  967. LASTPART = Horn
  968. Horn.Color = C3((i/15),0,0)
  969. local MSH = IT("BlockMesh",Horn)
  970. MSH.Scale = VT(0.16*MATH,1,0.16*MATH)
  971. end
  972. end
  973.  
  974. for i = 1, 10 do
  975. local FACE = CreatePart(3, Head, "Fabric", 0, 0+(i-1)/10.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  976. FACE.Color = C3(0,0,0)
  977. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  978. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.28-(i-1)/30,0), CF(0, 0, 0))
  979. end
  980.  
  981. for _, c in pairs(Weapon:GetChildren()) do
  982. if c.ClassName == "Part" then
  983. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  984. end
  985. end
  986.  
  987. Weapon.Parent = Character
  988.  
  989. Humanoid.Died:connect(function()
  990. ATTACK = true
  991. end)
  992.  
  993.  
  994. --//=================================\\
  995. --|| DAMAGE FUNCTIONS
  996. --\\=================================//
  997.  
  998. function StatLabel(CFRAME, TEXT, COLOR)
  999. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1000. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1001. local BODYGYRO = IT("BodyGyro", STATPART)
  1002. game:GetService("Debris"):AddItem(STATPART ,5)
  1003. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1004. BILLBOARDGUI.Adornee = STATPART
  1005. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1006. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1007. BILLBOARDGUI.AlwaysOnTop = false
  1008. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1009. TEXTLABEL.BackgroundTransparency = 1
  1010. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1011. TEXTLABEL.Text = TEXT
  1012. TEXTLABEL.Font = "Fantasy"
  1013. TEXTLABEL.FontSize="Size42"
  1014. TEXTLABEL.TextColor3 = COLOR
  1015. TEXTLABEL.TextStrokeTransparency = 0
  1016. TEXTLABEL.TextScaled = true
  1017. TEXTLABEL.TextWrapped = true
  1018. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1019. for i = 1, 50 do
  1020. Swait()
  1021. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1022. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1023. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1024. end
  1025. THEPART.Parent = nil
  1026. end),STATPART, TEXTLABEL)
  1027. end
  1028.  
  1029. function Switch()
  1030. ATTACK = true
  1031. Rooted = true
  1032. if MODE == "Cop" then
  1033. for i=0, 0.3, 0.1 / Animation_Speed do
  1034. Swait()
  1035. 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)
  1036. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1037. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1038. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1039. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1040. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1041. end
  1042. for i=0, 1, 0.1 / Animation_Speed do
  1043. Swait()
  1044. 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)
  1045. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1046. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1047. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1048. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1049. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1050. end
  1051. CreateSound(363808674, Torso, 6, 1, false)
  1052. for i=0, 0.6, 0.1 / Animation_Speed do
  1053. Swait()
  1054. 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)
  1055. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(25), RAD(0)), 1 / Animation_Speed)
  1056. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-50)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1057. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(70), RAD(0), RAD(60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1058. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1059. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1060. end
  1061. CreateSound(363808674, Torso, 6, 1, false)
  1062. for i=0, 0.6, 0.1 / Animation_Speed do
  1063. Swait()
  1064. 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)
  1065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1068. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1069. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1070. end
  1071. GUN2WELD.Part0 = LeftArm
  1072. GUN2WELD.C0 = CF(0,-1.5,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  1073. GUNWELD.Part0 = RightArm
  1074. GUNWELD.C0 = CF(-0.2,-1.8,0.1) * ANGLES(RAD(90), RAD(174), RAD(179))
  1075. MODE = "Cops"
  1076. elseif MODE == "Cops" then
  1077. CreateSound(147722227, Torso, 4, 1.3, false)
  1078. for i=0, 0.3, 0.1 / Animation_Speed do
  1079. Swait()
  1080. 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)
  1081. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(-25), RAD(0)), 1 / Animation_Speed)
  1082. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1083. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1084. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1085. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1086. end
  1087. GUN2WELD.Part0 = Torso
  1088. GUN2WELD.C0 = CF(-1.1,-1.1,0) * ANGLES(RAD(0), RAD(90), RAD(-90))
  1089. GUNWELD.Part0 = Torso
  1090. GUNWELD.C0 = CF(-0.0,0.5,0.9) * ANGLES(RAD(90), RAD(110), RAD(167))
  1091. MODE = "Cop"
  1092. end
  1093. ATTACK = false
  1094. Rooted = false
  1095. end
  1096.  
  1097. --//=================================\\
  1098. --|| DAMAGING
  1099. --\\=================================//
  1100.  
  1101. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  1102. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1103. defence.Name = ("HitBy"..Player.Name)
  1104. game:GetService("Debris"):AddItem(defence, 0.001)
  1105. if Humanoid.Health ~= 0 then
  1106. local CritChance = MRANDOM(1,100)
  1107. if CritChance < CritRate + 1 then
  1108. Damage = Damage*CritMultiplier
  1109. end
  1110. if Damage > Humanoid.Health then
  1111. Damage = math.ceil(Humanoid.Health)
  1112. if Damage == 0 then
  1113. Damage = 0.1
  1114. end
  1115. end
  1116. Humanoid.Health = Humanoid.Health - Damage
  1117. if Humanoid.Parent:FindFirstChild("Head") then
  1118. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 5, 1)
  1119. if CritChance < CritRate + 1 then
  1120. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  1121. else
  1122. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, SKILLTEXTCOLOR)
  1123. end
  1124. end
  1125. end
  1126. end
  1127.  
  1128. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1129. local dmg = math.random(min,max)
  1130. for i,v in ipairs(workspace:GetChildren()) do
  1131. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1132. local body = v:GetChildren()
  1133. for part = 1, #body do
  1134. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1135. if(body[part].Position - position).Magnitude < radius then
  1136. if v.ClassName == "Model" then
  1137. if v:FindFirstChildOfClass("Humanoid") then
  1138. if CanBeDodgedByJumping == true then
  1139. if body[part].Position.Y < position.Y+5 then
  1140. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1141. end
  1142. else
  1143. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1144. end
  1145. local bv = Instance.new("BodyVelocity")
  1146. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1147. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1148. bv.Parent = body[part]
  1149. Debris:AddItem(bv,0.2)
  1150. end
  1151. end
  1152. end
  1153. end
  1154. end
  1155. end
  1156. if v:FindFirstChild("HitBy"..Player.Name) then
  1157. v:FindFirstChild("HitBy"..Player.Name):remove()
  1158. end
  1159. end
  1160. end
  1161.  
  1162. function killnearest(position,range,maxstrength,direction)
  1163. for i,v in ipairs(workspace:GetChildren()) do
  1164. local body = v:GetChildren()
  1165. for part = 1, #body do
  1166. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1167. if(body[part].Position - position).Magnitude < range then
  1168. if v.ClassName == "Model" then
  1169. --v:BreakJoints()
  1170. end
  1171. local POS = position
  1172. coroutine.resume(coroutine.create(function()
  1173. body[part].Anchored = true
  1174. body[part].Parent = Effects
  1175. body[part].CanCollide = true
  1176. local SIZE = body[part].Size
  1177. body[part].Material = "Neon"
  1178. CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10)
  1179. for i = 1, 75 do
  1180. Swait()
  1181. body[part].Color = C3(0,0,0)
  1182. body[part].Size = VT(1,1,1)
  1183. end
  1184. coroutine.resume(coroutine.create(function()
  1185. while true do
  1186. Swait()
  1187. body[part].Color = C3(0,0,0)
  1188. body[part].Size = VT(1,1,1)
  1189. end
  1190. end))
  1191. body[part].Anchored = false
  1192. body[part].Velocity = direction.lookVector*maxstrength
  1193. end))
  1194. end
  1195. end
  1196. end
  1197. if v.ClassName == "Part" then
  1198. if v.Anchored == false and (v.Position - position).Magnitude < range then
  1199. local POS = position
  1200. coroutine.resume(coroutine.create(function()
  1201. v.Anchored = true
  1202. v.Parent = Effects
  1203. local SIZE = v.Size
  1204. v.Material = "Neon"
  1205. CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10)
  1206. for i = 1, 75 do
  1207. Swait()
  1208. v.Color = C3(0,0,0)
  1209. v.Size = VT(1,1,1)
  1210. end
  1211. coroutine.resume(coroutine.create(function()
  1212. while true do
  1213. Swait()
  1214. v.Color = C3(0,0,0)
  1215. v.Size = VT(1,1,1)
  1216. end
  1217. end))
  1218. v.Anchored = false
  1219. v.Velocity = direction.lookVector*maxstrength
  1220. end))
  1221. end
  1222. end
  1223. end
  1224. end
  1225.  
  1226. function ApplyAoE4(POSITION,RANGE,BRUTAL)
  1227. local CHILDREN = workspace:GetDescendants()
  1228. for index, CHILD in pairs(CHILDREN) do
  1229. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1230. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1231. if HUM then
  1232. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1233. if TORSO then
  1234. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1235. if BRUTAL == true then
  1236. Kill(CHILD)
  1237. else
  1238. CHILD:BreakJoints()
  1239. end
  1240. end
  1241. end
  1242. end
  1243. end
  1244. end
  1245. end
  1246.  
  1247. function Kill(Char)
  1248. local NewCharacter = IT("Model",Effects)
  1249. NewCharacter.Name = "Ow im ded ;-;"
  1250. for _, c in pairs(Char:GetDescendants()) do
  1251. if c:IsA("BasePart") and c.Transparency == 0 then
  1252. c:BreakJoints()
  1253. c.Material = "Glass"
  1254. c.Color = C3(1,0,0)
  1255. c.CanCollide = true
  1256. c.Transparency = 0.3
  1257. if c:FindFirstChildOfClass("SpecialMesh") then
  1258. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1259. end
  1260. if c.Name == "Head" then
  1261. c:ClearAllChildren()
  1262. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1263. end
  1264. if c.ClassName == "MeshPart" then
  1265. c.TextureID = ""
  1266. end
  1267. if c:FindFirstChildOfClass("BodyPosition") then
  1268. c:FindFirstChildOfClass("BodyPosition"):remove()
  1269. end
  1270. if c:FindFirstChildOfClass("ParticleEmitter") then
  1271. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1272. end
  1273. c.Parent = NewCharacter
  1274. c.Name = "DeadPart"
  1275. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1276. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1277. end
  1278. end
  1279. Char:remove()
  1280. Debris:AddItem(NewCharacter,5)
  1281. end
  1282.  
  1283. --//=================================\\
  1284. --|| ATTACK FUNCTIONS AND STUFF
  1285. --\\=================================//
  1286.  
  1287. function Bullet2()
  1288. ATTACK = true
  1289. Rooted = false
  1290. for i=0, 0.9, 0.07 / Animation_Speed do
  1291. Swait()
  1292. turnto(Mouse.Hit.p)
  1293. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1294. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1297. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1298. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1299. end
  1300. repeat
  1301. for i=0, 0.1, 0.07 / Animation_Speed do
  1302. Swait()
  1303. turnto(Mouse.Hit.p)
  1304. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1305. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1306. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(83 - 22 * SIN(SINE / 0.5)), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1307. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0.5) * ANGLES(RAD(83 - 22 * SIN(SINE / 0.5)), RAD(-30), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1308. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1309. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1310. end
  1311. local HIT,POS = CastProperRay(GUN.Position, Mouse.Hit.p, 1000, Character)
  1312. SpawnTrail(GUN.Position,POS)
  1313. if HIT ~= nil then
  1314. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1315. Kill(HIT.Parent)
  1316. end
  1317. end
  1318. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = GUN.CFrame, MoveToPos = GUN.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1319. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = GUN.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 131073013, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0.5})
  1320. 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,GUN.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1321. 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,GUN.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1322. for i=0, 0.2, 0.07 / Animation_Speed do
  1323. Swait()
  1324. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0 - 55 * SIN(SINE / 0.5)), RAD(0 - 22 * SIN(SINE / 0.5)), RAD(0)), 0.15 / Animation_Speed)
  1325. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  1326. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.5) * ANGLES(RAD(90 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1327. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90 - 22 * SIN(SINE / 0.5)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1328. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1329. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1330. end
  1331. local HIT,POS = CastProperRay(GUN.Position, Mouse.Hit.p, 1000, Character)
  1332. SpawnTrail2(GUN.Position,POS)
  1333. SpawnTrail(GUN2.Position,POS)
  1334. if HIT ~= nil then
  1335. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1336. Kill(HIT.Parent)
  1337. end
  1338. end
  1339. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = GUN2.CFrame, MoveToPos = GUN2.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})
  1340. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = GUN2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 0.5})
  1341. 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,GUN2.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})
  1342. 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,GUN2.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})
  1343. until KEYHOLD == false
  1344. ATTACK = false
  1345. Rooted = false
  1346. end
  1347.  
  1348. function Nope()
  1349. ATTACK = true
  1350. Rooted = false
  1351. CreateSound(130932305, Torso, 6, 1, false)
  1352. for i=0, 0.6, 0.1 / Animation_Speed do
  1353. Swait()
  1354. 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)
  1355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(-55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1358. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1359. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1360. end
  1361. for i=0, 0.6, 0.1 / Animation_Speed do
  1362. Swait()
  1363. 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)
  1364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(55), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35, -0.35) * ANGLES(RAD(55), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1368. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1369. end
  1370. ATTACK = false
  1371. Rooted = false
  1372. end
  1373.  
  1374.  
  1375. --//=================================\\
  1376. --|| ASSIGN THINGS TO KEYS
  1377. --\\=================================//
  1378.  
  1379. function MouseDown(Mouse)
  1380. if ATTACK == false then
  1381. end
  1382. end
  1383.  
  1384. function MouseUp(Mouse)
  1385. HOLD = false
  1386. end
  1387.  
  1388. function KeyDown(Key)
  1389. KEYHOLD = true
  1390. if Key == "z" and ATTACK == false then
  1391. if MODE == "Cop" then
  1392. Nope()
  1393. elseif MODE == "Cops" then
  1394. Bullet2()
  1395. end
  1396. end
  1397.  
  1398. if Key == "b" and ATTACK == false then
  1399. end
  1400.  
  1401. if Key == "c" and ATTACK == false then
  1402. end
  1403.  
  1404. if Key == "t" and ATTACK == false then
  1405. end
  1406.  
  1407. if Key == "x" and ATTACK == false then
  1408. Switch()
  1409. end
  1410. end
  1411.  
  1412. function KeyUp(Key)
  1413. KEYHOLD = false
  1414. end
  1415.  
  1416. Mouse.Button1Down:connect(function(NEWKEY)
  1417. MouseDown(NEWKEY)
  1418. end)
  1419. Mouse.Button1Up:connect(function(NEWKEY)
  1420. MouseUp(NEWKEY)
  1421. end)
  1422. Mouse.KeyDown:connect(function(NEWKEY)
  1423. KeyDown(NEWKEY)
  1424. end)
  1425. Mouse.KeyUp:connect(function(NEWKEY)
  1426. KeyUp(NEWKEY)
  1427. end)
  1428.  
  1429. --//=================================\\
  1430. --\\=================================//
  1431.  
  1432.  
  1433. function unanchor()
  1434. if UNANCHOR == true then
  1435. g = Character:GetChildren()
  1436. for i = 1, #g do
  1437. if g[i].ClassName == "Part" then
  1438. g[i].Anchored = false
  1439. end
  1440. end
  1441. end
  1442. end
  1443.  
  1444.  
  1445. --//=================================\\
  1446. --|| WRAP THE WHOLE SCRIPT UP
  1447. --\\=================================//
  1448.  
  1449. Humanoid.Changed:connect(function(Jump)
  1450. if Jump == "Jump" and (Disable_Jump == true) then
  1451. Humanoid.Jump = false
  1452. end
  1453. end)
  1454.  
  1455. while true do
  1456. Swait()
  1457. ANIMATE.Parent = nil
  1458. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1459. IDLEANIMATION:Play()
  1460. SINE = SINE + CHANGE
  1461. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1462. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1463. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1464. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1465. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1466. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1467. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1468. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1469. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1470. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1471. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1472. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1473. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1474. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1475. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1476. end
  1477. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1478. ANIM = "Jump"
  1479. if ATTACK == false then
  1480. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1481. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1482. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1483. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1484. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1485. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1486. end
  1487. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1488. ANIM = "Fall"
  1489. if ATTACK == false then
  1490. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1491. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1492. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1493. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1494. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1495. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1496. end
  1497. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1498. ANIM = "Idle"
  1499. if ATTACK == false then
  1500. if MODE == "Cop" then
  1501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1)
  1502. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1503. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), 0, 0 + 0.05 * COS(SINE / 7)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1504. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-3.5 * COS(SINE / 24)), RAD(0), RAD(12)) * ANGLES(RAD(0 - 2.5 * COS(SINE / 24) + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1505. RightHip.C0 = Clerp(RightHip.C0, CF(1 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), -1 - 0.05 * COS(SINE / 7), -0.01) * ANGLES(RAD(0), RAD(83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1506. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 - 0.05 * COS(SINE / 7) + 0.05 * SIN(SINE / 7), -1 - 0.05 * COS(SINE / 7), -0.01) * ANGLES(RAD(0), RAD(-83), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.8 / Animation_Speed)
  1507. elseif MODE == "Cops" then
  1508. 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)
  1509. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
  1510. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1511. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1512. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1513. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1514. end
  1515. end
  1516. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1517. ANIM = "Walk"
  1518. WALK = WALK + 1 / Animation_Speed
  1519. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  1520. WALK = 0
  1521. if WALKINGANIM == true then
  1522. WALKINGANIM = false
  1523. elseif WALKINGANIM == false then
  1524. WALKINGANIM = true
  1525. end
  1526. end
  1527. --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1528. --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1529. if ATTACK == false then
  1530. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1531. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(42), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(42), RAD(0), RAD(0))* LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1534. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1535. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1536. end
  1537. end
  1538. if Character:FindFirstChildOfClass("Accessory") then
  1539. Character:FindFirstChildOfClass("Accessory"):remove()
  1540. elseif Character:FindFirstChildOfClass("Hat") then
  1541. Character:FindFirstChildOfClass("Hat"):remove()
  1542. end
  1543. unanchor()
  1544. Humanoid.MaxHealth = "inf"
  1545. Humanoid.Health = "inf"
  1546. if Rooted == false then
  1547. Disable_Jump = false
  1548. Humanoid.WalkSpeed = Speed
  1549. elseif Rooted == true then
  1550. Disable_Jump = true
  1551. Humanoid.WalkSpeed = 0
  1552. end
  1553. sick.Parent = Torso
  1554. local MATHS = {"0","1"}
  1555. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  1556. Humanoid.PlatformStand = false
  1557. end
  1558.  
  1559. --//=================================\\
  1560. --\\=================================//
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566. --//====================================================\\--
  1567. --|| END OF SCRIPT
  1568. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement