Advertisement
doryna2281337

Untitled

Dec 31st, 2019
192
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. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. --
  84. print("Script made by xdielivex")
  85. print("Olympic executioner")
  86. --
  87. Player = owner
  88. PlayerGui = Player.PlayerGui
  89. Cam = workspace.CurrentCamera
  90. Backpack = Player.Backpack
  91. Character = Player.Character
  92. Humanoid = Character.Humanoid
  93. RootPart = Character["HumanoidRootPart"]
  94. Torso = Character["Torso"]
  95. Head = Character["Head"]
  96. RightArm = Character["Right Arm"]
  97. LeftArm = Character["Left Arm"]
  98. RightLeg = Character["Right Leg"]
  99. LeftLeg = Character["Left Leg"]
  100. RootJoint = RootPart["RootJoint"]
  101. Neck = Torso["Neck"]
  102. RightShoulder = Torso["Right Shoulder"]
  103. LeftShoulder = Torso["Left Shoulder"]
  104. RightHip = Torso["Right Hip"]
  105. LeftHip = Torso["Left Hip"]
  106.  
  107. local naeeym2 = Instance.new("BillboardGui",Character)
  108. naeeym2.AlwaysOnTop = true
  109. naeeym2.Size = UDim2.new(5,35,2,35)
  110. naeeym2.StudsOffset = Vector3.new(0,1,0)
  111. naeeym2.Adornee = Character.Head
  112. naeeym2.Name = "Name"
  113. naeeym2.PlayerToHideFrom = Player
  114. local tecks2 = Instance.new("TextLabel",naeeym2)
  115. tecks2.BackgroundTransparency = 1
  116. tecks2.TextScaled = true
  117. tecks2.BorderSizePixel = 0
  118. tecks2.Text = "PSYCHO"
  119. tecks2.Font = "Antique"
  120. tecks2.TextSize = 30
  121. tecks2.TextStrokeTransparency = 0
  122. tecks2.TextColor3 = Color3.new(0.8,0,0)
  123. tecks2.TextStrokeColor3 = Color3.new(0.8,0,0)
  124. tecks2.Size = UDim2.new(1,0,0.5,0)
  125. tecks2.Parent = naeeym2
  126.  
  127. tecks2.Text = "Script by xdielivex"
  128. wait(1)
  129. tecks2.Text = ""
  130.  
  131. Humanoid.DisplayDistanceType = "None"
  132. local sick = Instance.new("Sound",Character)
  133. sick.SoundId = "rbxassetid://562082197"
  134. sick.Looped = true
  135. sick.Pitch = 1
  136. sick.Volume = 1
  137.  
  138.  
  139. IT = Instance.new
  140. CF = CFrame.new
  141. VT = Vector3.new
  142. RAD = math.rad
  143. C3 = Color3.new
  144. UD2 = UDim2.new
  145. BRICKC = BrickColor.new
  146. ANGLES = CFrame.Angles
  147. EULER = CFrame.fromEulerAnglesXYZ
  148. COS = math.cos
  149. ACOS = math.acos
  150. SIN = math.sin
  151. ASIN = math.asin
  152. ABS = math.abs
  153. MRANDOM = math.random
  154. FLOOR = math.floor
  155.  
  156. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  157. local NEWMESH = IT(MESH)
  158. if MESH == "SpecialMesh" then
  159. NEWMESH.MeshType = MESHTYPE
  160. if MESHID ~= "nil" and MESHID ~= "" then
  161. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  162. end
  163. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  164. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  165. end
  166. end
  167. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  168. NEWMESH.Scale = SCALE
  169. NEWMESH.Parent = PARENT
  170. return NEWMESH
  171. end
  172.  
  173. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  174. local NEWPART = IT("Part")
  175. NEWPART.formFactor = FORMFACTOR
  176. NEWPART.Reflectance = REFLECTANCE
  177. NEWPART.Transparency = TRANSPARENCY
  178. NEWPART.CanCollide = false
  179. NEWPART.Locked = true
  180. NEWPART.Anchored = true
  181. if ANCHOR == false then
  182. NEWPART.Anchored = false
  183. end
  184. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  185. NEWPART.Name = NAME
  186. NEWPART.Size = SIZE
  187. NEWPART.Position = Torso.Position
  188. NEWPART.Material = MATERIAL
  189. NEWPART:BreakJoints()
  190. NEWPART.Parent = PARENT
  191. return NEWPART
  192. end
  193.  
  194. --//=================================\\
  195. --|| CUSTOMIZATION
  196. --\\=================================//
  197.  
  198. Player_Size = 1 --Size of the player.
  199. Animation_Speed = 3
  200. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  201.  
  202. local Speed = 20
  203. local Effects2 = {}
  204.  
  205.  
  206. --//=================================\\
  207. --|| END OF CUSTOMIZATION
  208. --\\=================================//
  209.  
  210. local function weldBetween(a, b)
  211. local weldd = Instance.new("ManualWeld")
  212. weldd.Part0 = a
  213. weldd.Part1 = b
  214. weldd.C0 = CFrame.new()
  215. weldd.C1 = b.CFrame:inverse() * a.CFrame
  216. weldd.Parent = a
  217. return weldd
  218. end
  219.  
  220.  
  221. --//=================================\\
  222. --|| USEFUL VALUES
  223. --\\=================================//
  224.  
  225. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  226. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  227. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  228. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  229. local CHANGEDEFENSE = 0
  230. local CHANGEDAMAGE = 0
  231. local CHANGEMOVEMENT = 0
  232. local ANIM = "Idle"
  233. local ATTACK = false
  234. local EQUIPPED = false
  235. local HOLD = false
  236. local COMBO = 1
  237. local Rooted = false
  238. local SINE = 0
  239. local KEYHOLD = false
  240. local CHANGE = 2 / Animation_Speed
  241. local WALKINGANIM = false
  242. local WALK = 0
  243. local VALUE1 = false
  244. local VALUE2 = false
  245. local ROBLOXIDLEANIMATION = IT("Animation")
  246. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  247. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  248. --ROBLOXIDLEANIMATION.Parent = Humanoid
  249. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  250. WEAPONGUI.Name = "Weapon GUI"
  251. local Weapon = IT("Model")
  252. Weapon.Name = "Adds"
  253. local Effects = IT("Folder", Weapon)
  254. Effects.Name = "Effects"
  255. local ANIMATOR = Humanoid.Animator
  256. local ANIMATE = Character.Animate
  257. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  258. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  259. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  260. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  261. local UNANCHOR = true
  262. local KILLINSTINCT = 0
  263.  
  264. local SKILLTEXTCOLOR = C3(1,0,0)
  265.  
  266. --//=================================\\
  267. --\\=================================//
  268.  
  269. --//=================================\\
  270. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  271. --\\=================================//
  272.  
  273. ArtificialHB = Instance.new("BindableEvent", script)
  274. ArtificialHB.Name = "ArtificialHB"
  275.  
  276. script:WaitForChild("ArtificialHB")
  277.  
  278. frame = Frame_Speed
  279. tf = 0
  280. allowframeloss = false
  281. tossremainder = false
  282. lastframe = tick()
  283. script.ArtificialHB:Fire()
  284.  
  285. game:GetService("RunService").Heartbeat:connect(function(s, p)
  286. tf = tf + s
  287. if tf >= frame then
  288. if allowframeloss then
  289. script.ArtificialHB:Fire()
  290. lastframe = tick()
  291. else
  292. for i = 1, math.floor(tf / frame) do
  293. script.ArtificialHB:Fire()
  294. end
  295. lastframe = tick()
  296. end
  297. if tossremainder then
  298. tf = 0
  299. else
  300. tf = tf - frame * math.floor(tf / frame)
  301. end
  302. end
  303. end)
  304.  
  305. --//=================================\\
  306. --\\=================================//
  307.  
  308.  
  309.  
  310.  
  311.  
  312. --//=================================\\
  313. --|| SOME FUNCTIONS
  314. --\\=================================//
  315.  
  316. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  317. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  318. end
  319.  
  320. function PositiveAngle(NUMBER)
  321. if NUMBER >= 0 then
  322. NUMBER = 0
  323. end
  324. return NUMBER
  325. end
  326.  
  327. function NegativeAngle(NUMBER)
  328. if NUMBER <= 0 then
  329. NUMBER = 0
  330. end
  331. return NUMBER
  332. end
  333.  
  334. function Swait(NUMBER)
  335. if NUMBER == 0 or NUMBER == nil then
  336. ArtificialHB.Event:wait()
  337. else
  338. for i = 1, NUMBER do
  339. ArtificialHB.Event:wait()
  340. end
  341. end
  342. end
  343.  
  344. function QuaternionFromCFrame(cf)
  345. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  346. local trace = m00 + m11 + m22
  347. if trace > 0 then
  348. local s = math.sqrt(1 + trace)
  349. local recip = 0.5 / s
  350. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  351. else
  352. local i = 0
  353. if m11 > m00 then
  354. i = 1
  355. end
  356. if m22 > (i == 0 and m00 or m11) then
  357. i = 2
  358. end
  359. if i == 0 then
  360. local s = math.sqrt(m00 - m11 - m22 + 1)
  361. local recip = 0.5 / s
  362. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  363. elseif i == 1 then
  364. local s = math.sqrt(m11 - m22 - m00 + 1)
  365. local recip = 0.5 / s
  366. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  367. elseif i == 2 then
  368. local s = math.sqrt(m22 - m00 - m11 + 1)
  369. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  370. end
  371. end
  372. end
  373.  
  374. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  375. local xs, ys, zs = x + x, y + y, z + z
  376. local wx, wy, wz = w * xs, w * ys, w * zs
  377. local xx = x * xs
  378. local xy = x * ys
  379. local xz = x * zs
  380. local yy = y * ys
  381. local yz = y * zs
  382. local zz = z * zs
  383. 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))
  384. end
  385.  
  386. function QuaternionSlerp(a, b, t)
  387. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  388. local startInterp, finishInterp;
  389. if cosTheta >= 0.0001 then
  390. if (1 - cosTheta) > 0.0001 then
  391. local theta = ACOS(cosTheta)
  392. local invSinTheta = 1 / SIN(theta)
  393. startInterp = SIN((1 - t) * theta) * invSinTheta
  394. finishInterp = SIN(t * theta) * invSinTheta
  395. else
  396. startInterp = 1 - t
  397. finishInterp = t
  398. end
  399. else
  400. if (1 + cosTheta) > 0.0001 then
  401. local theta = ACOS(-cosTheta)
  402. local invSinTheta = 1 / SIN(theta)
  403. startInterp = SIN((t - 1) * theta) * invSinTheta
  404. finishInterp = SIN(t * theta) * invSinTheta
  405. else
  406. startInterp = t - 1
  407. finishInterp = t
  408. end
  409. end
  410. 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
  411. end
  412.  
  413. function Clerp(a, b, t)
  414. local qa = {QuaternionFromCFrame(a)}
  415. local qb = {QuaternionFromCFrame(b)}
  416. local ax, ay, az = a.x, a.y, a.z
  417. local bx, by, bz = b.x, b.y, b.z
  418. local _t = 1 - t
  419. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  420. end
  421.  
  422. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  423. local frame = IT("Frame")
  424. frame.BackgroundTransparency = TRANSPARENCY
  425. frame.BorderSizePixel = BORDERSIZEPIXEL
  426. frame.Position = POSITION
  427. frame.Size = SIZE
  428. frame.BackgroundColor3 = COLOR
  429. frame.BorderColor3 = BORDERCOLOR
  430. frame.Name = NAME
  431. frame.Parent = PARENT
  432. return frame
  433. end
  434.  
  435. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  436. local label = IT("TextLabel")
  437. label.BackgroundTransparency = 1
  438. label.Size = UD2(1, 0, 1, 0)
  439. label.Position = UD2(0, 0, 0, 0)
  440. label.TextColor3 = TEXTCOLOR
  441. label.TextStrokeTransparency = STROKETRANSPARENCY
  442. label.TextTransparency = TRANSPARENCY
  443. label.FontSize = TEXTFONTSIZE
  444. label.Font = TEXTFONT
  445. label.BorderSizePixel = BORDERSIZEPIXEL
  446. label.TextScaled = false
  447. label.Text = TEXT
  448. label.Name = NAME
  449. label.Parent = PARENT
  450. return label
  451. end
  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.  
  458. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  459. local NEWWELD = IT(TYPE)
  460. NEWWELD.Part0 = PART0
  461. NEWWELD.Part1 = PART1
  462. NEWWELD.C0 = C0
  463. NEWWELD.C1 = C1
  464. NEWWELD.Parent = PARENT
  465. return NEWWELD
  466. end
  467.  
  468. function CreateSound(ID, PARENT, VOLUME, PITCH)
  469. local NEWSOUND = nil
  470. coroutine.resume(coroutine.create(function()
  471. NEWSOUND = IT("Sound", PARENT)
  472. NEWSOUND.Volume = VOLUME
  473. NEWSOUND.Pitch = PITCH
  474. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  475. Swait()
  476. NEWSOUND:play()
  477. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  478. end))
  479. return NEWSOUND
  480. end
  481.  
  482. function CFrameFromTopBack(at, top, back)
  483. local right = top:Cross(back)
  484. 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)
  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. --//=================================\\
  500. --|| DAMAGING
  501. --\\=================================//
  502.  
  503. local asd = Instance.new("ParticleEmitter")
  504. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  505. asd.LightEmission = .1
  506. asd.Size = NumberSequence.new(0.2)
  507. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  508. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  509. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  510. asd.Transparency = bbb
  511. asd.Size = aaa
  512. asd.ZOffset = .9
  513. asd.Acceleration = Vector3.new(0, -5, 0)
  514. asd.LockedToPart = false
  515. asd.EmissionDirection = "Back"
  516. asd.Lifetime = NumberRange.new(1, 2)
  517. asd.Rotation = NumberRange.new(-100, 100)
  518. asd.RotSpeed = NumberRange.new(-100, 100)
  519. asd.Speed = NumberRange.new(2)
  520. asd.Enabled = false
  521. asd.VelocitySpread = 10000
  522.  
  523. function getbloody(victim,amount)
  524. local prtcl = asd:Clone()
  525. prtcl.Parent = victim
  526. prtcl:Emit(amount)
  527. end
  528.  
  529. local TORSOVELOCITY = 0
  530.  
  531. function Ragdoll(Character2,CharTorso)
  532. local svch = Character2
  533. local hum = Character2:findFirstChild("Humanoid")
  534. local q = Character2:GetChildren()
  535. local CLONE = IT("Model",Effects)
  536. local DummyHead = nil
  537. for i = 1,#q do
  538. if q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Accessory" and q[i].ClassName ~= "Hat" and q[i].ClassName ~= "Gear" then
  539. q[i].Parent = CLONE
  540. if q[i].Name == "Head" then
  541. DummyHead = CLONE.Head:Clone()
  542. q[i]:ClearAllChildren()
  543. q[i].Transparency = 1
  544. end
  545. else
  546. if q[i].ClassName ~= "Humanoid" then
  547. q[i]:remove()
  548. end
  549. end
  550. end
  551. local chrclone = CLONE
  552.  
  553. for _, c in pairs(Character2:GetChildren()) do
  554. if c.ClassName == "Accessory" then
  555. c:remove()
  556. end
  557. end
  558.  
  559. local ch = chrclone:GetChildren()
  560. local i
  561. for i = 1,#ch do
  562. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  563. ch[i]:remove()
  564. end
  565. end
  566. local function Scan(ch)
  567. local e
  568. for e = 1,#ch do
  569. Scan(ch[e]:GetChildren())
  570. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  571. ch[e]:remove()
  572. end
  573. end
  574. end
  575. Scan(chrclone:GetChildren())
  576.  
  577. local ch = Character2:GetChildren()
  578. local i
  579. for i = 1,#ch do
  580. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  581. ch[i]:remove()
  582. end
  583. end
  584.  
  585. local ch = Character2:GetChildren()
  586. local i
  587. for i = 1,#ch do
  588. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  589. ch[i]:remove()
  590. end
  591. end
  592. Character2 = chrclone
  593. local Torso2 = Character2.Torso
  594. local movevector = Vector3.new()
  595.  
  596. if Torso2 then
  597. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  598. local Head = Character2:FindFirstChild("Head")
  599. if Head then
  600. local Neck = Instance.new("Weld")
  601. Neck.Name = "Neck"
  602. Neck.Part0 = Torso2
  603. Neck.Part1 = Head
  604. Neck.C0 = CFrame.new(0, 1.5, 0)
  605. Neck.C1 = CFrame.new()
  606. Neck.Parent = Torso2
  607. Head:ClearAllChildren()
  608. Head.Transparency = 1
  609.  
  610. end
  611. local Limb = Character2:FindFirstChild("Right Arm")
  612. if Limb then
  613.  
  614. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  615. local Joint = Instance.new("Glue")
  616. Joint.Name = "RightShoulder"
  617. Joint.Part0 = Torso2
  618. Joint.Part1 = Limb
  619. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  620. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  621. Joint.Parent = Torso2
  622.  
  623. local B = Instance.new("Part")
  624. B.TopSurface = 0
  625. B.BottomSurface = 0
  626. B.formFactor = "Symmetric"
  627. B.Size = Vector3.new(1, 1, 1)
  628. B.Transparency = 1
  629. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  630. B.Parent = Character2
  631. local W = Instance.new("Weld")
  632. W.Part0 = Limb
  633. W.Part1 = B
  634. W.C0 = CFrame.new(0, -0.5, 0)
  635. W.Parent = Limb
  636.  
  637. end
  638. local Limb = Character2:FindFirstChild("Left Arm")
  639. if Limb then
  640.  
  641. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  642. local Joint = Instance.new("Glue")
  643. Joint.Name = "LeftShoulder"
  644. Joint.Part0 = Torso2
  645. Joint.Part1 = Limb
  646. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  647. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  648. Joint.Parent = Torso2
  649.  
  650. local B = Instance.new("Part")
  651. B.TopSurface = 0
  652. B.BottomSurface = 0
  653. B.formFactor = "Symmetric"
  654. B.Size = Vector3.new(1, 1, 1)
  655. B.Transparency = 1
  656. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  657. B.Parent = Character2
  658. local W = Instance.new("Weld")
  659. W.Part0 = Limb
  660. W.Part1 = B
  661. W.C0 = CFrame.new(0, -0.5, 0)
  662. W.Parent = Limb
  663.  
  664. end
  665. local Limb = Character2:FindFirstChild("Right Leg")
  666. if Limb then
  667.  
  668. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  669. local Joint = Instance.new("Glue")
  670. Joint.Name = "RightHip"
  671. Joint.Part0 = Torso2
  672. Joint.Part1 = Limb
  673. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  674. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  675. Joint.Parent = Torso2
  676.  
  677. local B = Instance.new("Part")
  678. B.TopSurface = 0
  679. B.BottomSurface = 0
  680. B.formFactor = "Symmetric"
  681. B.Size = Vector3.new(1, 1, 1)
  682. B.Transparency = 1
  683. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  684. B.Parent = Character2
  685. local W = Instance.new("Weld")
  686. W.Part0 = Limb
  687. W.Part1 = B
  688. W.C0 = CFrame.new(0, -0.5, 0)
  689. W.Parent = Limb
  690.  
  691. end
  692. local Limb = Character2:FindFirstChild("Left Leg")
  693. if Limb then
  694.  
  695. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  696. local Joint = Instance.new("Glue")
  697. Joint.Name = "LeftHip"
  698. Joint.Part0 = Torso2
  699. Joint.Part1 = Limb
  700. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  701. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  702. Joint.Parent = Torso2
  703.  
  704. local B = Instance.new("Part")
  705. B.TopSurface = 0
  706. B.BottomSurface = 0
  707. B.formFactor = "Symmetric"
  708. B.Size = Vector3.new(1, 1, 1)
  709. B.Transparency = 1
  710. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  711. B.Parent = Character2
  712. local W = Instance.new("Weld")
  713. W.Part0 = Limb
  714. W.Part1 = B
  715. W.C0 = CFrame.new(0, -0.5, 0)
  716. W.Parent = Limb
  717.  
  718. end
  719. --[
  720. local Bar = Instance.new("Part")
  721. Bar.TopSurface = 0
  722. Bar.BottomSurface = 0
  723. Bar.formFactor = "Symmetric"
  724. Bar.Size = Vector3.new(1, 1, 1)
  725. Bar.Transparency = 1
  726. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  727. Bar.Parent = Character2
  728. local Weld = Instance.new("Weld")
  729. Weld.Part0 = Torso2
  730. Weld.Part1 = Bar
  731. Weld.C0 = CFrame.new(0, 0.5, 0)
  732. Weld.Parent = Torso2
  733. --]]
  734. end
  735. Character2.Parent = Weapon
  736. if movevector ~= Vector3.new() then
  737. for i = 1,10 do
  738. Torso2.Velocity = movevector * 50
  739. end
  740. end
  741. DummyHead.Name = "FakeHead"
  742. DummyHead.Parent = CLONE
  743. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  744. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  745. MakeForm(BLOOD,"Cyl")
  746. weldBetween(DummyHead,BLOOD)
  747. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  748. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  749. MakeForm(BLOOD,"Cyl")
  750. weldBetween(Torso2,BLOOD)
  751. Character2.Name = "Corpse"
  752. local hum2 = svch:findFirstChild("Humanoid")
  753.  
  754. return Character2,Torso2,DummyHead
  755. end
  756.  
  757.  
  758. function Kill(Target)
  759. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  760. Target:BreakJoints()
  761. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  762. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  763. getbloody(DummyHead,45)
  764. if TORS2 ~= nil then
  765. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  766. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  767. local HUM = IT("Humanoid")
  768. HUM.MaxHealth = 0
  769. HUM.Health = 0
  770. HUM.Name = "CorpseHumanoid"
  771. HUM.PlatformStand = true
  772. HUM.Parent = CLONE
  773. KILLINSTINCT = KILLINSTINCT + 20
  774. TORS2.CFrame = CFRAME
  775. coroutine.resume(coroutine.create(function()
  776. for i = 1, 450 do
  777. wait()
  778. end
  779. CLONE:Remove()
  780. end))
  781. end
  782. end
  783. end
  784.  
  785. --//=================================\\
  786. --|| ATTACK FUNCTIONS AND STUFF
  787. --\\=================================//
  788.  
  789. function Swing()
  790. ATTACK = true
  791. Rooted = false
  792. for i=0, 1, 0.3 / Animation_Speed do
  793. Swait()
  794. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  795. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  796. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  797. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  798. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  799. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  800. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  801. end
  802. Trail.Enabled = true
  803. HandlePart.CanCollide = true
  804. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  805. local HIT = HandlePart.Touched:Connect(function(hit)
  806. Kill(hit.Parent)
  807. end)
  808. for i=0, 0.8, 0.1 / Animation_Speed do
  809. Swait()
  810. if Speed == 25 and TORSOVELOCITY > 0.3 then
  811. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  812. end
  813. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.7 / Animation_Speed)
  814. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.7 / Animation_Speed)
  815. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.7) * ANGLES(RAD(15), RAD(0), RAD(90)) * ANGLES(RAD(140), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  816. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  817. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  818. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  819. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(25), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  820. end
  821. Trail.Enabled = false
  822. HandlePart.CanCollide = false
  823. HIT:disconnect()
  824. ATTACK = false
  825. Rooted = false
  826. end
  827.  
  828. function Laugh()
  829. ATTACK = true
  830. Rooted = true
  831. CreateSound("565208983", Torso, 6, 1)
  832. for i=0, 3.5, 0.1 / Animation_Speed do
  833. Swait()
  834. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  835. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  836. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.35 * COS(SINE / 2), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  837. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  838. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  839. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.35 * COS(SINE / 2), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  840. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  841. end
  842. ATTACK = false
  843. Rooted = false
  844. end
  845.  
  846. Debris = game:GetService("Debris")
  847. --//=================================\\
  848. --|| WEAPON CREATION
  849. --\\=================================//
  850. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 4, 1.61),false)
  851. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "2371351277", "2371351296", VT(2, 2, 2), VT(-1.5, 2, -2))
  852. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  853.  
  854. local DECAL = IT("Decal",HandlePart)
  855. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  856.  
  857. for _, c in pairs(Weapon:GetChildren()) do
  858. if c.ClassName == "Part" then
  859. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  860. end
  861. end
  862.  
  863. local A = IT("Attachment",HandlePart)
  864. A.Position = VT(0, -1.5, 0)
  865. local B = IT("Attachment",HandlePart)
  866. B.Position = VT(0, 2.2, 0.2)
  867. local Trail = IT("Trail",HandlePart)
  868. Trail.Attachment0 = A
  869. Trail.Attachment1 = B
  870. Trail.Lifetime = 0.1
  871. Trail.Transparency = NumberSequence.new(0.8, 1)
  872. Trail.Enabled = false
  873.  
  874. Weapon.Parent = Character
  875.  
  876. Humanoid.Died:connect(function()
  877. ATTACK = true
  878. end)
  879.  
  880. getbloody(Head,45)
  881. Laugh()
  882. sick:Play()
  883. --//=================================\\
  884. --|| ASSIGN THINGS TO KEYS
  885. --\\=================================//
  886.  
  887. function MouseDown(Mouse)
  888. if ATTACK == false then
  889. Swing()
  890. end
  891. end
  892.  
  893. function MouseUp(Mouse)
  894. HOLD = false
  895. end
  896.  
  897. function KeyDown(Key)
  898. KEYHOLD = true
  899. end
  900.  
  901. function KeyUp(Key)
  902. KEYHOLD = false
  903. end
  904.  
  905. Mouse.Button1Down:connect(function(NEWKEY)
  906. MouseDown(NEWKEY)
  907. end)
  908. Mouse.Button1Up:connect(function(NEWKEY)
  909. MouseUp(NEWKEY)
  910. end)
  911. Mouse.KeyDown:connect(function(NEWKEY)
  912. KeyDown(NEWKEY)
  913. end)
  914. Mouse.KeyUp:connect(function(NEWKEY)
  915. KeyUp(NEWKEY)
  916. end)
  917.  
  918. --//=================================\\
  919. --\\=================================//
  920.  
  921.  
  922. function unanchor()
  923. if UNANCHOR == true then
  924. g = Character:GetChildren()
  925. for i = 1, #g do
  926. if g[i].ClassName == "Part" then
  927. g[i].Anchored = false
  928. end
  929. end
  930. end
  931. end
  932.  
  933.  
  934. --//=================================\\
  935. --|| WRAP THE WHOLE SCRIPT UP
  936. --\\=================================//
  937.  
  938. Humanoid.Changed:connect(function(Jump)
  939. if Jump == "Jump" and (Disable_Jump == true) then
  940. Humanoid.Jump = false
  941. end
  942. end)
  943.  
  944. Speed = 20
  945.  
  946. while true do
  947. ANIMATE.Parent = nil
  948. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  949. IDLEANIMATION:Play()
  950. SINE = SINE + CHANGE
  951. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  952. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  953. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  954. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  955. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 8)
  956. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  957. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 8) / Animation_Speed)
  958. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.2 * (Humanoid.WalkSpeed / 8) / Animation_Speed)
  959. 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 / 8) / Animation_Speed)
  960. 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 / 8) / Animation_Speed)
  961. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  962. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  963. 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)
  964. 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)
  965. 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)
  966. end
  967. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  968. ANIM = "Jump"
  969. if ATTACK == false then
  970. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  971. 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)
  972. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  973. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  974. 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)
  975. 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)
  976. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  977. end
  978. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  979. ANIM = "Fall"
  980. if ATTACK == false then
  981. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  982. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  983. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  984. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  985. 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)
  986. 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)
  987. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  988. end
  989. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  990. ANIM = "Idle"
  991. if ATTACK == false then
  992. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  993. if VALUE1 == false then
  994. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  995. end
  996. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  997. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  998. RightHip.C0 = Clerp(RightHip.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)), 0.15 / Animation_Speed)
  999. 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)), 0.15 / Animation_Speed)
  1000. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1001. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1002. coroutine.resume(coroutine.create(function()
  1003. VALUE1 = true
  1004. for i = 1, 25 do
  1005. Swait()
  1006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1007. end
  1008. VALUE1 = false
  1009. end))
  1010. end
  1011. end
  1012. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1013. ANIM = "Walk"
  1014. WALK = WALK + 1 / Animation_Speed
  1015. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 8 / Player_Size)) then
  1016. WALK = 0
  1017. if WALKINGANIM == true then
  1018. WALKINGANIM = false
  1019. elseif WALKINGANIM == false then
  1020. WALKINGANIM = true
  1021. end
  1022. end
  1023. --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 / 8) / Animation_Speed)
  1024. --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 / 8) / Animation_Speed)
  1025. if ATTACK == false then
  1026. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE/2))) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1027. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 0 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(25), RAD(0)), 0.15 / Animation_Speed)
  1028. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35 - 0.15 * COS(SINE / (WALKSPEEDVALUE / 2)), 0) * ANGLES(RAD(-20), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1029. 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)
  1030. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1031. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1032. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.75 + 0.3 * COS(SINE / (WALKSPEEDVALUE/2)), 0) * ANGLES(RAD(-145), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1033. end
  1034. end
  1035. unanchor()
  1036. Humanoid.MaxHealth = "inf"
  1037. Humanoid.Health = "inf"
  1038. if Rooted == false then
  1039. Disable_Jump = false
  1040. Humanoid.WalkSpeed = Speed
  1041. elseif Rooted == true then
  1042. Disable_Jump = true
  1043. Humanoid.WalkSpeed = 0
  1044. end
  1045. if KILLINSTINCT > 0 then
  1046. KILLINSTINCT = KILLINSTINCT - 0.1
  1047. end
  1048. if Head:FindFirstChild("face") then
  1049. end
  1050. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1051. local MATHS = {"0","1"}
  1052. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)].."P"..MATHS[MRANDOM(1,#MATHS)].."S"..MATHS[MRANDOM(1,#MATHS)].."Y"..MATHS[MRANDOM(1,#MATHS)].."C"..MATHS[MRANDOM(1,#MATHS)].."H"..MATHS[MRANDOM(1,#MATHS)].."O"..MATHS[MRANDOM(1,#MATHS)]
  1053. Humanoid.PlatformStand = false
  1054. script.Name = Humanoid.Name
  1055. if math.random(1,70-Speed) == 1 then
  1056. tecks2.Text = "FAILURE"
  1057. elseif math.random(1,70-Speed) == 2 then
  1058. tecks2.Text = "Die!"
  1059. elseif math.random(1,70-Speed) == 3 then
  1060. tecks2.Text = "WORTHLESS"
  1061. else
  1062. if KILLINSTINCT > 0 then
  1063. if KILLINSTINCT < 100 then
  1064. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1065. tecks2.Text = "HA AH AHA HA HA HA HA"
  1066. else
  1067. tecks2.Text = "My revenge won't be stopped."
  1068. end
  1069. elseif KILLINSTINCT >= 100 then
  1070. if MRANDOM(1,5) == 1 then
  1071. tecks2.Text = "The Sparta was waiting for this fight"
  1072. end
  1073. else
  1074. tecks2.Text = "Burn in hell!"
  1075. end
  1076. else
  1077. tecks2.Text = "My revenge is not done yet"
  1078. end
  1079. end
  1080. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1081. Swait()
  1082. if Head:FindFirstChildOfClass("Sound") then
  1083. Head:FindFirstChildOfClass("Sound"):remove()
  1084. end
  1085. if KILLINSTINCT > 100 then
  1086. KILLINSTINCT = 100
  1087. end
  1088. sick.Parent = Character
  1089. script.Parent = PlayerGui
  1090. end
  1091.  
  1092. --//=================================\\
  1093. --\\=================================//
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. --//====================================================\\--
  1100. --|| END OF SCRIPT
  1101. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement