Advertisement
subaru112g

sauce murderer edit

Feb 24th, 2019
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.55 KB | None | 0 0
  1. --Enjoy Skiders
  2.  
  3. for i,v in pairs(owner.Character:GetChildren()) do
  4. if v.ClassName == "CharacterMesh" or v.ClassName == "Hat" or v.ClassName == "Accessory" or v.ClassName == "ShirtGraphic" then
  5. v:Destroy()
  6. end
  7. end
  8.  
  9. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  10. local Player,game,owner = owner,game
  11. local RealPlayer = Player
  12. do
  13. print("Made By TaiShi,Enjoy Skiders!")
  14. print("Version 3 FE Script")
  15. local rp = RealPlayer
  16. script.Parent = rp.Character
  17.  
  18. --RemoteEvent for communicating
  19. local Event = Instance.new("RemoteEvent")
  20. Event.Name = "UserInput_Event"
  21.  
  22. --Fake event to make stuff like Mouse.KeyDown work
  23. local function fakeEvent()
  24. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  25. t.connect = t.Connect
  26. return t
  27. end
  28.  
  29. --Creating fake input objects with fake variables
  30. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  31. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  32. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  33. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  34. end}
  35. --Merged 2 functions into one by checking amount of arguments
  36. CAS.UnbindAction = CAS.BindAction
  37.  
  38. --This function will trigger the events that have been :Connect()'ed
  39. local function te(self,ev,...)
  40. local t = m[ev]
  41. if t and t._fakeEvent then
  42. for _,f in pairs(t.Functions) do
  43. f(...)
  44. end
  45. end
  46. end
  47. m.TrigEvent = te
  48. UIS.TrigEvent = te
  49.  
  50. Event.OnServerEvent:Connect(function(plr,io)
  51. if plr~=rp then return end
  52. m.Target = io.Target
  53. m.Hit = io.Hit
  54. if not io.isMouse then
  55. local b = io.UserInputState == Enum.UserInputState.Begin
  56. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  57. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  58. end
  59. for _,t in pairs(CAS.Actions) do
  60. for _,k in pairs(t.Keys) do
  61. if k==io.KeyCode then
  62. t.Function(t.Name,io.UserInputState,io)
  63. end
  64. end
  65. end
  66. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  67. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  68. end
  69. end)
  70. Event.Parent = NLS([==[
  71. local Player = game:GetService("Players").LocalPlayer
  72. local Event = script:WaitForChild("UserInput_Event")
  73.  
  74. local Mouse = Player:GetMouse()
  75. local UIS = game:GetService("UserInputService")
  76. local input = function(io,a)
  77. if a then return end
  78. --Since InputObject is a client-side instance, we create and pass table instead
  79. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  80. end
  81. UIS.InputBegan:Connect(input)
  82. UIS.InputEnded:Connect(input)
  83.  
  84. local h,t
  85. --Give the server mouse data 30 times every second, but only if the values changed
  86. --If player is not moving their mouse, client won't fire events
  87. while wait(1/30) do
  88. if h~=Mouse.Hit or t~=Mouse.Target then
  89. h,t=Mouse.Hit,Mouse.Target
  90. Event:FireServer({isMouse=true,Target=t,Hit=h})
  91. end
  92. end]==],Player.Character)
  93.  
  94. ----Sandboxed game object that allows the usage of client-side methods and services
  95. --Real game object
  96. local _rg = game
  97.  
  98. --Metatable for fake service
  99. local fsmt = {
  100. __index = function(self,k)
  101. local s = rawget(self,"_RealService")
  102. if s then return s[k] end
  103. end,
  104. __newindex = function(self,k,v)
  105. local s = rawget(self,"_RealService")
  106. if s then s[k]=v end
  107. end,
  108. __call = function(self,...)
  109. local s = rawget(self,"_RealService")
  110. if s then return s(...) end
  111. end
  112. }
  113. local function FakeService(t,RealService)
  114. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  115. return setmetatable(t,fsmt)
  116. end
  117.  
  118. --Fake game object
  119. local g = {
  120. GetService = function(self,s)
  121. return self[s]
  122. end,
  123. Players = FakeService({
  124. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  125. },"Players"),
  126. UserInputService = FakeService(UIS,"UserInputService"),
  127. ContextActionService = FakeService(CAS,"ContextActionService"),
  128. }
  129. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  130. g.service = g.GetService
  131.  
  132. g.RunService = FakeService({
  133. RenderStepped = _rg:GetService("RunService").Heartbeat,
  134. BindToRenderStep = function(self,name,_,fun)
  135.  
  136. end,
  137. UnbindFromRenderStep = function(self,name)
  138. self._btrs[name]:Disconnect()
  139. end,
  140. },"RunService")
  141.  
  142. setmetatable(g,{
  143. __index=function(self,s)
  144. return _rg:GetService(s) or typeof(_rg[s])=="function"
  145. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  146. end,
  147. __newindex = fsmt.__newindex,
  148. __call = fsmt.__call
  149. })
  150. --Changing owner to fake player object to support owner:GetMouse()
  151. game,owner = g,g.Players.LocalPlayer
  152. end
  153. --//====================================================\\--
  154. --|| CREATED BY SHACKLUSTER
  155. --\\====================================================//--
  156.  
  157. wait(0.2)
  158.  
  159. Player = owner
  160. PlayerGui = Player.PlayerGui
  161. Cam = workspace.CurrentCamera
  162. Backpack = Player.Backpack
  163. Character = Player.Character
  164. Humanoid = Character.Humanoid
  165. Mouse = Player:GetMouse()
  166. RootPart = Character["HumanoidRootPart"]
  167. Torso = Character["Torso"]
  168. Head = Character["Head"]
  169. RightArm = Character["Right Arm"]
  170. LeftArm = Character["Left Arm"]
  171. RightLeg = Character["Right Leg"]
  172. LeftLeg = Character["Left Leg"]
  173. RootJoint = RootPart["RootJoint"]
  174. Neck = Torso["Neck"]
  175. RightShoulder = Torso["Right Shoulder"]
  176. LeftShoulder = Torso["Left Shoulder"]
  177. RightHip = Torso["Right Hip"]
  178. LeftHip = Torso["Left Hip"]
  179.  
  180. IT = Instance.new
  181. CF = CFrame.new
  182. VT = Vector3.new
  183. RAD = math.rad
  184. C3 = Color3.new
  185. UD2 = UDim2.new
  186. BRICKC = BrickColor.new
  187. ANGLES = CFrame.Angles
  188. EULER = CFrame.fromEulerAnglesXYZ
  189. COS = math.cos
  190. ACOS = math.acos
  191. SIN = math.sin
  192. ASIN = math.asin
  193. ABS = math.abs
  194. MRANDOM = math.random
  195. FLOOR = math.floor
  196.  
  197. --//=================================\\
  198. --|| USEFUL VALUES
  199. --\\=================================//
  200.  
  201. Animation_Speed = 3
  202. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  203. local Speed = 12
  204. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  205. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  206. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  207. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  208. local DAMAGEMULTIPLIER = 1
  209. local ANIM = "Idle"
  210. local ATTACK = false
  211. local EQUIPPED = false
  212. local HOLD = false
  213. local COMBO = 1
  214. local Rooted = false
  215. local SINE = 0
  216. local KEYHOLD = false
  217. local CHANGE = 2 / Animation_Speed
  218. local WALKINGANIM = false
  219. local VALUE1 = false
  220. local VALUE2 = false
  221. local ROBLOXIDLEANIMATION = IT("Animation")
  222. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  223. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  224. --ROBLOXIDLEANIMATION.Parent = Humanoid
  225. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  226. WEAPONGUI.Name = "Weapon GUI"
  227. local Weapon = IT("Model")
  228. Weapon.Name = "Adds"
  229. local Effects = IT("Folder", Weapon)
  230. Effects.Name = "Effects"
  231. local ANIMATOR = Humanoid.Animator
  232. local ANIMATE = Character.Animate
  233. local UNANCHOR = true
  234. local PLAYANIMS = true
  235. local CLOAKED = false
  236.  
  237. --//=================================\\
  238. --\\=================================//
  239.  
  240.  
  241. --//=================================\\
  242. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  243. --\\=================================//
  244.  
  245. ArtificialHB = Instance.new("BindableEvent", script)
  246. ArtificialHB.Name = "ArtificialHB"
  247.  
  248. script:WaitForChild("ArtificialHB")
  249.  
  250. frame = Frame_Speed
  251. tf = 0
  252. allowframeloss = false
  253. tossremainder = false
  254. lastframe = tick()
  255. script.ArtificialHB:Fire()
  256.  
  257. game:GetService("RunService").Heartbeat:connect(function(s, p)
  258. tf = tf + s
  259. if tf >= frame then
  260. if allowframeloss then
  261. script.ArtificialHB:Fire()
  262. lastframe = tick()
  263. else
  264. for i = 1, math.floor(tf / frame) do
  265. script.ArtificialHB:Fire()
  266. end
  267. lastframe = tick()
  268. end
  269. if tossremainder then
  270. tf = 0
  271. else
  272. tf = tf - frame * math.floor(tf / frame)
  273. end
  274. end
  275. end)
  276.  
  277. --//=================================\\
  278. --\\=================================//
  279.  
  280. --//=================================\\
  281. --|| SOME FUNCTIONS
  282. --\\=================================//
  283.  
  284. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  285. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  286. end
  287.  
  288. function PositiveAngle(NUMBER)
  289. if NUMBER >= 0 then
  290. NUMBER = 0
  291. end
  292. return NUMBER
  293. end
  294.  
  295. function NegativeAngle(NUMBER)
  296. if NUMBER <= 0 then
  297. NUMBER = 0
  298. end
  299. return NUMBER
  300. end
  301.  
  302. function Swait(NUMBER)
  303. if NUMBER == 0 or NUMBER == nil then
  304. ArtificialHB.Event:wait()
  305. else
  306. for i = 1, NUMBER do
  307. ArtificialHB.Event:wait()
  308. end
  309. end
  310. end
  311.  
  312. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  313. local NEWMESH = IT(MESH)
  314. if MESH == "SpecialMesh" then
  315. NEWMESH.MeshType = MESHTYPE
  316. if MESHID ~= "nil" and MESHID ~= "" then
  317. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  318. end
  319. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  320. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  321. end
  322. end
  323. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  324. NEWMESH.Scale = SCALE
  325. NEWMESH.Parent = PARENT
  326. return NEWMESH
  327. end
  328.  
  329. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  330. local NEWPART = IT("Part")
  331. NEWPART.formFactor = FORMFACTOR
  332. NEWPART.Reflectance = REFLECTANCE
  333. NEWPART.Transparency = TRANSPARENCY
  334. NEWPART.CanCollide = false
  335. NEWPART.Locked = true
  336. NEWPART.Anchored = true
  337. if ANCHOR == false then
  338. NEWPART.Anchored = false
  339. end
  340. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  341. NEWPART.Name = NAME
  342. NEWPART.Size = SIZE
  343. NEWPART.Position = Torso.Position
  344. NEWPART.Material = MATERIAL
  345. NEWPART:BreakJoints()
  346. NEWPART.Parent = PARENT
  347. return NEWPART
  348. end
  349.  
  350. local function weldBetween(a, b)
  351. local weldd = Instance.new("ManualWeld")
  352. weldd.Part0 = a
  353. weldd.Part1 = b
  354. weldd.C0 = CFrame.new()
  355. weldd.C1 = b.CFrame:inverse() * a.CFrame
  356. weldd.Parent = a
  357. return weldd
  358. end
  359.  
  360.  
  361. function QuaternionFromCFrame(cf)
  362. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  363. local trace = m00 + m11 + m22
  364. if trace > 0 then
  365. local s = math.sqrt(1 + trace)
  366. local recip = 0.5 / s
  367. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  368. else
  369. local i = 0
  370. if m11 > m00 then
  371. i = 1
  372. end
  373. if m22 > (i == 0 and m00 or m11) then
  374. i = 2
  375. end
  376. if i == 0 then
  377. local s = math.sqrt(m00 - m11 - m22 + 1)
  378. local recip = 0.5 / s
  379. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  380. elseif i == 1 then
  381. local s = math.sqrt(m11 - m22 - m00 + 1)
  382. local recip = 0.5 / s
  383. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  384. elseif i == 2 then
  385. local s = math.sqrt(m22 - m00 - m11 + 1)
  386. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  387. end
  388. end
  389. end
  390.  
  391. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  392. local xs, ys, zs = x + x, y + y, z + z
  393. local wx, wy, wz = w * xs, w * ys, w * zs
  394. local xx = x * xs
  395. local xy = x * ys
  396. local xz = x * zs
  397. local yy = y * ys
  398. local yz = y * zs
  399. local zz = z * zs
  400. 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))
  401. end
  402.  
  403. function QuaternionSlerp(a, b, t)
  404. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  405. local startInterp, finishInterp;
  406. if cosTheta >= 0.0001 then
  407. if (1 - cosTheta) > 0.0001 then
  408. local theta = ACOS(cosTheta)
  409. local invSinTheta = 1 / SIN(theta)
  410. startInterp = SIN((1 - t) * theta) * invSinTheta
  411. finishInterp = SIN(t * theta) * invSinTheta
  412. else
  413. startInterp = 1 - t
  414. finishInterp = t
  415. end
  416. else
  417. if (1 + cosTheta) > 0.0001 then
  418. local theta = ACOS(-cosTheta)
  419. local invSinTheta = 1 / SIN(theta)
  420. startInterp = SIN((t - 1) * theta) * invSinTheta
  421. finishInterp = SIN(t * theta) * invSinTheta
  422. else
  423. startInterp = t - 1
  424. finishInterp = t
  425. end
  426. end
  427. 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
  428. end
  429.  
  430. function Clerp(a, b, t)
  431. local qa = {QuaternionFromCFrame(a)}
  432. local qb = {QuaternionFromCFrame(b)}
  433. local ax, ay, az = a.x, a.y, a.z
  434. local bx, by, bz = b.x, b.y, b.z
  435. local _t = 1 - t
  436. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  437. end
  438.  
  439. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  440. local frame = IT("Frame")
  441. frame.BackgroundTransparency = TRANSPARENCY
  442. frame.BorderSizePixel = BORDERSIZEPIXEL
  443. frame.Position = POSITION
  444. frame.Size = SIZE
  445. frame.BackgroundColor3 = COLOR
  446. frame.BorderColor3 = BORDERCOLOR
  447. frame.Name = NAME
  448. frame.Parent = PARENT
  449. return frame
  450. end
  451.  
  452.  
  453. function NoOutlines(PART)
  454. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  455. end
  456.  
  457. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  458. local NEWWELD = IT(TYPE)
  459. NEWWELD.Part0 = PART0
  460. NEWWELD.Part1 = PART1
  461. NEWWELD.C0 = C0
  462. NEWWELD.C1 = C1
  463. NEWWELD.Parent = PARENT
  464. return NEWWELD
  465. end
  466.  
  467. local S = IT("Sound")
  468. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  469. local NEWSOUND = nil
  470. coroutine.resume(coroutine.create(function()
  471. NEWSOUND = S:Clone()
  472. NEWSOUND.Parent = PARENT
  473. NEWSOUND.Volume = VOLUME
  474. NEWSOUND.Pitch = PITCH
  475. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  476. NEWSOUND:play()
  477. if DOESLOOP == true then
  478. NEWSOUND.Looped = true
  479. else
  480. repeat wait(1) until NEWSOUND.Playing == false
  481. NEWSOUND:remove()
  482. end
  483. end))
  484. return NEWSOUND
  485. end
  486.  
  487. function MakeForm(PART,TYPE)
  488. if TYPE == "Cyl" then
  489. local MSH = IT("CylinderMesh",PART)
  490. elseif TYPE == "Ball" then
  491. local MSH = IT("SpecialMesh",PART)
  492. MSH.MeshType = "Sphere"
  493. elseif TYPE == "Wedge" then
  494. local MSH = IT("SpecialMesh",PART)
  495. MSH.MeshType = "Wedge"
  496. end
  497. end
  498.  
  499. function CFrameFromTopBack(at, top, back)
  500. local right = top:Cross(back)
  501. 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)
  502. end
  503.  
  504. Debris = game:GetService("Debris")
  505.  
  506. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  507. local DIRECTION = CF(StartPos,EndPos).lookVector
  508. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  509. end
  510.  
  511. function turnto(position)
  512. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  513. end
  514.  
  515. function recurse(root,callback,i)
  516. i= i or 0
  517. for _,v in pairs(root:GetChildren()) do
  518. i = i + 1
  519. callback(i,v)
  520.  
  521. if #v:GetChildren() > 0 then
  522. i = recurse(v,callback,i)
  523. end
  524. end
  525.  
  526. return i
  527. end
  528.  
  529. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  530. attachmentName = attachmentName.."RigAttachment"
  531. local constraint = Instance.new(className.."Constraint")
  532. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  533. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  534. constraint.Name = "RagdollConstraint"..part1.Name
  535.  
  536. for _,propertyData in next,properties or {} do
  537. constraint[propertyData[1]] = propertyData[2]
  538. end
  539.  
  540. constraint.Parent = character
  541. end
  542.  
  543. function getAttachment0(character, attachmentName)
  544. for _,child in next,character:GetChildren() do
  545. local attachment = child:FindFirstChild(attachmentName)
  546. if attachment then
  547. return attachment
  548. end
  549. end
  550. end
  551.  
  552. function R15Ragdoll(character)
  553. recurse(character, function(_,v)
  554. if v:IsA("Attachment") then
  555. v.Axis = Vector3.new(0, 1, 0)
  556. v.SecondaryAxis = Vector3.new(0, 0, 1)
  557. v.Rotation = Vector3.new(0, 0, 0)
  558. end
  559. end)
  560. for _,child in next,character:GetChildren() do
  561. if child:IsA("Accoutrement") then
  562. for _,part in next,child:GetChildren() do
  563. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  564. local attachment1 = part:FindFirstChildOfClass("Attachment")
  565. local attachment0 = getAttachment0(character,attachment1.Name)
  566. if attachment0 and attachment1 then
  567. local constraint = Instance.new("HingeConstraint")
  568. constraint.Attachment0 = attachment0
  569. constraint.Attachment1 = attachment1
  570. constraint.LimitsEnabled = true
  571. constraint.UpperAngle = 0
  572. constraint.LowerAngle = 0
  573. constraint.Parent = character
  574. end
  575. elseif part.Name == "HumanoidRootPart" then
  576. part:remove()
  577. end
  578. end
  579. end
  580. end
  581.  
  582. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  583. {"LimitsEnabled",true};
  584. {"UpperAngle",5};
  585. })
  586. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  587. {"LimitsEnabled",true};
  588. {"UpperAngle",15};
  589. })
  590.  
  591. local handProperties = {
  592. {"LimitsEnabled", true};
  593. {"UpperAngle",0};
  594. {"LowerAngle",0};
  595. }
  596. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  597. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  598.  
  599. local shinProperties = {
  600. {"LimitsEnabled", true};
  601. {"UpperAngle", 0};
  602. {"LowerAngle", -75};
  603. }
  604. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  605. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  606.  
  607. local footProperties = {
  608. {"LimitsEnabled", true};
  609. {"UpperAngle", 15};
  610. {"LowerAngle", -45};
  611. }
  612. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  613. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  614.  
  615. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  616. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  617. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  618. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  619. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  620. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  621. end
  622.  
  623. function Ragdoll(Character2,CharTorso)
  624. Character2:BreakJoints()
  625. local hum = Character2:findFirstChild("Humanoid")
  626. hum:remove()
  627. local function Scan(ch)
  628. local e
  629. for e = 1,#ch do
  630. Scan(ch[e]:GetChildren())
  631. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  632. ch[e]:remove()
  633. end
  634. end
  635. end
  636. local NEWHUM = IT("Humanoid")
  637. NEWHUM.Name = "Corpse"
  638. NEWHUM.Health = 0
  639. NEWHUM.MaxHealth = 0
  640. NEWHUM.PlatformStand = true
  641. NEWHUM.Parent = Character2
  642. NEWHUM.DisplayDistanceType = "None"
  643.  
  644. local ch = Character2:GetChildren()
  645. local i
  646. for i = 1,#ch do
  647. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  648. ch[i]:remove()
  649. end
  650. end
  651.  
  652. local Torso2 = Character2.Torso
  653. local movevector = Vector3.new()
  654.  
  655. if Torso2 then
  656. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  657. local Head = Character2:FindFirstChild("Head")
  658. if Head then
  659. local Neck = Instance.new("Weld")
  660. Neck.Name = "Neck"
  661. Neck.Part0 = Torso2
  662. Neck.Part1 = Head
  663. Neck.C0 = CFrame.new(0, 1.5, 0)
  664. Neck.C1 = CFrame.new()
  665. Neck.Parent = Torso2
  666.  
  667. end
  668. local Limb = Character2:FindFirstChild("Right Arm")
  669. if Limb then
  670.  
  671. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  672. local Joint = Instance.new("Glue")
  673. Joint.Name = "RightShoulder"
  674. Joint.Part0 = Torso2
  675. Joint.Part1 = Limb
  676. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  677. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  678. Joint.Parent = Torso2
  679.  
  680. local B = Instance.new("Part")
  681. B.TopSurface = 0
  682. B.BottomSurface = 0
  683. B.formFactor = "Symmetric"
  684. B.Size = Vector3.new(1, 1, 1)
  685. B.Transparency = 1
  686. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  687. B.Parent = Character2
  688. local W = Instance.new("Weld")
  689. W.Part0 = Limb
  690. W.Part1 = B
  691. W.C0 = CFrame.new(0, -0.5, 0)
  692. W.Parent = Limb
  693.  
  694. end
  695. local Limb = Character2:FindFirstChild("Left Arm")
  696. if Limb then
  697.  
  698. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  699. local Joint = Instance.new("Glue")
  700. Joint.Name = "LeftShoulder"
  701. Joint.Part0 = Torso2
  702. Joint.Part1 = Limb
  703. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  704. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  705. Joint.Parent = Torso2
  706.  
  707. local B = Instance.new("Part")
  708. B.TopSurface = 0
  709. B.BottomSurface = 0
  710. B.formFactor = "Symmetric"
  711. B.Size = Vector3.new(1, 1, 1)
  712. B.Transparency = 1
  713. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  714. B.Parent = Character2
  715. local W = Instance.new("Weld")
  716. W.Part0 = Limb
  717. W.Part1 = B
  718. W.C0 = CFrame.new(0, -0.5, 0)
  719. W.Parent = Limb
  720.  
  721. end
  722. local Limb = Character2:FindFirstChild("Right Leg")
  723. if Limb then
  724.  
  725. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  726. local Joint = Instance.new("Glue")
  727. Joint.Name = "RightHip"
  728. Joint.Part0 = Torso2
  729. Joint.Part1 = Limb
  730. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  731. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  732. Joint.Parent = Torso2
  733.  
  734. local B = Instance.new("Part")
  735. B.TopSurface = 0
  736. B.BottomSurface = 0
  737. B.formFactor = "Symmetric"
  738. B.Size = Vector3.new(1, 1, 1)
  739. B.Transparency = 1
  740. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  741. B.Parent = Character2
  742. local W = Instance.new("Weld")
  743. W.Part0 = Limb
  744. W.Part1 = B
  745. W.C0 = CFrame.new(0, -0.5, 0)
  746. W.Parent = Limb
  747.  
  748. end
  749. local Limb = Character2:FindFirstChild("Left Leg")
  750. if Limb then
  751.  
  752. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  753. local Joint = Instance.new("Glue")
  754. Joint.Name = "LeftHip"
  755. Joint.Part0 = Torso2
  756. Joint.Part1 = Limb
  757. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  758. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  759. Joint.Parent = Torso2
  760.  
  761. local B = Instance.new("Part")
  762. B.TopSurface = 0
  763. B.BottomSurface = 0
  764. B.formFactor = "Symmetric"
  765. B.Size = Vector3.new(1, 1, 1)
  766. B.Transparency = 1
  767. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  768. B.Parent = Character2
  769. local W = Instance.new("Weld")
  770. W.Part0 = Limb
  771. W.Part1 = B
  772. W.C0 = CFrame.new(0, -0.5, 0)
  773. W.Parent = Limb
  774.  
  775. end
  776. --[
  777. local Bar = Instance.new("Part")
  778. Bar.TopSurface = 0
  779. Bar.BottomSurface = 0
  780. Bar.formFactor = "Symmetric"
  781. Bar.Size = Vector3.new(1, 1, 1)
  782. Bar.Transparency = 1
  783. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  784. Bar.Parent = Character2
  785. local Weld = Instance.new("Weld")
  786. Weld.Part0 = Torso2
  787. Weld.Part1 = Bar
  788. Weld.C0 = CFrame.new(0, 0.5, 0)
  789. Weld.Parent = Torso2
  790. --]]
  791. end
  792. Character2.Parent = workspace
  793. Debris:AddItem(Character2,5)
  794.  
  795. return Character2,Torso2
  796. end
  797.  
  798. for i,v in pairs(Character:children()) do
  799. if v:IsA("Shirt") and v:IsA("Pants") and v:IsA("Hat") and v:IsA("Accessory") then
  800. v:Remove()
  801. end
  802. end
  803. shirt = Instance.new("Shirt", Character)
  804. shirt.Name = "Shirt"
  805. pants = Instance.new("Pants", Character)
  806. pants.Name = "Pants"
  807. Character.Shirt.ShirtTemplate = "rbxassetid://219915350"
  808. Character.Pants.PantsTemplate = "rbxassetid://325498599"
  809.  
  810. local music = Instance.new("Sound", game.Players.LocalPlayer.Character)
  811. music.SoundId = "rbxassetid://407749940"
  812. music.Volume = 1
  813. music.Pitch = 0.8
  814. music:Play()
  815. music.Looped = true
  816.  
  817. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=701379058"
  818. local d2 = Instance.new("Decal",Character.Head)
  819. d2.Texture = "http://www.roblox.com/asset/?id=1482561897"
  820.  
  821. --//=================================\\
  822. --|| WEAPON CREATION
  823. --\\=================================//
  824.  
  825. local Knife = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,1.2,0.2),false)
  826. local Grip = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Knife, CF(0,-1.2, -0.5) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(45), RAD(0), RAD(0)), CF(0, 0.3, 0))
  827. CreateMesh("SpecialMesh", Knife, "FileMesh", "470094777", "470149026", VT(0.2,0.2,0.2), VT(0,0,0))
  828. local A = IT("Attachment",Knife)
  829. A.Position = VT(-0, 0.2, 0.136)
  830. local B = IT("Attachment",Knife)
  831. B.Position = VT(-0, -0.95, -0.982)
  832. local Trail = IT("Trail",Knife)
  833. Trail.Attachment0 = B
  834. Trail.Attachment1 = A
  835. Trail.Lifetime = 0.1
  836. Trail.Transparency = NumberSequence.new(0.5, 1)
  837. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  838. Trail.Enabled = true
  839. Humanoid.DisplayDistanceType = "None"
  840. Humanoid.MaxHealth = 9999999999999
  841. Humanoid.Health = 9999999999999
  842.  
  843. local STEP = CreateSound(131436155, Torso, 3, 1, true)
  844. STEP.Playing = false
  845. STEP.Looped = false
  846. local STEPPING = false
  847. Humanoid.Running:Connect(function(speed)
  848. if STEPPING == false then
  849. STEPPING = true
  850. repeat
  851. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  852. wait(8/TORSOVELOCITY)
  853. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  854. if TORSOVELOCITY > 1 and Torso.Transparency ~= 1 and HITFLOOR ~= nil then
  855. STEP.Parent = Torso
  856. STEP.Pitch = MRANDOM(8,12)/10
  857. STEP:Play()
  858. end
  859. until TORSOVELOCITY < 0.6
  860. STEPPING = false
  861. end
  862. end)
  863.  
  864. for _, c in pairs(Weapon:GetChildren()) do
  865. if c.ClassName == "Part" then
  866. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  867. end
  868. end
  869.  
  870. local SKILLTEXTCOLOR = C3(0,0,0)
  871. local SKILLFONT = "SciFi"
  872. local SKILLTEXTSIZE = 7
  873.  
  874. Weapon.Parent = Character
  875.  
  876. Humanoid.Died:connect(function()
  877. ATTACK = true
  878. end)
  879.  
  880. --//=================================\\
  881. --|| DAMAGE FUNCTIONS
  882. --\\=================================//
  883.  
  884.  
  885. --//=================================\\
  886. --|| DAMAGING
  887. --\\=================================//
  888.  
  889. function ApplyDamage(Humanoid,Damage,TorsoPart)
  890. local defence = Instance.new("BoolValue",Humanoid.Parent)
  891. defence.Name = ("HitBy"..Player.Name)
  892. game:GetService("Debris"):AddItem(defence, 0.001)
  893. Damage = Damage * DAMAGEMULTIPLIER
  894. if Humanoid.Health ~= 0 then
  895. local CritChance = MRANDOM(1,100)
  896. if Damage > Humanoid.Health then
  897. Damage = math.ceil(Humanoid.Health)
  898. if Damage == 0 then
  899. Damage = 0.1
  900. end
  901. end
  902. Humanoid.Health = Humanoid.Health - Damage
  903. end
  904. end
  905.  
  906. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  907. local CHILDREN = workspace:GetDescendants()
  908. for index, CHILD in pairs(CHILDREN) do
  909. if CHILD.ClassName == "Model" and CHILD ~= Character then
  910. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  911. if HUM then
  912. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  913. if TORSO then
  914. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  915. if INSTAKILL == true then
  916. CHILD:BreakJoints()
  917. else
  918. local DMG = MRANDOM(MINDMG,MAXDMG)
  919. ApplyDamage(HUM,DMG,TORSO)
  920. end
  921. if FLING > 0 then
  922. for _, c in pairs(CHILD:GetChildren()) do
  923. if c:IsA("BasePart") then
  924. local bv = Instance.new("BodyVelocity")
  925. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  926. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  927. bv.Parent = c
  928. Debris:AddItem(bv,0.05)
  929. end
  930. end
  931. end
  932. end
  933. end
  934. end
  935. end
  936. end
  937. end
  938.  
  939. --//=================================\\
  940. --|| ATTACK FUNCTIONS AND STUFF
  941. --\\=================================//
  942.  
  943. function Cloaked()
  944. CLOAKED = true
  945. Speed = 0
  946. local POS = RootPart.Position
  947. local DISTANCE = 99999999
  948. for i = 1, 15 do
  949. wait()
  950. for _, c in pairs(Character:GetChildren()) do
  951. if c:IsA("BasePart") and c ~= RootPart then
  952. c.Transparency = c.Transparency + 1/15
  953. elseif c.ClassName == "Accessory" then
  954. c.Handle.Transparency = c.Handle.Transparency + 1/15
  955. end
  956. end
  957. Trail.Transparency = NumberSequence.new(0.5+((i/15)/2), 1)
  958. Knife.Transparency = Knife.Transparency + 1/15
  959. Character.Head.face.Transparency = Character.Head.face.Transparency + 1/15
  960. d2.Transparency = d2.Transparency + 1/15
  961. end
  962. Speed = 30
  963. repeat
  964. wait()
  965. DISTANCE = (RootPart.Position - POS).Magnitude
  966. until DISTANCE > 45 or CLOAKED == false
  967. Speed = 0
  968. for i = 1, 15 do
  969. wait()
  970. for _, c in pairs(Character:GetChildren()) do
  971. if c:IsA("BasePart") and c ~= RootPart then
  972. c.Transparency = 1 - i/15
  973. elseif c.ClassName == "Accessory" then
  974. c.Handle.Transparency = 1 - i/15
  975. end
  976. end
  977. Trail.Transparency = NumberSequence.new(1-((0.5/15)*i), 1)
  978. Knife.Transparency = 1 - i/15
  979.  
  980. Character.Head.face.Transparency = 1 - i/15
  981. d2.Transparency = 1 - i/15
  982. end
  983. Speed = 12
  984. CLOAKED = false
  985. end
  986.  
  987. Character["Body Colors"].HeadColor = BrickColor.new("Really black")
  988. Character["Body Colors"].TorsoColor = BrickColor.new("Really black")
  989. Character["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  990. Character["Body Colors"].RightArmColor = BrickColor.new("Really black")
  991. Character["Body Colors"].LeftLegColor = BrickColor.new("Really black")
  992. Character["Body Colors"].RightLegColor = BrickColor.new("Really black")
  993.  
  994. function Attack()
  995. PLAYANIMS = false
  996. ATTACK = true
  997. Rooted = false
  998. local TARGET = nil
  999. Knife.CanCollide = true
  1000. local HUMAN = nil
  1001. local TORSOPART = nil
  1002. local HIT = Knife.Touched:Connect(function(hit)
  1003. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  1004. local HITBODY = hit.Parent
  1005. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  1006. local TORSO = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
  1007. if TORSO and HUM.Health > 0 then
  1008. TARGET = HITBODY
  1009. TORSOPART = TORSO
  1010. HUMAN = HUM
  1011. end
  1012. end
  1013. end)
  1014. for i=0, 0.4, 0.1 / Animation_Speed do
  1015. Swait()
  1016. if TARGET then
  1017. break
  1018. end
  1019. 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)
  1020. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1021. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1022. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1023. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1024. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1025. end
  1026. CreateSound(143501853,Knife,2,MRANDOM(8,13)/10,false)
  1027. for i=0, 0.5, 0.1 / Animation_Speed do
  1028. Swait()
  1029. if TARGET then
  1030. break
  1031. end
  1032. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  1033. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1034. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.4) * ANGLES(RAD(90), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1035. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1036. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1037. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1038. end
  1039. Knife.CanCollide = false
  1040. if TARGET then
  1041. CLOAKED = false
  1042. local DISPOSE = false
  1043. Rooted = true
  1044. coroutine.resume(coroutine.create(function()
  1045. repeat
  1046. Swait()
  1047. if TORSOPART then
  1048. TORSOPART.Anchored = true
  1049. TORSOPART.CFrame = RootPart.CFrame*CF(0,0,-2.2)
  1050. end
  1051. until DISPOSE == true
  1052. TORSOPART.Anchored = false
  1053. end))
  1054. for i=0, 0.5, 0.1 / Animation_Speed do
  1055. Swait()
  1056. 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)
  1057. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1058. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -1.3) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1059. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1060. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1061. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1062. end
  1063. CreateSound(28144268,Knife,2,MRANDOM(8,13)/10,false)
  1064. CreateSound(180083298,TORSOPART,5,MRANDOM(8,13)/10,false)
  1065. coroutine.resume(coroutine.create(function()
  1066. for i = 1, 750 do
  1067. Swait()
  1068. if HUMAN and TORSOPART then
  1069. if HUMAN.Health > 0 then
  1070. HUMAN.Health = HUMAN.Health - 1
  1071. HUMAN.WalkSpeed = MRANDOM(5,45)
  1072. else
  1073. break
  1074. end
  1075. else
  1076. break
  1077. end
  1078. end
  1079. local SCREAMS = {160718677,337800380}
  1080. if HUMAN and TORSOPART then
  1081. if HUMAN.Health == 0 then
  1082. local HEAD = TORSOPART.Parent:FindFirstChild("Head")
  1083. if HEAD then
  1084. CreateSound(SCREAMS[MRANDOM(1,#SCREAMS)],HEAD,5,MRANDOM(13,15)/10,false)
  1085. local FACE = HEAD:FindFirstChild("face")
  1086. if FACE then
  1087. FACE.Texture = "http://www.roblox.com/asset/?id=145854465"
  1088. end
  1089. end
  1090. if TORSOPART.Name == "Torso" then
  1091. Ragdoll(TORSOPART.Parent,Torso)
  1092. elseif TORSOPART.Name == "UpperTorso" then
  1093. R15Ragdoll(TORSOPART.Parent)
  1094. end
  1095. end
  1096. HUMAN.WalkSpeed = 16
  1097. end
  1098. end))
  1099. for i=0, 0.2, 0.1 / Animation_Speed do
  1100. Swait()
  1101. 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)
  1102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 1 / Animation_Speed)
  1103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(2, 0.75, -1.3) * ANGLES(RAD(90), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1105. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1106. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1107. end
  1108. DISPOSE = true
  1109. local bv = Instance.new("BodyVelocity")
  1110. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1111. bv.velocity = CF(TORSOPART.Position,TORSOPART.CFrame*CF(0,5,-15).p).lookVector*75
  1112. bv.Parent = TORSOPART
  1113. Debris:AddItem(bv,0.05)
  1114. for i=0, 0.5, 0.1 / Animation_Speed do
  1115. Swait()
  1116. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-35)), 1 / Animation_Speed)
  1117. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(35)), 1 / Animation_Speed)
  1118. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-25), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1119. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1120. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(110), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1121. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1122. end
  1123. end
  1124. HIT:disconnect()
  1125. ATTACK = false
  1126. Rooted = false
  1127. PLAYANIMS = true
  1128. end
  1129.  
  1130. function Taunt()
  1131. ATTACK = true
  1132. Rooted = true
  1133. PLAYANIMS = false
  1134. CreateSound(135017578,Torso,5,MRANDOM(8,9)/10,false)
  1135. for i=0, 1, 0.1 / Animation_Speed do
  1136. Swait()
  1137. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.8) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1138. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1139. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1140. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0, -0.5) * ANGLES(RAD(15), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1141. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(25), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1142. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(-45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1143. end
  1144. PLAYANIMS = true
  1145. ATTACK = false
  1146. Rooted = false
  1147. end
  1148.  
  1149. CV="Maroon"
  1150. Player = game.Players.LocalPlayer
  1151. Character = Player.Character
  1152. local txt = Instance.new("BillboardGui", Character)
  1153. txt.Adornee = Character .Head
  1154. txt.Name = "_status"
  1155. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1156. txt.StudsOffset = Vector3.new(-9, 8, 0)
  1157.  
  1158. v=Instance.new("Part")
  1159. v.Name = "ColorBrick"
  1160. v.Parent=Player.Character
  1161. v.FormFactor="Symmetric"
  1162. v.Anchored=true
  1163. v.CanCollide=false
  1164. v.BottomSurface="Smooth"
  1165. v.TopSurface="Smooth"
  1166. v.Size=Vector3.new(3,3,3)
  1167. v.Transparency=1
  1168. v.CFrame=Character.Torso.CFrame
  1169. v.BrickColor=BrickColor.new(CV)
  1170. v.Transparency=1
  1171. v.Shape="Block"
  1172. -------------------------------------
  1173.  
  1174. local Hair2 = Instance.new("Part", Character)
  1175. Hair2.Name = "Hair2"
  1176. Hair2.CanCollide = false
  1177. Hair2.BrickColor = BrickColor.new("Institutional white")
  1178. Hair2.Transparency = 0
  1179. Hair2.Material = "Plastic"
  1180. Hair2.Size = Vector3.new(1, 1, 2)
  1181. Hair2.TopSurface = Enum.SurfaceType.Smooth
  1182. Hair2.BottomSurface = Enum.SurfaceType.Smooth
  1183.  
  1184. local Weld = Instance.new("Weld", Hair2)
  1185. Weld.Part0 = Head
  1186. Weld.Part1 = Hair2
  1187. Weld.C1 = CFrame.new(0, -.6, 0)
  1188. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1189.  
  1190. local M2 = Instance.new("SpecialMesh")
  1191. M2.Parent = Hair2
  1192. M2.MeshId = "http://www.roblox.com/asset/?id=346578029"
  1193. M2.TextureId = "http://www.roblox.com/asset/?id=82907376"
  1194. M2.Scale = Vector3.new(1, 1, 1)
  1195.  
  1196. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  1197. local acs = Instance.new("Part")
  1198. acs.CanCollide = false
  1199. acs.Anchored = false
  1200. acs.Size = Vector3.new(0,0,0)
  1201. acs.CFrame = attachmentpart.CFrame
  1202. acs.Parent = Character
  1203. acs.BrickColor = color
  1204. local meshs = Instance.new("SpecialMesh")
  1205. meshs.MeshId = mesh
  1206. meshs.TextureId = texture
  1207. meshs.Parent = acs
  1208. meshs.Scale = scale
  1209. meshs.Offset = offset
  1210. weldBetween(attachmentpart,acs)
  1211. end
  1212.  
  1213. createaccessory(Head,"http://www.roblox.com/asset/?id=210118899","",VT(1, 1, 1),VT(0, 0.25, 0.1),BrickColor.new"Really black")
  1214.  
  1215. --//=================================\\
  1216. --|| ASSIGN THINGS TO KEYS
  1217. --\\=================================//
  1218.  
  1219. function MouseDown(Mouse)
  1220. HOLD = true
  1221. if ATTACK == false then
  1222. Attack()
  1223. end
  1224. end
  1225.  
  1226. function MouseUp(Mouse)
  1227. HOLD = false
  1228. end
  1229.  
  1230. function KeyDown(Key)
  1231. KEYHOLD = true
  1232. if Key == "z" and ATTACK == false then
  1233. if CLOAKED == false then
  1234. Cloaked()
  1235. else
  1236. CLOAKED = false
  1237. end
  1238. end
  1239.  
  1240. if Key == "t" and ATTACK == false then
  1241. Taunt()
  1242. end
  1243.  
  1244. if string.byte(Key) == 50 and ATTACK == false and CLOAKED == false then
  1245. if Speed == 12 then
  1246. Speed = 30
  1247. elseif Speed == 30 then
  1248. Speed = 14
  1249. end
  1250. end
  1251. end
  1252.  
  1253. function KeyUp(Key)
  1254. KEYHOLD = false
  1255. end
  1256.  
  1257. Mouse.Button1Down:connect(function(NEWKEY)
  1258. MouseDown(NEWKEY)
  1259. end)
  1260. Mouse.Button1Up:connect(function(NEWKEY)
  1261. MouseUp(NEWKEY)
  1262. end)
  1263. Mouse.KeyDown:connect(function(NEWKEY)
  1264. KeyDown(NEWKEY)
  1265. end)
  1266. Mouse.KeyUp:connect(function(NEWKEY)
  1267. KeyUp(NEWKEY)
  1268. end)
  1269.  
  1270. --//=================================\\
  1271. --\\=================================//
  1272.  
  1273. function unanchor()
  1274. if UNANCHOR == true then
  1275. g = Character:GetChildren()
  1276. for i = 1, #g do
  1277. if g[i].ClassName == "Part" then
  1278. g[i].Anchored = false
  1279. end
  1280. end
  1281. end
  1282. end
  1283.  
  1284. --//=================================\\
  1285. --|| WRAP THE WHOLE SCRIPT UP
  1286. --\\=================================//
  1287. Player_Size = 1
  1288.  
  1289. Humanoid.Changed:connect(function(Jump)
  1290. if Jump == "Jump" and (Disable_Jump == true) then
  1291. Humanoid.Jump = false
  1292. end
  1293. end)
  1294.  
  1295. while true do
  1296. Swait()
  1297. script.Parent = WEAPONGUI
  1298. ANIMATE.Parent = nil
  1299. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1300. v:Stop();
  1301. end
  1302. SINE = SINE + CHANGE
  1303. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1304. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1305. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1306. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1307. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1308. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1309. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1310. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.3 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1311. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.3 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1312. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1313. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1314. 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)
  1315. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1316. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1317. end
  1318. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1319. ANIM = "Jump"
  1320. if PLAYANIMS == true then
  1321. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1322. 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)
  1323. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1324. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1325. 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)
  1326. 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)
  1327. end
  1328. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1329. ANIM = "Fall"
  1330. if PLAYANIMS == true then
  1331. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1332. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1333. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1334. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1335. 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)
  1336. 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)
  1337. end
  1338. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1339. ANIM = "Idle"
  1340. if PLAYANIMS == true then
  1341. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.1, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1342. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1343. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1344. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.35, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1345. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1346. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1347. end
  1348. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1349. ANIM = "Walk"
  1350. if PLAYANIMS == true then
  1351. if Humanoid.WalkSpeed <= 17 then
  1352. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1353. 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)
  1354. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1355. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed)
  1356. 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)
  1357. 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)
  1358. else
  1359. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(5 * SIN(SINE / (WALKSPEEDVALUE / 2)))), 0.15 / Animation_Speed)
  1360. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(-5 * SIN(SINE / (WALKSPEEDVALUE / 2)))), 0.15 / Animation_Speed)
  1361. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(35), RAD(0)) * ANGLES(RAD(35+20 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1362. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.2) * ANGLES(RAD(0), RAD(-35), RAD(0)) * ANGLES(RAD(35-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1363. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 2 / Animation_Speed)
  1364. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-5)), 2 / Animation_Speed)
  1365. end
  1366. end
  1367. end
  1368. unanchor()
  1369. if Rooted == false then
  1370. Disable_Jump = false
  1371. Humanoid.WalkSpeed = Speed
  1372. elseif Rooted == true then
  1373. Disable_Jump = true
  1374. Humanoid.WalkSpeed = 0
  1375. end
  1376. if Head:FindFirstChildOfClass("Sound") then
  1377. Head:FindFirstChildOfClass("Sound"):remove()
  1378. end
  1379. Humanoid.Health = Humanoid.Health + 1
  1380. end
  1381.  
  1382.  
  1383.  
  1384. --//=================================\\
  1385. --\\=================================//
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391. --//====================================================\\--
  1392. --|| END OF SCRIPT
  1393. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement