Advertisement
doryna2281337

Untitled

Nov 1st, 2019
200
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. Debris = game:GetService("Debris")
  500. --//=================================\\
  501. --|| WEAPON CREATION
  502. --\\=================================//
  503. for _, c in pairs(Weapon:GetChildren()) do
  504. if c.ClassName == "Part" then
  505. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  506. end
  507. end
  508.  
  509. local A = IT("Attachment",HandlePart)
  510. A.Position = VT(0, -1.5, 0)
  511. local B = IT("Attachment",HandlePart)
  512. B.Position = VT(0, 2.2, 0.2)
  513. local Trail = IT("Trail",HandlePart)
  514. Trail.Attachment0 = A
  515. Trail.Attachment1 = B
  516. Trail.Lifetime = 0.1
  517. Trail.Transparency = NumberSequence.new(0.8, 1)
  518. Trail.Enabled = false
  519.  
  520. Weapon.Parent = Character
  521.  
  522. Humanoid.Died:connect(function()
  523. ATTACK = true
  524. end)
  525. --//=================================\\
  526. --|| DAMAGING
  527. --\\=================================//
  528.  
  529. local asd = Instance.new("ParticleEmitter")
  530. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.1, 0, 0))
  531. asd.LightEmission = .1
  532. asd.Size = NumberSequence.new(0.2)
  533. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  534. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  535. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  536. asd.Transparency = bbb
  537. asd.Size = aaa
  538. asd.ZOffset = .9
  539. asd.Acceleration = Vector3.new(0, -5, 0)
  540. asd.LockedToPart = false
  541. asd.EmissionDirection = "Back"
  542. asd.Lifetime = NumberRange.new(1, 2)
  543. asd.Rotation = NumberRange.new(-100, 100)
  544. asd.RotSpeed = NumberRange.new(-100, 100)
  545. asd.Speed = NumberRange.new(2)
  546. asd.Enabled = false
  547. asd.VelocitySpread = 10000
  548.  
  549. function getbloody(victim,amount)
  550. local prtcl = asd:Clone()
  551. prtcl.Parent = victim
  552. prtcl:Emit(amount)
  553. end
  554.  
  555. local TORSOVELOCITY = 0
  556.  
  557. function Ragdoll(Character2,CharTorso)
  558. local svch = Character2
  559. local hum = Character2:findFirstChild("Humanoid")
  560. local q = Character2:GetChildren()
  561. local CLONE = IT("Model",Effects)
  562. local DummyHead = nil
  563. for i = 1,#q do
  564. 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
  565. q[i].Parent = CLONE
  566. if q[i].Name == "Head" then
  567. DummyHead = CLONE.Head:Clone()
  568. q[i]:ClearAllChildren()
  569. q[i].Transparency = 1
  570. end
  571. else
  572. if q[i].ClassName ~= "Humanoid" then
  573. q[i]:remove()
  574. end
  575. end
  576. end
  577. local chrclone = CLONE
  578.  
  579. for _, c in pairs(Character2:GetChildren()) do
  580. if c.ClassName == "Accessory" then
  581. c:remove()
  582. end
  583. end
  584.  
  585. local ch = chrclone:GetChildren()
  586. local i
  587. for i = 1,#ch do
  588. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  589. ch[i]:remove()
  590. end
  591. end
  592. local function Scan(ch)
  593. local e
  594. for e = 1,#ch do
  595. Scan(ch[e]:GetChildren())
  596. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  597. ch[e]:remove()
  598. end
  599. end
  600. end
  601. Scan(chrclone:GetChildren())
  602.  
  603. local ch = Character2:GetChildren()
  604. local i
  605. for i = 1,#ch do
  606. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  607. ch[i]:remove()
  608. end
  609. end
  610.  
  611. local ch = Character2:GetChildren()
  612. local i
  613. for i = 1,#ch do
  614. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  615. ch[i]:remove()
  616. end
  617. end
  618. Character2 = chrclone
  619. local Torso2 = Character2.Torso
  620. local movevector = Vector3.new()
  621.  
  622. if Torso2 then
  623. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  624. local Head = Character2:FindFirstChild("Head")
  625. if Head then
  626. local Neck = Instance.new("Weld")
  627. Neck.Name = "Neck"
  628. Neck.Part0 = Torso2
  629. Neck.Part1 = Head
  630. Neck.C0 = CFrame.new(0, 1.5, 0)
  631. Neck.C1 = CFrame.new()
  632. Neck.Parent = Torso2
  633. Head:ClearAllChildren()
  634. Head.Transparency = 1
  635.  
  636. end
  637. local Limb = Character2:FindFirstChild("Right Arm")
  638. if Limb then
  639.  
  640. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  641. local Joint = Instance.new("Glue")
  642. Joint.Name = "RightShoulder"
  643. Joint.Part0 = Torso2
  644. Joint.Part1 = Limb
  645. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  646. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  647. Joint.Parent = Torso2
  648.  
  649. local B = Instance.new("Part")
  650. B.TopSurface = 0
  651. B.BottomSurface = 0
  652. B.formFactor = "Symmetric"
  653. B.Size = Vector3.new(1, 1, 1)
  654. B.Transparency = 1
  655. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  656. B.Parent = Character2
  657. local W = Instance.new("Weld")
  658. W.Part0 = Limb
  659. W.Part1 = B
  660. W.C0 = CFrame.new(0, -0.5, 0)
  661. W.Parent = Limb
  662.  
  663. end
  664. local Limb = Character2:FindFirstChild("Left Arm")
  665. if Limb then
  666.  
  667. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  668. local Joint = Instance.new("Glue")
  669. Joint.Name = "LeftShoulder"
  670. Joint.Part0 = Torso2
  671. Joint.Part1 = Limb
  672. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  673. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  674. Joint.Parent = Torso2
  675.  
  676. local B = Instance.new("Part")
  677. B.TopSurface = 0
  678. B.BottomSurface = 0
  679. B.formFactor = "Symmetric"
  680. B.Size = Vector3.new(1, 1, 1)
  681. B.Transparency = 1
  682. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  683. B.Parent = Character2
  684. local W = Instance.new("Weld")
  685. W.Part0 = Limb
  686. W.Part1 = B
  687. W.C0 = CFrame.new(0, -0.5, 0)
  688. W.Parent = Limb
  689.  
  690. end
  691. local Limb = Character2:FindFirstChild("Right Leg")
  692. if Limb then
  693.  
  694. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  695. local Joint = Instance.new("Glue")
  696. Joint.Name = "RightHip"
  697. Joint.Part0 = Torso2
  698. Joint.Part1 = Limb
  699. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  700. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  701. Joint.Parent = Torso2
  702.  
  703. local B = Instance.new("Part")
  704. B.TopSurface = 0
  705. B.BottomSurface = 0
  706. B.formFactor = "Symmetric"
  707. B.Size = Vector3.new(1, 1, 1)
  708. B.Transparency = 1
  709. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  710. B.Parent = Character2
  711. local W = Instance.new("Weld")
  712. W.Part0 = Limb
  713. W.Part1 = B
  714. W.C0 = CFrame.new(0, -0.5, 0)
  715. W.Parent = Limb
  716.  
  717. end
  718. local Limb = Character2:FindFirstChild("Left Leg")
  719. if Limb then
  720.  
  721. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  722. local Joint = Instance.new("Glue")
  723. Joint.Name = "LeftHip"
  724. Joint.Part0 = Torso2
  725. Joint.Part1 = Limb
  726. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  727. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  728. Joint.Parent = Torso2
  729.  
  730. local B = Instance.new("Part")
  731. B.TopSurface = 0
  732. B.BottomSurface = 0
  733. B.formFactor = "Symmetric"
  734. B.Size = Vector3.new(1, 1, 1)
  735. B.Transparency = 1
  736. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  737. B.Parent = Character2
  738. local W = Instance.new("Weld")
  739. W.Part0 = Limb
  740. W.Part1 = B
  741. W.C0 = CFrame.new(0, -0.5, 0)
  742. W.Parent = Limb
  743.  
  744. end
  745. --[
  746. local Bar = Instance.new("Part")
  747. Bar.TopSurface = 0
  748. Bar.BottomSurface = 0
  749. Bar.formFactor = "Symmetric"
  750. Bar.Size = Vector3.new(1, 1, 1)
  751. Bar.Transparency = 1
  752. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  753. Bar.Parent = Character2
  754. local Weld = Instance.new("Weld")
  755. Weld.Part0 = Torso2
  756. Weld.Part1 = Bar
  757. Weld.C0 = CFrame.new(0, 0.5, 0)
  758. Weld.Parent = Torso2
  759. --]]
  760. end
  761. Character2.Parent = Weapon
  762. if movevector ~= Vector3.new() then
  763. for i = 1,10 do
  764. Torso2.Velocity = movevector * 50
  765. end
  766. end
  767. DummyHead.Name = "FakeHead"
  768. DummyHead.Parent = CLONE
  769. local BLOOD = CreatePart(3, DummyHead, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.25,0.65),false)
  770. BLOOD.CFrame = DummyHead.CFrame*CF(0,-DummyHead.Size.Y/2,0)
  771. MakeForm(BLOOD,"Cyl")
  772. weldBetween(DummyHead,BLOOD)
  773. local BLOOD = CreatePart(3, Torso2, "Glass", 0, 0, "Maroon", "Blood", VT(0.65,0.2,0.65),false)
  774. BLOOD.CFrame = Torso2.CFrame*CF(0,Torso2.Size.Y/2,0)
  775. MakeForm(BLOOD,"Cyl")
  776. weldBetween(Torso2,BLOOD)
  777. Character2.Name = "Corpse"
  778. local hum2 = svch:findFirstChild("Humanoid")
  779.  
  780. return Character2,Torso2,DummyHead
  781. end
  782.  
  783.  
  784. function Kill(Target)
  785. if Target.Parent ~= Weapon and Target:FindFirstChildOfClass("Humanoid") then
  786. Target:BreakJoints()
  787. local CFRAME = Target:FindFirstChild("Torso").CFrame or Target:FindFirstChild("UpperTorso")
  788. local CLONE,TORS2,DummyHead = Ragdoll(Target,Torso)
  789. getbloody(DummyHead,45)
  790. if TORS2 ~= nil then
  791. CreateSound("185688060", TORS2, 10, (math.random(8,12)/10))
  792. CreateSound("337800380", DummyHead, 5, (math.random(8,18)/10))
  793. local HUM = IT("Humanoid")
  794. HUM.MaxHealth = 0
  795. HUM.Health = 0
  796. HUM.Name = "CorpseHumanoid"
  797. HUM.PlatformStand = true
  798. HUM.Parent = CLONE
  799. KILLINSTINCT = KILLINSTINCT + 20
  800. TORS2.CFrame = CFRAME
  801. coroutine.resume(coroutine.create(function()
  802. for i = 1, 450 do
  803. wait()
  804. end
  805. CLONE:Remove()
  806. end))
  807. end
  808. end
  809. end
  810.  
  811. --//=================================\\
  812. --|| ATTACK FUNCTIONS AND STUFF
  813. --\\=================================//
  814.  
  815. function Swing()
  816. ATTACK = true
  817. Rooted = false
  818. for i=0, 1, 0.3 / Animation_Speed do
  819. Swait()
  820. 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)
  821. 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)
  822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  824. 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)
  825. 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)
  826. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(180)), 0.5 / Animation_Speed)
  827. end
  828. Trail.Enabled = true
  829. HandlePart.CanCollide = true
  830. CreateSound("185687991", HandlePart, 1, (math.random(8,12)/10))
  831. local HIT = HandlePart.Touched:Connect(function(hit)
  832. Kill(hit.Parent)
  833. end)
  834. for i=0, 0.8, 0.1 / Animation_Speed do
  835. Swait()
  836. if Speed == 25 and TORSOVELOCITY > 0.3 then
  837. RootPart.CFrame = RootPart.CFrame * CF(0,0,-1)
  838. end
  839. 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)
  840. 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)
  841. 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)
  842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  843. 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)
  844. 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)
  845. 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)
  846. end
  847. Trail.Enabled = false
  848. HandlePart.CanCollide = false
  849. HIT:disconnect()
  850. ATTACK = false
  851. Rooted = false
  852. end
  853.  
  854. function Laugh()
  855. ATTACK = true
  856. Rooted = true
  857. CreateSound("565208983", Torso, 6, 1)
  858. for i=0, 3.5, 0.1 / Animation_Speed do
  859. Swait()
  860. 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)
  861. 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)
  862. 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)
  863. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  864. 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)
  865. 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)
  866. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  867. end
  868. ATTACK = false
  869. Rooted = false
  870. end
  871.  
  872. --//=================================\\
  873. --|| ASSIGN THINGS TO KEYS
  874. --\\=================================//
  875.  
  876. function MouseDown(Mouse)
  877. if ATTACK == false then
  878. Swing()
  879. end
  880. end
  881.  
  882. function MouseUp(Mouse)
  883. HOLD = false
  884. end
  885.  
  886. function KeyDown(Key)
  887. KEYHOLD = true
  888. if Key == "t" and ATTACK == false then
  889. getbloody(Head,45)
  890. Laugh()
  891. sick:Play()
  892. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0.2, 4, 1.61),false)
  893. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "2371351277", "2371351296", VT(2, 2, 2), VT(-1.5, 2, -2))
  894. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", HandlePart, RightArm, HandlePart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  895.  
  896. local DECAL = IT("Decal",HandlePart)
  897. DECAL.Texture = "http://www.roblox.com/asset/?id=116830967"
  898.  
  899. if Speed == 20 then
  900. Speed = 10
  901. end
  902. end
  903. end
  904.  
  905. function KeyUp(Key)
  906. KEYHOLD = false
  907. end
  908.  
  909. Mouse.Button1Down:connect(function(NEWKEY)
  910. MouseDown(NEWKEY)
  911. end)
  912. Mouse.Button1Up:connect(function(NEWKEY)
  913. MouseUp(NEWKEY)
  914. end)
  915. Mouse.KeyDown:connect(function(NEWKEY)
  916. KeyDown(NEWKEY)
  917. end)
  918. Mouse.KeyUp:connect(function(NEWKEY)
  919. KeyUp(NEWKEY)
  920. end)
  921.  
  922. --//=================================\\
  923. --\\=================================//
  924.  
  925.  
  926. function unanchor()
  927. if UNANCHOR == true then
  928. g = Character:GetChildren()
  929. for i = 1, #g do
  930. if g[i].ClassName == "Part" then
  931. g[i].Anchored = false
  932. end
  933. end
  934. end
  935. end
  936.  
  937.  
  938. --//=================================\\
  939. --|| WRAP THE WHOLE SCRIPT UP
  940. --\\=================================//
  941.  
  942. Humanoid.Changed:connect(function(Jump)
  943. if Jump == "Jump" and (Disable_Jump == true) then
  944. Humanoid.Jump = false
  945. end
  946. end)
  947.  
  948. Speed = 20
  949.  
  950. while true do
  951. ANIMATE.Parent = nil
  952. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  953. IDLEANIMATION:Play()
  954. SINE = SINE + CHANGE
  955. TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  956. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  957. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  958. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  959. local WALKSPEEDVALUE = 8 / (Humanoid.WalkSpeed / 8)
  960. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  961. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 8) / Animation_Speed)
  962. 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)
  963. 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)
  964. 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)
  965. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  966. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  967. 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)
  968. 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)
  969. 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)
  970. end
  971. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  972. ANIM = "Jump"
  973. if ATTACK == false then
  974. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  975. 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)
  976. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  977. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  978. 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)
  979. 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)
  980. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-165), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  981. end
  982. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  983. ANIM = "Fall"
  984. if ATTACK == false then
  985. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  986. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  987. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  988. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  989. 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)
  990. 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)
  991. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-85), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  992. end
  993. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  994. ANIM = "Idle"
  995. if ATTACK == false then
  996. 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)
  997. if VALUE1 == false then
  998. 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)
  999. end
  1000. 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)
  1001. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1002. 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)
  1003. 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)
  1004. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, -0.55, 0) * ANGLES(RAD(-125), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1005. if VALUE1 == false and MRANDOM(1,200) == 1 then
  1006. coroutine.resume(coroutine.create(function()
  1007. VALUE1 = true
  1008. for i = 1, 25 do
  1009. Swait()
  1010. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-5), RAD((15+MRANDOM(-15,15)/15)), RAD(0)), 3 / Animation_Speed)
  1011. end
  1012. VALUE1 = false
  1013. end))
  1014. end
  1015. end
  1016. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1017. ANIM = "Walk"
  1018. WALK = WALK + 1 / Animation_Speed
  1019. if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 8 / Player_Size)) then
  1020. WALK = 0
  1021. if WALKINGANIM == true then
  1022. WALKINGANIM = false
  1023. elseif WALKINGANIM == false then
  1024. WALKINGANIM = true
  1025. end
  1026. end
  1027. --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)
  1028. --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)
  1029. if ATTACK == false then
  1030. 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)
  1031. 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)
  1032. 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)
  1033. 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)
  1034. 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)
  1035. 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)
  1036. 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)
  1037. end
  1038. end
  1039. unanchor()
  1040. Humanoid.MaxHealth = "inf"
  1041. Humanoid.Health = "inf"
  1042. if Rooted == false then
  1043. Disable_Jump = false
  1044. Humanoid.WalkSpeed = Speed
  1045. elseif Rooted == true then
  1046. Disable_Jump = true
  1047. Humanoid.WalkSpeed = 0
  1048. end
  1049. if KILLINSTINCT > 0 then
  1050. KILLINSTINCT = KILLINSTINCT - 0.1
  1051. end
  1052. if Head:FindFirstChild("face") then
  1053. end
  1054. Trail.Color = ColorSequence.new(C3(1,1-KILLINSTINCT/70,1-KILLINSTINCT/70))
  1055. local MATHS = {"0","1"}
  1056. 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)]
  1057. Humanoid.PlatformStand = false
  1058. script.Name = Humanoid.Name
  1059. if math.random(1,70-Speed) == 1 then
  1060. tecks2.Text = "FAILURE"
  1061. elseif math.random(1,70-Speed) == 2 then
  1062. tecks2.Text = "Die!"
  1063. elseif math.random(1,70-Speed) == 3 then
  1064. tecks2.Text = "WORTHLESS"
  1065. else
  1066. if KILLINSTINCT > 0 then
  1067. if KILLINSTINCT < 100 then
  1068. if MRANDOM(1,math.ceil(100-KILLINSTINCT)) == 1 then
  1069. tecks2.Text = "HA AH AHA HA HA HA HA"
  1070. else
  1071. tecks2.Text = "My revenge won't be stopped."
  1072. end
  1073. elseif KILLINSTINCT >= 100 then
  1074. if MRANDOM(1,5) == 1 then
  1075. tecks2.Text = "The Sparta was waiting for this fight"
  1076. end
  1077. else
  1078. tecks2.Text = "Burn in hell!"
  1079. end
  1080. else
  1081. tecks2.Text = "My revenge is not done yet"
  1082. end
  1083. end
  1084. DECAL.Transparency = 1-(KILLINSTINCT/25)
  1085. Swait()
  1086. if Head:FindFirstChildOfClass("Sound") then
  1087. Head:FindFirstChildOfClass("Sound"):remove()
  1088. end
  1089. if KILLINSTINCT > 100 then
  1090. KILLINSTINCT = 100
  1091. end
  1092. sick.Parent = Character
  1093. script.Parent = PlayerGui
  1094. end
  1095.  
  1096. --//=================================\\
  1097. --\\=================================//
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103. --//====================================================\\--
  1104. --|| END OF SCRIPT
  1105. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement